pdf2json 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/.gitignore +20 -0
  2. data/README.markdown +1 -1
  3. data/ext/extconf.rb +1 -1
  4. data/pdf2json.gemspec +1 -1
  5. metadata +4 -103
  6. data/pdf2json-0.52-source/Makefile +0 -84
  7. data/pdf2json-0.52-source/aconf.h +0 -42
  8. data/pdf2json-0.52-source/config.log +0 -1259
  9. data/pdf2json-0.52-source/config.status +0 -1050
  10. data/pdf2json-0.52-source/fofi/FoFiBase.o +0 -0
  11. data/pdf2json-0.52-source/fofi/FoFiEncodings.o +0 -0
  12. data/pdf2json-0.52-source/fofi/FoFiTrueType.o +0 -0
  13. data/pdf2json-0.52-source/fofi/FoFiType1.o +0 -0
  14. data/pdf2json-0.52-source/fofi/FoFiType1C.o +0 -0
  15. data/pdf2json-0.52-source/fofi/libfofi.a +0 -0
  16. data/pdf2json-0.52-source/goo/FixedPoint.o +0 -0
  17. data/pdf2json-0.52-source/goo/GHash.o +0 -0
  18. data/pdf2json-0.52-source/goo/GList.o +0 -0
  19. data/pdf2json-0.52-source/goo/GString.o +0 -0
  20. data/pdf2json-0.52-source/goo/ImgWriter.o +0 -0
  21. data/pdf2json-0.52-source/goo/JpegWriter.o +0 -0
  22. data/pdf2json-0.52-source/goo/PNGWriter.o +0 -0
  23. data/pdf2json-0.52-source/goo/gfile.o +0 -0
  24. data/pdf2json-0.52-source/goo/gmem.o +0 -0
  25. data/pdf2json-0.52-source/goo/gmempp.o +0 -0
  26. data/pdf2json-0.52-source/goo/libGoo.a +0 -0
  27. data/pdf2json-0.52-source/goo/parseargs.o +0 -0
  28. data/pdf2json-0.52-source/splash/Splash.o +0 -0
  29. data/pdf2json-0.52-source/splash/SplashBitmap.o +0 -0
  30. data/pdf2json-0.52-source/splash/SplashClip.o +0 -0
  31. data/pdf2json-0.52-source/splash/SplashFTFont.o +0 -0
  32. data/pdf2json-0.52-source/splash/SplashFTFontEngine.o +0 -0
  33. data/pdf2json-0.52-source/splash/SplashFTFontFile.o +0 -0
  34. data/pdf2json-0.52-source/splash/SplashFont.o +0 -0
  35. data/pdf2json-0.52-source/splash/SplashFontEngine.o +0 -0
  36. data/pdf2json-0.52-source/splash/SplashFontFile.o +0 -0
  37. data/pdf2json-0.52-source/splash/SplashFontFileID.o +0 -0
  38. data/pdf2json-0.52-source/splash/SplashPath.o +0 -0
  39. data/pdf2json-0.52-source/splash/SplashPattern.o +0 -0
  40. data/pdf2json-0.52-source/splash/SplashScreen.o +0 -0
  41. data/pdf2json-0.52-source/splash/SplashState.o +0 -0
  42. data/pdf2json-0.52-source/splash/SplashT1Font.o +0 -0
  43. data/pdf2json-0.52-source/splash/SplashT1FontEngine.o +0 -0
  44. data/pdf2json-0.52-source/splash/SplashT1FontFile.o +0 -0
  45. data/pdf2json-0.52-source/splash/SplashXPath.o +0 -0
  46. data/pdf2json-0.52-source/splash/SplashXPathScanner.o +0 -0
  47. data/pdf2json-0.52-source/splash/libsplash.a +0 -0
  48. data/pdf2json-0.52-source/src/ImgOutputDev.o +0 -0
  49. data/pdf2json-0.52-source/src/XmlFonts.o +0 -0
  50. data/pdf2json-0.52-source/src/XmlLinks.o +0 -0
  51. data/pdf2json-0.52-source/src/pdf2json +0 -0
  52. data/pdf2json-0.52-source/src/pdf2json.o +0 -0
  53. data/pdf2json-0.52-source/xpdf/Annot.o +0 -0
  54. data/pdf2json-0.52-source/xpdf/Array.o +0 -0
  55. data/pdf2json-0.52-source/xpdf/BuiltinFont.o +0 -0
  56. data/pdf2json-0.52-source/xpdf/BuiltinFontTables.o +0 -0
  57. data/pdf2json-0.52-source/xpdf/CMap.o +0 -0
  58. data/pdf2json-0.52-source/xpdf/Catalog.o +0 -0
  59. data/pdf2json-0.52-source/xpdf/CharCodeToUnicode.o +0 -0
  60. data/pdf2json-0.52-source/xpdf/Decrypt.o +0 -0
  61. data/pdf2json-0.52-source/xpdf/Dict.o +0 -0
  62. data/pdf2json-0.52-source/xpdf/Error.o +0 -0
  63. data/pdf2json-0.52-source/xpdf/FontEncodingTables.o +0 -0
  64. data/pdf2json-0.52-source/xpdf/Function.o +0 -0
  65. data/pdf2json-0.52-source/xpdf/Gfx.o +0 -0
  66. data/pdf2json-0.52-source/xpdf/GfxFont.o +0 -0
  67. data/pdf2json-0.52-source/xpdf/GfxState.o +0 -0
  68. data/pdf2json-0.52-source/xpdf/GlobalParams.o +0 -0
  69. data/pdf2json-0.52-source/xpdf/ImageOutputDev.o +0 -0
  70. data/pdf2json-0.52-source/xpdf/JArithmeticDecoder.o +0 -0
  71. data/pdf2json-0.52-source/xpdf/JBIG2Stream.o +0 -0
  72. data/pdf2json-0.52-source/xpdf/JPXStream.o +0 -0
  73. data/pdf2json-0.52-source/xpdf/Lexer.o +0 -0
  74. data/pdf2json-0.52-source/xpdf/Link.o +0 -0
  75. data/pdf2json-0.52-source/xpdf/Makefile +0 -232
  76. data/pdf2json-0.52-source/xpdf/NameToCharCode.o +0 -0
  77. data/pdf2json-0.52-source/xpdf/Object.o +0 -0
  78. data/pdf2json-0.52-source/xpdf/Outline.o +0 -0
  79. data/pdf2json-0.52-source/xpdf/OutputDev.o +0 -0
  80. data/pdf2json-0.52-source/xpdf/PDFDoc.o +0 -0
  81. data/pdf2json-0.52-source/xpdf/PDFDocEncoding.o +0 -0
  82. data/pdf2json-0.52-source/xpdf/PSOutputDev.o +0 -0
  83. data/pdf2json-0.52-source/xpdf/PSTokenizer.o +0 -0
  84. data/pdf2json-0.52-source/xpdf/Page.o +0 -0
  85. data/pdf2json-0.52-source/xpdf/Parser.o +0 -0
  86. data/pdf2json-0.52-source/xpdf/PreScanOutputDev.o +0 -0
  87. data/pdf2json-0.52-source/xpdf/SecurityHandler.o +0 -0
  88. data/pdf2json-0.52-source/xpdf/SplashOutputDev.o +0 -0
  89. data/pdf2json-0.52-source/xpdf/Stream.o +0 -0
  90. data/pdf2json-0.52-source/xpdf/TextOutputDev.o +0 -0
  91. data/pdf2json-0.52-source/xpdf/UnicodeMap.o +0 -0
  92. data/pdf2json-0.52-source/xpdf/UnicodeTypeTable.o +0 -0
  93. data/pdf2json-0.52-source/xpdf/XRef.o +0 -0
  94. data/pdf2json-0.52-source/xpdf/XpdfPluginAPI.o +0 -0
  95. data/pdf2json-0.52-source/xpdf/libXpdf.a +0 -0
  96. data/pdf2json-0.52-source/xpdf/pdffonts +0 -0
  97. data/pdf2json-0.52-source/xpdf/pdffonts.o +0 -0
  98. data/pdf2json-0.52-source/xpdf/pdfimages +0 -0
  99. data/pdf2json-0.52-source/xpdf/pdfimages.o +0 -0
  100. data/pdf2json-0.52-source/xpdf/pdfinfo +0 -0
  101. data/pdf2json-0.52-source/xpdf/pdfinfo.o +0 -0
  102. data/pdf2json-0.52-source/xpdf/pdftops +0 -0
  103. data/pdf2json-0.52-source/xpdf/pdftops.o +0 -0
  104. data/pdf2json-0.52-source/xpdf/pdftotext +0 -0
  105. data/pdf2json-0.52-source/xpdf/pdftotext.o +0 -0
