kopia lustrzana https://gitlab.com/sane-project/backends
Added test by Henning Meier Geinitz: SANE_CHECK_JPEG to aclocal.m4 and configure[.in]
Oliver RauchDEVEL_2_0_BRANCH-1
rodzic
9c35c327bf
commit
b7aa813cb5
|
@ -1488,7 +1488,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_hdr in fcntl.h unistd.h libintl.h libc.h sys/dsreq.h sys/select.h \
|
for ac_hdr in fcntl.h unistd.h libintl.h libc.h sys/dsreq.h sys/select.h \
|
||||||
sys/time.h jconfig.h \
|
sys/time.h \
|
||||||
sys/scanio.h scsi.h sys/scsi.h sys/scsicmd.h sys/scsiio.h \
|
sys/scanio.h scsi.h sys/scsi.h sys/scsicmd.h sys/scsiio.h \
|
||||||
bsd/dev/scsireg.h scsi/sg.h /usr/src/linux/include/scsi/sg.h io/cam/cam.h \
|
bsd/dev/scsireg.h scsi/sg.h /usr/src/linux/include/scsi/sg.h io/cam/cam.h \
|
||||||
camlib.h os2.h sys/socket.h sys/io.h asm/io.h gscdds.h sys/hw.h \
|
camlib.h os2.h sys/socket.h sys/io.h asm/io.h gscdds.h sys/hw.h \
|
||||||
|
@ -1546,7 +1546,7 @@ else
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
/* Ultrix mips cc rejects this. */
|
/* Ultrix mips cc rejects this. */
|
||||||
typedef int charset[2]; const charset x = {0,0};
|
typedef int charset[2]; const charset x;
|
||||||
/* SunOS 4.1.1 cc rejects this. */
|
/* SunOS 4.1.1 cc rejects this. */
|
||||||
char const *const *ccp;
|
char const *const *ccp;
|
||||||
char **p;
|
char **p;
|
||||||
|
@ -1621,7 +1621,7 @@ for ac_kw in inline __inline__ __inline; do
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
} int $ac_kw foo() {
|
} $ac_kw foo() {
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:1628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
|
@ -2596,8 +2596,10 @@ else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
# OS/2 needs this
|
# OS/2 needs this
|
||||||
echo $ac_n "checking for jpeg_start_decompress in -ljpeg""... $ac_c" 1>&6
|
|
||||||
echo "configure:2601: checking for jpeg_start_decompress in -ljpeg" >&5
|
|
||||||
|
echo $ac_n "checking for jpeg_start_decompress in -ljpeg""... $ac_c" 1>&6
|
||||||
|
echo "configure:2603: checking for jpeg_start_decompress in -ljpeg" >&5
|
||||||
ac_lib_var=`echo jpeg'_'jpeg_start_decompress | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo jpeg'_'jpeg_start_decompress | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -2605,7 +2607,7 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-ljpeg $LIBS"
|
LIBS="-ljpeg $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2609 "configure"
|
#line 2611 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
@ -2616,7 +2618,7 @@ int main() {
|
||||||
jpeg_start_decompress()
|
jpeg_start_decompress()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -2631,22 +2633,74 @@ LIBS="$ac_save_LIBS"
|
||||||
fi
|
fi
|
||||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
ac_tr_lib=HAVE_LIB`echo jpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \
|
|
||||||
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
|
ac_safe=`echo "jconfig.h" | sed 'y%./+-%__p_%'`
|
||||||
cat >> confdefs.h <<EOF
|
echo $ac_n "checking for jconfig.h""... $ac_c" 1>&6
|
||||||
#define $ac_tr_lib 1
|
echo "configure:2640: checking for jconfig.h" >&5
|
||||||
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
else
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 2645 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
#include <jconfig.h>
|
||||||
EOF
|
EOF
|
||||||
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
|
{ (eval echo configure:2650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
|
if test -z "$ac_err"; then
|
||||||
|
rm -rf conftest*
|
||||||
|
eval "ac_cv_header_$ac_safe=yes"
|
||||||
|
else
|
||||||
|
echo "$ac_err" >&5
|
||||||
|
echo "configure: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
rm -rf conftest*
|
||||||
|
eval "ac_cv_header_$ac_safe=no"
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
fi
|
||||||
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
||||||
|
echo "$ac_t""yes" 1>&6
|
||||||
|
|
||||||
|
echo $ac_n "checking for jpeglib - version >= 61 (6a)""... $ac_c" 1>&6
|
||||||
|
echo "configure:2668: checking for jpeglib - version >= 61 (6a)" >&5
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 2670 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
|
||||||
LIBS="-ljpeg $LIBS"
|
#include <jpeglib.h>
|
||||||
|
#if JPEG_LIB_VERSION >= 61
|
||||||
|
sane_correct_jpeg_lib_version_found
|
||||||
|
#endif
|
||||||
|
|
||||||
|
EOF
|
||||||
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
|
egrep "sane_correct_jpeg_lib_version_found" >/dev/null 2>&1; then
|
||||||
|
rm -rf conftest*
|
||||||
|
sane_cv_use_libjpeg="yes"; LIBS="${LIBS} -ljpeg";
|
||||||
|
echo "$ac_t""yes" 1>&6
|
||||||
|
else
|
||||||
|
rm -rf conftest*
|
||||||
|
echo "$ac_t""no" 1>&6
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "$ac_t""no" 1>&6
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "`uname`" != "IRIX" -a "`uname`" != "IRIX64"; then
|
if test "`uname`" != "IRIX" -a "`uname`" != "IRIX64"; then
|
||||||
echo $ac_n "checking for gethostbyaddr in -lnsl""... $ac_c" 1>&6
|
echo $ac_n "checking for gethostbyaddr in -lnsl""... $ac_c" 1>&6
|
||||||
echo "configure:2650: checking for gethostbyaddr in -lnsl" >&5
|
echo "configure:2704: checking for gethostbyaddr in -lnsl" >&5
|
||||||
ac_lib_var=`echo nsl'_'gethostbyaddr | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo nsl'_'gethostbyaddr | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -2654,7 +2708,7 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lnsl $LIBS"
|
LIBS="-lnsl $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2658 "configure"
|
#line 2712 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
@ -2665,7 +2719,7 @@ int main() {
|
||||||
gethostbyaddr()
|
gethostbyaddr()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -2693,7 +2747,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
||||||
echo "configure:2697: checking for socket in -lsocket" >&5
|
echo "configure:2751: checking for socket in -lsocket" >&5
|
||||||
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -2701,7 +2755,7 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lsocket $LIBS"
|
LIBS="-lsocket $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2705 "configure"
|
#line 2759 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
@ -2712,7 +2766,7 @@ int main() {
|
||||||
socket()
|
socket()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -2765,17 +2819,17 @@ fi
|
||||||
do
|
do
|
||||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||||
echo "configure:2769: checking for $ac_hdr" >&5
|
echo "configure:2823: checking for $ac_hdr" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2774 "configure"
|
#line 2828 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_hdr>
|
#include <$ac_hdr>
|
||||||
EOF
|
EOF
|
||||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
{ (eval echo configure:2779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:2833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
|
@ -2796,7 +2850,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
||||||
#define $ac_tr_hdr 1
|
#define $ac_tr_hdr 1
|
||||||
EOF
|
EOF
|
||||||
echo $ac_n "checking for ptalInit in -lptal""... $ac_c" 1>&6
|
echo $ac_n "checking for ptalInit in -lptal""... $ac_c" 1>&6
|
||||||
echo "configure:2800: checking for ptalInit in -lptal" >&5
|
echo "configure:2854: checking for ptalInit in -lptal" >&5
|
||||||
ac_lib_var=`echo ptal'_'ptalInit | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo ptal'_'ptalInit | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -2804,7 +2858,7 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-lptal $LIBS"
|
LIBS="-lptal $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2808 "configure"
|
#line 2862 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
@ -2815,7 +2869,7 @@ int main() {
|
||||||
ptalInit()
|
ptalInit()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -2864,19 +2918,19 @@ fi
|
||||||
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
||||||
# for constant arguments. Useless!
|
# for constant arguments. Useless!
|
||||||
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
|
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
|
||||||
echo "configure:2868: checking for working alloca.h" >&5
|
echo "configure:2922: checking for working alloca.h" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2873 "configure"
|
#line 2927 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
int main() {
|
int main() {
|
||||||
void *p = alloca(2 * sizeof(int));
|
char *p = alloca(2 * sizeof(int));
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_header_alloca_h=yes
|
ac_cv_header_alloca_h=yes
|
||||||
else
|
else
|
||||||
|
@ -2897,12 +2951,12 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for alloca""... $ac_c" 1>&6
|
echo $ac_n "checking for alloca""... $ac_c" 1>&6
|
||||||
echo "configure:2901: checking for alloca" >&5
|
echo "configure:2955: checking for alloca" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2906 "configure"
|
#line 2960 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
@ -2930,7 +2984,7 @@ int main() {
|
||||||
char *p = (char *) alloca(1);
|
char *p = (char *) alloca(1);
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
ac_cv_func_alloca_works=yes
|
ac_cv_func_alloca_works=yes
|
||||||
else
|
else
|
||||||
|
@ -2962,12 +3016,12 @@ EOF
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
|
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
|
||||||
echo "configure:2966: checking whether alloca needs Cray hooks" >&5
|
echo "configure:3020: checking whether alloca needs Cray hooks" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2971 "configure"
|
#line 3025 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#if defined(CRAY) && ! defined(CRAY2)
|
#if defined(CRAY) && ! defined(CRAY2)
|
||||||
webecray
|
webecray
|
||||||
|
@ -2992,12 +3046,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
|
||||||
if test $ac_cv_os_cray = yes; then
|
if test $ac_cv_os_cray = yes; then
|
||||||
for ac_func in _getb67 GETB67 getb67; do
|
for ac_func in _getb67 GETB67 getb67; do
|
||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||||
echo "configure:2996: checking for $ac_func" >&5
|
echo "configure:3050: checking for $ac_func" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3001 "configure"
|
#line 3055 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -3020,7 +3074,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
@ -3047,7 +3101,7 @@ done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
|
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
|
||||||
echo "configure:3051: checking stack direction for C alloca" >&5
|
echo "configure:3105: checking stack direction for C alloca" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3055,7 +3109,7 @@ else
|
||||||
ac_cv_c_stack_direction=0
|
ac_cv_c_stack_direction=0
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3059 "configure"
|
#line 3113 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
find_stack_direction ()
|
find_stack_direction ()
|
||||||
{
|
{
|
||||||
|
@ -3074,7 +3128,7 @@ main ()
|
||||||
exit (find_stack_direction() < 0);
|
exit (find_stack_direction() < 0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:3132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_c_stack_direction=1
|
ac_cv_c_stack_direction=1
|
||||||
else
|
else
|
||||||
|
@ -3099,17 +3153,17 @@ for ac_hdr in unistd.h
|
||||||
do
|
do
|
||||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||||
echo "configure:3103: checking for $ac_hdr" >&5
|
echo "configure:3157: checking for $ac_hdr" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3108 "configure"
|
#line 3162 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_hdr>
|
#include <$ac_hdr>
|
||||||
EOF
|
EOF
|
||||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
{ (eval echo configure:3113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:3167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
|
@ -3138,12 +3192,12 @@ done
|
||||||
for ac_func in getpagesize
|
for ac_func in getpagesize
|
||||||
do
|
do
|
||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||||
echo "configure:3142: checking for $ac_func" >&5
|
echo "configure:3196: checking for $ac_func" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3147 "configure"
|
#line 3201 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -3166,7 +3220,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
@ -3191,7 +3245,7 @@ fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
|
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
|
||||||
echo "configure:3195: checking for working mmap" >&5
|
echo "configure:3249: checking for working mmap" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3199,7 +3253,7 @@ else
|
||||||
ac_cv_func_mmap_fixed_mapped=no
|
ac_cv_func_mmap_fixed_mapped=no
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3203 "configure"
|
#line 3257 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
/* Thanks to Mike Haertel and Jim Avera for this test.
|
/* Thanks to Mike Haertel and Jim Avera for this test.
|
||||||
|
@ -3226,15 +3280,12 @@ else
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This mess was copied from the GNU getpagesize.h. */
|
/* This mess was copied from the GNU getpagesize.h. */
|
||||||
#ifndef HAVE_GETPAGESIZE
|
#ifndef HAVE_GETPAGESIZE
|
||||||
|
# ifdef HAVE_UNISTD_H
|
||||||
|
# include <unistd.h>
|
||||||
|
# endif
|
||||||
|
|
||||||
/* Assume that all systems that can run configure have sys/param.h. */
|
/* Assume that all systems that can run configure have sys/param.h. */
|
||||||
# ifndef HAVE_SYS_PARAM_H
|
# ifndef HAVE_SYS_PARAM_H
|
||||||
|
@ -3289,7 +3340,7 @@ main()
|
||||||
/*
|
/*
|
||||||
* First, make a file with some known garbage in it.
|
* First, make a file with some known garbage in it.
|
||||||
*/
|
*/
|
||||||
data = (char*)malloc(pagesize);
|
data = malloc(pagesize);
|
||||||
if (!data)
|
if (!data)
|
||||||
exit(1);
|
exit(1);
|
||||||
for (i = 0; i < pagesize; ++i)
|
for (i = 0; i < pagesize; ++i)
|
||||||
|
@ -3310,7 +3361,7 @@ main()
|
||||||
fd = open("conftestmmap", O_RDWR);
|
fd = open("conftestmmap", O_RDWR);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
exit(1);
|
exit(1);
|
||||||
data2 = (char*)malloc(2 * pagesize);
|
data2 = malloc(2 * pagesize);
|
||||||
if (!data2)
|
if (!data2)
|
||||||
exit(1);
|
exit(1);
|
||||||
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
|
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
|
||||||
|
@ -3328,7 +3379,7 @@ main()
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < pagesize; ++i)
|
for (i = 0; i < pagesize; ++i)
|
||||||
*(data2 + i) = *(data2 + i) + 1;
|
*(data2 + i) = *(data2 + i) + 1;
|
||||||
data3 = (char*)malloc(pagesize);
|
data3 = malloc(pagesize);
|
||||||
if (!data3)
|
if (!data3)
|
||||||
exit(1);
|
exit(1);
|
||||||
if (read(fd, data3, pagesize) != pagesize)
|
if (read(fd, data3, pagesize) != pagesize)
|
||||||
|
@ -3342,7 +3393,7 @@ main()
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
ac_cv_func_mmap_fixed_mapped=yes
|
ac_cv_func_mmap_fixed_mapped=yes
|
||||||
else
|
else
|
||||||
|
@ -3370,12 +3421,12 @@ for ac_func in atexit ioperm mkdir scsireq_enter sigprocmask \
|
||||||
getenv isfdtype vsyslog
|
getenv isfdtype vsyslog
|
||||||
do
|
do
|
||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||||
echo "configure:3374: checking for $ac_func" >&5
|
echo "configure:3425: checking for $ac_func" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3379 "configure"
|
#line 3430 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -3398,7 +3449,7 @@ $ac_func();
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
||||||
else
|
else
|
||||||
|
@ -3496,7 +3547,7 @@ fi
|
||||||
# Extract the first word of "ranlib", so it can be a program name with args.
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
||||||
set dummy ranlib; ac_word=$2
|
set dummy ranlib; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3500: checking for $ac_word" >&5
|
echo "configure:3551: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3524,7 +3575,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
|
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
|
||||||
echo "configure:3528: checking for BSD-compatible nm" >&5
|
echo "configure:3579: checking for BSD-compatible nm" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3561,7 +3612,7 @@ echo "$ac_t""$NM" 1>&6
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
||||||
echo "configure:3565: checking whether ln -s works" >&5
|
echo "configure:3616: checking whether ln -s works" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3611,8 +3662,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '#line 3615 "configure"' > conftest.$ac_ext
|
echo '#line 3666 "configure"' > conftest.$ac_ext
|
||||||
if { (eval echo configure:3616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||||
case "`/usr/bin/file conftest.o`" in
|
case "`/usr/bin/file conftest.o`" in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -32"
|
LD="${LD-ld} -32"
|
||||||
|
@ -3633,7 +3684,7 @@ case "$host" in
|
||||||
SAVE_CFLAGS="$CFLAGS"
|
SAVE_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS -belf"
|
CFLAGS="$CFLAGS -belf"
|
||||||
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
||||||
echo "configure:3637: checking whether the C compiler needs -belf" >&5
|
echo "configure:3688: checking whether the C compiler needs -belf" >&5
|
||||||
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3646,14 +3697,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
|
||||||
cross_compiling=$ac_cv_prog_cc_cross
|
cross_compiling=$ac_cv_prog_cc_cross
|
||||||
|
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 3650 "configure"
|
#line 3701 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
lt_cv_cc_needs_belf=yes
|
lt_cv_cc_needs_belf=yes
|
||||||
else
|
else
|
||||||
|
@ -3683,7 +3734,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
|
||||||
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3687: checking for $ac_word" >&5
|
echo "configure:3738: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3715,7 +3766,7 @@ if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "dlltool", so it can be a program name with args.
|
# Extract the first word of "dlltool", so it can be a program name with args.
|
||||||
set dummy dlltool; ac_word=$2
|
set dummy dlltool; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3719: checking for $ac_word" >&5
|
echo "configure:3770: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3750,7 +3801,7 @@ fi
|
||||||
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}as; ac_word=$2
|
set dummy ${ac_tool_prefix}as; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3754: checking for $ac_word" >&5
|
echo "configure:3805: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3782,7 +3833,7 @@ if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "as", so it can be a program name with args.
|
# Extract the first word of "as", so it can be a program name with args.
|
||||||
set dummy as; ac_word=$2
|
set dummy as; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3786: checking for $ac_word" >&5
|
echo "configure:3837: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3817,7 +3868,7 @@ fi
|
||||||
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3821: checking for $ac_word" >&5
|
echo "configure:3872: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3849,7 +3900,7 @@ if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "objdump", so it can be a program name with args.
|
# Extract the first word of "objdump", so it can be a program name with args.
|
||||||
set dummy objdump; ac_word=$2
|
set dummy objdump; ac_word=$2
|
||||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||||
echo "configure:3853: checking for $ac_word" >&5
|
echo "configure:3904: checking for $ac_word" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
|
@ -3971,7 +4022,7 @@ CPPFLAGS="${CPPFLAGS} -DPATH_SANE_CONFIG_DIR=\$(configdir) \
|
||||||
-DPATH_SANE_DATA_DIR=\$(datadir) \
|
-DPATH_SANE_DATA_DIR=\$(datadir) \
|
||||||
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR}"
|
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR}"
|
||||||
|
|
||||||
if test "${ac_cv_header_jconfig_h}" = "no"; then
|
if test "${sane_cv_use_libjpeg}" != "yes"; then
|
||||||
echo "disabling DC210 backend (failed to find JPEG library)"
|
echo "disabling DC210 backend (failed to find JPEG library)"
|
||||||
DC210=
|
DC210=
|
||||||
else
|
else
|
||||||
|
|
|
@ -73,7 +73,7 @@ fi
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS(fcntl.h unistd.h libintl.h libc.h sys/dsreq.h sys/select.h \
|
AC_CHECK_HEADERS(fcntl.h unistd.h libintl.h libc.h sys/dsreq.h sys/select.h \
|
||||||
sys/time.h jconfig.h \
|
sys/time.h \
|
||||||
sys/scanio.h scsi.h sys/scsi.h sys/scsicmd.h sys/scsiio.h \
|
sys/scanio.h scsi.h sys/scsi.h sys/scsicmd.h sys/scsiio.h \
|
||||||
bsd/dev/scsireg.h scsi/sg.h /usr/src/linux/include/scsi/sg.h io/cam/cam.h \
|
bsd/dev/scsireg.h scsi/sg.h /usr/src/linux/include/scsi/sg.h io/cam/cam.h \
|
||||||
camlib.h os2.h sys/socket.h sys/io.h asm/io.h gscdds.h sys/hw.h \
|
camlib.h os2.h sys/socket.h sys/io.h asm/io.h gscdds.h sys/hw.h \
|
||||||
|
@ -137,7 +137,8 @@ AC_CHECK_LIB(m,sqrt)
|
||||||
AC_CHECK_LIB(scsi, scsireq_enter) # FreeBSD needs this
|
AC_CHECK_LIB(scsi, scsireq_enter) # FreeBSD needs this
|
||||||
AC_CHECK_LIB(cam, cam_open_device) # FreeBSD 3+ needs this
|
AC_CHECK_LIB(cam, cam_open_device) # FreeBSD 3+ needs this
|
||||||
AC_CHECK_LIB(syslog, syslog) # OS/2 needs this
|
AC_CHECK_LIB(syslog, syslog) # OS/2 needs this
|
||||||
AC_CHECK_LIB(jpeg, jpeg_start_decompress)
|
|
||||||
|
SANE_CHECK_JPEG
|
||||||
|
|
||||||
dnl IRIX sometimes has SYSVR3/4 network DSOs, but we do not need or want
|
dnl IRIX sometimes has SYSVR3/4 network DSOs, but we do not need or want
|
||||||
dnl to use them!
|
dnl to use them!
|
||||||
|
@ -172,7 +173,7 @@ CPPFLAGS="${CPPFLAGS} -DPATH_SANE_CONFIG_DIR=\$(configdir) \
|
||||||
-DPATH_SANE_DATA_DIR=\$(datadir) \
|
-DPATH_SANE_DATA_DIR=\$(datadir) \
|
||||||
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR}"
|
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR}"
|
||||||
|
|
||||||
if test "${ac_cv_header_jconfig_h}" = "no"; then
|
if test "${sane_cv_use_libjpeg}" != "yes"; then
|
||||||
echo "disabling DC210 backend (failed to find JPEG library)"
|
echo "disabling DC210 backend (failed to find JPEG library)"
|
||||||
DC210=
|
DC210=
|
||||||
else
|
else
|
||||||
|
|
Ładowanie…
Reference in New Issue