isbn 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/{README → README.md} +5 -11
- data/Rakefile +20 -14
- data/isbn.gemspec +23 -0
- data/lib/isbn.rb +2 -0
- data/test/isbn_spec.rb +1 -1
- metadata +29 -316
- data/VERSION +0 -1
- data/src/gocr-0.48/.cvsignore +0 -6
- data/src/gocr-0.48/AUTHORS +0 -7
- data/src/gocr-0.48/BUGS +0 -55
- data/src/gocr-0.48/CREDITS +0 -17
- data/src/gocr-0.48/HISTORY +0 -243
- data/src/gocr-0.48/INSTALL +0 -83
- data/src/gocr-0.48/Makefile +0 -193
- data/src/gocr-0.48/Makefile.in +0 -193
- data/src/gocr-0.48/README +0 -165
- data/src/gocr-0.48/READMEde.txt +0 -80
- data/src/gocr-0.48/REMARK.txt +0 -18
- data/src/gocr-0.48/REVIEW +0 -538
- data/src/gocr-0.48/TODO +0 -65
- data/src/gocr-0.48/bin/.cvsignore +0 -2
- data/src/gocr-0.48/bin/create_db +0 -38
- data/src/gocr-0.48/bin/gocr.tcl +0 -527
- data/src/gocr-0.48/bin/gocr_chk.sh +0 -44
- data/src/gocr-0.48/configure +0 -4689
- data/src/gocr-0.48/configure.in +0 -71
- data/src/gocr-0.48/doc/.#Makefile.1.6 +0 -39
- data/src/gocr-0.48/doc/.cvsignore +0 -2
- data/src/gocr-0.48/doc/Makefile +0 -39
- data/src/gocr-0.48/doc/Makefile.in +0 -39
- data/src/gocr-0.48/doc/example.dtd +0 -53
- data/src/gocr-0.48/doc/example.xml +0 -21
- data/src/gocr-0.48/doc/examples.txt +0 -67
- data/src/gocr-0.48/doc/gocr.html +0 -578
- data/src/gocr-0.48/doc/unicode.txt +0 -57
- data/src/gocr-0.48/examples/.#Makefile.1.22 +0 -166
- data/src/gocr-0.48/examples/4x6.png +0 -0
- data/src/gocr-0.48/examples/4x6.txt +0 -2
- data/src/gocr-0.48/examples/5x7.png +0 -0
- data/src/gocr-0.48/examples/5x7.png.txt +0 -2
- data/src/gocr-0.48/examples/5x8.png +0 -0
- data/src/gocr-0.48/examples/5x8.png.txt +0 -2
- data/src/gocr-0.48/examples/Makefile +0 -166
- data/src/gocr-0.48/examples/color.fig +0 -20
- data/src/gocr-0.48/examples/ex.fig +0 -16
- data/src/gocr-0.48/examples/font.tex +0 -22
- data/src/gocr-0.48/examples/font1.tex +0 -46
- data/src/gocr-0.48/examples/font2.fig +0 -27
- data/src/gocr-0.48/examples/font_nw.tex +0 -24
- data/src/gocr-0.48/examples/handwrt1.jpg +0 -0
- data/src/gocr-0.48/examples/handwrt1.txt +0 -10
- data/src/gocr-0.48/examples/inverse.fig +0 -20
- data/src/gocr-0.48/examples/matrix.jpg +0 -0
- data/src/gocr-0.48/examples/ocr-a-subset.png +0 -0
- data/src/gocr-0.48/examples/ocr-a-subset.png.txt +0 -4
- data/src/gocr-0.48/examples/ocr-a.png +0 -0
- data/src/gocr-0.48/examples/ocr-a.txt +0 -6
- data/src/gocr-0.48/examples/ocr-b.png +0 -0
- data/src/gocr-0.48/examples/ocr-b.png.txt +0 -4
- data/src/gocr-0.48/examples/polish.tex +0 -28
- data/src/gocr-0.48/examples/rotate45.fig +0 -14
- data/src/gocr-0.48/examples/score +0 -36
- data/src/gocr-0.48/examples/text.tex +0 -28
- data/src/gocr-0.48/gpl.html +0 -537
- data/src/gocr-0.48/include/.cvsignore +0 -2
- data/src/gocr-0.48/include/config.h +0 -36
- data/src/gocr-0.48/include/config.h.in +0 -36
- data/src/gocr-0.48/include/version.h +0 -2
- data/src/gocr-0.48/install-sh +0 -3
- data/src/gocr-0.48/make.bat +0 -57
- data/src/gocr-0.48/man/.cvsignore +0 -2
- data/src/gocr-0.48/man/Makefile +0 -29
- data/src/gocr-0.48/man/Makefile.in +0 -29
- data/src/gocr-0.48/man/man1/gocr.1 +0 -166
- data/src/gocr-0.48/src/.cvsignore +0 -4
- data/src/gocr-0.48/src/Makefile +0 -132
- data/src/gocr-0.48/src/Makefile.in +0 -132
- data/src/gocr-0.48/src/amiga.h +0 -31
- data/src/gocr-0.48/src/barcode.c +0 -846
- data/src/gocr-0.48/src/barcode.c.orig +0 -593
- data/src/gocr-0.48/src/barcode.h +0 -11
- data/src/gocr-0.48/src/box.c +0 -372
- data/src/gocr-0.48/src/database.c +0 -462
- data/src/gocr-0.48/src/detect.c +0 -943
- data/src/gocr-0.48/src/gocr.c +0 -373
- data/src/gocr-0.48/src/gocr.h +0 -288
- data/src/gocr-0.48/src/jconv.c +0 -168
- data/src/gocr-0.48/src/job.c +0 -84
- data/src/gocr-0.48/src/lines.c +0 -350
- data/src/gocr-0.48/src/list.c +0 -334
- data/src/gocr-0.48/src/list.h +0 -90
- data/src/gocr-0.48/src/ocr0.c +0 -6756
- data/src/gocr-0.48/src/ocr0.h +0 -63
- data/src/gocr-0.48/src/ocr0n.c +0 -1475
- data/src/gocr-0.48/src/ocr1.c +0 -85
- data/src/gocr-0.48/src/ocr1.h +0 -3
- data/src/gocr-0.48/src/otsu.c +0 -289
- data/src/gocr-0.48/src/otsu.h +0 -23
- data/src/gocr-0.48/src/output.c +0 -289
- data/src/gocr-0.48/src/output.h +0 -37
- data/src/gocr-0.48/src/pcx.c +0 -153
- data/src/gocr-0.48/src/pcx.h +0 -9
- data/src/gocr-0.48/src/pgm2asc.c +0 -2893
- data/src/gocr-0.48/src/pgm2asc.h +0 -105
- data/src/gocr-0.48/src/pixel.c +0 -537
- data/src/gocr-0.48/src/pnm.c +0 -533
- data/src/gocr-0.48/src/pnm.h +0 -35
- data/src/gocr-0.48/src/progress.c +0 -87
- data/src/gocr-0.48/src/progress.h +0 -42
- data/src/gocr-0.48/src/remove.c +0 -703
- data/src/gocr-0.48/src/tga.c +0 -87
- data/src/gocr-0.48/src/tga.h +0 -6
- data/src/gocr-0.48/src/unicode.c +0 -1314
- data/src/gocr-0.48/src/unicode.h +0 -1257
- data/src/jpeg-7/Makefile.am +0 -133
- data/src/jpeg-7/Makefile.in +0 -1089
- data/src/jpeg-7/README +0 -322
- data/src/jpeg-7/aclocal.m4 +0 -8990
- data/src/jpeg-7/ansi2knr.1 +0 -36
- data/src/jpeg-7/ansi2knr.c +0 -739
- data/src/jpeg-7/cderror.h +0 -132
- data/src/jpeg-7/cdjpeg.c +0 -181
- data/src/jpeg-7/cdjpeg.h +0 -187
- data/src/jpeg-7/change.log +0 -270
- data/src/jpeg-7/cjpeg.1 +0 -325
- data/src/jpeg-7/cjpeg.c +0 -616
- data/src/jpeg-7/ckconfig.c +0 -402
- data/src/jpeg-7/coderules.txt +0 -118
- data/src/jpeg-7/config.guess +0 -1561
- data/src/jpeg-7/config.sub +0 -1686
- data/src/jpeg-7/configure +0 -17139
- data/src/jpeg-7/configure.ac +0 -317
- data/src/jpeg-7/depcomp +0 -630
- data/src/jpeg-7/djpeg.1 +0 -251
- data/src/jpeg-7/djpeg.c +0 -617
- data/src/jpeg-7/example.c +0 -433
- data/src/jpeg-7/filelist.txt +0 -215
- data/src/jpeg-7/install-sh +0 -520
- data/src/jpeg-7/install.txt +0 -1097
- data/src/jpeg-7/jaricom.c +0 -148
- data/src/jpeg-7/jcapimin.c +0 -282
- data/src/jpeg-7/jcapistd.c +0 -161
- data/src/jpeg-7/jcarith.c +0 -921
- data/src/jpeg-7/jccoefct.c +0 -453
- data/src/jpeg-7/jccolor.c +0 -459
- data/src/jpeg-7/jcdctmgr.c +0 -482
- data/src/jpeg-7/jchuff.c +0 -1612
- data/src/jpeg-7/jcinit.c +0 -65
- data/src/jpeg-7/jcmainct.c +0 -293
- data/src/jpeg-7/jcmarker.c +0 -667
- data/src/jpeg-7/jcmaster.c +0 -770
- data/src/jpeg-7/jcomapi.c +0 -106
- data/src/jpeg-7/jconfig.bcc +0 -48
- data/src/jpeg-7/jconfig.cfg +0 -45
- data/src/jpeg-7/jconfig.dj +0 -38
- data/src/jpeg-7/jconfig.mac +0 -43
- data/src/jpeg-7/jconfig.manx +0 -43
- data/src/jpeg-7/jconfig.mc6 +0 -52
- data/src/jpeg-7/jconfig.sas +0 -43
- data/src/jpeg-7/jconfig.st +0 -42
- data/src/jpeg-7/jconfig.txt +0 -155
- data/src/jpeg-7/jconfig.vc +0 -45
- data/src/jpeg-7/jconfig.vms +0 -37
- data/src/jpeg-7/jconfig.wat +0 -38
- data/src/jpeg-7/jcparam.c +0 -632
- data/src/jpeg-7/jcprepct.c +0 -358
- data/src/jpeg-7/jcsample.c +0 -545
- data/src/jpeg-7/jctrans.c +0 -381
- data/src/jpeg-7/jdapimin.c +0 -396
- data/src/jpeg-7/jdapistd.c +0 -275
- data/src/jpeg-7/jdarith.c +0 -762
- data/src/jpeg-7/jdatadst.c +0 -151
- data/src/jpeg-7/jdatasrc.c +0 -212
- data/src/jpeg-7/jdcoefct.c +0 -736
- data/src/jpeg-7/jdcolor.c +0 -396
- data/src/jpeg-7/jdct.h +0 -393
- data/src/jpeg-7/jddctmgr.c +0 -382
- data/src/jpeg-7/jdhuff.c +0 -1309
- data/src/jpeg-7/jdinput.c +0 -384
- data/src/jpeg-7/jdmainct.c +0 -512
- data/src/jpeg-7/jdmarker.c +0 -1360
- data/src/jpeg-7/jdmaster.c +0 -663
- data/src/jpeg-7/jdmerge.c +0 -400
- data/src/jpeg-7/jdpostct.c +0 -290
- data/src/jpeg-7/jdsample.c +0 -361
- data/src/jpeg-7/jdtrans.c +0 -136
- data/src/jpeg-7/jerror.c +0 -252
- data/src/jpeg-7/jerror.h +0 -304
- data/src/jpeg-7/jfdctflt.c +0 -174
- data/src/jpeg-7/jfdctfst.c +0 -230
- data/src/jpeg-7/jfdctint.c +0 -4348
- data/src/jpeg-7/jidctflt.c +0 -242
- data/src/jpeg-7/jidctfst.c +0 -368
- data/src/jpeg-7/jidctint.c +0 -5137
- data/src/jpeg-7/jinclude.h +0 -91
- data/src/jpeg-7/jmemansi.c +0 -167
- data/src/jpeg-7/jmemdos.c +0 -638
- data/src/jpeg-7/jmemdosa.asm +0 -379
- data/src/jpeg-7/jmemmac.c +0 -289
- data/src/jpeg-7/jmemmgr.c +0 -1118
- data/src/jpeg-7/jmemname.c +0 -276
- data/src/jpeg-7/jmemnobs.c +0 -109
- data/src/jpeg-7/jmemsys.h +0 -198
- data/src/jpeg-7/jmorecfg.h +0 -369
- data/src/jpeg-7/jpegint.h +0 -395
- data/src/jpeg-7/jpeglib.h +0 -1135
- data/src/jpeg-7/jpegtran.1 +0 -272
- data/src/jpeg-7/jpegtran.c +0 -546
- data/src/jpeg-7/jquant1.c +0 -856
- data/src/jpeg-7/jquant2.c +0 -1310
- data/src/jpeg-7/jutils.c +0 -179
- data/src/jpeg-7/jversion.h +0 -14
- data/src/jpeg-7/libjpeg.map +0 -4
- data/src/jpeg-7/libjpeg.txt +0 -3067
- data/src/jpeg-7/ltmain.sh +0 -8406
- data/src/jpeg-7/makcjpeg.st +0 -36
- data/src/jpeg-7/makdjpeg.st +0 -36
- data/src/jpeg-7/makeadsw.vc6 +0 -77
- data/src/jpeg-7/makeasln.vc9 +0 -33
- data/src/jpeg-7/makecdep.vc6 +0 -82
- data/src/jpeg-7/makecdsp.vc6 +0 -130
- data/src/jpeg-7/makecmak.vc6 +0 -159
- data/src/jpeg-7/makecvcp.vc9 +0 -186
- data/src/jpeg-7/makeddep.vc6 +0 -82
- data/src/jpeg-7/makeddsp.vc6 +0 -130
- data/src/jpeg-7/makedmak.vc6 +0 -159
- data/src/jpeg-7/makedvcp.vc9 +0 -186
- data/src/jpeg-7/makefile.ansi +0 -220
- data/src/jpeg-7/makefile.bcc +0 -291
- data/src/jpeg-7/makefile.dj +0 -226
- data/src/jpeg-7/makefile.manx +0 -220
- data/src/jpeg-7/makefile.mc6 +0 -255
- data/src/jpeg-7/makefile.mms +0 -224
- data/src/jpeg-7/makefile.sas +0 -258
- data/src/jpeg-7/makefile.unix +0 -234
- data/src/jpeg-7/makefile.vc +0 -217
- data/src/jpeg-7/makefile.vms +0 -142
- data/src/jpeg-7/makefile.wat +0 -239
- data/src/jpeg-7/makejdep.vc6 +0 -423
- data/src/jpeg-7/makejdsp.vc6 +0 -285
- data/src/jpeg-7/makejdsw.vc6 +0 -29
- data/src/jpeg-7/makejmak.vc6 +0 -425
- data/src/jpeg-7/makejsln.vc9 +0 -17
- data/src/jpeg-7/makejvcp.vc9 +0 -328
- data/src/jpeg-7/makeproj.mac +0 -213
- data/src/jpeg-7/makerdep.vc6 +0 -6
- data/src/jpeg-7/makerdsp.vc6 +0 -78
- data/src/jpeg-7/makermak.vc6 +0 -110
- data/src/jpeg-7/makervcp.vc9 +0 -133
- data/src/jpeg-7/maketdep.vc6 +0 -43
- data/src/jpeg-7/maketdsp.vc6 +0 -122
- data/src/jpeg-7/maketmak.vc6 +0 -131
- data/src/jpeg-7/maketvcp.vc9 +0 -178
- data/src/jpeg-7/makewdep.vc6 +0 -6
- data/src/jpeg-7/makewdsp.vc6 +0 -78
- data/src/jpeg-7/makewmak.vc6 +0 -110
- data/src/jpeg-7/makewvcp.vc9 +0 -133
- data/src/jpeg-7/makljpeg.st +0 -68
- data/src/jpeg-7/maktjpeg.st +0 -30
- data/src/jpeg-7/makvms.opt +0 -4
- data/src/jpeg-7/missing +0 -376
- data/src/jpeg-7/rdbmp.c +0 -439
- data/src/jpeg-7/rdcolmap.c +0 -253
- data/src/jpeg-7/rdgif.c +0 -38
- data/src/jpeg-7/rdjpgcom.1 +0 -63
- data/src/jpeg-7/rdjpgcom.c +0 -515
- data/src/jpeg-7/rdppm.c +0 -459
- data/src/jpeg-7/rdrle.c +0 -387
- data/src/jpeg-7/rdswitch.c +0 -365
- data/src/jpeg-7/rdtarga.c +0 -500
- data/src/jpeg-7/structure.txt +0 -945
- data/src/jpeg-7/testimg.bmp +0 -0
- data/src/jpeg-7/testimg.jpg +0 -0
- data/src/jpeg-7/testimg.ppm +0 -4
- data/src/jpeg-7/testimgp.jpg +0 -0
- data/src/jpeg-7/testorig.jpg +0 -0
- data/src/jpeg-7/testprog.jpg +0 -0
- data/src/jpeg-7/transupp.c +0 -1533
- data/src/jpeg-7/transupp.h +0 -205
- data/src/jpeg-7/usage.txt +0 -605
- data/src/jpeg-7/wizard.txt +0 -211
- data/src/jpeg-7/wrbmp.c +0 -442
- data/src/jpeg-7/wrgif.c +0 -399
- data/src/jpeg-7/wrjpgcom.1 +0 -103
- data/src/jpeg-7/wrjpgcom.c +0 -583
- data/src/jpeg-7/wrppm.c +0 -269
- data/src/jpeg-7/wrrle.c +0 -305
- data/src/jpeg-7/wrtarga.c +0 -253
@@ -1,44 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
# script to check gocr results of new versions against a testbase
|
3
|
-
# to ensure that recognition is not worse than a minimum level,
|
4
|
-
# testbase is a base of (png,pnm,jpg)-image files and a textfile
|
5
|
-
# with the same name and appended suffix .txt
|
6
|
-
# containing the desired output, differences will be shown
|
7
|
-
#
|
8
|
-
# example:
|
9
|
-
# bin/gocr_chk.sh testbase/free/{clean,glued,dusty}/{numbers,text}/
|
10
|
-
#
|
11
|
-
# ToDo: output final statistics
|
12
|
-
# version
|
13
|
-
# 2009-07-29 numfiles=6 bad=3 good=3 numchars=269 bad=13 tmp09 jocr 5%
|
14
|
-
#
|
15
|
-
GOCR=gocr
|
16
|
-
numfiles=0 # number of checked files
|
17
|
-
numbad=0 # bad recognitions (ToDo: false positive, false negative)
|
18
|
-
numgood=0 # good recognitions
|
19
|
-
numchars=0 # tested chars
|
20
|
-
badchars=0 # bad chars
|
21
|
-
dirs=.
|
22
|
-
numbers=0 # check numbers only?
|
23
|
-
if test "$1" = "-n"; then numbers=1; shift; fi
|
24
|
-
if test -d "$1"; then dirs="$*"; fi
|
25
|
-
if test -x ./gocr; then GOCR=./gocr; fi
|
26
|
-
for tfile in $(find $dirs -name \*.txt|xargs); do
|
27
|
-
ifile=$(echo ${tfile} | sed 's/\.txt//')
|
28
|
-
if [ -r $ifile ]; then
|
29
|
-
numfiles=$(($numfiles+1))
|
30
|
-
x=$(cat ${tfile} | wc -m)
|
31
|
-
# echo -ne "test ${ifile}{.txt} chars=$x\n"
|
32
|
-
printf "test %-59s chars= %4d\n" "${ifile}" $x
|
33
|
-
numchars=$(($numchars + $x))
|
34
|
-
if ${GOCR} ${ifile} | diff -b -B -u ${tfile} -; then
|
35
|
-
numgood=$(($numgood+1))
|
36
|
-
else
|
37
|
-
# count different chars
|
38
|
-
x=$(${GOCR} ${ifile} | cmp -l ${tfile} - | wc -l) # charnum ibyte obyte
|
39
|
-
badchars=$(($badchars+$x))
|
40
|
-
numbad=$(($numbad+1))
|
41
|
-
fi
|
42
|
-
fi
|
43
|
-
done
|
44
|
-
echo -e " : $(date +%F) numfiles= $numfiles bad= $numbad numchars= $numchars bad= $badchars $(($badchars * 100 / $numchars))%"
|
data/src/gocr-0.48/configure
DELETED
@@ -1,4689 +0,0 @@
|
|
1
|
-
#! /bin/sh
|
2
|
-
# Guess values for system-dependent variables and create Makefiles.
|
3
|
-
# Generated by GNU Autoconf 2.59 for gocr 0.48.
|
4
|
-
#
|
5
|
-
# Copyright (C) 2003 Free Software Foundation, Inc.
|
6
|
-
# This configure script is free software; the Free Software Foundation
|
7
|
-
# gives unlimited permission to copy, distribute and modify it.
|
8
|
-
## --------------------- ##
|
9
|
-
## M4sh Initialization. ##
|
10
|
-
## --------------------- ##
|
11
|
-
|
12
|
-
# Be Bourne compatible
|
13
|
-
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
14
|
-
emulate sh
|
15
|
-
NULLCMD=:
|
16
|
-
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
17
|
-
# is contrary to our usage. Disable this feature.
|
18
|
-
alias -g '${1+"$@"}'='"$@"'
|
19
|
-
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
20
|
-
set -o posix
|
21
|
-
fi
|
22
|
-
DUALCASE=1; export DUALCASE # for MKS sh
|
23
|
-
|
24
|
-
# Support unset when possible.
|
25
|
-
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
26
|
-
as_unset=unset
|
27
|
-
else
|
28
|
-
as_unset=false
|
29
|
-
fi
|
30
|
-
|
31
|
-
|
32
|
-
# Work around bugs in pre-3.0 UWIN ksh.
|
33
|
-
$as_unset ENV MAIL MAILPATH
|
34
|
-
PS1='$ '
|
35
|
-
PS2='> '
|
36
|
-
PS4='+ '
|
37
|
-
|
38
|
-
# NLS nuisances.
|
39
|
-
for as_var in \
|
40
|
-
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
41
|
-
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
42
|
-
LC_TELEPHONE LC_TIME
|
43
|
-
do
|
44
|
-
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
45
|
-
eval $as_var=C; export $as_var
|
46
|
-
else
|
47
|
-
$as_unset $as_var
|
48
|
-
fi
|
49
|
-
done
|
50
|
-
|
51
|
-
# Required to use basename.
|
52
|
-
if expr a : '\(a\)' >/dev/null 2>&1; then
|
53
|
-
as_expr=expr
|
54
|
-
else
|
55
|
-
as_expr=false
|
56
|
-
fi
|
57
|
-
|
58
|
-
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
59
|
-
as_basename=basename
|
60
|
-
else
|
61
|
-
as_basename=false
|
62
|
-
fi
|
63
|
-
|
64
|
-
|
65
|
-
# Name of the executable.
|
66
|
-
as_me=`$as_basename "$0" ||
|
67
|
-
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
68
|
-
X"$0" : 'X\(//\)$' \| \
|
69
|
-
X"$0" : 'X\(/\)$' \| \
|
70
|
-
. : '\(.\)' 2>/dev/null ||
|
71
|
-
echo X/"$0" |
|
72
|
-
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
73
|
-
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
74
|
-
/^X\/\(\/\).*/{ s//\1/; q; }
|
75
|
-
s/.*/./; q'`
|
76
|
-
|
77
|
-
|
78
|
-
# PATH needs CR, and LINENO needs CR and PATH.
|
79
|
-
# Avoid depending upon Character Ranges.
|
80
|
-
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
81
|
-
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
82
|
-
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
83
|
-
as_cr_digits='0123456789'
|
84
|
-
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
85
|
-
|
86
|
-
# The user is always right.
|
87
|
-
if test "${PATH_SEPARATOR+set}" != set; then
|
88
|
-
echo "#! /bin/sh" >conf$$.sh
|
89
|
-
echo "exit 0" >>conf$$.sh
|
90
|
-
chmod +x conf$$.sh
|
91
|
-
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
92
|
-
PATH_SEPARATOR=';'
|
93
|
-
else
|
94
|
-
PATH_SEPARATOR=:
|
95
|
-
fi
|
96
|
-
rm -f conf$$.sh
|
97
|
-
fi
|
98
|
-
|
99
|
-
|
100
|
-
as_lineno_1=$LINENO
|
101
|
-
as_lineno_2=$LINENO
|
102
|
-
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
103
|
-
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
104
|
-
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
105
|
-
# Find who we are. Look in the path if we contain no path at all
|
106
|
-
# relative or not.
|
107
|
-
case $0 in
|
108
|
-
*[\\/]* ) as_myself=$0 ;;
|
109
|
-
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
110
|
-
for as_dir in $PATH
|
111
|
-
do
|
112
|
-
IFS=$as_save_IFS
|
113
|
-
test -z "$as_dir" && as_dir=.
|
114
|
-
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
115
|
-
done
|
116
|
-
|
117
|
-
;;
|
118
|
-
esac
|
119
|
-
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
120
|
-
# in which case we are not to be found in the path.
|
121
|
-
if test "x$as_myself" = x; then
|
122
|
-
as_myself=$0
|
123
|
-
fi
|
124
|
-
if test ! -f "$as_myself"; then
|
125
|
-
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
126
|
-
{ (exit 1); exit 1; }; }
|
127
|
-
fi
|
128
|
-
case $CONFIG_SHELL in
|
129
|
-
'')
|
130
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
131
|
-
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
132
|
-
do
|
133
|
-
IFS=$as_save_IFS
|
134
|
-
test -z "$as_dir" && as_dir=.
|
135
|
-
for as_base in sh bash ksh sh5; do
|
136
|
-
case $as_dir in
|
137
|
-
/*)
|
138
|
-
if ("$as_dir/$as_base" -c '
|
139
|
-
as_lineno_1=$LINENO
|
140
|
-
as_lineno_2=$LINENO
|
141
|
-
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
142
|
-
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
143
|
-
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
144
|
-
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
145
|
-
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
146
|
-
CONFIG_SHELL=$as_dir/$as_base
|
147
|
-
export CONFIG_SHELL
|
148
|
-
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
149
|
-
fi;;
|
150
|
-
esac
|
151
|
-
done
|
152
|
-
done
|
153
|
-
;;
|
154
|
-
esac
|
155
|
-
|
156
|
-
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
157
|
-
# uniformly replaced by the line number. The first 'sed' inserts a
|
158
|
-
# line-number line before each line; the second 'sed' does the real
|
159
|
-
# work. The second script uses 'N' to pair each line-number line
|
160
|
-
# with the numbered line, and appends trailing '-' during
|
161
|
-
# substitution so that $LINENO is not a special case at line end.
|
162
|
-
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
163
|
-
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
164
|
-
sed '=' <$as_myself |
|
165
|
-
sed '
|
166
|
-
N
|
167
|
-
s,$,-,
|
168
|
-
: loop
|
169
|
-
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
170
|
-
t loop
|
171
|
-
s,-$,,
|
172
|
-
s,^['$as_cr_digits']*\n,,
|
173
|
-
' >$as_me.lineno &&
|
174
|
-
chmod +x $as_me.lineno ||
|
175
|
-
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
176
|
-
{ (exit 1); exit 1; }; }
|
177
|
-
|
178
|
-
# Don't try to exec as it changes $[0], causing all sort of problems
|
179
|
-
# (the dirname of $[0] is not the place where we might find the
|
180
|
-
# original and so on. Autoconf is especially sensible to this).
|
181
|
-
. ./$as_me.lineno
|
182
|
-
# Exit status is that of the last command.
|
183
|
-
exit
|
184
|
-
}
|
185
|
-
|
186
|
-
|
187
|
-
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
188
|
-
*c*,-n*) ECHO_N= ECHO_C='
|
189
|
-
' ECHO_T=' ' ;;
|
190
|
-
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
191
|
-
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
192
|
-
esac
|
193
|
-
|
194
|
-
if expr a : '\(a\)' >/dev/null 2>&1; then
|
195
|
-
as_expr=expr
|
196
|
-
else
|
197
|
-
as_expr=false
|
198
|
-
fi
|
199
|
-
|
200
|
-
rm -f conf$$ conf$$.exe conf$$.file
|
201
|
-
echo >conf$$.file
|
202
|
-
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
203
|
-
# We could just check for DJGPP; but this test a) works b) is more generic
|
204
|
-
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
205
|
-
if test -f conf$$.exe; then
|
206
|
-
# Don't use ln at all; we don't have any links
|
207
|
-
as_ln_s='cp -p'
|
208
|
-
else
|
209
|
-
as_ln_s='ln -s'
|
210
|
-
fi
|
211
|
-
elif ln conf$$.file conf$$ 2>/dev/null; then
|
212
|
-
as_ln_s=ln
|
213
|
-
else
|
214
|
-
as_ln_s='cp -p'
|
215
|
-
fi
|
216
|
-
rm -f conf$$ conf$$.exe conf$$.file
|
217
|
-
|
218
|
-
if mkdir -p . 2>/dev/null; then
|
219
|
-
as_mkdir_p=:
|
220
|
-
else
|
221
|
-
test -d ./-p && rmdir ./-p
|
222
|
-
as_mkdir_p=false
|
223
|
-
fi
|
224
|
-
|
225
|
-
as_executable_p="test -f"
|
226
|
-
|
227
|
-
# Sed expression to map a string onto a valid CPP name.
|
228
|
-
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
229
|
-
|
230
|
-
# Sed expression to map a string onto a valid variable name.
|
231
|
-
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
232
|
-
|
233
|
-
|
234
|
-
# IFS
|
235
|
-
# We need space, tab and new line, in precisely that order.
|
236
|
-
as_nl='
|
237
|
-
'
|
238
|
-
IFS=" $as_nl"
|
239
|
-
|
240
|
-
# CDPATH.
|
241
|
-
$as_unset CDPATH
|
242
|
-
|
243
|
-
|
244
|
-
# Name of the host.
|
245
|
-
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
246
|
-
# so uname gets run too.
|
247
|
-
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
248
|
-
|
249
|
-
exec 6>&1
|
250
|
-
|
251
|
-
#
|
252
|
-
# Initializations.
|
253
|
-
#
|
254
|
-
ac_default_prefix=/usr/local
|
255
|
-
ac_config_libobj_dir=.
|
256
|
-
cross_compiling=no
|
257
|
-
subdirs=
|
258
|
-
MFLAGS=
|
259
|
-
MAKEFLAGS=
|
260
|
-
SHELL=${CONFIG_SHELL-/bin/sh}
|
261
|
-
|
262
|
-
# Maximum number of lines to put in a shell here document.
|
263
|
-
# This variable seems obsolete. It should probably be removed, and
|
264
|
-
# only ac_max_sed_lines should be used.
|
265
|
-
: ${ac_max_here_lines=38}
|
266
|
-
|
267
|
-
# Identity of this package.
|
268
|
-
PACKAGE_NAME='gocr'
|
269
|
-
PACKAGE_TARNAME='gocr'
|
270
|
-
PACKAGE_VERSION='0.48'
|
271
|
-
PACKAGE_STRING='gocr 0.48'
|
272
|
-
PACKAGE_BUGREPORT=''
|
273
|
-
|
274
|
-
# Factoring default headers for most tests.
|
275
|
-
ac_includes_default="\
|
276
|
-
#include <stdio.h>
|
277
|
-
#if HAVE_SYS_TYPES_H
|
278
|
-
# include <sys/types.h>
|
279
|
-
#endif
|
280
|
-
#if HAVE_SYS_STAT_H
|
281
|
-
# include <sys/stat.h>
|
282
|
-
#endif
|
283
|
-
#if STDC_HEADERS
|
284
|
-
# include <stdlib.h>
|
285
|
-
# include <stddef.h>
|
286
|
-
#else
|
287
|
-
# if HAVE_STDLIB_H
|
288
|
-
# include <stdlib.h>
|
289
|
-
# endif
|
290
|
-
#endif
|
291
|
-
#if HAVE_STRING_H
|
292
|
-
# if !STDC_HEADERS && HAVE_MEMORY_H
|
293
|
-
# include <memory.h>
|
294
|
-
# endif
|
295
|
-
# include <string.h>
|
296
|
-
#endif
|
297
|
-
#if HAVE_STRINGS_H
|
298
|
-
# include <strings.h>
|
299
|
-
#endif
|
300
|
-
#if HAVE_INTTYPES_H
|
301
|
-
# include <inttypes.h>
|
302
|
-
#else
|
303
|
-
# if HAVE_STDINT_H
|
304
|
-
# include <stdint.h>
|
305
|
-
# endif
|
306
|
-
#endif
|
307
|
-
#if HAVE_UNISTD_H
|
308
|
-
# include <unistd.h>
|
309
|
-
#endif"
|
310
|
-
|
311
|
-
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP EGREP LIBOBJS LTLIBOBJS'
|
312
|
-
ac_subst_files=''
|
313
|
-
|
314
|
-
# Initialize some variables set by options.
|
315
|
-
ac_init_help=
|
316
|
-
ac_init_version=false
|
317
|
-
# The variables have the same names as the options, with
|
318
|
-
# dashes changed to underlines.
|
319
|
-
cache_file=/dev/null
|
320
|
-
exec_prefix=NONE
|
321
|
-
no_create=
|
322
|
-
no_recursion=
|
323
|
-
prefix=NONE
|
324
|
-
program_prefix=NONE
|
325
|
-
program_suffix=NONE
|
326
|
-
program_transform_name=s,x,x,
|
327
|
-
silent=
|
328
|
-
site=
|
329
|
-
srcdir=
|
330
|
-
verbose=
|
331
|
-
x_includes=NONE
|
332
|
-
x_libraries=NONE
|
333
|
-
|
334
|
-
# Installation directory options.
|
335
|
-
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
336
|
-
# and all the variables that are supposed to be based on exec_prefix
|
337
|
-
# by default will actually change.
|
338
|
-
# Use braces instead of parens because sh, perl, etc. also accept them.
|
339
|
-
bindir='${exec_prefix}/bin'
|
340
|
-
sbindir='${exec_prefix}/sbin'
|
341
|
-
libexecdir='${exec_prefix}/libexec'
|
342
|
-
datadir='${prefix}/share'
|
343
|
-
sysconfdir='${prefix}/etc'
|
344
|
-
sharedstatedir='${prefix}/com'
|
345
|
-
localstatedir='${prefix}/var'
|
346
|
-
libdir='${exec_prefix}/lib'
|
347
|
-
includedir='${prefix}/include'
|
348
|
-
oldincludedir='/usr/include'
|
349
|
-
infodir='${prefix}/info'
|
350
|
-
mandir='${prefix}/man'
|
351
|
-
|
352
|
-
ac_prev=
|
353
|
-
for ac_option
|
354
|
-
do
|
355
|
-
# If the previous option needs an argument, assign it.
|
356
|
-
if test -n "$ac_prev"; then
|
357
|
-
eval "$ac_prev=\$ac_option"
|
358
|
-
ac_prev=
|
359
|
-
continue
|
360
|
-
fi
|
361
|
-
|
362
|
-
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
363
|
-
|
364
|
-
# Accept the important Cygnus configure options, so we can diagnose typos.
|
365
|
-
|
366
|
-
case $ac_option in
|
367
|
-
|
368
|
-
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
369
|
-
ac_prev=bindir ;;
|
370
|
-
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
371
|
-
bindir=$ac_optarg ;;
|
372
|
-
|
373
|
-
-build | --build | --buil | --bui | --bu)
|
374
|
-
ac_prev=build_alias ;;
|
375
|
-
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
376
|
-
build_alias=$ac_optarg ;;
|
377
|
-
|
378
|
-
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
379
|
-
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
380
|
-
ac_prev=cache_file ;;
|
381
|
-
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
382
|
-
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
383
|
-
cache_file=$ac_optarg ;;
|
384
|
-
|
385
|
-
--config-cache | -C)
|
386
|
-
cache_file=config.cache ;;
|
387
|
-
|
388
|
-
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
389
|
-
ac_prev=datadir ;;
|
390
|
-
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
391
|
-
| --da=*)
|
392
|
-
datadir=$ac_optarg ;;
|
393
|
-
|
394
|
-
-disable-* | --disable-*)
|
395
|
-
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
396
|
-
# Reject names that are not valid shell variable names.
|
397
|
-
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
398
|
-
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
399
|
-
{ (exit 1); exit 1; }; }
|
400
|
-
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
401
|
-
eval "enable_$ac_feature=no" ;;
|
402
|
-
|
403
|
-
-enable-* | --enable-*)
|
404
|
-
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
405
|
-
# Reject names that are not valid shell variable names.
|
406
|
-
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
407
|
-
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
408
|
-
{ (exit 1); exit 1; }; }
|
409
|
-
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
410
|
-
case $ac_option in
|
411
|
-
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
412
|
-
*) ac_optarg=yes ;;
|
413
|
-
esac
|
414
|
-
eval "enable_$ac_feature='$ac_optarg'" ;;
|
415
|
-
|
416
|
-
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
417
|
-
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
418
|
-
| --exec | --exe | --ex)
|
419
|
-
ac_prev=exec_prefix ;;
|
420
|
-
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
421
|
-
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
422
|
-
| --exec=* | --exe=* | --ex=*)
|
423
|
-
exec_prefix=$ac_optarg ;;
|
424
|
-
|
425
|
-
-gas | --gas | --ga | --g)
|
426
|
-
# Obsolete; use --with-gas.
|
427
|
-
with_gas=yes ;;
|
428
|
-
|
429
|
-
-help | --help | --hel | --he | -h)
|
430
|
-
ac_init_help=long ;;
|
431
|
-
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
432
|
-
ac_init_help=recursive ;;
|
433
|
-
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
434
|
-
ac_init_help=short ;;
|
435
|
-
|
436
|
-
-host | --host | --hos | --ho)
|
437
|
-
ac_prev=host_alias ;;
|
438
|
-
-host=* | --host=* | --hos=* | --ho=*)
|
439
|
-
host_alias=$ac_optarg ;;
|
440
|
-
|
441
|
-
-includedir | --includedir | --includedi | --included | --include \
|
442
|
-
| --includ | --inclu | --incl | --inc)
|
443
|
-
ac_prev=includedir ;;
|
444
|
-
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
445
|
-
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
446
|
-
includedir=$ac_optarg ;;
|
447
|
-
|
448
|
-
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
449
|
-
ac_prev=infodir ;;
|
450
|
-
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
451
|
-
infodir=$ac_optarg ;;
|
452
|
-
|
453
|
-
-libdir | --libdir | --libdi | --libd)
|
454
|
-
ac_prev=libdir ;;
|
455
|
-
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
456
|
-
libdir=$ac_optarg ;;
|
457
|
-
|
458
|
-
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
459
|
-
| --libexe | --libex | --libe)
|
460
|
-
ac_prev=libexecdir ;;
|
461
|
-
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
462
|
-
| --libexe=* | --libex=* | --libe=*)
|
463
|
-
libexecdir=$ac_optarg ;;
|
464
|
-
|
465
|
-
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
466
|
-
| --localstate | --localstat | --localsta | --localst \
|
467
|
-
| --locals | --local | --loca | --loc | --lo)
|
468
|
-
ac_prev=localstatedir ;;
|
469
|
-
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
470
|
-
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
471
|
-
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
472
|
-
localstatedir=$ac_optarg ;;
|
473
|
-
|
474
|
-
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
475
|
-
ac_prev=mandir ;;
|
476
|
-
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
477
|
-
mandir=$ac_optarg ;;
|
478
|
-
|
479
|
-
-nfp | --nfp | --nf)
|
480
|
-
# Obsolete; use --without-fp.
|
481
|
-
with_fp=no ;;
|
482
|
-
|
483
|
-
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
484
|
-
| --no-cr | --no-c | -n)
|
485
|
-
no_create=yes ;;
|
486
|
-
|
487
|
-
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
488
|
-
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
489
|
-
no_recursion=yes ;;
|
490
|
-
|
491
|
-
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
492
|
-
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
493
|
-
| --oldin | --oldi | --old | --ol | --o)
|
494
|
-
ac_prev=oldincludedir ;;
|
495
|
-
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
496
|
-
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
497
|
-
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
498
|
-
oldincludedir=$ac_optarg ;;
|
499
|
-
|
500
|
-
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
501
|
-
ac_prev=prefix ;;
|
502
|
-
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
503
|
-
prefix=$ac_optarg ;;
|
504
|
-
|
505
|
-
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
506
|
-
| --program-pre | --program-pr | --program-p)
|
507
|
-
ac_prev=program_prefix ;;
|
508
|
-
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
509
|
-
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
510
|
-
program_prefix=$ac_optarg ;;
|
511
|
-
|
512
|
-
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
513
|
-
| --program-suf | --program-su | --program-s)
|
514
|
-
ac_prev=program_suffix ;;
|
515
|
-
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
516
|
-
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
517
|
-
program_suffix=$ac_optarg ;;
|
518
|
-
|
519
|
-
-program-transform-name | --program-transform-name \
|
520
|
-
| --program-transform-nam | --program-transform-na \
|
521
|
-
| --program-transform-n | --program-transform- \
|
522
|
-
| --program-transform | --program-transfor \
|
523
|
-
| --program-transfo | --program-transf \
|
524
|
-
| --program-trans | --program-tran \
|
525
|
-
| --progr-tra | --program-tr | --program-t)
|
526
|
-
ac_prev=program_transform_name ;;
|
527
|
-
-program-transform-name=* | --program-transform-name=* \
|
528
|
-
| --program-transform-nam=* | --program-transform-na=* \
|
529
|
-
| --program-transform-n=* | --program-transform-=* \
|
530
|
-
| --program-transform=* | --program-transfor=* \
|
531
|
-
| --program-transfo=* | --program-transf=* \
|
532
|
-
| --program-trans=* | --program-tran=* \
|
533
|
-
| --progr-tra=* | --program-tr=* | --program-t=*)
|
534
|
-
program_transform_name=$ac_optarg ;;
|
535
|
-
|
536
|
-
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
537
|
-
| -silent | --silent | --silen | --sile | --sil)
|
538
|
-
silent=yes ;;
|
539
|
-
|
540
|
-
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
541
|
-
ac_prev=sbindir ;;
|
542
|
-
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
543
|
-
| --sbi=* | --sb=*)
|
544
|
-
sbindir=$ac_optarg ;;
|
545
|
-
|
546
|
-
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
547
|
-
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
548
|
-
| --sharedst | --shareds | --shared | --share | --shar \
|
549
|
-
| --sha | --sh)
|
550
|
-
ac_prev=sharedstatedir ;;
|
551
|
-
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
552
|
-
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
553
|
-
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
554
|
-
| --sha=* | --sh=*)
|
555
|
-
sharedstatedir=$ac_optarg ;;
|
556
|
-
|
557
|
-
-site | --site | --sit)
|
558
|
-
ac_prev=site ;;
|
559
|
-
-site=* | --site=* | --sit=*)
|
560
|
-
site=$ac_optarg ;;
|
561
|
-
|
562
|
-
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
563
|
-
ac_prev=srcdir ;;
|
564
|
-
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
565
|
-
srcdir=$ac_optarg ;;
|
566
|
-
|
567
|
-
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
568
|
-
| --syscon | --sysco | --sysc | --sys | --sy)
|
569
|
-
ac_prev=sysconfdir ;;
|
570
|
-
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
571
|
-
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
572
|
-
sysconfdir=$ac_optarg ;;
|
573
|
-
|
574
|
-
-target | --target | --targe | --targ | --tar | --ta | --t)
|
575
|
-
ac_prev=target_alias ;;
|
576
|
-
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
577
|
-
target_alias=$ac_optarg ;;
|
578
|
-
|
579
|
-
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
580
|
-
verbose=yes ;;
|
581
|
-
|
582
|
-
-version | --version | --versio | --versi | --vers | -V)
|
583
|
-
ac_init_version=: ;;
|
584
|
-
|
585
|
-
-with-* | --with-*)
|
586
|
-
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
587
|
-
# Reject names that are not valid shell variable names.
|
588
|
-
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
589
|
-
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
590
|
-
{ (exit 1); exit 1; }; }
|
591
|
-
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
592
|
-
case $ac_option in
|
593
|
-
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
594
|
-
*) ac_optarg=yes ;;
|
595
|
-
esac
|
596
|
-
eval "with_$ac_package='$ac_optarg'" ;;
|
597
|
-
|
598
|
-
-without-* | --without-*)
|
599
|
-
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
600
|
-
# Reject names that are not valid shell variable names.
|
601
|
-
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
602
|
-
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
603
|
-
{ (exit 1); exit 1; }; }
|
604
|
-
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
605
|
-
eval "with_$ac_package=no" ;;
|
606
|
-
|
607
|
-
--x)
|
608
|
-
# Obsolete; use --with-x.
|
609
|
-
with_x=yes ;;
|
610
|
-
|
611
|
-
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
612
|
-
| --x-incl | --x-inc | --x-in | --x-i)
|
613
|
-
ac_prev=x_includes ;;
|
614
|
-
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
615
|
-
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
616
|
-
x_includes=$ac_optarg ;;
|
617
|
-
|
618
|
-
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
619
|
-
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
620
|
-
ac_prev=x_libraries ;;
|
621
|
-
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
622
|
-
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
623
|
-
x_libraries=$ac_optarg ;;
|
624
|
-
|
625
|
-
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
626
|
-
Try \`$0 --help' for more information." >&2
|
627
|
-
{ (exit 1); exit 1; }; }
|
628
|
-
;;
|
629
|
-
|
630
|
-
*=*)
|
631
|
-
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
632
|
-
# Reject names that are not valid shell variable names.
|
633
|
-
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
634
|
-
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
635
|
-
{ (exit 1); exit 1; }; }
|
636
|
-
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
637
|
-
eval "$ac_envvar='$ac_optarg'"
|
638
|
-
export $ac_envvar ;;
|
639
|
-
|
640
|
-
*)
|
641
|
-
# FIXME: should be removed in autoconf 3.0.
|
642
|
-
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
643
|
-
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
644
|
-
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
645
|
-
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
646
|
-
;;
|
647
|
-
|
648
|
-
esac
|
649
|
-
done
|
650
|
-
|
651
|
-
if test -n "$ac_prev"; then
|
652
|
-
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
653
|
-
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
654
|
-
{ (exit 1); exit 1; }; }
|
655
|
-
fi
|
656
|
-
|
657
|
-
# Be sure to have absolute paths.
|
658
|
-
for ac_var in exec_prefix prefix
|
659
|
-
do
|
660
|
-
eval ac_val=$`echo $ac_var`
|
661
|
-
case $ac_val in
|
662
|
-
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
663
|
-
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
664
|
-
{ (exit 1); exit 1; }; };;
|
665
|
-
esac
|
666
|
-
done
|
667
|
-
|
668
|
-
# Be sure to have absolute paths.
|
669
|
-
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
670
|
-
localstatedir libdir includedir oldincludedir infodir mandir
|
671
|
-
do
|
672
|
-
eval ac_val=$`echo $ac_var`
|
673
|
-
case $ac_val in
|
674
|
-
[\\/$]* | ?:[\\/]* ) ;;
|
675
|
-
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
676
|
-
{ (exit 1); exit 1; }; };;
|
677
|
-
esac
|
678
|
-
done
|
679
|
-
|
680
|
-
# There might be people who depend on the old broken behavior: `$host'
|
681
|
-
# used to hold the argument of --host etc.
|
682
|
-
# FIXME: To remove some day.
|
683
|
-
build=$build_alias
|
684
|
-
host=$host_alias
|
685
|
-
target=$target_alias
|
686
|
-
|
687
|
-
# FIXME: To remove some day.
|
688
|
-
if test "x$host_alias" != x; then
|
689
|
-
if test "x$build_alias" = x; then
|
690
|
-
cross_compiling=maybe
|
691
|
-
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
692
|
-
If a cross compiler is detected then cross compile mode will be used." >&2
|
693
|
-
elif test "x$build_alias" != "x$host_alias"; then
|
694
|
-
cross_compiling=yes
|
695
|
-
fi
|
696
|
-
fi
|
697
|
-
|
698
|
-
ac_tool_prefix=
|
699
|
-
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
700
|
-
|
701
|
-
test "$silent" = yes && exec 6>/dev/null
|
702
|
-
|
703
|
-
|
704
|
-
# Find the source files, if location was not specified.
|
705
|
-
if test -z "$srcdir"; then
|
706
|
-
ac_srcdir_defaulted=yes
|
707
|
-
# Try the directory containing this script, then its parent.
|
708
|
-
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
709
|
-
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
710
|
-
X"$0" : 'X\(//\)[^/]' \| \
|
711
|
-
X"$0" : 'X\(//\)$' \| \
|
712
|
-
X"$0" : 'X\(/\)' \| \
|
713
|
-
. : '\(.\)' 2>/dev/null ||
|
714
|
-
echo X"$0" |
|
715
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
716
|
-
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
717
|
-
/^X\(\/\/\)$/{ s//\1/; q; }
|
718
|
-
/^X\(\/\).*/{ s//\1/; q; }
|
719
|
-
s/.*/./; q'`
|
720
|
-
srcdir=$ac_confdir
|
721
|
-
if test ! -r $srcdir/$ac_unique_file; then
|
722
|
-
srcdir=..
|
723
|
-
fi
|
724
|
-
else
|
725
|
-
ac_srcdir_defaulted=no
|
726
|
-
fi
|
727
|
-
if test ! -r $srcdir/$ac_unique_file; then
|
728
|
-
if test "$ac_srcdir_defaulted" = yes; then
|
729
|
-
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
730
|
-
{ (exit 1); exit 1; }; }
|
731
|
-
else
|
732
|
-
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
733
|
-
{ (exit 1); exit 1; }; }
|
734
|
-
fi
|
735
|
-
fi
|
736
|
-
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
737
|
-
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
738
|
-
{ (exit 1); exit 1; }; }
|
739
|
-
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
740
|
-
ac_env_build_alias_set=${build_alias+set}
|
741
|
-
ac_env_build_alias_value=$build_alias
|
742
|
-
ac_cv_env_build_alias_set=${build_alias+set}
|
743
|
-
ac_cv_env_build_alias_value=$build_alias
|
744
|
-
ac_env_host_alias_set=${host_alias+set}
|
745
|
-
ac_env_host_alias_value=$host_alias
|
746
|
-
ac_cv_env_host_alias_set=${host_alias+set}
|
747
|
-
ac_cv_env_host_alias_value=$host_alias
|
748
|
-
ac_env_target_alias_set=${target_alias+set}
|
749
|
-
ac_env_target_alias_value=$target_alias
|
750
|
-
ac_cv_env_target_alias_set=${target_alias+set}
|
751
|
-
ac_cv_env_target_alias_value=$target_alias
|
752
|
-
ac_env_CC_set=${CC+set}
|
753
|
-
ac_env_CC_value=$CC
|
754
|
-
ac_cv_env_CC_set=${CC+set}
|
755
|
-
ac_cv_env_CC_value=$CC
|
756
|
-
ac_env_CFLAGS_set=${CFLAGS+set}
|
757
|
-
ac_env_CFLAGS_value=$CFLAGS
|
758
|
-
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
759
|
-
ac_cv_env_CFLAGS_value=$CFLAGS
|
760
|
-
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
761
|
-
ac_env_LDFLAGS_value=$LDFLAGS
|
762
|
-
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
763
|
-
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
764
|
-
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
765
|
-
ac_env_CPPFLAGS_value=$CPPFLAGS
|
766
|
-
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
767
|
-
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
768
|
-
ac_env_CPP_set=${CPP+set}
|
769
|
-
ac_env_CPP_value=$CPP
|
770
|
-
ac_cv_env_CPP_set=${CPP+set}
|
771
|
-
ac_cv_env_CPP_value=$CPP
|
772
|
-
|
773
|
-
#
|
774
|
-
# Report the --help message.
|
775
|
-
#
|
776
|
-
if test "$ac_init_help" = "long"; then
|
777
|
-
# Omit some internal or obsolete options to make the list less imposing.
|
778
|
-
# This message is too long to be a string in the A/UX 3.1 sh.
|
779
|
-
cat <<_ACEOF
|
780
|
-
\`configure' configures gocr 0.48 to adapt to many kinds of systems.
|
781
|
-
|
782
|
-
Usage: $0 [OPTION]... [VAR=VALUE]...
|
783
|
-
|
784
|
-
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
785
|
-
VAR=VALUE. See below for descriptions of some of the useful variables.
|
786
|
-
|
787
|
-
Defaults for the options are specified in brackets.
|
788
|
-
|
789
|
-
Configuration:
|
790
|
-
-h, --help display this help and exit
|
791
|
-
--help=short display options specific to this package
|
792
|
-
--help=recursive display the short help of all the included packages
|
793
|
-
-V, --version display version information and exit
|
794
|
-
-q, --quiet, --silent do not print \`checking...' messages
|
795
|
-
--cache-file=FILE cache test results in FILE [disabled]
|
796
|
-
-C, --config-cache alias for \`--cache-file=config.cache'
|
797
|
-
-n, --no-create do not create output files
|
798
|
-
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
799
|
-
|
800
|
-
_ACEOF
|
801
|
-
|
802
|
-
cat <<_ACEOF
|
803
|
-
Installation directories:
|
804
|
-
--prefix=PREFIX install architecture-independent files in PREFIX
|
805
|
-
[$ac_default_prefix]
|
806
|
-
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
807
|
-
[PREFIX]
|
808
|
-
|
809
|
-
By default, \`make install' will install all the files in
|
810
|
-
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
811
|
-
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
812
|
-
for instance \`--prefix=\$HOME'.
|
813
|
-
|
814
|
-
For better control, use the options below.
|
815
|
-
|
816
|
-
Fine tuning of the installation directories:
|
817
|
-
--bindir=DIR user executables [EPREFIX/bin]
|
818
|
-
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
819
|
-
--libexecdir=DIR program executables [EPREFIX/libexec]
|
820
|
-
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
821
|
-
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
822
|
-
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
823
|
-
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
824
|
-
--libdir=DIR object code libraries [EPREFIX/lib]
|
825
|
-
--includedir=DIR C header files [PREFIX/include]
|
826
|
-
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
827
|
-
--infodir=DIR info documentation [PREFIX/info]
|
828
|
-
--mandir=DIR man documentation [PREFIX/man]
|
829
|
-
_ACEOF
|
830
|
-
|
831
|
-
cat <<\_ACEOF
|
832
|
-
_ACEOF
|
833
|
-
fi
|
834
|
-
|
835
|
-
if test -n "$ac_init_help"; then
|
836
|
-
case $ac_init_help in
|
837
|
-
short | recursive ) echo "Configuration of gocr 0.48:";;
|
838
|
-
esac
|
839
|
-
cat <<\_ACEOF
|
840
|
-
|
841
|
-
Optional Packages:
|
842
|
-
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
843
|
-
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
844
|
-
--with-debug switching on debugging (more verbose output)
|
845
|
-
--with-netpbm=PATH enter the PATH to netpbm package
|
846
|
-
|
847
|
-
Some influential environment variables:
|
848
|
-
CC C compiler command
|
849
|
-
CFLAGS C compiler flags
|
850
|
-
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
851
|
-
nonstandard directory <lib dir>
|
852
|
-
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
853
|
-
headers in a nonstandard directory <include dir>
|
854
|
-
CPP C preprocessor
|
855
|
-
|
856
|
-
Use these variables to override the choices made by `configure' or to help
|
857
|
-
it to find libraries and programs with nonstandard names/locations.
|
858
|
-
|
859
|
-
_ACEOF
|
860
|
-
fi
|
861
|
-
|
862
|
-
if test "$ac_init_help" = "recursive"; then
|
863
|
-
# If there are subdirs, report their specific --help.
|
864
|
-
ac_popdir=`pwd`
|
865
|
-
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
866
|
-
test -d $ac_dir || continue
|
867
|
-
ac_builddir=.
|
868
|
-
|
869
|
-
if test "$ac_dir" != .; then
|
870
|
-
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
871
|
-
# A "../" for each directory in $ac_dir_suffix.
|
872
|
-
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
873
|
-
else
|
874
|
-
ac_dir_suffix= ac_top_builddir=
|
875
|
-
fi
|
876
|
-
|
877
|
-
case $srcdir in
|
878
|
-
.) # No --srcdir option. We are building in place.
|
879
|
-
ac_srcdir=.
|
880
|
-
if test -z "$ac_top_builddir"; then
|
881
|
-
ac_top_srcdir=.
|
882
|
-
else
|
883
|
-
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
884
|
-
fi ;;
|
885
|
-
[\\/]* | ?:[\\/]* ) # Absolute path.
|
886
|
-
ac_srcdir=$srcdir$ac_dir_suffix;
|
887
|
-
ac_top_srcdir=$srcdir ;;
|
888
|
-
*) # Relative path.
|
889
|
-
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
890
|
-
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
891
|
-
esac
|
892
|
-
|
893
|
-
# Do not use `cd foo && pwd` to compute absolute paths, because
|
894
|
-
# the directories may not exist.
|
895
|
-
case `pwd` in
|
896
|
-
.) ac_abs_builddir="$ac_dir";;
|
897
|
-
*)
|
898
|
-
case "$ac_dir" in
|
899
|
-
.) ac_abs_builddir=`pwd`;;
|
900
|
-
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
901
|
-
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
902
|
-
esac;;
|
903
|
-
esac
|
904
|
-
case $ac_abs_builddir in
|
905
|
-
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
906
|
-
*)
|
907
|
-
case ${ac_top_builddir}. in
|
908
|
-
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
909
|
-
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
910
|
-
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
911
|
-
esac;;
|
912
|
-
esac
|
913
|
-
case $ac_abs_builddir in
|
914
|
-
.) ac_abs_srcdir=$ac_srcdir;;
|
915
|
-
*)
|
916
|
-
case $ac_srcdir in
|
917
|
-
.) ac_abs_srcdir=$ac_abs_builddir;;
|
918
|
-
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
919
|
-
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
920
|
-
esac;;
|
921
|
-
esac
|
922
|
-
case $ac_abs_builddir in
|
923
|
-
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
924
|
-
*)
|
925
|
-
case $ac_top_srcdir in
|
926
|
-
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
927
|
-
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
928
|
-
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
929
|
-
esac;;
|
930
|
-
esac
|
931
|
-
|
932
|
-
cd $ac_dir
|
933
|
-
# Check for guested configure; otherwise get Cygnus style configure.
|
934
|
-
if test -f $ac_srcdir/configure.gnu; then
|
935
|
-
echo
|
936
|
-
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
937
|
-
elif test -f $ac_srcdir/configure; then
|
938
|
-
echo
|
939
|
-
$SHELL $ac_srcdir/configure --help=recursive
|
940
|
-
elif test -f $ac_srcdir/configure.ac ||
|
941
|
-
test -f $ac_srcdir/configure.in; then
|
942
|
-
echo
|
943
|
-
$ac_configure --help
|
944
|
-
else
|
945
|
-
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
946
|
-
fi
|
947
|
-
cd $ac_popdir
|
948
|
-
done
|
949
|
-
fi
|
950
|
-
|
951
|
-
test -n "$ac_init_help" && exit 0
|
952
|
-
if $ac_init_version; then
|
953
|
-
cat <<\_ACEOF
|
954
|
-
gocr configure 0.48
|
955
|
-
generated by GNU Autoconf 2.59
|
956
|
-
|
957
|
-
Copyright (C) 2003 Free Software Foundation, Inc.
|
958
|
-
This configure script is free software; the Free Software Foundation
|
959
|
-
gives unlimited permission to copy, distribute and modify it.
|
960
|
-
_ACEOF
|
961
|
-
exit 0
|
962
|
-
fi
|
963
|
-
exec 5>config.log
|
964
|
-
cat >&5 <<_ACEOF
|
965
|
-
This file contains any messages produced by compilers while
|
966
|
-
running configure, to aid debugging if configure makes a mistake.
|
967
|
-
|
968
|
-
It was created by gocr $as_me 0.48, which was
|
969
|
-
generated by GNU Autoconf 2.59. Invocation command line was
|
970
|
-
|
971
|
-
$ $0 $@
|
972
|
-
|
973
|
-
_ACEOF
|
974
|
-
{
|
975
|
-
cat <<_ASUNAME
|
976
|
-
## --------- ##
|
977
|
-
## Platform. ##
|
978
|
-
## --------- ##
|
979
|
-
|
980
|
-
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
981
|
-
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
982
|
-
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
983
|
-
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
984
|
-
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
985
|
-
|
986
|
-
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
987
|
-
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
988
|
-
|
989
|
-
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
990
|
-
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
991
|
-
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
992
|
-
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
993
|
-
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
994
|
-
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
995
|
-
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
996
|
-
|
997
|
-
_ASUNAME
|
998
|
-
|
999
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1000
|
-
for as_dir in $PATH
|
1001
|
-
do
|
1002
|
-
IFS=$as_save_IFS
|
1003
|
-
test -z "$as_dir" && as_dir=.
|
1004
|
-
echo "PATH: $as_dir"
|
1005
|
-
done
|
1006
|
-
|
1007
|
-
} >&5
|
1008
|
-
|
1009
|
-
cat >&5 <<_ACEOF
|
1010
|
-
|
1011
|
-
|
1012
|
-
## ----------- ##
|
1013
|
-
## Core tests. ##
|
1014
|
-
## ----------- ##
|
1015
|
-
|
1016
|
-
_ACEOF
|
1017
|
-
|
1018
|
-
|
1019
|
-
# Keep a trace of the command line.
|
1020
|
-
# Strip out --no-create and --no-recursion so they do not pile up.
|
1021
|
-
# Strip out --silent because we don't want to record it for future runs.
|
1022
|
-
# Also quote any args containing shell meta-characters.
|
1023
|
-
# Make two passes to allow for proper duplicate-argument suppression.
|
1024
|
-
ac_configure_args=
|
1025
|
-
ac_configure_args0=
|
1026
|
-
ac_configure_args1=
|
1027
|
-
ac_sep=
|
1028
|
-
ac_must_keep_next=false
|
1029
|
-
for ac_pass in 1 2
|
1030
|
-
do
|
1031
|
-
for ac_arg
|
1032
|
-
do
|
1033
|
-
case $ac_arg in
|
1034
|
-
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
1035
|
-
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1036
|
-
| -silent | --silent | --silen | --sile | --sil)
|
1037
|
-
continue ;;
|
1038
|
-
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1039
|
-
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1040
|
-
esac
|
1041
|
-
case $ac_pass in
|
1042
|
-
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
1043
|
-
2)
|
1044
|
-
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
1045
|
-
if test $ac_must_keep_next = true; then
|
1046
|
-
ac_must_keep_next=false # Got value, back to normal.
|
1047
|
-
else
|
1048
|
-
case $ac_arg in
|
1049
|
-
*=* | --config-cache | -C | -disable-* | --disable-* \
|
1050
|
-
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
1051
|
-
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
1052
|
-
| -with-* | --with-* | -without-* | --without-* | --x)
|
1053
|
-
case "$ac_configure_args0 " in
|
1054
|
-
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
1055
|
-
esac
|
1056
|
-
;;
|
1057
|
-
-* ) ac_must_keep_next=true ;;
|
1058
|
-
esac
|
1059
|
-
fi
|
1060
|
-
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1061
|
-
# Get rid of the leading space.
|
1062
|
-
ac_sep=" "
|
1063
|
-
;;
|
1064
|
-
esac
|
1065
|
-
done
|
1066
|
-
done
|
1067
|
-
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1068
|
-
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
1069
|
-
|
1070
|
-
# When interrupted or exit'd, cleanup temporary files, and complete
|
1071
|
-
# config.log. We remove comments because anyway the quotes in there
|
1072
|
-
# would cause problems or look ugly.
|
1073
|
-
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1074
|
-
# such as our DU 5.0 friend, will then `close' the trap.
|
1075
|
-
trap 'exit_status=$?
|
1076
|
-
# Save into config.log some information that might help in debugging.
|
1077
|
-
{
|
1078
|
-
echo
|
1079
|
-
|
1080
|
-
cat <<\_ASBOX
|
1081
|
-
## ---------------- ##
|
1082
|
-
## Cache variables. ##
|
1083
|
-
## ---------------- ##
|
1084
|
-
_ASBOX
|
1085
|
-
echo
|
1086
|
-
# The following way of writing the cache mishandles newlines in values,
|
1087
|
-
{
|
1088
|
-
(set) 2>&1 |
|
1089
|
-
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1090
|
-
*ac_space=\ *)
|
1091
|
-
sed -n \
|
1092
|
-
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1093
|
-
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
1094
|
-
;;
|
1095
|
-
*)
|
1096
|
-
sed -n \
|
1097
|
-
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1098
|
-
;;
|
1099
|
-
esac;
|
1100
|
-
}
|
1101
|
-
echo
|
1102
|
-
|
1103
|
-
cat <<\_ASBOX
|
1104
|
-
## ----------------- ##
|
1105
|
-
## Output variables. ##
|
1106
|
-
## ----------------- ##
|
1107
|
-
_ASBOX
|
1108
|
-
echo
|
1109
|
-
for ac_var in $ac_subst_vars
|
1110
|
-
do
|
1111
|
-
eval ac_val=$`echo $ac_var`
|
1112
|
-
echo "$ac_var='"'"'$ac_val'"'"'"
|
1113
|
-
done | sort
|
1114
|
-
echo
|
1115
|
-
|
1116
|
-
if test -n "$ac_subst_files"; then
|
1117
|
-
cat <<\_ASBOX
|
1118
|
-
## ------------- ##
|
1119
|
-
## Output files. ##
|
1120
|
-
## ------------- ##
|
1121
|
-
_ASBOX
|
1122
|
-
echo
|
1123
|
-
for ac_var in $ac_subst_files
|
1124
|
-
do
|
1125
|
-
eval ac_val=$`echo $ac_var`
|
1126
|
-
echo "$ac_var='"'"'$ac_val'"'"'"
|
1127
|
-
done | sort
|
1128
|
-
echo
|
1129
|
-
fi
|
1130
|
-
|
1131
|
-
if test -s confdefs.h; then
|
1132
|
-
cat <<\_ASBOX
|
1133
|
-
## ----------- ##
|
1134
|
-
## confdefs.h. ##
|
1135
|
-
## ----------- ##
|
1136
|
-
_ASBOX
|
1137
|
-
echo
|
1138
|
-
sed "/^$/d" confdefs.h | sort
|
1139
|
-
echo
|
1140
|
-
fi
|
1141
|
-
test "$ac_signal" != 0 &&
|
1142
|
-
echo "$as_me: caught signal $ac_signal"
|
1143
|
-
echo "$as_me: exit $exit_status"
|
1144
|
-
} >&5
|
1145
|
-
rm -f core *.core &&
|
1146
|
-
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
1147
|
-
exit $exit_status
|
1148
|
-
' 0
|
1149
|
-
for ac_signal in 1 2 13 15; do
|
1150
|
-
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
1151
|
-
done
|
1152
|
-
ac_signal=0
|
1153
|
-
|
1154
|
-
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1155
|
-
rm -rf conftest* confdefs.h
|
1156
|
-
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1157
|
-
echo >confdefs.h
|
1158
|
-
|
1159
|
-
# Predefined preprocessor variables.
|
1160
|
-
|
1161
|
-
cat >>confdefs.h <<_ACEOF
|
1162
|
-
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1163
|
-
_ACEOF
|
1164
|
-
|
1165
|
-
|
1166
|
-
cat >>confdefs.h <<_ACEOF
|
1167
|
-
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1168
|
-
_ACEOF
|
1169
|
-
|
1170
|
-
|
1171
|
-
cat >>confdefs.h <<_ACEOF
|
1172
|
-
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1173
|
-
_ACEOF
|
1174
|
-
|
1175
|
-
|
1176
|
-
cat >>confdefs.h <<_ACEOF
|
1177
|
-
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1178
|
-
_ACEOF
|
1179
|
-
|
1180
|
-
|
1181
|
-
cat >>confdefs.h <<_ACEOF
|
1182
|
-
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1183
|
-
_ACEOF
|
1184
|
-
|
1185
|
-
|
1186
|
-
# Let the site file select an alternate cache file if it wants to.
|
1187
|
-
# Prefer explicitly selected file to automatically selected ones.
|
1188
|
-
if test -z "$CONFIG_SITE"; then
|
1189
|
-
if test "x$prefix" != xNONE; then
|
1190
|
-
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1191
|
-
else
|
1192
|
-
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1193
|
-
fi
|
1194
|
-
fi
|
1195
|
-
for ac_site_file in $CONFIG_SITE; do
|
1196
|
-
if test -r "$ac_site_file"; then
|
1197
|
-
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1198
|
-
echo "$as_me: loading site script $ac_site_file" >&6;}
|
1199
|
-
sed 's/^/| /' "$ac_site_file" >&5
|
1200
|
-
. "$ac_site_file"
|
1201
|
-
fi
|
1202
|
-
done
|
1203
|
-
|
1204
|
-
if test -r "$cache_file"; then
|
1205
|
-
# Some versions of bash will fail to source /dev/null (special
|
1206
|
-
# files actually), so we avoid doing that.
|
1207
|
-
if test -f "$cache_file"; then
|
1208
|
-
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1209
|
-
echo "$as_me: loading cache $cache_file" >&6;}
|
1210
|
-
case $cache_file in
|
1211
|
-
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1212
|
-
*) . ./$cache_file;;
|
1213
|
-
esac
|
1214
|
-
fi
|
1215
|
-
else
|
1216
|
-
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1217
|
-
echo "$as_me: creating cache $cache_file" >&6;}
|
1218
|
-
>$cache_file
|
1219
|
-
fi
|
1220
|
-
|
1221
|
-
# Check that the precious variables saved in the cache have kept the same
|
1222
|
-
# value.
|
1223
|
-
ac_cache_corrupted=false
|
1224
|
-
for ac_var in `(set) 2>&1 |
|
1225
|
-
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
1226
|
-
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1227
|
-
eval ac_new_set=\$ac_env_${ac_var}_set
|
1228
|
-
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1229
|
-
eval ac_new_val="\$ac_env_${ac_var}_value"
|
1230
|
-
case $ac_old_set,$ac_new_set in
|
1231
|
-
set,)
|
1232
|
-
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1233
|
-
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1234
|
-
ac_cache_corrupted=: ;;
|
1235
|
-
,set)
|
1236
|
-
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1237
|
-
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1238
|
-
ac_cache_corrupted=: ;;
|
1239
|
-
,);;
|
1240
|
-
*)
|
1241
|
-
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1242
|
-
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1243
|
-
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1244
|
-
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1245
|
-
echo "$as_me: former value: $ac_old_val" >&2;}
|
1246
|
-
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1247
|
-
echo "$as_me: current value: $ac_new_val" >&2;}
|
1248
|
-
ac_cache_corrupted=:
|
1249
|
-
fi;;
|
1250
|
-
esac
|
1251
|
-
# Pass precious variables to config.status.
|
1252
|
-
if test "$ac_new_set" = set; then
|
1253
|
-
case $ac_new_val in
|
1254
|
-
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1255
|
-
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1256
|
-
*) ac_arg=$ac_var=$ac_new_val ;;
|
1257
|
-
esac
|
1258
|
-
case " $ac_configure_args " in
|
1259
|
-
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1260
|
-
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
1261
|
-
esac
|
1262
|
-
fi
|
1263
|
-
done
|
1264
|
-
if $ac_cache_corrupted; then
|
1265
|
-
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1266
|
-
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1267
|
-
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1268
|
-
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1269
|
-
{ (exit 1); exit 1; }; }
|
1270
|
-
fi
|
1271
|
-
|
1272
|
-
ac_ext=c
|
1273
|
-
ac_cpp='$CPP $CPPFLAGS'
|
1274
|
-
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1275
|
-
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1276
|
-
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
ac_config_headers="$ac_config_headers include/config.h"
|
1306
|
-
|
1307
|
-
|
1308
|
-
ac_ext=c
|
1309
|
-
ac_cpp='$CPP $CPPFLAGS'
|
1310
|
-
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1311
|
-
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1312
|
-
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1313
|
-
if test -n "$ac_tool_prefix"; then
|
1314
|
-
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1315
|
-
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1316
|
-
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1317
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1318
|
-
if test "${ac_cv_prog_CC+set}" = set; then
|
1319
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1320
|
-
else
|
1321
|
-
if test -n "$CC"; then
|
1322
|
-
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1323
|
-
else
|
1324
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1325
|
-
for as_dir in $PATH
|
1326
|
-
do
|
1327
|
-
IFS=$as_save_IFS
|
1328
|
-
test -z "$as_dir" && as_dir=.
|
1329
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
1330
|
-
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1331
|
-
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1332
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1333
|
-
break 2
|
1334
|
-
fi
|
1335
|
-
done
|
1336
|
-
done
|
1337
|
-
|
1338
|
-
fi
|
1339
|
-
fi
|
1340
|
-
CC=$ac_cv_prog_CC
|
1341
|
-
if test -n "$CC"; then
|
1342
|
-
echo "$as_me:$LINENO: result: $CC" >&5
|
1343
|
-
echo "${ECHO_T}$CC" >&6
|
1344
|
-
else
|
1345
|
-
echo "$as_me:$LINENO: result: no" >&5
|
1346
|
-
echo "${ECHO_T}no" >&6
|
1347
|
-
fi
|
1348
|
-
|
1349
|
-
fi
|
1350
|
-
if test -z "$ac_cv_prog_CC"; then
|
1351
|
-
ac_ct_CC=$CC
|
1352
|
-
# Extract the first word of "gcc", so it can be a program name with args.
|
1353
|
-
set dummy gcc; ac_word=$2
|
1354
|
-
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1355
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1356
|
-
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1357
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1358
|
-
else
|
1359
|
-
if test -n "$ac_ct_CC"; then
|
1360
|
-
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1361
|
-
else
|
1362
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1363
|
-
for as_dir in $PATH
|
1364
|
-
do
|
1365
|
-
IFS=$as_save_IFS
|
1366
|
-
test -z "$as_dir" && as_dir=.
|
1367
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
1368
|
-
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1369
|
-
ac_cv_prog_ac_ct_CC="gcc"
|
1370
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1371
|
-
break 2
|
1372
|
-
fi
|
1373
|
-
done
|
1374
|
-
done
|
1375
|
-
|
1376
|
-
fi
|
1377
|
-
fi
|
1378
|
-
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1379
|
-
if test -n "$ac_ct_CC"; then
|
1380
|
-
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1381
|
-
echo "${ECHO_T}$ac_ct_CC" >&6
|
1382
|
-
else
|
1383
|
-
echo "$as_me:$LINENO: result: no" >&5
|
1384
|
-
echo "${ECHO_T}no" >&6
|
1385
|
-
fi
|
1386
|
-
|
1387
|
-
CC=$ac_ct_CC
|
1388
|
-
else
|
1389
|
-
CC="$ac_cv_prog_CC"
|
1390
|
-
fi
|
1391
|
-
|
1392
|
-
if test -z "$CC"; then
|
1393
|
-
if test -n "$ac_tool_prefix"; then
|
1394
|
-
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1395
|
-
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1396
|
-
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1397
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1398
|
-
if test "${ac_cv_prog_CC+set}" = set; then
|
1399
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1400
|
-
else
|
1401
|
-
if test -n "$CC"; then
|
1402
|
-
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1403
|
-
else
|
1404
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1405
|
-
for as_dir in $PATH
|
1406
|
-
do
|
1407
|
-
IFS=$as_save_IFS
|
1408
|
-
test -z "$as_dir" && as_dir=.
|
1409
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
1410
|
-
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1411
|
-
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
1412
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1413
|
-
break 2
|
1414
|
-
fi
|
1415
|
-
done
|
1416
|
-
done
|
1417
|
-
|
1418
|
-
fi
|
1419
|
-
fi
|
1420
|
-
CC=$ac_cv_prog_CC
|
1421
|
-
if test -n "$CC"; then
|
1422
|
-
echo "$as_me:$LINENO: result: $CC" >&5
|
1423
|
-
echo "${ECHO_T}$CC" >&6
|
1424
|
-
else
|
1425
|
-
echo "$as_me:$LINENO: result: no" >&5
|
1426
|
-
echo "${ECHO_T}no" >&6
|
1427
|
-
fi
|
1428
|
-
|
1429
|
-
fi
|
1430
|
-
if test -z "$ac_cv_prog_CC"; then
|
1431
|
-
ac_ct_CC=$CC
|
1432
|
-
# Extract the first word of "cc", so it can be a program name with args.
|
1433
|
-
set dummy cc; ac_word=$2
|
1434
|
-
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1435
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1436
|
-
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1437
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1438
|
-
else
|
1439
|
-
if test -n "$ac_ct_CC"; then
|
1440
|
-
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1441
|
-
else
|
1442
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1443
|
-
for as_dir in $PATH
|
1444
|
-
do
|
1445
|
-
IFS=$as_save_IFS
|
1446
|
-
test -z "$as_dir" && as_dir=.
|
1447
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
1448
|
-
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1449
|
-
ac_cv_prog_ac_ct_CC="cc"
|
1450
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1451
|
-
break 2
|
1452
|
-
fi
|
1453
|
-
done
|
1454
|
-
done
|
1455
|
-
|
1456
|
-
fi
|
1457
|
-
fi
|
1458
|
-
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1459
|
-
if test -n "$ac_ct_CC"; then
|
1460
|
-
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1461
|
-
echo "${ECHO_T}$ac_ct_CC" >&6
|
1462
|
-
else
|
1463
|
-
echo "$as_me:$LINENO: result: no" >&5
|
1464
|
-
echo "${ECHO_T}no" >&6
|
1465
|
-
fi
|
1466
|
-
|
1467
|
-
CC=$ac_ct_CC
|
1468
|
-
else
|
1469
|
-
CC="$ac_cv_prog_CC"
|
1470
|
-
fi
|
1471
|
-
|
1472
|
-
fi
|
1473
|
-
if test -z "$CC"; then
|
1474
|
-
# Extract the first word of "cc", so it can be a program name with args.
|
1475
|
-
set dummy cc; ac_word=$2
|
1476
|
-
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1477
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1478
|
-
if test "${ac_cv_prog_CC+set}" = set; then
|
1479
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1480
|
-
else
|
1481
|
-
if test -n "$CC"; then
|
1482
|
-
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1483
|
-
else
|
1484
|
-
ac_prog_rejected=no
|
1485
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1486
|
-
for as_dir in $PATH
|
1487
|
-
do
|
1488
|
-
IFS=$as_save_IFS
|
1489
|
-
test -z "$as_dir" && as_dir=.
|
1490
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
1491
|
-
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1492
|
-
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
1493
|
-
ac_prog_rejected=yes
|
1494
|
-
continue
|
1495
|
-
fi
|
1496
|
-
ac_cv_prog_CC="cc"
|
1497
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1498
|
-
break 2
|
1499
|
-
fi
|
1500
|
-
done
|
1501
|
-
done
|
1502
|
-
|
1503
|
-
if test $ac_prog_rejected = yes; then
|
1504
|
-
# We found a bogon in the path, so make sure we never use it.
|
1505
|
-
set dummy $ac_cv_prog_CC
|
1506
|
-
shift
|
1507
|
-
if test $# != 0; then
|
1508
|
-
# We chose a different compiler from the bogus one.
|
1509
|
-
# However, it has the same basename, so the bogon will be chosen
|
1510
|
-
# first if we set CC to just the basename; use the full file name.
|
1511
|
-
shift
|
1512
|
-
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
1513
|
-
fi
|
1514
|
-
fi
|
1515
|
-
fi
|
1516
|
-
fi
|
1517
|
-
CC=$ac_cv_prog_CC
|
1518
|
-
if test -n "$CC"; then
|
1519
|
-
echo "$as_me:$LINENO: result: $CC" >&5
|
1520
|
-
echo "${ECHO_T}$CC" >&6
|
1521
|
-
else
|
1522
|
-
echo "$as_me:$LINENO: result: no" >&5
|
1523
|
-
echo "${ECHO_T}no" >&6
|
1524
|
-
fi
|
1525
|
-
|
1526
|
-
fi
|
1527
|
-
if test -z "$CC"; then
|
1528
|
-
if test -n "$ac_tool_prefix"; then
|
1529
|
-
for ac_prog in cl
|
1530
|
-
do
|
1531
|
-
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1532
|
-
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1533
|
-
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1534
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1535
|
-
if test "${ac_cv_prog_CC+set}" = set; then
|
1536
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1537
|
-
else
|
1538
|
-
if test -n "$CC"; then
|
1539
|
-
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1540
|
-
else
|
1541
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1542
|
-
for as_dir in $PATH
|
1543
|
-
do
|
1544
|
-
IFS=$as_save_IFS
|
1545
|
-
test -z "$as_dir" && as_dir=.
|
1546
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
1547
|
-
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1548
|
-
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
1549
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1550
|
-
break 2
|
1551
|
-
fi
|
1552
|
-
done
|
1553
|
-
done
|
1554
|
-
|
1555
|
-
fi
|
1556
|
-
fi
|
1557
|
-
CC=$ac_cv_prog_CC
|
1558
|
-
if test -n "$CC"; then
|
1559
|
-
echo "$as_me:$LINENO: result: $CC" >&5
|
1560
|
-
echo "${ECHO_T}$CC" >&6
|
1561
|
-
else
|
1562
|
-
echo "$as_me:$LINENO: result: no" >&5
|
1563
|
-
echo "${ECHO_T}no" >&6
|
1564
|
-
fi
|
1565
|
-
|
1566
|
-
test -n "$CC" && break
|
1567
|
-
done
|
1568
|
-
fi
|
1569
|
-
if test -z "$CC"; then
|
1570
|
-
ac_ct_CC=$CC
|
1571
|
-
for ac_prog in cl
|
1572
|
-
do
|
1573
|
-
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1574
|
-
set dummy $ac_prog; ac_word=$2
|
1575
|
-
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1576
|
-
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1577
|
-
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1578
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1579
|
-
else
|
1580
|
-
if test -n "$ac_ct_CC"; then
|
1581
|
-
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1582
|
-
else
|
1583
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1584
|
-
for as_dir in $PATH
|
1585
|
-
do
|
1586
|
-
IFS=$as_save_IFS
|
1587
|
-
test -z "$as_dir" && as_dir=.
|
1588
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
1589
|
-
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1590
|
-
ac_cv_prog_ac_ct_CC="$ac_prog"
|
1591
|
-
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1592
|
-
break 2
|
1593
|
-
fi
|
1594
|
-
done
|
1595
|
-
done
|
1596
|
-
|
1597
|
-
fi
|
1598
|
-
fi
|
1599
|
-
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1600
|
-
if test -n "$ac_ct_CC"; then
|
1601
|
-
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1602
|
-
echo "${ECHO_T}$ac_ct_CC" >&6
|
1603
|
-
else
|
1604
|
-
echo "$as_me:$LINENO: result: no" >&5
|
1605
|
-
echo "${ECHO_T}no" >&6
|
1606
|
-
fi
|
1607
|
-
|
1608
|
-
test -n "$ac_ct_CC" && break
|
1609
|
-
done
|
1610
|
-
|
1611
|
-
CC=$ac_ct_CC
|
1612
|
-
fi
|
1613
|
-
|
1614
|
-
fi
|
1615
|
-
|
1616
|
-
|
1617
|
-
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
1618
|
-
See \`config.log' for more details." >&5
|
1619
|
-
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
1620
|
-
See \`config.log' for more details." >&2;}
|
1621
|
-
{ (exit 1); exit 1; }; }
|
1622
|
-
|
1623
|
-
# Provide some information about the compiler.
|
1624
|
-
echo "$as_me:$LINENO:" \
|
1625
|
-
"checking for C compiler version" >&5
|
1626
|
-
ac_compiler=`set X $ac_compile; echo $2`
|
1627
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
1628
|
-
(eval $ac_compiler --version </dev/null >&5) 2>&5
|
1629
|
-
ac_status=$?
|
1630
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1631
|
-
(exit $ac_status); }
|
1632
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
1633
|
-
(eval $ac_compiler -v </dev/null >&5) 2>&5
|
1634
|
-
ac_status=$?
|
1635
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1636
|
-
(exit $ac_status); }
|
1637
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
1638
|
-
(eval $ac_compiler -V </dev/null >&5) 2>&5
|
1639
|
-
ac_status=$?
|
1640
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1641
|
-
(exit $ac_status); }
|
1642
|
-
|
1643
|
-
cat >conftest.$ac_ext <<_ACEOF
|
1644
|
-
/* confdefs.h. */
|
1645
|
-
_ACEOF
|
1646
|
-
cat confdefs.h >>conftest.$ac_ext
|
1647
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
1648
|
-
/* end confdefs.h. */
|
1649
|
-
|
1650
|
-
int
|
1651
|
-
main ()
|
1652
|
-
{
|
1653
|
-
|
1654
|
-
;
|
1655
|
-
return 0;
|
1656
|
-
}
|
1657
|
-
_ACEOF
|
1658
|
-
ac_clean_files_save=$ac_clean_files
|
1659
|
-
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
1660
|
-
# Try to create an executable without -o first, disregard a.out.
|
1661
|
-
# It will help us diagnose broken compilers, and finding out an intuition
|
1662
|
-
# of exeext.
|
1663
|
-
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
1664
|
-
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
1665
|
-
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
1666
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
1667
|
-
(eval $ac_link_default) 2>&5
|
1668
|
-
ac_status=$?
|
1669
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1670
|
-
(exit $ac_status); }; then
|
1671
|
-
# Find the output, starting from the most likely. This scheme is
|
1672
|
-
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
1673
|
-
# resort.
|
1674
|
-
|
1675
|
-
# Be careful to initialize this variable, since it used to be cached.
|
1676
|
-
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
1677
|
-
ac_cv_exeext=
|
1678
|
-
# b.out is created by i960 compilers.
|
1679
|
-
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
1680
|
-
do
|
1681
|
-
test -f "$ac_file" || continue
|
1682
|
-
case $ac_file in
|
1683
|
-
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
1684
|
-
;;
|
1685
|
-
conftest.$ac_ext )
|
1686
|
-
# This is the source file.
|
1687
|
-
;;
|
1688
|
-
[ab].out )
|
1689
|
-
# We found the default executable, but exeext='' is most
|
1690
|
-
# certainly right.
|
1691
|
-
break;;
|
1692
|
-
*.* )
|
1693
|
-
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
1694
|
-
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
1695
|
-
# but it would be cool to find out if it's true. Does anybody
|
1696
|
-
# maintain Libtool? --akim.
|
1697
|
-
export ac_cv_exeext
|
1698
|
-
break;;
|
1699
|
-
* )
|
1700
|
-
break;;
|
1701
|
-
esac
|
1702
|
-
done
|
1703
|
-
else
|
1704
|
-
echo "$as_me: failed program was:" >&5
|
1705
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
1706
|
-
|
1707
|
-
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
1708
|
-
See \`config.log' for more details." >&5
|
1709
|
-
echo "$as_me: error: C compiler cannot create executables
|
1710
|
-
See \`config.log' for more details." >&2;}
|
1711
|
-
{ (exit 77); exit 77; }; }
|
1712
|
-
fi
|
1713
|
-
|
1714
|
-
ac_exeext=$ac_cv_exeext
|
1715
|
-
echo "$as_me:$LINENO: result: $ac_file" >&5
|
1716
|
-
echo "${ECHO_T}$ac_file" >&6
|
1717
|
-
|
1718
|
-
# Check the compiler produces executables we can run. If not, either
|
1719
|
-
# the compiler is broken, or we cross compile.
|
1720
|
-
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
1721
|
-
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
1722
|
-
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
1723
|
-
# If not cross compiling, check that we can run a simple program.
|
1724
|
-
if test "$cross_compiling" != yes; then
|
1725
|
-
if { ac_try='./$ac_file'
|
1726
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1727
|
-
(eval $ac_try) 2>&5
|
1728
|
-
ac_status=$?
|
1729
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1730
|
-
(exit $ac_status); }; }; then
|
1731
|
-
cross_compiling=no
|
1732
|
-
else
|
1733
|
-
if test "$cross_compiling" = maybe; then
|
1734
|
-
cross_compiling=yes
|
1735
|
-
else
|
1736
|
-
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
1737
|
-
If you meant to cross compile, use \`--host'.
|
1738
|
-
See \`config.log' for more details." >&5
|
1739
|
-
echo "$as_me: error: cannot run C compiled programs.
|
1740
|
-
If you meant to cross compile, use \`--host'.
|
1741
|
-
See \`config.log' for more details." >&2;}
|
1742
|
-
{ (exit 1); exit 1; }; }
|
1743
|
-
fi
|
1744
|
-
fi
|
1745
|
-
fi
|
1746
|
-
echo "$as_me:$LINENO: result: yes" >&5
|
1747
|
-
echo "${ECHO_T}yes" >&6
|
1748
|
-
|
1749
|
-
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
1750
|
-
ac_clean_files=$ac_clean_files_save
|
1751
|
-
# Check the compiler produces executables we can run. If not, either
|
1752
|
-
# the compiler is broken, or we cross compile.
|
1753
|
-
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
1754
|
-
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
1755
|
-
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
1756
|
-
echo "${ECHO_T}$cross_compiling" >&6
|
1757
|
-
|
1758
|
-
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
1759
|
-
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
1760
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
1761
|
-
(eval $ac_link) 2>&5
|
1762
|
-
ac_status=$?
|
1763
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1764
|
-
(exit $ac_status); }; then
|
1765
|
-
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
1766
|
-
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
1767
|
-
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
1768
|
-
# `rm'.
|
1769
|
-
for ac_file in conftest.exe conftest conftest.*; do
|
1770
|
-
test -f "$ac_file" || continue
|
1771
|
-
case $ac_file in
|
1772
|
-
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
1773
|
-
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
1774
|
-
export ac_cv_exeext
|
1775
|
-
break;;
|
1776
|
-
* ) break;;
|
1777
|
-
esac
|
1778
|
-
done
|
1779
|
-
else
|
1780
|
-
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
1781
|
-
See \`config.log' for more details." >&5
|
1782
|
-
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
1783
|
-
See \`config.log' for more details." >&2;}
|
1784
|
-
{ (exit 1); exit 1; }; }
|
1785
|
-
fi
|
1786
|
-
|
1787
|
-
rm -f conftest$ac_cv_exeext
|
1788
|
-
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
1789
|
-
echo "${ECHO_T}$ac_cv_exeext" >&6
|
1790
|
-
|
1791
|
-
rm -f conftest.$ac_ext
|
1792
|
-
EXEEXT=$ac_cv_exeext
|
1793
|
-
ac_exeext=$EXEEXT
|
1794
|
-
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
1795
|
-
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
1796
|
-
if test "${ac_cv_objext+set}" = set; then
|
1797
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1798
|
-
else
|
1799
|
-
cat >conftest.$ac_ext <<_ACEOF
|
1800
|
-
/* confdefs.h. */
|
1801
|
-
_ACEOF
|
1802
|
-
cat confdefs.h >>conftest.$ac_ext
|
1803
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
1804
|
-
/* end confdefs.h. */
|
1805
|
-
|
1806
|
-
int
|
1807
|
-
main ()
|
1808
|
-
{
|
1809
|
-
|
1810
|
-
;
|
1811
|
-
return 0;
|
1812
|
-
}
|
1813
|
-
_ACEOF
|
1814
|
-
rm -f conftest.o conftest.obj
|
1815
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1816
|
-
(eval $ac_compile) 2>&5
|
1817
|
-
ac_status=$?
|
1818
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1819
|
-
(exit $ac_status); }; then
|
1820
|
-
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
1821
|
-
case $ac_file in
|
1822
|
-
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
1823
|
-
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
1824
|
-
break;;
|
1825
|
-
esac
|
1826
|
-
done
|
1827
|
-
else
|
1828
|
-
echo "$as_me: failed program was:" >&5
|
1829
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
1830
|
-
|
1831
|
-
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
1832
|
-
See \`config.log' for more details." >&5
|
1833
|
-
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
1834
|
-
See \`config.log' for more details." >&2;}
|
1835
|
-
{ (exit 1); exit 1; }; }
|
1836
|
-
fi
|
1837
|
-
|
1838
|
-
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
1839
|
-
fi
|
1840
|
-
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
1841
|
-
echo "${ECHO_T}$ac_cv_objext" >&6
|
1842
|
-
OBJEXT=$ac_cv_objext
|
1843
|
-
ac_objext=$OBJEXT
|
1844
|
-
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
1845
|
-
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
1846
|
-
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
1847
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1848
|
-
else
|
1849
|
-
cat >conftest.$ac_ext <<_ACEOF
|
1850
|
-
/* confdefs.h. */
|
1851
|
-
_ACEOF
|
1852
|
-
cat confdefs.h >>conftest.$ac_ext
|
1853
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
1854
|
-
/* end confdefs.h. */
|
1855
|
-
|
1856
|
-
int
|
1857
|
-
main ()
|
1858
|
-
{
|
1859
|
-
#ifndef __GNUC__
|
1860
|
-
choke me
|
1861
|
-
#endif
|
1862
|
-
|
1863
|
-
;
|
1864
|
-
return 0;
|
1865
|
-
}
|
1866
|
-
_ACEOF
|
1867
|
-
rm -f conftest.$ac_objext
|
1868
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1869
|
-
(eval $ac_compile) 2>conftest.er1
|
1870
|
-
ac_status=$?
|
1871
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
1872
|
-
rm -f conftest.er1
|
1873
|
-
cat conftest.err >&5
|
1874
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1875
|
-
(exit $ac_status); } &&
|
1876
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
1877
|
-
|| test ! -s conftest.err'
|
1878
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1879
|
-
(eval $ac_try) 2>&5
|
1880
|
-
ac_status=$?
|
1881
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1882
|
-
(exit $ac_status); }; } &&
|
1883
|
-
{ ac_try='test -s conftest.$ac_objext'
|
1884
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1885
|
-
(eval $ac_try) 2>&5
|
1886
|
-
ac_status=$?
|
1887
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1888
|
-
(exit $ac_status); }; }; then
|
1889
|
-
ac_compiler_gnu=yes
|
1890
|
-
else
|
1891
|
-
echo "$as_me: failed program was:" >&5
|
1892
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
1893
|
-
|
1894
|
-
ac_compiler_gnu=no
|
1895
|
-
fi
|
1896
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
1897
|
-
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
1898
|
-
|
1899
|
-
fi
|
1900
|
-
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
1901
|
-
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
1902
|
-
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
1903
|
-
ac_test_CFLAGS=${CFLAGS+set}
|
1904
|
-
ac_save_CFLAGS=$CFLAGS
|
1905
|
-
CFLAGS="-g"
|
1906
|
-
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
1907
|
-
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
1908
|
-
if test "${ac_cv_prog_cc_g+set}" = set; then
|
1909
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1910
|
-
else
|
1911
|
-
cat >conftest.$ac_ext <<_ACEOF
|
1912
|
-
/* confdefs.h. */
|
1913
|
-
_ACEOF
|
1914
|
-
cat confdefs.h >>conftest.$ac_ext
|
1915
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
1916
|
-
/* end confdefs.h. */
|
1917
|
-
|
1918
|
-
int
|
1919
|
-
main ()
|
1920
|
-
{
|
1921
|
-
|
1922
|
-
;
|
1923
|
-
return 0;
|
1924
|
-
}
|
1925
|
-
_ACEOF
|
1926
|
-
rm -f conftest.$ac_objext
|
1927
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1928
|
-
(eval $ac_compile) 2>conftest.er1
|
1929
|
-
ac_status=$?
|
1930
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
1931
|
-
rm -f conftest.er1
|
1932
|
-
cat conftest.err >&5
|
1933
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1934
|
-
(exit $ac_status); } &&
|
1935
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
1936
|
-
|| test ! -s conftest.err'
|
1937
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1938
|
-
(eval $ac_try) 2>&5
|
1939
|
-
ac_status=$?
|
1940
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1941
|
-
(exit $ac_status); }; } &&
|
1942
|
-
{ ac_try='test -s conftest.$ac_objext'
|
1943
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1944
|
-
(eval $ac_try) 2>&5
|
1945
|
-
ac_status=$?
|
1946
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1947
|
-
(exit $ac_status); }; }; then
|
1948
|
-
ac_cv_prog_cc_g=yes
|
1949
|
-
else
|
1950
|
-
echo "$as_me: failed program was:" >&5
|
1951
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
1952
|
-
|
1953
|
-
ac_cv_prog_cc_g=no
|
1954
|
-
fi
|
1955
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
1956
|
-
fi
|
1957
|
-
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
1958
|
-
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
1959
|
-
if test "$ac_test_CFLAGS" = set; then
|
1960
|
-
CFLAGS=$ac_save_CFLAGS
|
1961
|
-
elif test $ac_cv_prog_cc_g = yes; then
|
1962
|
-
if test "$GCC" = yes; then
|
1963
|
-
CFLAGS="-g -O2"
|
1964
|
-
else
|
1965
|
-
CFLAGS="-g"
|
1966
|
-
fi
|
1967
|
-
else
|
1968
|
-
if test "$GCC" = yes; then
|
1969
|
-
CFLAGS="-O2"
|
1970
|
-
else
|
1971
|
-
CFLAGS=
|
1972
|
-
fi
|
1973
|
-
fi
|
1974
|
-
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
1975
|
-
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
1976
|
-
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
1977
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1978
|
-
else
|
1979
|
-
ac_cv_prog_cc_stdc=no
|
1980
|
-
ac_save_CC=$CC
|
1981
|
-
cat >conftest.$ac_ext <<_ACEOF
|
1982
|
-
/* confdefs.h. */
|
1983
|
-
_ACEOF
|
1984
|
-
cat confdefs.h >>conftest.$ac_ext
|
1985
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
1986
|
-
/* end confdefs.h. */
|
1987
|
-
#include <stdarg.h>
|
1988
|
-
#include <stdio.h>
|
1989
|
-
#include <sys/types.h>
|
1990
|
-
#include <sys/stat.h>
|
1991
|
-
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
1992
|
-
struct buf { int x; };
|
1993
|
-
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
1994
|
-
static char *e (p, i)
|
1995
|
-
char **p;
|
1996
|
-
int i;
|
1997
|
-
{
|
1998
|
-
return p[i];
|
1999
|
-
}
|
2000
|
-
static char *f (char * (*g) (char **, int), char **p, ...)
|
2001
|
-
{
|
2002
|
-
char *s;
|
2003
|
-
va_list v;
|
2004
|
-
va_start (v,p);
|
2005
|
-
s = g (p, va_arg (v,int));
|
2006
|
-
va_end (v);
|
2007
|
-
return s;
|
2008
|
-
}
|
2009
|
-
|
2010
|
-
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
2011
|
-
function prototypes and stuff, but not '\xHH' hex character constants.
|
2012
|
-
These don't provoke an error unfortunately, instead are silently treated
|
2013
|
-
as 'x'. The following induces an error, until -std1 is added to get
|
2014
|
-
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
2015
|
-
array size at least. It's necessary to write '\x00'==0 to get something
|
2016
|
-
that's true only with -std1. */
|
2017
|
-
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
2018
|
-
|
2019
|
-
int test (int i, double x);
|
2020
|
-
struct s1 {int (*f) (int a);};
|
2021
|
-
struct s2 {int (*f) (double a);};
|
2022
|
-
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
2023
|
-
int argc;
|
2024
|
-
char **argv;
|
2025
|
-
int
|
2026
|
-
main ()
|
2027
|
-
{
|
2028
|
-
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
2029
|
-
;
|
2030
|
-
return 0;
|
2031
|
-
}
|
2032
|
-
_ACEOF
|
2033
|
-
# Don't try gcc -ansi; that turns off useful extensions and
|
2034
|
-
# breaks some systems' header files.
|
2035
|
-
# AIX -qlanglvl=ansi
|
2036
|
-
# Ultrix and OSF/1 -std1
|
2037
|
-
# HP-UX 10.20 and later -Ae
|
2038
|
-
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
2039
|
-
# SVR4 -Xc -D__EXTENSIONS__
|
2040
|
-
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2041
|
-
do
|
2042
|
-
CC="$ac_save_CC $ac_arg"
|
2043
|
-
rm -f conftest.$ac_objext
|
2044
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2045
|
-
(eval $ac_compile) 2>conftest.er1
|
2046
|
-
ac_status=$?
|
2047
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2048
|
-
rm -f conftest.er1
|
2049
|
-
cat conftest.err >&5
|
2050
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2051
|
-
(exit $ac_status); } &&
|
2052
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2053
|
-
|| test ! -s conftest.err'
|
2054
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2055
|
-
(eval $ac_try) 2>&5
|
2056
|
-
ac_status=$?
|
2057
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2058
|
-
(exit $ac_status); }; } &&
|
2059
|
-
{ ac_try='test -s conftest.$ac_objext'
|
2060
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2061
|
-
(eval $ac_try) 2>&5
|
2062
|
-
ac_status=$?
|
2063
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2064
|
-
(exit $ac_status); }; }; then
|
2065
|
-
ac_cv_prog_cc_stdc=$ac_arg
|
2066
|
-
break
|
2067
|
-
else
|
2068
|
-
echo "$as_me: failed program was:" >&5
|
2069
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2070
|
-
|
2071
|
-
fi
|
2072
|
-
rm -f conftest.err conftest.$ac_objext
|
2073
|
-
done
|
2074
|
-
rm -f conftest.$ac_ext conftest.$ac_objext
|
2075
|
-
CC=$ac_save_CC
|
2076
|
-
|
2077
|
-
fi
|
2078
|
-
|
2079
|
-
case "x$ac_cv_prog_cc_stdc" in
|
2080
|
-
x|xno)
|
2081
|
-
echo "$as_me:$LINENO: result: none needed" >&5
|
2082
|
-
echo "${ECHO_T}none needed" >&6 ;;
|
2083
|
-
*)
|
2084
|
-
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
2085
|
-
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
2086
|
-
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
2087
|
-
esac
|
2088
|
-
|
2089
|
-
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2090
|
-
# in C++ we need to declare it. In case someone uses the same compiler
|
2091
|
-
# for both compiling C and C++ we need to have the C++ compiler decide
|
2092
|
-
# the declaration of exit, since it's the most demanding environment.
|
2093
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2094
|
-
#ifndef __cplusplus
|
2095
|
-
choke me
|
2096
|
-
#endif
|
2097
|
-
_ACEOF
|
2098
|
-
rm -f conftest.$ac_objext
|
2099
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2100
|
-
(eval $ac_compile) 2>conftest.er1
|
2101
|
-
ac_status=$?
|
2102
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2103
|
-
rm -f conftest.er1
|
2104
|
-
cat conftest.err >&5
|
2105
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2106
|
-
(exit $ac_status); } &&
|
2107
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2108
|
-
|| test ! -s conftest.err'
|
2109
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2110
|
-
(eval $ac_try) 2>&5
|
2111
|
-
ac_status=$?
|
2112
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2113
|
-
(exit $ac_status); }; } &&
|
2114
|
-
{ ac_try='test -s conftest.$ac_objext'
|
2115
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2116
|
-
(eval $ac_try) 2>&5
|
2117
|
-
ac_status=$?
|
2118
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2119
|
-
(exit $ac_status); }; }; then
|
2120
|
-
for ac_declaration in \
|
2121
|
-
'' \
|
2122
|
-
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2123
|
-
'extern "C" void std::exit (int); using std::exit;' \
|
2124
|
-
'extern "C" void exit (int) throw ();' \
|
2125
|
-
'extern "C" void exit (int);' \
|
2126
|
-
'void exit (int);'
|
2127
|
-
do
|
2128
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2129
|
-
/* confdefs.h. */
|
2130
|
-
_ACEOF
|
2131
|
-
cat confdefs.h >>conftest.$ac_ext
|
2132
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2133
|
-
/* end confdefs.h. */
|
2134
|
-
$ac_declaration
|
2135
|
-
#include <stdlib.h>
|
2136
|
-
int
|
2137
|
-
main ()
|
2138
|
-
{
|
2139
|
-
exit (42);
|
2140
|
-
;
|
2141
|
-
return 0;
|
2142
|
-
}
|
2143
|
-
_ACEOF
|
2144
|
-
rm -f conftest.$ac_objext
|
2145
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2146
|
-
(eval $ac_compile) 2>conftest.er1
|
2147
|
-
ac_status=$?
|
2148
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2149
|
-
rm -f conftest.er1
|
2150
|
-
cat conftest.err >&5
|
2151
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2152
|
-
(exit $ac_status); } &&
|
2153
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2154
|
-
|| test ! -s conftest.err'
|
2155
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2156
|
-
(eval $ac_try) 2>&5
|
2157
|
-
ac_status=$?
|
2158
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2159
|
-
(exit $ac_status); }; } &&
|
2160
|
-
{ ac_try='test -s conftest.$ac_objext'
|
2161
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2162
|
-
(eval $ac_try) 2>&5
|
2163
|
-
ac_status=$?
|
2164
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2165
|
-
(exit $ac_status); }; }; then
|
2166
|
-
:
|
2167
|
-
else
|
2168
|
-
echo "$as_me: failed program was:" >&5
|
2169
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2170
|
-
|
2171
|
-
continue
|
2172
|
-
fi
|
2173
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2174
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2175
|
-
/* confdefs.h. */
|
2176
|
-
_ACEOF
|
2177
|
-
cat confdefs.h >>conftest.$ac_ext
|
2178
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2179
|
-
/* end confdefs.h. */
|
2180
|
-
$ac_declaration
|
2181
|
-
int
|
2182
|
-
main ()
|
2183
|
-
{
|
2184
|
-
exit (42);
|
2185
|
-
;
|
2186
|
-
return 0;
|
2187
|
-
}
|
2188
|
-
_ACEOF
|
2189
|
-
rm -f conftest.$ac_objext
|
2190
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2191
|
-
(eval $ac_compile) 2>conftest.er1
|
2192
|
-
ac_status=$?
|
2193
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2194
|
-
rm -f conftest.er1
|
2195
|
-
cat conftest.err >&5
|
2196
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2197
|
-
(exit $ac_status); } &&
|
2198
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2199
|
-
|| test ! -s conftest.err'
|
2200
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2201
|
-
(eval $ac_try) 2>&5
|
2202
|
-
ac_status=$?
|
2203
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2204
|
-
(exit $ac_status); }; } &&
|
2205
|
-
{ ac_try='test -s conftest.$ac_objext'
|
2206
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2207
|
-
(eval $ac_try) 2>&5
|
2208
|
-
ac_status=$?
|
2209
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2210
|
-
(exit $ac_status); }; }; then
|
2211
|
-
break
|
2212
|
-
else
|
2213
|
-
echo "$as_me: failed program was:" >&5
|
2214
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2215
|
-
|
2216
|
-
fi
|
2217
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2218
|
-
done
|
2219
|
-
rm -f conftest*
|
2220
|
-
if test -n "$ac_declaration"; then
|
2221
|
-
echo '#ifdef __cplusplus' >>confdefs.h
|
2222
|
-
echo $ac_declaration >>confdefs.h
|
2223
|
-
echo '#endif' >>confdefs.h
|
2224
|
-
fi
|
2225
|
-
|
2226
|
-
else
|
2227
|
-
echo "$as_me: failed program was:" >&5
|
2228
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2229
|
-
|
2230
|
-
fi
|
2231
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2232
|
-
ac_ext=c
|
2233
|
-
ac_cpp='$CPP $CPPFLAGS'
|
2234
|
-
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2235
|
-
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2236
|
-
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2237
|
-
|
2238
|
-
ac_aux_dir=
|
2239
|
-
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
2240
|
-
if test -f $ac_dir/install-sh; then
|
2241
|
-
ac_aux_dir=$ac_dir
|
2242
|
-
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2243
|
-
break
|
2244
|
-
elif test -f $ac_dir/install.sh; then
|
2245
|
-
ac_aux_dir=$ac_dir
|
2246
|
-
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2247
|
-
break
|
2248
|
-
elif test -f $ac_dir/shtool; then
|
2249
|
-
ac_aux_dir=$ac_dir
|
2250
|
-
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2251
|
-
break
|
2252
|
-
fi
|
2253
|
-
done
|
2254
|
-
if test -z "$ac_aux_dir"; then
|
2255
|
-
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
2256
|
-
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
2257
|
-
{ (exit 1); exit 1; }; }
|
2258
|
-
fi
|
2259
|
-
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
2260
|
-
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
2261
|
-
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
2262
|
-
|
2263
|
-
# Find a good install program. We prefer a C program (faster),
|
2264
|
-
# so one script is as good as another. But avoid the broken or
|
2265
|
-
# incompatible versions:
|
2266
|
-
# SysV /etc/install, /usr/sbin/install
|
2267
|
-
# SunOS /usr/etc/install
|
2268
|
-
# IRIX /sbin/install
|
2269
|
-
# AIX /bin/install
|
2270
|
-
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
2271
|
-
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
2272
|
-
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
2273
|
-
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2274
|
-
# OS/2's system install, which has a completely different semantic
|
2275
|
-
# ./install, which can be erroneously created by make from ./install.sh.
|
2276
|
-
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
2277
|
-
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
2278
|
-
if test -z "$INSTALL"; then
|
2279
|
-
if test "${ac_cv_path_install+set}" = set; then
|
2280
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2281
|
-
else
|
2282
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2283
|
-
for as_dir in $PATH
|
2284
|
-
do
|
2285
|
-
IFS=$as_save_IFS
|
2286
|
-
test -z "$as_dir" && as_dir=.
|
2287
|
-
# Account for people who put trailing slashes in PATH elements.
|
2288
|
-
case $as_dir/ in
|
2289
|
-
./ | .// | /cC/* | \
|
2290
|
-
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2291
|
-
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
2292
|
-
/usr/ucb/* ) ;;
|
2293
|
-
*)
|
2294
|
-
# OSF1 and SCO ODT 3.0 have their own names for install.
|
2295
|
-
# Don't use installbsd from OSF since it installs stuff as root
|
2296
|
-
# by default.
|
2297
|
-
for ac_prog in ginstall scoinst install; do
|
2298
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
2299
|
-
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
2300
|
-
if test $ac_prog = install &&
|
2301
|
-
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2302
|
-
# AIX install. It has an incompatible calling convention.
|
2303
|
-
:
|
2304
|
-
elif test $ac_prog = install &&
|
2305
|
-
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2306
|
-
# program-specific install script used by HP pwplus--don't use.
|
2307
|
-
:
|
2308
|
-
else
|
2309
|
-
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
2310
|
-
break 3
|
2311
|
-
fi
|
2312
|
-
fi
|
2313
|
-
done
|
2314
|
-
done
|
2315
|
-
;;
|
2316
|
-
esac
|
2317
|
-
done
|
2318
|
-
|
2319
|
-
|
2320
|
-
fi
|
2321
|
-
if test "${ac_cv_path_install+set}" = set; then
|
2322
|
-
INSTALL=$ac_cv_path_install
|
2323
|
-
else
|
2324
|
-
# As a last resort, use the slow shell script. We don't cache a
|
2325
|
-
# path for INSTALL within a source directory, because that will
|
2326
|
-
# break other packages using the cache if that directory is
|
2327
|
-
# removed, or if the path is relative.
|
2328
|
-
INSTALL=$ac_install_sh
|
2329
|
-
fi
|
2330
|
-
fi
|
2331
|
-
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
2332
|
-
echo "${ECHO_T}$INSTALL" >&6
|
2333
|
-
|
2334
|
-
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2335
|
-
# It thinks the first close brace ends the variable substitution.
|
2336
|
-
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
2337
|
-
|
2338
|
-
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
2339
|
-
|
2340
|
-
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2341
|
-
|
2342
|
-
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2343
|
-
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
2344
|
-
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
2345
|
-
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
2346
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2347
|
-
else
|
2348
|
-
cat >conftest.make <<\_ACEOF
|
2349
|
-
all:
|
2350
|
-
@echo 'ac_maketemp="$(MAKE)"'
|
2351
|
-
_ACEOF
|
2352
|
-
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
2353
|
-
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
2354
|
-
if test -n "$ac_maketemp"; then
|
2355
|
-
eval ac_cv_prog_make_${ac_make}_set=yes
|
2356
|
-
else
|
2357
|
-
eval ac_cv_prog_make_${ac_make}_set=no
|
2358
|
-
fi
|
2359
|
-
rm -f conftest.make
|
2360
|
-
fi
|
2361
|
-
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
2362
|
-
echo "$as_me:$LINENO: result: yes" >&5
|
2363
|
-
echo "${ECHO_T}yes" >&6
|
2364
|
-
SET_MAKE=
|
2365
|
-
else
|
2366
|
-
echo "$as_me:$LINENO: result: no" >&5
|
2367
|
-
echo "${ECHO_T}no" >&6
|
2368
|
-
SET_MAKE="MAKE=${MAKE-make}"
|
2369
|
-
fi
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2373
|
-
# Check whether --with-debug or --without-debug was given.
|
2374
|
-
if test "${with_debug+set}" = set; then
|
2375
|
-
withval="$with_debug"
|
2376
|
-
CPPFLAGS="-Wall -g -fexceptions -DDO_DEBUG=1 $CPPFLAGS"
|
2377
|
-
fi;
|
2378
|
-
if test "$with_debug"; then echo "debugging enabled"; fi
|
2379
|
-
|
2380
|
-
|
2381
|
-
# Check whether --with-netpbm or --without-netpbm was given.
|
2382
|
-
if test "${with_netpbm+set}" = set; then
|
2383
|
-
withval="$with_netpbm"
|
2384
|
-
if test "$withval" != "no"; then
|
2385
|
-
LDFLAGS="-L$withval/lib $LDFLAGS";\
|
2386
|
-
CPPFLAGS="-I$withval/include $CPPFLAGS";\
|
2387
|
-
fi
|
2388
|
-
fi;
|
2389
|
-
if test -n "$with_netpbm"; then echo "option: with_netpbm $with_netpbm"; fi
|
2390
|
-
|
2391
|
-
if test "$with_netpbm" != "no"; then
|
2392
|
-
# netpbm-10.26 + SuSE-10.0: netpbm needs mathlib -lm
|
2393
|
-
# netpbm-10 : libnetpbm + pam.h (+ p[bgpn]m.h, libp[bgpn]m.so as links)
|
2394
|
-
# netpbm-9 : libpnm + pnm.h (+ p[bgp]m.h)
|
2395
|
-
# pnm_readpaminit (netpbm-10)
|
2396
|
-
# pnm_readpnminit (netpbm-9,10)
|
2397
|
-
# ToDo: how to check that -lm is needed?
|
2398
|
-
LDFLAGS="-lm $LDFLAGS"
|
2399
|
-
|
2400
|
-
echo "$as_me:$LINENO: checking for library containing pnm_readpnminit" >&5
|
2401
|
-
echo $ECHO_N "checking for library containing pnm_readpnminit... $ECHO_C" >&6
|
2402
|
-
if test "${ac_cv_search_pnm_readpnminit+set}" = set; then
|
2403
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2404
|
-
else
|
2405
|
-
ac_func_search_save_LIBS=$LIBS
|
2406
|
-
ac_cv_search_pnm_readpnminit=no
|
2407
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2408
|
-
/* confdefs.h. */
|
2409
|
-
_ACEOF
|
2410
|
-
cat confdefs.h >>conftest.$ac_ext
|
2411
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2412
|
-
/* end confdefs.h. */
|
2413
|
-
|
2414
|
-
/* Override any gcc2 internal prototype to avoid an error. */
|
2415
|
-
#ifdef __cplusplus
|
2416
|
-
extern "C"
|
2417
|
-
#endif
|
2418
|
-
/* We use char because int might match the return type of a gcc2
|
2419
|
-
builtin and then its argument prototype would still apply. */
|
2420
|
-
char pnm_readpnminit ();
|
2421
|
-
int
|
2422
|
-
main ()
|
2423
|
-
{
|
2424
|
-
pnm_readpnminit ();
|
2425
|
-
;
|
2426
|
-
return 0;
|
2427
|
-
}
|
2428
|
-
_ACEOF
|
2429
|
-
rm -f conftest.$ac_objext conftest$ac_exeext
|
2430
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2431
|
-
(eval $ac_link) 2>conftest.er1
|
2432
|
-
ac_status=$?
|
2433
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2434
|
-
rm -f conftest.er1
|
2435
|
-
cat conftest.err >&5
|
2436
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2437
|
-
(exit $ac_status); } &&
|
2438
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2439
|
-
|| test ! -s conftest.err'
|
2440
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2441
|
-
(eval $ac_try) 2>&5
|
2442
|
-
ac_status=$?
|
2443
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2444
|
-
(exit $ac_status); }; } &&
|
2445
|
-
{ ac_try='test -s conftest$ac_exeext'
|
2446
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2447
|
-
(eval $ac_try) 2>&5
|
2448
|
-
ac_status=$?
|
2449
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2450
|
-
(exit $ac_status); }; }; then
|
2451
|
-
ac_cv_search_pnm_readpnminit="none required"
|
2452
|
-
else
|
2453
|
-
echo "$as_me: failed program was:" >&5
|
2454
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2455
|
-
|
2456
|
-
fi
|
2457
|
-
rm -f conftest.err conftest.$ac_objext \
|
2458
|
-
conftest$ac_exeext conftest.$ac_ext
|
2459
|
-
if test "$ac_cv_search_pnm_readpnminit" = no; then
|
2460
|
-
for ac_lib in netpbm pnm; do
|
2461
|
-
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
2462
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2463
|
-
/* confdefs.h. */
|
2464
|
-
_ACEOF
|
2465
|
-
cat confdefs.h >>conftest.$ac_ext
|
2466
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2467
|
-
/* end confdefs.h. */
|
2468
|
-
|
2469
|
-
/* Override any gcc2 internal prototype to avoid an error. */
|
2470
|
-
#ifdef __cplusplus
|
2471
|
-
extern "C"
|
2472
|
-
#endif
|
2473
|
-
/* We use char because int might match the return type of a gcc2
|
2474
|
-
builtin and then its argument prototype would still apply. */
|
2475
|
-
char pnm_readpnminit ();
|
2476
|
-
int
|
2477
|
-
main ()
|
2478
|
-
{
|
2479
|
-
pnm_readpnminit ();
|
2480
|
-
;
|
2481
|
-
return 0;
|
2482
|
-
}
|
2483
|
-
_ACEOF
|
2484
|
-
rm -f conftest.$ac_objext conftest$ac_exeext
|
2485
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2486
|
-
(eval $ac_link) 2>conftest.er1
|
2487
|
-
ac_status=$?
|
2488
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2489
|
-
rm -f conftest.er1
|
2490
|
-
cat conftest.err >&5
|
2491
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2492
|
-
(exit $ac_status); } &&
|
2493
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2494
|
-
|| test ! -s conftest.err'
|
2495
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2496
|
-
(eval $ac_try) 2>&5
|
2497
|
-
ac_status=$?
|
2498
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2499
|
-
(exit $ac_status); }; } &&
|
2500
|
-
{ ac_try='test -s conftest$ac_exeext'
|
2501
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2502
|
-
(eval $ac_try) 2>&5
|
2503
|
-
ac_status=$?
|
2504
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2505
|
-
(exit $ac_status); }; }; then
|
2506
|
-
ac_cv_search_pnm_readpnminit="-l$ac_lib"
|
2507
|
-
break
|
2508
|
-
else
|
2509
|
-
echo "$as_me: failed program was:" >&5
|
2510
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2511
|
-
|
2512
|
-
fi
|
2513
|
-
rm -f conftest.err conftest.$ac_objext \
|
2514
|
-
conftest$ac_exeext conftest.$ac_ext
|
2515
|
-
done
|
2516
|
-
fi
|
2517
|
-
LIBS=$ac_func_search_save_LIBS
|
2518
|
-
fi
|
2519
|
-
echo "$as_me:$LINENO: result: $ac_cv_search_pnm_readpnminit" >&5
|
2520
|
-
echo "${ECHO_T}$ac_cv_search_pnm_readpnminit" >&6
|
2521
|
-
if test "$ac_cv_search_pnm_readpnminit" != no; then
|
2522
|
-
test "$ac_cv_search_pnm_readpnminit" = "none required" || LIBS="$ac_cv_search_pnm_readpnminit $LIBS"
|
2523
|
-
check_netpbm_h="pam.h pnm.h"
|
2524
|
-
else
|
2525
|
-
echo " * * * try option --with-netpbm=PATH"
|
2526
|
-
fi
|
2527
|
-
|
2528
|
-
fi
|
2529
|
-
|
2530
|
-
ac_ext=c
|
2531
|
-
ac_cpp='$CPP $CPPFLAGS'
|
2532
|
-
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2533
|
-
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2534
|
-
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2535
|
-
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2536
|
-
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
2537
|
-
# On Suns, sometimes $CPP names a directory.
|
2538
|
-
if test -n "$CPP" && test -d "$CPP"; then
|
2539
|
-
CPP=
|
2540
|
-
fi
|
2541
|
-
if test -z "$CPP"; then
|
2542
|
-
if test "${ac_cv_prog_CPP+set}" = set; then
|
2543
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2544
|
-
else
|
2545
|
-
# Double quotes because CPP needs to be expanded
|
2546
|
-
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
2547
|
-
do
|
2548
|
-
ac_preproc_ok=false
|
2549
|
-
for ac_c_preproc_warn_flag in '' yes
|
2550
|
-
do
|
2551
|
-
# Use a header file that comes with gcc, so configuring glibc
|
2552
|
-
# with a fresh cross-compiler works.
|
2553
|
-
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2554
|
-
# <limits.h> exists even on freestanding compilers.
|
2555
|
-
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2556
|
-
# not just through cpp. "Syntax error" is here to catch this case.
|
2557
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2558
|
-
/* confdefs.h. */
|
2559
|
-
_ACEOF
|
2560
|
-
cat confdefs.h >>conftest.$ac_ext
|
2561
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2562
|
-
/* end confdefs.h. */
|
2563
|
-
#ifdef __STDC__
|
2564
|
-
# include <limits.h>
|
2565
|
-
#else
|
2566
|
-
# include <assert.h>
|
2567
|
-
#endif
|
2568
|
-
Syntax error
|
2569
|
-
_ACEOF
|
2570
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2571
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2572
|
-
ac_status=$?
|
2573
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2574
|
-
rm -f conftest.er1
|
2575
|
-
cat conftest.err >&5
|
2576
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2577
|
-
(exit $ac_status); } >/dev/null; then
|
2578
|
-
if test -s conftest.err; then
|
2579
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2580
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2581
|
-
else
|
2582
|
-
ac_cpp_err=
|
2583
|
-
fi
|
2584
|
-
else
|
2585
|
-
ac_cpp_err=yes
|
2586
|
-
fi
|
2587
|
-
if test -z "$ac_cpp_err"; then
|
2588
|
-
:
|
2589
|
-
else
|
2590
|
-
echo "$as_me: failed program was:" >&5
|
2591
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2592
|
-
|
2593
|
-
# Broken: fails on valid input.
|
2594
|
-
continue
|
2595
|
-
fi
|
2596
|
-
rm -f conftest.err conftest.$ac_ext
|
2597
|
-
|
2598
|
-
# OK, works on sane cases. Now check whether non-existent headers
|
2599
|
-
# can be detected and how.
|
2600
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2601
|
-
/* confdefs.h. */
|
2602
|
-
_ACEOF
|
2603
|
-
cat confdefs.h >>conftest.$ac_ext
|
2604
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2605
|
-
/* end confdefs.h. */
|
2606
|
-
#include <ac_nonexistent.h>
|
2607
|
-
_ACEOF
|
2608
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2609
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2610
|
-
ac_status=$?
|
2611
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2612
|
-
rm -f conftest.er1
|
2613
|
-
cat conftest.err >&5
|
2614
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2615
|
-
(exit $ac_status); } >/dev/null; then
|
2616
|
-
if test -s conftest.err; then
|
2617
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2618
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2619
|
-
else
|
2620
|
-
ac_cpp_err=
|
2621
|
-
fi
|
2622
|
-
else
|
2623
|
-
ac_cpp_err=yes
|
2624
|
-
fi
|
2625
|
-
if test -z "$ac_cpp_err"; then
|
2626
|
-
# Broken: success on invalid input.
|
2627
|
-
continue
|
2628
|
-
else
|
2629
|
-
echo "$as_me: failed program was:" >&5
|
2630
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2631
|
-
|
2632
|
-
# Passes both tests.
|
2633
|
-
ac_preproc_ok=:
|
2634
|
-
break
|
2635
|
-
fi
|
2636
|
-
rm -f conftest.err conftest.$ac_ext
|
2637
|
-
|
2638
|
-
done
|
2639
|
-
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2640
|
-
rm -f conftest.err conftest.$ac_ext
|
2641
|
-
if $ac_preproc_ok; then
|
2642
|
-
break
|
2643
|
-
fi
|
2644
|
-
|
2645
|
-
done
|
2646
|
-
ac_cv_prog_CPP=$CPP
|
2647
|
-
|
2648
|
-
fi
|
2649
|
-
CPP=$ac_cv_prog_CPP
|
2650
|
-
else
|
2651
|
-
ac_cv_prog_CPP=$CPP
|
2652
|
-
fi
|
2653
|
-
echo "$as_me:$LINENO: result: $CPP" >&5
|
2654
|
-
echo "${ECHO_T}$CPP" >&6
|
2655
|
-
ac_preproc_ok=false
|
2656
|
-
for ac_c_preproc_warn_flag in '' yes
|
2657
|
-
do
|
2658
|
-
# Use a header file that comes with gcc, so configuring glibc
|
2659
|
-
# with a fresh cross-compiler works.
|
2660
|
-
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2661
|
-
# <limits.h> exists even on freestanding compilers.
|
2662
|
-
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2663
|
-
# not just through cpp. "Syntax error" is here to catch this case.
|
2664
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2665
|
-
/* confdefs.h. */
|
2666
|
-
_ACEOF
|
2667
|
-
cat confdefs.h >>conftest.$ac_ext
|
2668
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2669
|
-
/* end confdefs.h. */
|
2670
|
-
#ifdef __STDC__
|
2671
|
-
# include <limits.h>
|
2672
|
-
#else
|
2673
|
-
# include <assert.h>
|
2674
|
-
#endif
|
2675
|
-
Syntax error
|
2676
|
-
_ACEOF
|
2677
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2678
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2679
|
-
ac_status=$?
|
2680
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2681
|
-
rm -f conftest.er1
|
2682
|
-
cat conftest.err >&5
|
2683
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2684
|
-
(exit $ac_status); } >/dev/null; then
|
2685
|
-
if test -s conftest.err; then
|
2686
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2687
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2688
|
-
else
|
2689
|
-
ac_cpp_err=
|
2690
|
-
fi
|
2691
|
-
else
|
2692
|
-
ac_cpp_err=yes
|
2693
|
-
fi
|
2694
|
-
if test -z "$ac_cpp_err"; then
|
2695
|
-
:
|
2696
|
-
else
|
2697
|
-
echo "$as_me: failed program was:" >&5
|
2698
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2699
|
-
|
2700
|
-
# Broken: fails on valid input.
|
2701
|
-
continue
|
2702
|
-
fi
|
2703
|
-
rm -f conftest.err conftest.$ac_ext
|
2704
|
-
|
2705
|
-
# OK, works on sane cases. Now check whether non-existent headers
|
2706
|
-
# can be detected and how.
|
2707
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2708
|
-
/* confdefs.h. */
|
2709
|
-
_ACEOF
|
2710
|
-
cat confdefs.h >>conftest.$ac_ext
|
2711
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2712
|
-
/* end confdefs.h. */
|
2713
|
-
#include <ac_nonexistent.h>
|
2714
|
-
_ACEOF
|
2715
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2716
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2717
|
-
ac_status=$?
|
2718
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2719
|
-
rm -f conftest.er1
|
2720
|
-
cat conftest.err >&5
|
2721
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2722
|
-
(exit $ac_status); } >/dev/null; then
|
2723
|
-
if test -s conftest.err; then
|
2724
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
2725
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2726
|
-
else
|
2727
|
-
ac_cpp_err=
|
2728
|
-
fi
|
2729
|
-
else
|
2730
|
-
ac_cpp_err=yes
|
2731
|
-
fi
|
2732
|
-
if test -z "$ac_cpp_err"; then
|
2733
|
-
# Broken: success on invalid input.
|
2734
|
-
continue
|
2735
|
-
else
|
2736
|
-
echo "$as_me: failed program was:" >&5
|
2737
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2738
|
-
|
2739
|
-
# Passes both tests.
|
2740
|
-
ac_preproc_ok=:
|
2741
|
-
break
|
2742
|
-
fi
|
2743
|
-
rm -f conftest.err conftest.$ac_ext
|
2744
|
-
|
2745
|
-
done
|
2746
|
-
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2747
|
-
rm -f conftest.err conftest.$ac_ext
|
2748
|
-
if $ac_preproc_ok; then
|
2749
|
-
:
|
2750
|
-
else
|
2751
|
-
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
2752
|
-
See \`config.log' for more details." >&5
|
2753
|
-
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
2754
|
-
See \`config.log' for more details." >&2;}
|
2755
|
-
{ (exit 1); exit 1; }; }
|
2756
|
-
fi
|
2757
|
-
|
2758
|
-
ac_ext=c
|
2759
|
-
ac_cpp='$CPP $CPPFLAGS'
|
2760
|
-
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2761
|
-
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2762
|
-
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2763
|
-
|
2764
|
-
|
2765
|
-
echo "$as_me:$LINENO: checking for egrep" >&5
|
2766
|
-
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
2767
|
-
if test "${ac_cv_prog_egrep+set}" = set; then
|
2768
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2769
|
-
else
|
2770
|
-
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
2771
|
-
then ac_cv_prog_egrep='grep -E'
|
2772
|
-
else ac_cv_prog_egrep='egrep'
|
2773
|
-
fi
|
2774
|
-
fi
|
2775
|
-
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
2776
|
-
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
2777
|
-
EGREP=$ac_cv_prog_egrep
|
2778
|
-
|
2779
|
-
|
2780
|
-
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
2781
|
-
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
2782
|
-
if test "${ac_cv_header_stdc+set}" = set; then
|
2783
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2784
|
-
else
|
2785
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2786
|
-
/* confdefs.h. */
|
2787
|
-
_ACEOF
|
2788
|
-
cat confdefs.h >>conftest.$ac_ext
|
2789
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2790
|
-
/* end confdefs.h. */
|
2791
|
-
#include <stdlib.h>
|
2792
|
-
#include <stdarg.h>
|
2793
|
-
#include <string.h>
|
2794
|
-
#include <float.h>
|
2795
|
-
|
2796
|
-
int
|
2797
|
-
main ()
|
2798
|
-
{
|
2799
|
-
|
2800
|
-
;
|
2801
|
-
return 0;
|
2802
|
-
}
|
2803
|
-
_ACEOF
|
2804
|
-
rm -f conftest.$ac_objext
|
2805
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2806
|
-
(eval $ac_compile) 2>conftest.er1
|
2807
|
-
ac_status=$?
|
2808
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2809
|
-
rm -f conftest.er1
|
2810
|
-
cat conftest.err >&5
|
2811
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2812
|
-
(exit $ac_status); } &&
|
2813
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2814
|
-
|| test ! -s conftest.err'
|
2815
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2816
|
-
(eval $ac_try) 2>&5
|
2817
|
-
ac_status=$?
|
2818
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2819
|
-
(exit $ac_status); }; } &&
|
2820
|
-
{ ac_try='test -s conftest.$ac_objext'
|
2821
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2822
|
-
(eval $ac_try) 2>&5
|
2823
|
-
ac_status=$?
|
2824
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2825
|
-
(exit $ac_status); }; }; then
|
2826
|
-
ac_cv_header_stdc=yes
|
2827
|
-
else
|
2828
|
-
echo "$as_me: failed program was:" >&5
|
2829
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2830
|
-
|
2831
|
-
ac_cv_header_stdc=no
|
2832
|
-
fi
|
2833
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2834
|
-
|
2835
|
-
if test $ac_cv_header_stdc = yes; then
|
2836
|
-
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
2837
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2838
|
-
/* confdefs.h. */
|
2839
|
-
_ACEOF
|
2840
|
-
cat confdefs.h >>conftest.$ac_ext
|
2841
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2842
|
-
/* end confdefs.h. */
|
2843
|
-
#include <string.h>
|
2844
|
-
|
2845
|
-
_ACEOF
|
2846
|
-
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2847
|
-
$EGREP "memchr" >/dev/null 2>&1; then
|
2848
|
-
:
|
2849
|
-
else
|
2850
|
-
ac_cv_header_stdc=no
|
2851
|
-
fi
|
2852
|
-
rm -f conftest*
|
2853
|
-
|
2854
|
-
fi
|
2855
|
-
|
2856
|
-
if test $ac_cv_header_stdc = yes; then
|
2857
|
-
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
2858
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2859
|
-
/* confdefs.h. */
|
2860
|
-
_ACEOF
|
2861
|
-
cat confdefs.h >>conftest.$ac_ext
|
2862
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2863
|
-
/* end confdefs.h. */
|
2864
|
-
#include <stdlib.h>
|
2865
|
-
|
2866
|
-
_ACEOF
|
2867
|
-
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2868
|
-
$EGREP "free" >/dev/null 2>&1; then
|
2869
|
-
:
|
2870
|
-
else
|
2871
|
-
ac_cv_header_stdc=no
|
2872
|
-
fi
|
2873
|
-
rm -f conftest*
|
2874
|
-
|
2875
|
-
fi
|
2876
|
-
|
2877
|
-
if test $ac_cv_header_stdc = yes; then
|
2878
|
-
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
2879
|
-
if test "$cross_compiling" = yes; then
|
2880
|
-
:
|
2881
|
-
else
|
2882
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2883
|
-
/* confdefs.h. */
|
2884
|
-
_ACEOF
|
2885
|
-
cat confdefs.h >>conftest.$ac_ext
|
2886
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2887
|
-
/* end confdefs.h. */
|
2888
|
-
#include <ctype.h>
|
2889
|
-
#if ((' ' & 0x0FF) == 0x020)
|
2890
|
-
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
2891
|
-
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
2892
|
-
#else
|
2893
|
-
# define ISLOWER(c) \
|
2894
|
-
(('a' <= (c) && (c) <= 'i') \
|
2895
|
-
|| ('j' <= (c) && (c) <= 'r') \
|
2896
|
-
|| ('s' <= (c) && (c) <= 'z'))
|
2897
|
-
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
2898
|
-
#endif
|
2899
|
-
|
2900
|
-
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
2901
|
-
int
|
2902
|
-
main ()
|
2903
|
-
{
|
2904
|
-
int i;
|
2905
|
-
for (i = 0; i < 256; i++)
|
2906
|
-
if (XOR (islower (i), ISLOWER (i))
|
2907
|
-
|| toupper (i) != TOUPPER (i))
|
2908
|
-
exit(2);
|
2909
|
-
exit (0);
|
2910
|
-
}
|
2911
|
-
_ACEOF
|
2912
|
-
rm -f conftest$ac_exeext
|
2913
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2914
|
-
(eval $ac_link) 2>&5
|
2915
|
-
ac_status=$?
|
2916
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2917
|
-
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
2918
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2919
|
-
(eval $ac_try) 2>&5
|
2920
|
-
ac_status=$?
|
2921
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2922
|
-
(exit $ac_status); }; }; then
|
2923
|
-
:
|
2924
|
-
else
|
2925
|
-
echo "$as_me: program exited with status $ac_status" >&5
|
2926
|
-
echo "$as_me: failed program was:" >&5
|
2927
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
2928
|
-
|
2929
|
-
( exit $ac_status )
|
2930
|
-
ac_cv_header_stdc=no
|
2931
|
-
fi
|
2932
|
-
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
2933
|
-
fi
|
2934
|
-
fi
|
2935
|
-
fi
|
2936
|
-
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
2937
|
-
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
2938
|
-
if test $ac_cv_header_stdc = yes; then
|
2939
|
-
|
2940
|
-
cat >>confdefs.h <<\_ACEOF
|
2941
|
-
#define STDC_HEADERS 1
|
2942
|
-
_ACEOF
|
2943
|
-
|
2944
|
-
fi
|
2945
|
-
|
2946
|
-
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
|
2952
|
-
|
2953
|
-
|
2954
|
-
|
2955
|
-
|
2956
|
-
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
2957
|
-
inttypes.h stdint.h unistd.h
|
2958
|
-
do
|
2959
|
-
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
2960
|
-
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
2961
|
-
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
2962
|
-
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
2963
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2964
|
-
else
|
2965
|
-
cat >conftest.$ac_ext <<_ACEOF
|
2966
|
-
/* confdefs.h. */
|
2967
|
-
_ACEOF
|
2968
|
-
cat confdefs.h >>conftest.$ac_ext
|
2969
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
2970
|
-
/* end confdefs.h. */
|
2971
|
-
$ac_includes_default
|
2972
|
-
|
2973
|
-
#include <$ac_header>
|
2974
|
-
_ACEOF
|
2975
|
-
rm -f conftest.$ac_objext
|
2976
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2977
|
-
(eval $ac_compile) 2>conftest.er1
|
2978
|
-
ac_status=$?
|
2979
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
2980
|
-
rm -f conftest.er1
|
2981
|
-
cat conftest.err >&5
|
2982
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2983
|
-
(exit $ac_status); } &&
|
2984
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
2985
|
-
|| test ! -s conftest.err'
|
2986
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2987
|
-
(eval $ac_try) 2>&5
|
2988
|
-
ac_status=$?
|
2989
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2990
|
-
(exit $ac_status); }; } &&
|
2991
|
-
{ ac_try='test -s conftest.$ac_objext'
|
2992
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2993
|
-
(eval $ac_try) 2>&5
|
2994
|
-
ac_status=$?
|
2995
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2996
|
-
(exit $ac_status); }; }; then
|
2997
|
-
eval "$as_ac_Header=yes"
|
2998
|
-
else
|
2999
|
-
echo "$as_me: failed program was:" >&5
|
3000
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3001
|
-
|
3002
|
-
eval "$as_ac_Header=no"
|
3003
|
-
fi
|
3004
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3005
|
-
fi
|
3006
|
-
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3007
|
-
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
3008
|
-
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3009
|
-
cat >>confdefs.h <<_ACEOF
|
3010
|
-
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3011
|
-
_ACEOF
|
3012
|
-
|
3013
|
-
fi
|
3014
|
-
|
3015
|
-
done
|
3016
|
-
|
3017
|
-
|
3018
|
-
|
3019
|
-
|
3020
|
-
|
3021
|
-
for ac_header in unistd.h wchar.h ${check_netpbm_h}
|
3022
|
-
do
|
3023
|
-
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3024
|
-
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3025
|
-
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3026
|
-
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3027
|
-
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3028
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3029
|
-
fi
|
3030
|
-
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3031
|
-
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
3032
|
-
else
|
3033
|
-
# Is the header compilable?
|
3034
|
-
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
3035
|
-
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
3036
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3037
|
-
/* confdefs.h. */
|
3038
|
-
_ACEOF
|
3039
|
-
cat confdefs.h >>conftest.$ac_ext
|
3040
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3041
|
-
/* end confdefs.h. */
|
3042
|
-
$ac_includes_default
|
3043
|
-
#include <$ac_header>
|
3044
|
-
_ACEOF
|
3045
|
-
rm -f conftest.$ac_objext
|
3046
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3047
|
-
(eval $ac_compile) 2>conftest.er1
|
3048
|
-
ac_status=$?
|
3049
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3050
|
-
rm -f conftest.er1
|
3051
|
-
cat conftest.err >&5
|
3052
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3053
|
-
(exit $ac_status); } &&
|
3054
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
3055
|
-
|| test ! -s conftest.err'
|
3056
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3057
|
-
(eval $ac_try) 2>&5
|
3058
|
-
ac_status=$?
|
3059
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3060
|
-
(exit $ac_status); }; } &&
|
3061
|
-
{ ac_try='test -s conftest.$ac_objext'
|
3062
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3063
|
-
(eval $ac_try) 2>&5
|
3064
|
-
ac_status=$?
|
3065
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3066
|
-
(exit $ac_status); }; }; then
|
3067
|
-
ac_header_compiler=yes
|
3068
|
-
else
|
3069
|
-
echo "$as_me: failed program was:" >&5
|
3070
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3071
|
-
|
3072
|
-
ac_header_compiler=no
|
3073
|
-
fi
|
3074
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3075
|
-
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3076
|
-
echo "${ECHO_T}$ac_header_compiler" >&6
|
3077
|
-
|
3078
|
-
# Is the header present?
|
3079
|
-
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
3080
|
-
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
3081
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3082
|
-
/* confdefs.h. */
|
3083
|
-
_ACEOF
|
3084
|
-
cat confdefs.h >>conftest.$ac_ext
|
3085
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3086
|
-
/* end confdefs.h. */
|
3087
|
-
#include <$ac_header>
|
3088
|
-
_ACEOF
|
3089
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3090
|
-
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
3091
|
-
ac_status=$?
|
3092
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3093
|
-
rm -f conftest.er1
|
3094
|
-
cat conftest.err >&5
|
3095
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3096
|
-
(exit $ac_status); } >/dev/null; then
|
3097
|
-
if test -s conftest.err; then
|
3098
|
-
ac_cpp_err=$ac_c_preproc_warn_flag
|
3099
|
-
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
3100
|
-
else
|
3101
|
-
ac_cpp_err=
|
3102
|
-
fi
|
3103
|
-
else
|
3104
|
-
ac_cpp_err=yes
|
3105
|
-
fi
|
3106
|
-
if test -z "$ac_cpp_err"; then
|
3107
|
-
ac_header_preproc=yes
|
3108
|
-
else
|
3109
|
-
echo "$as_me: failed program was:" >&5
|
3110
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3111
|
-
|
3112
|
-
ac_header_preproc=no
|
3113
|
-
fi
|
3114
|
-
rm -f conftest.err conftest.$ac_ext
|
3115
|
-
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
3116
|
-
echo "${ECHO_T}$ac_header_preproc" >&6
|
3117
|
-
|
3118
|
-
# So? What about this header?
|
3119
|
-
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
3120
|
-
yes:no: )
|
3121
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
3122
|
-
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
3123
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
3124
|
-
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
3125
|
-
ac_header_preproc=yes
|
3126
|
-
;;
|
3127
|
-
no:yes:* )
|
3128
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
3129
|
-
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
3130
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
3131
|
-
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
3132
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
3133
|
-
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
3134
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
3135
|
-
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
3136
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
3137
|
-
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
3138
|
-
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
3139
|
-
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
3140
|
-
(
|
3141
|
-
cat <<\_ASBOX
|
3142
|
-
## ------------------------------- ##
|
3143
|
-
## Report this to the gocr lists. ##
|
3144
|
-
## ------------------------------- ##
|
3145
|
-
_ASBOX
|
3146
|
-
) |
|
3147
|
-
sed "s/^/$as_me: WARNING: /" >&2
|
3148
|
-
;;
|
3149
|
-
esac
|
3150
|
-
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3151
|
-
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3152
|
-
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3153
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3154
|
-
else
|
3155
|
-
eval "$as_ac_Header=\$ac_header_preproc"
|
3156
|
-
fi
|
3157
|
-
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3158
|
-
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
3159
|
-
|
3160
|
-
fi
|
3161
|
-
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3162
|
-
cat >>confdefs.h <<_ACEOF
|
3163
|
-
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3164
|
-
_ACEOF
|
3165
|
-
|
3166
|
-
fi
|
3167
|
-
|
3168
|
-
done
|
3169
|
-
|
3170
|
-
|
3171
|
-
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
3172
|
-
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
3173
|
-
if test "${ac_cv_c_const+set}" = set; then
|
3174
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3175
|
-
else
|
3176
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3177
|
-
/* confdefs.h. */
|
3178
|
-
_ACEOF
|
3179
|
-
cat confdefs.h >>conftest.$ac_ext
|
3180
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3181
|
-
/* end confdefs.h. */
|
3182
|
-
|
3183
|
-
int
|
3184
|
-
main ()
|
3185
|
-
{
|
3186
|
-
/* FIXME: Include the comments suggested by Paul. */
|
3187
|
-
#ifndef __cplusplus
|
3188
|
-
/* Ultrix mips cc rejects this. */
|
3189
|
-
typedef int charset[2];
|
3190
|
-
const charset x;
|
3191
|
-
/* SunOS 4.1.1 cc rejects this. */
|
3192
|
-
char const *const *ccp;
|
3193
|
-
char **p;
|
3194
|
-
/* NEC SVR4.0.2 mips cc rejects this. */
|
3195
|
-
struct point {int x, y;};
|
3196
|
-
static struct point const zero = {0,0};
|
3197
|
-
/* AIX XL C 1.02.0.0 rejects this.
|
3198
|
-
It does not let you subtract one const X* pointer from another in
|
3199
|
-
an arm of an if-expression whose if-part is not a constant
|
3200
|
-
expression */
|
3201
|
-
const char *g = "string";
|
3202
|
-
ccp = &g + (g ? g-g : 0);
|
3203
|
-
/* HPUX 7.0 cc rejects these. */
|
3204
|
-
++ccp;
|
3205
|
-
p = (char**) ccp;
|
3206
|
-
ccp = (char const *const *) p;
|
3207
|
-
{ /* SCO 3.2v4 cc rejects this. */
|
3208
|
-
char *t;
|
3209
|
-
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
3210
|
-
|
3211
|
-
*t++ = 0;
|
3212
|
-
}
|
3213
|
-
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
3214
|
-
int x[] = {25, 17};
|
3215
|
-
const int *foo = &x[0];
|
3216
|
-
++foo;
|
3217
|
-
}
|
3218
|
-
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
3219
|
-
typedef const int *iptr;
|
3220
|
-
iptr p = 0;
|
3221
|
-
++p;
|
3222
|
-
}
|
3223
|
-
{ /* AIX XL C 1.02.0.0 rejects this saying
|
3224
|
-
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
3225
|
-
struct s { int j; const int *ap[3]; };
|
3226
|
-
struct s *b; b->j = 5;
|
3227
|
-
}
|
3228
|
-
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
3229
|
-
const int foo = 10;
|
3230
|
-
}
|
3231
|
-
#endif
|
3232
|
-
|
3233
|
-
;
|
3234
|
-
return 0;
|
3235
|
-
}
|
3236
|
-
_ACEOF
|
3237
|
-
rm -f conftest.$ac_objext
|
3238
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3239
|
-
(eval $ac_compile) 2>conftest.er1
|
3240
|
-
ac_status=$?
|
3241
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3242
|
-
rm -f conftest.er1
|
3243
|
-
cat conftest.err >&5
|
3244
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3245
|
-
(exit $ac_status); } &&
|
3246
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
3247
|
-
|| test ! -s conftest.err'
|
3248
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3249
|
-
(eval $ac_try) 2>&5
|
3250
|
-
ac_status=$?
|
3251
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3252
|
-
(exit $ac_status); }; } &&
|
3253
|
-
{ ac_try='test -s conftest.$ac_objext'
|
3254
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3255
|
-
(eval $ac_try) 2>&5
|
3256
|
-
ac_status=$?
|
3257
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3258
|
-
(exit $ac_status); }; }; then
|
3259
|
-
ac_cv_c_const=yes
|
3260
|
-
else
|
3261
|
-
echo "$as_me: failed program was:" >&5
|
3262
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3263
|
-
|
3264
|
-
ac_cv_c_const=no
|
3265
|
-
fi
|
3266
|
-
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3267
|
-
fi
|
3268
|
-
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
3269
|
-
echo "${ECHO_T}$ac_cv_c_const" >&6
|
3270
|
-
if test $ac_cv_c_const = no; then
|
3271
|
-
|
3272
|
-
cat >>confdefs.h <<\_ACEOF
|
3273
|
-
#define const
|
3274
|
-
_ACEOF
|
3275
|
-
|
3276
|
-
fi
|
3277
|
-
|
3278
|
-
|
3279
|
-
echo "$as_me:$LINENO: checking for function prototypes" >&5
|
3280
|
-
echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
|
3281
|
-
if test "$ac_cv_prog_cc_stdc" != no; then
|
3282
|
-
echo "$as_me:$LINENO: result: yes" >&5
|
3283
|
-
echo "${ECHO_T}yes" >&6
|
3284
|
-
|
3285
|
-
cat >>confdefs.h <<\_ACEOF
|
3286
|
-
#define PROTOTYPES 1
|
3287
|
-
_ACEOF
|
3288
|
-
|
3289
|
-
|
3290
|
-
cat >>confdefs.h <<\_ACEOF
|
3291
|
-
#define __PROTOTYPES 1
|
3292
|
-
_ACEOF
|
3293
|
-
|
3294
|
-
else
|
3295
|
-
echo "$as_me:$LINENO: result: no" >&5
|
3296
|
-
echo "${ECHO_T}no" >&6
|
3297
|
-
fi
|
3298
|
-
|
3299
|
-
echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
|
3300
|
-
echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
|
3301
|
-
if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
|
3302
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3303
|
-
else
|
3304
|
-
ac_cv_func_setvbuf_reversed=no
|
3305
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3306
|
-
/* confdefs.h. */
|
3307
|
-
_ACEOF
|
3308
|
-
cat confdefs.h >>conftest.$ac_ext
|
3309
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3310
|
-
/* end confdefs.h. */
|
3311
|
-
#include <stdio.h>
|
3312
|
-
# if PROTOTYPES
|
3313
|
-
int (setvbuf) (FILE *, int, char *, size_t);
|
3314
|
-
# endif
|
3315
|
-
int
|
3316
|
-
main ()
|
3317
|
-
{
|
3318
|
-
char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
|
3319
|
-
;
|
3320
|
-
return 0;
|
3321
|
-
}
|
3322
|
-
_ACEOF
|
3323
|
-
rm -f conftest.$ac_objext conftest$ac_exeext
|
3324
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3325
|
-
(eval $ac_link) 2>conftest.er1
|
3326
|
-
ac_status=$?
|
3327
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3328
|
-
rm -f conftest.er1
|
3329
|
-
cat conftest.err >&5
|
3330
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3331
|
-
(exit $ac_status); } &&
|
3332
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
3333
|
-
|| test ! -s conftest.err'
|
3334
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3335
|
-
(eval $ac_try) 2>&5
|
3336
|
-
ac_status=$?
|
3337
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3338
|
-
(exit $ac_status); }; } &&
|
3339
|
-
{ ac_try='test -s conftest$ac_exeext'
|
3340
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3341
|
-
(eval $ac_try) 2>&5
|
3342
|
-
ac_status=$?
|
3343
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3344
|
-
(exit $ac_status); }; }; then
|
3345
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3346
|
-
/* confdefs.h. */
|
3347
|
-
_ACEOF
|
3348
|
-
cat confdefs.h >>conftest.$ac_ext
|
3349
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3350
|
-
/* end confdefs.h. */
|
3351
|
-
#include <stdio.h>
|
3352
|
-
# if PROTOTYPES
|
3353
|
-
int (setvbuf) (FILE *, int, char *, size_t);
|
3354
|
-
# endif
|
3355
|
-
int
|
3356
|
-
main ()
|
3357
|
-
{
|
3358
|
-
char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
|
3359
|
-
;
|
3360
|
-
return 0;
|
3361
|
-
}
|
3362
|
-
_ACEOF
|
3363
|
-
rm -f conftest.$ac_objext conftest$ac_exeext
|
3364
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3365
|
-
(eval $ac_link) 2>conftest.er1
|
3366
|
-
ac_status=$?
|
3367
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3368
|
-
rm -f conftest.er1
|
3369
|
-
cat conftest.err >&5
|
3370
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3371
|
-
(exit $ac_status); } &&
|
3372
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
3373
|
-
|| test ! -s conftest.err'
|
3374
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3375
|
-
(eval $ac_try) 2>&5
|
3376
|
-
ac_status=$?
|
3377
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3378
|
-
(exit $ac_status); }; } &&
|
3379
|
-
{ ac_try='test -s conftest$ac_exeext'
|
3380
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3381
|
-
(eval $ac_try) 2>&5
|
3382
|
-
ac_status=$?
|
3383
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3384
|
-
(exit $ac_status); }; }; then
|
3385
|
-
# It compiles and links either way, so it must not be declared
|
3386
|
-
# with a prototype and most likely this is a K&R C compiler.
|
3387
|
-
# Try running it.
|
3388
|
-
if test "$cross_compiling" = yes; then
|
3389
|
-
: # Assume setvbuf is not reversed when cross-compiling.
|
3390
|
-
else
|
3391
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3392
|
-
/* confdefs.h. */
|
3393
|
-
_ACEOF
|
3394
|
-
cat confdefs.h >>conftest.$ac_ext
|
3395
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3396
|
-
/* end confdefs.h. */
|
3397
|
-
#include <stdio.h>
|
3398
|
-
int
|
3399
|
-
main ()
|
3400
|
-
{
|
3401
|
-
/* This call has the arguments reversed.
|
3402
|
-
A reversed system may check and see that the address of buf
|
3403
|
-
is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
|
3404
|
-
char buf;
|
3405
|
-
if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
|
3406
|
-
exit (1);
|
3407
|
-
putchar ('\r');
|
3408
|
-
exit (0); /* Non-reversed systems SEGV here. */
|
3409
|
-
;
|
3410
|
-
return 0;
|
3411
|
-
}
|
3412
|
-
_ACEOF
|
3413
|
-
rm -f conftest$ac_exeext
|
3414
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3415
|
-
(eval $ac_link) 2>&5
|
3416
|
-
ac_status=$?
|
3417
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3418
|
-
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3419
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3420
|
-
(eval $ac_try) 2>&5
|
3421
|
-
ac_status=$?
|
3422
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3423
|
-
(exit $ac_status); }; }; then
|
3424
|
-
ac_cv_func_setvbuf_reversed=yes
|
3425
|
-
else
|
3426
|
-
echo "$as_me: program exited with status $ac_status" >&5
|
3427
|
-
echo "$as_me: failed program was:" >&5
|
3428
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3429
|
-
|
3430
|
-
( exit $ac_status )
|
3431
|
-
rm -f core *.core
|
3432
|
-
fi
|
3433
|
-
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3434
|
-
fi
|
3435
|
-
ac_cv_func_setvbuf_reversed=yes
|
3436
|
-
else
|
3437
|
-
echo "$as_me: failed program was:" >&5
|
3438
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3439
|
-
|
3440
|
-
fi
|
3441
|
-
rm -f conftest.err conftest.$ac_objext \
|
3442
|
-
conftest$ac_exeext conftest.$ac_ext
|
3443
|
-
else
|
3444
|
-
echo "$as_me: failed program was:" >&5
|
3445
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3446
|
-
|
3447
|
-
fi
|
3448
|
-
rm -f conftest.err conftest.$ac_objext \
|
3449
|
-
conftest$ac_exeext conftest.$ac_ext
|
3450
|
-
fi
|
3451
|
-
echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
|
3452
|
-
echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
|
3453
|
-
if test $ac_cv_func_setvbuf_reversed = yes; then
|
3454
|
-
|
3455
|
-
cat >>confdefs.h <<\_ACEOF
|
3456
|
-
#define SETVBUF_REVERSED 1
|
3457
|
-
_ACEOF
|
3458
|
-
|
3459
|
-
fi
|
3460
|
-
|
3461
|
-
|
3462
|
-
|
3463
|
-
|
3464
|
-
|
3465
|
-
for ac_func in wcschr wcsdup gettimeofday popen
|
3466
|
-
do
|
3467
|
-
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
3468
|
-
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
3469
|
-
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
3470
|
-
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
3471
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3472
|
-
else
|
3473
|
-
cat >conftest.$ac_ext <<_ACEOF
|
3474
|
-
/* confdefs.h. */
|
3475
|
-
_ACEOF
|
3476
|
-
cat confdefs.h >>conftest.$ac_ext
|
3477
|
-
cat >>conftest.$ac_ext <<_ACEOF
|
3478
|
-
/* end confdefs.h. */
|
3479
|
-
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
3480
|
-
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
3481
|
-
#define $ac_func innocuous_$ac_func
|
3482
|
-
|
3483
|
-
/* System header to define __stub macros and hopefully few prototypes,
|
3484
|
-
which can conflict with char $ac_func (); below.
|
3485
|
-
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3486
|
-
<limits.h> exists even on freestanding compilers. */
|
3487
|
-
|
3488
|
-
#ifdef __STDC__
|
3489
|
-
# include <limits.h>
|
3490
|
-
#else
|
3491
|
-
# include <assert.h>
|
3492
|
-
#endif
|
3493
|
-
|
3494
|
-
#undef $ac_func
|
3495
|
-
|
3496
|
-
/* Override any gcc2 internal prototype to avoid an error. */
|
3497
|
-
#ifdef __cplusplus
|
3498
|
-
extern "C"
|
3499
|
-
{
|
3500
|
-
#endif
|
3501
|
-
/* We use char because int might match the return type of a gcc2
|
3502
|
-
builtin and then its argument prototype would still apply. */
|
3503
|
-
char $ac_func ();
|
3504
|
-
/* The GNU C library defines this for functions which it implements
|
3505
|
-
to always fail with ENOSYS. Some functions are actually named
|
3506
|
-
something starting with __ and the normal name is an alias. */
|
3507
|
-
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
3508
|
-
choke me
|
3509
|
-
#else
|
3510
|
-
char (*f) () = $ac_func;
|
3511
|
-
#endif
|
3512
|
-
#ifdef __cplusplus
|
3513
|
-
}
|
3514
|
-
#endif
|
3515
|
-
|
3516
|
-
int
|
3517
|
-
main ()
|
3518
|
-
{
|
3519
|
-
return f != $ac_func;
|
3520
|
-
;
|
3521
|
-
return 0;
|
3522
|
-
}
|
3523
|
-
_ACEOF
|
3524
|
-
rm -f conftest.$ac_objext conftest$ac_exeext
|
3525
|
-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3526
|
-
(eval $ac_link) 2>conftest.er1
|
3527
|
-
ac_status=$?
|
3528
|
-
grep -v '^ *+' conftest.er1 >conftest.err
|
3529
|
-
rm -f conftest.er1
|
3530
|
-
cat conftest.err >&5
|
3531
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3532
|
-
(exit $ac_status); } &&
|
3533
|
-
{ ac_try='test -z "$ac_c_werror_flag"
|
3534
|
-
|| test ! -s conftest.err'
|
3535
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3536
|
-
(eval $ac_try) 2>&5
|
3537
|
-
ac_status=$?
|
3538
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3539
|
-
(exit $ac_status); }; } &&
|
3540
|
-
{ ac_try='test -s conftest$ac_exeext'
|
3541
|
-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3542
|
-
(eval $ac_try) 2>&5
|
3543
|
-
ac_status=$?
|
3544
|
-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3545
|
-
(exit $ac_status); }; }; then
|
3546
|
-
eval "$as_ac_var=yes"
|
3547
|
-
else
|
3548
|
-
echo "$as_me: failed program was:" >&5
|
3549
|
-
sed 's/^/| /' conftest.$ac_ext >&5
|
3550
|
-
|
3551
|
-
eval "$as_ac_var=no"
|
3552
|
-
fi
|
3553
|
-
rm -f conftest.err conftest.$ac_objext \
|
3554
|
-
conftest$ac_exeext conftest.$ac_ext
|
3555
|
-
fi
|
3556
|
-
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
3557
|
-
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
3558
|
-
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
3559
|
-
cat >>confdefs.h <<_ACEOF
|
3560
|
-
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
3561
|
-
_ACEOF
|
3562
|
-
|
3563
|
-
fi
|
3564
|
-
done
|
3565
|
-
|
3566
|
-
|
3567
|
-
|
3568
|
-
ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile man/Makefile"
|
3569
|
-
|
3570
|
-
cat >confcache <<\_ACEOF
|
3571
|
-
# This file is a shell script that caches the results of configure
|
3572
|
-
# tests run on this system so they can be shared between configure
|
3573
|
-
# scripts and configure runs, see configure's option --config-cache.
|
3574
|
-
# It is not useful on other systems. If it contains results you don't
|
3575
|
-
# want to keep, you may remove or edit it.
|
3576
|
-
#
|
3577
|
-
# config.status only pays attention to the cache file if you give it
|
3578
|
-
# the --recheck option to rerun configure.
|
3579
|
-
#
|
3580
|
-
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
3581
|
-
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
3582
|
-
# following values.
|
3583
|
-
|
3584
|
-
_ACEOF
|
3585
|
-
|
3586
|
-
# The following way of writing the cache mishandles newlines in values,
|
3587
|
-
# but we know of no workaround that is simple, portable, and efficient.
|
3588
|
-
# So, don't put newlines in cache variables' values.
|
3589
|
-
# Ultrix sh set writes to stderr and can't be redirected directly,
|
3590
|
-
# and sets the high bit in the cache file unless we assign to the vars.
|
3591
|
-
{
|
3592
|
-
(set) 2>&1 |
|
3593
|
-
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
3594
|
-
*ac_space=\ *)
|
3595
|
-
# `set' does not quote correctly, so add quotes (double-quote
|
3596
|
-
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
3597
|
-
sed -n \
|
3598
|
-
"s/'/'\\\\''/g;
|
3599
|
-
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
3600
|
-
;;
|
3601
|
-
*)
|
3602
|
-
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
3603
|
-
sed -n \
|
3604
|
-
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
3605
|
-
;;
|
3606
|
-
esac;
|
3607
|
-
} |
|
3608
|
-
sed '
|
3609
|
-
t clear
|
3610
|
-
: clear
|
3611
|
-
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
3612
|
-
t end
|
3613
|
-
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
3614
|
-
: end' >>confcache
|
3615
|
-
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
3616
|
-
if test -w $cache_file; then
|
3617
|
-
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
3618
|
-
cat confcache >$cache_file
|
3619
|
-
else
|
3620
|
-
echo "not updating unwritable cache $cache_file"
|
3621
|
-
fi
|
3622
|
-
fi
|
3623
|
-
rm -f confcache
|
3624
|
-
|
3625
|
-
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
3626
|
-
# Let make expand exec_prefix.
|
3627
|
-
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
3628
|
-
|
3629
|
-
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
3630
|
-
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
3631
|
-
# trailing colons and then remove the whole line if VPATH becomes empty
|
3632
|
-
# (actually we leave an empty line to preserve line numbers).
|
3633
|
-
if test "x$srcdir" = x.; then
|
3634
|
-
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
3635
|
-
s/:*\$(srcdir):*/:/;
|
3636
|
-
s/:*\${srcdir}:*/:/;
|
3637
|
-
s/:*@srcdir@:*/:/;
|
3638
|
-
s/^\([^=]*=[ ]*\):*/\1/;
|
3639
|
-
s/:*$//;
|
3640
|
-
s/^[^=]*=[ ]*$//;
|
3641
|
-
}'
|
3642
|
-
fi
|
3643
|
-
|
3644
|
-
DEFS=-DHAVE_CONFIG_H
|
3645
|
-
|
3646
|
-
ac_libobjs=
|
3647
|
-
ac_ltlibobjs=
|
3648
|
-
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
3649
|
-
# 1. Remove the extension, and $U if already installed.
|
3650
|
-
ac_i=`echo "$ac_i" |
|
3651
|
-
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
3652
|
-
# 2. Add them.
|
3653
|
-
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
3654
|
-
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
3655
|
-
done
|
3656
|
-
LIBOBJS=$ac_libobjs
|
3657
|
-
|
3658
|
-
LTLIBOBJS=$ac_ltlibobjs
|
3659
|
-
|
3660
|
-
|
3661
|
-
|
3662
|
-
: ${CONFIG_STATUS=./config.status}
|
3663
|
-
ac_clean_files_save=$ac_clean_files
|
3664
|
-
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
3665
|
-
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
3666
|
-
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
3667
|
-
cat >$CONFIG_STATUS <<_ACEOF
|
3668
|
-
#! $SHELL
|
3669
|
-
# Generated by $as_me.
|
3670
|
-
# Run this file to recreate the current configuration.
|
3671
|
-
# Compiler output produced by configure, useful for debugging
|
3672
|
-
# configure, is in config.log if it exists.
|
3673
|
-
|
3674
|
-
debug=false
|
3675
|
-
ac_cs_recheck=false
|
3676
|
-
ac_cs_silent=false
|
3677
|
-
SHELL=\${CONFIG_SHELL-$SHELL}
|
3678
|
-
_ACEOF
|
3679
|
-
|
3680
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
3681
|
-
## --------------------- ##
|
3682
|
-
## M4sh Initialization. ##
|
3683
|
-
## --------------------- ##
|
3684
|
-
|
3685
|
-
# Be Bourne compatible
|
3686
|
-
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
3687
|
-
emulate sh
|
3688
|
-
NULLCMD=:
|
3689
|
-
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
3690
|
-
# is contrary to our usage. Disable this feature.
|
3691
|
-
alias -g '${1+"$@"}'='"$@"'
|
3692
|
-
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
3693
|
-
set -o posix
|
3694
|
-
fi
|
3695
|
-
DUALCASE=1; export DUALCASE # for MKS sh
|
3696
|
-
|
3697
|
-
# Support unset when possible.
|
3698
|
-
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
3699
|
-
as_unset=unset
|
3700
|
-
else
|
3701
|
-
as_unset=false
|
3702
|
-
fi
|
3703
|
-
|
3704
|
-
|
3705
|
-
# Work around bugs in pre-3.0 UWIN ksh.
|
3706
|
-
$as_unset ENV MAIL MAILPATH
|
3707
|
-
PS1='$ '
|
3708
|
-
PS2='> '
|
3709
|
-
PS4='+ '
|
3710
|
-
|
3711
|
-
# NLS nuisances.
|
3712
|
-
for as_var in \
|
3713
|
-
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
3714
|
-
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
3715
|
-
LC_TELEPHONE LC_TIME
|
3716
|
-
do
|
3717
|
-
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
3718
|
-
eval $as_var=C; export $as_var
|
3719
|
-
else
|
3720
|
-
$as_unset $as_var
|
3721
|
-
fi
|
3722
|
-
done
|
3723
|
-
|
3724
|
-
# Required to use basename.
|
3725
|
-
if expr a : '\(a\)' >/dev/null 2>&1; then
|
3726
|
-
as_expr=expr
|
3727
|
-
else
|
3728
|
-
as_expr=false
|
3729
|
-
fi
|
3730
|
-
|
3731
|
-
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
3732
|
-
as_basename=basename
|
3733
|
-
else
|
3734
|
-
as_basename=false
|
3735
|
-
fi
|
3736
|
-
|
3737
|
-
|
3738
|
-
# Name of the executable.
|
3739
|
-
as_me=`$as_basename "$0" ||
|
3740
|
-
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
3741
|
-
X"$0" : 'X\(//\)$' \| \
|
3742
|
-
X"$0" : 'X\(/\)$' \| \
|
3743
|
-
. : '\(.\)' 2>/dev/null ||
|
3744
|
-
echo X/"$0" |
|
3745
|
-
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
3746
|
-
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
3747
|
-
/^X\/\(\/\).*/{ s//\1/; q; }
|
3748
|
-
s/.*/./; q'`
|
3749
|
-
|
3750
|
-
|
3751
|
-
# PATH needs CR, and LINENO needs CR and PATH.
|
3752
|
-
# Avoid depending upon Character Ranges.
|
3753
|
-
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
3754
|
-
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
3755
|
-
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
3756
|
-
as_cr_digits='0123456789'
|
3757
|
-
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
3758
|
-
|
3759
|
-
# The user is always right.
|
3760
|
-
if test "${PATH_SEPARATOR+set}" != set; then
|
3761
|
-
echo "#! /bin/sh" >conf$$.sh
|
3762
|
-
echo "exit 0" >>conf$$.sh
|
3763
|
-
chmod +x conf$$.sh
|
3764
|
-
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
3765
|
-
PATH_SEPARATOR=';'
|
3766
|
-
else
|
3767
|
-
PATH_SEPARATOR=:
|
3768
|
-
fi
|
3769
|
-
rm -f conf$$.sh
|
3770
|
-
fi
|
3771
|
-
|
3772
|
-
|
3773
|
-
as_lineno_1=$LINENO
|
3774
|
-
as_lineno_2=$LINENO
|
3775
|
-
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
3776
|
-
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
3777
|
-
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
3778
|
-
# Find who we are. Look in the path if we contain no path at all
|
3779
|
-
# relative or not.
|
3780
|
-
case $0 in
|
3781
|
-
*[\\/]* ) as_myself=$0 ;;
|
3782
|
-
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3783
|
-
for as_dir in $PATH
|
3784
|
-
do
|
3785
|
-
IFS=$as_save_IFS
|
3786
|
-
test -z "$as_dir" && as_dir=.
|
3787
|
-
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
3788
|
-
done
|
3789
|
-
|
3790
|
-
;;
|
3791
|
-
esac
|
3792
|
-
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
3793
|
-
# in which case we are not to be found in the path.
|
3794
|
-
if test "x$as_myself" = x; then
|
3795
|
-
as_myself=$0
|
3796
|
-
fi
|
3797
|
-
if test ! -f "$as_myself"; then
|
3798
|
-
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
3799
|
-
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
3800
|
-
{ (exit 1); exit 1; }; }
|
3801
|
-
fi
|
3802
|
-
case $CONFIG_SHELL in
|
3803
|
-
'')
|
3804
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3805
|
-
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
3806
|
-
do
|
3807
|
-
IFS=$as_save_IFS
|
3808
|
-
test -z "$as_dir" && as_dir=.
|
3809
|
-
for as_base in sh bash ksh sh5; do
|
3810
|
-
case $as_dir in
|
3811
|
-
/*)
|
3812
|
-
if ("$as_dir/$as_base" -c '
|
3813
|
-
as_lineno_1=$LINENO
|
3814
|
-
as_lineno_2=$LINENO
|
3815
|
-
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
3816
|
-
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
3817
|
-
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
3818
|
-
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
3819
|
-
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
3820
|
-
CONFIG_SHELL=$as_dir/$as_base
|
3821
|
-
export CONFIG_SHELL
|
3822
|
-
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
3823
|
-
fi;;
|
3824
|
-
esac
|
3825
|
-
done
|
3826
|
-
done
|
3827
|
-
;;
|
3828
|
-
esac
|
3829
|
-
|
3830
|
-
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
3831
|
-
# uniformly replaced by the line number. The first 'sed' inserts a
|
3832
|
-
# line-number line before each line; the second 'sed' does the real
|
3833
|
-
# work. The second script uses 'N' to pair each line-number line
|
3834
|
-
# with the numbered line, and appends trailing '-' during
|
3835
|
-
# substitution so that $LINENO is not a special case at line end.
|
3836
|
-
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
3837
|
-
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
3838
|
-
sed '=' <$as_myself |
|
3839
|
-
sed '
|
3840
|
-
N
|
3841
|
-
s,$,-,
|
3842
|
-
: loop
|
3843
|
-
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
3844
|
-
t loop
|
3845
|
-
s,-$,,
|
3846
|
-
s,^['$as_cr_digits']*\n,,
|
3847
|
-
' >$as_me.lineno &&
|
3848
|
-
chmod +x $as_me.lineno ||
|
3849
|
-
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
3850
|
-
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
3851
|
-
{ (exit 1); exit 1; }; }
|
3852
|
-
|
3853
|
-
# Don't try to exec as it changes $[0], causing all sort of problems
|
3854
|
-
# (the dirname of $[0] is not the place where we might find the
|
3855
|
-
# original and so on. Autoconf is especially sensible to this).
|
3856
|
-
. ./$as_me.lineno
|
3857
|
-
# Exit status is that of the last command.
|
3858
|
-
exit
|
3859
|
-
}
|
3860
|
-
|
3861
|
-
|
3862
|
-
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
3863
|
-
*c*,-n*) ECHO_N= ECHO_C='
|
3864
|
-
' ECHO_T=' ' ;;
|
3865
|
-
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
3866
|
-
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
3867
|
-
esac
|
3868
|
-
|
3869
|
-
if expr a : '\(a\)' >/dev/null 2>&1; then
|
3870
|
-
as_expr=expr
|
3871
|
-
else
|
3872
|
-
as_expr=false
|
3873
|
-
fi
|
3874
|
-
|
3875
|
-
rm -f conf$$ conf$$.exe conf$$.file
|
3876
|
-
echo >conf$$.file
|
3877
|
-
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
3878
|
-
# We could just check for DJGPP; but this test a) works b) is more generic
|
3879
|
-
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
3880
|
-
if test -f conf$$.exe; then
|
3881
|
-
# Don't use ln at all; we don't have any links
|
3882
|
-
as_ln_s='cp -p'
|
3883
|
-
else
|
3884
|
-
as_ln_s='ln -s'
|
3885
|
-
fi
|
3886
|
-
elif ln conf$$.file conf$$ 2>/dev/null; then
|
3887
|
-
as_ln_s=ln
|
3888
|
-
else
|
3889
|
-
as_ln_s='cp -p'
|
3890
|
-
fi
|
3891
|
-
rm -f conf$$ conf$$.exe conf$$.file
|
3892
|
-
|
3893
|
-
if mkdir -p . 2>/dev/null; then
|
3894
|
-
as_mkdir_p=:
|
3895
|
-
else
|
3896
|
-
test -d ./-p && rmdir ./-p
|
3897
|
-
as_mkdir_p=false
|
3898
|
-
fi
|
3899
|
-
|
3900
|
-
as_executable_p="test -f"
|
3901
|
-
|
3902
|
-
# Sed expression to map a string onto a valid CPP name.
|
3903
|
-
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
3904
|
-
|
3905
|
-
# Sed expression to map a string onto a valid variable name.
|
3906
|
-
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
3907
|
-
|
3908
|
-
|
3909
|
-
# IFS
|
3910
|
-
# We need space, tab and new line, in precisely that order.
|
3911
|
-
as_nl='
|
3912
|
-
'
|
3913
|
-
IFS=" $as_nl"
|
3914
|
-
|
3915
|
-
# CDPATH.
|
3916
|
-
$as_unset CDPATH
|
3917
|
-
|
3918
|
-
exec 6>&1
|
3919
|
-
|
3920
|
-
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
3921
|
-
# report actual input values of CONFIG_FILES etc. instead of their
|
3922
|
-
# values after options handling. Logging --version etc. is OK.
|
3923
|
-
exec 5>>config.log
|
3924
|
-
{
|
3925
|
-
echo
|
3926
|
-
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
3927
|
-
## Running $as_me. ##
|
3928
|
-
_ASBOX
|
3929
|
-
} >&5
|
3930
|
-
cat >&5 <<_CSEOF
|
3931
|
-
|
3932
|
-
This file was extended by gocr $as_me 0.48, which was
|
3933
|
-
generated by GNU Autoconf 2.59. Invocation command line was
|
3934
|
-
|
3935
|
-
CONFIG_FILES = $CONFIG_FILES
|
3936
|
-
CONFIG_HEADERS = $CONFIG_HEADERS
|
3937
|
-
CONFIG_LINKS = $CONFIG_LINKS
|
3938
|
-
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
3939
|
-
$ $0 $@
|
3940
|
-
|
3941
|
-
_CSEOF
|
3942
|
-
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
3943
|
-
echo >&5
|
3944
|
-
_ACEOF
|
3945
|
-
|
3946
|
-
# Files that config.status was made for.
|
3947
|
-
if test -n "$ac_config_files"; then
|
3948
|
-
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
3949
|
-
fi
|
3950
|
-
|
3951
|
-
if test -n "$ac_config_headers"; then
|
3952
|
-
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
3953
|
-
fi
|
3954
|
-
|
3955
|
-
if test -n "$ac_config_links"; then
|
3956
|
-
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
3957
|
-
fi
|
3958
|
-
|
3959
|
-
if test -n "$ac_config_commands"; then
|
3960
|
-
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
3961
|
-
fi
|
3962
|
-
|
3963
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
3964
|
-
|
3965
|
-
ac_cs_usage="\
|
3966
|
-
\`$as_me' instantiates files from templates according to the
|
3967
|
-
current configuration.
|
3968
|
-
|
3969
|
-
Usage: $0 [OPTIONS] [FILE]...
|
3970
|
-
|
3971
|
-
-h, --help print this help, then exit
|
3972
|
-
-V, --version print version number, then exit
|
3973
|
-
-q, --quiet do not print progress messages
|
3974
|
-
-d, --debug don't remove temporary files
|
3975
|
-
--recheck update $as_me by reconfiguring in the same conditions
|
3976
|
-
--file=FILE[:TEMPLATE]
|
3977
|
-
instantiate the configuration file FILE
|
3978
|
-
--header=FILE[:TEMPLATE]
|
3979
|
-
instantiate the configuration header FILE
|
3980
|
-
|
3981
|
-
Configuration files:
|
3982
|
-
$config_files
|
3983
|
-
|
3984
|
-
Configuration headers:
|
3985
|
-
$config_headers
|
3986
|
-
|
3987
|
-
Report bugs to <bug-autoconf@gnu.org>."
|
3988
|
-
_ACEOF
|
3989
|
-
|
3990
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
3991
|
-
ac_cs_version="\\
|
3992
|
-
gocr config.status 0.48
|
3993
|
-
configured by $0, generated by GNU Autoconf 2.59,
|
3994
|
-
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
3995
|
-
|
3996
|
-
Copyright (C) 2003 Free Software Foundation, Inc.
|
3997
|
-
This config.status script is free software; the Free Software Foundation
|
3998
|
-
gives unlimited permission to copy, distribute and modify it."
|
3999
|
-
srcdir=$srcdir
|
4000
|
-
INSTALL="$INSTALL"
|
4001
|
-
_ACEOF
|
4002
|
-
|
4003
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4004
|
-
# If no file are specified by the user, then we need to provide default
|
4005
|
-
# value. By we need to know if files were specified by the user.
|
4006
|
-
ac_need_defaults=:
|
4007
|
-
while test $# != 0
|
4008
|
-
do
|
4009
|
-
case $1 in
|
4010
|
-
--*=*)
|
4011
|
-
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
4012
|
-
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
4013
|
-
ac_shift=:
|
4014
|
-
;;
|
4015
|
-
-*)
|
4016
|
-
ac_option=$1
|
4017
|
-
ac_optarg=$2
|
4018
|
-
ac_shift=shift
|
4019
|
-
;;
|
4020
|
-
*) # This is not an option, so the user has probably given explicit
|
4021
|
-
# arguments.
|
4022
|
-
ac_option=$1
|
4023
|
-
ac_need_defaults=false;;
|
4024
|
-
esac
|
4025
|
-
|
4026
|
-
case $ac_option in
|
4027
|
-
# Handling of the options.
|
4028
|
-
_ACEOF
|
4029
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4030
|
-
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
4031
|
-
ac_cs_recheck=: ;;
|
4032
|
-
--version | --vers* | -V )
|
4033
|
-
echo "$ac_cs_version"; exit 0 ;;
|
4034
|
-
--he | --h)
|
4035
|
-
# Conflict between --help and --header
|
4036
|
-
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
4037
|
-
Try \`$0 --help' for more information." >&5
|
4038
|
-
echo "$as_me: error: ambiguous option: $1
|
4039
|
-
Try \`$0 --help' for more information." >&2;}
|
4040
|
-
{ (exit 1); exit 1; }; };;
|
4041
|
-
--help | --hel | -h )
|
4042
|
-
echo "$ac_cs_usage"; exit 0 ;;
|
4043
|
-
--debug | --d* | -d )
|
4044
|
-
debug=: ;;
|
4045
|
-
--file | --fil | --fi | --f )
|
4046
|
-
$ac_shift
|
4047
|
-
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
4048
|
-
ac_need_defaults=false;;
|
4049
|
-
--header | --heade | --head | --hea )
|
4050
|
-
$ac_shift
|
4051
|
-
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
4052
|
-
ac_need_defaults=false;;
|
4053
|
-
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
4054
|
-
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
4055
|
-
ac_cs_silent=: ;;
|
4056
|
-
|
4057
|
-
# This is an error.
|
4058
|
-
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
4059
|
-
Try \`$0 --help' for more information." >&5
|
4060
|
-
echo "$as_me: error: unrecognized option: $1
|
4061
|
-
Try \`$0 --help' for more information." >&2;}
|
4062
|
-
{ (exit 1); exit 1; }; } ;;
|
4063
|
-
|
4064
|
-
*) ac_config_targets="$ac_config_targets $1" ;;
|
4065
|
-
|
4066
|
-
esac
|
4067
|
-
shift
|
4068
|
-
done
|
4069
|
-
|
4070
|
-
ac_configure_extra_args=
|
4071
|
-
|
4072
|
-
if $ac_cs_silent; then
|
4073
|
-
exec 6>/dev/null
|
4074
|
-
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
4075
|
-
fi
|
4076
|
-
|
4077
|
-
_ACEOF
|
4078
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
4079
|
-
if \$ac_cs_recheck; then
|
4080
|
-
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
4081
|
-
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
4082
|
-
fi
|
4083
|
-
|
4084
|
-
_ACEOF
|
4085
|
-
|
4086
|
-
|
4087
|
-
|
4088
|
-
|
4089
|
-
|
4090
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4091
|
-
for ac_config_target in $ac_config_targets
|
4092
|
-
do
|
4093
|
-
case "$ac_config_target" in
|
4094
|
-
# Handling of arguments.
|
4095
|
-
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
4096
|
-
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
4097
|
-
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
|
4098
|
-
"man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
|
4099
|
-
"include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
|
4100
|
-
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
4101
|
-
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
4102
|
-
{ (exit 1); exit 1; }; };;
|
4103
|
-
esac
|
4104
|
-
done
|
4105
|
-
|
4106
|
-
# If the user did not use the arguments to specify the items to instantiate,
|
4107
|
-
# then the envvar interface is used. Set only those that are not.
|
4108
|
-
# We use the long form for the default assignment because of an extremely
|
4109
|
-
# bizarre bug on SunOS 4.1.3.
|
4110
|
-
if $ac_need_defaults; then
|
4111
|
-
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
4112
|
-
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
4113
|
-
fi
|
4114
|
-
|
4115
|
-
# Have a temporary directory for convenience. Make it in the build tree
|
4116
|
-
# simply because there is no reason to put it here, and in addition,
|
4117
|
-
# creating and moving files from /tmp can sometimes cause problems.
|
4118
|
-
# Create a temporary directory, and hook for its removal unless debugging.
|
4119
|
-
$debug ||
|
4120
|
-
{
|
4121
|
-
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
4122
|
-
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
4123
|
-
}
|
4124
|
-
|
4125
|
-
# Create a (secure) tmp directory for tmp files.
|
4126
|
-
|
4127
|
-
{
|
4128
|
-
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
4129
|
-
test -n "$tmp" && test -d "$tmp"
|
4130
|
-
} ||
|
4131
|
-
{
|
4132
|
-
tmp=./confstat$$-$RANDOM
|
4133
|
-
(umask 077 && mkdir $tmp)
|
4134
|
-
} ||
|
4135
|
-
{
|
4136
|
-
echo "$me: cannot create a temporary directory in ." >&2
|
4137
|
-
{ (exit 1); exit 1; }
|
4138
|
-
}
|
4139
|
-
|
4140
|
-
_ACEOF
|
4141
|
-
|
4142
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
4143
|
-
|
4144
|
-
#
|
4145
|
-
# CONFIG_FILES section.
|
4146
|
-
#
|
4147
|
-
|
4148
|
-
# No need to generate the scripts if there are no CONFIG_FILES.
|
4149
|
-
# This happens for instance when ./config.status config.h
|
4150
|
-
if test -n "\$CONFIG_FILES"; then
|
4151
|
-
# Protect against being on the right side of a sed subst in config.status.
|
4152
|
-
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
4153
|
-
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
4154
|
-
s,@SHELL@,$SHELL,;t t
|
4155
|
-
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
4156
|
-
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
4157
|
-
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
4158
|
-
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
4159
|
-
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
4160
|
-
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
4161
|
-
s,@exec_prefix@,$exec_prefix,;t t
|
4162
|
-
s,@prefix@,$prefix,;t t
|
4163
|
-
s,@program_transform_name@,$program_transform_name,;t t
|
4164
|
-
s,@bindir@,$bindir,;t t
|
4165
|
-
s,@sbindir@,$sbindir,;t t
|
4166
|
-
s,@libexecdir@,$libexecdir,;t t
|
4167
|
-
s,@datadir@,$datadir,;t t
|
4168
|
-
s,@sysconfdir@,$sysconfdir,;t t
|
4169
|
-
s,@sharedstatedir@,$sharedstatedir,;t t
|
4170
|
-
s,@localstatedir@,$localstatedir,;t t
|
4171
|
-
s,@libdir@,$libdir,;t t
|
4172
|
-
s,@includedir@,$includedir,;t t
|
4173
|
-
s,@oldincludedir@,$oldincludedir,;t t
|
4174
|
-
s,@infodir@,$infodir,;t t
|
4175
|
-
s,@mandir@,$mandir,;t t
|
4176
|
-
s,@build_alias@,$build_alias,;t t
|
4177
|
-
s,@host_alias@,$host_alias,;t t
|
4178
|
-
s,@target_alias@,$target_alias,;t t
|
4179
|
-
s,@DEFS@,$DEFS,;t t
|
4180
|
-
s,@ECHO_C@,$ECHO_C,;t t
|
4181
|
-
s,@ECHO_N@,$ECHO_N,;t t
|
4182
|
-
s,@ECHO_T@,$ECHO_T,;t t
|
4183
|
-
s,@LIBS@,$LIBS,;t t
|
4184
|
-
s,@CC@,$CC,;t t
|
4185
|
-
s,@CFLAGS@,$CFLAGS,;t t
|
4186
|
-
s,@LDFLAGS@,$LDFLAGS,;t t
|
4187
|
-
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
4188
|
-
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
4189
|
-
s,@EXEEXT@,$EXEEXT,;t t
|
4190
|
-
s,@OBJEXT@,$OBJEXT,;t t
|
4191
|
-
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
4192
|
-
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
4193
|
-
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
4194
|
-
s,@SET_MAKE@,$SET_MAKE,;t t
|
4195
|
-
s,@CPP@,$CPP,;t t
|
4196
|
-
s,@EGREP@,$EGREP,;t t
|
4197
|
-
s,@LIBOBJS@,$LIBOBJS,;t t
|
4198
|
-
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
4199
|
-
CEOF
|
4200
|
-
|
4201
|
-
_ACEOF
|
4202
|
-
|
4203
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4204
|
-
# Split the substitutions into bite-sized pieces for seds with
|
4205
|
-
# small command number limits, like on Digital OSF/1 and HP-UX.
|
4206
|
-
ac_max_sed_lines=48
|
4207
|
-
ac_sed_frag=1 # Number of current file.
|
4208
|
-
ac_beg=1 # First line for current file.
|
4209
|
-
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
4210
|
-
ac_more_lines=:
|
4211
|
-
ac_sed_cmds=
|
4212
|
-
while $ac_more_lines; do
|
4213
|
-
if test $ac_beg -gt 1; then
|
4214
|
-
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
4215
|
-
else
|
4216
|
-
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
4217
|
-
fi
|
4218
|
-
if test ! -s $tmp/subs.frag; then
|
4219
|
-
ac_more_lines=false
|
4220
|
-
else
|
4221
|
-
# The purpose of the label and of the branching condition is to
|
4222
|
-
# speed up the sed processing (if there are no `@' at all, there
|
4223
|
-
# is no need to browse any of the substitutions).
|
4224
|
-
# These are the two extra sed commands mentioned above.
|
4225
|
-
(echo ':t
|
4226
|
-
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
4227
|
-
if test -z "$ac_sed_cmds"; then
|
4228
|
-
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
4229
|
-
else
|
4230
|
-
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
4231
|
-
fi
|
4232
|
-
ac_sed_frag=`expr $ac_sed_frag + 1`
|
4233
|
-
ac_beg=$ac_end
|
4234
|
-
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
4235
|
-
fi
|
4236
|
-
done
|
4237
|
-
if test -z "$ac_sed_cmds"; then
|
4238
|
-
ac_sed_cmds=cat
|
4239
|
-
fi
|
4240
|
-
fi # test -n "$CONFIG_FILES"
|
4241
|
-
|
4242
|
-
_ACEOF
|
4243
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4244
|
-
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
4245
|
-
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
4246
|
-
case $ac_file in
|
4247
|
-
- | *:- | *:-:* ) # input from stdin
|
4248
|
-
cat >$tmp/stdin
|
4249
|
-
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
4250
|
-
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
4251
|
-
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
4252
|
-
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
4253
|
-
* ) ac_file_in=$ac_file.in ;;
|
4254
|
-
esac
|
4255
|
-
|
4256
|
-
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
4257
|
-
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
4258
|
-
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4259
|
-
X"$ac_file" : 'X\(//\)[^/]' \| \
|
4260
|
-
X"$ac_file" : 'X\(//\)$' \| \
|
4261
|
-
X"$ac_file" : 'X\(/\)' \| \
|
4262
|
-
. : '\(.\)' 2>/dev/null ||
|
4263
|
-
echo X"$ac_file" |
|
4264
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4265
|
-
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4266
|
-
/^X\(\/\/\)$/{ s//\1/; q; }
|
4267
|
-
/^X\(\/\).*/{ s//\1/; q; }
|
4268
|
-
s/.*/./; q'`
|
4269
|
-
{ if $as_mkdir_p; then
|
4270
|
-
mkdir -p "$ac_dir"
|
4271
|
-
else
|
4272
|
-
as_dir="$ac_dir"
|
4273
|
-
as_dirs=
|
4274
|
-
while test ! -d "$as_dir"; do
|
4275
|
-
as_dirs="$as_dir $as_dirs"
|
4276
|
-
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
4277
|
-
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4278
|
-
X"$as_dir" : 'X\(//\)[^/]' \| \
|
4279
|
-
X"$as_dir" : 'X\(//\)$' \| \
|
4280
|
-
X"$as_dir" : 'X\(/\)' \| \
|
4281
|
-
. : '\(.\)' 2>/dev/null ||
|
4282
|
-
echo X"$as_dir" |
|
4283
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4284
|
-
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4285
|
-
/^X\(\/\/\)$/{ s//\1/; q; }
|
4286
|
-
/^X\(\/\).*/{ s//\1/; q; }
|
4287
|
-
s/.*/./; q'`
|
4288
|
-
done
|
4289
|
-
test ! -n "$as_dirs" || mkdir $as_dirs
|
4290
|
-
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
4291
|
-
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
4292
|
-
{ (exit 1); exit 1; }; }; }
|
4293
|
-
|
4294
|
-
ac_builddir=.
|
4295
|
-
|
4296
|
-
if test "$ac_dir" != .; then
|
4297
|
-
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
4298
|
-
# A "../" for each directory in $ac_dir_suffix.
|
4299
|
-
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
4300
|
-
else
|
4301
|
-
ac_dir_suffix= ac_top_builddir=
|
4302
|
-
fi
|
4303
|
-
|
4304
|
-
case $srcdir in
|
4305
|
-
.) # No --srcdir option. We are building in place.
|
4306
|
-
ac_srcdir=.
|
4307
|
-
if test -z "$ac_top_builddir"; then
|
4308
|
-
ac_top_srcdir=.
|
4309
|
-
else
|
4310
|
-
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
4311
|
-
fi ;;
|
4312
|
-
[\\/]* | ?:[\\/]* ) # Absolute path.
|
4313
|
-
ac_srcdir=$srcdir$ac_dir_suffix;
|
4314
|
-
ac_top_srcdir=$srcdir ;;
|
4315
|
-
*) # Relative path.
|
4316
|
-
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
4317
|
-
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
4318
|
-
esac
|
4319
|
-
|
4320
|
-
# Do not use `cd foo && pwd` to compute absolute paths, because
|
4321
|
-
# the directories may not exist.
|
4322
|
-
case `pwd` in
|
4323
|
-
.) ac_abs_builddir="$ac_dir";;
|
4324
|
-
*)
|
4325
|
-
case "$ac_dir" in
|
4326
|
-
.) ac_abs_builddir=`pwd`;;
|
4327
|
-
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
4328
|
-
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
4329
|
-
esac;;
|
4330
|
-
esac
|
4331
|
-
case $ac_abs_builddir in
|
4332
|
-
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
4333
|
-
*)
|
4334
|
-
case ${ac_top_builddir}. in
|
4335
|
-
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
4336
|
-
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
4337
|
-
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
4338
|
-
esac;;
|
4339
|
-
esac
|
4340
|
-
case $ac_abs_builddir in
|
4341
|
-
.) ac_abs_srcdir=$ac_srcdir;;
|
4342
|
-
*)
|
4343
|
-
case $ac_srcdir in
|
4344
|
-
.) ac_abs_srcdir=$ac_abs_builddir;;
|
4345
|
-
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
4346
|
-
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
4347
|
-
esac;;
|
4348
|
-
esac
|
4349
|
-
case $ac_abs_builddir in
|
4350
|
-
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
4351
|
-
*)
|
4352
|
-
case $ac_top_srcdir in
|
4353
|
-
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
4354
|
-
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
4355
|
-
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
4356
|
-
esac;;
|
4357
|
-
esac
|
4358
|
-
|
4359
|
-
|
4360
|
-
case $INSTALL in
|
4361
|
-
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
4362
|
-
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
4363
|
-
esac
|
4364
|
-
|
4365
|
-
if test x"$ac_file" != x-; then
|
4366
|
-
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
4367
|
-
echo "$as_me: creating $ac_file" >&6;}
|
4368
|
-
rm -f "$ac_file"
|
4369
|
-
fi
|
4370
|
-
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
4371
|
-
# use $as_me), people would be surprised to read:
|
4372
|
-
# /* config.h. Generated by config.status. */
|
4373
|
-
if test x"$ac_file" = x-; then
|
4374
|
-
configure_input=
|
4375
|
-
else
|
4376
|
-
configure_input="$ac_file. "
|
4377
|
-
fi
|
4378
|
-
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
4379
|
-
sed 's,.*/,,'` by configure."
|
4380
|
-
|
4381
|
-
# First look for the input files in the build tree, otherwise in the
|
4382
|
-
# src tree.
|
4383
|
-
ac_file_inputs=`IFS=:
|
4384
|
-
for f in $ac_file_in; do
|
4385
|
-
case $f in
|
4386
|
-
-) echo $tmp/stdin ;;
|
4387
|
-
[\\/$]*)
|
4388
|
-
# Absolute (can't be DOS-style, as IFS=:)
|
4389
|
-
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
4390
|
-
echo "$as_me: error: cannot find input file: $f" >&2;}
|
4391
|
-
{ (exit 1); exit 1; }; }
|
4392
|
-
echo "$f";;
|
4393
|
-
*) # Relative
|
4394
|
-
if test -f "$f"; then
|
4395
|
-
# Build tree
|
4396
|
-
echo "$f"
|
4397
|
-
elif test -f "$srcdir/$f"; then
|
4398
|
-
# Source tree
|
4399
|
-
echo "$srcdir/$f"
|
4400
|
-
else
|
4401
|
-
# /dev/null tree
|
4402
|
-
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
4403
|
-
echo "$as_me: error: cannot find input file: $f" >&2;}
|
4404
|
-
{ (exit 1); exit 1; }; }
|
4405
|
-
fi;;
|
4406
|
-
esac
|
4407
|
-
done` || { (exit 1); exit 1; }
|
4408
|
-
_ACEOF
|
4409
|
-
cat >>$CONFIG_STATUS <<_ACEOF
|
4410
|
-
sed "$ac_vpsub
|
4411
|
-
$extrasub
|
4412
|
-
_ACEOF
|
4413
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4414
|
-
:t
|
4415
|
-
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
4416
|
-
s,@configure_input@,$configure_input,;t t
|
4417
|
-
s,@srcdir@,$ac_srcdir,;t t
|
4418
|
-
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
4419
|
-
s,@top_srcdir@,$ac_top_srcdir,;t t
|
4420
|
-
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
4421
|
-
s,@builddir@,$ac_builddir,;t t
|
4422
|
-
s,@abs_builddir@,$ac_abs_builddir,;t t
|
4423
|
-
s,@top_builddir@,$ac_top_builddir,;t t
|
4424
|
-
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
4425
|
-
s,@INSTALL@,$ac_INSTALL,;t t
|
4426
|
-
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
4427
|
-
rm -f $tmp/stdin
|
4428
|
-
if test x"$ac_file" != x-; then
|
4429
|
-
mv $tmp/out $ac_file
|
4430
|
-
else
|
4431
|
-
cat $tmp/out
|
4432
|
-
rm -f $tmp/out
|
4433
|
-
fi
|
4434
|
-
|
4435
|
-
done
|
4436
|
-
_ACEOF
|
4437
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4438
|
-
|
4439
|
-
#
|
4440
|
-
# CONFIG_HEADER section.
|
4441
|
-
#
|
4442
|
-
|
4443
|
-
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
4444
|
-
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
4445
|
-
#
|
4446
|
-
# ac_d sets the value in "#define NAME VALUE" lines.
|
4447
|
-
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
4448
|
-
ac_dB='[ ].*$,\1#\2'
|
4449
|
-
ac_dC=' '
|
4450
|
-
ac_dD=',;t'
|
4451
|
-
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
4452
|
-
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
4453
|
-
ac_uB='$,\1#\2define\3'
|
4454
|
-
ac_uC=' '
|
4455
|
-
ac_uD=',;t'
|
4456
|
-
|
4457
|
-
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
4458
|
-
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
4459
|
-
case $ac_file in
|
4460
|
-
- | *:- | *:-:* ) # input from stdin
|
4461
|
-
cat >$tmp/stdin
|
4462
|
-
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
4463
|
-
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
4464
|
-
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
4465
|
-
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
4466
|
-
* ) ac_file_in=$ac_file.in ;;
|
4467
|
-
esac
|
4468
|
-
|
4469
|
-
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
4470
|
-
echo "$as_me: creating $ac_file" >&6;}
|
4471
|
-
|
4472
|
-
# First look for the input files in the build tree, otherwise in the
|
4473
|
-
# src tree.
|
4474
|
-
ac_file_inputs=`IFS=:
|
4475
|
-
for f in $ac_file_in; do
|
4476
|
-
case $f in
|
4477
|
-
-) echo $tmp/stdin ;;
|
4478
|
-
[\\/$]*)
|
4479
|
-
# Absolute (can't be DOS-style, as IFS=:)
|
4480
|
-
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
4481
|
-
echo "$as_me: error: cannot find input file: $f" >&2;}
|
4482
|
-
{ (exit 1); exit 1; }; }
|
4483
|
-
# Do quote $f, to prevent DOS paths from being IFS'd.
|
4484
|
-
echo "$f";;
|
4485
|
-
*) # Relative
|
4486
|
-
if test -f "$f"; then
|
4487
|
-
# Build tree
|
4488
|
-
echo "$f"
|
4489
|
-
elif test -f "$srcdir/$f"; then
|
4490
|
-
# Source tree
|
4491
|
-
echo "$srcdir/$f"
|
4492
|
-
else
|
4493
|
-
# /dev/null tree
|
4494
|
-
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
4495
|
-
echo "$as_me: error: cannot find input file: $f" >&2;}
|
4496
|
-
{ (exit 1); exit 1; }; }
|
4497
|
-
fi;;
|
4498
|
-
esac
|
4499
|
-
done` || { (exit 1); exit 1; }
|
4500
|
-
# Remove the trailing spaces.
|
4501
|
-
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
4502
|
-
|
4503
|
-
_ACEOF
|
4504
|
-
|
4505
|
-
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
4506
|
-
# `conftest.undefs', that substitutes the proper values into
|
4507
|
-
# config.h.in to produce config.h. The first handles `#define'
|
4508
|
-
# templates, and the second `#undef' templates.
|
4509
|
-
# And first: Protect against being on the right side of a sed subst in
|
4510
|
-
# config.status. Protect against being in an unquoted here document
|
4511
|
-
# in config.status.
|
4512
|
-
rm -f conftest.defines conftest.undefs
|
4513
|
-
# Using a here document instead of a string reduces the quoting nightmare.
|
4514
|
-
# Putting comments in sed scripts is not portable.
|
4515
|
-
#
|
4516
|
-
# `end' is used to avoid that the second main sed command (meant for
|
4517
|
-
# 0-ary CPP macros) applies to n-ary macro definitions.
|
4518
|
-
# See the Autoconf documentation for `clear'.
|
4519
|
-
cat >confdef2sed.sed <<\_ACEOF
|
4520
|
-
s/[\\&,]/\\&/g
|
4521
|
-
s,[\\$`],\\&,g
|
4522
|
-
t clear
|
4523
|
-
: clear
|
4524
|
-
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
4525
|
-
t end
|
4526
|
-
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
4527
|
-
: end
|
4528
|
-
_ACEOF
|
4529
|
-
# If some macros were called several times there might be several times
|
4530
|
-
# the same #defines, which is useless. Nevertheless, we may not want to
|
4531
|
-
# sort them, since we want the *last* AC-DEFINE to be honored.
|
4532
|
-
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
4533
|
-
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
4534
|
-
rm -f confdef2sed.sed
|
4535
|
-
|
4536
|
-
# This sed command replaces #undef with comments. This is necessary, for
|
4537
|
-
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
4538
|
-
# on some systems where configure will not decide to define it.
|
4539
|
-
cat >>conftest.undefs <<\_ACEOF
|
4540
|
-
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
4541
|
-
_ACEOF
|
4542
|
-
|
4543
|
-
# Break up conftest.defines because some shells have a limit on the size
|
4544
|
-
# of here documents, and old seds have small limits too (100 cmds).
|
4545
|
-
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
4546
|
-
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
4547
|
-
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
4548
|
-
echo ' :' >>$CONFIG_STATUS
|
4549
|
-
rm -f conftest.tail
|
4550
|
-
while grep . conftest.defines >/dev/null
|
4551
|
-
do
|
4552
|
-
# Write a limited-size here document to $tmp/defines.sed.
|
4553
|
-
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
4554
|
-
# Speed up: don't consider the non `#define' lines.
|
4555
|
-
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
4556
|
-
# Work around the forget-to-reset-the-flag bug.
|
4557
|
-
echo 't clr' >>$CONFIG_STATUS
|
4558
|
-
echo ': clr' >>$CONFIG_STATUS
|
4559
|
-
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
4560
|
-
echo 'CEOF
|
4561
|
-
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
4562
|
-
rm -f $tmp/in
|
4563
|
-
mv $tmp/out $tmp/in
|
4564
|
-
' >>$CONFIG_STATUS
|
4565
|
-
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
4566
|
-
rm -f conftest.defines
|
4567
|
-
mv conftest.tail conftest.defines
|
4568
|
-
done
|
4569
|
-
rm -f conftest.defines
|
4570
|
-
echo ' fi # grep' >>$CONFIG_STATUS
|
4571
|
-
echo >>$CONFIG_STATUS
|
4572
|
-
|
4573
|
-
# Break up conftest.undefs because some shells have a limit on the size
|
4574
|
-
# of here documents, and old seds have small limits too (100 cmds).
|
4575
|
-
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
4576
|
-
rm -f conftest.tail
|
4577
|
-
while grep . conftest.undefs >/dev/null
|
4578
|
-
do
|
4579
|
-
# Write a limited-size here document to $tmp/undefs.sed.
|
4580
|
-
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
4581
|
-
# Speed up: don't consider the non `#undef'
|
4582
|
-
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
4583
|
-
# Work around the forget-to-reset-the-flag bug.
|
4584
|
-
echo 't clr' >>$CONFIG_STATUS
|
4585
|
-
echo ': clr' >>$CONFIG_STATUS
|
4586
|
-
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
4587
|
-
echo 'CEOF
|
4588
|
-
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
4589
|
-
rm -f $tmp/in
|
4590
|
-
mv $tmp/out $tmp/in
|
4591
|
-
' >>$CONFIG_STATUS
|
4592
|
-
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
4593
|
-
rm -f conftest.undefs
|
4594
|
-
mv conftest.tail conftest.undefs
|
4595
|
-
done
|
4596
|
-
rm -f conftest.undefs
|
4597
|
-
|
4598
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4599
|
-
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
4600
|
-
# use $as_me), people would be surprised to read:
|
4601
|
-
# /* config.h. Generated by config.status. */
|
4602
|
-
if test x"$ac_file" = x-; then
|
4603
|
-
echo "/* Generated by configure. */" >$tmp/config.h
|
4604
|
-
else
|
4605
|
-
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
4606
|
-
fi
|
4607
|
-
cat $tmp/in >>$tmp/config.h
|
4608
|
-
rm -f $tmp/in
|
4609
|
-
if test x"$ac_file" != x-; then
|
4610
|
-
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
4611
|
-
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
4612
|
-
echo "$as_me: $ac_file is unchanged" >&6;}
|
4613
|
-
else
|
4614
|
-
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
4615
|
-
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4616
|
-
X"$ac_file" : 'X\(//\)[^/]' \| \
|
4617
|
-
X"$ac_file" : 'X\(//\)$' \| \
|
4618
|
-
X"$ac_file" : 'X\(/\)' \| \
|
4619
|
-
. : '\(.\)' 2>/dev/null ||
|
4620
|
-
echo X"$ac_file" |
|
4621
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4622
|
-
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4623
|
-
/^X\(\/\/\)$/{ s//\1/; q; }
|
4624
|
-
/^X\(\/\).*/{ s//\1/; q; }
|
4625
|
-
s/.*/./; q'`
|
4626
|
-
{ if $as_mkdir_p; then
|
4627
|
-
mkdir -p "$ac_dir"
|
4628
|
-
else
|
4629
|
-
as_dir="$ac_dir"
|
4630
|
-
as_dirs=
|
4631
|
-
while test ! -d "$as_dir"; do
|
4632
|
-
as_dirs="$as_dir $as_dirs"
|
4633
|
-
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
4634
|
-
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4635
|
-
X"$as_dir" : 'X\(//\)[^/]' \| \
|
4636
|
-
X"$as_dir" : 'X\(//\)$' \| \
|
4637
|
-
X"$as_dir" : 'X\(/\)' \| \
|
4638
|
-
. : '\(.\)' 2>/dev/null ||
|
4639
|
-
echo X"$as_dir" |
|
4640
|
-
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4641
|
-
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4642
|
-
/^X\(\/\/\)$/{ s//\1/; q; }
|
4643
|
-
/^X\(\/\).*/{ s//\1/; q; }
|
4644
|
-
s/.*/./; q'`
|
4645
|
-
done
|
4646
|
-
test ! -n "$as_dirs" || mkdir $as_dirs
|
4647
|
-
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
4648
|
-
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
4649
|
-
{ (exit 1); exit 1; }; }; }
|
4650
|
-
|
4651
|
-
rm -f $ac_file
|
4652
|
-
mv $tmp/config.h $ac_file
|
4653
|
-
fi
|
4654
|
-
else
|
4655
|
-
cat $tmp/config.h
|
4656
|
-
rm -f $tmp/config.h
|
4657
|
-
fi
|
4658
|
-
done
|
4659
|
-
_ACEOF
|
4660
|
-
|
4661
|
-
cat >>$CONFIG_STATUS <<\_ACEOF
|
4662
|
-
|
4663
|
-
{ (exit 0); exit 0; }
|
4664
|
-
_ACEOF
|
4665
|
-
chmod +x $CONFIG_STATUS
|
4666
|
-
ac_clean_files=$ac_clean_files_save
|
4667
|
-
|
4668
|
-
|
4669
|
-
# configure is writing to config.log, and then calls config.status.
|
4670
|
-
# config.status does its own redirection, appending to config.log.
|
4671
|
-
# Unfortunately, on DOS this fails, as config.log is still kept open
|
4672
|
-
# by configure, so config.status won't be able to write to it; its
|
4673
|
-
# output is simply discarded. So we exec the FD to /dev/null,
|
4674
|
-
# effectively closing config.log, so it can be properly (re)opened and
|
4675
|
-
# appended to by config.status. When coming back to configure, we
|
4676
|
-
# need to make the FD available again.
|
4677
|
-
if test "$no_create" != yes; then
|
4678
|
-
ac_cs_success=:
|
4679
|
-
ac_config_status_args=
|
4680
|
-
test "$silent" = yes &&
|
4681
|
-
ac_config_status_args="$ac_config_status_args --quiet"
|
4682
|
-
exec 5>/dev/null
|
4683
|
-
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
4684
|
-
exec 5>>config.log
|
4685
|
-
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
4686
|
-
# would make configure fail if this is the last instruction.
|
4687
|
-
$ac_cs_success || { (exit 1); exit 1; }
|
4688
|
-
fi
|
4689
|
-
|