@@ -1,1050 +0,0 @@
1
- #! /bin/sh
2
- # Generated by configure.
3
- # Run this file to recreate the current configuration.
4
- # Compiler output produced by configure, useful for debugging
5
- # configure, is in config.log if it exists.
6
-
7
- debug=false
8
- ac_cs_recheck=false
9
- ac_cs_silent=false
10
-
11
- SHELL=${CONFIG_SHELL-/bin/sh}
12
- export SHELL
13
- ## -------------------- ##
14
- ## M4sh Initialization. ##
15
- ## -------------------- ##
16
-
17
- # Be more Bourne compatible
18
- DUALCASE=1; export DUALCASE # for MKS sh
19
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
- emulate sh
21
- NULLCMD=:
22
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
- # is contrary to our usage. Disable this feature.
24
- alias -g '${1+"$@"}'='"$@"'
25
- setopt NO_GLOB_SUBST
26
- else
27
- case `(set -o) 2>/dev/null` in #(
28
- *posix*) :
29
- set -o posix ;; #(
30
- *) :
31
- ;;
32
- esac
33
- fi
34
-
35
-
36
- as_nl='
37
- '
38
- export as_nl
39
- # Printing a long string crashes Solaris 7 /usr/bin/printf.
40
- as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
- as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
- as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
- # Prefer a ksh shell builtin over an external printf program on Solaris,
44
- # but without wasting forks for bash or zsh.
45
- if test -z "$BASH_VERSION$ZSH_VERSION" \
46
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
- as_echo='print -r --'
48
- as_echo_n='print -rn --'
49
- elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
- as_echo='printf %s\n'
51
- as_echo_n='printf %s'
52
- else
53
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
- as_echo_n='/usr/ucb/echo -n'
56
- else
57
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
- as_echo_n_body='eval
59
- arg=$1;
60
- case $arg in #(
61
- *"$as_nl"*)
62
- expr "X$arg" : "X\\(.*\\)$as_nl";
63
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
- esac;
65
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
- '
67
- export as_echo_n_body
68
- as_echo_n='sh -c $as_echo_n_body as_echo'
69
- fi
70
- export as_echo_body
71
- as_echo='sh -c $as_echo_body as_echo'
72
- fi
73
-
74
- # The user is always right.
75
- if test "${PATH_SEPARATOR+set}" != set; then
76
- PATH_SEPARATOR=:
77
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
- PATH_SEPARATOR=';'
80
- }
81
- fi
82
-
83
-
84
- # IFS
85
- # We need space, tab and new line, in precisely that order. Quoting is
86
- # there to prevent editors from complaining about space-tab.
87
- # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
- # splitting by setting IFS to empty value.)
89
- IFS=" "" $as_nl"
90
-
91
- # Find who we are. Look in the path if we contain no directory separator.
92
- as_myself=
93
- case $0 in #((
94
- *[\\/]* ) as_myself=$0 ;;
95
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
- for as_dir in $PATH
97
- do
98
- IFS=$as_save_IFS
99
- test -z "$as_dir" && as_dir=.
100
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
- done
102
- IFS=$as_save_IFS
103
-
104
- ;;
105
- esac
106
- # We did not find ourselves, most probably we were run as `sh COMMAND'
107
- # in which case we are not to be found in the path.
108
- if test "x$as_myself" = x; then
109
- as_myself=$0
110
- fi
111
- if test ! -f "$as_myself"; then
112
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
- exit 1
114
- fi
115
-
116
- # Unset variables that we do not need and which cause bugs (e.g. in
117
- # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
- # suppresses any "Segmentation fault" message there. '((' could
119
- # trigger a bug in pdksh 5.2.14.
120
- for as_var in BASH_ENV ENV MAIL MAILPATH
121
- do eval test x\${$as_var+set} = xset \
122
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
- done
124
- PS1='$ '
125
- PS2='> '
126
- PS4='+ '
127
-
128
- # NLS nuisances.
129
- LC_ALL=C
130
- export LC_ALL
131
- LANGUAGE=C
132
- export LANGUAGE
133
-
134
- # CDPATH.
135
- (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
-
137
-
138
- # as_fn_error STATUS ERROR [LINENO LOG_FD]
139
- # ----------------------------------------
140
- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141
- # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142
- # script with STATUS, using 1 if that was 0.
143
- as_fn_error ()
144
- {
145
- as_status=$1; test $as_status -eq 0 && as_status=1
146
- if test "$4"; then
147
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149
- fi
150
- $as_echo "$as_me: error: $2" >&2
151
- as_fn_exit $as_status
152
- } # as_fn_error
153
-
154
-
155
- # as_fn_set_status STATUS
156
- # -----------------------
157
- # Set $? to STATUS, without forking.
158
- as_fn_set_status ()
159
- {
160
- return $1
161
- } # as_fn_set_status
162
-
163
- # as_fn_exit STATUS
164
- # -----------------
165
- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166
- as_fn_exit ()
167
- {
168
- set +e
169
- as_fn_set_status $1
170
- exit $1
171
- } # as_fn_exit
172
-
173
- # as_fn_unset VAR
174
- # ---------------
175
- # Portably unset VAR.
176
- as_fn_unset ()
177
- {
178
- { eval $1=; unset $1;}
179
- }
180
- as_unset=as_fn_unset
181
- # as_fn_append VAR VALUE
182
- # ----------------------
183
- # Append the text in VALUE to the end of the definition contained in VAR. Take
184
- # advantage of any shell optimizations that allow amortized linear growth over
185
- # repeated appends, instead of the typical quadratic growth present in naive
186
- # implementations.
187
- if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188
- eval 'as_fn_append ()
189
- {
190
- eval $1+=\$2
191
- }'
192
- else
193
- as_fn_append ()
194
- {
195
- eval $1=\$$1\$2
196
- }
197
- fi # as_fn_append
198
-
199
- # as_fn_arith ARG...
200
- # ------------------
201
- # Perform arithmetic evaluation on the ARGs, and store the result in the
202
- # global $as_val. Take advantage of shells that can avoid forks. The arguments
203
- # must be portable across $(()) and expr.
204
- if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205
- eval 'as_fn_arith ()
206
- {
207
- as_val=$(( $* ))
208
- }'
209
- else
210
- as_fn_arith ()
211
- {
212
- as_val=`expr "$@" || test $? -eq 1`
213
- }
214
- fi # as_fn_arith
215
-
216
-
217
- if expr a : '\(a\)' >/dev/null 2>&1 &&
218
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
219
- as_expr=expr
220
- else
221
- as_expr=false
222
- fi
223
-
224
- if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225
- as_basename=basename
226
- else
227
- as_basename=false
228
- fi
229
-
230
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231
- as_dirname=dirname
232
- else
233
- as_dirname=false
234
- fi
235
-
236
- as_me=`$as_basename -- "$0" ||
237
- $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238
- X"$0" : 'X\(//\)$' \| \
239
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240
- $as_echo X/"$0" |
241
- sed '/^.*\/\([^/][^/]*\)\/*$/{
242
- s//\1/
243
- q
244
- }
245
- /^X\/\(\/\/\)$/{
246
- s//\1/
247
- q
248
- }
249
- /^X\/\(\/\).*/{
250
- s//\1/
251
- q
252
- }
253
- s/.*/./; q'`
254
-
255
- # Avoid depending upon Character Ranges.
256
- as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257
- as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258
- as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259
- as_cr_digits='0123456789'
260
- as_cr_alnum=$as_cr_Letters$as_cr_digits
261
-
262
- ECHO_C= ECHO_N= ECHO_T=
263
- case `echo -n x` in #(((((
264
- -n*)
265
- case `echo 'xy\c'` in
266
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267
- xy) ECHO_C='\c';;
268
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
269
- ECHO_T=' ';;
270
- esac;;
271
- *)
272
- ECHO_N='-n';;
273
- esac
274
-
275
- rm -f conf$$ conf$$.exe conf$$.file
276
- if test -d conf$$.dir; then
277
- rm -f conf$$.dir/conf$$.file
278
- else
279
- rm -f conf$$.dir
280
- mkdir conf$$.dir 2>/dev/null
281
- fi
282
- if (echo >conf$$.file) 2>/dev/null; then
283
- if ln -s conf$$.file conf$$ 2>/dev/null; then
284
- as_ln_s='ln -s'
285
- # ... but there are two gotchas:
286
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288
- # In both cases, we have to default to `cp -p'.
289
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290
- as_ln_s='cp -p'
291
- elif ln conf$$.file conf$$ 2>/dev/null; then
292
- as_ln_s=ln
293
- else
294
- as_ln_s='cp -p'
295
- fi
296
- else
297
- as_ln_s='cp -p'
298
- fi
299
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300
- rmdir conf$$.dir 2>/dev/null
301
-
302
-
303
- # as_fn_mkdir_p
304
- # -------------
305
- # Create "$as_dir" as a directory, including parents if necessary.
306
- as_fn_mkdir_p ()
307
- {
308
-
309
- case $as_dir in #(
310
- -*) as_dir=./$as_dir;;
311
- esac
312
- test -d "$as_dir" || eval $as_mkdir_p || {
313
- as_dirs=
314
- while :; do
315
- case $as_dir in #(
316
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317
- *) as_qdir=$as_dir;;
318
- esac
319
- as_dirs="'$as_qdir' $as_dirs"
320
- as_dir=`$as_dirname -- "$as_dir" ||
321
- $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322
- X"$as_dir" : 'X\(//\)[^/]' \| \
323
- X"$as_dir" : 'X\(//\)$' \| \
324
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325
- $as_echo X"$as_dir" |
326
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327
- s//\1/
328
- q
329
- }
330
- /^X\(\/\/\)[^/].*/{
331
- s//\1/
332
- q
333
- }
334
- /^X\(\/\/\)$/{
335
- s//\1/
336
- q
337
- }
338
- /^X\(\/\).*/{
339
- s//\1/
340
- q
341
- }
342
- s/.*/./; q'`
343
- test -d "$as_dir" && break
344
- done
345
- test -z "$as_dirs" || eval "mkdir $as_dirs"
346
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347
-
348
-
349
- } # as_fn_mkdir_p
350
- if mkdir -p . 2>/dev/null; then
351
- as_mkdir_p='mkdir -p "$as_dir"'
352
- else
353
- test -d ./-p && rmdir ./-p
354
- as_mkdir_p=false
355
- fi
356
-
357
- if test -x / >/dev/null 2>&1; then
358
- as_test_x='test -x'
359
- else
360
- if ls -dL / >/dev/null 2>&1; then
361
- as_ls_L_option=L
362
- else
363
- as_ls_L_option=
364
- fi
365
- as_test_x='
366
- eval sh -c '\''
367
- if test -d "$1"; then
368
- test -d "$1/.";
369
- else
370
- case $1 in #(
371
- -*)set "./$1";;
372
- esac;
373
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
374
- ???[sx]*):;;*)false;;esac;fi
375
- '\'' sh
376
- '
377
- fi
378
- as_executable_p=$as_test_x
379
-
380
- # Sed expression to map a string onto a valid CPP name.
381
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
382
-
383
- # Sed expression to map a string onto a valid variable name.
384
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
385
-
386
-
387
- exec 6>&1
388
- ## ----------------------------------- ##
389
- ## Main body of $CONFIG_STATUS script. ##
390
- ## ----------------------------------- ##
391
- # Save the log message, to keep $0 and so on meaningful, and to
392
- # report actual input values of CONFIG_FILES etc. instead of their
393
- # values after options handling.
394
- ac_log="
395
- This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
396
- generated by GNU Autoconf 2.68. Invocation command line was
397
-
398
- CONFIG_FILES = $CONFIG_FILES
399
- CONFIG_HEADERS = $CONFIG_HEADERS
400
- CONFIG_LINKS = $CONFIG_LINKS
401
- CONFIG_COMMANDS = $CONFIG_COMMANDS
402
- $ $0 $@
403
-
404
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
405
- "
406
-
407
- # Files that config.status was made for.
408
- config_files=" Makefile fofi/Makefile goo/Makefile splash/Makefile src/Makefile xpdf/Makefile"
409
- config_headers=" aconf.h"
410
-
411
- ac_cs_usage="\
412
- \`$as_me' instantiates files and other configuration actions
413
- from templates according to the current configuration. Unless the files
414
- and actions are specified as TAGs, all are instantiated by default.
415
-
416
- Usage: $0 [OPTION]... [TAG]...
417
-
418
- -h, --help print this help, then exit
419
- -V, --version print version number and configuration settings, then exit
420
- --config print configuration, then exit
421
- -q, --quiet, --silent
422
- do not print progress messages
423
- -d, --debug don't remove temporary files
424
- --recheck update $as_me by reconfiguring in the same conditions
425
- --file=FILE[:TEMPLATE]
426
- instantiate the configuration file FILE
427
- --header=FILE[:TEMPLATE]
428
- instantiate the configuration header FILE
429
-
430
- Configuration files:
431
- $config_files
432
-
433
- Configuration headers:
434
- $config_headers
435
-
436
- Report bugs to <BUG-REPORT-ADDRESS>."
437
-
438
- ac_cs_config=""
439
- ac_cs_version="\
440
- FULL-PACKAGE-NAME config.status VERSION
441
- configured by ./configure, generated by GNU Autoconf 2.68,
442
- with options \"$ac_cs_config\"
443
-
444
- Copyright (C) 2010 Free Software Foundation, Inc.
445
- This config.status script is free software; the Free Software Foundation
446
- gives unlimited permission to copy, distribute and modify it."
447
-
448
- ac_pwd='/Users/zdennis/Downloads/pdf2json-0.52-source'
449
- srcdir='.'
450
- test -n "$AWK" || AWK=awk
451
- # The default lists apply if the user does not specify any file.
452
- ac_need_defaults=:
453
- while test $# != 0
454
- do
455
- case $1 in
456
- --*=?*)
457
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
458
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
459
- ac_shift=:
460
- ;;
461
- --*=)
462
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
463
- ac_optarg=
464
- ac_shift=:
465
- ;;
466
- *)
467
- ac_option=$1
468
- ac_optarg=$2
469
- ac_shift=shift
470
- ;;
471
- esac
472
-
473
- case $ac_option in
474
- # Handling of the options.
475
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
476
- ac_cs_recheck=: ;;
477
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
478
- $as_echo "$ac_cs_version"; exit ;;
479
- --config | --confi | --conf | --con | --co | --c )
480
- $as_echo "$ac_cs_config"; exit ;;
481
- --debug | --debu | --deb | --de | --d | -d )
482
- debug=: ;;
483
- --file | --fil | --fi | --f )
484
- $ac_shift
485
- case $ac_optarg in
486
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
487
- '') as_fn_error $? "missing file argument" ;;
488
- esac
489
- as_fn_append CONFIG_FILES " '$ac_optarg'"
490
- ac_need_defaults=false;;
491
- --header | --heade | --head | --hea )
492
- $ac_shift
493
- case $ac_optarg in
494
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
495
- esac
496
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
497
- ac_need_defaults=false;;
498
- --he | --h)
499
- # Conflict between --help and --header
500
- as_fn_error $? "ambiguous option: \`$1'
501
- Try \`$0 --help' for more information.";;
502
- --help | --hel | -h )
503
- $as_echo "$ac_cs_usage"; exit ;;
504
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
505
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
506
- ac_cs_silent=: ;;
507
-
508
- # This is an error.
509
- -*) as_fn_error $? "unrecognized option: \`$1'
510
- Try \`$0 --help' for more information." ;;
511
-
512
- *) as_fn_append ac_config_targets " $1"
513
- ac_need_defaults=false ;;
514
-
515
- esac
516
- shift
517
- done
518
-
519
- ac_configure_extra_args=
520
-
521
- if $ac_cs_silent; then
522
- exec 6>/dev/null
523
- ac_configure_extra_args="$ac_configure_extra_args --silent"
524
- fi
525
-
526
- if $ac_cs_recheck; then
527
- set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion
528
- shift
529
- $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
530
- CONFIG_SHELL='/bin/sh'
531
- export CONFIG_SHELL
532
- exec "$@"
533
- fi
534
-
535
- exec 5>>config.log
536
- {
537
- echo
538
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
539
- ## Running $as_me. ##
540
- _ASBOX
541
- $as_echo "$ac_log"
542
- } >&5
543
-
544
-
545
- # Handling of arguments.
546
- for ac_config_target in $ac_config_targets
547
- do
548
- case $ac_config_target in
549
- "aconf.h") CONFIG_HEADERS="$CONFIG_HEADERS aconf.h" ;;
550
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
551
- "fofi/Makefile") CONFIG_FILES="$CONFIG_FILES fofi/Makefile" ;;
552
- "goo/Makefile") CONFIG_FILES="$CONFIG_FILES goo/Makefile" ;;
553
- "splash/Makefile") CONFIG_FILES="$CONFIG_FILES splash/Makefile" ;;
554
- "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
555
- "xpdf/Makefile") CONFIG_FILES="$CONFIG_FILES xpdf/Makefile" ;;
556
-
557
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
558
- esac
559
- done
560
-
561
-
562
- # If the user did not use the arguments to specify the items to instantiate,
563
- # then the envvar interface is used. Set only those that are not.
564
- # We use the long form for the default assignment because of an extremely
565
- # bizarre bug on SunOS 4.1.3.
566
- if $ac_need_defaults; then
567
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
568
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
569
- fi
570
-
571
- # Have a temporary directory for convenience. Make it in the build tree
572
- # simply because there is no reason against having it here, and in addition,
573
- # creating and moving files from /tmp can sometimes cause problems.
574
- # Hook for its removal unless debugging.
575
- # Note that there is a small window in which the directory will not be cleaned:
576
- # after its creation but before its name has been assigned to `$tmp'.
577
- $debug ||
578
- {
579
- tmp= ac_tmp=
580
- trap 'exit_status=$?
581
- : "${ac_tmp:=$tmp}"
582
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
583
- ' 0
584
- trap 'as_fn_exit 1' 1 2 13 15
585
- }
586
- # Create a (secure) tmp directory for tmp files.
587
-
588
- {
589
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
590
- test -d "$tmp"
591
- } ||
592
- {
593
- tmp=./conf$$-$RANDOM
594
- (umask 077 && mkdir "$tmp")
595
- } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
596
- ac_tmp=$tmp
597
-
598
- # Set up the scripts for CONFIG_FILES section.
599
- # No need to generate them if there are no CONFIG_FILES.
600
- # This happens for instance with `./config.status config.h'.
601
- if test -n "$CONFIG_FILES"; then
602
-
603
-
604
- ac_cr=`echo X | tr X '\015'`
605
- # On cygwin, bash can eat \r inside `` if the user requested igncr.
606
- # But we know of no other shell where ac_cr would be empty at this
607
- # point, so we can use a bashism as a fallback.
608
- if test "x$ac_cr" = x; then
609
- eval ac_cr=\$\'\\r\'
610
- fi
611
- ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
612
- if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
613
- ac_cs_awk_cr='\\r'
614
- else
615
- ac_cs_awk_cr=$ac_cr
616
- fi
617
-
618
- echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
619
- cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
620
- S["LTLIBOBJS"]=" ${LIBOBJDIR}error$U.lo ${LIBOBJDIR}mktime$U.lo"
621
- S["LIBOBJS"]=" ${LIBOBJDIR}error$U.o ${LIBOBJDIR}mktime$U.o"
622
- S["EGREP"]="/usr/bin/grep -E"
623
- S["GREP"]="/usr/bin/grep"
624
- S["X_EXTRA_LIBS"]=""
625
- S["X_LIBS"]=" -L/usr/X11/lib -R/usr/X11/lib"
626
- S["X_PRE_LIBS"]=" -lSM -lICE"
627
- S["X_CFLAGS"]=""
628
- S["CPP"]="gcc -E"
629
- S["XMKMF"]=""
630
- S["RANLIB"]="ranlib"
631
- S["ac_ct_CC"]="gcc"
632
- S["CFLAGS"]="-g -O2"
633
- S["CC"]="gcc"
634
- S["OBJEXT"]="o"
635
- S["EXEEXT"]=""
636
- S["ac_ct_CXX"]="g++"
637
- S["CPPFLAGS"]=""
638
- S["LDFLAGS"]=""
639
- S["CXXFLAGS"]="-g -O2"
640
- S["CXX"]="g++"
641
- S["target_alias"]=""
642
- S["host_alias"]=""
643
- S["build_alias"]=""
644
- S["LIBS"]="-lm "
645
- S["ECHO_T"]=""
646
- S["ECHO_N"]=""
647
- S["ECHO_C"]="\\c"
648
- S["DEFS"]="-DHAVE_CONFIG_H"
649
- S["mandir"]="${datarootdir}/man"
650
- S["localedir"]="${datarootdir}/locale"
651
- S["libdir"]="${exec_prefix}/lib"
652
- S["psdir"]="${docdir}"
653
- S["pdfdir"]="${docdir}"
654
- S["dvidir"]="${docdir}"
655
- S["htmldir"]="${docdir}"
656
- S["infodir"]="${datarootdir}/info"
657
- S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
658
- S["oldincludedir"]="/usr/include"
659
- S["includedir"]="${prefix}/include"
660
- S["localstatedir"]="${prefix}/var"
661
- S["sharedstatedir"]="${prefix}/com"
662
- S["sysconfdir"]="${prefix}/etc"
663
- S["datadir"]="${datarootdir}"
664
- S["datarootdir"]="${prefix}/share"
665
- S["libexecdir"]="${exec_prefix}/libexec"
666
- S["sbindir"]="${exec_prefix}/sbin"
667
- S["bindir"]="${exec_prefix}/bin"
668
- S["program_transform_name"]="s,x,x,"
669
- S["prefix"]="/usr/local"
670
- S["exec_prefix"]="${prefix}"
671
- S["PACKAGE_URL"]=""
672
- S["PACKAGE_BUGREPORT"]="BUG-REPORT-ADDRESS"
673
- S["PACKAGE_STRING"]="FULL-PACKAGE-NAME VERSION"
674
- S["PACKAGE_VERSION"]="VERSION"
675
- S["PACKAGE_TARNAME"]="full-package-name"
676
- S["PACKAGE_NAME"]="FULL-PACKAGE-NAME"
677
- S["PATH_SEPARATOR"]=":"
678
- S["SHELL"]="/bin/sh"
679
- _ACAWK
680
- cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
681
- for (key in S) S_is_set[key] = 1
682
- FS = ""
683
-
684
- }
685
- {
686
- line = $ 0
687
- nfields = split(line, field, "@")
688
- substed = 0
689
- len = length(field[1])
690
- for (i = 2; i < nfields; i++) {
691
- key = field[i]
692
- keylen = length(key)
693
- if (S_is_set[key]) {
694
- value = S[key]
695
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
696
- len += length(value) + length(field[++i])
697
- substed = 1
698
- } else
699
- len += 1 + keylen
700
- }
701
-
702
- print line
703
- }
704
-
705
- _ACAWK
706
- if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
707
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
708
- else
709
- cat
710
- fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
711
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
712
- fi # test -n "$CONFIG_FILES"
713
-
714
- # Set up the scripts for CONFIG_HEADERS section.
715
- # No need to generate them if there are no CONFIG_HEADERS.
716
- # This happens for instance with `./config.status Makefile'.
717
- if test -n "$CONFIG_HEADERS"; then
718
- cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
719
- BEGIN {
720
- D["PACKAGE_NAME"]=" \"FULL-PACKAGE-NAME\""
721
- D["PACKAGE_TARNAME"]=" \"full-package-name\""
722
- D["PACKAGE_VERSION"]=" \"VERSION\""
723
- D["PACKAGE_STRING"]=" \"FULL-PACKAGE-NAME VERSION\""
724
- D["PACKAGE_BUGREPORT"]=" \"BUG-REPORT-ADDRESS\""
725
- D["PACKAGE_URL"]=" \"\""
726
- D["HAVE_DIRENT_H"]=" 1"
727
- D["HAVE_LIBM"]=" 1"
728
- D["STDC_HEADERS"]=" 1"
729
- D["HAVE_SYS_TYPES_H"]=" 1"
730
- D["HAVE_SYS_STAT_H"]=" 1"
731
- D["HAVE_STDLIB_H"]=" 1"
732
- D["HAVE_STRING_H"]=" 1"
733
- D["HAVE_MEMORY_H"]=" 1"
734
- D["HAVE_STRINGS_H"]=" 1"
735
- D["HAVE_INTTYPES_H"]=" 1"
736
- D["HAVE_STDINT_H"]=" 1"
737
- D["HAVE_UNISTD_H"]=" 1"
738
- D["HAVE_FCNTL_H"]=" 1"
739
- D["HAVE_LIMITS_H"]=" 1"
740
- D["HAVE_STDDEF_H"]=" 1"
741
- D["HAVE_STDLIB_H"]=" 1"
742
- D["HAVE_STRING_H"]=" 1"
743
- D["HAVE_UNISTD_H"]=" 1"
744
- D["HAVE__BOOL"]=" 1"
745
- D["HAVE_STDBOOL_H"]=" 1"
746
- D["SYSTEM_XPDFRC"]=" \"/usr/local/etc/xpdfrc\""
747
- D["HAVE_POPEN"]=" 1"
748
- D["HAVE_MKSTEMP"]=" 1"
749
- D["HAVE_MKSTEMPS"]=" 1"
750
- D["HAVE_FSEEKO"]=" 1"
751
- D["HAVE_STDLIB_H"]=" 1"
752
- D["HAVE_MALLOC"]=" 1"
753
- D["TIME_WITH_SYS_TIME"]=" 1"
754
- D["HAVE_SYS_TIME_H"]=" 1"
755
- D["HAVE_UNISTD_H"]=" 1"
756
- D["HAVE_ALARM"]=" 1"
757
- D["HAVE_STDLIB_H"]=" 1"
758
- D["HAVE_REALLOC"]=" 1"
759
- D["HAVE_SPLASH"]=" 1"
760
- D["HAVE_FLOOR"]=" 1"
761
- D["HAVE_FTIME"]=" 1"
762
- D["HAVE_GETCWD"]=" 1"
763
- D["HAVE_GETTIMEOFDAY"]=" 1"
764
- D["HAVE_MEMMOVE"]=" 1"
765
- D["HAVE_MEMSET"]=" 1"
766
- D["HAVE_POW"]=" 1"
767
- D["HAVE_SQRT"]=" 1"
768
- D["HAVE_STRCASECMP"]=" 1"
769
- D["HAVE_STRCHR"]=" 1"
770
- D["HAVE_STRCSPN"]=" 1"
771
- D["HAVE_STRRCHR"]=" 1"
772
- D["HAVE_STRSTR"]=" 1"
773
- for (key in D) D_is_set[key] = 1
774
- FS = ""
775
- }
776
- /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
777
- line = $ 0
778
- split(line, arg, " ")
779
- if (arg[1] == "#") {
780
- defundef = arg[2]
781
- mac1 = arg[3]
782
- } else {
783
- defundef = substr(arg[1], 2)
784
- mac1 = arg[2]
785
- }
786
- split(mac1, mac2, "(") #)
787
- macro = mac2[1]
788
- prefix = substr(line, 1, index(line, defundef) - 1)
789
- if (D_is_set[macro]) {
790
- # Preserve the white space surrounding the "#".
791
- print prefix "define", macro P[macro] D[macro]
792
- next
793
- } else {
794
- # Replace #undef with comments. This is necessary, for example,
795
- # in the case of _POSIX_SOURCE, which is predefined and required
796
- # on some systems where configure will not decide to define it.
797
- if (defundef == "undef") {
798
- print "/*", prefix defundef, macro, "*/"
799
- next
800
- }
801
- }
802
- }
803
- { print }
804
- _ACAWK
805
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
806
- fi # test -n "$CONFIG_HEADERS"
807
-
808
-
809
- eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
810
- shift
811
- for ac_tag
812
- do
813
- case $ac_tag in
814
- :[FHLC]) ac_mode=$ac_tag; continue;;
815
- esac
816
- case $ac_mode$ac_tag in
817
- :[FHL]*:*);;
818
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
819
- :[FH]-) ac_tag=-:-;;
820
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
821
- esac
822
- ac_save_IFS=$IFS
823
- IFS=:
824
- set x $ac_tag
825
- IFS=$ac_save_IFS
826
- shift
827
- ac_file=$1
828
- shift
829
-
830
- case $ac_mode in
831
- :L) ac_source=$1;;
832
- :[FH])
833
- ac_file_inputs=
834
- for ac_f
835
- do
836
- case $ac_f in
837
- -) ac_f="$ac_tmp/stdin";;
838
- *) # Look for the file first in the build tree, then in the source tree
839
- # (if the path is not absolute). The absolute path cannot be DOS-style,
840
- # because $ac_f cannot contain `:'.
841
- test -f "$ac_f" ||
842
- case $ac_f in
843
- [\\/$]*) false;;
844
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
845
- esac ||
846
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
847
- esac
848
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
849
- as_fn_append ac_file_inputs " '$ac_f'"
850
- done
851
-
852
- # Let's still pretend it is `configure' which instantiates (i.e., don't
853
- # use $as_me), people would be surprised to read:
854
- # /* config.h. Generated by config.status. */
855
- configure_input='Generated from '`
856
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
857
- `' by configure.'
858
- if test x"$ac_file" != x-; then
859
- configure_input="$ac_file. $configure_input"
860
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
861
- $as_echo "$as_me: creating $ac_file" >&6;}
862
- fi
863
- # Neutralize special characters interpreted by sed in replacement strings.
864
- case $configure_input in #(
865
- *\&* | *\|* | *\\* )
866
- ac_sed_conf_input=`$as_echo "$configure_input" |
867
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
868
- *) ac_sed_conf_input=$configure_input;;
869
- esac
870
-
871
- case $ac_tag in
872
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
873
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
874
- esac
875
- ;;
876
- esac
877
-
878
- ac_dir=`$as_dirname -- "$ac_file" ||
879
- $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
880
- X"$ac_file" : 'X\(//\)[^/]' \| \
881
- X"$ac_file" : 'X\(//\)$' \| \
882
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
883
- $as_echo X"$ac_file" |
884
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
885
- s//\1/
886
- q
887
- }
888
- /^X\(\/\/\)[^/].*/{
889
- s//\1/
890
- q
891
- }
892
- /^X\(\/\/\)$/{
893
- s//\1/
894
- q
895
- }
896
- /^X\(\/\).*/{
897
- s//\1/
898
- q
899
- }
900
- s/.*/./; q'`
901
- as_dir="$ac_dir"; as_fn_mkdir_p
902
- ac_builddir=.
903
-
904
- case "$ac_dir" in
905
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
906
- *)
907
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
908
- # A ".." for each directory in $ac_dir_suffix.
909
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
910
- case $ac_top_builddir_sub in
911
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
912
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
913
- esac ;;
914
- esac
915
- ac_abs_top_builddir=$ac_pwd
916
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
917
- # for backward compatibility:
918
- ac_top_builddir=$ac_top_build_prefix
919
-
920
- case $srcdir in
921
- .) # We are building in place.
922
- ac_srcdir=.
923
- ac_top_srcdir=$ac_top_builddir_sub
924
- ac_abs_top_srcdir=$ac_pwd ;;
925
- [\\/]* | ?:[\\/]* ) # Absolute name.
926
- ac_srcdir=$srcdir$ac_dir_suffix;
927
- ac_top_srcdir=$srcdir
928
- ac_abs_top_srcdir=$srcdir ;;
929
- *) # Relative name.
930
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
931
- ac_top_srcdir=$ac_top_build_prefix$srcdir
932
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
933
- esac
934
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
935
-
936
-
937
- case $ac_mode in
938
- :F)
939
- #
940
- # CONFIG_FILE
941
- #
942
-
943
- # If the template does not know about datarootdir, expand it.
944
- # FIXME: This hack should be removed a few years after 2.60.
945
- ac_datarootdir_hack=; ac_datarootdir_seen=
946
- ac_sed_dataroot='
947
- /datarootdir/ {
948
- p
949
- q
950
- }
951
- /@datadir@/p
952
- /@docdir@/p
953
- /@infodir@/p
954
- /@localedir@/p
955
- /@mandir@/p'
956
- case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
957
- *datarootdir*) ac_datarootdir_seen=yes;;
958
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
959
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
960
- $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
961
- ac_datarootdir_hack='
962
- s&@datadir@&${datarootdir}&g
963
- s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
964
- s&@infodir@&${datarootdir}/info&g
965
- s&@localedir@&${datarootdir}/locale&g
966
- s&@mandir@&${datarootdir}/man&g
967
- s&\${datarootdir}&${prefix}/share&g' ;;
968
- esac
969
- ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
970
- h
971
- s///
972
- s/^/:/
973
- s/[ ]*$/:/
974
- s/:\$(srcdir):/:/g
975
- s/:\${srcdir}:/:/g
976
- s/:@srcdir@:/:/g
977
- s/^:*//
978
- s/:*$//
979
- x
980
- s/\(=[ ]*\).*/\1/
981
- G
982
- s/\n//
983
- s/^[^=]*=[ ]*$//
984
- }
985
-
986
- :t
987
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
988
- s|@configure_input@|$ac_sed_conf_input|;t t
989
- s&@top_builddir@&$ac_top_builddir_sub&;t t
990
- s&@top_build_prefix@&$ac_top_build_prefix&;t t
991
- s&@srcdir@&$ac_srcdir&;t t
992
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
993
- s&@top_srcdir@&$ac_top_srcdir&;t t
994
- s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
995
- s&@builddir@&$ac_builddir&;t t
996
- s&@abs_builddir@&$ac_abs_builddir&;t t
997
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
998
- $ac_datarootdir_hack
999
- "
1000
- eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1001
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1002
-
1003
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1004
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1005
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1006
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
1007
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1008
- which seems to be undefined. Please make sure it is defined" >&5
1009
- $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1010
- which seems to be undefined. Please make sure it is defined" >&2;}
1011
-
1012
- rm -f "$ac_tmp/stdin"
1013
- case $ac_file in
1014
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1015
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1016
- esac \
1017
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1018
- ;;
1019
- :H)
1020
- #
1021
- # CONFIG_HEADER
1022
- #
1023
- if test x"$ac_file" != x-; then
1024
- {
1025
- $as_echo "/* $configure_input */" \
1026
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1027
- } >"$ac_tmp/config.h" \
1028
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1029
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1030
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1031
- $as_echo "$as_me: $ac_file is unchanged" >&6;}
1032
- else
1033
- rm -f "$ac_file"
1034
- mv "$ac_tmp/config.h" "$ac_file" \
1035
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1036
- fi
1037
- else
1038
- $as_echo "/* $configure_input */" \
1039
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1040
- || as_fn_error $? "could not create -" "$LINENO" 5
1041
- fi
1042
- ;;
1043
-
1044
-
1045
- esac
1046
-
1047
- done # for ac_tag
1048
-
1049
-
1050
- as_fn_exit 0