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,42 +0,0 @@
1
- /* aconf.h. Generated from aconf.h.in by configure. */
2
- /* aconf.h. Generated automatically by configure. */
3
- /*
4
- * aconf.h
5
- *
6
- * Copyright 2002 Derek B. Noonburg
7
- */
8
-
9
- #ifndef ACONF_H
10
- #define ACONF_H
11
-
12
- /*
13
- * Full path for the system-wide xpdfrc file.
14
- */
15
- #define SYSTEM_XPDFRC "/usr/local/etc/xpdfrc"
16
-
17
- /*
18
- * Various include files and functions.
19
- */
20
- #define HAVE_DIRENT_H 1
21
- #define HAVE_STRINGS_H 1
22
- #define HAVE_POPEN 1
23
- #define HAVE_MKSTEMP 1
24
- #define HAVE_MKSTEMPS 1
25
-
26
- /*
27
- * This is defined if using libXpm.
28
- */
29
- /* #undef HAVE_X11_XPM_H */
30
-
31
- /*
32
- * One of these is defined if using FreeType 2.
33
- */
34
- /* #undef HAVE_FREETYPE_H */
35
- /* #undef HAVE_FREETYPE_FREETYPE_H */
36
-
37
- /*
38
- * Defined if the Splash library is avaiable.
39
- */
40
- #define HAVE_SPLASH 1
41
-
42
- #endif
@@ -1,1259 +0,0 @@
1
- This file contains any messages produced by compilers while
2
- running configure, to aid debugging if configure makes a mistake.
3
-
4
- It was created by FULL-PACKAGE-NAME configure VERSION, which was
5
- generated by GNU Autoconf 2.68. Invocation command line was
6
-
7
- $ ./configure
8
-
9
- ## --------- ##
10
- ## Platform. ##
11
- ## --------- ##
12
-
13
- hostname = elijah-2.local
14
- uname -m = x86_64
15
- uname -r = 11.3.0
16
- uname -s = Darwin
17
- uname -v = Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
18
-
19
- /usr/bin/uname -p = i386
20
- /bin/uname -X = unknown
21
-
22
- /bin/arch = unknown
23
- /usr/bin/arch -k = unknown
24
- /usr/convex/getsysinfo = unknown
25
- /usr/bin/hostinfo = Mach kernel version:
26
- Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
27
- Kernel configured for up to 4 processors.
28
- 2 processors are physically available.
29
- 4 processors are logically available.
30
- Processor type: i486 (Intel 80486)
31
- Processors active: 0 1 2 3
32
- Primary memory available: 8.00 gigabytes
33
- Default processor set: 180 tasks, 1006 threads, 4 processors
34
- Load average: 5.16, Mach factor: 0.89
35
- /bin/machine = unknown
36
- /usr/bin/oslevel = unknown
37
- /bin/universe = unknown
38
-
39
- PATH: /Users/zdennis/.rvm/gems/ruby-1.9.2-p318/bin
40
- PATH: /Users/zdennis/.rvm/gems/ruby-1.9.2-p318@global/bin
41
- PATH: /Users/zdennis/.rvm/rubies/ruby-1.9.2-p318/bin
42
- PATH: /Users/zdennis/.rvm/bin
43
- PATH: /Applications/Postgres.app/Contents/MacOS/bin
44
- PATH: /Users/zdennis/bin
45
- PATH: /bin
46
- PATH: /opt/local/bin
47
- PATH: /opt/local/sbin
48
- PATH: /usr/bin
49
- PATH: /usr/sbin
50
- PATH: /sbin
51
- PATH: /usr/local/bin
52
- PATH: /usr/X11/bin
53
- PATH: /usr/local/sbin
54
- PATH: /opt/local/lib/postgresql81/bin
55
- PATH: /Users/zdennis/source/mhs_projects/syncr/.tidbits/bin
56
- PATH: /Users/zdennis/source/playground/AdobeAir/AdobeAIRSDK/bin
57
-
58
-
59
- ## ----------- ##
60
- ## Core tests. ##
61
- ## ----------- ##
62
-
63
- configure:2253: checking for g++
64
- configure:2269: found /usr/bin/g++
65
- configure:2280: result: g++
66
- configure:2307: checking for C++ compiler version
67
- configure:2316: g++ --version >&5
68
- i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
69
- Copyright (C) 2007 Free Software Foundation, Inc.
70
- This is free software; see the source for copying conditions. There is NO
71
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
72
-
73
- configure:2327: $? = 0
74
- configure:2316: g++ -v >&5
75
- Using built-in specs.
76
- Target: i686-apple-darwin11
77
- Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
78
- Thread model: posix
79
- gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
80
- configure:2327: $? = 0
81
- configure:2316: g++ -V >&5
82
- llvm-g++-4.2: argument to `-V' is missing
83
- configure:2327: $? = 1
84
- configure:2316: g++ -qversion >&5
85
- i686-apple-darwin11-llvm-g++-4.2: no input files
86
- configure:2327: $? = 1
87
- configure:2347: checking whether the C++ compiler works
88
- configure:2369: g++ conftest.cpp >&5
89
- configure:2373: $? = 0
90
- configure:2421: result: yes
91
- configure:2424: checking for C++ compiler default output file name
92
- configure:2426: result: a.out
93
- configure:2432: checking for suffix of executables
94
- configure:2439: g++ -o conftest conftest.cpp >&5
95
- configure:2443: $? = 0
96
- configure:2465: result:
97
- configure:2487: checking whether we are cross compiling
98
- configure:2495: g++ -o conftest conftest.cpp >&5
99
- configure:2499: $? = 0
100
- configure:2506: ./conftest
101
- configure:2510: $? = 0
102
- configure:2525: result: no
103
- configure:2530: checking for suffix of object files
104
- configure:2552: g++ -c conftest.cpp >&5
105
- configure:2556: $? = 0
106
- configure:2577: result: o
107
- configure:2581: checking whether we are using the GNU C++ compiler
108
- configure:2600: g++ -c conftest.cpp >&5
109
- configure:2600: $? = 0
110
- configure:2609: result: yes
111
- configure:2618: checking whether g++ accepts -g
112
- configure:2638: g++ -c -g conftest.cpp >&5
113
- configure:2638: $? = 0
114
- configure:2679: result: yes
115
- configure:2750: checking for gcc
116
- configure:2766: found /usr/bin/gcc
117
- configure:2777: result: gcc
118
- configure:3006: checking for C compiler version
119
- configure:3015: gcc --version >&5
120
- i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
121
- Copyright (C) 2007 Free Software Foundation, Inc.
122
- This is free software; see the source for copying conditions. There is NO
123
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
124
-
125
- configure:3026: $? = 0
126
- configure:3015: gcc -v >&5
127
- Using built-in specs.
128
- Target: i686-apple-darwin11
129
- Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
130
- Thread model: posix
131
- gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
132
- configure:3026: $? = 0
133
- configure:3015: gcc -V >&5
134
- llvm-gcc-4.2: argument to `-V' is missing
135
- configure:3026: $? = 1
136
- configure:3015: gcc -qversion >&5
137
- i686-apple-darwin11-llvm-gcc-4.2: no input files
138
- configure:3026: $? = 1
139
- configure:3030: checking whether we are using the GNU C compiler
140
- configure:3049: gcc -c conftest.c >&5
141
- configure:3049: $? = 0
142
- configure:3058: result: yes
143
- configure:3067: checking whether gcc accepts -g
144
- configure:3087: gcc -c -g conftest.c >&5
145
- configure:3087: $? = 0
146
- configure:3128: result: yes
147
- configure:3145: checking for gcc option to accept ISO C89
148
- configure:3209: gcc -c -g -O2 conftest.c >&5
149
- configure:3209: $? = 0
150
- configure:3222: result: none needed
151
- configure:3285: checking for ranlib
152
- configure:3301: found /usr/bin/ranlib
153
- configure:3312: result: ranlib
154
- configure:3341: checking how to run the C preprocessor
155
- configure:3372: gcc -E conftest.c
156
- configure:3372: $? = 0
157
- configure:3386: gcc -E conftest.c
158
- conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
159
- configure:3386: $? = 1
160
- configure: failed program was:
161
- | /* confdefs.h */
162
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
163
- | #define PACKAGE_TARNAME "full-package-name"
164
- | #define PACKAGE_VERSION "VERSION"
165
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
166
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
167
- | #define PACKAGE_URL ""
168
- | /* end confdefs.h. */
169
- | #include <ac_nonexistent.h>
170
- configure:3411: result: gcc -E
171
- configure:3431: gcc -E conftest.c
172
- configure:3431: $? = 0
173
- configure:3445: gcc -E conftest.c
174
- conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
175
- configure:3445: $? = 1
176
- configure: failed program was:
177
- | /* confdefs.h */
178
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
179
- | #define PACKAGE_TARNAME "full-package-name"
180
- | #define PACKAGE_VERSION "VERSION"
181
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
182
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
183
- | #define PACKAGE_URL ""
184
- | /* end confdefs.h. */
185
- | #include <ac_nonexistent.h>
186
- configure:3474: checking for X
187
- configure:3582: gcc -E conftest.c
188
- configure:3582: $? = 0
189
- configure:3613: gcc -o conftest -g -O2 conftest.c -lX11 >&5
190
- ld: library not found for -lX11
191
- collect2: ld returned 1 exit status
192
- configure:3613: $? = 1
193
- configure: failed program was:
194
- | /* confdefs.h */
195
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
196
- | #define PACKAGE_TARNAME "full-package-name"
197
- | #define PACKAGE_VERSION "VERSION"
198
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
199
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
200
- | #define PACKAGE_URL ""
201
- | /* end confdefs.h. */
202
- | #include <X11/Xlib.h>
203
- | int
204
- | main ()
205
- | {
206
- | XrmInitialize ()
207
- | ;
208
- | return 0;
209
- | }
210
- configure:3663: result: libraries /usr/X11/lib, headers
211
- configure:3683: checking whether -R must be followed by a space
212
- configure:3699: gcc -o conftest -g -O2 conftest.c -R/usr/X11/lib >&5
213
- configure:3699: $? = 0
214
- configure:3700: result: no
215
- configure:3762: gcc -o conftest -g -O2 conftest.c -L/usr/X11/lib -R/usr/X11/lib -lX11 >&5
216
- configure:3762: $? = 0
217
- configure:3860: checking for gethostbyname
218
- configure:3860: gcc -o conftest -g -O2 conftest.c >&5
219
- configure:3860: $? = 0
220
- configure:3860: result: yes
221
- configure:3957: checking for connect
222
- configure:3957: gcc -o conftest -g -O2 conftest.c >&5
223
- configure:3957: $? = 0
224
- configure:3957: result: yes
225
- configure:4006: checking for remove
226
- configure:4006: gcc -o conftest -g -O2 conftest.c >&5
227
- configure:4006: $? = 0
228
- configure:4006: result: yes
229
- configure:4055: checking for shmat
230
- configure:4055: gcc -o conftest -g -O2 conftest.c >&5
231
- configure:4055: $? = 0
232
- configure:4055: result: yes
233
- configure:4113: checking for IceConnectionNumber in -lICE
234
- configure:4138: gcc -o conftest -g -O2 -L/usr/X11/lib conftest.c -lICE >&5
235
- configure:4138: $? = 0
236
- configure:4147: result: yes
237
- configure:4160: checking for dirent.h that defines DIR
238
- configure:4179: gcc -c -g -O2 conftest.c >&5
239
- configure:4179: $? = 0
240
- configure:4187: result: yes
241
- configure:4200: checking for library containing opendir
242
- configure:4231: gcc -o conftest -g -O2 conftest.c >&5
243
- configure:4231: $? = 0
244
- configure:4248: result: none required
245
- configure:4318: checking for main in -lGoo
246
- configure:4337: gcc -o conftest -g -O2 conftest.c -lGoo >&5
247
- ld: library not found for -lGoo
248
- collect2: ld returned 1 exit status
249
- configure:4337: $? = 1
250
- configure: failed program was:
251
- | /* confdefs.h */
252
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
253
- | #define PACKAGE_TARNAME "full-package-name"
254
- | #define PACKAGE_VERSION "VERSION"
255
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
256
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
257
- | #define PACKAGE_URL ""
258
- | #define HAVE_DIRENT_H 1
259
- | /* end confdefs.h. */
260
- |
261
- |
262
- | int
263
- | main ()
264
- | {
265
- | return main ();
266
- | ;
267
- | return 0;
268
- | }
269
- configure:4346: result: no
270
- configure:4358: checking for main in -lX11
271
- configure:4377: gcc -o conftest -g -O2 conftest.c -lX11 >&5
272
- ld: library not found for -lX11
273
- collect2: ld returned 1 exit status
274
- configure:4377: $? = 1
275
- configure: failed program was:
276
- | /* confdefs.h */
277
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
278
- | #define PACKAGE_TARNAME "full-package-name"
279
- | #define PACKAGE_VERSION "VERSION"
280
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
281
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
282
- | #define PACKAGE_URL ""
283
- | #define HAVE_DIRENT_H 1
284
- | /* end confdefs.h. */
285
- |
286
- |
287
- | int
288
- | main ()
289
- | {
290
- | return main ();
291
- | ;
292
- | return 0;
293
- | }
294
- configure:4386: result: no
295
- configure:4398: checking for main in -lXpdf
296
- configure:4417: gcc -o conftest -g -O2 conftest.c -lXpdf >&5
297
- ld: library not found for -lXpdf
298
- collect2: ld returned 1 exit status
299
- configure:4417: $? = 1
300
- configure: failed program was:
301
- | /* confdefs.h */
302
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
303
- | #define PACKAGE_TARNAME "full-package-name"
304
- | #define PACKAGE_VERSION "VERSION"
305
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
306
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
307
- | #define PACKAGE_URL ""
308
- | #define HAVE_DIRENT_H 1
309
- | /* end confdefs.h. */
310
- |
311
- |
312
- | int
313
- | main ()
314
- | {
315
- | return main ();
316
- | ;
317
- | return 0;
318
- | }
319
- configure:4426: result: no
320
- configure:4438: checking for main in -lfofi
321
- configure:4457: gcc -o conftest -g -O2 conftest.c -lfofi >&5
322
- ld: library not found for -lfofi
323
- collect2: ld returned 1 exit status
324
- configure:4457: $? = 1
325
- configure: failed program was:
326
- | /* confdefs.h */
327
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
328
- | #define PACKAGE_TARNAME "full-package-name"
329
- | #define PACKAGE_VERSION "VERSION"
330
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
331
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
332
- | #define PACKAGE_URL ""
333
- | #define HAVE_DIRENT_H 1
334
- | /* end confdefs.h. */
335
- |
336
- |
337
- | int
338
- | main ()
339
- | {
340
- | return main ();
341
- | ;
342
- | return 0;
343
- | }
344
- configure:4466: result: no
345
- configure:4478: checking for main in -lm
346
- configure:4497: gcc -o conftest -g -O2 conftest.c -lm >&5
347
- configure:4497: $? = 0
348
- configure:4506: result: yes
349
- configure:4518: checking for main in -lsplash
350
- configure:4537: gcc -o conftest -g -O2 conftest.c -lsplash -lm >&5
351
- ld: library not found for -lsplash
352
- collect2: ld returned 1 exit status
353
- configure:4537: $? = 1
354
- configure: failed program was:
355
- | /* confdefs.h */
356
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
357
- | #define PACKAGE_TARNAME "full-package-name"
358
- | #define PACKAGE_VERSION "VERSION"
359
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
360
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
361
- | #define PACKAGE_URL ""
362
- | #define HAVE_DIRENT_H 1
363
- | #define HAVE_LIBM 1
364
- | /* end confdefs.h. */
365
- |
366
- |
367
- | int
368
- | main ()
369
- | {
370
- | return main ();
371
- | ;
372
- | return 0;
373
- | }
374
- configure:4546: result: no
375
- configure:4559: checking for grep that handles long lines and -e
376
- configure:4617: result: /usr/bin/grep
377
- configure:4622: checking for egrep
378
- configure:4684: result: /usr/bin/grep -E
379
- configure:4689: checking for ANSI C header files
380
- configure:4709: gcc -c -g -O2 conftest.c >&5
381
- configure:4709: $? = 0
382
- configure:4782: gcc -o conftest -g -O2 conftest.c -lm >&5
383
- configure:4782: $? = 0
384
- configure:4782: ./conftest
385
- configure:4782: $? = 0
386
- configure:4793: result: yes
387
- configure:4806: checking for sys/types.h
388
- configure:4806: gcc -c -g -O2 conftest.c >&5
389
- configure:4806: $? = 0
390
- configure:4806: result: yes
391
- configure:4806: checking for sys/stat.h
392
- configure:4806: gcc -c -g -O2 conftest.c >&5
393
- configure:4806: $? = 0
394
- configure:4806: result: yes
395
- configure:4806: checking for stdlib.h
396
- configure:4806: gcc -c -g -O2 conftest.c >&5
397
- configure:4806: $? = 0
398
- configure:4806: result: yes
399
- configure:4806: checking for string.h
400
- configure:4806: gcc -c -g -O2 conftest.c >&5
401
- configure:4806: $? = 0
402
- configure:4806: result: yes
403
- configure:4806: checking for memory.h
404
- configure:4806: gcc -c -g -O2 conftest.c >&5
405
- configure:4806: $? = 0
406
- configure:4806: result: yes
407
- configure:4806: checking for strings.h
408
- configure:4806: gcc -c -g -O2 conftest.c >&5
409
- configure:4806: $? = 0
410
- configure:4806: result: yes
411
- configure:4806: checking for inttypes.h
412
- configure:4806: gcc -c -g -O2 conftest.c >&5
413
- configure:4806: $? = 0
414
- configure:4806: result: yes
415
- configure:4806: checking for stdint.h
416
- configure:4806: gcc -c -g -O2 conftest.c >&5
417
- configure:4806: $? = 0
418
- configure:4806: result: yes
419
- configure:4806: checking for unistd.h
420
- configure:4806: gcc -c -g -O2 conftest.c >&5
421
- configure:4806: $? = 0
422
- configure:4806: result: yes
423
- configure:4821: checking fcntl.h usability
424
- configure:4821: gcc -c -g -O2 conftest.c >&5
425
- configure:4821: $? = 0
426
- configure:4821: result: yes
427
- configure:4821: checking fcntl.h presence
428
- configure:4821: gcc -E conftest.c
429
- configure:4821: $? = 0
430
- configure:4821: result: yes
431
- configure:4821: checking for fcntl.h
432
- configure:4821: result: yes
433
- configure:4821: checking limits.h usability
434
- configure:4821: gcc -c -g -O2 conftest.c >&5
435
- configure:4821: $? = 0
436
- configure:4821: result: yes
437
- configure:4821: checking limits.h presence
438
- configure:4821: gcc -E conftest.c
439
- configure:4821: $? = 0
440
- configure:4821: result: yes
441
- configure:4821: checking for limits.h
442
- configure:4821: result: yes
443
- configure:4821: checking stddef.h usability
444
- configure:4821: gcc -c -g -O2 conftest.c >&5
445
- configure:4821: $? = 0
446
- configure:4821: result: yes
447
- configure:4821: checking stddef.h presence
448
- configure:4821: gcc -E conftest.c
449
- configure:4821: $? = 0
450
- configure:4821: result: yes
451
- configure:4821: checking for stddef.h
452
- configure:4821: result: yes
453
- configure:4821: checking for stdlib.h
454
- configure:4821: result: yes
455
- configure:4821: checking for string.h
456
- configure:4821: result: yes
457
- configure:4821: checking for unistd.h
458
- configure:4821: result: yes
459
- configure:4833: checking for stdbool.h that conforms to C99
460
- configure:4900: gcc -c -g -O2 conftest.c >&5
461
- configure:4900: $? = 0
462
- configure:4907: result: yes
463
- configure:4909: checking for _Bool
464
- configure:4909: gcc -c -g -O2 conftest.c >&5
465
- configure:4909: $? = 0
466
- configure:4909: gcc -c -g -O2 conftest.c >&5
467
- conftest.c: In function 'main':
468
- conftest.c:63: error: expected expression before ')' token
469
- configure:4909: $? = 1
470
- configure: failed program was:
471
- | /* confdefs.h */
472
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
473
- | #define PACKAGE_TARNAME "full-package-name"
474
- | #define PACKAGE_VERSION "VERSION"
475
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
476
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
477
- | #define PACKAGE_URL ""
478
- | #define HAVE_DIRENT_H 1
479
- | #define HAVE_LIBM 1
480
- | #define STDC_HEADERS 1
481
- | #define HAVE_SYS_TYPES_H 1
482
- | #define HAVE_SYS_STAT_H 1
483
- | #define HAVE_STDLIB_H 1
484
- | #define HAVE_STRING_H 1
485
- | #define HAVE_MEMORY_H 1
486
- | #define HAVE_STRINGS_H 1
487
- | #define HAVE_INTTYPES_H 1
488
- | #define HAVE_STDINT_H 1
489
- | #define HAVE_UNISTD_H 1
490
- | #define HAVE_FCNTL_H 1
491
- | #define HAVE_LIMITS_H 1
492
- | #define HAVE_STDDEF_H 1
493
- | #define HAVE_STDLIB_H 1
494
- | #define HAVE_STRING_H 1
495
- | #define HAVE_UNISTD_H 1
496
- | /* end confdefs.h. */
497
- | #include <stdio.h>
498
- | #ifdef HAVE_SYS_TYPES_H
499
- | # include <sys/types.h>
500
- | #endif
501
- | #ifdef HAVE_SYS_STAT_H
502
- | # include <sys/stat.h>
503
- | #endif
504
- | #ifdef STDC_HEADERS
505
- | # include <stdlib.h>
506
- | # include <stddef.h>
507
- | #else
508
- | # ifdef HAVE_STDLIB_H
509
- | # include <stdlib.h>
510
- | # endif
511
- | #endif
512
- | #ifdef HAVE_STRING_H
513
- | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
514
- | # include <memory.h>
515
- | # endif
516
- | # include <string.h>
517
- | #endif
518
- | #ifdef HAVE_STRINGS_H
519
- | # include <strings.h>
520
- | #endif
521
- | #ifdef HAVE_INTTYPES_H
522
- | # include <inttypes.h>
523
- | #endif
524
- | #ifdef HAVE_STDINT_H
525
- | # include <stdint.h>
526
- | #endif
527
- | #ifdef HAVE_UNISTD_H
528
- | # include <unistd.h>
529
- | #endif
530
- | int
531
- | main ()
532
- | {
533
- | if (sizeof ((_Bool)))
534
- | return 0;
535
- | ;
536
- | return 0;
537
- | }
538
- configure:4909: result: yes
539
- configure:4925: checking for inline
540
- configure:4941: gcc -c -g -O2 conftest.c >&5
541
- configure:4941: $? = 0
542
- configure:4949: result: inline
543
- configure:4967: checking for size_t
544
- configure:4967: gcc -c -g -O2 conftest.c >&5
545
- configure:4967: $? = 0
546
- configure:4967: gcc -c -g -O2 conftest.c >&5
547
- conftest.c: In function 'main':
548
- conftest.c:65: error: expected expression before ')' token
549
- configure:4967: $? = 1
550
- configure: failed program was:
551
- | /* confdefs.h */
552
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
553
- | #define PACKAGE_TARNAME "full-package-name"
554
- | #define PACKAGE_VERSION "VERSION"
555
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
556
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
557
- | #define PACKAGE_URL ""
558
- | #define HAVE_DIRENT_H 1
559
- | #define HAVE_LIBM 1
560
- | #define STDC_HEADERS 1
561
- | #define HAVE_SYS_TYPES_H 1
562
- | #define HAVE_SYS_STAT_H 1
563
- | #define HAVE_STDLIB_H 1
564
- | #define HAVE_STRING_H 1
565
- | #define HAVE_MEMORY_H 1
566
- | #define HAVE_STRINGS_H 1
567
- | #define HAVE_INTTYPES_H 1
568
- | #define HAVE_STDINT_H 1
569
- | #define HAVE_UNISTD_H 1
570
- | #define HAVE_FCNTL_H 1
571
- | #define HAVE_LIMITS_H 1
572
- | #define HAVE_STDDEF_H 1
573
- | #define HAVE_STDLIB_H 1
574
- | #define HAVE_STRING_H 1
575
- | #define HAVE_UNISTD_H 1
576
- | #define HAVE__BOOL 1
577
- | #define HAVE_STDBOOL_H 1
578
- | /* end confdefs.h. */
579
- | #include <stdio.h>
580
- | #ifdef HAVE_SYS_TYPES_H
581
- | # include <sys/types.h>
582
- | #endif
583
- | #ifdef HAVE_SYS_STAT_H
584
- | # include <sys/stat.h>
585
- | #endif
586
- | #ifdef STDC_HEADERS
587
- | # include <stdlib.h>
588
- | # include <stddef.h>
589
- | #else
590
- | # ifdef HAVE_STDLIB_H
591
- | # include <stdlib.h>
592
- | # endif
593
- | #endif
594
- | #ifdef HAVE_STRING_H
595
- | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
596
- | # include <memory.h>
597
- | # endif
598
- | # include <string.h>
599
- | #endif
600
- | #ifdef HAVE_STRINGS_H
601
- | # include <strings.h>
602
- | #endif
603
- | #ifdef HAVE_INTTYPES_H
604
- | # include <inttypes.h>
605
- | #endif
606
- | #ifdef HAVE_STDINT_H
607
- | # include <stdint.h>
608
- | #endif
609
- | #ifdef HAVE_UNISTD_H
610
- | # include <unistd.h>
611
- | #endif
612
- | int
613
- | main ()
614
- | {
615
- | if (sizeof ((size_t)))
616
- | return 0;
617
- | ;
618
- | return 0;
619
- | }
620
- configure:4967: result: yes
621
- configure:4995: checking for popen
622
- configure:4995: gcc -o conftest -g -O2 conftest.c -lm >&5
623
- configure:4995: $? = 0
624
- configure:4995: result: yes
625
- configure:5004: checking for mkstemp
626
- configure:5021: gcc -o conftest -g -O2 conftest.c -lm >&5
627
- configure:5021: $? = 0
628
- configure:5029: result: yes
629
- configure:5035: checking for mkstemps
630
- configure:5052: gcc -o conftest -g -O2 conftest.c -lm >&5
631
- configure:5052: $? = 0
632
- configure:5060: result: yes
633
- configure:5068: checking for error_at_line
634
- configure:5084: gcc -o conftest -g -O2 conftest.c -lm >&5
635
- conftest.c:33:19: error: error.h: No such file or directory
636
- configure:5084: $? = 1
637
- configure: failed program was:
638
- | /* confdefs.h */
639
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
640
- | #define PACKAGE_TARNAME "full-package-name"
641
- | #define PACKAGE_VERSION "VERSION"
642
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
643
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
644
- | #define PACKAGE_URL ""
645
- | #define HAVE_DIRENT_H 1
646
- | #define HAVE_LIBM 1
647
- | #define STDC_HEADERS 1
648
- | #define HAVE_SYS_TYPES_H 1
649
- | #define HAVE_SYS_STAT_H 1
650
- | #define HAVE_STDLIB_H 1
651
- | #define HAVE_STRING_H 1
652
- | #define HAVE_MEMORY_H 1
653
- | #define HAVE_STRINGS_H 1
654
- | #define HAVE_INTTYPES_H 1
655
- | #define HAVE_STDINT_H 1
656
- | #define HAVE_UNISTD_H 1
657
- | #define HAVE_FCNTL_H 1
658
- | #define HAVE_LIMITS_H 1
659
- | #define HAVE_STDDEF_H 1
660
- | #define HAVE_STDLIB_H 1
661
- | #define HAVE_STRING_H 1
662
- | #define HAVE_UNISTD_H 1
663
- | #define HAVE__BOOL 1
664
- | #define HAVE_STDBOOL_H 1
665
- | #define SYSTEM_XPDFRC "/usr/local/etc/xpdfrc"
666
- | #define HAVE_POPEN 1
667
- | #define HAVE_MKSTEMP 1
668
- | #define HAVE_MKSTEMPS 1
669
- | /* end confdefs.h. */
670
- | #include <error.h>
671
- | int
672
- | main ()
673
- | {
674
- | error_at_line (0, 0, "", 0, "an error occurred");
675
- | ;
676
- | return 0;
677
- | }
678
- configure:5092: result: no
679
- configure:5103: checking for _LARGEFILE_SOURCE value needed for large files
680
- configure:5122: gcc -o conftest -g -O2 conftest.c -lm >&5
681
- configure:5122: $? = 0
682
- configure:5150: result: no
683
- configure:5173: checking for stdlib.h
684
- configure:5173: result: yes
685
- configure:5183: checking for GNU libc compatible malloc
686
- configure:5207: gcc -o conftest -g -O2 conftest.c -lm >&5
687
- configure:5207: $? = 0
688
- configure:5207: ./conftest
689
- configure:5207: $? = 0
690
- configure:5217: result: yes
691
- configure:5238: checking whether time.h and sys/time.h may both be included
692
- configure:5258: gcc -c -g -O2 conftest.c >&5
693
- configure:5258: $? = 0
694
- configure:5265: result: yes
695
- configure:5279: checking for sys/time.h
696
- configure:5279: gcc -c -g -O2 conftest.c >&5
697
- configure:5279: $? = 0
698
- configure:5279: result: yes
699
- configure:5279: checking for unistd.h
700
- configure:5279: result: yes
701
- configure:5300: checking for alarm
702
- configure:5300: gcc -o conftest -g -O2 conftest.c -lm >&5
703
- configure:5300: $? = 0
704
- configure:5300: result: yes
705
- configure:5313: checking for working mktime
706
- configure:5515: gcc -o conftest -g -O2 conftest.c -lm >&5
707
- configure:5515: $? = 0
708
- configure:5515: ./conftest
709
- configure:5515: $? = 1
710
- configure: program exited with status 1
711
- configure: failed program was:
712
- | /* confdefs.h */
713
- | #define PACKAGE_NAME "FULL-PACKAGE-NAME"
714
- | #define PACKAGE_TARNAME "full-package-name"
715
- | #define PACKAGE_VERSION "VERSION"
716
- | #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
717
- | #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
718
- | #define PACKAGE_URL ""
719
- | #define HAVE_DIRENT_H 1
720
- | #define HAVE_LIBM 1
721
- | #define STDC_HEADERS 1
722
- | #define HAVE_SYS_TYPES_H 1
723
- | #define HAVE_SYS_STAT_H 1
724
- | #define HAVE_STDLIB_H 1
725
- | #define HAVE_STRING_H 1
726
- | #define HAVE_MEMORY_H 1
727
- | #define HAVE_STRINGS_H 1
728
- | #define HAVE_INTTYPES_H 1
729
- | #define HAVE_STDINT_H 1
730
- | #define HAVE_UNISTD_H 1
731
- | #define HAVE_FCNTL_H 1
732
- | #define HAVE_LIMITS_H 1
733
- | #define HAVE_STDDEF_H 1
734
- | #define HAVE_STDLIB_H 1
735
- | #define HAVE_STRING_H 1
736
- | #define HAVE_UNISTD_H 1
737
- | #define HAVE__BOOL 1
738
- | #define HAVE_STDBOOL_H 1
739
- | #define SYSTEM_XPDFRC "/usr/local/etc/xpdfrc"
740
- | #define HAVE_POPEN 1
741
- | #define HAVE_MKSTEMP 1
742
- | #define HAVE_MKSTEMPS 1
743
- | #define HAVE_FSEEKO 1
744
- | #define HAVE_STDLIB_H 1
745
- | #define HAVE_MALLOC 1
746
- | #define TIME_WITH_SYS_TIME 1
747
- | #define HAVE_SYS_TIME_H 1
748
- | #define HAVE_UNISTD_H 1
749
- | #define HAVE_ALARM 1
750
- | /* end confdefs.h. */
751
- | /* Test program from Paul Eggert and Tony Leneis. */
752
- | #ifdef TIME_WITH_SYS_TIME
753
- | # include <sys/time.h>
754
- | # include <time.h>
755
- | #else
756
- | # ifdef HAVE_SYS_TIME_H
757
- | # include <sys/time.h>
758
- | # else
759
- | # include <time.h>
760
- | # endif
761
- | #endif
762
- |
763
- | #include <limits.h>
764
- | #include <stdlib.h>
765
- |
766
- | #ifdef HAVE_UNISTD_H
767
- | # include <unistd.h>
768
- | #endif
769
- |
770
- | #ifndef HAVE_ALARM
771
- | # define alarm(X) /* empty */
772
- | #endif
773
- |
774
- | /* Work around redefinition to rpl_putenv by other config tests. */
775
- | #undef putenv
776
- |
777
- | static time_t time_t_max;
778
- | static time_t time_t_min;
779
- |
780
- | /* Values we'll use to set the TZ environment variable. */
781
- | static const char *tz_strings[] = {
782
- | (const char *) 0, "TZ=GMT0", "TZ=JST-9",
783
- | "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
784
- | };
785
- | #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
786
- |
787
- | /* Return 0 if mktime fails to convert a date in the spring-forward gap.
788
- | Based on a problem report from Andreas Jaeger. */
789
- | static int
790
- | spring_forward_gap ()
791
- | {
792
- | /* glibc (up to about 1998-10-07) failed this test. */
793
- | struct tm tm;
794
- |
795
- | /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
796
- | instead of "TZ=America/Vancouver" in order to detect the bug even
797
- | on systems that don't support the Olson extension, or don't have the
798
- | full zoneinfo tables installed. */
799
- | putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
800
- |
801
- | tm.tm_year = 98;
802
- | tm.tm_mon = 3;
803
- | tm.tm_mday = 5;
804
- | tm.tm_hour = 2;
805
- | tm.tm_min = 0;
806
- | tm.tm_sec = 0;
807
- | tm.tm_isdst = -1;
808
- | return mktime (&tm) != (time_t) -1;
809
- | }
810
- |
811
- | static int
812
- | mktime_test1 (time_t now)
813
- | {
814
- | struct tm *lt;
815
- | return ! (lt = localtime (&now)) || mktime (lt) == now;
816
- | }
817
- |
818
- | static int
819
- | mktime_test (time_t now)
820
- | {
821
- | return (mktime_test1 (now)
822
- | && mktime_test1 ((time_t) (time_t_max - now))
823
- | && mktime_test1 ((time_t) (time_t_min + now)));
824
- | }
825
- |
826
- | static int
827
- | irix_6_4_bug ()
828
- | {
829
- | /* Based on code from Ariel Faigon. */
830
- | struct tm tm;
831
- | tm.tm_year = 96;
832
- | tm.tm_mon = 3;
833
- | tm.tm_mday = 0;
834
- | tm.tm_hour = 0;
835
- | tm.tm_min = 0;
836
- | tm.tm_sec = 0;
837
- | tm.tm_isdst = -1;
838
- | mktime (&tm);
839
- | return tm.tm_mon == 2 && tm.tm_mday == 31;
840
- | }
841
- |
842
- | static int
843
- | bigtime_test (int j)
844
- | {
845
- | struct tm tm;
846
- | time_t now;
847
- | tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
848
- | now = mktime (&tm);
849
- | if (now != (time_t) -1)
850
- | {
851
- | struct tm *lt = localtime (&now);
852
- | if (! (lt
853
- | && lt->tm_year == tm.tm_year
854
- | && lt->tm_mon == tm.tm_mon
855
- | && lt->tm_mday == tm.tm_mday
856
- | && lt->tm_hour == tm.tm_hour
857
- | && lt->tm_min == tm.tm_min
858
- | && lt->tm_sec == tm.tm_sec
859
- | && lt->tm_yday == tm.tm_yday
860
- | && lt->tm_wday == tm.tm_wday
861
- | && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
862
- | == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
863
- | return 0;
864
- | }
865
- | return 1;
866
- | }
867
- |
868
- | static int
869
- | year_2050_test ()
870
- | {
871
- | /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
872
- | ignoring leap seconds. */
873
- | unsigned long int answer = 2527315200UL;
874
- |
875
- | struct tm tm;
876
- | time_t t;
877
- | tm.tm_year = 2050 - 1900;
878
- | tm.tm_mon = 2 - 1;
879
- | tm.tm_mday = 1;
880
- | tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
881
- | tm.tm_isdst = -1;
882
- |
883
- | /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
884
- | instead of "TZ=America/Vancouver" in order to detect the bug even
885
- | on systems that don't support the Olson extension, or don't have the
886
- | full zoneinfo tables installed. */
887
- | putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
888
- |
889
- | t = mktime (&tm);
890
- |
891
- | /* Check that the result is either a failure, or close enough
892
- | to the correct answer that we can assume the discrepancy is
893
- | due to leap seconds. */
894
- | return (t == (time_t) -1
895
- | || (0 < t && answer - 120 <= t && t <= answer + 120));
896
- | }
897
- |
898
- | int
899
- | main ()
900
- | {
901
- | time_t t, delta;
902
- | int i, j;
903
- |
904
- | /* This test makes some buggy mktime implementations loop.
905
- | Give up after 60 seconds; a mktime slower than that
906
- | isn't worth using anyway. */
907
- | alarm (60);
908
- |
909
- | for (;;)
910
- | {
911
- | t = (time_t_max << 1) + 1;
912
- | if (t <= time_t_max)
913
- | break;
914
- | time_t_max = t;
915
- | }
916
- | time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
917
- |
918
- | delta = time_t_max / 997; /* a suitable prime number */
919
- | for (i = 0; i < N_STRINGS; i++)
920
- | {
921
- | if (tz_strings[i])
922
- | putenv ((char*) tz_strings[i]);
923
- |
924
- | for (t = 0; t <= time_t_max - delta; t += delta)
925
- | if (! mktime_test (t))
926
- | return 1;
927
- | if (! (mktime_test ((time_t) 1)
928
- | && mktime_test ((time_t) (60 * 60))
929
- | && mktime_test ((time_t) (60 * 60 * 24))))
930
- | return 1;
931
- |
932
- | for (j = 1; ; j <<= 1)
933
- | if (! bigtime_test (j))
934
- | return 1;
935
- | else if (INT_MAX / 2 < j)
936
- | break;
937
- | if (! bigtime_test (INT_MAX))
938
- | return 1;
939
- | }
940
- | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
941
- | }
942
- configure:5525: result: no
943
- configure:5538: checking for stdlib.h
944
- configure:5538: result: yes
945
- configure:5548: checking for GNU libc compatible realloc
946
- configure:5572: gcc -o conftest -g -O2 conftest.c -lm >&5
947
- configure:5572: $? = 0
948
- configure:5572: ./conftest
949
- configure:5572: $? = 0
950
- configure:5582: result: yes
951
- configure:5608: checking for floor
952
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
953
- conftest.c:66: warning: conflicting types for built-in function 'floor'
954
- configure:5608: $? = 0
955
- configure:5608: result: yes
956
- configure:5608: checking for ftime
957
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
958
- configure:5608: $? = 0
959
- configure:5608: result: yes
960
- configure:5608: checking for getcwd
961
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
962
- configure:5608: $? = 0
963
- configure:5608: result: yes
964
- configure:5608: checking for gettimeofday
965
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
966
- configure:5608: $? = 0
967
- configure:5608: result: yes
968
- configure:5608: checking for memmove
969
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
970
- conftest.c:70: warning: conflicting types for built-in function 'memmove'
971
- configure:5608: $? = 0
972
- configure:5608: result: yes
973
- configure:5608: checking for memset
974
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
975
- conftest.c:71: warning: conflicting types for built-in function 'memset'
976
- configure:5608: $? = 0
977
- configure:5608: result: yes
978
- configure:5608: checking for pow
979
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
980
- conftest.c:72: warning: conflicting types for built-in function 'pow'
981
- configure:5608: $? = 0
982
- configure:5608: result: yes
983
- configure:5608: checking for sqrt
984
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
985
- conftest.c:73: warning: conflicting types for built-in function 'sqrt'
986
- configure:5608: $? = 0
987
- configure:5608: result: yes
988
- configure:5608: checking for strcasecmp
989
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
990
- conftest.c:74: warning: conflicting types for built-in function 'strcasecmp'
991
- configure:5608: $? = 0
992
- configure:5608: result: yes
993
- configure:5608: checking for strchr
994
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
995
- conftest.c:75: warning: conflicting types for built-in function 'strchr'
996
- configure:5608: $? = 0
997
- configure:5608: result: yes
998
- configure:5608: checking for strcspn
999
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
1000
- conftest.c:76: warning: conflicting types for built-in function 'strcspn'
1001
- configure:5608: $? = 0
1002
- configure:5608: result: yes
1003
- configure:5608: checking for strrchr
1004
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
1005
- conftest.c:77: warning: conflicting types for built-in function 'strrchr'
1006
- configure:5608: $? = 0
1007
- configure:5608: result: yes
1008
- configure:5608: checking for strstr
1009
- configure:5608: gcc -o conftest -g -O2 conftest.c -lm >&5
1010
- conftest.c:78: warning: conflicting types for built-in function 'strstr'
1011
- configure:5608: $? = 0
1012
- configure:5608: result: yes
1013
- configure:5734: creating ./config.status
1014
-
1015
- ## ---------------------- ##
1016
- ## Running config.status. ##
1017
- ## ---------------------- ##
1018
-
1019
- This file was extended by FULL-PACKAGE-NAME config.status VERSION, which was
1020
- generated by GNU Autoconf 2.68. Invocation command line was
1021
-
1022
- CONFIG_FILES =
1023
- CONFIG_HEADERS =
1024
- CONFIG_LINKS =
1025
- CONFIG_COMMANDS =
1026
- $ ./config.status
1027
-
1028
- on elijah-2.local
1029
-
1030
- config.status:860: creating Makefile
1031
- config.status:860: creating fofi/Makefile
1032
- config.status:860: creating goo/Makefile
1033
- config.status:860: creating splash/Makefile
1034
- config.status:860: creating src/Makefile
1035
- config.status:860: creating xpdf/Makefile
1036
- config.status:860: creating aconf.h
1037
-
1038
- ## ---------------- ##
1039
- ## Cache variables. ##
1040
- ## ---------------- ##
1041
-
1042
- ac_cv_c_compiler_gnu=yes
1043
- ac_cv_c_inline=inline
1044
- ac_cv_cxx_compiler_gnu=yes
1045
- ac_cv_env_CCC_set=
1046
- ac_cv_env_CCC_value=
1047
- ac_cv_env_CC_set=
1048
- ac_cv_env_CC_value=
1049
- ac_cv_env_CFLAGS_set=
1050
- ac_cv_env_CFLAGS_value=
1051
- ac_cv_env_CPPFLAGS_set=
1052
- ac_cv_env_CPPFLAGS_value=
1053
- ac_cv_env_CPP_set=
1054
- ac_cv_env_CPP_value=
1055
- ac_cv_env_CXXFLAGS_set=
1056
- ac_cv_env_CXXFLAGS_value=
1057
- ac_cv_env_CXX_set=
1058
- ac_cv_env_CXX_value=
1059
- ac_cv_env_LDFLAGS_set=
1060
- ac_cv_env_LDFLAGS_value=
1061
- ac_cv_env_LIBS_set=
1062
- ac_cv_env_LIBS_value=
1063
- ac_cv_env_XMKMF_set=
1064
- ac_cv_env_XMKMF_value=
1065
- ac_cv_env_build_alias_set=
1066
- ac_cv_env_build_alias_value=
1067
- ac_cv_env_host_alias_set=
1068
- ac_cv_env_host_alias_value=
1069
- ac_cv_env_target_alias_set=
1070
- ac_cv_env_target_alias_value=
1071
- ac_cv_func_alarm=yes
1072
- ac_cv_func_connect=yes
1073
- ac_cv_func_floor=yes
1074
- ac_cv_func_ftime=yes
1075
- ac_cv_func_getcwd=yes
1076
- ac_cv_func_gethostbyname=yes
1077
- ac_cv_func_gettimeofday=yes
1078
- ac_cv_func_malloc_0_nonnull=yes
1079
- ac_cv_func_memmove=yes
1080
- ac_cv_func_memset=yes
1081
- ac_cv_func_popen=yes
1082
- ac_cv_func_pow=yes
1083
- ac_cv_func_realloc_0_nonnull=yes
1084
- ac_cv_func_remove=yes
1085
- ac_cv_func_shmat=yes
1086
- ac_cv_func_sqrt=yes
1087
- ac_cv_func_strcasecmp=yes
1088
- ac_cv_func_strchr=yes
1089
- ac_cv_func_strcspn=yes
1090
- ac_cv_func_strrchr=yes
1091
- ac_cv_func_strstr=yes
1092
- ac_cv_func_working_mktime=no
1093
- ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\''/usr/X11/lib'\'''
1094
- ac_cv_header_dirent_dirent_h=yes
1095
- ac_cv_header_fcntl_h=yes
1096
- ac_cv_header_inttypes_h=yes
1097
- ac_cv_header_limits_h=yes
1098
- ac_cv_header_memory_h=yes
1099
- ac_cv_header_stdbool_h=yes
1100
- ac_cv_header_stdc=yes
1101
- ac_cv_header_stddef_h=yes
1102
- ac_cv_header_stdint_h=yes
1103
- ac_cv_header_stdlib_h=yes
1104
- ac_cv_header_string_h=yes
1105
- ac_cv_header_strings_h=yes
1106
- ac_cv_header_sys_stat_h=yes
1107
- ac_cv_header_sys_time_h=yes
1108
- ac_cv_header_sys_types_h=yes
1109
- ac_cv_header_time=yes
1110
- ac_cv_header_unistd_h=yes
1111
- ac_cv_lib_Goo_main=no
1112
- ac_cv_lib_ICE_IceConnectionNumber=yes
1113
- ac_cv_lib_X11_main=no
1114
- ac_cv_lib_Xpdf_main=no
1115
- ac_cv_lib_error_at_line=no
1116
- ac_cv_lib_fofi_main=no
1117
- ac_cv_lib_m_main=yes
1118
- ac_cv_lib_splash_main=no
1119
- ac_cv_objext=o
1120
- ac_cv_path_EGREP='/usr/bin/grep -E'
1121
- ac_cv_path_GREP=/usr/bin/grep
1122
- ac_cv_prog_CPP='gcc -E'
1123
- ac_cv_prog_ac_ct_CC=gcc
1124
- ac_cv_prog_ac_ct_CXX=g++
1125
- ac_cv_prog_ac_ct_RANLIB=ranlib
1126
- ac_cv_prog_cc_c89=
1127
- ac_cv_prog_cc_g=yes
1128
- ac_cv_prog_cxx_g=yes
1129
- ac_cv_search_opendir='none required'
1130
- ac_cv_sys_largefile_source=no
1131
- ac_cv_type__Bool=yes
1132
- ac_cv_type_size_t=yes
1133
- xpdf_cv_func_mkstemp=yes
1134
- xpdf_cv_func_mkstemps=yes
1135
-
1136
- ## ----------------- ##
1137
- ## Output variables. ##
1138
- ## ----------------- ##
1139
-
1140
- CC='gcc'
1141
- CFLAGS='-g -O2'
1142
- CPP='gcc -E'
1143
- CPPFLAGS=''
1144
- CXX='g++'
1145
- CXXFLAGS='-g -O2'
1146
- DEFS='-DHAVE_CONFIG_H'
1147
- ECHO_C='\c'
1148
- ECHO_N=''
1149
- ECHO_T=''
1150
- EGREP='/usr/bin/grep -E'
1151
- EXEEXT=''
1152
- GREP='/usr/bin/grep'
1153
- LDFLAGS=''
1154
- LIBOBJS=' ${LIBOBJDIR}error$U.o ${LIBOBJDIR}mktime$U.o'
1155
- LIBS='-lm '
1156
- LTLIBOBJS=' ${LIBOBJDIR}error$U.lo ${LIBOBJDIR}mktime$U.lo'
1157
- OBJEXT='o'
1158
- PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
1159
- PACKAGE_NAME='FULL-PACKAGE-NAME'
1160
- PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
1161
- PACKAGE_TARNAME='full-package-name'
1162
- PACKAGE_URL=''
1163
- PACKAGE_VERSION='VERSION'
1164
- PATH_SEPARATOR=':'
1165
- RANLIB='ranlib'
1166
- SHELL='/bin/sh'
1167
- XMKMF=''
1168
- X_CFLAGS=''
1169
- X_EXTRA_LIBS=''
1170
- X_LIBS=' -L/usr/X11/lib -R/usr/X11/lib'
1171
- X_PRE_LIBS=' -lSM -lICE'
1172
- ac_ct_CC='gcc'
1173
- ac_ct_CXX='g++'
1174
- bindir='${exec_prefix}/bin'
1175
- build_alias=''
1176
- datadir='${datarootdir}'
1177
- datarootdir='${prefix}/share'
1178
- docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1179
- dvidir='${docdir}'
1180
- exec_prefix='${prefix}'
1181
- host_alias=''
1182
- htmldir='${docdir}'
1183
- includedir='${prefix}/include'
1184
- infodir='${datarootdir}/info'
1185
- libdir='${exec_prefix}/lib'
1186
- libexecdir='${exec_prefix}/libexec'
1187
- localedir='${datarootdir}/locale'
1188
- localstatedir='${prefix}/var'
1189
- mandir='${datarootdir}/man'
1190
- oldincludedir='/usr/include'
1191
- pdfdir='${docdir}'
1192
- prefix='/usr/local'
1193
- program_transform_name='s,x,x,'
1194
- psdir='${docdir}'
1195
- sbindir='${exec_prefix}/sbin'
1196
- sharedstatedir='${prefix}/com'
1197
- sysconfdir='${prefix}/etc'
1198
- target_alias=''
1199
-
1200
- ## ----------- ##
1201
- ## confdefs.h. ##
1202
- ## ----------- ##
1203
-
1204
- /* confdefs.h */
1205
- #define PACKAGE_NAME "FULL-PACKAGE-NAME"
1206
- #define PACKAGE_TARNAME "full-package-name"
1207
- #define PACKAGE_VERSION "VERSION"
1208
- #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
1209
- #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
1210
- #define PACKAGE_URL ""
1211
- #define HAVE_DIRENT_H 1
1212
- #define HAVE_LIBM 1
1213
- #define STDC_HEADERS 1
1214
- #define HAVE_SYS_TYPES_H 1
1215
- #define HAVE_SYS_STAT_H 1
1216
- #define HAVE_STDLIB_H 1
1217
- #define HAVE_STRING_H 1
1218
- #define HAVE_MEMORY_H 1
1219
- #define HAVE_STRINGS_H 1
1220
- #define HAVE_INTTYPES_H 1
1221
- #define HAVE_STDINT_H 1
1222
- #define HAVE_UNISTD_H 1
1223
- #define HAVE_FCNTL_H 1
1224
- #define HAVE_LIMITS_H 1
1225
- #define HAVE_STDDEF_H 1
1226
- #define HAVE_STDLIB_H 1
1227
- #define HAVE_STRING_H 1
1228
- #define HAVE_UNISTD_H 1
1229
- #define HAVE__BOOL 1
1230
- #define HAVE_STDBOOL_H 1
1231
- #define SYSTEM_XPDFRC "/usr/local/etc/xpdfrc"
1232
- #define HAVE_POPEN 1
1233
- #define HAVE_MKSTEMP 1
1234
- #define HAVE_MKSTEMPS 1
1235
- #define HAVE_FSEEKO 1
1236
- #define HAVE_STDLIB_H 1
1237
- #define HAVE_MALLOC 1
1238
- #define TIME_WITH_SYS_TIME 1
1239
- #define HAVE_SYS_TIME_H 1
1240
- #define HAVE_UNISTD_H 1
1241
- #define HAVE_ALARM 1
1242
- #define HAVE_STDLIB_H 1
1243
- #define HAVE_REALLOC 1
1244
- #define HAVE_SPLASH 1
1245
- #define HAVE_FLOOR 1
1246
- #define HAVE_FTIME 1
1247
- #define HAVE_GETCWD 1
1248
- #define HAVE_GETTIMEOFDAY 1
1249
- #define HAVE_MEMMOVE 1
1250
- #define HAVE_MEMSET 1
1251
- #define HAVE_POW 1
1252
- #define HAVE_SQRT 1
1253
- #define HAVE_STRCASECMP 1
1254
- #define HAVE_STRCHR 1
1255
- #define HAVE_STRCSPN 1
1256
- #define HAVE_STRRCHR 1
1257
- #define HAVE_STRSTR 1
1258
-
1259
- configure: exit 0