Merge lp:~bregma/xorg-gtest/xorg-gtest into lp:ubuntu/raring/xorg-gtest

Proposed by Stephen M. Webb
Status: Merged
Merged at revision: 9
Proposed branch: lp:~bregma/xorg-gtest/xorg-gtest
Merge into: lp:ubuntu/raring/xorg-gtest
Diff against target: 44284 lines (+37231/-4650)
76 files modified
COPYING (+1/-0)
ChangeLog (+0/-1273)
Makefile.am (+1/-1)
Makefile.in (+40/-18)
README (+19/-4)
aclocal.m4 (+6/-6)
aclocal/Makefile.in (+33/-7)
aclocal/xorg-gtest.m4 (+8/-38)
autogen.sh (+0/-11)
config.sub (+10/-1)
configure (+419/-539)
configure.ac (+24/-18)
data/Makefile (+51/-25)
data/Makefile.in (+34/-8)
debian/changelog (+11/-0)
debian/control (+4/-3)
debian/copyright (+32/-1)
debian/libxorg-gtest-data.install (+1/-1)
debian/libxorg-gtest-doc.install (+0/-1)
debian/patches/0001-fix-example-failures.patch (+42/-0)
debian/patches/0002-fix-valgrind-test-failure.patch (+20/-0)
debian/patches/series (+2/-0)
debian/rules (+2/-2)
debian/source/format (+1/-1)
depcomp (+72/-52)
doc/Doxyfile (+0/-1720)
doc/Doxyfile.in (+1834/-0)
doc/Makefile.am (+6/-6)
doc/Makefile.in (+63/-36)
examples/Makefile.am (+25/-12)
examples/Makefile.in (+95/-28)
examples/xorg-gtest-environment-example.cpp (+101/-0)
examples/xorg-gtest-example.cpp (+97/-12)
gtest/Makefile.am (+28/-0)
gtest/Makefile.in (+674/-0)
gtest/README (+8/-0)
gtest/include/Makefile.am (+25/-0)
gtest/include/Makefile.in (+526/-0)
gtest/include/gtest/gtest-spi.h (+232/-0)
gtest/include/gtest/gtest.h (+19537/-0)
gtest/src/gtest-all.cc (+9118/-0)
gtest/src/gtest_main.cc (+39/-0)
include/Makefile.am (+5/-4)
include/Makefile.in (+39/-12)
include/xorg/gtest/evemu/xorg-gtest-device.h (+120/-0)
include/xorg/gtest/evemu/xorg-gtest_device.h (+0/-91)
include/xorg/gtest/xorg-gtest-environment.h (+234/-0)
include/xorg/gtest/xorg-gtest-process.h (+253/-0)
include/xorg/gtest/xorg-gtest-test.h (+115/-0)
include/xorg/gtest/xorg-gtest-xserver.h (+295/-0)
include/xorg/gtest/xorg-gtest.h (+16/-4)
include/xorg/gtest/xorg-gtest_environment.h (+0/-184)
include/xorg/gtest/xorg-gtest_process.h (+0/-166)
include/xorg/gtest/xorg-gtest_test.h (+0/-104)
m4/ac_define_dir.m4 (+49/-0)
m4/gtest.m4 (+0/-63)
src/Makefile-xorg-gtest.am (+6/-2)
src/Makefile.am (+2/-0)
src/Makefile.in (+36/-7)
src/defines.h (+1/-1)
src/device.cpp (+156/-2)
src/environment.cpp (+73/-130)
src/process.cpp (+153/-34)
src/test.cpp (+22/-4)
src/xorg-gtest-all.cpp (+1/-0)
src/xorg-gtest_main.cpp (+20/-17)
src/xserver.cpp (+587/-0)
test/Makefile.am (+87/-0)
test/Makefile.in (+855/-0)
test/PIXART-USB-OPTICAL-MOUSE.desc (+41/-0)
test/device-test.cpp (+33/-0)
test/process-test-helper.cpp (+10/-0)
test/process-test.cpp (+379/-0)
test/xserver-test-helper.cpp (+19/-0)
test/xserver-test.cpp (+382/-0)
xorg-gtest.pc.in (+1/-1)
To merge this branch: bzr merge lp:~bregma/xorg-gtest/xorg-gtest
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Ubuntu branches Pending
Review via email: mp+144045@code.launchpad.net

Description of the change

Import newer upstream v0.7.0.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Uploaded.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'COPYING'
--- COPYING 2012-03-19 18:39:04 +0000
+++ COPYING 2013-01-21 00:48:20 +0000
@@ -1,4 +1,5 @@
1Copyright (C) 2011, 2012 Canonical, Ltd.1Copyright (C) 2011, 2012 Canonical, Ltd.
2Copyright © 2012 Red Hat, Inc.
23
3Permission is hereby granted, free of charge, to any person obtaining a copy of4Permission is hereby granted, free of charge, to any person obtaining a copy of
4this software and associated documentation files (the "Software"), to deal in5this software and associated documentation files (the "Software"), to deal in
56
=== modified file 'ChangeLog'
--- ChangeLog 2012-06-08 12:39:52 +0000
+++ ChangeLog 2013-01-21 00:48:20 +0000
@@ -1,1273 +0,0 @@
1commit 3774f91ba3722bd56b532dde549aef1df1749a51
2Author: Chase Douglas <chase.douglas@canonical.com>
3Date: Fri Jun 8 12:01:23 2012 -0700
4
5 Release version 0.3.0
6
7 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
8
9commit 9c8986c3d9854cb9a6f1f5dc39b8c16a1139ae91
10Author: Peter Hutterer <peter.hutterer@who-t.net>
11Date: Tue Jun 5 14:49:34 2012 +1000
12
13 Set log verbosity to 10
14
15 Might as well get as much data as possible.
16
17 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
18 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
19 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
20
21commit 0c038b4c0a63f494eb7aec08baace7e750ab1b81
22Author: Chase Douglas <chase.douglas@canonical.com>
23Date: Fri May 25 08:17:57 2012 -0700
24
25 Check if log file and old log file are writable before starting X server
26
27 Otherwise, the server will fail to start and it won't be obvious what
28 happened.
29
30 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
31 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
32
33commit 68b4ef7b5f100a14a5aee33d5c34ef8b29bafa3b
34Author: Chase Douglas <chase.douglas@canonical.com>
35Date: Fri May 25 07:40:49 2012 -0700
36
37 Check if a server is already running on the chosen display name
38
39 Otherwise, our server will silently die and we will connect to the
40 already running server without knowing.
41
42 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
43 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
44
45commit 2b5f29b84b87040be9ad6ce8d986b23bab253189
46Author: Peter Hutterer <peter.hutterer@who-t.net>
47Date: Fri May 25 11:57:20 2012 +1000
48
49 XCloseDisplay(3) cannot handle NULL
50
51 If the display failed to start, tearing it down with a NULL pointer causes a
52 segfault.
53
54 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
55 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
56 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
57
58commit 631aa80fe44b21dfac2938f2702d3ab15365dfba
59Author: Peter Hutterer <peter.hutterer@who-t.net>
60Date: Fri May 25 11:57:19 2012 +1000
61
62 Print the display we were trying to start up on.
63
64 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
65 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
66 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
67
68commit b6fb8681c4b56f6028f9c981cfa27f6466ff74bd
69Merge: d5bc8f1 6a1174b
70Author: Chase Douglas <chase.douglas@canonical.com>
71Date: Thu May 24 10:00:25 2012 -0700
72
73 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/test/xorg-gtest
74
75commit 6a1174b8cdfc2079dd72209f49197d7a9c6555f1
76Author: Peter Hutterer <peter.hutterer@who-t.net>
77Date: Thu May 24 13:13:28 2012 +1000
78
79 Update source files to use new headers
80
81 introduced in e1c010f23272e61c28c73aa603b477ba6fbae875
82
83 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
84 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
85 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
86
87commit e1c010f23272e61c28c73aa603b477ba6fbae875
88Author: Chase Douglas <chase.douglas@canonical.com>
89Date: Fri May 18 13:23:32 2012 -0700
90
91 Namespace xorg-gtest header filenames
92
93 Due to the default automake compilation flags including -I. -I.., it is
94 possible to pick up an xorg-gtest header like device.h instead of a
95 project header. Namespacing the headers should resolve this issue. Users
96 should be including xorg-gtest.h instead of individual headers, so this
97 should not cause compilation failures.
98
99 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
100 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
101
102commit d57dc7dc787af4b5a9728b83eb1cfccf94ff08b0
103Author: Chase Douglas <chase.douglas@canonical.com>
104Date: Fri May 18 13:23:31 2012 -0700
105
106 Add comment to Makefile-xorg-gtest.am about compiling with -w
107
108 Users of xorg-gtest will not want warnings or failed builds due to
109 issues in gtest or xorg-gtest.
110
111 Note that the internal build of the xorg-gtest example does not use the
112 -w flag when building examples, so we will still see warnings when
113 xorg-gtest itself is built.
114
115 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
116 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
117
118commit d5bc8f147f25f4a5aff8011a2ea542ddd606df23
119Author: Chase Douglas <chase.douglas@canonical.com>
120Date: Fri May 18 13:16:25 2012 -0700
121
122 Namespace xorg-gtest header filenames
123
124 Due to the default automake compilation flags including -I. -I.., it is
125 possible to pick up an xorg-gtest header like device.h instead of a
126 project header. Namespacing the headers should resolve this issue. Users
127 should be including xorg-gtest.h instead of individual headers, so this
128 should not cause compilation failures.
129
130 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
131
132commit 5b0320cf21aa64d6359319f95194efd60288c924
133Author: Chase Douglas <chase.douglas@canonical.com>
134Date: Fri May 18 13:11:21 2012 -0700
135
136 Add comment to Makefile-xorg-gtest.am about compiling with -w
137
138 Users of xorg-gtest will not want warnings or failed builds due to
139 issues in gtest or xorg-gtest.
140
141 Note that the internal build of the xorg-gtest example does not use the
142 -w flag when building examples, so we will still see warnings when
143 xorg-gtest itself is built.
144
145 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
146
147commit ae1e069ad03682d6f6e830bf6d237e41984d3cf3
148Author: Peter Hutterer <peter.hutterer@who-t.net>
149Date: Wed May 16 09:08:40 2012 +1000
150
151 examples: built tests as noinst_PROGRAMS
152
153 check_PROGRAMS is only built on make check, so it's a good way of
154 introducing build errors until later (as we discovered in the server).
155 Always built the tests, running them is optional.
156
157 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
158 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
159 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
160
161commit 31b64e0fbc8dfe420d51e325c67a07e2eaa413f7
162Author: Peter Hutterer <peter.hutterer@who-t.net>
163Date: Wed May 16 09:07:41 2012 +1000
164
165 m4: if a source is specified, use that for the include path
166
167 Don't require users to specify both source and include path. We can assume
168 that if they have the source at a certain location, they want those headers
169 too.
170
171 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
172 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
173 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
174
175commit 6b66ce9fc632108a765a8e96cd287b6179f9cbb0
176Author: Chase Douglas <chase.douglas@canonical.com>
177Date: Fri Apr 20 09:41:45 2012 -0700
178
179 Wait for dummy X server to shut down in Environment::TearDown()
180
181 If two xorg-gtest binaries are executed one after another, the second
182 one may attempt to start its X server before the first one's X server
183 has fully shut down. This leads to the second X server not starting.
184
185 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
186 Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
187
188commit 080cee4010157b45c60b5693eca4f9aebda0c900
189Author: Chase Douglas <chase.douglas@canonical.com>
190Date: Wed Apr 18 10:30:18 2012 -0700
191
192 Provide a full server layout in dummy.conf
193
194 The X.org server uses the first server layout, and provides one if none
195 are found. If a layout is specified in /usr/share/X11/xorg.conf.d, the
196 dummy video device configuration may not be used.
197
198 This change ensures that the dummy video device is used by providing a
199 full server layout in the main configuration file.
200
201 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
202 Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
203
204commit 91261b2371dedc0b8eba9161950b099c130c408a
205Author: Chase Douglas <chase.douglas@canonical.com>
206Date: Wed Apr 18 10:24:50 2012 -0700
207
208 Kill dummy Xorg server when a terminating signal arrives
209
210 This only takes effect if the program links in the provided main()
211 function. If you provide your own main() you must handle signals
212 yourself.
213
214 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
215 Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
216
217commit ff1f42e50b36885008e6f8b82595dec8949deba3
218Author: Chase Douglas <chase.douglas@canonical.com>
219Date: Wed Apr 18 10:23:38 2012 -0700
220
221 Add Environment::Kill() to forcefully terminate the dummy Xorg server
222
223 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
224 Reviewed-by: Stephen M. Webb <stephen.webb@bregmasoft.ca>
225
226commit 1e7618f41e48e29c8dfa30cb74dbdeb8ebd83896
227Author: Chase Douglas <chase.douglas@canonical.com>
228Date: Mon Mar 26 09:55:21 2012 -0700
229
230 Add missing Identifier name to 99-virtual-test-devices.conf
231
232 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
233
234commit c77b5e188451c7ac9995ade5e3cf069ccc803e8e
235Author: Thomas Voß <thomas.voss@canonical.com>
236Date: Thu Mar 22 14:59:19 2012 -0400
237
238 Add an xorg configuration file snippet to disable grabbing of test devices.
239
240 When a test creates a test trackpad device, an already running X server
241 will likely grab the event node. This causes the dummy X server to fail
242 to instantiate the device, and ends in test failure.
243
244 This will ensure that the normal X server does not attempt to grab the
245 test device.
246
247 Signed-off-by: Thomas Voß <thomas.voss@canonical.com>
248 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
249 Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
250 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
251
252commit ad440d9c228a44981f1e2364fb0678840b08be3c
253Author: Chase Douglas <chase.douglas@canonical.com>
254Date: Mon Mar 19 17:00:45 2012 -0700
255
256 Release version 0.2.0
257
258 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
259
260commit 852b504288ca579a06b741b4588ee1b98b1b45f5
261Author: Chase Douglas <chase.douglas@canonical.com>
262Date: Thu Mar 8 14:51:40 2012 -0800
263
264 Ship xorg-gtest.m4 and Makefile-xorg-gtest.am
265
266 See README for instructions on how to use them.
267
268 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
269 Reviewed-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
270
271commit 3f019e8272e33869312a7b5a94af94e14c81cd15
272Author: Chase Douglas <chase.douglas@canonical.com>
273Date: Tue Mar 13 23:30:39 2012 -0700
274
275 Print more helpful error message when X server fails to start
276
277 Usually, xorg-gtest requires the dummy video driver. It also requires an
278 X server at least version 1.12, or to be run as root when testing with a
279 previous X server. Print this information when the server fails to
280 start, and point the user to the log file for further details.
281
282 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
283 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
284
285commit 6d0cd228d5ea5ff734f3bc1754d0dfbb93e6d1b4
286Author: Chase Douglas <chase.douglas@canonical.com>
287Date: Tue Mar 13 11:32:02 2012 -0700
288
289 Allow user to override default Xorg server binary
290
291 This can be accomplished by compiling xorg-gtest with
292 -DDEFAULT_XORG_SERVER=path/to/Xorg.
293
294 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
295 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
296
297commit 4acb16f939c73dc081775e29eb4089e4184fffbf
298Author: Chase Douglas <chase.douglas@canonical.com>
299Date: Thu Mar 8 14:24:16 2012 -0800
300
301 Install, but do not build into a library, the xorg-gtest sources
302
303 This mimics the Google Test distribution mechanism. See:
304
305 http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog
306
307 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
308 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
309
310commit 71f006cadac2bc7f249965896d898143d7592f12
311Author: Chase Douglas <chase.douglas@canonical.com>
312Date: Thu Mar 8 14:18:39 2012 -0800
313
314 Build gtest as part of the project
315
316 Google Test does not recommend using precompiled gtest libraries. See:
317
318 http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog
319
320 This change modifies the build system so the examples build the gtest
321 and xorg-gtest libraries and link against the locally built libraries
322 instead of any other precompiled libraries on the system. It uses the
323 same compiler flags to compile everything so the C++ One-Definition Rule
324 is not broken.
325
326 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
327 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
328
329commit d02b5095dbe69b695034242a978c489aaef61109
330Author: Chase Douglas <chase.douglas@canonical.com>
331Date: Thu Mar 8 14:00:04 2012 -0800
332
333 Provide meta-source file xorg-gtest-all.cpp
334
335 This will make compiling the project each time it is used much easier.
336
337 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
338 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
339
340commit 5afddf4681d6ce651164c5486a15b41a0b098ac4
341Author: Chase Douglas <chase.douglas@canonical.com>
342Date: Thu Mar 8 11:55:01 2012 -0800
343
344 Rename main.cpp to xorg-gtest_main.cpp
345
346 This matches the library name and will help with understanding what the
347 includes since we are now shipping the source code.
348
349 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
350 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
351
352commit e0f7ec50461b68851cfb13c7b73c1ee4faa7a7d5
353Author: Chase Douglas <chase.douglas@canonical.com>
354Date: Thu Mar 8 11:50:05 2012 -0800
355
356 Add a meta-header xorg-gtest.h
357
358 The header merely includes all the other headers. It will make building
359 xorg-gtest into each project easier.
360
361 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
362 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
363
364commit 7102f4115ed044a903c5071e6930630456778313
365Author: Chase Douglas <chase.douglas@canonical.com>
366Date: Thu Mar 8 09:38:05 2012 -0800
367
368 Install xorg-gtest source code in $(prefix)/src/xorg-gtest
369
370 Google Test suggests that source code be built into each test rather
371 than use a pre-compiled library. This change follows their lead and
372 installs the xorg-gtest source code.
373
374 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
375 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
376
377commit fcb1f66c5caec990d499bff94215057b221ea004
378Author: Chase Douglas <chase.douglas@canonical.com>
379Date: Thu Mar 8 09:42:37 2012 -0800
380
381 Move xorg-gtest.cpp to xorg-gtest-example.cpp
382
383 This makes the source file match the built executable.
384
385 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
386 Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
387
388commit 3a8d82db172612f6071b0ab5423828ff6daad2b7
389Author: Gaetan Nadon <memsize@videotron.ca>
390Date: Thu Mar 8 19:48:28 2012 -0500
391
392 config: merge both AC_CONFIG_FILES statements.
393
394 Typically all modules have a single statement unless some output files
395 are conditionally generated.
396
397 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
398 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
399 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
400
401commit 23ce7387c7a762626aef6ffb2c3970a714716595
402Author: Gaetan Nadon <memsize@videotron.ca>
403Date: Thu Mar 8 19:48:27 2012 -0500
404
405 config: remove unrequired AC_SUBST DUMMY_CONF_PATH statement
406
407 The variable is not used in any makefile. Configure.ac does not participate
408 in the determination of the conf path. The final value of datadir is not
409 known at config time, only at make time.
410
411 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
412 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
413 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
414
415commit 9bccebeff291e21e9d65c168fabce39e4ba9e97a
416Author: Gaetan Nadon <memsize@videotron.ca>
417Date: Thu Mar 8 17:33:21 2012 -0500
418
419 config: use existing feature --enable-strict-compilation
420
421 This replaces current code attempting to perform similar function.
422 In configure.ac, the code is gcc specific.
423 The src/Makefile.am has $(WARNING_FLAGS) rather than $(WARNING_CPPFLAGS)
424
425 http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in
426
427 Looking at the xorg-gtest module --help text:
428 --enable-strict-compilation
429 Enable all warnings from compiler and make them
430 errors (default: disabled)
431
432 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
433 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
434 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
435
436commit ea7303900e3689d5b258bd5d61593f8b1ae3b4b0
437Author: Gaetan Nadon <memsize@videotron.ca>
438Date: Thu Mar 8 17:33:20 2012 -0500
439
440 config: support Automake 1.10
441
442 X.Org has a requirement to support 1.10 or later.
443 The silent rules are handled by XORG_DEFAULT_OPTIONS
444 We do not write the version number, but refer to the wiki:
445 http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System
446
447 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
448 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
449 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
450
451commit caec23aa80e92ad760dbcd4f285e62cbea6a99c3
452Author: Gaetan Nadon <memsize@videotron.ca>
453Date: Thu Mar 8 17:33:19 2012 -0500
454
455 config: remove redundant AC_PROG_INSTALL
456
457 Already included in XORG_DEFAULT_OPTIONS
458
459 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
460 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
461 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
462
463commit 0a55043449c23f12fc3c2385b2c2784ee6826749
464Author: Chase Douglas <chase.douglas@canonical.com>
465Date: Mon Mar 5 10:52:21 2012 -0800
466
467 Add xorg::testing::evemu::Device
468
469 Device uses utouch-evemu for input device recording playback through the
470 Linux kernel.
471
472 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
473 Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
474 Reviewed-by: Stephen Webb <stephen.webb@canonical.com>
475
476commit bf4a7db2485ab2d28a6bb6333df7d431a928cc95
477Author: Chase Douglas <chase.douglas@canonical.com>
478Date: Tue Mar 6 17:15:58 2012 -0800
479
480 Fix dummy.conf location definition
481
482 Now that the xorg-gtest data build has been separated from the src
483 build, the location definition is broken and results in xorg-gtest
484 looking for /dummy.conf instead of ${datadir}/xorg/gtest/dummy.conf.
485 This change fixes the location
486
487 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
488
489commit b36f5493258e8fb896ed4a710b03c7428a2cf21b
490Author: Chase Douglas <chase.douglas@canonical.com>
491Date: Mon Mar 5 11:31:57 2012 -0800
492
493 Add examples/xorg-gtest-example to .gitignore
494
495 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
496 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
497
498commit dd6e963e0833b2920f1bb120b6fba6e2e3c60121
499Author: Chase Douglas <chase.douglas@canonical.com>
500Date: Mon Mar 5 11:26:38 2012 -0800
501
502 Define automake CPP warning flags in Makefile.am, not configure.ac
503
504 Otherwise, AM_CPPFLAGS could not be overridden in Makefile.am.
505
506 Also, move AM_CXXFLAGS to the top of src/Makefile.am to match.
507
508 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
509 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
510
511commit e888dcd08cb4b5ee332f155207a56f7098524e14
512Author: Chase Douglas <chase.douglas@canonical.com>
513Date: Wed Feb 29 12:26:48 2012 -0800
514
515 Use BASE_CXXFLAGS from xorg macros
516
517 The X.org macros package version 1.16.2 is the first to define
518 BASE_CXXFLAGS; however, we don't need to require version 1.16.2. If it's
519 available, then great. If not, $(BASE_CXXFLAGS) will be empty and
520 nothing terrible will happen.
521
522 Included in this commit is a fix for an error, now that we are using
523 BASE_CXXFLAGS, for shadowing variables from parent contexts.
524
525 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
526 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
527
528commit 63a2903a15d53a19930b72ffda06b92492718e6c
529Author: Chase Douglas <chase.douglas@canonical.com>
530Date: Mon Mar 5 11:07:48 2012 -0800
531
532 Split data and include build rules out of src build rules
533
534 This will simplify things when we add more features to xorg-gtest.
535
536 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
537 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
538
539commit 20827807711933b0083458c968aa6bbc06db859f
540Author: Chase Douglas <chase.douglas@canonical.com>
541Date: Thu Mar 1 10:24:59 2012 -0800
542
543 Relicense under the X.org preferred license
544
545 Copied from http://www.x.org/releases/X11R7.6/doc/xorg-docs/License.html
546
547 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
548 Acked-by: Daniel Stone <daniel@fooishbar.org>
549 Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
550
551commit 3e9e3232638a75e21f3ef2ca12888aaade8792f4
552Author: Gaetan Nadon <memsize@videotron.ca>
553Date: Wed Feb 29 18:23:44 2012 -0500
554
555 config: do not initialize libtool twice
556
557 AC_PROG_LIBTOOL initializes libtool, contrary to what the name may suggest.
558 It has been renamed to LT_INIT in libtool v2. However X.Org has a requirement
559 to support libtool v1.5.
560
561 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
562 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
563 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
564
565commit e43cc450a17245f838dfacb44492cf10383bdbb6
566Author: Gaetan Nadon <memsize@videotron.ca>
567Date: Wed Feb 29 18:23:43 2012 -0500
568
569 config: no need to m4_include gtest.m4
570
571 This is done when autoconf runs aclocal.
572
573 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
574 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
575 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
576
577commit 8812b410c2458329ac8648b31f6f7e1f2b428df1
578Author: Chase Douglas <chase.douglas@canonical.com>
579Date: Wed Feb 29 10:55:33 2012 -0800
580
581 Remove xorg-server pkgconfig check
582
583 xorg-server flags are not needed. Including them also causes
584 -fvisibility=hidden to be used, which breaks the build output.
585
586 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
587 Reviewed-by: Gaeton Nadon <memsize@videotron.ca>
588
589commit c444aebf7a56183531055767bf982f0206da3db0
590Author: Gaetan Nadon <memsize@videotron.ca>
591Date: Mon Feb 27 11:04:36 2012 -0500
592
593 distcheck: cannot create directory `xorg-gtest-0.1.1': Permission denied
594
595 Use the util-macros implementation to generate the ChangeLog
596 and the INSTALL file.
597
598 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
599
600commit e19ee59526198734118a5894ef2c4cef97528064
601Author: Gaetan Nadon <memsize@videotron.ca>
602Date: Mon Feb 27 11:04:35 2012 -0500
603
604 distcheck fails: cannot open linker script file libxorg-gtest.ver
605
606 The $(top_srcdir) path is needed to locate the source as it is not
607 in the same dir as the generated files.
608
609 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
610 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
611 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
612
613commit 749b0eabd8c6075cac082b3727da5efdcc68d6e6
614Author: Gaetan Nadon <memsize@videotron.ca>
615Date: Sun Feb 26 19:53:45 2012 -0500
616
617 Revert "Use the standard autogen.sh script from xorg"
618
619 This reverts commit 839257c03d033f4352243ac70be9f78c5a8dfdd0.
620
621 This module has different requirements for autogen.sh.
622 The upcoming version with the variable NOCONFIGURE
623 would probably be satisfactory.
624
625 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
626
627commit 131c80ac6b199988b08df26f30dabe1c7ba9684a
628Author: Gaetan Nadon <memsize@videotron.ca>
629Date: Sun Feb 26 16:36:55 2012 -0500
630
631 examples/test.cpp: fatal error: X11/Xlib.h: No such file or directory
632
633 Need XSERVER_CFLAGS to locate Xlib.h
634
635 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
636
637commit 35d0a43e9a059e54e95fda1211112104ad6ad262
638Author: Gaetan Nadon <memsize@videotron.ca>
639Date: Sun Feb 26 16:08:55 2012 -0500
640
641 test.cpp: fatal error: X11/Xlib.h: No such file or directory
642
643 Need XSERVER_CFLAGS to locate Xlib.h
644
645 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
646
647commit 6bae528bd9c8744d39b003c06f4f0a2ab41c9331
648Author: Gaetan Nadon <memsize@videotron.ca>
649Date: Sun Feb 26 16:20:25 2012 -0500
650
651 Fix typo in .gitignore comment
652
653 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
654
655commit 5c5dc5ee2891a2456b77ec322e847ba9234112b0
656Author: Gaetan Nadon <memsize@videotron.ca>
657Date: Sun Feb 26 16:12:43 2012 -0500
658
659 Add standard xorg toplevel .gitignore
660
661 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
662
663commit 839257c03d033f4352243ac70be9f78c5a8dfdd0
664Author: Gaetan Nadon <memsize@videotron.ca>
665Date: Sun Feb 26 14:26:33 2012 -0500
666
667 Use the standard autogen.sh script from xorg
668
669 The one here does not work the same way. It is very confusing when
670 these don't work the same way for all xorg modules.
671
672 It can be proposed as a new version version for all xorg modules
673 if it can be deemed to be more desirable.
674
675 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
676
677commit a15d88e39f19efdd6aa20053a7a3ce6ffc8c0d9e
678Author: Chase Douglas <chase.douglas@canonical.com>
679Date: Fri Feb 24 08:39:56 2012 -0800
680
681 Release version 0.1.1
682
683 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
684
685commit 6422b13b33438a1dfa2d57c2df3593fcac719814
686Author: Chase Douglas <chase.douglas@canonical.com>
687Date: Fri Feb 24 08:35:13 2012 -0800
688
689 Generate ChangeLog at make dist time
690
691 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
692
693commit 66bcd7de0d9bd4a822b6cf3bca79d295d7fb86ab
694Author: Chase Douglas <chase.douglas@canonical.com>
695Date: Fri Feb 24 08:01:17 2012 -0800
696
697 Add GPLv3 license as COPYING
698
699 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
700
701commit 5b130039fed4bb232d06aa419bf43336a7153e07
702Author: Chase Douglas <chase.douglas@canonical.com>
703Date: Fri Feb 24 07:58:03 2012 -0800
704
705 Link libxorg-gtest_main against libxorg-gtest
706
707 This fixes build failures if one only links against libxorg-gtest_main
708 but does not use any other xorg-gtest symbols.
709
710 Reported-by: Stephen Webb <stephen.webb@canonical.com>
711 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
712
713commit fc02e9aa96646c0ea60384b14083107a10e965b2
714Author: Chase Douglas <chase.douglas@canonical.com>
715Date: Wed Feb 15 08:54:08 2012 -0800
716
717 Fix linking against X server libs
718
719 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
720
721commit 1f4bd9c267e70cf9ac8a57f90bf1795b0fa63d6c
722Author: Chase Douglas <chase.douglas@canonical.com>
723Date: Sat Feb 4 11:47:35 2012 -0800
724
725 Add symbol version scripts
726
727 It would be nice to explicitly list each class method, but there's no
728 documentation on how to do it, and everything I try fails. At least this
729 ensures we don't ship visible symbols that are really part of GTest.
730
731 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
732 Reviewed-by: Stephen Webb <stephen.webb@canonical.com>
733
734commit 4216fddec31fed8b141f6d6f233c31e73e651fde
735Author: Daniel d'Andrada <daniel.dandrada@canonical.com>
736Date: Mon Feb 6 09:29:46 2012 -0200
737
738 Make Environment API property-based.
739
740 Instead of shoving all parameters in the constructor.
741
742 Signed-off-by: Daniel d'Andrada <daniel.dandrada@canonical.com>
743 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
744 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
745
746commit d568a6c0626eeef038753f207f234037bbbb26e4
747Author: Chase Douglas <chase.douglas@canonical.com>
748Date: Fri Feb 3 17:21:22 2012 -0800
749
750 Ship conf files
751
752 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
753
754commit 50cd80649cd09800a245754bb7621de777026022
755Author: Chase Douglas <chase.douglas@canonical.com>
756Date: Fri Feb 3 17:20:10 2012 -0800
757
758 Add defines.h to the list of source files
759
760 This ensures the header is shipped in the dist tarball.
761
762 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
763
764commit 24fbaa20c179ce4b4d9be9627bb41daffc91527a
765Author: Jussi Pakkanen <jussi.pakkanen@canonical.com>
766Date: Thu Feb 2 14:36:32 2012 +0200
767
768 Fix build system.
769
770 The project could not be built from scratch due to erroneous
771 Autofoo setup. This commit makes it work.
772
773 Signed-off-by: Jussi Pakkanen <jussi.pakkanen@canonical.com>
774 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
775 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
776
777commit 79b2d4e7f976621705bd32a9fd16e56c989a5a45
778Author: Chase Douglas <chase.douglas@canonical.com>
779Date: Wed Feb 1 11:12:29 2012 -0800
780
781 And by default point to a location that doesn't require root privileges to be used.
782
783 This will make it possible to run Xorg without being root.
784
785 Signed-off-by: Daniel d'Andrada <daniel.dandrada@canonical.com>
786
787commit 656d8b22be42b23d5336a85173d7381bf115a327
788Merge: 37906b3 e5f21a6
789Author: Chase Douglas <chase.douglas@ubuntu.com>
790Date: Wed Dec 21 08:30:43 2011 -0800
791
792 Merge some miscellaneous fixes
793
794commit e5f21a67393a5db4d91f07f87a649ec38d27fcc7
795Author: Chase Douglas <chase.douglas@ubuntu.com>
796Date: Wed Dec 21 08:09:22 2011 -0800
797
798 Use "make doc" to build all documentation
799
800 And clean up doc/Makefile.am targets.
801
802commit 739e52c343cdd412c0c4e9e21dd79be25b3027ca
803Author: Chase Douglas <chase.douglas@ubuntu.com>
804Date: Wed Dec 21 07:51:51 2011 -0800
805
806 Rename xorg_gtest_example to xorg-gtest-example
807
808commit c63e0369cc4c7db7ffe3109b6ea8ff478ac4ba91
809Author: Chase Douglas <chase.douglas@ubuntu.com>
810Date: Wed Dec 21 07:51:10 2011 -0800
811
812 Install man pages too
813
814commit c276dc0ac292d54ffc00dcab83ce7cc056c6c3df
815Author: Chase Douglas <chase.douglas@ubuntu.com>
816Date: Wed Dec 21 07:49:58 2011 -0800
817
818 Start the so library version at 0.0.0
819
820commit 37906b3c6431e470a07bbf5fd26784f5116b141c
821Merge: 67c98e9 5f10cf0
822Author: Thomas Voß <thomas.voss@rub.de>
823Date: Fri Dec 16 11:44:34 2011 +0100
824
825 Merged in lp:~chasedouglas/xorg-gtest/fixes.
826
827commit 67c98e96ab8ee10e2d399d1ed4fd1f20e3daffd5
828Merge: 286707f be95cf5
829Author: Chase Douglas <chase.douglas@ubuntu.com>
830Date: Wed Dec 14 11:59:40 2011 -0800
831
832 Merge example documentation fixes
833
834commit 5f10cf0d7bc2492e53bba8dc2105c8a9b8445a18
835Author: Chase Douglas <chase.douglas@ubuntu.com>
836Date: Wed Dec 14 11:34:01 2011 -0800
837
838 Fix gtest cpp flags
839
840commit c8a4e665b558f2e39b63bfe91a7081fc041887c2
841Author: Chase Douglas <chase.douglas@ubuntu.com>
842Date: Wed Dec 14 11:18:49 2011 -0800
843
844 Use gtest lib path when checking for gtest library
845
846commit 5bbdf9fe259a3bde28192286de2a685457b49a50
847Author: Chase Douglas <chase.douglas@ubuntu.com>
848Date: Wed Dec 14 11:11:25 2011 -0800
849
850 Use Process::SetEnv() in Environment::SetUp()
851
852commit 327d46a503ab1f57134e9d3a56f6792b151e8c03
853Author: Chase Douglas <chase.douglas@ubuntu.com>
854Date: Wed Dec 14 11:10:59 2011 -0800
855
856 Make Process::GetEnv and SetEnv static methods
857
858 They do not modify or use a Process object. They are merely helper
859 functions.
860
861commit 8b2947df181dba16e07bd399d33ef0ae60aebdeb
862Author: Chase Douglas <chase.douglas@ubuntu.com>
863Date: Wed Dec 14 11:01:39 2011 -0800
864
865 Move SetUp and TearDown methods to protected sections
866
867commit 7b18bcffa98443e736dbfde2848698f5e6d6efa9
868Author: Chase Douglas <chase.douglas@ubuntu.com>
869Date: Wed Dec 14 11:00:13 2011 -0800
870
871 Don't install Doxyfile
872
873commit e51bcee92edeb7f3da577f9f2da2b6ecb96d17d4
874Author: Chase Douglas <chase.douglas@ubuntu.com>
875Date: Wed Dec 14 10:54:33 2011 -0800
876
877 Only install documentation if it was created
878
879commit d5df40d00c6729dfdf1504d50f3658d3de22c5f5
880Author: Chase Douglas <chase.douglas@ubuntu.com>
881Date: Wed Dec 14 10:38:44 2011 -0800
882
883 Remove leftover geistest doc line in doc/Makefile.am
884
885commit 286707f7a39ce7daa753994f35776ff2f273f07e
886Author: Chase Douglas <chase.douglas@ubuntu.com>
887Date: Wed Dec 14 10:29:22 2011 -0800
888
889 Don't link gtest when creating library
890
891commit be95cf5f4fccaf6393ac65f3c3f9254acfd8ee17
892Author: Chase Douglas <chase.douglas@ubuntu.com>
893Date: Wed Dec 14 09:27:07 2011 -0800
894
895 Include examples directory when scanning for documented sources
896
897commit 42d3e9d818d4827ae001c50dd190fd477ffce593
898Author: Chase Douglas <chase.douglas@ubuntu.com>
899Date: Wed Dec 14 09:21:30 2011 -0800
900
901 Remove license header from example
902
903 It clutters up the example and is unnecessary for such a small file.
904
905commit 6f0204791b3057ad49719675f30810c1b2755aff
906Merge: bb34e85 2e13892
907Author: Chase Douglas <chase.douglas@ubuntu.com>
908Date: Wed Dec 14 09:13:34 2011 -0800
909
910 Merge in Doxygen branch, which also includes many fixes
911
912commit bb34e8586f1d74e4717dc8300bea6628b9a38804
913Merge: 4ee62b3 5b07f09
914Author: Chase Douglas <chase.douglas@ubuntu.com>
915Date: Wed Dec 14 08:25:54 2011 -0800
916
917 Merge gtest configure check fixes
918
919commit 2e13892e9031e10dc91a2677295be654eb6b7747
920Author: Thomas Voß <thomas.voss@rub.de>
921Date: Wed Dec 14 16:19:03 2011 +0100
922
923 Introduced examples. Added virtual d'tors to xorg::testing::Environment and xorg::testing::Test.
924
925commit 5b07f09f0713b670070e4d44ada2aeab3f6e883c
926Author: Chase Douglas <chase.douglas@ubuntu.com>
927Date: Tue Dec 13 17:30:48 2011 -0800
928
929 Use AC_LANG_PUSH(C++)/AC_LANG_POP so as not to contaminate configure.ac
930
931commit 9a493fa6cbaa61582092b2484ab2cf95edcc8dcf
932Author: Chase Douglas <chase.douglas@ubuntu.com>
933Date: Tue Dec 13 17:21:24 2011 -0800
934
935 Link against pthread when checking for gtest library
936
937commit 9b93e8df1f350fd1fc3cd0888c0bf565bf3e18f0
938Author: Chase Douglas <chase.douglas@ubuntu.com>
939Date: Tue Dec 13 17:02:48 2011 -0800
940
941 Move check result test to configure.ac and use standard variables
942
943commit 41d0b41fc5b244438af787de687a4b341889cadc
944Author: Chase Douglas <chase.douglas@ubuntu.com>
945Date: Tue Dec 13 16:49:08 2011 -0800
946
947 Remove unnecessary HAVE_GTEST conditional in configure.ac
948
949commit 0ada1132294813196503527124d321093cb36e7f
950Author: Chase Douglas <chase.douglas@ubuntu.com>
951Date: Tue Dec 13 16:48:37 2011 -0800
952
953 Make gtest a requirement for successful configuration
954
955 And switch to the non-deprecated AC_CHECK_LIB.
956
957commit 69569cba1db0c17ae04d5c26c62fd02fa6473191
958Author: Thomas Voß <thomas.voss@rub.de>
959Date: Tue Dec 13 18:33:39 2011 +0100
960
961 Adjusted signature of Process::GetEnv. Adjusted documentation.
962
963commit 78ac5be868fd1e1d31300a61f8e425736c586b58
964Author: Thomas Voß <thomas.voss@rub.de>
965Date: Tue Dec 13 10:15:24 2011 +0100
966
967 Fixed typo in test.h.
968
969commit 8ace60ed7cc70589de26ec3e5e409588a0f0bd00
970Author: Thomas Voß <thomas.voss@rub.de>
971Date: Tue Dec 13 10:08:09 2011 +0100
972
973 Modified Process::Terminate and Process::Kill to reset process identifier. Adjusted documentation.
974
975commit 932bf1ec03ed9160c9784fdbb7f3a9456a5beb50
976Author: Thomas Voß <thomas.voss@rub.de>
977Date: Tue Dec 13 10:00:07 2011 +0100
978
979 Adjusted documentation according to review. Switched to std::string for environment query/adjustment in Process.
980
981commit 07ffdc1266c3c3d7c5d2df56666567777fd54050
982Author: Thomas Voß <thomas.voss@rub.de>
983Date: Tue Dec 13 07:37:37 2011 +0100
984
985 Prevent from linking Test in Google Test. Set HIDE_SCOPE_NAMES to NO.
986
987commit 4ee62b348d2346e03b6cbbfd94f710eda499d011
988Merge: bd17c14 934da76
989Author: Chase Douglas <chase.douglas@ubuntu.com>
990Date: Mon Dec 12 11:28:13 2011 -0800
991
992 Merge cleanup and fixes branch
993
994commit bb43c8271894e29a5818fadacde9bb459a55e6e1
995Author: Thomas Voß <thomas.voss@rub.de>
996Date: Mon Dec 12 09:44:51 2011 +0100
997
998 Referenced manpage of execvp in documentation.
999
1000commit 6383f42858833f9695580f365352df30f4e33fb2
1001Author: Thomas Voß <thomas.voss@rub.de>
1002Date: Mon Dec 12 09:31:21 2011 +0100
1003
1004 Fixed whitespace issue.
1005
1006commit e7ea9a0717b58af7aaf9728862df424c84e58b77
1007Merge: f815612 934da76
1008Author: Thomas Voß <thomas.voss@rub.de>
1009Date: Mon Dec 12 09:22:17 2011 +0100
1010
1011 Added: Additional doxygen documentation and adjusted build setup to include docs.
1012
1013commit 934da7636d0cc811600c2dd73c6cd386f0851e25
1014Author: Chase Douglas <chase.douglas@ubuntu.com>
1015Date: Fri Dec 9 13:03:46 2011 -0800
1016
1017 Throw runtime_error if Test::SetUp fails to open connection to server
1018
1019 gtest treats exceptions as test failures, so this should have the same
1020 result but is a cleaner implementation.
1021
1022commit c0b553ebe1be0bf4c2ebffc1582a0e07f40aaa5a
1023Author: Chase Douglas <chase.douglas@ubuntu.com>
1024Date: Fri Dec 9 12:09:28 2011 -0800
1025
1026 Add initializer for Environment::Private struct since it is not a POD
1027
1028commit f815612acc574081880c62b64ba803f5305b8bc5
1029Author: Thomas Voß <thomas.voss@rub.de>
1030Date: Fri Dec 9 09:58:35 2011 +0100
1031
1032 Added doxygen documentation for public interface classes.
1033
1034commit ef3e43e4edba9577097430bed545ad4c7dca3fb8
1035Author: Chase Douglas <chase.douglas@ubuntu.com>
1036Date: Thu Dec 8 15:07:53 2011 -0800
1037
1038 Remove strdup from argument parsing in Process::Start()
1039
1040 The data pointed to by the args should still be valid. There's no real
1041 need to copy the data.
1042
1043commit 330dfc09ecc78cfd91a93ed5d41f31f0341e81a1
1044Author: Chase Douglas <chase.douglas@ubuntu.com>
1045Date: Thu Dec 8 15:00:25 2011 -0800
1046
1047 Use std::vector to store process arguments passed to execvp
1048
1049commit 3eda6c1380ab4bdfaf891d6d20097dc83dac8e65
1050Author: Chase Douglas <chase.douglas@ubuntu.com>
1051Date: Thu Dec 8 14:20:53 2011 -0800
1052
1053 Use std::auto_ptr for Test pimpl too
1054
1055commit 826c9bbf23fd5650cd2ca0e3314e4e8559b1061e
1056Author: Chase Douglas <chase.douglas@ubuntu.com>
1057Date: Thu Dec 8 14:09:23 2011 -0800
1058
1059 Use C++ headers, such as cstring, instead of C-compatibility headers
1060
1061commit 1bc40ffa16a3986d901bf602fcf17504afdf6cfc
1062Author: Chase Douglas <chase.douglas@ubuntu.com>
1063Date: Thu Dec 8 14:02:26 2011 -0800
1064
1065 Remove obsolete Process::SetEnvBehavior enum
1066
1067commit 6757be79645ba5a4e582e010934d1ef908896e9d
1068Author: Chase Douglas <chase.douglas@ubuntu.com>
1069Date: Thu Dec 8 13:59:34 2011 -0800
1070
1071 Use std::auto_ptr for pimpls
1072
1073commit 3ddfc3d8b1dd8a99126faa2eb05687eb08c279fb
1074Author: Chase Douglas <chase.douglas@ubuntu.com>
1075Date: Thu Dec 8 13:51:17 2011 -0800
1076
1077 Add newlines to end of Environment::TearDown() error messages
1078
1079commit ad2cdf9b4daf3193dc852342153719817c8b1fc0
1080Author: Chase Douglas <chase.douglas@ubuntu.com>
1081Date: Thu Dec 8 13:50:11 2011 -0800
1082
1083 In Environment::SetUp, pass std::string into Process::Start
1084
1085commit dc354884d529bf6060a6a1537339527ad70d80a7
1086Author: Chase Douglas <chase.douglas@ubuntu.com>
1087Date: Wed Dec 7 15:34:30 2011 -0800
1088
1089 Fix a couple usages of C++ line comments
1090
1091 C++ line comments are only used for documenting end of namespace scopes
1092 and #endif macros.
1093
1094commit 016ff9329130266f10edd7f4828bf22e59a8c97f
1095Author: Chase Douglas <chase.douglas@ubuntu.com>
1096Date: Wed Dec 7 14:46:28 2011 -0800
1097
1098 Add xorg::testing::Test base test fixture
1099
1100commit 3aea1bbbbb7f7ab8a76cdbfc110fa9c5ed14ae25
1101Author: Chase Douglas <chase.douglas@ubuntu.com>
1102Date: Wed Dec 7 12:38:04 2011 -0800
1103
1104 Add server executable path option so one can test different servers
1105
1106 Also, fix issues with the main option parsing code.
1107
1108commit 4f083dd6a3ea2473913d23aecf4d06f664f95bce
1109Author: Chase Douglas <chase.douglas@ubuntu.com>
1110Date: Wed Dec 7 12:40:30 2011 -0800
1111
1112 Reorder Process copy constructor declarations
1113
1114commit 8fe2c7c8bfc167c577674273f462f2d7c7a1a9fa
1115Author: Chase Douglas <chase.douglas@ubuntu.com>
1116Date: Wed Dec 7 12:27:12 2011 -0800
1117
1118 Fix comment in environment.h
1119
1120commit 3d4a10a0280ed3320ed221e33595623af8d20150
1121Author: Chase Douglas <chase.douglas@ubuntu.com>
1122Date: Wed Dec 7 12:26:25 2011 -0800
1123
1124 Cleanup unnecessary braces in if .. else blocks in Environment::SetUp()
1125
1126commit 4348b83156925eee6f2cbdca24a2473ebfd90c9f
1127Author: Chase Douglas <chase.douglas@ubuntu.com>
1128Date: Wed Dec 7 12:24:59 2011 -0800
1129
1130 Don't fail the tests if the X server refuses to die
1131
1132commit e97811a1be63c97706fe3ca87a0568eb5a585a08
1133Author: Chase Douglas <chase.douglas@ubuntu.com>
1134Date: Wed Dec 7 12:15:08 2011 -0800
1135
1136 Let setenv() and getenv() do error handling, and throw exception if they
1137 fail
1138
1139commit bd446fb14847d6ab4d6531fb39309eea58aac4df
1140Author: Chase Douglas <chase.douglas@ubuntu.com>
1141Date: Wed Dec 7 12:09:04 2011 -0800
1142
1143 Throw exception if child process tries to kill itself
1144
1145commit f052b71de4ab05158b2b239d9d31d64e0aad76a4
1146Author: Chase Douglas <chase.douglas@ubuntu.com>
1147Date: Wed Dec 7 12:05:26 2011 -0800
1148
1149 Remove Process::Wait()
1150
1151 There are many ways to wait on the status of a process. We don't want to
1152 get into wrapping all of them. Let the caller pick and choose from the
1153 c library.
1154
1155commit 723704879e551b971e1e3504be7338e371d4981d
1156Author: Chase Douglas <chase.douglas@ubuntu.com>
1157Date: Wed Dec 7 12:02:05 2011 -0800
1158
1159 Rename Process::pid() to Process::Pid() to follow naming conventions
1160
1161commit 2a3c526f6f6d1e32a4f51bef557a26520fe01ef7
1162Author: Chase Douglas <chase.douglas@ubuntu.com>
1163Date: Wed Dec 7 11:58:20 2011 -0800
1164
1165 Fix Process::Start() and switch to using exceptions
1166
1167commit 737e0bc858cb741407c24fc8597bd98f3c15a271
1168Author: Chase Douglas <chase.douglas@ubuntu.com>
1169Date: Wed Dec 7 09:01:57 2011 -0800
1170
1171 Switch Process::Private to a POD struct
1172
1173 Some other syntax cleanups too.
1174
1175commit c182eb93570139e18f8eeb3144e9ed5ccf3a3252
1176Author: Chase Douglas <chase.douglas@ubuntu.com>
1177Date: Wed Dec 7 08:50:50 2011 -0800
1178
1179 Re-enable X server startup timeout
1180
1181commit eba6481ae557d05da0b151087a090d00496d1aa2
1182Author: Chase Douglas <chase.douglas@ubuntu.com>
1183Date: Wed Dec 7 08:50:06 2011 -0800
1184
1185 Remove dead code in Environment
1186
1187commit 204cfd5c09eb1b40059d49b9864ee0f584630a4c
1188Author: Chase Douglas <chase.douglas@ubuntu.com>
1189Date: Wed Dec 7 08:47:56 2011 -0800
1190
1191 Make Environment::Private a POD struct
1192
1193commit 9c003eb98bc41d196847ab911d9d155c5a7972a4
1194Author: Thomas Voß <thomas.voss@rub.de>
1195Date: Wed Dec 7 15:34:53 2011 +0100
1196
1197 ADDED: Simple and lightweight class to abstract process handling.
1198
1199commit bd17c146ff4a159393ec37f1300c613d40921bbf
1200Merge: 1ff7a96 7777cbb
1201Author: Thomas Voß <thomas.voss@rub.de>
1202Date: Tue Dec 6 11:16:25 2011 +0100
1203
1204 Merged.
1205
1206commit 7777cbbbd16d428d68fc738a946816edcb718654
1207Author: Chase Douglas <chase.douglas@ubuntu.com>
1208Date: Mon Dec 5 16:25:36 2011 -0800
1209
1210 Use installed dummy.conf location
1211
1212 Also, set the location in the pkg-config file so other packages can find
1213 it.
1214
1215commit ad0ef22400f1b9960e15e0f6fe39b3e95701f21e
1216Author: Chase Douglas <chase.douglas@ubuntu.com>
1217Date: Mon Dec 5 16:02:22 2011 -0800
1218
1219 Rename testing::xorg to xorg::testing
1220
1221 Prevents a possible collision with gtest's testing namespace
1222
1223commit e10564038f99adee0a12cb028cac5bd1610d7b40
1224Author: Chase Douglas <chase.douglas@ubuntu.com>
1225Date: Mon Dec 5 11:32:36 2011 -0800
1226
1227 Remove unused fixture.h
1228
1229commit 4a1d0ed99f929b658e726f83e4ded4cc5e21aabc
1230Author: Chase Douglas <chase.douglas@ubuntu.com>
1231Date: Mon Dec 5 11:32:04 2011 -0800
1232
1233 Add pkg-config file
1234
1235commit 9fc1496d5a10266337773daff2b3d9937fbf8cf1
1236Author: Chase Douglas <chase.douglas@ubuntu.com>
1237Date: Mon Dec 5 10:54:49 2011 -0800
1238
1239 Remove unused gcov support
1240
1241commit e1d5b252f4c09ee52380a7b7b7533a9b7c382975
1242Author: Chase Douglas <chase.douglas@ubuntu.com>
1243Date: Mon Dec 5 10:53:37 2011 -0800
1244
1245 Remove autoconf check for C compiler since we only use C++
1246
1247commit f4706dc1c47eb59bda619dc105a0e6e9f0a81a21
1248Author: Chase Douglas <chase.douglas@ubuntu.com>
1249Date: Mon Dec 5 10:49:52 2011 -0800
1250
1251 Init gtest before checking for special args so --help works properly
1252
1253 Otherwise, it's impossible to list the gtest help list.
1254
1255commit 26cdf7ae0eb8477b2c8afa97d3857d8810de3d99
1256Author: Chase Douglas <chase.douglas@ubuntu.com>
1257Date: Mon Dec 5 10:47:31 2011 -0800
1258
1259 Remove unnecessary c++0x std flag
1260
1261 We can add it back in if we actually use any of its features.
1262
1263commit d401f679f3e9161bbb06ce33bf48678c74329cd0
1264Author: Chase Douglas <chase.douglas@ubuntu.com>
1265Date: Mon Dec 5 10:46:07 2011 -0800
1266
1267 Rename to xorg-gtest, move some files around, make some fixes
1268
1269commit 1ff7a967e0648d6f71bf3bc30e3642431765da7e
1270Author: Thomas Voß <thomas.voss@rub.de>
1271Date: Mon Dec 5 17:27:29 2011 +0100
1272
1273 init checkin.
12740
=== modified file 'Makefile.am'
--- Makefile.am 2012-03-19 18:39:04 +0000
+++ Makefile.am 2013-01-21 00:48:20 +0000
@@ -23,7 +23,7 @@
23# SOFTWARE.23# SOFTWARE.
24#24#
2525
26SUBDIRS = aclocal data doc include src examples26SUBDIRS = aclocal data doc include src examples test gtest
2727
28pkgconfigdir = $(libdir)/pkgconfig28pkgconfigdir = $(libdir)/pkgconfig
29pkgconfig_DATA = xorg-gtest.pc29pkgconfig_DATA = xorg-gtest.pc
3030
=== modified file 'Makefile.in'
--- Makefile.in 2012-03-19 18:39:04 +0000
+++ Makefile.in 2013-01-21 00:48:20 +0000
@@ -1,4 +1,4 @@
1# Makefile.in generated by automake 1.11.3 from Makefile.am.1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -41,6 +41,23 @@
41#41#
4242
43VPATH = @srcdir@43VPATH = @srcdir@
44am__make_dryrun = \
45 { \
46 am__dry=no; \
47 case $$MAKEFLAGS in \
48 *\\[\ \ ]*) \
49 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
50 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
51 *) \
52 for am__flg in $$MAKEFLAGS; do \
53 case $$am__flg in \
54 *=*|--*) ;; \
55 *n*) am__dry=yes; break;; \
56 esac; \
57 done;; \
58 esac; \
59 test $$am__dry = yes; \
60 }
44pkgdatadir = $(datadir)/@PACKAGE@61pkgdatadir = $(datadir)/@PACKAGE@
45pkgincludedir = $(includedir)/@PACKAGE@62pkgincludedir = $(includedir)/@PACKAGE@
46pkglibdir = $(libdir)/@PACKAGE@63pkglibdir = $(libdir)/@PACKAGE@
@@ -65,7 +82,7 @@
65 $(top_srcdir)/configure COPYING ChangeLog INSTALL config.guess \82 $(top_srcdir)/configure COPYING ChangeLog INSTALL config.guess \
66 config.sub depcomp install-sh missing83 config.sub depcomp install-sh missing
67ACLOCAL_M4 = $(top_srcdir)/aclocal.m484ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
68am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \85am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
69 $(top_srcdir)/configure.ac86 $(top_srcdir)/configure.ac
70am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \87am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
71 $(ACLOCAL_M4)88 $(ACLOCAL_M4)
@@ -89,6 +106,11 @@
89 install-pdf-recursive install-ps-recursive install-recursive \106 install-pdf-recursive install-ps-recursive install-recursive \
90 installcheck-recursive installdirs-recursive pdf-recursive \107 installcheck-recursive installdirs-recursive pdf-recursive \
91 ps-recursive uninstall-recursive108 ps-recursive uninstall-recursive
109am__can_run_installinfo = \
110 case $$AM_UPDATE_INFO_DIR in \
111 n|no|NO) false;; \
112 *) (install-info --version) >/dev/null 2>&1;; \
113 esac
92am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;114am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
93am__vpath_adj = case $$p in \115am__vpath_adj = case $$p in \
94 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \116 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -160,8 +182,8 @@
160 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \182 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
161 done; \183 done; \
162 reldir="$$dir2"184 reldir="$$dir2"
163DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
164GZIP_ENV = --best185GZIP_ENV = --best
186DIST_ARCHIVES = $(distdir).tar.bz2
165distuninstallcheck_listfiles = find . -type f -print187distuninstallcheck_listfiles = find . -type f -print
166am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \188am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
167 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'189 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -177,6 +199,7 @@
177AUTOHEADER = @AUTOHEADER@199AUTOHEADER = @AUTOHEADER@
178AUTOMAKE = @AUTOMAKE@200AUTOMAKE = @AUTOMAKE@
179AWK = @AWK@201AWK = @AWK@
202BASE_CPPFLAGS = @BASE_CPPFLAGS@
180BASE_CXXFLAGS = @BASE_CXXFLAGS@203BASE_CXXFLAGS = @BASE_CXXFLAGS@
181CHANGELOG_CMD = @CHANGELOG_CMD@204CHANGELOG_CMD = @CHANGELOG_CMD@
182CPPFLAGS = @CPPFLAGS@205CPPFLAGS = @CPPFLAGS@
@@ -188,6 +211,7 @@
188CYGPATH_W = @CYGPATH_W@211CYGPATH_W = @CYGPATH_W@
189DEFS = @DEFS@212DEFS = @DEFS@
190DEPDIR = @DEPDIR@213DEPDIR = @DEPDIR@
214DOXYGEN = @DOXYGEN@
191DRIVER_MAN_DIR = @DRIVER_MAN_DIR@215DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
192DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@216DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
193DUMMY_CONF_PATH = @DUMMY_CONF_PATH@217DUMMY_CONF_PATH = @DUMMY_CONF_PATH@
@@ -201,8 +225,6 @@
201FILE_MAN_DIR = @FILE_MAN_DIR@225FILE_MAN_DIR = @FILE_MAN_DIR@
202FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@226FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
203GREP = @GREP@227GREP = @GREP@
204GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
205GTEST_SOURCE = @GTEST_SOURCE@
206INSTALL = @INSTALL@228INSTALL = @INSTALL@
207INSTALL_CMD = @INSTALL_CMD@229INSTALL_CMD = @INSTALL_CMD@
208INSTALL_DATA = @INSTALL_DATA@230INSTALL_DATA = @INSTALL_DATA@
@@ -214,6 +236,7 @@
214LIBS = @LIBS@236LIBS = @LIBS@
215LIB_MAN_DIR = @LIB_MAN_DIR@237LIB_MAN_DIR = @LIB_MAN_DIR@
216LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@238LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
239LOGFILE_DIR = @LOGFILE_DIR@
217LTLIBOBJS = @LTLIBOBJS@240LTLIBOBJS = @LTLIBOBJS@
218MAINT = @MAINT@241MAINT = @MAINT@
219MAKEINFO = @MAKEINFO@242MAKEINFO = @MAKEINFO@
@@ -241,10 +264,10 @@
241STRICT_CXXFLAGS = @STRICT_CXXFLAGS@264STRICT_CXXFLAGS = @STRICT_CXXFLAGS@
242STRIP = @STRIP@265STRIP = @STRIP@
243VERSION = @VERSION@266VERSION = @VERSION@
267X11_CFLAGS = @X11_CFLAGS@
268X11_LIBS = @X11_LIBS@
244XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@269XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@
245XORG_MAN_PAGE = @XORG_MAN_PAGE@270XORG_MAN_PAGE = @XORG_MAN_PAGE@
246XSERVER_CFLAGS = @XSERVER_CFLAGS@
247XSERVER_LIBS = @XSERVER_LIBS@
248abs_builddir = @abs_builddir@271abs_builddir = @abs_builddir@
249abs_srcdir = @abs_srcdir@272abs_srcdir = @abs_srcdir@
250abs_top_builddir = @abs_top_builddir@273abs_top_builddir = @abs_top_builddir@
@@ -295,7 +318,7 @@
295top_build_prefix = @top_build_prefix@318top_build_prefix = @top_build_prefix@
296top_builddir = @top_builddir@319top_builddir = @top_builddir@
297top_srcdir = @top_srcdir@320top_srcdir = @top_srcdir@
298SUBDIRS = aclocal data doc include src examples321SUBDIRS = aclocal data doc include src examples test gtest
299pkgconfigdir = $(libdir)/pkgconfig322pkgconfigdir = $(libdir)/pkgconfig
300pkgconfig_DATA = xorg-gtest.pc323pkgconfig_DATA = xorg-gtest.pc
301ACLOCAL_AMFLAGS = -I m4324ACLOCAL_AMFLAGS = -I m4
@@ -342,8 +365,11 @@
342 cd $(top_builddir) && $(SHELL) ./config.status $@365 cd $(top_builddir) && $(SHELL) ./config.status $@
343install-pkgconfigDATA: $(pkgconfig_DATA)366install-pkgconfigDATA: $(pkgconfig_DATA)
344 @$(NORMAL_INSTALL)367 @$(NORMAL_INSTALL)
345 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
346 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \368 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
369 if test -n "$$list"; then \
370 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
371 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
372 fi; \
347 for p in $$list; do \373 for p in $$list; do \
348 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \374 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
349 echo "$$d$$p"; \375 echo "$$d$$p"; \
@@ -528,13 +554,10 @@
528 done554 done
529 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \555 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
530 if test "$$subdir" = .; then :; else \556 if test "$$subdir" = .; then :; else \
531 test -d "$(distdir)/$$subdir" \557 $(am__make_dryrun) \
532 || $(MKDIR_P) "$(distdir)/$$subdir" \558 || test -d "$(distdir)/$$subdir" \
533 || exit 1; \559 || $(MKDIR_P) "$(distdir)/$$subdir" \
534 fi; \560 || exit 1; \
535 done
536 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
537 if test "$$subdir" = .; then :; else \
538 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \561 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
539 $(am__relativize); \562 $(am__relativize); \
540 new_distdir=$$reldir; \563 new_distdir=$$reldir; \
@@ -597,7 +620,6 @@
597 $(am__remove_distdir)620 $(am__remove_distdir)
598621
599dist dist-all: distdir622dist dist-all: distdir
600 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
601 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2623 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
602 $(am__remove_distdir)624 $(am__remove_distdir)
603625
@@ -623,7 +645,7 @@
623 *.zip*) \645 *.zip*) \
624 unzip $(distdir).zip ;;\646 unzip $(distdir).zip ;;\
625 esac647 esac
626 chmod -R a-w $(distdir); chmod a+w $(distdir)648 chmod -R a-w $(distdir); chmod u+w $(distdir)
627 mkdir $(distdir)/_build649 mkdir $(distdir)/_build
628 mkdir $(distdir)/_inst650 mkdir $(distdir)/_inst
629 chmod a-w $(distdir)651 chmod a-w $(distdir)
630652
=== modified file 'README'
--- README 2012-03-19 18:39:04 +0000
+++ README 2013-01-21 00:48:20 +0000
@@ -2,10 +2,9 @@
2===============================================2===============================================
33
4Provides a Google Test environment for starting and stopping4Provides a Google Test environment for starting and stopping
5a dummy X server for headless testing purposes. The actual 5a X server for testing purposes. The actual environment is defined in header
6environment is defined in header environment.h. Please refer to6environment.h. Please refer to the Google test documentation for information
7the Google test documentation for information on how to add a custom 7on how to add a custom environment.
8environment.
98
10Moreover, a custom main() function that takes care of setting up the9Moreover, a custom main() function that takes care of setting up the
11environment is provided in xorg-gtest_main.cpp. This can be used as a10environment is provided in xorg-gtest_main.cpp. This can be used as a
@@ -74,3 +73,19 @@
74xorg-gtest library targets if multiple builds with different compilation flags73xorg-gtest library targets if multiple builds with different compilation flags
75are needed. Finally, link the tests with the appropriate gtest and xorg-gtest74are needed. Finally, link the tests with the appropriate gtest and xorg-gtest
76libraries and their dependencies: libpthread and libX11.75libraries and their dependencies: libpthread and libX11.
76
77Environment variables
78---------------------
79XORG_GTEST_XSERVER_SIGSTOP
80 If set, an XServer object will raise a SIGSTOP signal after startup.
81XORG_GTEST_XSERVER_KEEPALIVE
82 If set, the XServer object will ignore calls to Terminate() or Kill().
83 This is useful for debugging a server without having the test terminate
84 the process while still looking at gdb output.
85XORG_GTEST_CHILD_STDOUT
86 If set to any value, Process::Start() will _not_ close stdout/stdin/stderr
87 for the forked child.
88XORG_GTEST_USE_VALGRIND
89 Set to the valgrind command to use when starting a process. Options must
90 be space-separated, e.g. "valgrind --leak-check=full --someotherarg"
91 Not limited to valgrind, you can specify any executable here.
7792
=== modified file 'aclocal.m4'
--- aclocal.m4 2012-03-19 18:39:04 +0000
+++ aclocal.m4 2013-01-21 00:48:20 +0000
@@ -1,4 +1,4 @@
1# generated automatically by aclocal 1.11.3 -*- Autoconf -*-1# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
@@ -14,8 +14,8 @@
1414
15m4_ifndef([AC_AUTOCONF_VERSION],15m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18[m4_warning([this file was generated for autoconf 2.68.18[m4_warning([this file was generated for autoconf 2.69.
19You have another version of autoconf. It may work, but is not guaranteed to.19You have another version of autoconf. It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically `autoreconf'.])])21To do so, use the procedure documented by the package, typically `autoreconf'.])])
@@ -2051,7 +2051,7 @@
2051[am__api_version='1.11'2051[am__api_version='1.11'
2052dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to2052dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
2053dnl require some minimum version. Point them to the right macro.2053dnl require some minimum version. Point them to the right macro.
2054m4_if([$1], [1.11.3], [],2054m4_if([$1], [1.11.6], [],
2055 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl2055 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
2056])2056])
20572057
@@ -2067,7 +2067,7 @@
2067# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.2067# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
2068# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.2068# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
2069AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],2069AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
2070[AM_AUTOMAKE_VERSION([1.11.3])dnl2070[AM_AUTOMAKE_VERSION([1.11.6])dnl
2071m4_ifndef([AC_AUTOCONF_VERSION],2071m4_ifndef([AC_AUTOCONF_VERSION],
2072 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl2072 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2073_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])2073_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -3079,4 +3079,4 @@
3079AC_SUBST([am__untar])3079AC_SUBST([am__untar])
3080]) # _AM_PROG_TAR3080]) # _AM_PROG_TAR
30813081
3082m4_include([m4/gtest.m4])3082m4_include([m4/ac_define_dir.m4])
30833083
=== modified file 'aclocal/Makefile.in'
--- aclocal/Makefile.in 2012-03-19 18:39:04 +0000
+++ aclocal/Makefile.in 2013-01-21 00:48:20 +0000
@@ -1,4 +1,4 @@
1# Makefile.in generated by automake 1.11.3 from Makefile.am.1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -41,6 +41,23 @@
41#41#
4242
43VPATH = @srcdir@43VPATH = @srcdir@
44am__make_dryrun = \
45 { \
46 am__dry=no; \
47 case $$MAKEFLAGS in \
48 *\\[\ \ ]*) \
49 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
50 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
51 *) \
52 for am__flg in $$MAKEFLAGS; do \
53 case $$am__flg in \
54 *=*|--*) ;; \
55 *n*) am__dry=yes; break;; \
56 esac; \
57 done;; \
58 esac; \
59 test $$am__dry = yes; \
60 }
44pkgdatadir = $(datadir)/@PACKAGE@61pkgdatadir = $(datadir)/@PACKAGE@
45pkgincludedir = $(includedir)/@PACKAGE@62pkgincludedir = $(includedir)/@PACKAGE@
46pkglibdir = $(libdir)/@PACKAGE@63pkglibdir = $(libdir)/@PACKAGE@
@@ -63,7 +80,7 @@
63DIST_COMMON = $(dist_aclocal_DATA) $(srcdir)/Makefile.am \80DIST_COMMON = $(dist_aclocal_DATA) $(srcdir)/Makefile.am \
64 $(srcdir)/Makefile.in81 $(srcdir)/Makefile.in
65ACLOCAL_M4 = $(top_srcdir)/aclocal.m482ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
66am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \83am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
67 $(top_srcdir)/configure.ac84 $(top_srcdir)/configure.ac
68am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \85am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
69 $(ACLOCAL_M4)86 $(ACLOCAL_M4)
@@ -78,6 +95,11 @@
78am__v_at_0 = @95am__v_at_0 = @
79SOURCES =96SOURCES =
80DIST_SOURCES =97DIST_SOURCES =
98am__can_run_installinfo = \
99 case $$AM_UPDATE_INFO_DIR in \
100 n|no|NO) false;; \
101 *) (install-info --version) >/dev/null 2>&1;; \
102 esac
81am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;103am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
82am__vpath_adj = case $$p in \104am__vpath_adj = case $$p in \
83 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \105 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -119,6 +141,7 @@
119AUTOHEADER = @AUTOHEADER@141AUTOHEADER = @AUTOHEADER@
120AUTOMAKE = @AUTOMAKE@142AUTOMAKE = @AUTOMAKE@
121AWK = @AWK@143AWK = @AWK@
144BASE_CPPFLAGS = @BASE_CPPFLAGS@
122BASE_CXXFLAGS = @BASE_CXXFLAGS@145BASE_CXXFLAGS = @BASE_CXXFLAGS@
123CHANGELOG_CMD = @CHANGELOG_CMD@146CHANGELOG_CMD = @CHANGELOG_CMD@
124CPPFLAGS = @CPPFLAGS@147CPPFLAGS = @CPPFLAGS@
@@ -130,6 +153,7 @@
130CYGPATH_W = @CYGPATH_W@153CYGPATH_W = @CYGPATH_W@
131DEFS = @DEFS@154DEFS = @DEFS@
132DEPDIR = @DEPDIR@155DEPDIR = @DEPDIR@
156DOXYGEN = @DOXYGEN@
133DRIVER_MAN_DIR = @DRIVER_MAN_DIR@157DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
134DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@158DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
135DUMMY_CONF_PATH = @DUMMY_CONF_PATH@159DUMMY_CONF_PATH = @DUMMY_CONF_PATH@
@@ -143,8 +167,6 @@
143FILE_MAN_DIR = @FILE_MAN_DIR@167FILE_MAN_DIR = @FILE_MAN_DIR@
144FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@168FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
145GREP = @GREP@169GREP = @GREP@
146GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
147GTEST_SOURCE = @GTEST_SOURCE@
148INSTALL = @INSTALL@170INSTALL = @INSTALL@
149INSTALL_CMD = @INSTALL_CMD@171INSTALL_CMD = @INSTALL_CMD@
150INSTALL_DATA = @INSTALL_DATA@172INSTALL_DATA = @INSTALL_DATA@
@@ -156,6 +178,7 @@
156LIBS = @LIBS@178LIBS = @LIBS@
157LIB_MAN_DIR = @LIB_MAN_DIR@179LIB_MAN_DIR = @LIB_MAN_DIR@
158LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@180LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
181LOGFILE_DIR = @LOGFILE_DIR@
159LTLIBOBJS = @LTLIBOBJS@182LTLIBOBJS = @LTLIBOBJS@
160MAINT = @MAINT@183MAINT = @MAINT@
161MAKEINFO = @MAKEINFO@184MAKEINFO = @MAKEINFO@
@@ -183,10 +206,10 @@
183STRICT_CXXFLAGS = @STRICT_CXXFLAGS@206STRICT_CXXFLAGS = @STRICT_CXXFLAGS@
184STRIP = @STRIP@207STRIP = @STRIP@
185VERSION = @VERSION@208VERSION = @VERSION@
209X11_CFLAGS = @X11_CFLAGS@
210X11_LIBS = @X11_LIBS@
186XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@211XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@
187XORG_MAN_PAGE = @XORG_MAN_PAGE@212XORG_MAN_PAGE = @XORG_MAN_PAGE@
188XSERVER_CFLAGS = @XSERVER_CFLAGS@
189XSERVER_LIBS = @XSERVER_LIBS@
190abs_builddir = @abs_builddir@213abs_builddir = @abs_builddir@
191abs_srcdir = @abs_srcdir@214abs_srcdir = @abs_srcdir@
192abs_top_builddir = @abs_top_builddir@215abs_top_builddir = @abs_top_builddir@
@@ -274,8 +297,11 @@
274$(am__aclocal_m4_deps):297$(am__aclocal_m4_deps):
275install-dist_aclocalDATA: $(dist_aclocal_DATA)298install-dist_aclocalDATA: $(dist_aclocal_DATA)
276 @$(NORMAL_INSTALL)299 @$(NORMAL_INSTALL)
277 test -z "$(aclocaldir)" || $(MKDIR_P) "$(DESTDIR)$(aclocaldir)"
278 @list='$(dist_aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \300 @list='$(dist_aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
301 if test -n "$$list"; then \
302 echo " $(MKDIR_P) '$(DESTDIR)$(aclocaldir)'"; \
303 $(MKDIR_P) "$(DESTDIR)$(aclocaldir)" || exit 1; \
304 fi; \
279 for p in $$list; do \305 for p in $$list; do \
280 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \306 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
281 echo "$$d$$p"; \307 echo "$$d$$p"; \
282308
=== modified file 'aclocal/xorg-gtest.m4'
--- aclocal/xorg-gtest.m4 2012-06-08 12:39:52 +0000
+++ aclocal/xorg-gtest.m4 2013-01-21 00:48:20 +0000
@@ -1,4 +1,4 @@
1# serial 21# serial 9
22
3# Copyright (C) 2012 Canonical, Ltd.3# Copyright (C) 2012 Canonical, Ltd.
4#4#
@@ -21,35 +21,6 @@
21# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE21# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22# SOFTWARE.22# SOFTWARE.
2323
24# Checks whether the gtest source is available on the system. Allows for
25# adjusting the include and source path. Sets have_gtest=yes if the source is
26# present. Sets GTEST_CPPFLAGS and GTEST_SOURCE to the preprocessor flags and
27# source location respectively.
28AC_DEFUN([_CHECK_GTEST],
29[
30 AC_ARG_WITH([gtest-source-path],
31 [AS_HELP_STRING([--with-gtest-source-path],
32 [location of the Google test sources, defaults to /usr/src/gtest])],
33 [GTEST_SOURCE="$withval"; GTEST_CPPFLAGS="-I$withval/include"],
34 [GTEST_SOURCE="/usr/src/gtest"])
35
36 AC_ARG_WITH([gtest-include-path],
37 [AS_HELP_STRING([--with-gtest-include-path],
38 [location of the Google test headers])],
39 [GTEST_CPPFLAGS="-I$withval"])
40
41 GTEST_CPPFLAGS="$GTEST_CPPFLAGS -I$GTEST_SOURCE"
42
43 AC_CHECK_FILES([$GTEST_SOURCE/src/gtest-all.cc]
44 [$GTEST_SOURCE/src/gtest_main.cc],
45 [have_gtest=yes],
46 [have_gtest=no])
47
48 AS_IF([test "x$have_gtest_source" = xyes],
49 [AC_SUBST(GTEST_CPPFLAGS)]
50 [AC_SUBST(GTEST_SOURCE)])
51]) # _CHECK_GTEST
52
53# CHECK_XORG_GTEST([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])24# CHECK_XORG_GTEST([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
54#25#
55# Checks whether the xorg-gtest source is available on the system. Allows for26# Checks whether the xorg-gtest source is available on the system. Allows for
@@ -61,20 +32,20 @@
61# Both default actions are no-ops.32# Both default actions are no-ops.
62AC_DEFUN([CHECK_XORG_GTEST],33AC_DEFUN([CHECK_XORG_GTEST],
63[34[
64 AC_REQUIRE([_CHECK_GTEST])
65
66 PKG_CHECK_EXISTS([xorg-gtest],35 PKG_CHECK_EXISTS([xorg-gtest],
67 [have_xorg_gtest=yes],36 [have_xorg_gtest=yes],
68 [have_xorg_gtest=no])37 [have_xorg_gtest=no])
6938
70 XORG_GTEST_SOURCE=`$PKG_CONFIG --variable=sourcedir --print-errors xorg-gtest`39 XORG_GTEST_SOURCE=`$PKG_CONFIG --variable=sourcedir --print-errors xorg-gtest`
40 GTEST_SOURCE="$XORG_GTEST_SOURCE/src/gtest"
41 GTEST_CPPFLAGS="-I$XORG_GTEST_SOURCE/src/gtest/include -I$XORG_GTEST_SOURCE/src/gtest"
71 XORG_GTEST_CPPFLAGS=`$PKG_CONFIG --variable=CPPflags --print-errors xorg-gtest`42 XORG_GTEST_CPPFLAGS=`$PKG_CONFIG --variable=CPPflags --print-errors xorg-gtest`
72 XORG_GTEST_CPPFLAGS="$GTEST_CPPFLAGS $XORG_GTEST_CPPFLAGS"43 XORG_GTEST_CPPFLAGS="$GTEST_CPPFLAGS $XORG_GTEST_CPPFLAGS"
73 XORG_GTEST_CPPFLAGS="$XORG_GTEST_CPPFLAGS -I$XORG_GTEST_SOURCE"44 XORG_GTEST_CPPFLAGS="$XORG_GTEST_CPPFLAGS -I$XORG_GTEST_SOURCE"
7445
75 PKG_CHECK_MODULES(X11, [x11], [have_x11=yes], [have_x11=no])46 PKG_CHECK_MODULES(X11, [x11], [have_x11=yes], [have_x11=no])
7647
77 # Check if we should include support for utouch-evemu48 # Check if we should include support for evemu
78 AC_ARG_WITH([evemu],49 AC_ARG_WITH([evemu],
79 [AS_HELP_STRING([--with-evemu],50 [AS_HELP_STRING([--with-evemu],
80 [support Linux input device recording playback51 [support Linux input device recording playback
@@ -83,19 +54,18 @@
83 [with_evemu=check])54 [with_evemu=check])
8455
85 AS_IF([test "x$with_evemu" = xyes],56 AS_IF([test "x$with_evemu" = xyes],
86 [PKG_CHECK_MODULES(EVEMU, [utouch-evemu], [have_xorg_gtest_evemu=yes])],57 [PKG_CHECK_MODULES(EVEMU, [evemu], [have_xorg_gtest_evemu=yes])],
87 [test "x$with_evemu" = xcheck],58 [test "x$with_evemu" = xcheck],
88 [PKG_CHECK_MODULES(EVEMU,59 [PKG_CHECK_MODULES(EVEMU,
89 [utouch-evemu],60 [evemu],
90 [have_xorg_gtest_evemu=yes],61 [have_xorg_gtest_evemu=yes],
91 [have_xorg_gtest_evemu=no])])62 [have_xorg_gtest_evemu=no])])
92 AS_IF([test "x$have_xorg_gtest_evemu" = xyes],63 AS_IF([test "x$have_xorg_gtest_evemu" = xyes],
93 [XORG_GTEST_CPPFLAGS="$XORG_GTEST_CPPFLAGS -DHAVE_EVEMU"])64 [XORG_GTEST_CPPFLAGS="$XORG_GTEST_CPPFLAGS -DHAVE_EVEMU"])
9465
95 AS_IF([test "x$have_gtest" != xyes -o "x$have_x11" != xyes],
96 [have_xorg_gtest=no])
97
98 AS_IF([test "x$have_xorg_gtest" = xyes],66 AS_IF([test "x$have_xorg_gtest" = xyes],
67 [AC_SUBST(GTEST_SOURCE)]
68 [AC_SUBST(GTEST_CPPFLAGS)]
99 [AC_SUBST(XORG_GTEST_SOURCE)]69 [AC_SUBST(XORG_GTEST_SOURCE)]
100 [AC_SUBST(XORG_GTEST_CPPFLAGS)]70 [AC_SUBST(XORG_GTEST_CPPFLAGS)]
10171
10272
=== removed file 'autogen.sh'
--- autogen.sh 2012-02-15 09:18:17 +0000
+++ autogen.sh 1970-01-01 00:00:00 +0000
@@ -1,11 +0,0 @@
1#! /bin/sh
2
3srcdir=`dirname $0`
4test -z "$srcdir" && srcdir=.
5
6ORIGDIR=`pwd`
7cd $srcdir
8
9autoreconf -v --install || exit 1
10cd $ORIGDIR || exit $?
11
120
=== modified file 'config.sub'
--- config.sub 2012-02-24 09:44:47 +0000
+++ config.sub 2013-01-21 00:48:20 +0000
@@ -4,7 +4,7 @@
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# 2011, 2012 Free Software Foundation, Inc.5# 2011, 2012 Free Software Foundation, Inc.
66
7timestamp='2012-02-10'7timestamp='2012-04-18'
88
9# This file is (in principle) common to ALL GNU software.9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software10# The presence of a machine in this file suggests that SOME GNU software
@@ -225,6 +225,12 @@
225 -isc*)225 -isc*)
226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
227 ;;227 ;;
228 -lynx*178)
229 os=-lynxos178
230 ;;
231 -lynx*5)
232 os=-lynxos5
233 ;;
228 -lynx*)234 -lynx*)
229 os=-lynxos235 os=-lynxos
230 ;;236 ;;
@@ -1537,6 +1543,9 @@
1537 c4x-* | tic4x-*)1543 c4x-* | tic4x-*)
1538 os=-coff1544 os=-coff
1539 ;;1545 ;;
1546 hexagon-*)
1547 os=-elf
1548 ;;
1540 tic54x-*)1549 tic54x-*)
1541 os=-coff1550 os=-coff
1542 ;;1551 ;;
15431552
=== modified file 'configure'
--- configure 2012-06-08 12:39:52 +0000
+++ configure 2013-01-21 00:48:20 +0000
@@ -1,11 +1,9 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for Dummy X.org Testing Environment for Google Test 0.3.0.3# Generated by GNU Autoconf 2.69 for X.org Testing Environment for Google Test 0.7.0.
4#4#
5#5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9#7#
10#8#
11# This configure script is free software; the Free Software Foundation9# This configure script is free software; the Free Software Foundation
@@ -134,6 +132,31 @@
134# CDPATH.132# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
137if test "x$CONFIG_SHELL" = x; then160if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh162 emulate sh
@@ -167,7 +190,8 @@
167else190else
168 exitcode=1; echo positional parameters were not saved.191 exitcode=1; echo positional parameters were not saved.
169fi192fi
170test x\$exitcode = x0 || exit 1"193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -212,21 +236,25 @@
212236
213237
214 if test "x$CONFIG_SHELL" != x; then :238 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a239 export CONFIG_SHELL
216 # neutralization value for shells without unset; and this also240 # We cannot yet assume a decent shell, so we have to provide a
217 # works around shells that cannot unset nonexistent variables.241# neutralization value for shells without unset; and this also
218 # Preserve -v and -x to the replacement shell.242# works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null243# Preserve -v and -x to the replacement shell.
220 ENV=/dev/null244BASH_ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV245ENV=/dev/null
222 export CONFIG_SHELL246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 case $- in # ((((247case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;248 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;249 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;250 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;251 * ) as_opts= ;;
228 esac252esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
230fi258fi
231259
232 if test x$as_have_required = xno; then :260 if test x$as_have_required = xno; then :
@@ -328,6 +356,14 @@
328356
329357
330} # as_fn_mkdir_p358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
331# as_fn_append VAR VALUE367# as_fn_append VAR VALUE
332# ----------------------368# ----------------------
333# Append the text in VALUE to the end of the definition contained in VAR. Take369# Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -449,6 +485,10 @@
449 chmod +x "$as_me.lineno" ||485 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
452 # Don't try to exec as it changes $[0], causing all sort of problems492 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the493 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).494 # original and so on. Autoconf is especially sensitive to this).
@@ -483,16 +523,16 @@
483 # ... but there are two gotchas:523 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.526 # In both cases, we have to default to `cp -pR'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488 as_ln_s='cp -p'528 as_ln_s='cp -pR'
489 elif ln conf$$.file conf$$ 2>/dev/null; then529 elif ln conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s=ln530 as_ln_s=ln
491 else531 else
492 as_ln_s='cp -p'532 as_ln_s='cp -pR'
493 fi533 fi
494else534else
495 as_ln_s='cp -p'535 as_ln_s='cp -pR'
496fi536fi
497rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498rmdir conf$$.dir 2>/dev/null538rmdir conf$$.dir 2>/dev/null
@@ -504,28 +544,8 @@
504 as_mkdir_p=false544 as_mkdir_p=false
505fi545fi
506546
507if test -x / >/dev/null 2>&1; then547as_test_x='test -x'
508 as_test_x='test -x'548as_executable_p=as_fn_executable_p
509else
510 if ls -dL / >/dev/null 2>&1; then
511 as_ls_L_option=L
512 else
513 as_ls_L_option=
514 fi
515 as_test_x='
516 eval sh -c '\''
517 if test -d "$1"; then
518 test -d "$1/.";
519 else
520 case $1 in #(
521 -*)set "./$1";;
522 esac;
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
525 '\'' sh
526 '
527fi
528as_executable_p=$as_test_x
529549
530# Sed expression to map a string onto a valid CPP name.550# Sed expression to map a string onto a valid CPP name.
531as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -555,10 +575,10 @@
555MAKEFLAGS=575MAKEFLAGS=
556576
557# Identity of this package.577# Identity of this package.
558PACKAGE_NAME='Dummy X.org Testing Environment for Google Test'578PACKAGE_NAME='X.org Testing Environment for Google Test'
559PACKAGE_TARNAME='xorg-gtest'579PACKAGE_TARNAME='xorg-gtest'
560PACKAGE_VERSION='0.3.0'580PACKAGE_VERSION='0.7.0'
561PACKAGE_STRING='Dummy X.org Testing Environment for Google Test 0.3.0'581PACKAGE_STRING='X.org Testing Environment for Google Test 0.7.0'
562PACKAGE_BUGREPORT=''582PACKAGE_BUGREPORT=''
563PACKAGE_URL=''583PACKAGE_URL=''
564584
@@ -605,16 +625,19 @@
605LIBOBJS625LIBOBJS
606ENABLE_XORG_GTEST_TESTS_FALSE626ENABLE_XORG_GTEST_TESTS_FALSE
607ENABLE_XORG_GTEST_TESTS_TRUE627ENABLE_XORG_GTEST_TESTS_TRUE
608DUMMY_CONF_PATH628BASE_CPPFLAGS
609SOURCEDIR629SOURCEDIR
610HAVE_EVEMU_FALSE630HAVE_EVEMU_FALSE
611HAVE_EVEMU_TRUE631HAVE_EVEMU_TRUE
612EVEMU_LIBS632EVEMU_LIBS
613EVEMU_CFLAGS633EVEMU_CFLAGS
614GTEST_SOURCE634DUMMY_CONF_PATH
615GTEST_CPPFLAGS635LOGFILE_DIR
616XSERVER_LIBS636X11_LIBS
617XSERVER_CFLAGS637X11_CFLAGS
638HAVE_DOXYGEN_FALSE
639HAVE_DOXYGEN_TRUE
640DOXYGEN
618ENABLE_INTEGRATION_TESTS_FALSE641ENABLE_INTEGRATION_TESTS_FALSE
619ENABLE_INTEGRATION_TESTS_TRUE642ENABLE_INTEGRATION_TESTS_TRUE
620XORG_MALLOC_DEBUG_ENV643XORG_MALLOC_DEBUG_ENV
@@ -747,8 +770,8 @@
747enable_strict_compilation770enable_strict_compilation
748enable_silent_rules771enable_silent_rules
749enable_integration_tests772enable_integration_tests
750with_gtest_source_path773with_doxygen
751with_gtest_include_path774with_logfile_dir
752with_evemu775with_evemu
753'776'
754 ac_precious_vars='build_alias777 ac_precious_vars='build_alias
@@ -765,8 +788,9 @@
765PKG_CONFIG_PATH788PKG_CONFIG_PATH
766PKG_CONFIG_LIBDIR789PKG_CONFIG_LIBDIR
767XORG_MALLOC_DEBUG_ENV790XORG_MALLOC_DEBUG_ENV
768XSERVER_CFLAGS791DOXYGEN
769XSERVER_LIBS792X11_CFLAGS
793X11_LIBS
770EVEMU_CFLAGS794EVEMU_CFLAGS
771EVEMU_LIBS'795EVEMU_LIBS'
772796
@@ -1224,8 +1248,6 @@
1224if test "x$host_alias" != x; then1248if test "x$host_alias" != x; then
1225 if test "x$build_alias" = x; then1249 if test "x$build_alias" = x; then
1226 cross_compiling=maybe1250 cross_compiling=maybe
1227 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1228 If a cross compiler is detected then cross compile mode will be used" >&2
1229 elif test "x$build_alias" != "x$host_alias"; then1251 elif test "x$build_alias" != "x$host_alias"; then
1230 cross_compiling=yes1252 cross_compiling=yes
1231 fi1253 fi
@@ -1311,7 +1333,7 @@
1311 # Omit some internal or obsolete options to make the list less imposing.1333 # Omit some internal or obsolete options to make the list less imposing.
1312 # This message is too long to be a string in the A/UX 3.1 sh.1334 # This message is too long to be a string in the A/UX 3.1 sh.
1313 cat <<_ACEOF1335 cat <<_ACEOF
1314\`configure' configures Dummy X.org Testing Environment for Google Test 0.3.0 to adapt to many kinds of systems.1336\`configure' configures X.org Testing Environment for Google Test 0.7.0 to adapt to many kinds of systems.
13151337
1316Usage: $0 [OPTION]... [VAR=VALUE]...1338Usage: $0 [OPTION]... [VAR=VALUE]...
13171339
@@ -1381,7 +1403,7 @@
13811403
1382if test -n "$ac_init_help"; then1404if test -n "$ac_init_help"; then
1383 case $ac_init_help in1405 case $ac_init_help in
1384 short | recursive ) echo "Configuration of Dummy X.org Testing Environment for Google Test 0.3.0:";;1406 short | recursive ) echo "Configuration of X.org Testing Environment for Google Test 0.7.0:";;
1385 esac1407 esac
1386 cat <<\_ACEOF1408 cat <<\_ACEOF
13871409
@@ -1408,11 +1430,10 @@
1408Optional Packages:1430Optional Packages:
1409 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]1431 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1410 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)1432 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1411 --with-gtest-source-path1433 --with-doxygen Use doxygen to regenerate documentation (default:
1412 location of the Google test sources, defaults to1434 auto)
1413 /usr/src/gtest1435 --with-logfile-dir=/tmp ,
1414 --with-gtest-include-path1436 Base path for log files used as defaults and during tests (default: /tmp)
1415 location of the Google test headers
1416 --with-evemu support Linux input device recording playback1437 --with-evemu support Linux input device recording playback
1417 (default: enabled if available)1438 (default: enabled if available)
14181439
@@ -1432,10 +1453,9 @@
1432 path overriding pkg-config's built-in search path1453 path overriding pkg-config's built-in search path
1433 XORG_MALLOC_DEBUG_ENV1454 XORG_MALLOC_DEBUG_ENV
1434 Environment variables to enable memory checking in tests1455 Environment variables to enable memory checking in tests
1435 XSERVER_CFLAGS1456 DOXYGEN Path to doxygen command
1436 C compiler flags for XSERVER, overriding pkg-config1457 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1437 XSERVER_LIBS1458 X11_LIBS linker flags for X11, overriding pkg-config
1438 linker flags for XSERVER, overriding pkg-config
1439 EVEMU_CFLAGS1459 EVEMU_CFLAGS
1440 C compiler flags for EVEMU, overriding pkg-config1460 C compiler flags for EVEMU, overriding pkg-config
1441 EVEMU_LIBS linker flags for EVEMU, overriding pkg-config1461 EVEMU_LIBS linker flags for EVEMU, overriding pkg-config
@@ -1506,10 +1526,10 @@
1506test -n "$ac_init_help" && exit $ac_status1526test -n "$ac_init_help" && exit $ac_status
1507if $ac_init_version; then1527if $ac_init_version; then
1508 cat <<\_ACEOF1528 cat <<\_ACEOF
1509Dummy X.org Testing Environment for Google Test configure 0.3.01529X.org Testing Environment for Google Test configure 0.7.0
1510generated by GNU Autoconf 2.681530generated by GNU Autoconf 2.69
15111531
1512Copyright (C) 2010 Free Software Foundation, Inc.1532Copyright (C) 2012 Free Software Foundation, Inc.
1513This configure script is free software; the Free Software Foundation1533This configure script is free software; the Free Software Foundation
1514gives unlimited permission to copy, distribute and modify it.1534gives unlimited permission to copy, distribute and modify it.
1515_ACEOF1535_ACEOF
@@ -1741,7 +1761,7 @@
1741 test ! -s conftest.err1761 test ! -s conftest.err
1742 } && test -s conftest$ac_exeext && {1762 } && test -s conftest$ac_exeext && {
1743 test "$cross_compiling" = yes ||1763 test "$cross_compiling" = yes ||
1744 $as_test_x conftest$ac_exeext1764 test -x conftest$ac_exeext
1745 }; then :1765 }; then :
1746 ac_retval=01766 ac_retval=0
1747else1767else
@@ -1759,99 +1779,12 @@
1759 as_fn_set_status $ac_retval1779 as_fn_set_status $ac_retval
17601780
1761} # ac_fn_cxx_try_link1781} # ac_fn_cxx_try_link
1762
1763# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1764# ---------------------------------------------------------
1765# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1766# the include files in INCLUDES and setting the cache variable VAR
1767# accordingly.
1768ac_fn_cxx_check_header_mongrel ()
1769{
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if eval \${$3+:} false; then :
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773$as_echo_n "checking for $2... " >&6; }
1774if eval \${$3+:} false; then :
1775 $as_echo_n "(cached) " >&6
1776fi
1777eval ac_res=\$$3
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779$as_echo "$ac_res" >&6; }
1780else
1781 # Is the header compilable?
1782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1783$as_echo_n "checking $2 usability... " >&6; }
1784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785/* end confdefs.h. */
1786$4
1787#include <$2>
1788_ACEOF
1789if ac_fn_cxx_try_compile "$LINENO"; then :
1790 ac_header_compiler=yes
1791else
1792 ac_header_compiler=no
1793fi
1794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1796$as_echo "$ac_header_compiler" >&6; }
1797
1798# Is the header present?
1799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1800$as_echo_n "checking $2 presence... " >&6; }
1801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802/* end confdefs.h. */
1803#include <$2>
1804_ACEOF
1805if ac_fn_cxx_try_cpp "$LINENO"; then :
1806 ac_header_preproc=yes
1807else
1808 ac_header_preproc=no
1809fi
1810rm -f conftest.err conftest.i conftest.$ac_ext
1811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1812$as_echo "$ac_header_preproc" >&6; }
1813
1814# So? What about this header?
1815case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1816 yes:no: )
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1818$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1821 ;;
1822 no:yes:* )
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1824$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1826$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1828$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1830$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1832$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1833 ;;
1834esac
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836$as_echo_n "checking for $2... " >&6; }
1837if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1839else
1840 eval "$3=\$ac_header_compiler"
1841fi
1842eval ac_res=\$$3
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844$as_echo "$ac_res" >&6; }
1845fi
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847
1848} # ac_fn_cxx_check_header_mongrel
1849cat >config.log <<_ACEOF1782cat >config.log <<_ACEOF
1850This file contains any messages produced by compilers while1783This file contains any messages produced by compilers while
1851running configure, to aid debugging if configure makes a mistake.1784running configure, to aid debugging if configure makes a mistake.
18521785
1853It was created by Dummy X.org Testing Environment for Google Test $as_me 0.3.0, which was1786It was created by X.org Testing Environment for Google Test $as_me 0.7.0, which was
1854generated by GNU Autoconf 2.68. Invocation command line was1787generated by GNU Autoconf 2.69. Invocation command line was
18551788
1856 $ $0 $@1789 $ $0 $@
18571790
@@ -2270,7 +2203,7 @@
2270 # by default.2203 # by default.
2271 for ac_prog in ginstall scoinst install; do2204 for ac_prog in ginstall scoinst install; do
2272 for ac_exec_ext in '' $ac_executable_extensions; do2205 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2206 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2274 if test $ac_prog = install &&2207 if test $ac_prog = install &&
2275 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2208 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2276 # AIX install. It has an incompatible calling convention.2209 # AIX install. It has an incompatible calling convention.
@@ -2439,7 +2372,7 @@
2439 IFS=$as_save_IFS2372 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.2373 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do2374 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"2376 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 break 22378 break 2
@@ -2479,7 +2412,7 @@
2479 IFS=$as_save_IFS2412 IFS=$as_save_IFS
2480 test -z "$as_dir" && as_dir=.2413 test -z "$as_dir" && as_dir=.
2481 for ac_exec_ext in '' $ac_executable_extensions; do2414 for ac_exec_ext in '' $ac_executable_extensions; do
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2483 ac_cv_prog_ac_ct_STRIP="strip"2416 ac_cv_prog_ac_ct_STRIP="strip"
2484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 break 22418 break 2
@@ -2530,7 +2463,7 @@
2530 test -z "$as_dir" && as_dir=.2463 test -z "$as_dir" && as_dir=.
2531 for ac_prog in mkdir gmkdir; do2464 for ac_prog in mkdir gmkdir; do
2532 for ac_exec_ext in '' $ac_executable_extensions; do2465 for ac_exec_ext in '' $ac_executable_extensions; do
2533 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue2466 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2534 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(2467 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2535 'mkdir (GNU coreutils) '* | \2468 'mkdir (GNU coreutils) '* | \
2536 'mkdir (coreutils) '* | \2469 'mkdir (coreutils) '* | \
@@ -2583,7 +2516,7 @@
2583 IFS=$as_save_IFS2516 IFS=$as_save_IFS
2584 test -z "$as_dir" && as_dir=.2517 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do2518 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587 ac_cv_prog_AWK="$ac_prog"2520 ac_cv_prog_AWK="$ac_prog"
2588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 break 22522 break 2
@@ -2669,7 +2602,7 @@
26692602
2670# Define the identity of the package.2603# Define the identity of the package.
2671 PACKAGE='xorg-gtest'2604 PACKAGE='xorg-gtest'
2672 VERSION='0.3.0'2605 VERSION='0.7.0'
26732606
26742607
2675cat >>confdefs.h <<_ACEOF2608cat >>confdefs.h <<_ACEOF
@@ -2762,7 +2695,7 @@
2762 IFS=$as_save_IFS2695 IFS=$as_save_IFS
2763 test -z "$as_dir" && as_dir=.2696 test -z "$as_dir" && as_dir=.
2764 for ac_exec_ext in '' $ac_executable_extensions; do2697 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"2699 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 break 22701 break 2
@@ -2806,7 +2739,7 @@
2806 IFS=$as_save_IFS2739 IFS=$as_save_IFS
2807 test -z "$as_dir" && as_dir=.2740 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do2741 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_ac_ct_CXX="$ac_prog"2743 ac_cv_prog_ac_ct_CXX="$ac_prog"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 break 22745 break 2
@@ -3449,7 +3382,7 @@
3449 IFS=$as_save_IFS3382 IFS=$as_save_IFS
3450 test -z "$as_dir" && as_dir=.3383 test -z "$as_dir" && as_dir=.
3451 for ac_exec_ext in '' $ac_executable_extensions; do3384 for ac_exec_ext in '' $ac_executable_extensions; do
3452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3453 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"3386 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 break 23388 break 2
@@ -3489,7 +3422,7 @@
3489 IFS=$as_save_IFS3422 IFS=$as_save_IFS
3490 test -z "$as_dir" && as_dir=.3423 test -z "$as_dir" && as_dir=.
3491 for ac_exec_ext in '' $ac_executable_extensions; do3424 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3493 ac_cv_prog_ac_ct_RANLIB="ranlib"3426 ac_cv_prog_ac_ct_RANLIB="ranlib"
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 break 23428 break 2
@@ -3695,7 +3628,7 @@
3695 for ac_prog in grep ggrep; do3628 for ac_prog in grep ggrep; do
3696 for ac_exec_ext in '' $ac_executable_extensions; do3629 for ac_exec_ext in '' $ac_executable_extensions; do
3697 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"3630 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3698 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue3631 as_fn_executable_p "$ac_path_GREP" || continue
3699# Check for GNU ac_path_GREP and select it if it is found.3632# Check for GNU ac_path_GREP and select it if it is found.
3700 # Check for GNU $ac_path_GREP3633 # Check for GNU $ac_path_GREP
3701case `"$ac_path_GREP" --version 2>&1` in3634case `"$ac_path_GREP" --version 2>&1` in
@@ -3761,7 +3694,7 @@
3761 for ac_prog in egrep; do3694 for ac_prog in egrep; do
3762 for ac_exec_ext in '' $ac_executable_extensions; do3695 for ac_exec_ext in '' $ac_executable_extensions; do
3763 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"3696 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3764 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue3697 as_fn_executable_p "$ac_path_EGREP" || continue
3765# Check for GNU ac_path_EGREP and select it if it is found.3698# Check for GNU ac_path_EGREP and select it if it is found.
3766 # Check for GNU $ac_path_EGREP3699 # Check for GNU $ac_path_EGREP
3767case `"$ac_path_EGREP" --version 2>&1` in3700case `"$ac_path_EGREP" --version 2>&1` in
@@ -3992,7 +3925,7 @@
3992 IFS=$as_save_IFS3925 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.3926 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do3927 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"3929 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 23931 break 2
@@ -4035,7 +3968,7 @@
4035 IFS=$as_save_IFS3968 IFS=$as_save_IFS
4036 test -z "$as_dir" && as_dir=.3969 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do3970 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"3972 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 break 23974 break 2
@@ -4178,7 +4111,7 @@
4178 for ac_prog in sed gsed; do4111 for ac_prog in sed gsed; do
4179 for ac_exec_ext in '' $ac_executable_extensions; do4112 for ac_exec_ext in '' $ac_executable_extensions; do
4180 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"4113 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4181 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue4114 as_fn_executable_p "$ac_path_SED" || continue
4182# Check for GNU ac_path_SED and select it if it is found.4115# Check for GNU ac_path_SED and select it if it is found.
4183 # Check for GNU $ac_path_SED4116 # Check for GNU $ac_path_SED
4184case `"$ac_path_SED" --version 2>&1` in4117case `"$ac_path_SED" --version 2>&1` in
@@ -4685,7 +4618,7 @@
46854618
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Wformat=2" >&54619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Wformat=2" >&5
4687$as_echo_n "checking if $CXX supports-Wformat=2... " >&6; }4620$as_echo_n "checking if $CXX supports-Wformat=2... " >&6; }
4688 cacheid=`$as_echo "xorg_cv_cxx_flag_-Wformat=2" | $as_tr_sh`4621 cacheid=xorg_cv_cxx_flag__Wformat_2
4689 if eval \${$cacheid+:} false; then :4622 if eval \${$cacheid+:} false; then :
4690 $as_echo_n "(cached) " >&64623 $as_echo_n "(cached) " >&6
4691else4624else
@@ -5694,7 +5627,7 @@
56945627
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=implicit" >&55628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=implicit" >&5
5696$as_echo_n "checking if $CXX supports-Werror=implicit... " >&6; }5629$as_echo_n "checking if $CXX supports-Werror=implicit... " >&6; }
5697 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=implicit" | $as_tr_sh`5630 cacheid=xorg_cv_cxx_flag__Werror_implicit
5698 if eval \${$cacheid+:} false; then :5631 if eval \${$cacheid+:} false; then :
5699 $as_echo_n "(cached) " >&65632 $as_echo_n "(cached) " >&6
5700else5633else
@@ -5743,7 +5676,7 @@
57435676
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&55677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
5745$as_echo_n "checking if $CXX supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }5678$as_echo_n "checking if $CXX supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
5746 cacheid=`$as_echo "xorg_cv_cxx_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`5679 cacheid=xorg_cv_cxx_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
5747 if eval \${$cacheid+:} false; then :5680 if eval \${$cacheid+:} false; then :
5748 $as_echo_n "(cached) " >&65681 $as_echo_n "(cached) " >&6
5749else5682else
@@ -5861,7 +5794,7 @@
58615794
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=nonnull" >&55795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=nonnull" >&5
5863$as_echo_n "checking if $CXX supports-Werror=nonnull... " >&6; }5796$as_echo_n "checking if $CXX supports-Werror=nonnull... " >&6; }
5864 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=nonnull" | $as_tr_sh`5797 cacheid=xorg_cv_cxx_flag__Werror_nonnull
5865 if eval \${$cacheid+:} false; then :5798 if eval \${$cacheid+:} false; then :
5866 $as_echo_n "(cached) " >&65799 $as_echo_n "(cached) " >&6
5867else5800else
@@ -5979,7 +5912,7 @@
59795912
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=init-self" >&55913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=init-self" >&5
5981$as_echo_n "checking if $CXX supports-Werror=init-self... " >&6; }5914$as_echo_n "checking if $CXX supports-Werror=init-self... " >&6; }
5982 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=init-self" | $as_tr_sh`5915 cacheid=xorg_cv_cxx_flag__Werror_init_self
5983 if eval \${$cacheid+:} false; then :5916 if eval \${$cacheid+:} false; then :
5984 $as_echo_n "(cached) " >&65917 $as_echo_n "(cached) " >&6
5985else5918else
@@ -6097,7 +6030,7 @@
60976030
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=main" >&56031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=main" >&5
6099$as_echo_n "checking if $CXX supports-Werror=main... " >&6; }6032$as_echo_n "checking if $CXX supports-Werror=main... " >&6; }
6100 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=main" | $as_tr_sh`6033 cacheid=xorg_cv_cxx_flag__Werror_main
6101 if eval \${$cacheid+:} false; then :6034 if eval \${$cacheid+:} false; then :
6102 $as_echo_n "(cached) " >&66035 $as_echo_n "(cached) " >&6
6103else6036else
@@ -6215,7 +6148,7 @@
62156148
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=missing-braces" >&56149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=missing-braces" >&5
6217$as_echo_n "checking if $CXX supports-Werror=missing-braces... " >&6; }6150$as_echo_n "checking if $CXX supports-Werror=missing-braces... " >&6; }
6218 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=missing-braces" | $as_tr_sh`6151 cacheid=xorg_cv_cxx_flag__Werror_missing_braces
6219 if eval \${$cacheid+:} false; then :6152 if eval \${$cacheid+:} false; then :
6220 $as_echo_n "(cached) " >&66153 $as_echo_n "(cached) " >&6
6221else6154else
@@ -6333,7 +6266,7 @@
63336266
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=sequence-point" >&56267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=sequence-point" >&5
6335$as_echo_n "checking if $CXX supports-Werror=sequence-point... " >&6; }6268$as_echo_n "checking if $CXX supports-Werror=sequence-point... " >&6; }
6336 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=sequence-point" | $as_tr_sh`6269 cacheid=xorg_cv_cxx_flag__Werror_sequence_point
6337 if eval \${$cacheid+:} false; then :6270 if eval \${$cacheid+:} false; then :
6338 $as_echo_n "(cached) " >&66271 $as_echo_n "(cached) " >&6
6339else6272else
@@ -6451,7 +6384,7 @@
64516384
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=return-type" >&56385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=return-type" >&5
6453$as_echo_n "checking if $CXX supports-Werror=return-type... " >&6; }6386$as_echo_n "checking if $CXX supports-Werror=return-type... " >&6; }
6454 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=return-type" | $as_tr_sh`6387 cacheid=xorg_cv_cxx_flag__Werror_return_type
6455 if eval \${$cacheid+:} false; then :6388 if eval \${$cacheid+:} false; then :
6456 $as_echo_n "(cached) " >&66389 $as_echo_n "(cached) " >&6
6457else6390else
@@ -6500,7 +6433,7 @@
65006433
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&56434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
6502$as_echo_n "checking if $CXX supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }6435$as_echo_n "checking if $CXX supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
6503 cacheid=`$as_echo "xorg_cv_cxx_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`6436 cacheid=xorg_cv_cxx_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
6504 if eval \${$cacheid+:} false; then :6437 if eval \${$cacheid+:} false; then :
6505 $as_echo_n "(cached) " >&66438 $as_echo_n "(cached) " >&6
6506else6439else
@@ -6618,7 +6551,7 @@
66186551
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=trigraphs" >&56552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=trigraphs" >&5
6620$as_echo_n "checking if $CXX supports-Werror=trigraphs... " >&6; }6553$as_echo_n "checking if $CXX supports-Werror=trigraphs... " >&6; }
6621 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=trigraphs" | $as_tr_sh`6554 cacheid=xorg_cv_cxx_flag__Werror_trigraphs
6622 if eval \${$cacheid+:} false; then :6555 if eval \${$cacheid+:} false; then :
6623 $as_echo_n "(cached) " >&66556 $as_echo_n "(cached) " >&6
6624else6557else
@@ -6736,7 +6669,7 @@
67366669
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=array-bounds" >&56670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=array-bounds" >&5
6738$as_echo_n "checking if $CXX supports-Werror=array-bounds... " >&6; }6671$as_echo_n "checking if $CXX supports-Werror=array-bounds... " >&6; }
6739 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=array-bounds" | $as_tr_sh`6672 cacheid=xorg_cv_cxx_flag__Werror_array_bounds
6740 if eval \${$cacheid+:} false; then :6673 if eval \${$cacheid+:} false; then :
6741 $as_echo_n "(cached) " >&66674 $as_echo_n "(cached) " >&6
6742else6675else
@@ -6854,7 +6787,7 @@
68546787
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=write-strings" >&56788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=write-strings" >&5
6856$as_echo_n "checking if $CXX supports-Werror=write-strings... " >&6; }6789$as_echo_n "checking if $CXX supports-Werror=write-strings... " >&6; }
6857 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=write-strings" | $as_tr_sh`6790 cacheid=xorg_cv_cxx_flag__Werror_write_strings
6858 if eval \${$cacheid+:} false; then :6791 if eval \${$cacheid+:} false; then :
6859 $as_echo_n "(cached) " >&66792 $as_echo_n "(cached) " >&6
6860else6793else
@@ -6972,7 +6905,7 @@
69726905
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=address" >&56906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=address" >&5
6974$as_echo_n "checking if $CXX supports-Werror=address... " >&6; }6907$as_echo_n "checking if $CXX supports-Werror=address... " >&6; }
6975 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=address" | $as_tr_sh`6908 cacheid=xorg_cv_cxx_flag__Werror_address
6976 if eval \${$cacheid+:} false; then :6909 if eval \${$cacheid+:} false; then :
6977 $as_echo_n "(cached) " >&66910 $as_echo_n "(cached) " >&6
6978else6911else
@@ -7090,7 +7023,7 @@
70907023
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=int-to-pointer-cast" >&57024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=int-to-pointer-cast" >&5
7092$as_echo_n "checking if $CXX supports-Werror=int-to-pointer-cast... " >&6; }7025$as_echo_n "checking if $CXX supports-Werror=int-to-pointer-cast... " >&6; }
7093 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`7026 cacheid=xorg_cv_cxx_flag__Werror_int_to_pointer_cast
7094 if eval \${$cacheid+:} false; then :7027 if eval \${$cacheid+:} false; then :
7095 $as_echo_n "(cached) " >&67028 $as_echo_n "(cached) " >&6
7096else7029else
@@ -7139,7 +7072,7 @@
71397072
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&57073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
7141$as_echo_n "checking if $CXX supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }7074$as_echo_n "checking if $CXX supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
7142 cacheid=`$as_echo "xorg_cv_cxx_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`7075 cacheid=xorg_cv_cxx_flag__errwarn_E_BAD_PTR_INT_COMBINATION
7143 if eval \${$cacheid+:} false; then :7076 if eval \${$cacheid+:} false; then :
7144 $as_echo_n "(cached) " >&67077 $as_echo_n "(cached) " >&6
7145else7078else
@@ -7257,7 +7190,7 @@
72577190
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=pointer-to-int-cast" >&57191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=pointer-to-int-cast" >&5
7259$as_echo_n "checking if $CXX supports-Werror=pointer-to-int-cast... " >&6; }7192$as_echo_n "checking if $CXX supports-Werror=pointer-to-int-cast... " >&6; }
7260 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`7193 cacheid=xorg_cv_cxx_flag__Werror_pointer_to_int_cast
7261 if eval \${$cacheid+:} false; then :7194 if eval \${$cacheid+:} false; then :
7262 $as_echo_n "(cached) " >&67195 $as_echo_n "(cached) " >&6
7263else7196else
@@ -9227,7 +9160,7 @@
92279160
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=attributes" >&59161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports-Werror=attributes" >&5
9229$as_echo_n "checking if $CXX supports-Werror=attributes... " >&6; }9162$as_echo_n "checking if $CXX supports-Werror=attributes... " >&6; }
9230 cacheid=`$as_echo "xorg_cv_cxx_flag_-Werror=attributes" | $as_tr_sh`9163 cacheid=xorg_cv_cxx_flag__Werror_attributes
9231 if eval \${$cacheid+:} false; then :9164 if eval \${$cacheid+:} false; then :
9232 $as_echo_n "(cached) " >&69165 $as_echo_n "(cached) " >&6
9233else9166else
@@ -9539,20 +9472,145 @@
95399472
95409473
95419474
9475
9476
9477# Check whether --with-doxygen was given.
9478if test "${with_doxygen+set}" = set; then :
9479 withval=$with_doxygen; use_doxygen=$withval
9480else
9481 use_doxygen=auto
9482fi
9483
9484
9485
9486if test "x$use_doxygen" = x"auto"; then
9487 # Extract the first word of "doxygen", so it can be a program name with args.
9488set dummy doxygen; ac_word=$2
9489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490$as_echo_n "checking for $ac_word... " >&6; }
9491if ${ac_cv_path_DOXYGEN+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493else
9494 case $DOXYGEN in
9495 [\\/]* | ?:[\\/]*)
9496 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
9497 ;;
9498 *)
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9500for as_dir in $PATH
9501do
9502 IFS=$as_save_IFS
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9506 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9508 break 2
9509 fi
9510done
9511 done
9512IFS=$as_save_IFS
9513
9514 ;;
9515esac
9516fi
9517DOXYGEN=$ac_cv_path_DOXYGEN
9518if test -n "$DOXYGEN"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
9520$as_echo "$DOXYGEN" >&6; }
9521else
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523$as_echo "no" >&6; }
9524fi
9525
9526
9527 if test "x$DOXYGEN" = "x"; then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
9529$as_echo "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
9530 have_doxygen=no
9531 else
9532 have_doxygen=yes
9533 fi
9534elif test "x$use_doxygen" = x"yes" ; then
9535 # Extract the first word of "doxygen", so it can be a program name with args.
9536set dummy doxygen; ac_word=$2
9537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9538$as_echo_n "checking for $ac_word... " >&6; }
9539if ${ac_cv_path_DOXYGEN+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541else
9542 case $DOXYGEN in
9543 [\\/]* | ?:[\\/]*)
9544 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
9545 ;;
9546 *)
9547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548for as_dir in $PATH
9549do
9550 IFS=$as_save_IFS
9551 test -z "$as_dir" && as_dir=.
9552 for ac_exec_ext in '' $ac_executable_extensions; do
9553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9554 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
9555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9556 break 2
9557 fi
9558done
9559 done
9560IFS=$as_save_IFS
9561
9562 ;;
9563esac
9564fi
9565DOXYGEN=$ac_cv_path_DOXYGEN
9566if test -n "$DOXYGEN"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
9568$as_echo "$DOXYGEN" >&6; }
9569else
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571$as_echo "no" >&6; }
9572fi
9573
9574
9575 if test "x$DOXYGEN" = "x"; then
9576 as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
9577 fi
9578 have_doxygen=yes
9579elif test "x$use_doxygen" = x"no" ; then
9580 if test "x$DOXYGEN" != "x"; then
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
9582$as_echo "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
9583 fi
9584 have_doxygen=no
9585else
9586 as_fn_error $? "--with-doxygen expects 'yes' or 'no'" "$LINENO" 5
9587fi
9588
9589 if test "$have_doxygen" = yes; then
9590 HAVE_DOXYGEN_TRUE=
9591 HAVE_DOXYGEN_FALSE='#'
9592else
9593 HAVE_DOXYGEN_TRUE='#'
9594 HAVE_DOXYGEN_FALSE=
9595fi
9596
9597
9598
9599
9542pkg_failed=no9600pkg_failed=no
9543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSERVER" >&59601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
9544$as_echo_n "checking for XSERVER... " >&6; }9602$as_echo_n "checking for X11... " >&6; }
95459603
9546if test -n "$XSERVER_CFLAGS"; then9604if test -n "$X11_CFLAGS"; then
9547 pkg_cv_XSERVER_CFLAGS="$XSERVER_CFLAGS"9605 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
9548 elif test -n "$PKG_CONFIG"; then9606 elif test -n "$PKG_CONFIG"; then
9549 if test -n "$PKG_CONFIG" && \9607 if test -n "$PKG_CONFIG" && \
9550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&59608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xi\""; } >&5
9551 ($PKG_CONFIG --exists --print-errors "x11") 2>&59609 ($PKG_CONFIG --exists --print-errors "x11 xi") 2>&5
9552 ac_status=$?9610 ac_status=$?
9553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&59611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9554 test $ac_status = 0; }; then9612 test $ac_status = 0; }; then
9555 pkg_cv_XSERVER_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`9613 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 xi" 2>/dev/null`
9556 test "x$?" != "x0" && pkg_failed=yes9614 test "x$?" != "x0" && pkg_failed=yes
9557else9615else
9558 pkg_failed=yes9616 pkg_failed=yes
@@ -9560,16 +9618,16 @@
9560 else9618 else
9561 pkg_failed=untried9619 pkg_failed=untried
9562fi9620fi
9563if test -n "$XSERVER_LIBS"; then9621if test -n "$X11_LIBS"; then
9564 pkg_cv_XSERVER_LIBS="$XSERVER_LIBS"9622 pkg_cv_X11_LIBS="$X11_LIBS"
9565 elif test -n "$PKG_CONFIG"; then9623 elif test -n "$PKG_CONFIG"; then
9566 if test -n "$PKG_CONFIG" && \9624 if test -n "$PKG_CONFIG" && \
9567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&59625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xi\""; } >&5
9568 ($PKG_CONFIG --exists --print-errors "x11") 2>&59626 ($PKG_CONFIG --exists --print-errors "x11 xi") 2>&5
9569 ac_status=$?9627 ac_status=$?
9570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&59628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9571 test $ac_status = 0; }; then9629 test $ac_status = 0; }; then
9572 pkg_cv_XSERVER_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`9630 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 xi" 2>/dev/null`
9573 test "x$?" != "x0" && pkg_failed=yes9631 test "x$?" != "x0" && pkg_failed=yes
9574else9632else
9575 pkg_failed=yes9633 pkg_failed=yes
@@ -9590,22 +9648,22 @@
9590 _pkg_short_errors_supported=no9648 _pkg_short_errors_supported=no
9591fi9649fi
9592 if test $_pkg_short_errors_supported = yes; then9650 if test $_pkg_short_errors_supported = yes; then
9593 XSERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`9651 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xi" 2>&1`
9594 else9652 else
9595 XSERVER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`9653 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xi" 2>&1`
9596 fi9654 fi
9597 # Put the nasty error message in config.log where it belongs9655 # Put the nasty error message in config.log where it belongs
9598 echo "$XSERVER_PKG_ERRORS" >&59656 echo "$X11_PKG_ERRORS" >&5
95999657
9600 as_fn_error $? "Package requirements (x11) were not met:9658 as_fn_error $? "Package requirements (x11 xi) were not met:
96019659
9602$XSERVER_PKG_ERRORS9660$X11_PKG_ERRORS
96039661
9604Consider adjusting the PKG_CONFIG_PATH environment variable if you9662Consider adjusting the PKG_CONFIG_PATH environment variable if you
9605installed software in a non-standard prefix.9663installed software in a non-standard prefix.
96069664
9607Alternatively, you may set the environment variables XSERVER_CFLAGS9665Alternatively, you may set the environment variables X11_CFLAGS
9608and XSERVER_LIBS to avoid the need to call pkg-config.9666and X11_LIBS to avoid the need to call pkg-config.
9609See the pkg-config man page for more details." "$LINENO" 59667See the pkg-config man page for more details." "$LINENO" 5
9610elif test $pkg_failed = untried; then9668elif test $pkg_failed = untried; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&59669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
@@ -9616,137 +9674,49 @@
9616is in your PATH or set the PKG_CONFIG environment variable to the full9674is in your PATH or set the PKG_CONFIG environment variable to the full
9617path to pkg-config.9675path to pkg-config.
96189676
9619Alternatively, you may set the environment variables XSERVER_CFLAGS9677Alternatively, you may set the environment variables X11_CFLAGS
9620and XSERVER_LIBS to avoid the need to call pkg-config.9678and X11_LIBS to avoid the need to call pkg-config.
9621See the pkg-config man page for more details.9679See the pkg-config man page for more details.
96229680
9623To get pkg-config, see <http://pkg-config.freedesktop.org/>.9681To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9624See \`config.log' for more details" "$LINENO" 5; }9682See \`config.log' for more details" "$LINENO" 5; }
9625else9683else
9626 XSERVER_CFLAGS=$pkg_cv_XSERVER_CFLAGS9684 X11_CFLAGS=$pkg_cv_X11_CFLAGS
9627 XSERVER_LIBS=$pkg_cv_XSERVER_LIBS9685 X11_LIBS=$pkg_cv_X11_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&59686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9629$as_echo "yes" >&6; }9687$as_echo "yes" >&6; }
96309688
9631fi9689fi
96329690
9633# Check for Google Test9691
96349692# Check whether --with-logfile-dir was given.
96359693if test "${with_logfile_dir+set}" = set; then :
9636# Check whether --with-gtest-source-path was given.9694 withval=$with_logfile_dir; LOGFILE_DIR="$withval"
9637if test "${with_gtest_source_path+set}" = set; then :9695else
9638 withval=$with_gtest_source_path; GTEST_SOURCE="$withval"; GTEST_CPPFLAGS="-I$withval/include"9696 LOGFILE_DIR="/tmp"
9639else9697fi
9640 GTEST_SOURCE="/usr/src/gtest"9698
9641fi9699
96429700 prefix_NONE=
96439701 exec_prefix_NONE=
96449702 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
9645# Check whether --with-gtest-include-path was given.9703 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
9646if test "${with_gtest_include_path+set}" = set; then :9704 eval ac_define_dir="\"$LOGFILE_DIR\""
9647 withval=$with_gtest_include_path; GTEST_CPPFLAGS="-I$withval"9705 eval ac_define_dir="\"$ac_define_dir\""
9648fi9706 LOGFILE_DIR="$ac_define_dir"
96499707
96509708
9651 GTEST_CPPFLAGS="$GTEST_CPPFLAGS -I$GTEST_SOURCE"9709cat >>confdefs.h <<_ACEOF
96529710#define LOGFILE_DIR "$ac_define_dir"
9653 ac_ext=cpp9711_ACEOF
9654ac_cpp='$CXXCPP $CPPFLAGS'9712
9655ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'9713 test "$prefix_NONE" && prefix=NONE
9656ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'9714 test "$exec_prefix_NONE" && exec_prefix=NONE
9657ac_compiler_gnu=$ac_cv_cxx_compiler_gnu9715
96589716DUMMY_CONF_PATH='${LOGFILE_DIR}'
96599717
9660 tmp_CPPFLAGS="$CPPFLAGS"9718
9661 CPPFLAGS="$CPPFLAGS $GTEST_CPPFLAGS"9719# Check if we should include support for evemu
9662
9663 ac_fn_cxx_check_header_mongrel "$LINENO" "gtest/gtest.h" "ac_cv_header_gtest_gtest_h" "$ac_includes_default"
9664if test "x$ac_cv_header_gtest_gtest_h" = xyes; then :
9665
9666fi
9667
9668
9669
9670 CPPFLAGS="$tmp_CPPFLAGS"
9671
9672 ac_ext=cpp
9673ac_cpp='$CXXCPP $CPPFLAGS'
9674ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9675ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9676ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9677
9678
9679 as_ac_File=`$as_echo "ac_cv_file_$GTEST_SOURCE/src/gtest-all.cc" | $as_tr_sh`
9680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTEST_SOURCE/src/gtest-all.cc" >&5
9681$as_echo_n "checking for $GTEST_SOURCE/src/gtest-all.cc... " >&6; }
9682if eval \${$as_ac_File+:} false; then :
9683 $as_echo_n "(cached) " >&6
9684else
9685 test "$cross_compiling" = yes &&
9686 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
9687if test -r "$GTEST_SOURCE/src/gtest-all.cc"; then
9688 eval "$as_ac_File=yes"
9689else
9690 eval "$as_ac_File=no"
9691fi
9692fi
9693eval ac_res=\$$as_ac_File
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9695$as_echo "$ac_res" >&6; }
9696if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
9697
9698cat >>confdefs.h <<_ACEOF
9699#define `$as_echo "HAVE_$GTEST_SOURCE/src/gtest-all.cc" | $as_tr_cpp` 1
9700_ACEOF
9701have_gtest_source=yes
9702else
9703 have_gtest_source=no
9704fi
9705as_ac_File=`$as_echo "ac_cv_file_$GTEST_SOURCE/src/gtest_main.cc" | $as_tr_sh`
9706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTEST_SOURCE/src/gtest_main.cc" >&5
9707$as_echo_n "checking for $GTEST_SOURCE/src/gtest_main.cc... " >&6; }
9708if eval \${$as_ac_File+:} false; then :
9709 $as_echo_n "(cached) " >&6
9710else
9711 test "$cross_compiling" = yes &&
9712 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
9713if test -r "$GTEST_SOURCE/src/gtest_main.cc"; then
9714 eval "$as_ac_File=yes"
9715else
9716 eval "$as_ac_File=no"
9717fi
9718fi
9719eval ac_res=\$$as_ac_File
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9721$as_echo "$ac_res" >&6; }
9722if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
9723
9724cat >>confdefs.h <<_ACEOF
9725#define `$as_echo "HAVE_$GTEST_SOURCE/src/gtest_main.cc" | $as_tr_cpp` 1
9726_ACEOF
9727have_gtest_source=yes
9728else
9729 have_gtest_source=no
9730fi
9731
9732
9733 if test "x$ac_cv_header_gtest_gtest_h" = xyes -a \
9734 "x$have_gtest_source" = xyes; then :
9735 have_gtest=yes
9736
9737
9738else
9739 have_gtest=no
9740fi
9741
9742
9743if test "x$have_gtest" != xyes; then :
9744 as_fn_error $? "package 'gtest' not found" "$LINENO" 5
9745fi
9746
9747
9748
9749# Check if we should include support for utouch-evemu
97509720
9751# Check whether --with-evemu was given.9721# Check whether --with-evemu was given.
9752if test "${with_evemu+set}" = set; then :9722if test "${with_evemu+set}" = set; then :
@@ -9756,171 +9726,82 @@
9756fi9726fi
97579727
97589728
9759if test "x$with_evemu" == xyes; then :9729
97609730pkg_failed=no
9761pkg_failed=no9731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVEMU" >&5
9762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVEMU" >&59732$as_echo_n "checking for EVEMU... " >&6; }
9763$as_echo_n "checking for EVEMU... " >&6; }9733
97649734if test -n "$EVEMU_CFLAGS"; then
9765if test -n "$EVEMU_CFLAGS"; then9735 pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"
9766 pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"9736 elif test -n "$PKG_CONFIG"; then
9767 elif test -n "$PKG_CONFIG"; then9737 if test -n "$PKG_CONFIG" && \
9768 if test -n "$PKG_CONFIG" && \9738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.10 \""; } >&5
9769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&59739 ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.10 ") 2>&5
9770 ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&59740 ac_status=$?
9771 ac_status=$?9741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&59742 test $ac_status = 0; }; then
9773 test $ac_status = 0; }; then9743 pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "evemu >= 1.0.10 " 2>/dev/null`
9774 pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "utouch-evemu" 2>/dev/null`9744 test "x$?" != "x0" && pkg_failed=yes
9775 test "x$?" != "x0" && pkg_failed=yes9745else
9776else9746 pkg_failed=yes
9777 pkg_failed=yes9747fi
9778fi9748 else
9779 else9749 pkg_failed=untried
9780 pkg_failed=untried9750fi
9781fi9751if test -n "$EVEMU_LIBS"; then
9782if test -n "$EVEMU_LIBS"; then9752 pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"
9783 pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"9753 elif test -n "$PKG_CONFIG"; then
9784 elif test -n "$PKG_CONFIG"; then9754 if test -n "$PKG_CONFIG" && \
9785 if test -n "$PKG_CONFIG" && \9755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evemu >= 1.0.10 \""; } >&5
9786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&59756 ($PKG_CONFIG --exists --print-errors "evemu >= 1.0.10 ") 2>&5
9787 ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&59757 ac_status=$?
9788 ac_status=$?9758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&59759 test $ac_status = 0; }; then
9790 test $ac_status = 0; }; then9760 pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "evemu >= 1.0.10 " 2>/dev/null`
9791 pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "utouch-evemu" 2>/dev/null`9761 test "x$?" != "x0" && pkg_failed=yes
9792 test "x$?" != "x0" && pkg_failed=yes9762else
9793else9763 pkg_failed=yes
9794 pkg_failed=yes9764fi
9795fi9765 else
9796 else9766 pkg_failed=untried
9797 pkg_failed=untried9767fi
9798fi9768
97999769
98009770
98019771if test $pkg_failed = yes; then
9802if test $pkg_failed = yes; then9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&59773$as_echo "no" >&6; }
9804$as_echo "no" >&6; }9774
98059775if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9806if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then9776 _pkg_short_errors_supported=yes
9807 _pkg_short_errors_supported=yes9777else
9808else9778 _pkg_short_errors_supported=no
9809 _pkg_short_errors_supported=no9779fi
9810fi9780 if test $_pkg_short_errors_supported = yes; then
9811 if test $_pkg_short_errors_supported = yes; then9781 EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evemu >= 1.0.10 " 2>&1`
9812 EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "utouch-evemu" 2>&1`9782 else
9813 else9783 EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evemu >= 1.0.10 " 2>&1`
9814 EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "utouch-evemu" 2>&1`9784 fi
9815 fi9785 # Put the nasty error message in config.log where it belongs
9816 # Put the nasty error message in config.log where it belongs9786 echo "$EVEMU_PKG_ERRORS" >&5
9817 echo "$EVEMU_PKG_ERRORS" >&59787
98189788 have_evemu=no
9819 as_fn_error $? "Package requirements (utouch-evemu) were not met:9789elif test $pkg_failed = untried; then
98209790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9821$EVEMU_PKG_ERRORS9791$as_echo "no" >&6; }
98229792 have_evemu=no
9823Consider adjusting the PKG_CONFIG_PATH environment variable if you9793else
9824installed software in a non-standard prefix.9794 EVEMU_CFLAGS=$pkg_cv_EVEMU_CFLAGS
98259795 EVEMU_LIBS=$pkg_cv_EVEMU_LIBS
9826Alternatively, you may set the environment variables EVEMU_CFLAGS9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9827and EVEMU_LIBS to avoid the need to call pkg-config.9797$as_echo "yes" >&6; }
9828See the pkg-config man page for more details." "$LINENO" 59798 have_evemu=yes
9829elif test $pkg_failed = untried; then9799fi
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&59800
9831$as_echo "no" >&6; }9801if test "x$with_evemu" == xyes && test "x$have_evemu" != xyes; then :
9832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&59802 as_fn_error $? "package 'evemu' not found" "$LINENO" 5
9833$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}9803fi
9834as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it9804
9835is in your PATH or set the PKG_CONFIG environment variable to the full
9836path to pkg-config.
9837
9838Alternatively, you may set the environment variables EVEMU_CFLAGS
9839and EVEMU_LIBS to avoid the need to call pkg-config.
9840See the pkg-config man page for more details.
9841
9842To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9843See \`config.log' for more details" "$LINENO" 5; }
9844else
9845 EVEMU_CFLAGS=$pkg_cv_EVEMU_CFLAGS
9846 EVEMU_LIBS=$pkg_cv_EVEMU_LIBS
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9848$as_echo "yes" >&6; }
9849 have_evemu=yes
9850fi
9851elif test "x$with_evemu" == xcheck; then :
9852
9853pkg_failed=no
9854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVEMU" >&5
9855$as_echo_n "checking for EVEMU... " >&6; }
9856
9857if test -n "$EVEMU_CFLAGS"; then
9858 pkg_cv_EVEMU_CFLAGS="$EVEMU_CFLAGS"
9859 elif test -n "$PKG_CONFIG"; then
9860 if test -n "$PKG_CONFIG" && \
9861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&5
9862 ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&5
9863 ac_status=$?
9864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9865 test $ac_status = 0; }; then
9866 pkg_cv_EVEMU_CFLAGS=`$PKG_CONFIG --cflags "utouch-evemu" 2>/dev/null`
9867 test "x$?" != "x0" && pkg_failed=yes
9868else
9869 pkg_failed=yes
9870fi
9871 else
9872 pkg_failed=untried
9873fi
9874if test -n "$EVEMU_LIBS"; then
9875 pkg_cv_EVEMU_LIBS="$EVEMU_LIBS"
9876 elif test -n "$PKG_CONFIG"; then
9877 if test -n "$PKG_CONFIG" && \
9878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"utouch-evemu\""; } >&5
9879 ($PKG_CONFIG --exists --print-errors "utouch-evemu") 2>&5
9880 ac_status=$?
9881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9882 test $ac_status = 0; }; then
9883 pkg_cv_EVEMU_LIBS=`$PKG_CONFIG --libs "utouch-evemu" 2>/dev/null`
9884 test "x$?" != "x0" && pkg_failed=yes
9885else
9886 pkg_failed=yes
9887fi
9888 else
9889 pkg_failed=untried
9890fi
9891
9892
9893
9894if test $pkg_failed = yes; then
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9896$as_echo "no" >&6; }
9897
9898if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9899 _pkg_short_errors_supported=yes
9900else
9901 _pkg_short_errors_supported=no
9902fi
9903 if test $_pkg_short_errors_supported = yes; then
9904 EVEMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "utouch-evemu" 2>&1`
9905 else
9906 EVEMU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "utouch-evemu" 2>&1`
9907 fi
9908 # Put the nasty error message in config.log where it belongs
9909 echo "$EVEMU_PKG_ERRORS" >&5
9910
9911 :
9912elif test $pkg_failed = untried; then
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9914$as_echo "no" >&6; }
9915 :
9916else
9917 EVEMU_CFLAGS=$pkg_cv_EVEMU_CFLAGS
9918 EVEMU_LIBS=$pkg_cv_EVEMU_LIBS
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9920$as_echo "yes" >&6; }
9921 have_evemu=yes
9922fi
9923fi
9924 if test "x$have_evemu" = "xyes"; then9805 if test "x$have_evemu" = "xyes"; then
9925 HAVE_EVEMU_TRUE=9806 HAVE_EVEMU_TRUE=
9926 HAVE_EVEMU_FALSE='#'9807 HAVE_EVEMU_FALSE='#'
@@ -9939,6 +9820,9 @@
9939DUMMY_CONF_PATH='${datarootdir}/xorg/gtest/dummy.conf'9820DUMMY_CONF_PATH='${datarootdir}/xorg/gtest/dummy.conf'
99409821
99419822
9823BASE_CPPFLAGS='$(X11_CFLAGS) $(EVEMU_CFLAGS)'
9824
9825
9942# Check if we can build integration tests9826# Check if we can build integration tests
9943if test "x$enable_integration_tests" != xno; then :9827if test "x$enable_integration_tests" != xno; then :
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.org server" >&59828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.org server" >&5
@@ -10002,7 +9886,7 @@
10002fi9886fi
100039887
100049888
10005ac_config_files="$ac_config_files Makefile aclocal/Makefile data/Makefile doc/Makefile examples/Makefile include/Makefile src/Makefile xorg-gtest.pc"9889ac_config_files="$ac_config_files Makefile aclocal/Makefile gtest/Makefile gtest/include/Makefile data/Makefile doc/Doxyfile doc/Makefile examples/Makefile include/Makefile src/Makefile test/Makefile xorg-gtest.pc"
100069890
100079891
10008cat >confcache <<\_ACEOF9892cat >confcache <<\_ACEOF
@@ -10174,6 +10058,10 @@
10174 as_fn_error $? "conditional \"ENABLE_INTEGRATION_TESTS\" was never defined.10058 as_fn_error $? "conditional \"ENABLE_INTEGRATION_TESTS\" was never defined.
10175Usually this means the macro was only invoked conditionally." "$LINENO" 510059Usually this means the macro was only invoked conditionally." "$LINENO" 5
10176fi10060fi
10061if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
10062 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
10063Usually this means the macro was only invoked conditionally." "$LINENO" 5
10064fi
10177if test -z "${HAVE_EVEMU_TRUE}" && test -z "${HAVE_EVEMU_FALSE}"; then10065if test -z "${HAVE_EVEMU_TRUE}" && test -z "${HAVE_EVEMU_FALSE}"; then
10178 as_fn_error $? "conditional \"HAVE_EVEMU\" was never defined.10066 as_fn_error $? "conditional \"HAVE_EVEMU\" was never defined.
10179Usually this means the macro was only invoked conditionally." "$LINENO" 510067Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -10480,16 +10368,16 @@
10480 # ... but there are two gotchas:10368 # ... but there are two gotchas:
10481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.10369 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.10370 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10483 # In both cases, we have to default to `cp -p'.10371 # In both cases, we have to default to `cp -pR'.
10484 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||10372 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10485 as_ln_s='cp -p'10373 as_ln_s='cp -pR'
10486 elif ln conf$$.file conf$$ 2>/dev/null; then10374 elif ln conf$$.file conf$$ 2>/dev/null; then
10487 as_ln_s=ln10375 as_ln_s=ln
10488 else10376 else
10489 as_ln_s='cp -p'10377 as_ln_s='cp -pR'
10490 fi10378 fi
10491else10379else
10492 as_ln_s='cp -p'10380 as_ln_s='cp -pR'
10493fi10381fi
10494rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file10382rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10495rmdir conf$$.dir 2>/dev/null10383rmdir conf$$.dir 2>/dev/null
@@ -10549,28 +10437,16 @@
10549 as_mkdir_p=false10437 as_mkdir_p=false
10550fi10438fi
1055110439
10552if test -x / >/dev/null 2>&1; then10440
10553 as_test_x='test -x'10441# as_fn_executable_p FILE
10554else10442# -----------------------
10555 if ls -dL / >/dev/null 2>&1; then10443# Test if FILE is an executable regular file.
10556 as_ls_L_option=L10444as_fn_executable_p ()
10557 else10445{
10558 as_ls_L_option=10446 test -f "$1" && test -x "$1"
10559 fi10447} # as_fn_executable_p
10560 as_test_x='10448as_test_x='test -x'
10561 eval sh -c '\''10449as_executable_p=as_fn_executable_p
10562 if test -d "$1"; then
10563 test -d "$1/.";
10564 else
10565 case $1 in #(
10566 -*)set "./$1";;
10567 esac;
10568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10569 ???[sx]*):;;*)false;;esac;fi
10570 '\'' sh
10571 '
10572fi
10573as_executable_p=$as_test_x
1057410450
10575# Sed expression to map a string onto a valid CPP name.10451# Sed expression to map a string onto a valid CPP name.
10576as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"10452as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -10591,8 +10467,8 @@
10591# report actual input values of CONFIG_FILES etc. instead of their10467# report actual input values of CONFIG_FILES etc. instead of their
10592# values after options handling.10468# values after options handling.
10593ac_log="10469ac_log="
10594This file was extended by Dummy X.org Testing Environment for Google Test $as_me 0.3.0, which was10470This file was extended by X.org Testing Environment for Google Test $as_me 0.7.0, which was
10595generated by GNU Autoconf 2.68. Invocation command line was10471generated by GNU Autoconf 2.69. Invocation command line was
1059610472
10597 CONFIG_FILES = $CONFIG_FILES10473 CONFIG_FILES = $CONFIG_FILES
10598 CONFIG_HEADERS = $CONFIG_HEADERS10474 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -10648,11 +10524,11 @@
10648cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=110524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10649ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"10525ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10650ac_cs_version="\\10526ac_cs_version="\\
10651Dummy X.org Testing Environment for Google Test config.status 0.3.010527X.org Testing Environment for Google Test config.status 0.7.0
10652configured by $0, generated by GNU Autoconf 2.68,10528configured by $0, generated by GNU Autoconf 2.69,
10653 with options \\"\$ac_cs_config\\"10529 with options \\"\$ac_cs_config\\"
1065410530
10655Copyright (C) 2010 Free Software Foundation, Inc.10531Copyright (C) 2012 Free Software Foundation, Inc.
10656This config.status script is free software; the Free Software Foundation10532This config.status script is free software; the Free Software Foundation
10657gives unlimited permission to copy, distribute and modify it."10533gives unlimited permission to copy, distribute and modify it."
1065810534
@@ -10732,7 +10608,7 @@
10732_ACEOF10608_ACEOF
10733cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=110609cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10734if \$ac_cs_recheck; then10610if \$ac_cs_recheck; then
10735 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion10611 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10736 shift10612 shift
10737 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&610613 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10738 CONFIG_SHELL='$SHELL'10614 CONFIG_SHELL='$SHELL'
@@ -10769,11 +10645,15 @@
10769 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;10645 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10770 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;10646 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10771 "aclocal/Makefile") CONFIG_FILES="$CONFIG_FILES aclocal/Makefile" ;;10647 "aclocal/Makefile") CONFIG_FILES="$CONFIG_FILES aclocal/Makefile" ;;
10648 "gtest/Makefile") CONFIG_FILES="$CONFIG_FILES gtest/Makefile" ;;
10649 "gtest/include/Makefile") CONFIG_FILES="$CONFIG_FILES gtest/include/Makefile" ;;
10772 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;10650 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
10651 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
10773 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;10652 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10774 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;10653 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
10775 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;10654 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
10776 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;10655 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10656 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
10777 "xorg-gtest.pc") CONFIG_FILES="$CONFIG_FILES xorg-gtest.pc" ;;10657 "xorg-gtest.pc") CONFIG_FILES="$CONFIG_FILES xorg-gtest.pc" ;;
1077810658
10779 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;10659 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1078010660
=== modified file 'configure.ac'
--- configure.ac 2012-06-08 12:39:52 +0000
+++ configure.ac 2013-01-21 00:48:20 +0000
@@ -1,14 +1,14 @@
1# Initialize Autoconf1# Initialize Autoconf
2AC_PREREQ([2.60])2AC_PREREQ([2.60])
3AC_INIT([Dummy X.org Testing Environment for Google Test],3AC_INIT([X.org Testing Environment for Google Test],
4 [0.3.0],4 [0.7.0],
5 [],5 [],
6 [xorg-gtest])6 [xorg-gtest])
7AC_CONFIG_SRCDIR([Makefile.am])7AC_CONFIG_SRCDIR([Makefile.am])
8AC_CONFIG_MACRO_DIR([m4])8AC_CONFIG_MACRO_DIR([m4])
99
10# Initialize Automake10# Initialize Automake
11AM_INIT_AUTOMAKE([foreign dist-bzip2])11AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
12AM_MAINTAINER_MODE([enable])12AM_MAINTAINER_MODE([enable])
1313
14# Checks for programs.14# Checks for programs.
@@ -23,34 +23,36 @@
23XORG_MACROS_VERSION(1.17)23XORG_MACROS_VERSION(1.17)
24XORG_DEFAULT_OPTIONS24XORG_DEFAULT_OPTIONS
25XORG_ENABLE_INTEGRATION_TESTS([yes])25XORG_ENABLE_INTEGRATION_TESTS([yes])
2626XORG_WITH_DOXYGEN
27PKG_CHECK_MODULES(XSERVER, x11)27
28PKG_CHECK_MODULES(X11, x11 xi)
29
30AC_ARG_WITH(logfile-dir, [AS_HELP_STRING([--with-logfile-dir=/tmp]),
31 [Base path for log files used as defaults and during tests (default: /tmp)]],
32 [LOGFILE_DIR="$withval"], [LOGFILE_DIR="/tmp"])
33AC_DEFINE_DIR(LOGFILE_DIR, LOGFILE_DIR, [Log file path])
34AC_SUBST(DUMMY_CONF_PATH, ['${LOGFILE_DIR}'])
28 35
29# Check for Google Test36# Check if we should include support for evemu
30CHECK_GTEST
31
32AS_IF([test "x$have_gtest" != xyes],
33 AC_MSG_ERROR([package 'gtest' not found]))
34
35AC_SUBST([GTEST_CPPFLAGS])
36
37# Check if we should include support for utouch-evemu
38AC_ARG_WITH([evemu],37AC_ARG_WITH([evemu],
39 [AS_HELP_STRING([--with-evemu],38 [AS_HELP_STRING([--with-evemu],
40 [support Linux input device recording playback (default: enabled if available)])],39 [support Linux input device recording playback (default: enabled if available)])],
41 [],40 [],
42 [with_evemu=check])41 [with_evemu=check])
4342
44AS_IF([test "x$with_evemu" == xyes],43PKG_CHECK_MODULES(EVEMU, [evemu >= 1.0.10] , [have_evemu=yes], [have_evemu=no])
45 [PKG_CHECK_MODULES(EVEMU, utouch-evemu, [have_evemu=yes])],44
46 [test "x$with_evemu" == xcheck],45AS_IF([test "x$with_evemu" == xyes && test "x$have_evemu" != xyes],
47 [PKG_CHECK_MODULES(EVEMU, utouch-evemu, [have_evemu=yes], [:])])46 AC_MSG_ERROR([package 'evemu' not found]))
47
48AM_CONDITIONAL([HAVE_EVEMU], [test "x$have_evemu" = "xyes"])48AM_CONDITIONAL([HAVE_EVEMU], [test "x$have_evemu" = "xyes"])
49AS_IF([test "x$have_evemu" = xyes], [AC_DEFINE([HAVE_EVEMU])])49AS_IF([test "x$have_evemu" = xyes], [AC_DEFINE([HAVE_EVEMU])])
5050
51AC_SUBST(SOURCEDIR, ['${prefix}/src/xorg-gtest'])51AC_SUBST(SOURCEDIR, ['${prefix}/src/xorg-gtest'])
52AC_SUBST(DUMMY_CONF_PATH, ['${datarootdir}/xorg/gtest/dummy.conf'])52AC_SUBST(DUMMY_CONF_PATH, ['${datarootdir}/xorg/gtest/dummy.conf'])
5353
54AC_SUBST(BASE_CPPFLAGS, ['$(X11_CFLAGS) $(EVEMU_CFLAGS)'])
55
54# Check if we can build integration tests56# Check if we can build integration tests
55AS_IF([test "x$enable_integration_tests" != xno],57AS_IF([test "x$enable_integration_tests" != xno],
56 [AC_MSG_CHECKING([for X.org server])]58 [AC_MSG_CHECKING([for X.org server])]
@@ -75,11 +77,15 @@
7577
76AC_CONFIG_FILES([Makefile78AC_CONFIG_FILES([Makefile
77 aclocal/Makefile79 aclocal/Makefile
80 gtest/Makefile
81 gtest/include/Makefile
78 data/Makefile82 data/Makefile
83 doc/Doxyfile
79 doc/Makefile84 doc/Makefile
80 examples/Makefile85 examples/Makefile
81 include/Makefile86 include/Makefile
82 src/Makefile87 src/Makefile
88 test/Makefile
83 xorg-gtest.pc])89 xorg-gtest.pc])
8490
85AC_OUTPUT91AC_OUTPUT
8692
=== modified file 'data/Makefile'
--- data/Makefile 2012-06-08 12:39:52 +0000
+++ data/Makefile 2013-01-21 00:48:20 +0000
@@ -1,4 +1,4 @@
1# Makefile.in generated by automake 1.11.3 from Makefile.am.1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# data/Makefile. Generated from Makefile.in by configure.2# data/Makefile. Generated from Makefile.in by configure.
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -41,6 +41,23 @@
41#41#
4242
4343
44am__make_dryrun = \
45 { \
46 am__dry=no; \
47 case $$MAKEFLAGS in \
48 *\\[\ \ ]*) \
49 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
50 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
51 *) \
52 for am__flg in $$MAKEFLAGS; do \
53 case $$am__flg in \
54 *=*|--*) ;; \
55 *n*) am__dry=yes; break;; \
56 esac; \
57 done;; \
58 esac; \
59 test $$am__dry = yes; \
60 }
44pkgdatadir = $(datadir)/xorg-gtest61pkgdatadir = $(datadir)/xorg-gtest
45pkgincludedir = $(includedir)/xorg-gtest62pkgincludedir = $(includedir)/xorg-gtest
46pkglibdir = $(libdir)/xorg-gtest63pkglibdir = $(libdir)/xorg-gtest
@@ -62,7 +79,7 @@
62subdir = data79subdir = data
63DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in80DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
64ACLOCAL_M4 = $(top_srcdir)/aclocal.m481ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \82am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
66 $(top_srcdir)/configure.ac83 $(top_srcdir)/configure.ac
67am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \84am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
68 $(ACLOCAL_M4)85 $(ACLOCAL_M4)
@@ -77,6 +94,11 @@
77am__v_at_0 = @94am__v_at_0 = @
78SOURCES =95SOURCES =
79DIST_SOURCES =96DIST_SOURCES =
97am__can_run_installinfo = \
98 case $$AM_UPDATE_INFO_DIR in \
99 n|no|NO) false;; \
100 *) (install-info --version) >/dev/null 2>&1;; \
101 esac
80am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;102am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
81am__vpath_adj = case $$p in \103am__vpath_adj = case $$p in \
82 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \104 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -107,17 +129,18 @@
107am__installdirs = "$(DESTDIR)$(datadir)"129am__installdirs = "$(DESTDIR)$(datadir)"
108DATA = $(nobase_data_DATA)130DATA = $(nobase_data_DATA)
109DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)131DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
110ACLOCAL = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run aclocal-1.11132ACLOCAL = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run aclocal-1.11
111ADMIN_MAN_DIR = $(mandir)/man$(ADMIN_MAN_SUFFIX)133ADMIN_MAN_DIR = $(mandir)/man$(ADMIN_MAN_SUFFIX)
112ADMIN_MAN_SUFFIX = 8134ADMIN_MAN_SUFFIX = 8
113AMTAR = $${TAR-tar}135AMTAR = $${TAR-tar}
114AM_DEFAULT_VERBOSITY = 0136AM_DEFAULT_VERBOSITY = 0
115APP_MAN_DIR = $(mandir)/man$(APP_MAN_SUFFIX)137APP_MAN_DIR = $(mandir)/man$(APP_MAN_SUFFIX)
116APP_MAN_SUFFIX = 1138APP_MAN_SUFFIX = 1
117AUTOCONF = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run autoconf139AUTOCONF = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run autoconf
118AUTOHEADER = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run autoheader140AUTOHEADER = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run autoheader
119AUTOMAKE = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run automake-1.11141AUTOMAKE = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run automake-1.11
120AWK = gawk142AWK = gawk
143BASE_CPPFLAGS = $(X11_CFLAGS) $(EVEMU_CFLAGS)
121BASE_CXXFLAGS = -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast144BASE_CXXFLAGS = -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
122CHANGELOG_CMD = (GIT_DIR=$(top_srcdir)/.git git log > $(top_srcdir)/.changelog.tmp && mv $(top_srcdir)/.changelog.tmp $(top_srcdir)/ChangeLog) || (rm -f $(top_srcdir)/.changelog.tmp; touch $(top_srcdir)/ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)145CHANGELOG_CMD = (GIT_DIR=$(top_srcdir)/.git git log > $(top_srcdir)/.changelog.tmp && mv $(top_srcdir)/.changelog.tmp $(top_srcdir)/ChangeLog) || (rm -f $(top_srcdir)/.changelog.tmp; touch $(top_srcdir)/ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
123CPPFLAGS = 146CPPFLAGS =
@@ -127,8 +150,9 @@
127CXXDEPMODE = depmode=gcc3150CXXDEPMODE = depmode=gcc3
128CXXFLAGS = -g -O2151CXXFLAGS = -g -O2
129CYGPATH_W = echo152CYGPATH_W = echo
130DEFS = -DPACKAGE_NAME=\"Dummy\ X.org\ Testing\ Environment\ for\ Google\ Test\" -DPACKAGE_TARNAME=\"xorg-gtest\" -DPACKAGE_VERSION=\"0.3.0\" -DPACKAGE_STRING=\"Dummy\ X.org\ Testing\ Environment\ for\ Google\ Test\ 0.3.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xorg-gtest\" -DVERSION=\"0.3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE_VERSION_MAJOR=0 -DPACKAGE_VERSION_MINOR=3 -DPACKAGE_VERSION_PATCHLEVEL=0 -DHAVE__USR_SRC_GTEST_SRC_GTEST_ALL_CC=1 -DHAVE__USR_SRC_GTEST_SRC_GTEST_MAIN_CC=1 -DHAVE_EVEMU=1153DEFS = -DPACKAGE_NAME=\"X.org\ Testing\ Environment\ for\ Google\ Test\" -DPACKAGE_TARNAME=\"xorg-gtest\" -DPACKAGE_VERSION=\"0.7.0\" -DPACKAGE_STRING=\"X.org\ Testing\ Environment\ for\ Google\ Test\ 0.7.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xorg-gtest\" -DVERSION=\"0.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE_VERSION_MAJOR=0 -DPACKAGE_VERSION_MINOR=7 -DPACKAGE_VERSION_PATCHLEVEL=0 -DLOGFILE_DIR=\"/tmp\" -DHAVE_EVEMU=1
131DEPDIR = .deps154DEPDIR = .deps
155DOXYGEN = /usr/bin/doxygen
132DRIVER_MAN_DIR = $(mandir)/man$(DRIVER_MAN_SUFFIX)156DRIVER_MAN_DIR = $(mandir)/man$(DRIVER_MAN_SUFFIX)
133DRIVER_MAN_SUFFIX = 4157DRIVER_MAN_SUFFIX = 4
134DUMMY_CONF_PATH = ${datarootdir}/xorg/gtest/dummy.conf158DUMMY_CONF_PATH = ${datarootdir}/xorg/gtest/dummy.conf
@@ -137,13 +161,11 @@
137ECHO_T = 161ECHO_T =
138EGREP = /bin/grep -E162EGREP = /bin/grep -E
139EVEMU_CFLAGS = 163EVEMU_CFLAGS =
140EVEMU_LIBS = -lutouch-evemu 164EVEMU_LIBS = -levemu
141EXEEXT = 165EXEEXT =
142FILE_MAN_DIR = $(mandir)/man$(FILE_MAN_SUFFIX)166FILE_MAN_DIR = $(mandir)/man$(FILE_MAN_SUFFIX)
143FILE_MAN_SUFFIX = 5167FILE_MAN_SUFFIX = 5
144GREP = /bin/grep168GREP = /bin/grep
145GTEST_CPPFLAGS = -I/usr/src/gtest
146GTEST_SOURCE = /usr/src/gtest
147INSTALL = /usr/bin/install -c169INSTALL = /usr/bin/install -c
148INSTALL_CMD = (cp -f /usr/share/util-macros/INSTALL $(top_srcdir)/.INSTALL.tmp && mv $(top_srcdir)/.INSTALL.tmp $(top_srcdir)/INSTALL) || (rm -f $(top_srcdir)/.INSTALL.tmp; touch $(top_srcdir)/INSTALL; echo 'util-macros "pkgdatadir" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)170INSTALL_CMD = (cp -f /usr/share/util-macros/INSTALL $(top_srcdir)/.INSTALL.tmp && mv $(top_srcdir)/.INSTALL.tmp $(top_srcdir)/INSTALL) || (rm -f $(top_srcdir)/.INSTALL.tmp; touch $(top_srcdir)/INSTALL; echo 'util-macros "pkgdatadir" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)
149INSTALL_DATA = ${INSTALL} -m 644171INSTALL_DATA = ${INSTALL} -m 644
@@ -155,9 +177,10 @@
155LIBS = 177LIBS =
156LIB_MAN_DIR = $(mandir)/man$(LIB_MAN_SUFFIX)178LIB_MAN_DIR = $(mandir)/man$(LIB_MAN_SUFFIX)
157LIB_MAN_SUFFIX = 3179LIB_MAN_SUFFIX = 3
180LOGFILE_DIR = /tmp
158LTLIBOBJS = 181LTLIBOBJS =
159MAINT = 182MAINT =
160MAKEINFO = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/missing --run makeinfo183MAKEINFO = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/missing --run makeinfo
161MAN_SUBSTS = -e 's|__vendorversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|' -e 's|__xorgversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|$(prefix)|g' -e 's|__apploaddir__|$(appdefaultdir)|g' -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'184MAN_SUBSTS = -e 's|__vendorversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|' -e 's|__xorgversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|$(prefix)|g' -e 's|__apploaddir__|$(appdefaultdir)|g' -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
162MISC_MAN_DIR = $(mandir)/man$(MISC_MAN_SUFFIX)185MISC_MAN_DIR = $(mandir)/man$(MISC_MAN_SUFFIX)
163MISC_MAN_SUFFIX = 7186MISC_MAN_SUFFIX = 7
@@ -165,11 +188,11 @@
165OBJEXT = o188OBJEXT = o
166PACKAGE = xorg-gtest189PACKAGE = xorg-gtest
167PACKAGE_BUGREPORT = 190PACKAGE_BUGREPORT =
168PACKAGE_NAME = Dummy X.org Testing Environment for Google Test191PACKAGE_NAME = X.org Testing Environment for Google Test
169PACKAGE_STRING = Dummy X.org Testing Environment for Google Test 0.3.0192PACKAGE_STRING = X.org Testing Environment for Google Test 0.7.0
170PACKAGE_TARNAME = xorg-gtest193PACKAGE_TARNAME = xorg-gtest
171PACKAGE_URL = 194PACKAGE_URL =
172PACKAGE_VERSION = 0.3.0195PACKAGE_VERSION = 0.7.0
173PATH_SEPARATOR = :196PATH_SEPARATOR = :
174PKG_CONFIG = /usr/bin/pkg-config197PKG_CONFIG = /usr/bin/pkg-config
175PKG_CONFIG_LIBDIR = 198PKG_CONFIG_LIBDIR =
@@ -181,15 +204,15 @@
181SOURCEDIR = ${prefix}/src/xorg-gtest204SOURCEDIR = ${prefix}/src/xorg-gtest
182STRICT_CXXFLAGS = -pedantic -Werror -Werror=attributes205STRICT_CXXFLAGS = -pedantic -Werror -Werror=attributes
183STRIP = 206STRIP =
184VERSION = 0.3.0207VERSION = 0.7.0
208X11_CFLAGS =
209X11_LIBS = -lX11 -lXi
185XORG_MALLOC_DEBUG_ENV = MALLOC_PERTURB_=15210XORG_MALLOC_DEBUG_ENV = MALLOC_PERTURB_=15
186XORG_MAN_PAGE = X Version 11211XORG_MAN_PAGE = X Version 11
187XSERVER_CFLAGS = 212abs_builddir = /home/stephenw/projects/xorg-gtest/xorg-gtest/data
188XSERVER_LIBS = -lX11 213abs_srcdir = /home/stephenw/projects/xorg-gtest/xorg-gtest/data
189abs_builddir = /home/cndougla/Canonical/upstream/xorg-gtest/data214abs_top_builddir = /home/stephenw/projects/xorg-gtest/xorg-gtest
190abs_srcdir = /home/cndougla/Canonical/upstream/xorg-gtest/data215abs_top_srcdir = /home/stephenw/projects/xorg-gtest/xorg-gtest
191abs_top_builddir = /home/cndougla/Canonical/upstream/xorg-gtest
192abs_top_srcdir = /home/cndougla/Canonical/upstream/xorg-gtest
193ac_ct_CXX = g++216ac_ct_CXX = g++
194am__include = include217am__include = include
195am__leading_dot = .218am__leading_dot = .
@@ -216,7 +239,7 @@
216htmldir = ${docdir}239htmldir = ${docdir}
217includedir = ${prefix}/include240includedir = ${prefix}/include
218infodir = ${datarootdir}/info241infodir = ${datarootdir}/info
219install_sh = ${SHELL} /home/cndougla/Canonical/upstream/xorg-gtest/install-sh242install_sh = ${SHELL} /home/stephenw/projects/xorg-gtest/xorg-gtest/install-sh
220libdir = ${exec_prefix}/lib243libdir = ${exec_prefix}/lib
221libexecdir = ${exec_prefix}/libexec244libexecdir = ${exec_prefix}/libexec
222localedir = ${datarootdir}/locale245localedir = ${datarootdir}/locale
@@ -225,7 +248,7 @@
225mkdir_p = /bin/mkdir -p248mkdir_p = /bin/mkdir -p
226oldincludedir = /usr/include249oldincludedir = /usr/include
227pdfdir = ${docdir}250pdfdir = ${docdir}
228prefix = /usr251prefix = /usr/local
229program_transform_name = s,x,x,252program_transform_name = s,x,x,
230psdir = ${docdir}253psdir = ${docdir}
231sbindir = ${exec_prefix}/sbin254sbindir = ${exec_prefix}/sbin
@@ -275,15 +298,18 @@
275$(am__aclocal_m4_deps):298$(am__aclocal_m4_deps):
276install-nobase_dataDATA: $(nobase_data_DATA)299install-nobase_dataDATA: $(nobase_data_DATA)
277 @$(NORMAL_INSTALL)300 @$(NORMAL_INSTALL)
278 test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
279 @list='$(nobase_data_DATA)'; test -n "$(datadir)" || list=; \301 @list='$(nobase_data_DATA)'; test -n "$(datadir)" || list=; \
302 if test -n "$$list"; then \
303 echo " $(MKDIR_P) '$(DESTDIR)$(datadir)'"; \
304 $(MKDIR_P) "$(DESTDIR)$(datadir)" || exit 1; \
305 fi; \
280 $(am__nobase_list) | while read dir files; do \306 $(am__nobase_list) | while read dir files; do \
281 xfiles=; for file in $$files; do \307 xfiles=; for file in $$files; do \
282 if test -f "$$file"; then xfiles="$$xfiles $$file"; \308 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
283 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \309 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
284 test -z "$$xfiles" || { \310 test -z "$$xfiles" || { \
285 test "x$$dir" = x. || { \311 test "x$$dir" = x. || { \
286 echo "$(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \312 echo " $(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \
287 $(MKDIR_P) "$(DESTDIR)$(datadir)/$$dir"; }; \313 $(MKDIR_P) "$(DESTDIR)$(datadir)/$$dir"; }; \
288 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(datadir)/$$dir'"; \314 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(datadir)/$$dir'"; \
289 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(datadir)/$$dir" || exit $$?; }; \315 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(datadir)/$$dir" || exit $$?; }; \
290316
=== modified file 'data/Makefile.in'
--- data/Makefile.in 2012-06-08 12:39:52 +0000
+++ data/Makefile.in 2013-01-21 00:48:20 +0000
@@ -1,4 +1,4 @@
1# Makefile.in generated by automake 1.11.3 from Makefile.am.1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -41,6 +41,23 @@
41#41#
4242
43VPATH = @srcdir@43VPATH = @srcdir@
44am__make_dryrun = \
45 { \
46 am__dry=no; \
47 case $$MAKEFLAGS in \
48 *\\[\ \ ]*) \
49 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
50 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
51 *) \
52 for am__flg in $$MAKEFLAGS; do \
53 case $$am__flg in \
54 *=*|--*) ;; \
55 *n*) am__dry=yes; break;; \
56 esac; \
57 done;; \
58 esac; \
59 test $$am__dry = yes; \
60 }
44pkgdatadir = $(datadir)/@PACKAGE@61pkgdatadir = $(datadir)/@PACKAGE@
45pkgincludedir = $(includedir)/@PACKAGE@62pkgincludedir = $(includedir)/@PACKAGE@
46pkglibdir = $(libdir)/@PACKAGE@63pkglibdir = $(libdir)/@PACKAGE@
@@ -62,7 +79,7 @@
62subdir = data79subdir = data
63DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in80DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
64ACLOCAL_M4 = $(top_srcdir)/aclocal.m481ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \82am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
66 $(top_srcdir)/configure.ac83 $(top_srcdir)/configure.ac
67am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \84am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
68 $(ACLOCAL_M4)85 $(ACLOCAL_M4)
@@ -77,6 +94,11 @@
77am__v_at_0 = @94am__v_at_0 = @
78SOURCES =95SOURCES =
79DIST_SOURCES =96DIST_SOURCES =
97am__can_run_installinfo = \
98 case $$AM_UPDATE_INFO_DIR in \
99 n|no|NO) false;; \
100 *) (install-info --version) >/dev/null 2>&1;; \
101 esac
80am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;102am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
81am__vpath_adj = case $$p in \103am__vpath_adj = case $$p in \
82 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \104 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -118,6 +140,7 @@
118AUTOHEADER = @AUTOHEADER@140AUTOHEADER = @AUTOHEADER@
119AUTOMAKE = @AUTOMAKE@141AUTOMAKE = @AUTOMAKE@
120AWK = @AWK@142AWK = @AWK@
143BASE_CPPFLAGS = @BASE_CPPFLAGS@
121BASE_CXXFLAGS = @BASE_CXXFLAGS@144BASE_CXXFLAGS = @BASE_CXXFLAGS@
122CHANGELOG_CMD = @CHANGELOG_CMD@145CHANGELOG_CMD = @CHANGELOG_CMD@
123CPPFLAGS = @CPPFLAGS@146CPPFLAGS = @CPPFLAGS@
@@ -129,6 +152,7 @@
129CYGPATH_W = @CYGPATH_W@152CYGPATH_W = @CYGPATH_W@
130DEFS = @DEFS@153DEFS = @DEFS@
131DEPDIR = @DEPDIR@154DEPDIR = @DEPDIR@
155DOXYGEN = @DOXYGEN@
132DRIVER_MAN_DIR = @DRIVER_MAN_DIR@156DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
133DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@157DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
134DUMMY_CONF_PATH = @DUMMY_CONF_PATH@158DUMMY_CONF_PATH = @DUMMY_CONF_PATH@
@@ -142,8 +166,6 @@
142FILE_MAN_DIR = @FILE_MAN_DIR@166FILE_MAN_DIR = @FILE_MAN_DIR@
143FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@167FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
144GREP = @GREP@168GREP = @GREP@
145GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
146GTEST_SOURCE = @GTEST_SOURCE@
147INSTALL = @INSTALL@169INSTALL = @INSTALL@
148INSTALL_CMD = @INSTALL_CMD@170INSTALL_CMD = @INSTALL_CMD@
149INSTALL_DATA = @INSTALL_DATA@171INSTALL_DATA = @INSTALL_DATA@
@@ -155,6 +177,7 @@
155LIBS = @LIBS@177LIBS = @LIBS@
156LIB_MAN_DIR = @LIB_MAN_DIR@178LIB_MAN_DIR = @LIB_MAN_DIR@
157LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@179LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
180LOGFILE_DIR = @LOGFILE_DIR@
158LTLIBOBJS = @LTLIBOBJS@181LTLIBOBJS = @LTLIBOBJS@
159MAINT = @MAINT@182MAINT = @MAINT@
160MAKEINFO = @MAKEINFO@183MAKEINFO = @MAKEINFO@
@@ -182,10 +205,10 @@
182STRICT_CXXFLAGS = @STRICT_CXXFLAGS@205STRICT_CXXFLAGS = @STRICT_CXXFLAGS@
183STRIP = @STRIP@206STRIP = @STRIP@
184VERSION = @VERSION@207VERSION = @VERSION@
208X11_CFLAGS = @X11_CFLAGS@
209X11_LIBS = @X11_LIBS@
185XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@210XORG_MALLOC_DEBUG_ENV = @XORG_MALLOC_DEBUG_ENV@
186XORG_MAN_PAGE = @XORG_MAN_PAGE@211XORG_MAN_PAGE = @XORG_MAN_PAGE@
187XSERVER_CFLAGS = @XSERVER_CFLAGS@
188XSERVER_LIBS = @XSERVER_LIBS@
189abs_builddir = @abs_builddir@212abs_builddir = @abs_builddir@
190abs_srcdir = @abs_srcdir@213abs_srcdir = @abs_srcdir@
191abs_top_builddir = @abs_top_builddir@214abs_top_builddir = @abs_top_builddir@
@@ -275,15 +298,18 @@
275$(am__aclocal_m4_deps):298$(am__aclocal_m4_deps):
276install-nobase_dataDATA: $(nobase_data_DATA)299install-nobase_dataDATA: $(nobase_data_DATA)
277 @$(NORMAL_INSTALL)300 @$(NORMAL_INSTALL)
278 test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
279 @list='$(nobase_data_DATA)'; test -n "$(datadir)" || list=; \301 @list='$(nobase_data_DATA)'; test -n "$(datadir)" || list=; \
302 if test -n "$$list"; then \
303 echo " $(MKDIR_P) '$(DESTDIR)$(datadir)'"; \
304 $(MKDIR_P) "$(DESTDIR)$(datadir)" || exit 1; \
305 fi; \
280 $(am__nobase_list) | while read dir files; do \306 $(am__nobase_list) | while read dir files; do \
281 xfiles=; for file in $$files; do \307 xfiles=; for file in $$files; do \
282 if test -f "$$file"; then xfiles="$$xfiles $$file"; \308 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
283 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \309 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
284 test -z "$$xfiles" || { \310 test -z "$$xfiles" || { \
285 test "x$$dir" = x. || { \311 test "x$$dir" = x. || { \
286 echo "$(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \312 echo " $(MKDIR_P) '$(DESTDIR)$(datadir)/$$dir'"; \
287 $(MKDIR_P) "$(DESTDIR)$(datadir)/$$dir"; }; \313 $(MKDIR_P) "$(DESTDIR)$(datadir)/$$dir"; }; \
288 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(datadir)/$$dir'"; \314 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(datadir)/$$dir'"; \
289 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(datadir)/$$dir" || exit $$?; }; \315 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(datadir)/$$dir" || exit $$?; }; \
290316
=== modified file 'debian/changelog'
--- debian/changelog 2012-08-22 11:18:40 +0000
+++ debian/changelog 2013-01-21 00:48:20 +0000
@@ -1,3 +1,14 @@
1xorg-gtest (0.7.0-0ubuntu1) UNRELEASED; urgency=low
2
3 * New upstream release (lp: #1100382).
4 * debian/control: added valgrind as a build dependency (for tests).
5 * debian/source/format: changed to 3.0 (quilt)
6 * fixed 'make check' target so it does not fail in Ubuntu
7 * debian/control (Standards-Version): updated to 3.9.4 (no changes required)
8 * debian/copyright: updated
9
10 -- Stephen M. Webb <stephen.webb@ubuntu.com> Fri, 18 Jan 2013 16:11:32 -0500
11
1xorg-gtest (0.3.0-0ubuntu2) quantal; urgency=low12xorg-gtest (0.3.0-0ubuntu2) quantal; urgency=low
213
3 * debian/control: Depends on xserver-xorg-video-dummy, it seems required14 * debian/control: Depends on xserver-xorg-video-dummy, it seems required
415
=== modified file 'debian/control'
--- debian/control 2012-08-22 11:18:40 +0000
+++ debian/control 2013-01-21 00:48:20 +0000
@@ -9,13 +9,14 @@
9 libgtest-dev,9 libgtest-dev,
10 libtool,10 libtool,
11 libx11-dev,11 libx11-dev,
12 libxi-dev,
12 pkg-config,13 pkg-config,
13 quilt,14 valgrind,
14 xserver-xorg-core,15 xserver-xorg-core,
15 xserver-xorg-dev,16 xserver-xorg-dev,
16 xserver-xorg-video-dummy,17 xserver-xorg-video-dummy,
17 xutils-dev (>= 1:7.7~1)18 xutils-dev (>= 1:7.7~1)
18Standards-Version: 3.9.319Standards-Version: 3.9.4
19Section: libs20Section: libs
20Vcs-Git: git://anongit.freedesktop.org/~cndougla/xorg-gtest21Vcs-Git: git://anongit.freedesktop.org/~cndougla/xorg-gtest
21Vcs-Browser: http://cgit.freedesktop.org/~cndougla/xorg-gtest22Vcs-Browser: http://cgit.freedesktop.org/~cndougla/xorg-gtest
@@ -25,8 +26,8 @@
25Architecture: all26Architecture: all
26Depends: libgtest-dev,27Depends: libgtest-dev,
27 libxorg-gtest-data (= ${source:Version}),28 libxorg-gtest-data (= ${source:Version}),
29 xserver-xorg-video-dummy,
28 xutils-dev (>= 1:7.7~1),30 xutils-dev (>= 1:7.7~1),
29 xserver-xorg-video-dummy,
30 ${misc:Depends}31 ${misc:Depends}
31Description: X.Org dummy testing environment for Google Test - headers32Description: X.Org dummy testing environment for Google Test - headers
32 Provides a Google Test environment for starting and stopping33 Provides a Google Test environment for starting and stopping
3334
=== modified file 'debian/copyright'
--- debian/copyright 2012-02-24 09:44:47 +0000
+++ debian/copyright 2013-01-21 00:48:20 +0000
@@ -1,9 +1,10 @@
1Format: http://dep.debian.net/deps/dep51Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
2Upstream-Name: xorg-gtest2Upstream-Name: xorg-gtest
3Source: http://cgit.freedesktop.org/xorg/test/xorg-gtest3Source: http://cgit.freedesktop.org/xorg/test/xorg-gtest
44
5Files: *5Files: *
6Copyright: 2011-2012 Canonical Ltd.6Copyright: 2011-2012 Canonical Ltd.
7 2012 Red Hat, Inc.
7License: GPL-3+8License: GPL-3+
8 This program is free software: you can redistribute it and/or modify9 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by10 it under the terms of the GNU General Public License as published by
@@ -18,3 +19,33 @@
18 On Debian systems, the full text of the GNU General Public19 On Debian systems, the full text of the GNU General Public
19 License version 3 can be found in the file20 License version 3 can be found in the file
20 `/usr/share/common-licenses/GPL-3'.21 `/usr/share/common-licenses/GPL-3'.
22
23Files: gtest/*
24Copyright: 2005-2008 Google Inc
25License: BSD-3-clause
26 Redistribution and use in source and binary forms, with or without
27 modification, are permitted provided that the following conditions are
28 met:
29 .
30 * Redistributions of source code must retain the above copyright
31 notice, this list of conditions and the following disclaimer.
32 * Redistributions in binary form must reproduce the above
33 copyright notice, this list of conditions and the following disclaimer
34 in the documentation and/or other materials provided with the
35 distribution.
36 * Neither the name of Google Inc. nor the names of its
37 contributors may be used to endorse or promote products derived from
38 this software without specific prior written permission.
39 .
40 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
41 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
42 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
43 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
44 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
45 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
46 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
47 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
48 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
49 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
50 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51
2152
=== modified file 'debian/libxorg-gtest-data.install'
--- debian/libxorg-gtest-data.install 2012-06-08 12:39:52 +0000
+++ debian/libxorg-gtest-data.install 2013-01-21 00:48:20 +0000
@@ -1,2 +1,2 @@
1usr/share/X11/xorg.conf.d/99-virtual-test-devices.conf
1usr/share/xorg/gtest2usr/share/xorg/gtest
2usr/share/X11/xorg.conf.d/99-virtual-test-devices.conf
33
=== modified file 'debian/libxorg-gtest-doc.install'
--- debian/libxorg-gtest-doc.install 2012-02-15 09:18:17 +0000
+++ debian/libxorg-gtest-doc.install 2013-01-21 00:48:20 +0000
@@ -1,2 +1,1 @@
1usr/share/doc1usr/share/doc
2usr/share/man
32
=== added file 'debian/patches/0001-fix-example-failures.patch'
--- debian/patches/0001-fix-example-failures.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/0001-fix-example-failures.patch 2013-01-21 00:48:20 +0000
@@ -0,0 +1,42 @@
1Description: Fix 'make check' failures on some hardware due to timing issues.
2Author: Stephen M. Webb <stephen.webb@canonical.com>
3--- a/examples/Makefile.am
4+++ b/examples/Makefile.am
5@@ -59,7 +59,10 @@
6 TESTS = $(noinst_PROGRAMS)
7 endif
8 xorg_gtest_example_SOURCES = xorg-gtest-example.cpp
9-xorg_gtest_example_CPPFLAGS = -I$(top_srcdir)/include $(AM_CPPFLAGS)
10+xorg_gtest_example_CPPFLAGS = \
11+ -I$(top_srcdir)/include \
12+ $(AM_CPPFLAGS) \
13+ -DDUMMY_CONF_PATH="\"$(abs_top_srcdir)/data/xorg/gtest/dummy.conf\""
14 xorg_gtest_example_LDADD = \
15 libgtest.a \
16 libxorg-gtest.a \
17--- a/examples/xorg-gtest-example.cpp
18+++ b/examples/xorg-gtest-example.cpp
19@@ -24,6 +24,7 @@
20 TEST(XServer, StartServer) {
21 XServer server;
22 server.SetOption("-logfile", LOGFILE_DIR "/xserver-startserver.log");
23+ server.SetOption("-config", DUMMY_CONF_PATH);
24 server.Start();
25
26 ASSERT_EQ(server.GetState(), Process::RUNNING);
27@@ -40,6 +41,7 @@
28 TEST(XServer, DisplayConnection) {
29 XServer server;
30 server.SetOption("-logfile", LOGFILE_DIR "/xserver-display-connection.log");
31+ server.SetOption("-config", DUMMY_CONF_PATH);
32 server.Start();
33
34 Display *dpy = XOpenDisplay(server.GetDisplayString().c_str());
35@@ -69,6 +71,7 @@
36 log << ".log";
37
38 server.SetOption("-logfile", log.str());
39+ server.SetOption("-config", DUMMY_CONF_PATH);
40 server.Start();
41
42 /* set up Display() */
043
=== added file 'debian/patches/0002-fix-valgrind-test-failure.patch'
--- debian/patches/0002-fix-valgrind-test-failure.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/0002-fix-valgrind-test-failure.patch 2013-01-21 00:48:20 +0000
@@ -0,0 +1,20 @@
1Description: Accommodate the situation in which valgrind is a wrapper script.
2Author: Stephen M. Webb <stephen.webb@canonical.com>
3--- a/test/process-test.cpp
4+++ b/test/process-test.cpp
5@@ -355,6 +355,15 @@
6 } while(strstr(buff, program_invocation_short_name));
7
8 const char * arg = buff + strlen(buff) + 1;
9+
10+ /* accommodate the case that valgrind has a shell script wrapper */
11+ if (0 == strcmp(buff, "/bin/sh")) {
12+ if (0 == strcmp(arg, "-e")) {
13+ arg += strlen(arg) + 1;
14+ }
15+ arg += strlen(arg) + 1;
16+ }
17+
18 std::vector<std::string>::const_iterator it = valgrind_args.begin();
19
20 it++; /* first one is "valgrind" */
021
=== modified file 'debian/patches/series'
--- debian/patches/series 2012-02-24 09:44:47 +0000
+++ debian/patches/series 2013-01-21 00:48:20 +0000
@@ -1,1 +1,3 @@
1# No patches1# No patches
20001-fix-example-failures.patch
30002-fix-valgrind-test-failure.patch
24
=== modified file 'debian/rules'
--- debian/rules 2012-03-19 18:39:04 +0000
+++ debian/rules 2013-01-21 00:48:20 +0000
@@ -4,7 +4,7 @@
4#export DH_VERBOSE=14#export DH_VERBOSE=1
55
6%:6%:
7 dh $@ --parallel --with quilt,autoreconf7 dh $@ --parallel --with autoreconf
88
9# Install xorg-gtest.pc file in architecture independent directory9# Install xorg-gtest.pc file in architecture independent directory
10override_dh_auto_configure:10override_dh_auto_configure:
@@ -14,4 +14,4 @@
14 dh_auto_build -- all doc14 dh_auto_build -- all doc
1515
16override_dh_install:16override_dh_install:
17 dh_install --fail-missing17 dh_install --fail-missing -Xjquery.js
1818
=== modified file 'debian/source/format'
--- debian/source/format 2012-02-15 09:18:17 +0000
+++ debian/source/format 2013-01-21 00:48:20 +0000
@@ -1,1 +1,1 @@
11.013.0 (quilt)
22
=== modified file 'depcomp'
--- depcomp 2012-02-15 09:18:17 +0000
+++ depcomp 2013-01-21 00:48:20 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# depcomp - compile a program generating dependencies as side-effects2# depcomp - compile a program generating dependencies as side-effects
33
4scriptversion=2011-12-04.11; # UTC4scriptversion=2012-03-27.16; # UTC
55
6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
7# 2011 Free Software Foundation, Inc.7# 2011, 2012 Free Software Foundation, Inc.
88
9# This program is free software; you can redistribute it and/or modify9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by10# it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
2828
29case $1 in29case $1 in
30 '')30 '')
31 echo "$0: No command. Try \`$0 --help' for more information." 1>&231 echo "$0: No command. Try '$0 --help' for more information." 1>&2
32 exit 1;32 exit 1;
33 ;;33 ;;
34 -h | --h*)34 -h | --h*)
@@ -40,8 +40,8 @@
4040
41Environment variables:41Environment variables:
42 depmode Dependency tracking mode.42 depmode Dependency tracking mode.
43 source Source file read by `PROGRAMS ARGS'.43 source Source file read by 'PROGRAMS ARGS'.
44 object Object file output by `PROGRAMS ARGS'.44 object Object file output by 'PROGRAMS ARGS'.
45 DEPDIR directory where to store dependencies.45 DEPDIR directory where to store dependencies.
46 depfile Dependency file to output.46 depfile Dependency file to output.
47 tmpdepfile Temporary file to use when outputting dependencies.47 tmpdepfile Temporary file to use when outputting dependencies.
@@ -57,6 +57,12 @@
57 ;;57 ;;
58esac58esac
5959
60# A tabulation character.
61tab=' '
62# A newline character.
63nl='
64'
65
60if test -z "$depmode" || test -z "$source" || test -z "$object"; then66if test -z "$depmode" || test -z "$source" || test -z "$object"; then
61 echo "depcomp: Variables source, object and depmode must be set" 1>&267 echo "depcomp: Variables source, object and depmode must be set" 1>&2
62 exit 168 exit 1
@@ -102,6 +108,12 @@
102 depmode=msvc7108 depmode=msvc7
103fi109fi
104110
111if test "$depmode" = xlc; then
112 # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
113 gccflag=-qmakedep=gcc,-MF
114 depmode=gcc
115fi
116
105case "$depmode" in117case "$depmode" in
106gcc3)118gcc3)
107## gcc 3 implements dependency tracking that does exactly what119## gcc 3 implements dependency tracking that does exactly what
@@ -156,15 +168,14 @@
156## The second -e expression handles DOS-style file names with drive letters.168## The second -e expression handles DOS-style file names with drive letters.
157 sed -e 's/^[^:]*: / /' \169 sed -e 's/^[^:]*: / /' \
158 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"170 -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
159## This next piece of magic avoids the `deleted header file' problem.171## This next piece of magic avoids the "deleted header file" problem.
160## The problem is that when a header file which appears in a .P file172## The problem is that when a header file which appears in a .P file
161## is deleted, the dependency causes make to die (because there is173## is deleted, the dependency causes make to die (because there is
162## typically no way to rebuild the header). We avoid this by adding174## typically no way to rebuild the header). We avoid this by adding
163## dummy dependencies for each header file. Too bad gcc doesn't do175## dummy dependencies for each header file. Too bad gcc doesn't do
164## this for us directly.176## this for us directly.
165 tr ' ' '177 tr ' ' "$nl" < "$tmpdepfile" |
166' < "$tmpdepfile" |178## Some versions of gcc put a space before the ':'. On the theory
167## Some versions of gcc put a space before the `:'. On the theory
168## that the space means something, we add a space to the output as179## that the space means something, we add a space to the output as
169## well. hp depmode also adds that space, but also prefixes the VPATH180## well. hp depmode also adds that space, but also prefixes the VPATH
170## to the object. Take care to not repeat it in the output.181## to the object. Take care to not repeat it in the output.
@@ -203,18 +214,15 @@
203 # clever and replace this with sed code, as IRIX sed won't handle214 # clever and replace this with sed code, as IRIX sed won't handle
204 # lines with more than a fixed number of characters (4096 in215 # lines with more than a fixed number of characters (4096 in
205 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;216 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
206 # the IRIX cc adds comments like `#:fec' to the end of the217 # the IRIX cc adds comments like '#:fec' to the end of the
207 # dependency line.218 # dependency line.
208 tr ' ' '219 tr ' ' "$nl" < "$tmpdepfile" \
209' < "$tmpdepfile" \
210 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \220 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
211 tr '221 tr "$nl" ' ' >> "$depfile"
212' ' ' >> "$depfile"
213 echo >> "$depfile"222 echo >> "$depfile"
214223
215 # The second pass generates a dummy entry for each header file.224 # The second pass generates a dummy entry for each header file.
216 tr ' ' '225 tr ' ' "$nl" < "$tmpdepfile" \
217' < "$tmpdepfile" \
218 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \226 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
219 >> "$depfile"227 >> "$depfile"
220 else228 else
@@ -226,10 +234,17 @@
226 rm -f "$tmpdepfile"234 rm -f "$tmpdepfile"
227 ;;235 ;;
228236
237xlc)
238 # This case exists only to let depend.m4 do its work. It works by
239 # looking at the text of this script. This case will never be run,
240 # since it is checked for above.
241 exit 1
242 ;;
243
229aix)244aix)
230 # The C for AIX Compiler uses -M and outputs the dependencies245 # The C for AIX Compiler uses -M and outputs the dependencies
231 # in a .u file. In older versions, this file always lives in the246 # in a .u file. In older versions, this file always lives in the
232 # current directory. Also, the AIX compiler puts `$object:' at the247 # current directory. Also, the AIX compiler puts '$object:' at the
233 # start of each line; $object doesn't have directory information.248 # start of each line; $object doesn't have directory information.
234 # Version 6 uses the directory in both cases.249 # Version 6 uses the directory in both cases.
235 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`250 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
@@ -259,12 +274,11 @@
259 test -f "$tmpdepfile" && break274 test -f "$tmpdepfile" && break
260 done275 done
261 if test -f "$tmpdepfile"; then276 if test -f "$tmpdepfile"; then
262 # Each line is of the form `foo.o: dependent.h'.277 # Each line is of the form 'foo.o: dependent.h'.
263 # Do two passes, one to just change these to278 # Do two passes, one to just change these to
264 # `$object: dependent.h' and one to simply `dependent.h:'.279 # '$object: dependent.h' and one to simply 'dependent.h:'.
265 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"280 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
266 # That's a tab and a space in the [].281 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
267 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
268 else282 else
269 # The sourcefile does not contain any dependencies, so just283 # The sourcefile does not contain any dependencies, so just
270 # store a dummy comment line, to avoid errors with the Makefile284 # store a dummy comment line, to avoid errors with the Makefile
@@ -275,23 +289,26 @@
275 ;;289 ;;
276290
277icc)291icc)
278 # Intel's C compiler understands `-MD -MF file'. However on292 # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
279 # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c293 # However on
294 # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
280 # ICC 7.0 will fill foo.d with something like295 # ICC 7.0 will fill foo.d with something like
281 # foo.o: sub/foo.c296 # foo.o: sub/foo.c
282 # foo.o: sub/foo.h297 # foo.o: sub/foo.h
283 # which is wrong. We want:298 # which is wrong. We want
284 # sub/foo.o: sub/foo.c299 # sub/foo.o: sub/foo.c
285 # sub/foo.o: sub/foo.h300 # sub/foo.o: sub/foo.h
286 # sub/foo.c:301 # sub/foo.c:
287 # sub/foo.h:302 # sub/foo.h:
288 # ICC 7.1 will output303 # ICC 7.1 will output
289 # foo.o: sub/foo.c sub/foo.h304 # foo.o: sub/foo.c sub/foo.h
290 # and will wrap long lines using \ :305 # and will wrap long lines using '\':
291 # foo.o: sub/foo.c ... \306 # foo.o: sub/foo.c ... \
292 # sub/foo.h ... \307 # sub/foo.h ... \
293 # ...308 # ...
294309 # tcc 0.9.26 (FIXME still under development at the moment of writing)
310 # will emit a similar output, but also prepend the continuation lines
311 # with horizontal tabulation characters.
295 "$@" -MD -MF "$tmpdepfile"312 "$@" -MD -MF "$tmpdepfile"
296 stat=$?313 stat=$?
297 if test $stat -eq 0; then :314 if test $stat -eq 0; then :
@@ -300,15 +317,21 @@
300 exit $stat317 exit $stat
301 fi318 fi
302 rm -f "$depfile"319 rm -f "$depfile"
303 # Each line is of the form `foo.o: dependent.h',320 # Each line is of the form 'foo.o: dependent.h',
304 # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.321 # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
305 # Do two passes, one to just change these to322 # Do two passes, one to just change these to
306 # `$object: dependent.h' and one to simply `dependent.h:'.323 # '$object: dependent.h' and one to simply 'dependent.h:'.
307 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"324 sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \
308 # Some versions of the HPUX 10.20 sed can't process this invocation325 < "$tmpdepfile" > "$depfile"
309 # correctly. Breaking it into two sed invocations is a workaround.326 sed '
310 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |327 s/[ '"$tab"'][ '"$tab"']*/ /g
311 sed -e 's/$/ :/' >> "$depfile"328 s/^ *//
329 s/ *\\*$//
330 s/^[^:]*: *//
331 /^$/d
332 /:$/d
333 s/$/ :/
334 ' < "$tmpdepfile" >> "$depfile"
312 rm -f "$tmpdepfile"335 rm -f "$tmpdepfile"
313 ;;336 ;;
314337
@@ -344,7 +367,7 @@
344 done367 done
345 if test -f "$tmpdepfile"; then368 if test -f "$tmpdepfile"; then
346 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"369 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
347 # Add `dependent.h:' lines.370 # Add 'dependent.h:' lines.
348 sed -ne '2,${371 sed -ne '2,${
349 s/^ *//372 s/^ *//
350 s/ \\*$//373 s/ \\*$//
@@ -359,9 +382,9 @@
359382
360tru64)383tru64)
361 # The Tru64 compiler uses -MD to generate dependencies as a side384 # The Tru64 compiler uses -MD to generate dependencies as a side
362 # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.385 # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
363 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put386 # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
364 # dependencies in `foo.d' instead, so we check for that too.387 # dependencies in 'foo.d' instead, so we check for that too.
365 # Subdirectories are respected.388 # Subdirectories are respected.
366 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`389 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
367 test "x$dir" = "x$object" && dir=390 test "x$dir" = "x$object" && dir=
@@ -407,8 +430,7 @@
407 done430 done
408 if test -f "$tmpdepfile"; then431 if test -f "$tmpdepfile"; then
409 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"432 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
410 # That's a tab and a space in the [].433 sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
411 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
412 else434 else
413 echo "#dummy" > "$depfile"435 echo "#dummy" > "$depfile"
414 fi436 fi
@@ -443,11 +465,11 @@
443 p465 p
444}' | $cygpath_u | sort -u | sed -n '466}' | $cygpath_u | sort -u | sed -n '
445s/ /\\ /g467s/ /\\ /g
446s/\(.*\)/ \1 \\/p468s/\(.*\)/'"$tab"'\1 \\/p
447s/.\(.*\) \\/\1:/469s/.\(.*\) \\/\1:/
448H470H
449$ {471$ {
450 s/.*/ /472 s/.*/'"$tab"'/
451 G473 G
452 p474 p
453}' >> "$depfile"475}' >> "$depfile"
@@ -478,7 +500,7 @@
478 shift500 shift
479 fi501 fi
480502
481 # Remove `-o $object'.503 # Remove '-o $object'.
482 IFS=" "504 IFS=" "
483 for arg505 for arg
484 do506 do
@@ -498,15 +520,14 @@
498 done520 done
499521
500 test -z "$dashmflag" && dashmflag=-M522 test -z "$dashmflag" && dashmflag=-M
501 # Require at least two characters before searching for `:'523 # Require at least two characters before searching for ':'
502 # in the target name. This is to cope with DOS-style filenames:524 # in the target name. This is to cope with DOS-style filenames:
503 # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.525 # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
504 "$@" $dashmflag |526 "$@" $dashmflag |
505 sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"527 sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
506 rm -f "$depfile"528 rm -f "$depfile"
507 cat < "$tmpdepfile" > "$depfile"529 cat < "$tmpdepfile" > "$depfile"
508 tr ' ' '530 tr ' ' "$nl" < "$tmpdepfile" | \
509' < "$tmpdepfile" | \
510## Some versions of the HPUX 10.20 sed can't process this invocation531## Some versions of the HPUX 10.20 sed can't process this invocation
511## correctly. Breaking it into two sed invocations is a workaround.532## correctly. Breaking it into two sed invocations is a workaround.
512 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"533 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
@@ -562,8 +583,7 @@
562 # makedepend may prepend the VPATH from the source file name to the object.583 # makedepend may prepend the VPATH from the source file name to the object.
563 # No need to regex-escape $object, excess matching of '.' is harmless.584 # No need to regex-escape $object, excess matching of '.' is harmless.
564 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"585 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
565 sed '1,2d' "$tmpdepfile" | tr ' ' '586 sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
566' | \
567## Some versions of the HPUX 10.20 sed can't process this invocation587## Some versions of the HPUX 10.20 sed can't process this invocation
568## correctly. Breaking it into two sed invocations is a workaround.588## correctly. Breaking it into two sed invocations is a workaround.
569 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"589 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
@@ -583,7 +603,7 @@
583 shift603 shift
584 fi604 fi
585605
586 # Remove `-o $object'.606 # Remove '-o $object'.
587 IFS=" "607 IFS=" "
588 for arg608 for arg
589 do609 do
@@ -652,8 +672,8 @@
652 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"672 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
653 rm -f "$depfile"673 rm -f "$depfile"
654 echo "$object : \\" > "$depfile"674 echo "$object : \\" > "$depfile"
655 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"675 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
656 echo " " >> "$depfile"676 echo "$tab" >> "$depfile"
657 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"677 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
658 rm -f "$tmpdepfile"678 rm -f "$tmpdepfile"
659 ;;679 ;;
660680
=== removed file 'doc/Doxyfile'
--- doc/Doxyfile 2012-02-15 09:18:17 +0000
+++ doc/Doxyfile 1970-01-01 00:00:00 +0000
@@ -1,1720 +0,0 @@
1# Doxyfile 1.7.3
2
3# This file describes the settings to be used by the documentation system
4# doxygen (www.doxygen.org) for a project
5#
6# All text after a hash (#) is considered a comment and will be ignored
7# The format is:
8# TAG = value [value, ...]
9# For lists items can also be appended using:
10# TAG += value [value, ...]
11# Values that contain spaces should be placed between quotes (" ")
12
13#---------------------------------------------------------------------------
14# Project related configuration options
15#---------------------------------------------------------------------------
16
17# This tag specifies the encoding used for all characters in the config file
18# that follow. The default is UTF-8 which is also the encoding used for all
19# text before the first occurrence of this tag. Doxygen uses libiconv (or the
20# iconv built into libc) for the transcoding. See
21# http://www.gnu.org/software/libiconv for the list of possible encodings.
22
23DOXYFILE_ENCODING = UTF-8
24
25# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
26# by quotes) that should identify the project.
27
28PROJECT_NAME = xorg-gtest
29
30# The PROJECT_NUMBER tag can be used to enter a project or revision number.
31# This could be handy for archiving the generated documentation or
32# if some version control system is used.
33
34PROJECT_NUMBER = 0.1
35
36# Using the PROJECT_BRIEF tag one can provide an optional one line description
37# for a project that appears at the top of each page and should give viewer
38# a quick idea about the purpose of the project. Keep the description short.
39
40PROJECT_BRIEF = "Xorg testing extension to Google Test"
41
42# With the PROJECT_LOGO tag one can specify an logo or icon that is
43# included in the documentation. The maximum height of the logo should not
44# exceed 55 pixels and the maximum width should not exceed 200 pixels.
45# Doxygen will copy the logo to the output directory.
46
47PROJECT_LOGO =
48
49# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
50# base path where the generated documentation will be put.
51# If a relative path is entered, it will be relative to the location
52# where doxygen was started. If left blank the current directory will be used.
53
54OUTPUT_DIRECTORY = api
55
56# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
57# 4096 sub-directories (in 2 levels) under the output directory of each output
58# format and will distribute the generated files over these directories.
59# Enabling this option can be useful when feeding doxygen a huge amount of
60# source files, where putting all generated files in the same directory would
61# otherwise cause performance problems for the file system.
62
63CREATE_SUBDIRS = NO
64
65# The OUTPUT_LANGUAGE tag is used to specify the language in which all
66# documentation generated by doxygen is written. Doxygen will use this
67# information to generate all constant output in the proper language.
68# The default language is English, other supported languages are:
69# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
70# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
71# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
72# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
73# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak,
74# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
75
76OUTPUT_LANGUAGE = English
77
78# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
79# include brief member descriptions after the members that are listed in
80# the file and class documentation (similar to JavaDoc).
81# Set to NO to disable this.
82
83BRIEF_MEMBER_DESC = YES
84
85# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
86# the brief description of a member or function before the detailed description.
87# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
88# brief descriptions will be completely suppressed.
89
90REPEAT_BRIEF = YES
91
92# This tag implements a quasi-intelligent brief description abbreviator
93# that is used to form the text in various listings. Each string
94# in this list, if found as the leading text of the brief description, will be
95# stripped from the text and the result after processing the whole list, is
96# used as the annotated text. Otherwise, the brief description is used as-is.
97# If left blank, the following values are used ("$name" is automatically
98# replaced with the name of the entity): "The $name class" "The $name widget"
99# "The $name file" "is" "provides" "specifies" "contains"
100# "represents" "a" "an" "the"
101
102ABBREVIATE_BRIEF = "The $name class" \
103 "The $name widget" \
104 "The $name file" \
105 is \
106 provides \
107 specifies \
108 contains \
109 represents \
110 a \
111 an \
112 the
113
114# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
115# Doxygen will generate a detailed section even if there is only a brief
116# description.
117
118ALWAYS_DETAILED_SEC = YES
119
120# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
121# inherited members of a class in the documentation of that class as if those
122# members were ordinary class members. Constructors, destructors and assignment
123# operators of the base classes will not be shown.
124
125INLINE_INHERITED_MEMB = NO
126
127# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
128# path before files name in the file list and in the header files. If set
129# to NO the shortest path that makes the file name unique will be used.
130
131FULL_PATH_NAMES = YES
132
133# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
134# can be used to strip a user-defined part of the path. Stripping is
135# only done if one of the specified strings matches the left-hand part of
136# the path. The tag can be used to show relative paths in the file list.
137# If left blank the directory from which doxygen is run is used as the
138# path to strip.
139
140STRIP_FROM_PATH =
141
142# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
143# the path mentioned in the documentation of a class, which tells
144# the reader which header file to include in order to use a class.
145# If left blank only the name of the header file containing the class
146# definition is used. Otherwise one should specify the include paths that
147# are normally passed to the compiler using the -I flag.
148
149STRIP_FROM_INC_PATH =
150
151# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
152# (but less readable) file names. This can be useful if your file system
153# doesn't support long names like on DOS, Mac, or CD-ROM.
154
155SHORT_NAMES = NO
156
157# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
158# will interpret the first line (until the first dot) of a JavaDoc-style
159# comment as the brief description. If set to NO, the JavaDoc
160# comments will behave just like regular Qt-style comments
161# (thus requiring an explicit @brief command for a brief description.)
162
163JAVADOC_AUTOBRIEF = YES
164
165# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
166# interpret the first line (until the first dot) of a Qt-style
167# comment as the brief description. If set to NO, the comments
168# will behave just like regular Qt-style comments (thus requiring
169# an explicit \brief command for a brief description.)
170
171QT_AUTOBRIEF = NO
172
173# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
174# treat a multi-line C++ special comment block (i.e. a block of //! or ///
175# comments) as a brief description. This used to be the default behaviour.
176# The new default is to treat a multi-line C++ comment block as a detailed
177# description. Set this tag to YES if you prefer the old behaviour instead.
178
179MULTILINE_CPP_IS_BRIEF = NO
180
181# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
182# member inherits the documentation from any documented member that it
183# re-implements.
184
185INHERIT_DOCS = YES
186
187# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
188# a new page for each member. If set to NO, the documentation of a member will
189# be part of the file/class/namespace that contains it.
190
191SEPARATE_MEMBER_PAGES = NO
192
193# The TAB_SIZE tag can be used to set the number of spaces in a tab.
194# Doxygen uses this value to replace tabs by spaces in code fragments.
195
196TAB_SIZE = 8
197
198# This tag can be used to specify a number of aliases that acts
199# as commands in the documentation. An alias has the form "name=value".
200# For example adding "sideeffect=\par Side Effects:\n" will allow you to
201# put the command \sideeffect (or @sideeffect) in the documentation, which
202# will result in a user-defined paragraph with heading "Side Effects:".
203# You can put \n's in the value part of an alias to insert newlines.
204
205ALIASES =
206
207# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
208# sources only. Doxygen will then generate output that is more tailored for C.
209# For instance, some of the names that are used will be different. The list
210# of all members will be omitted, etc.
211
212OPTIMIZE_OUTPUT_FOR_C = NO
213
214# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
215# sources only. Doxygen will then generate output that is more tailored for
216# Java. For instance, namespaces will be presented as packages, qualified
217# scopes will look different, etc.
218
219OPTIMIZE_OUTPUT_JAVA = NO
220
221# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
222# sources only. Doxygen will then generate output that is more tailored for
223# Fortran.
224
225OPTIMIZE_FOR_FORTRAN = NO
226
227# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
228# sources. Doxygen will then generate output that is tailored for
229# VHDL.
230
231OPTIMIZE_OUTPUT_VHDL = NO
232
233# Doxygen selects the parser to use depending on the extension of the files it
234# parses. With this tag you can assign which parser to use for a given extension.
235# Doxygen has a built-in mapping, but you can override or extend it using this
236# tag. The format is ext=language, where ext is a file extension, and language
237# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C,
238# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make
239# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
240# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
241# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
242
243EXTENSION_MAPPING =
244
245# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
246# to include (a tag file for) the STL sources as input, then you should
247# set this tag to YES in order to let doxygen match functions declarations and
248# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
249# func(std::string) {}). This also makes the inheritance and collaboration
250# diagrams that involve STL classes more complete and accurate.
251
252BUILTIN_STL_SUPPORT = NO
253
254# If you use Microsoft's C++/CLI language, you should set this option to YES to
255# enable parsing support.
256
257CPP_CLI_SUPPORT = NO
258
259# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
260# Doxygen will parse them like normal C++ but will assume all classes use public
261# instead of private inheritance when no explicit protection keyword is present.
262
263SIP_SUPPORT = NO
264
265# For Microsoft's IDL there are propget and propput attributes to indicate getter
266# and setter methods for a property. Setting this option to YES (the default)
267# will make doxygen replace the get and set methods by a property in the
268# documentation. This will only work if the methods are indeed getting or
269# setting a simple type. If this is not the case, or you want to show the
270# methods anyway, you should set this option to NO.
271
272IDL_PROPERTY_SUPPORT = YES
273
274# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
275# tag is set to YES, then doxygen will reuse the documentation of the first
276# member in the group (if any) for the other members of the group. By default
277# all members of a group must be documented explicitly.
278
279DISTRIBUTE_GROUP_DOC = NO
280
281# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
282# the same type (for instance a group of public functions) to be put as a
283# subgroup of that type (e.g. under the Public Functions section). Set it to
284# NO to prevent subgrouping. Alternatively, this can be done per class using
285# the \nosubgrouping command.
286
287SUBGROUPING = YES
288
289# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
290# is documented as struct, union, or enum with the name of the typedef. So
291# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
292# with name TypeT. When disabled the typedef will appear as a member of a file,
293# namespace, or class. And the struct will be named TypeS. This can typically
294# be useful for C code in case the coding convention dictates that all compound
295# types are typedef'ed and only the typedef is referenced, never the tag name.
296
297TYPEDEF_HIDES_STRUCT = NO
298
299# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
300# determine which symbols to keep in memory and which to flush to disk.
301# When the cache is full, less often used symbols will be written to disk.
302# For small to medium size projects (<1000 input files) the default value is
303# probably good enough. For larger projects a too small cache size can cause
304# doxygen to be busy swapping symbols to and from disk most of the time
305# causing a significant performance penalty.
306# If the system has enough physical memory increasing the cache will improve the
307# performance by keeping more symbols in memory. Note that the value works on
308# a logarithmic scale so increasing the size by one will roughly double the
309# memory usage. The cache size is given by this formula:
310# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
311# corresponding to a cache size of 2^16 = 65536 symbols
312
313SYMBOL_CACHE_SIZE = 0
314
315#---------------------------------------------------------------------------
316# Build related configuration options
317#---------------------------------------------------------------------------
318
319# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
320# documentation are documented, even if no documentation was available.
321# Private class members and static file members will be hidden unless
322# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
323
324EXTRACT_ALL = NO
325
326# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
327# will be included in the documentation.
328
329EXTRACT_PRIVATE = NO
330
331# If the EXTRACT_STATIC tag is set to YES all static members of a file
332# will be included in the documentation.
333
334EXTRACT_STATIC = NO
335
336# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
337# defined locally in source files will be included in the documentation.
338# If set to NO only classes defined in header files are included.
339
340EXTRACT_LOCAL_CLASSES = YES
341
342# This flag is only useful for Objective-C code. When set to YES local
343# methods, which are defined in the implementation section but not in
344# the interface are included in the documentation.
345# If set to NO (the default) only methods in the interface are included.
346
347EXTRACT_LOCAL_METHODS = NO
348
349# If this flag is set to YES, the members of anonymous namespaces will be
350# extracted and appear in the documentation as a namespace called
351# 'anonymous_namespace{file}', where file will be replaced with the base
352# name of the file that contains the anonymous namespace. By default
353# anonymous namespaces are hidden.
354
355EXTRACT_ANON_NSPACES = NO
356
357# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
358# undocumented members of documented classes, files or namespaces.
359# If set to NO (the default) these members will be included in the
360# various overviews, but no documentation section is generated.
361# This option has no effect if EXTRACT_ALL is enabled.
362
363HIDE_UNDOC_MEMBERS = NO
364
365# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
366# undocumented classes that are normally visible in the class hierarchy.
367# If set to NO (the default) these classes will be included in the various
368# overviews. This option has no effect if EXTRACT_ALL is enabled.
369
370HIDE_UNDOC_CLASSES = NO
371
372# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
373# friend (class|struct|union) declarations.
374# If set to NO (the default) these declarations will be included in the
375# documentation.
376
377HIDE_FRIEND_COMPOUNDS = NO
378
379# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
380# documentation blocks found inside the body of a function.
381# If set to NO (the default) these blocks will be appended to the
382# function's detailed documentation block.
383
384HIDE_IN_BODY_DOCS = NO
385
386# The INTERNAL_DOCS tag determines if documentation
387# that is typed after a \internal command is included. If the tag is set
388# to NO (the default) then the documentation will be excluded.
389# Set it to YES to include the internal documentation.
390
391INTERNAL_DOCS = NO
392
393# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
394# file names in lower-case letters. If set to YES upper-case letters are also
395# allowed. This is useful if you have classes or files whose names only differ
396# in case and if your file system supports case sensitive file names. Windows
397# and Mac users are advised to set this option to NO.
398
399CASE_SENSE_NAMES = NO
400
401# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
402# will show members with their full class and namespace scopes in the
403# documentation. If set to YES the scope will be hidden.
404
405HIDE_SCOPE_NAMES = NO
406
407# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
408# will put a list of the files that are included by a file in the documentation
409# of that file.
410
411SHOW_INCLUDE_FILES = YES
412
413# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
414# will list include files with double quotes in the documentation
415# rather than with sharp brackets.
416
417FORCE_LOCAL_INCLUDES = NO
418
419# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
420# is inserted in the documentation for inline members.
421
422INLINE_INFO = YES
423
424# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
425# will sort the (detailed) documentation of file and class members
426# alphabetically by member name. If set to NO the members will appear in
427# declaration order.
428
429SORT_MEMBER_DOCS = YES
430
431# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
432# brief documentation of file, namespace and class members alphabetically
433# by member name. If set to NO (the default) the members will appear in
434# declaration order.
435
436SORT_BRIEF_DOCS = NO
437
438# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen
439# will sort the (brief and detailed) documentation of class members so that
440# constructors and destructors are listed first. If set to NO (the default)
441# the constructors will appear in the respective orders defined by
442# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS.
443# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO
444# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
445
446SORT_MEMBERS_CTORS_1ST = NO
447
448# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
449# hierarchy of group names into alphabetical order. If set to NO (the default)
450# the group names will appear in their defined order.
451
452SORT_GROUP_NAMES = NO
453
454# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
455# sorted by fully-qualified names, including namespaces. If set to
456# NO (the default), the class list will be sorted only by class name,
457# not including the namespace part.
458# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
459# Note: This option applies only to the class list, not to the
460# alphabetical list.
461
462SORT_BY_SCOPE_NAME = NO
463
464# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to
465# do proper type resolution of all parameters of a function it will reject a
466# match between the prototype and the implementation of a member function even
467# if there is only one candidate or it is obvious which candidate to choose
468# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen
469# will still accept a match between prototype and implementation in such cases.
470
471STRICT_PROTO_MATCHING = NO
472
473# The GENERATE_TODOLIST tag can be used to enable (YES) or
474# disable (NO) the todo list. This list is created by putting \todo
475# commands in the documentation.
476
477GENERATE_TODOLIST = YES
478
479# The GENERATE_TESTLIST tag can be used to enable (YES) or
480# disable (NO) the test list. This list is created by putting \test
481# commands in the documentation.
482
483GENERATE_TESTLIST = YES
484
485# The GENERATE_BUGLIST tag can be used to enable (YES) or
486# disable (NO) the bug list. This list is created by putting \bug
487# commands in the documentation.
488
489GENERATE_BUGLIST = YES
490
491# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
492# disable (NO) the deprecated list. This list is created by putting
493# \deprecated commands in the documentation.
494
495GENERATE_DEPRECATEDLIST= YES
496
497# The ENABLED_SECTIONS tag can be used to enable conditional
498# documentation sections, marked by \if sectionname ... \endif.
499
500ENABLED_SECTIONS =
501
502# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
503# the initial value of a variable or macro consists of for it to appear in
504# the documentation. If the initializer consists of more lines than specified
505# here it will be hidden. Use a value of 0 to hide initializers completely.
506# The appearance of the initializer of individual variables and macros in the
507# documentation can be controlled using \showinitializer or \hideinitializer
508# command in the documentation regardless of this setting.
509
510MAX_INITIALIZER_LINES = 0
511
512# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
513# at the bottom of the documentation of classes and structs. If set to YES the
514# list will mention the files that were used to generate the documentation.
515
516SHOW_USED_FILES = YES
517
518# If the sources in your project are distributed over multiple directories
519# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
520# in the documentation. The default is NO.
521
522SHOW_DIRECTORIES = NO
523
524# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
525# This will remove the Files entry from the Quick Index and from the
526# Folder Tree View (if specified). The default is YES.
527
528SHOW_FILES = YES
529
530# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
531# Namespaces page. This will remove the Namespaces entry from the Quick Index
532# and from the Folder Tree View (if specified). The default is YES.
533
534SHOW_NAMESPACES = YES
535
536# The FILE_VERSION_FILTER tag can be used to specify a program or script that
537# doxygen should invoke to get the current version for each file (typically from
538# the version control system). Doxygen will invoke the program by executing (via
539# popen()) the command <command> <input-file>, where <command> is the value of
540# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
541# provided by doxygen. Whatever the program writes to standard output
542# is used as the file version. See the manual for examples.
543
544FILE_VERSION_FILTER =
545
546# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
547# by doxygen. The layout file controls the global structure of the generated
548# output files in an output format independent way. The create the layout file
549# that represents doxygen's defaults, run doxygen with the -l option.
550# You can optionally specify a file name after the option, if omitted
551# DoxygenLayout.xml will be used as the name of the layout file.
552
553LAYOUT_FILE =
554
555#---------------------------------------------------------------------------
556# configuration options related to warning and progress messages
557#---------------------------------------------------------------------------
558
559# The QUIET tag can be used to turn on/off the messages that are generated
560# by doxygen. Possible values are YES and NO. If left blank NO is used.
561
562QUIET = NO
563
564# The WARNINGS tag can be used to turn on/off the warning messages that are
565# generated by doxygen. Possible values are YES and NO. If left blank
566# NO is used.
567
568WARNINGS = YES
569
570# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
571# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
572# automatically be disabled.
573
574WARN_IF_UNDOCUMENTED = YES
575
576# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
577# potential errors in the documentation, such as not documenting some
578# parameters in a documented function, or documenting parameters that
579# don't exist or using markup commands wrongly.
580
581WARN_IF_DOC_ERROR = YES
582
583# The WARN_NO_PARAMDOC option can be enabled to get warnings for
584# functions that are documented, but have no documentation for their parameters
585# or return value. If set to NO (the default) doxygen will only warn about
586# wrong or incomplete parameter documentation, but not about the absence of
587# documentation.
588
589WARN_NO_PARAMDOC = NO
590
591# The WARN_FORMAT tag determines the format of the warning messages that
592# doxygen can produce. The string should contain the $file, $line, and $text
593# tags, which will be replaced by the file and line number from which the
594# warning originated and the warning text. Optionally the format may contain
595# $version, which will be replaced by the version of the file (if it could
596# be obtained via FILE_VERSION_FILTER)
597
598WARN_FORMAT = "$file:$line: $text"
599
600# The WARN_LOGFILE tag can be used to specify a file to which warning
601# and error messages should be written. If left blank the output is written
602# to stderr.
603
604WARN_LOGFILE =
605
606#---------------------------------------------------------------------------
607# configuration options related to the input files
608#---------------------------------------------------------------------------
609
610# The INPUT tag can be used to specify the files and/or directories that contain
611# documented source files. You may enter file names like "myfile.cpp" or
612# directories like "/usr/src/myproject". Separate the files or directories
613# with spaces.
614
615INPUT = ../include \
616 ../examples
617
618# This tag can be used to specify the character encoding of the source files
619# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
620# also the default input encoding. Doxygen uses libiconv (or the iconv built
621# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
622# the list of possible encodings.
623
624INPUT_ENCODING = UTF-8
625
626# If the value of the INPUT tag contains directories, you can use the
627# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
628# and *.h) to filter out the source-files in the directories. If left
629# blank the following patterns are tested:
630# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
631# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py
632# *.f90 *.f *.for *.vhd *.vhdl
633
634FILE_PATTERNS = *.c \
635 *.cc \
636 *.cxx \
637 *.cpp \
638 *.c++ \
639 *.d \
640 *.java \
641 *.ii \
642 *.ixx \
643 *.ipp \
644 *.i++ \
645 *.inl \
646 *.h \
647 *.hh \
648 *.hxx \
649 *.hpp \
650 *.h++ \
651 *.idl \
652 *.odl \
653 *.cs \
654 *.php \
655 *.php3 \
656 *.inc \
657 *.m \
658 *.mm \
659 *.dox \
660 *.py \
661 *.f90 \
662 *.f \
663 *.vhd \
664 *.vhdl \
665 *.dox
666
667# The RECURSIVE tag can be used to turn specify whether or not subdirectories
668# should be searched for input files as well. Possible values are YES and NO.
669# If left blank NO is used.
670
671RECURSIVE = YES
672
673# The EXCLUDE tag can be used to specify files and/or directories that should
674# excluded from the INPUT source files. This way you can easily exclude a
675# subdirectory from a directory tree whose root is specified with the INPUT tag.
676
677EXCLUDE =
678
679# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
680# directories that are symbolic links (a Unix file system feature) are excluded
681# from the input.
682
683EXCLUDE_SYMLINKS = NO
684
685# If the value of the INPUT tag contains directories, you can use the
686# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
687# certain files from those directories. Note that the wildcards are matched
688# against the file with absolute path, so to exclude all test directories
689# for example use the pattern */test/*
690
691EXCLUDE_PATTERNS =
692
693# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
694# (namespaces, classes, functions, etc.) that should be excluded from the
695# output. The symbol name can be a fully qualified name, a word, or if the
696# wildcard * is used, a substring. Examples: ANamespace, AClass,
697# AClass::ANamespace, ANamespace::*Test
698
699EXCLUDE_SYMBOLS =
700
701# The EXAMPLE_PATH tag can be used to specify one or more files or
702# directories that contain example code fragments that are included (see
703# the \include command).
704
705EXAMPLE_PATH = ../examples
706
707# If the value of the EXAMPLE_PATH tag contains directories, you can use the
708# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
709# and *.h) to filter out the source-files in the directories. If left
710# blank all files are included.
711
712EXAMPLE_PATTERNS =
713
714# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
715# searched for input files to be used with the \include or \dontinclude
716# commands irrespective of the value of the RECURSIVE tag.
717# Possible values are YES and NO. If left blank NO is used.
718
719EXAMPLE_RECURSIVE = NO
720
721# The IMAGE_PATH tag can be used to specify one or more files or
722# directories that contain image that are included in the documentation (see
723# the \image command).
724
725IMAGE_PATH =
726
727# The INPUT_FILTER tag can be used to specify a program that doxygen should
728# invoke to filter for each input file. Doxygen will invoke the filter program
729# by executing (via popen()) the command <filter> <input-file>, where <filter>
730# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
731# input file. Doxygen will then use the output that the filter program writes
732# to standard output. If FILTER_PATTERNS is specified, this tag will be
733# ignored.
734
735INPUT_FILTER =
736
737# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
738# basis. Doxygen will compare the file name with each pattern and apply the
739# filter if there is a match. The filters are a list of the form:
740# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
741# info on how filters are used. If FILTER_PATTERNS is empty or if
742# non of the patterns match the file name, INPUT_FILTER is applied.
743
744FILTER_PATTERNS =
745
746# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
747# INPUT_FILTER) will be used to filter the input files when producing source
748# files to browse (i.e. when SOURCE_BROWSER is set to YES).
749
750FILTER_SOURCE_FILES = NO
751
752# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
753# pattern. A pattern will override the setting for FILTER_PATTERN (if any)
754# and it is also possible to disable source filtering for a specific pattern
755# using *.ext= (so without naming a filter). This option only has effect when
756# FILTER_SOURCE_FILES is enabled.
757
758FILTER_SOURCE_PATTERNS =
759
760#---------------------------------------------------------------------------
761# configuration options related to source browsing
762#---------------------------------------------------------------------------
763
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches