Merge lp:~sil2100/ubuntu-geoip/merge_missing_changelog into lp:~ubuntu-geoip-team/ubuntu-geoip/ubuntu

Proposed by Łukasz Zemczak
Status: Superseded
Proposed branch: lp:~sil2100/ubuntu-geoip/merge_missing_changelog
Merge into: lp:~ubuntu-geoip-team/ubuntu-geoip/ubuntu
Diff against target: 15737 lines (+1001/-14307)
34 files modified
.bzr-builddeb/default.conf (+2/-0)
.bzrignore (+12/-0)
AUTHORS (+1/-5)
ChangeLog (+1/-421)
INSTALL (+0/-365)
Makefile.am (+3/-1)
Makefile.am.coverage (+48/-0)
Makefile.in (+0/-798)
aclocal.m4 (+0/-2009)
autogen.sh (+11/-0)
config.h.in (+0/-79)
configure (+0/-7587)
configure.ac (+29/-3)
data/Makefile.in (+0/-511)
debian/changelog (+53/-5)
debian/compat (+1/-0)
debian/control (+17/-10)
debian/copyright (+2/-2)
debian/rules (+10/-6)
debian/watch (+0/-2)
depcomp (+0/-630)
install-sh (+0/-520)
m4/gcov.m4 (+86/-0)
missing (+0/-376)
mkinstalldirs (+0/-162)
po/Makefile.in.in (+0/-217)
src/Makefile.am (+5/-1)
src/Makefile.in (+0/-563)
src/ubuntu-geoip-provider.c (+188/-34)
tests/Makefile.am (+35/-0)
tests/buenos-aires.xml (+1/-0)
tests/cableone-sherman-tx.xml (+1/-0)
tests/canonical-data-center.xml (+1/-0)
tests/dbus-interface.c (+494/-0)
To merge this branch: bzr merge lp:~sil2100/ubuntu-geoip/merge_missing_changelog
Reviewer Review Type Date Requested Status
Ubuntu GeoIP Team Pending
Review via email: mp+175817@code.launchpad.net

Commit message

Merge in missing changelog entries from the already released versions to distro

Description of the change

Merge in missing changelog entries from the already released versions to distro

Before daily releasing, there was a separate branch with packaging, which had 3 versions that got released but not merged into the changelog of the main branch. This branch re-adds them.

To post a comment you must log in.

Unmerged revisions

41. By Łukasz Zemczak

releasing version 1.0.1-0ubuntu5

40. By Łukasz Zemczak

Backport r35 to fix build in saucy

39. By Łukasz Zemczak

releasing version 1.0.1-0ubuntu4

38. By Łukasz Zemczak

* Backport upstream commits:
  - Fix ordering of parameters (lp: #1067037)
  - support for proxies (lp: #1130097)
* debian/control:
  - Build-depends on libsoup-gnome2.4-dev

37. By Łukasz Zemczak

Don't use deprecated g_type_init() with recent glib2.0.

36. By Łukasz Zemczak

Modifications related to compliance with our packaging standards.

Approved by PS Jenkins bot, Robert Bruce Park.

35. By Ted Gould

Fix deprecation in libsoup.

Approved by Sebastien Bacher, PS Jenkins bot.

34. By Ted Gould

Add the gnome feature for proxy configuration support. Fixes: https://bugs.launchpad.net/bugs/1130097.

Approved by Charles Kerr, PS Jenkins bot.

33. By Stefan Schmidt

Fix ordering of parameters. Fixes: https://bugs.launchpad.net/bugs/1067037.

Approved by Ted Gould, PS Jenkins bot.

32. By Ted Gould

Ignoring g_type_init() where it is deprecated. Fixes: https://bugs.launchpad.net/bugs/1112832.

Approved by Ted Gould, PS Jenkins bot.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory '.bzr-builddeb'
=== added file '.bzr-builddeb/default.conf'
--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
+++ .bzr-builddeb/default.conf 2013-07-19 11:58:34 +0000
@@ -0,0 +1,2 @@
1[BUILDDEB]
2split = True
03
=== added file '.bzrignore'
--- .bzrignore 1970-01-01 00:00:00 +0000
+++ .bzrignore 2013-07-19 11:58:34 +0000
@@ -0,0 +1,12 @@
1data/org.freedesktop.Geoclue.Providers.UbuntuGeoIP.service
2src/ubuntu-geoip-provider
3ubuntu-geoip-[0-9]*.[0-9]*.[0-9]*.tar.gz
4ubuntu-geoip-[0-9]*.[0-9]*.[0-9]*.tar.gz.asc
5data/com.ubuntu.geoip.gschema.valid
6data/com.ubuntu.geoip.gschema.xml
7po/ubuntu-geoip.pot
8.deps
9dbus-interface-tester
10dbus-interface.xml
11dbus-interface
12compile
013
=== modified file 'AUTHORS'
--- AUTHORS 2012-08-09 18:47:22 +0000
+++ AUTHORS 2013-07-19 11:58:34 +0000
@@ -1,5 +1,1 @@
1# Generated by Makefile. Do not edit.1# Generated by Makefile
2
3 Andrew Glen-Young
4 Mathieu Trudel-Lapierre
5 Ted Gould
62
=== modified file 'ChangeLog'
--- ChangeLog 2012-09-13 14:38:43 +0000
+++ ChangeLog 2013-07-19 11:58:34 +0000
@@ -1,421 +1,1 @@
1# Generated by Makefile. Do not edit.1# Generated by Makefile
2
32012-09-13 Ted Gould <ted@gould.cx>
4
5 1.0.0
6
72012-08-09 Ted Gould <ted@gould.cx>
8
9 Clearing our cached data when we loose networking so we re-emit it when we get it back
10
112012-08-09 Ted Gould <ted@gould.cx>
12
13 Fixing a connecting bug
14
152012-08-09 Ted Gould <ted@gould.cx>
16
17 Making it so that we're not immediately cacheable as the GeoClue master seems to not handle that well
18
192012-08-09 Ted Gould <ted@gould.cx>
20
21 Better usage of NM States
22
232012-08-09 Ted Gould <ted@gould.cx>
24
25 Make more sophesticated use of the NM states
26
272012-08-09 Ted Gould <ted@gould.cx>
28
29 Using new global status value
30
312012-08-09 Ted Gould <ted@gould.cx>
32
33 Emit new status after updating entries
34
352012-08-09 Ted Gould <ted@gould.cx>
36
37 0.0.3
38
392012-08-09 Ted Gould <ted@gould.cx>
40
41 Making a setting for the URL of the GeoIP server
42
432012-08-09 Ted Gould <ted@gould.cx>
44
45 Showing the URL
46
472012-08-09 Ted Gould <ted@gould.cx>
48
49 Checking to ensure the schema exists before setting it up
50
512012-05-04 Ted Gould <ted@gould.cx>
52
53 Sync to trunk
54
552011-10-23 Ted Gould <ted@gould.cx>
56
57 Making the default path in the Ubuntu namespace
58
592011-10-23 Ted Gould <ted@gould.cx>
60
61 Getting the source URL from gsettings
62
632011-10-23 Ted Gould <ted@gould.cx>
64
65 Fill out the URL changing function to cause a refresh if we're connected
66
672011-10-23 Ted Gould <ted@gould.cx>
68
69 Add in a settings object and setup a callback for values changing
70
712011-10-23 Ted Gould <ted@gould.cx>
72
73 Ignoring built files
74
752011-10-23 Ted Gould <ted@gould.cx>
76
77 Making sure the C and H files are parsed as well
78
792011-10-23 Ted Gould <ted@gould.cx>
80
81 Adding the settings file to the translated strings
82
832011-10-23 Ted Gould <ted@gould.cx>
84
85 Adding settings for the URL
86
872012-08-09 Ted Gould <ted@gould.cx>
88
89 Ensure the networking and markup parser are more robust
90
912012-05-07 Ted Gould <ted@gould.cx>
92
93 If we get an error we'll rebuild the parser
94
952012-05-07 Ted Gould <ted@gould.cx>
96
97 New message when a message gets queued
98
992012-05-03 Ted Gould <ted@gould.cx>
100
101 Adding in a handler to look for socket errors
102
1032012-05-03 Andrew Glen-Young <aglenyoung@launchpad.net>
104
105 Make HTTP command request uppercase
106
1072012-05-03 Ted Gould <ted@gould.cx>
108
109 Update to NM 0.9 API
110
1112011-06-03 Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>
112
113 Bump libnm-glib requirement to 0.8.998 to get the NM 0.9 API.
114
1152011-06-03 Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>
116
117 Review connected states to match with NM 0.9 API.
118
119 There's almost nothing to do, given the current logic; just add
120 NM_STATE_ASLEEP and NM_STATE_DISCONNECTING as states that mean we're not
121 connected. NM_STATE_UNKNOWN left as meaning "connected", to not block
122 stuff if NM is unavailable for some reason.
123
124 Other connected states:
125 NM_STATE_CONNECTED_LOCAL
126 NM_STATE_CONNECTED_SITE
127 NM_STATE_CONNECTED_GLOBAL
128 NM_STATE_UNKNOWN
129
1302010-10-21 Ted Gould <ted@gould.cx>
131
132 0.0.2
133
1342010-10-21 Ted Gould <ted@gould.cx>
135
136 If we don't get a valid response, let's try again.
137
1382010-10-21 Ted Gould <ted@gould.cx>
139
140 Changing string to be correct
141
1422010-10-21 Ted Gould <ted@gould.cx>
143
144 Use the queue'd message to handle our errors
145
1462010-10-21 Ted Gould <ted@gould.cx>
147
148 Make sure to reset the time if it looks like we got a message
149
1502010-10-21 Ted Gould <ted@gould.cx>
151
152 Setting up a callback for the ability to check again for the Geoip location
153
1542010-10-21 Ted Gould <ted@gould.cx>
155
156 Adding in the requeue variables
157
1582010-10-21 Ted Gould <ted@gould.cx>
159
160 Add a check for a valid root node. Though we need to lookup it's name.
161
1622010-10-21 Ted Gould <ted@gould.cx>
163
164 Checking the status code and erroring out
165
1662010-10-21 Ted Gould <ted@gould.cx>
167
168 Adding copyright headers
169
1702010-10-21 Ted Gould <ted@gould.cx>
171
172 Adding copyright headers
173
1742010-10-06 Ted Gould <ted@gould.cx>
175
176 Now we're an address provider as well
177
1782010-10-06 Ted Gould <ted@gould.cx>
179
180 Emit a signal on address changed
181
1822010-10-06 Ted Gould <ted@gould.cx>
183
184 Setting up all the address data
185
1862010-10-06 Ted Gould <ted@gould.cx>
187
188 Setting us up to get a proper address and send it back.
189
1902010-10-06 Ted Gould <ted@gould.cx>
191
192 Handling when we can't parse
193
1942010-10-06 Ted Gould <ted@gould.cx>
195
196 Add 'changed' variables and responding by doing a position changed
197
1982010-10-06 Ted Gould <ted@gould.cx>
199
200 Switching over to the GMarkup based parser
201
2022010-10-06 Ted Gould <ted@gould.cx>
203
204 Fleshing out the text function
205
2062010-10-06 Ted Gould <ted@gould.cx>
207
208 Forgot longitude and latitude
209
2102010-10-06 Ted Gould <ted@gould.cx>
211
212 Fleshing out some of the parser
213
2142010-10-06 Ted Gould <ted@gould.cx>
215
216 Setting up the parser and some stub functions
217
2182010-10-06 Ted Gould <ted@gould.cx>
219
220 Adding a parser context variable along with the data needed for it.
221
2222010-10-06 Ted Gould <ted@gould.cx>
223
224 Making a structure for mark up data with the field info in it.
225
2262010-10-06 Ted Gould <ted@gould.cx>
227
228 Putting in a dummy get address but setting up the interface
229
2302010-10-06 Ted Gould <ted@gould.cx>
231
232 Adding a bunch of variables for the address
233
2342010-10-06 Ted Gould <ted@gould.cx>
235
236 Adding in the address interface
237
2382010-10-06 Ted Gould <ted@gould.cx>
239
240 Say that we're going to provide an address
241
2422010-10-06 Ted Gould <ted@gould.cx>
243
244 Adding in libnm support to check connectivity
245
2462010-10-06 Ted Gould <ted@gould.cx>
247
248 Debug messages and changing the default state until we check.
249
2502010-10-06 Ted Gould <ted@gould.cx>
251
252 Fleshing out the callback and aligning with the other setters of state
253
2542010-10-06 Ted Gould <ted@gould.cx>
255
256 Setting up a callback for the state change
257
2582010-10-06 Ted Gould <ted@gould.cx>
259
260 Getting ourselves a network manager client
261
2622010-10-06 Ted Gould <ted@gould.cx>
263
264 Adding the libnm dependency
265
2662010-10-06 Ted Gould <ted@gould.cx>
267
268 0.0.1
269
2702010-10-06 Ted Gould <ted@gould.cx>
271
272 Forgot to merge this revision, adds the header file to the Makefile
273
2742010-10-06 Ted Gould <ted@gould.cx>
275
276 Add the h file
277
2782010-10-06 Ted Gould <ted@gould.cx>
279
280 Cleaning up the config and making this thing work.
281
2822010-10-06 Ted Gould <ted@gould.cx>
283
284 Dropping the provider here as well
285
2862010-10-06 Ted Gould <ted@gould.cx>
287
288 Dropping the 'Provider'
289
2902010-10-06 Ted Gould <ted@gould.cx>
291
292 Sets how we can get data and what we need
293
2942010-10-06 Ted Gould <ted@gould.cx>
295
296 Track state and send signals. We're a big boy provider now!
297
2982010-10-06 Ted Gould <ted@gould.cx>
299
300 Ensuring that we pass our data back correctly if people ask about it
301
3022010-10-06 Ted Gould <ted@gould.cx>
303
304 Setting the status based on our state variables
305
3062010-10-06 Ted Gould <ted@gould.cx>
307
308 Changing the status when we get some data
309
3102010-10-06 Ted Gould <ted@gould.cx>
311
312 Adding a couple of state variables
313
3142010-10-06 Ted Gould <ted@gould.cx>
315
316 Adding support for libsoup and getting the information from the geoip server
317
3182010-10-06 Ted Gould <ted@gould.cx>
319
320 Keeping our lat and lon in the private structure
321
3222010-10-05 Ted Gould <ted@gould.cx>
323
324 Drop debugging
325
3262010-10-05 Ted Gould <ted@gould.cx>
327
328 Quick hack parse function
329
3302010-10-05 Ted Gould <ted@gould.cx>
331
332 Starting to prototype out a way to get the lat and long
333
3342010-10-05 Ted Gould <ted@gould.cx>
335
336 Ah, oops, wrong setup of the URLs
337
3382010-10-05 Ted Gould <ted@gould.cx>
339
340 Sending the message and getting a couple of callbacks
341
3422010-10-05 Ted Gould <ted@gould.cx>
343
344 Prototype to send the message
345
3462010-10-05 Ted Gould <ted@gould.cx>
347
348 Basic adding of a soup session
349
3502010-10-05 Ted Gould <ted@gould.cx>
351
352 Adding in a basic provider stub
353
3542010-10-05 Ted Gould <ted@gould.cx>
355
356 Adding in the position interface.
357
3582010-10-05 Ted Gould <ted@gould.cx>
359
360 Actually run and unref the mainloop properly
361
3622010-10-05 Ted Gould <ted@gould.cx>
363
364 Adding in shutdown and status functions.
365
3662010-10-05 Ted Gould <ted@gould.cx>
367
368 Setting the provider details
369
3702010-10-05 Ted Gould <ted@gould.cx>
371
372 Adding in a mainloop, making progress now!
373
3742010-10-05 Ted Gould <ted@gould.cx>
375
376 Oh, we have an object. We're cool like that.
377
3782010-10-05 Ted Gould <ted@gould.cx>
379
380 Adding in a source directory and a dummy exe
381
3822010-10-05 Ted Gould <ted@gould.cx>
383
384 Adding in a dbus service file and lots of paraphenallia
385
3862010-10-05 Ted Gould <ted@gould.cx>
387
388 Adding in a geoclue provider file
389
3902010-10-05 Ted Gould <ted@gould.cx>
391
392 Adding a data directory
393
3942010-10-05 Ted Gould <ted@gould.cx>
395
396 Adding a build system
397
3982010-10-05 Ted Gould <ted@gould.cx>
399
400 Distcheck fixes come so early!
401
4022010-10-05 Ted Gould <ted@gould.cx>
403
404 Eh, yeah, we'll need translations for the settings.
405
4062010-10-05 Ted Gould <ted@gould.cx>
407
408 No NEWS
409
4102010-10-05 Ted Gould <ted@gould.cx>
411
412 GPL v3
413
4142010-10-05 Ted Gould <ted@gould.cx>
415
416 Cargo cult part
417
4182010-10-05 Ted Gould <ted@gould.cx>
419
420 START OF REPO
421
4222
=== removed file 'INSTALL'
--- INSTALL 2010-10-06 17:53:33 +0000
+++ INSTALL 1970-01-01 00:00:00 +0000
@@ -1,365 +0,0 @@
1Installation Instructions
2*************************
3
4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
52006, 2007, 2008, 2009 Free Software Foundation, Inc.
6
7 Copying and distribution of this file, with or without modification,
8are permitted in any medium without royalty provided the copyright
9notice and this notice are preserved. This file is offered as-is,
10without warranty of any kind.
11
12Basic Installation
13==================
14
15 Briefly, the shell commands `./configure; make; make install' should
16configure, build, and install this package. The following
17more-detailed instructions are generic; see the `README' file for
18instructions specific to this package. Some packages provide this
19`INSTALL' file but do not implement all of the features documented
20below. The lack of an optional feature in a given package is not
21necessarily a bug. More recommendations for GNU packages can be found
22in *note Makefile Conventions: (standards)Makefile Conventions.
23
24 The `configure' shell script attempts to guess correct values for
25various system-dependent variables used during compilation. It uses
26those values to create a `Makefile' in each directory of the package.
27It may also create one or more `.h' files containing system-dependent
28definitions. Finally, it creates a shell script `config.status' that
29you can run in the future to recreate the current configuration, and a
30file `config.log' containing compiler output (useful mainly for
31debugging `configure').
32
33 It can also use an optional file (typically called `config.cache'
34and enabled with `--cache-file=config.cache' or simply `-C') that saves
35the results of its tests to speed up reconfiguring. Caching is
36disabled by default to prevent problems with accidental use of stale
37cache files.
38
39 If you need to do unusual things to compile the package, please try
40to figure out how `configure' could check whether to do them, and mail
41diffs or instructions to the address given in the `README' so they can
42be considered for the next release. If you are using the cache, and at
43some point `config.cache' contains results you don't want to keep, you
44may remove or edit it.
45
46 The file `configure.ac' (or `configure.in') is used to create
47`configure' by a program called `autoconf'. You need `configure.ac' if
48you want to change it or regenerate `configure' using a newer version
49of `autoconf'.
50
51 The simplest way to compile this package is:
52
53 1. `cd' to the directory containing the package's source code and type
54 `./configure' to configure the package for your system.
55
56 Running `configure' might take a while. While running, it prints
57 some messages telling which features it is checking for.
58
59 2. Type `make' to compile the package.
60
61 3. Optionally, type `make check' to run any self-tests that come with
62 the package, generally using the just-built uninstalled binaries.
63
64 4. Type `make install' to install the programs and any data files and
65 documentation. When installing into a prefix owned by root, it is
66 recommended that the package be configured and built as a regular
67 user, and only the `make install' phase executed with root
68 privileges.
69
70 5. Optionally, type `make installcheck' to repeat any self-tests, but
71 this time using the binaries in their final installed location.
72 This target does not install anything. Running this target as a
73 regular user, particularly if the prior `make install' required
74 root privileges, verifies that the installation completed
75 correctly.
76
77 6. You can remove the program binaries and object files from the
78 source code directory by typing `make clean'. To also remove the
79 files that `configure' created (so you can compile the package for
80 a different kind of computer), type `make distclean'. There is
81 also a `make maintainer-clean' target, but that is intended mainly
82 for the package's developers. If you use it, you may have to get
83 all sorts of other programs in order to regenerate files that came
84 with the distribution.
85
86 7. Often, you can also type `make uninstall' to remove the installed
87 files again. In practice, not all packages have tested that
88 uninstallation works correctly, even though it is required by the
89 GNU Coding Standards.
90
91 8. Some packages, particularly those that use Automake, provide `make
92 distcheck', which can by used by developers to test that all other
93 targets like `make install' and `make uninstall' work correctly.
94 This target is generally not run by end users.
95
96Compilers and Options
97=====================
98
99 Some systems require unusual options for compilation or linking that
100the `configure' script does not know about. Run `./configure --help'
101for details on some of the pertinent environment variables.
102
103 You can give `configure' initial values for configuration parameters
104by setting variables in the command line or in the environment. Here
105is an example:
106
107 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
108
109 *Note Defining Variables::, for more details.
110
111Compiling For Multiple Architectures
112====================================
113
114 You can compile the package for more than one kind of computer at the
115same time, by placing the object files for each architecture in their
116own directory. To do this, you can use GNU `make'. `cd' to the
117directory where you want the object files and executables to go and run
118the `configure' script. `configure' automatically checks for the
119source code in the directory that `configure' is in and in `..'. This
120is known as a "VPATH" build.
121
122 With a non-GNU `make', it is safer to compile the package for one
123architecture at a time in the source code directory. After you have
124installed the package for one architecture, use `make distclean' before
125reconfiguring for another architecture.
126
127 On MacOS X 10.5 and later systems, you can create libraries and
128executables that work on multiple system types--known as "fat" or
129"universal" binaries--by specifying multiple `-arch' options to the
130compiler but only a single `-arch' option to the preprocessor. Like
131this:
132
133 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135 CPP="gcc -E" CXXCPP="g++ -E"
136
137 This is not guaranteed to produce working output in all cases, you
138may have to build one architecture at a time and combine the results
139using the `lipo' tool if you have problems.
140
141Installation Names
142==================
143
144 By default, `make install' installs the package's commands under
145`/usr/local/bin', include files under `/usr/local/include', etc. You
146can specify an installation prefix other than `/usr/local' by giving
147`configure' the option `--prefix=PREFIX', where PREFIX must be an
148absolute file name.
149
150 You can specify separate installation prefixes for
151architecture-specific files and architecture-independent files. If you
152pass the option `--exec-prefix=PREFIX' to `configure', the package uses
153PREFIX as the prefix for installing programs and libraries.
154Documentation and other data files still use the regular prefix.
155
156 In addition, if you use an unusual directory layout you can give
157options like `--bindir=DIR' to specify different values for particular
158kinds of files. Run `configure --help' for a list of the directories
159you can set and what kinds of files go in them. In general, the
160default for these options is expressed in terms of `${prefix}', so that
161specifying just `--prefix' will affect all of the other directory
162specifications that were not explicitly provided.
163
164 The most portable way to affect installation locations is to pass the
165correct locations to `configure'; however, many packages provide one or
166both of the following shortcuts of passing variable assignments to the
167`make install' command line to change installation locations without
168having to reconfigure or recompile.
169
170 The first method involves providing an override variable for each
171affected directory. For example, `make install
172prefix=/alternate/directory' will choose an alternate location for all
173directory configuration variables that were expressed in terms of
174`${prefix}'. Any directories that were specified during `configure',
175but not in terms of `${prefix}', must each be overridden at install
176time for the entire installation to be relocated. The approach of
177makefile variable overrides for each directory variable is required by
178the GNU Coding Standards, and ideally causes no recompilation.
179However, some platforms have known limitations with the semantics of
180shared libraries that end up requiring recompilation when using this
181method, particularly noticeable in packages that use GNU Libtool.
182
183 The second method involves providing the `DESTDIR' variable. For
184example, `make install DESTDIR=/alternate/directory' will prepend
185`/alternate/directory' before all installation names. The approach of
186`DESTDIR' overrides is not required by the GNU Coding Standards, and
187does not work on platforms that have drive letters. On the other hand,
188it does better at avoiding recompilation issues, and works well even
189when some directory options were not specified in terms of `${prefix}'
190at `configure' time.
191
192Optional Features
193=================
194
195 If the package supports it, you can cause programs to be installed
196with an extra prefix or suffix on their names by giving `configure' the
197option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
198
199 Some packages pay attention to `--enable-FEATURE' options to
200`configure', where FEATURE indicates an optional part of the package.
201They may also pay attention to `--with-PACKAGE' options, where PACKAGE
202is something like `gnu-as' or `x' (for the X Window System). The
203`README' should mention any `--enable-' and `--with-' options that the
204package recognizes.
205
206 For packages that use the X Window System, `configure' can usually
207find the X include and library files automatically, but if it doesn't,
208you can use the `configure' options `--x-includes=DIR' and
209`--x-libraries=DIR' to specify their locations.
210
211 Some packages offer the ability to configure how verbose the
212execution of `make' will be. For these packages, running `./configure
213--enable-silent-rules' sets the default to minimal output, which can be
214overridden with `make V=1'; while running `./configure
215--disable-silent-rules' sets the default to verbose, which can be
216overridden with `make V=0'.
217
218Particular systems
219==================
220
221 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222CC is not installed, it is recommended to use the following options in
223order to use an ANSI C compiler:
224
225 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226
227and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228
229 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
230parse its `<wchar.h>' header file. The option `-nodtk' can be used as
231a workaround. If GNU CC is not installed, it is therefore recommended
232to try
233
234 ./configure CC="cc"
235
236and if that doesn't work, try
237
238 ./configure CC="cc -nodtk"
239
240 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
241directory contains several dysfunctional programs; working variants of
242these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
243in your `PATH', put it _after_ `/usr/bin'.
244
245 On Haiku, software installed for all users goes in `/boot/common',
246not `/usr/local'. It is recommended to use the following options:
247
248 ./configure --prefix=/boot/common
249
250Specifying the System Type
251==========================
252
253 There may be some features `configure' cannot figure out
254automatically, but needs to determine by the type of machine the package
255will run on. Usually, assuming the package is built to be run on the
256_same_ architectures, `configure' can figure that out, but if it prints
257a message saying it cannot guess the machine type, give it the
258`--build=TYPE' option. TYPE can either be a short name for the system
259type, such as `sun4', or a canonical name which has the form:
260
261 CPU-COMPANY-SYSTEM
262
263where SYSTEM can have one of these forms:
264
265 OS
266 KERNEL-OS
267
268 See the file `config.sub' for the possible values of each field. If
269`config.sub' isn't included in this package, then this package doesn't
270need to know the machine type.
271
272 If you are _building_ compiler tools for cross-compiling, you should
273use the option `--target=TYPE' to select the type of system they will
274produce code for.
275
276 If you want to _use_ a cross compiler, that generates code for a
277platform different from the build platform, you should specify the
278"host" platform (i.e., that on which the generated programs will
279eventually be run) with `--host=TYPE'.
280
281Sharing Defaults
282================
283
284 If you want to set default values for `configure' scripts to share,
285you can create a site shell script called `config.site' that gives
286default values for variables like `CC', `cache_file', and `prefix'.
287`configure' looks for `PREFIX/share/config.site' if it exists, then
288`PREFIX/etc/config.site' if it exists. Or, you can set the
289`CONFIG_SITE' environment variable to the location of the site script.
290A warning: not all `configure' scripts look for a site script.
291
292Defining Variables
293==================
294
295 Variables not defined in a site shell script can be set in the
296environment passed to `configure'. However, some packages may run
297configure again during the build, and the customized values of these
298variables may be lost. In order to avoid this problem, you should set
299them in the `configure' command line, using `VAR=value'. For example:
300
301 ./configure CC=/usr/local2/bin/gcc
302
303causes the specified `gcc' to be used as the C compiler (unless it is
304overridden in the site shell script).
305
306Unfortunately, this technique does not work for `CONFIG_SHELL' due to
307an Autoconf bug. Until the bug is fixed you can use this workaround:
308
309 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
310
311`configure' Invocation
312======================
313
314 `configure' recognizes the following options to control how it
315operates.
316
317`--help'
318`-h'
319 Print a summary of all of the options to `configure', and exit.
320
321`--help=short'
322`--help=recursive'
323 Print a summary of the options unique to this package's
324 `configure', and exit. The `short' variant lists options used
325 only in the top level, while the `recursive' variant lists options
326 also present in any nested packages.
327
328`--version'
329`-V'
330 Print the version of Autoconf used to generate the `configure'
331 script, and exit.
332
333`--cache-file=FILE'
334 Enable the cache: use and save the results of the tests in FILE,
335 traditionally `config.cache'. FILE defaults to `/dev/null' to
336 disable caching.
337
338`--config-cache'
339`-C'
340 Alias for `--cache-file=config.cache'.
341
342`--quiet'
343`--silent'
344`-q'
345 Do not print messages saying which checks are being made. To
346 suppress all normal output, redirect it to `/dev/null' (any error
347 messages will still be shown).
348
349`--srcdir=DIR'
350 Look for the package's source code in directory DIR. Usually
351 `configure' can determine that directory automatically.
352
353`--prefix=DIR'
354 Use DIR as the installation prefix. *note Installation Names::
355 for more details, including other options available for fine-tuning
356 the installation locations.
357
358`--no-create'
359`-n'
360 Run the configure checks, but stop before creating any output
361 files.
362
363`configure' also accepts some other, not widely useful, options. Run
364`configure --help' for more details.
365
3660
=== modified file 'Makefile.am'
--- Makefile.am 2010-10-05 21:35:53 +0000
+++ Makefile.am 2013-07-19 11:58:34 +0000
@@ -1,7 +1,8 @@
1SUBDIRS = \1SUBDIRS = \
2 src \2 src \
3 data \3 data \
4 po4 po \
5 tests
56
6DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall7DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
78
@@ -31,3 +32,4 @@
31 echo Failed to generate AUTHORS: not a branch >&2; \32 echo Failed to generate AUTHORS: not a branch >&2; \
32 fi33 fi
3334
35include $(top_srcdir)/Makefile.am.coverage
3436
=== added file 'Makefile.am.coverage'
--- Makefile.am.coverage 1970-01-01 00:00:00 +0000
+++ Makefile.am.coverage 2013-07-19 11:58:34 +0000
@@ -0,0 +1,48 @@
1
2# Coverage targets
3
4.PHONY: clean-gcno clean-gcda \
5 coverage-html generate-coverage-html clean-coverage-html \
6 coverage-gcovr generate-coverage-gcovr clean-coverage-gcovr
7
8clean-local: clean-gcno clean-coverage-html clean-coverage-gcovr
9
10if HAVE_GCOV
11
12clean-gcno:
13 @echo Removing old coverage instrumentation
14 -find -name '*.gcno' -print | xargs -r rm
15
16clean-gcda:
17 @echo Removing old coverage results
18 -find -name '*.gcda' -print | xargs -r rm
19
20coverage-html: clean-gcda
21 -$(MAKE) $(AM_MAKEFLAGS) -k check
22 $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html
23
24generate-coverage-html:
25 @echo Collecting coverage data
26 $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool
27 LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info
28
29clean-coverage-html: clean-gcda
30 -$(LCOV) --directory $(top_builddir) -z
31 -rm -rf coverage.info coveragereport
32
33if HAVE_GCOVR
34
35coverage-gcovr: clean-gcda
36 -$(MAKE) $(AM_MAKEFLAGS) -k check
37 $(MAKE) $(AM_MAKEFLAGS) generate-coverage-gcovr
38
39generate-coverage-gcovr:
40 @echo Generating coverage GCOVR report
41 $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml
42
43clean-coverage-gcovr: clean-gcda
44 -rm -rf $(top_builddir)/coverage.xml
45
46endif # HAVE_GCOVR
47
48endif # HAVE_GCOV
049
=== removed file 'Makefile.in'
--- Makefile.in 2012-08-09 18:47:22 +0000
+++ Makefile.in 1970-01-01 00:00:00 +0000
@@ -1,798 +0,0 @@
1# Makefile.in generated by automake 1.11.5 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17VPATH = @srcdir@
18am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
35pkgdatadir = $(datadir)/@PACKAGE@
36pkgincludedir = $(includedir)/@PACKAGE@
37pkglibdir = $(libdir)/@PACKAGE@
38pkglibexecdir = $(libexecdir)/@PACKAGE@
39am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40install_sh_DATA = $(install_sh) -c -m 644
41install_sh_PROGRAM = $(install_sh) -c
42install_sh_SCRIPT = $(install_sh) -c
43INSTALL_HEADER = $(INSTALL_DATA)
44transform = $(program_transform_name)
45NORMAL_INSTALL = :
46PRE_INSTALL = :
47POST_INSTALL = :
48NORMAL_UNINSTALL = :
49PRE_UNINSTALL = :
50POST_UNINSTALL = :
51subdir = .
52DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
53 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
54 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
55 depcomp install-sh missing mkinstalldirs
56ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
57am__aclocal_m4_deps = $(top_srcdir)/configure.ac
58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 $(ACLOCAL_M4)
60am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
61 configure.lineno config.status.lineno
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
63CONFIG_HEADER = config.h
64CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES =
66AM_V_GEN = $(am__v_GEN_@AM_V@)
67am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
68am__v_GEN_0 = @echo " GEN " $@;
69AM_V_at = $(am__v_at_@AM_V@)
70am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
71am__v_at_0 = @
72SOURCES =
73DIST_SOURCES =
74RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
75 html-recursive info-recursive install-data-recursive \
76 install-dvi-recursive install-exec-recursive \
77 install-html-recursive install-info-recursive \
78 install-pdf-recursive install-ps-recursive install-recursive \
79 installcheck-recursive installdirs-recursive pdf-recursive \
80 ps-recursive uninstall-recursive
81am__can_run_installinfo = \
82 case $$AM_UPDATE_INFO_DIR in \
83 n|no|NO) false;; \
84 *) (install-info --version) >/dev/null 2>&1;; \
85 esac
86RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
87 distclean-recursive maintainer-clean-recursive
88AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
89 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
90 distdir dist dist-all distcheck
91ETAGS = etags
92CTAGS = ctags
93DIST_SUBDIRS = $(SUBDIRS)
94DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
95distdir = $(PACKAGE)-$(VERSION)
96top_distdir = $(distdir)
97am__remove_distdir = \
98 if test -d "$(distdir)"; then \
99 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
100 && rm -rf "$(distdir)" \
101 || { sleep 5 && rm -rf "$(distdir)"; }; \
102 else :; fi
103am__relativize = \
104 dir0=`pwd`; \
105 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
106 sed_rest='s,^[^/]*/*,,'; \
107 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
108 sed_butlast='s,/*[^/]*$$,,'; \
109 while test -n "$$dir1"; do \
110 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
111 if test "$$first" != "."; then \
112 if test "$$first" = ".."; then \
113 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
114 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
115 else \
116 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
117 if test "$$first2" = "$$first"; then \
118 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
119 else \
120 dir2="../$$dir2"; \
121 fi; \
122 dir0="$$dir0"/"$$first"; \
123 fi; \
124 fi; \
125 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
126 done; \
127 reldir="$$dir2"
128DIST_ARCHIVES = $(distdir).tar.gz
129GZIP_ENV = --best
130distuninstallcheck_listfiles = find . -type f -print
131am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
132 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
133distcleancheck_listfiles = find . -type f -print
134ACLOCAL = @ACLOCAL@
135ALL_LINGUAS = @ALL_LINGUAS@
136AMTAR = @AMTAR@
137AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
138AUTOCONF = @AUTOCONF@
139AUTOHEADER = @AUTOHEADER@
140AUTOMAKE = @AUTOMAKE@
141AWK = @AWK@
142CATALOGS = @CATALOGS@
143CATOBJEXT = @CATOBJEXT@
144CC = @CC@
145CCDEPMODE = @CCDEPMODE@
146CFLAGS = @CFLAGS@
147CPP = @CPP@
148CPPFLAGS = @CPPFLAGS@
149CYGPATH_W = @CYGPATH_W@
150DATADIRNAME = @DATADIRNAME@
151DBUSSERVICEDIR = @DBUSSERVICEDIR@
152DEFS = @DEFS@
153DEPDIR = @DEPDIR@
154ECHO_C = @ECHO_C@
155ECHO_N = @ECHO_N@
156ECHO_T = @ECHO_T@
157EGREP = @EGREP@
158EXEEXT = @EXEEXT@
159GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
160GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
161GMOFILES = @GMOFILES@
162GMSGFMT = @GMSGFMT@
163GNOMELOCALEDIR = @GNOMELOCALEDIR@
164GREP = @GREP@
165GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
166INSTALL = @INSTALL@
167INSTALL_DATA = @INSTALL_DATA@
168INSTALL_PROGRAM = @INSTALL_PROGRAM@
169INSTALL_SCRIPT = @INSTALL_SCRIPT@
170INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
171INSTOBJEXT = @INSTOBJEXT@
172INTLLIBS = @INTLLIBS@
173INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
174INTLTOOL_MERGE = @INTLTOOL_MERGE@
175INTLTOOL_PERL = @INTLTOOL_PERL@
176INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
177INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
178INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
179INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
180INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
181LDFLAGS = @LDFLAGS@
182LIBOBJS = @LIBOBJS@
183LIBS = @LIBS@
184LTLIBOBJS = @LTLIBOBJS@
185MAINT = @MAINT@
186MAKEINFO = @MAKEINFO@
187MKDIR_P = @MKDIR_P@
188MKINSTALLDIRS = @MKINSTALLDIRS@
189MSGFMT = @MSGFMT@
190MSGFMT_OPTS = @MSGFMT_OPTS@
191MSGMERGE = @MSGMERGE@
192OBJEXT = @OBJEXT@
193PACKAGE = @PACKAGE@
194PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
195PACKAGE_NAME = @PACKAGE_NAME@
196PACKAGE_STRING = @PACKAGE_STRING@
197PACKAGE_TARNAME = @PACKAGE_TARNAME@
198PACKAGE_URL = @PACKAGE_URL@
199PACKAGE_VERSION = @PACKAGE_VERSION@
200PATH_SEPARATOR = @PATH_SEPARATOR@
201PKG_CONFIG = @PKG_CONFIG@
202PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
203PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
204POFILES = @POFILES@
205POSUB = @POSUB@
206PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
207PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
208PROVIDER_CFLAGS = @PROVIDER_CFLAGS@
209PROVIDER_LIBS = @PROVIDER_LIBS@
210SET_MAKE = @SET_MAKE@
211SHELL = @SHELL@
212STRIP = @STRIP@
213USE_NLS = @USE_NLS@
214VERSION = @VERSION@
215XGETTEXT = @XGETTEXT@
216abs_builddir = @abs_builddir@
217abs_srcdir = @abs_srcdir@
218abs_top_builddir = @abs_top_builddir@
219abs_top_srcdir = @abs_top_srcdir@
220ac_ct_CC = @ac_ct_CC@
221am__include = @am__include@
222am__leading_dot = @am__leading_dot@
223am__quote = @am__quote@
224am__tar = @am__tar@
225am__untar = @am__untar@
226bindir = @bindir@
227build_alias = @build_alias@
228builddir = @builddir@
229datadir = @datadir@
230datarootdir = @datarootdir@
231docdir = @docdir@
232dvidir = @dvidir@
233exec_prefix = @exec_prefix@
234gsettingsschemadir = @gsettingsschemadir@
235host_alias = @host_alias@
236htmldir = @htmldir@
237includedir = @includedir@
238infodir = @infodir@
239install_sh = @install_sh@
240intltool__v_merge_options_ = @intltool__v_merge_options_@
241intltool__v_merge_options_0 = @intltool__v_merge_options_0@
242libdir = @libdir@
243libexecdir = @libexecdir@
244localedir = @localedir@
245localstatedir = @localstatedir@
246mandir = @mandir@
247mkdir_p = @mkdir_p@
248oldincludedir = @oldincludedir@
249pdfdir = @pdfdir@
250prefix = @prefix@
251program_transform_name = @program_transform_name@
252psdir = @psdir@
253sbindir = @sbindir@
254sharedstatedir = @sharedstatedir@
255srcdir = @srcdir@
256sysconfdir = @sysconfdir@
257target_alias = @target_alias@
258top_build_prefix = @top_build_prefix@
259top_builddir = @top_builddir@
260top_srcdir = @top_srcdir@
261SUBDIRS = \
262 src \
263 data \
264 po
265
266DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
267all: config.h
268 $(MAKE) $(AM_MAKEFLAGS) all-recursive
269
270.SUFFIXES:
271am--refresh: Makefile
272 @:
273$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
274 @for dep in $?; do \
275 case '$(am__configure_deps)' in \
276 *$$dep*) \
277 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
278 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
279 && exit 0; \
280 exit 1;; \
281 esac; \
282 done; \
283 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
284 $(am__cd) $(top_srcdir) && \
285 $(AUTOMAKE) --gnu Makefile
286.PRECIOUS: Makefile
287Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
288 @case '$?' in \
289 *config.status*) \
290 echo ' $(SHELL) ./config.status'; \
291 $(SHELL) ./config.status;; \
292 *) \
293 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
294 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
295 esac;
296
297$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
298 $(SHELL) ./config.status --recheck
299
300$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
301 $(am__cd) $(srcdir) && $(AUTOCONF)
302$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
303 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
304$(am__aclocal_m4_deps):
305
306config.h: stamp-h1
307 @if test ! -f $@; then rm -f stamp-h1; else :; fi
308 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
309
310stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
311 @rm -f stamp-h1
312 cd $(top_builddir) && $(SHELL) ./config.status config.h
313$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
314 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
315 rm -f stamp-h1
316 touch $@
317
318distclean-hdr:
319 -rm -f config.h stamp-h1
320
321# This directory's subdirectories are mostly independent; you can cd
322# into them and run `make' without going through this Makefile.
323# To change the values of `make' variables: instead of editing Makefiles,
324# (1) if the variable is set in `config.status', edit `config.status'
325# (which will cause the Makefiles to be regenerated when you run `make');
326# (2) otherwise, pass the desired values on the `make' command line.
327$(RECURSIVE_TARGETS):
328 @fail= failcom='exit 1'; \
329 for f in x $$MAKEFLAGS; do \
330 case $$f in \
331 *=* | --[!k]*);; \
332 *k*) failcom='fail=yes';; \
333 esac; \
334 done; \
335 dot_seen=no; \
336 target=`echo $@ | sed s/-recursive//`; \
337 list='$(SUBDIRS)'; for subdir in $$list; do \
338 echo "Making $$target in $$subdir"; \
339 if test "$$subdir" = "."; then \
340 dot_seen=yes; \
341 local_target="$$target-am"; \
342 else \
343 local_target="$$target"; \
344 fi; \
345 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
346 || eval $$failcom; \
347 done; \
348 if test "$$dot_seen" = "no"; then \
349 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
350 fi; test -z "$$fail"
351
352$(RECURSIVE_CLEAN_TARGETS):
353 @fail= failcom='exit 1'; \
354 for f in x $$MAKEFLAGS; do \
355 case $$f in \
356 *=* | --[!k]*);; \
357 *k*) failcom='fail=yes';; \
358 esac; \
359 done; \
360 dot_seen=no; \
361 case "$@" in \
362 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
363 *) list='$(SUBDIRS)' ;; \
364 esac; \
365 rev=''; for subdir in $$list; do \
366 if test "$$subdir" = "."; then :; else \
367 rev="$$subdir $$rev"; \
368 fi; \
369 done; \
370 rev="$$rev ."; \
371 target=`echo $@ | sed s/-recursive//`; \
372 for subdir in $$rev; do \
373 echo "Making $$target in $$subdir"; \
374 if test "$$subdir" = "."; then \
375 local_target="$$target-am"; \
376 else \
377 local_target="$$target"; \
378 fi; \
379 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
380 || eval $$failcom; \
381 done && test -z "$$fail"
382tags-recursive:
383 list='$(SUBDIRS)'; for subdir in $$list; do \
384 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
385 done
386ctags-recursive:
387 list='$(SUBDIRS)'; for subdir in $$list; do \
388 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
389 done
390
391ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
392 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
393 unique=`for i in $$list; do \
394 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
395 done | \
396 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
397 END { if (nonempty) { for (i in files) print i; }; }'`; \
398 mkid -fID $$unique
399tags: TAGS
400
401TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
402 $(TAGS_FILES) $(LISP)
403 set x; \
404 here=`pwd`; \
405 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
406 include_option=--etags-include; \
407 empty_fix=.; \
408 else \
409 include_option=--include; \
410 empty_fix=; \
411 fi; \
412 list='$(SUBDIRS)'; for subdir in $$list; do \
413 if test "$$subdir" = .; then :; else \
414 test ! -f $$subdir/TAGS || \
415 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
416 fi; \
417 done; \
418 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
419 unique=`for i in $$list; do \
420 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
421 done | \
422 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
423 END { if (nonempty) { for (i in files) print i; }; }'`; \
424 shift; \
425 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
426 test -n "$$unique" || unique=$$empty_fix; \
427 if test $$# -gt 0; then \
428 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
429 "$$@" $$unique; \
430 else \
431 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
432 $$unique; \
433 fi; \
434 fi
435ctags: CTAGS
436CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
437 $(TAGS_FILES) $(LISP)
438 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
439 unique=`for i in $$list; do \
440 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
441 done | \
442 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
443 END { if (nonempty) { for (i in files) print i; }; }'`; \
444 test -z "$(CTAGS_ARGS)$$unique" \
445 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
446 $$unique
447
448GTAGS:
449 here=`$(am__cd) $(top_builddir) && pwd` \
450 && $(am__cd) $(top_srcdir) \
451 && gtags -i $(GTAGS_ARGS) "$$here"
452
453distclean-tags:
454 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
455
456distdir: $(DISTFILES)
457 $(am__remove_distdir)
458 test -d "$(distdir)" || mkdir "$(distdir)"
459 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
460 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
461 list='$(DISTFILES)'; \
462 dist_files=`for file in $$list; do echo $$file; done | \
463 sed -e "s|^$$srcdirstrip/||;t" \
464 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
465 case $$dist_files in \
466 */*) $(MKDIR_P) `echo "$$dist_files" | \
467 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
468 sort -u` ;; \
469 esac; \
470 for file in $$dist_files; do \
471 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
472 if test -d $$d/$$file; then \
473 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
474 if test -d "$(distdir)/$$file"; then \
475 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
476 fi; \
477 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
478 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
479 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
480 fi; \
481 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
482 else \
483 test -f "$(distdir)/$$file" \
484 || cp -p $$d/$$file "$(distdir)/$$file" \
485 || exit 1; \
486 fi; \
487 done
488 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
489 if test "$$subdir" = .; then :; else \
490 $(am__make_dryrun) \
491 || test -d "$(distdir)/$$subdir" \
492 || $(MKDIR_P) "$(distdir)/$$subdir" \
493 || exit 1; \
494 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
495 $(am__relativize); \
496 new_distdir=$$reldir; \
497 dir1=$$subdir; dir2="$(top_distdir)"; \
498 $(am__relativize); \
499 new_top_distdir=$$reldir; \
500 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
501 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
502 ($(am__cd) $$subdir && \
503 $(MAKE) $(AM_MAKEFLAGS) \
504 top_distdir="$$new_top_distdir" \
505 distdir="$$new_distdir" \
506 am__remove_distdir=: \
507 am__skip_length_check=: \
508 am__skip_mode_fix=: \
509 distdir) \
510 || exit 1; \
511 fi; \
512 done
513 $(MAKE) $(AM_MAKEFLAGS) \
514 top_distdir="$(top_distdir)" distdir="$(distdir)" \
515 dist-hook
516 -test -n "$(am__skip_mode_fix)" \
517 || find "$(distdir)" -type d ! -perm -755 \
518 -exec chmod u+rwx,go+rx {} \; -o \
519 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
520 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
521 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
522 || chmod -R a+r "$(distdir)"
523dist-gzip: distdir
524 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
525 $(am__remove_distdir)
526
527dist-bzip2: distdir
528 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
529 $(am__remove_distdir)
530
531dist-lzip: distdir
532 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
533 $(am__remove_distdir)
534
535dist-lzma: distdir
536 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
537 $(am__remove_distdir)
538
539dist-xz: distdir
540 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
541 $(am__remove_distdir)
542
543dist-tarZ: distdir
544 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
545 $(am__remove_distdir)
546
547dist-shar: distdir
548 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
549 $(am__remove_distdir)
550
551dist-zip: distdir
552 -rm -f $(distdir).zip
553 zip -rq $(distdir).zip $(distdir)
554 $(am__remove_distdir)
555
556dist dist-all: distdir
557 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
558 $(am__remove_distdir)
559
560# This target untars the dist file and tries a VPATH configuration. Then
561# it guarantees that the distribution is self-contained by making another
562# tarfile.
563distcheck: dist
564 case '$(DIST_ARCHIVES)' in \
565 *.tar.gz*) \
566 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
567 *.tar.bz2*) \
568 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
569 *.tar.lzma*) \
570 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
571 *.tar.lz*) \
572 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
573 *.tar.xz*) \
574 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
575 *.tar.Z*) \
576 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
577 *.shar.gz*) \
578 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
579 *.zip*) \
580 unzip $(distdir).zip ;;\
581 esac
582 chmod -R a-w $(distdir); chmod a+w $(distdir)
583 mkdir $(distdir)/_build
584 mkdir $(distdir)/_inst
585 chmod a-w $(distdir)
586 test -d $(distdir)/_build || exit 0; \
587 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
588 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
589 && am__cwd=`pwd` \
590 && $(am__cd) $(distdir)/_build \
591 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
592 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
593 $(DISTCHECK_CONFIGURE_FLAGS) \
594 && $(MAKE) $(AM_MAKEFLAGS) \
595 && $(MAKE) $(AM_MAKEFLAGS) dvi \
596 && $(MAKE) $(AM_MAKEFLAGS) check \
597 && $(MAKE) $(AM_MAKEFLAGS) install \
598 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
599 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
600 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
601 distuninstallcheck \
602 && chmod -R a-w "$$dc_install_base" \
603 && ({ \
604 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
605 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
606 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
607 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
608 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
609 } || { rm -rf "$$dc_destdir"; exit 1; }) \
610 && rm -rf "$$dc_destdir" \
611 && $(MAKE) $(AM_MAKEFLAGS) dist \
612 && rm -rf $(DIST_ARCHIVES) \
613 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
614 && cd "$$am__cwd" \
615 || exit 1
616 $(am__remove_distdir)
617 @(echo "$(distdir) archives ready for distribution: "; \
618 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
619 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
620distuninstallcheck:
621 @test -n '$(distuninstallcheck_dir)' || { \
622 echo 'ERROR: trying to run $@ with an empty' \
623 '$$(distuninstallcheck_dir)' >&2; \
624 exit 1; \
625 }; \
626 $(am__cd) '$(distuninstallcheck_dir)' || { \
627 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
628 exit 1; \
629 }; \
630 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
631 || { echo "ERROR: files left after uninstall:" ; \
632 if test -n "$(DESTDIR)"; then \
633 echo " (check DESTDIR support)"; \
634 fi ; \
635 $(distuninstallcheck_listfiles) ; \
636 exit 1; } >&2
637distcleancheck: distclean
638 @if test '$(srcdir)' = . ; then \
639 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
640 exit 1 ; \
641 fi
642 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
643 || { echo "ERROR: files left in build directory after distclean:" ; \
644 $(distcleancheck_listfiles) ; \
645 exit 1; } >&2
646check-am: all-am
647check: check-recursive
648all-am: Makefile config.h
649installdirs: installdirs-recursive
650installdirs-am:
651install: install-recursive
652install-exec: install-exec-recursive
653install-data: install-data-recursive
654uninstall: uninstall-recursive
655
656install-am: all-am
657 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
658
659installcheck: installcheck-recursive
660install-strip:
661 if test -z '$(STRIP)'; then \
662 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
663 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
664 install; \
665 else \
666 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
667 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
668 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
669 fi
670mostlyclean-generic:
671
672clean-generic:
673
674distclean-generic:
675 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
676 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
677
678maintainer-clean-generic:
679 @echo "This command is intended for maintainers to use"
680 @echo "it deletes files that may require special tools to rebuild."
681clean: clean-recursive
682
683clean-am: clean-generic mostlyclean-am
684
685distclean: distclean-recursive
686 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
687 -rm -f Makefile
688distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
689
690dvi: dvi-recursive
691
692dvi-am:
693
694html: html-recursive
695
696html-am:
697
698info: info-recursive
699
700info-am:
701
702install-data-am:
703
704install-dvi: install-dvi-recursive
705
706install-dvi-am:
707
708install-exec-am:
709
710install-html: install-html-recursive
711
712install-html-am:
713
714install-info: install-info-recursive
715
716install-info-am:
717
718install-man:
719
720install-pdf: install-pdf-recursive
721
722install-pdf-am:
723
724install-ps: install-ps-recursive
725
726install-ps-am:
727
728installcheck-am:
729
730maintainer-clean: maintainer-clean-recursive
731 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
732 -rm -rf $(top_srcdir)/autom4te.cache
733 -rm -f Makefile
734maintainer-clean-am: distclean-am maintainer-clean-generic
735
736mostlyclean: mostlyclean-recursive
737
738mostlyclean-am: mostlyclean-generic
739
740pdf: pdf-recursive
741
742pdf-am:
743
744ps: ps-recursive
745
746ps-am:
747
748uninstall-am:
749
750.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
751 ctags-recursive install-am install-strip tags-recursive
752
753.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
754 all all-am am--refresh check check-am clean clean-generic \
755 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
756 dist-hook dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \
757 dist-zip distcheck distclean distclean-generic distclean-hdr \
758 distclean-tags distcleancheck distdir distuninstallcheck dvi \
759 dvi-am html html-am info info-am install install-am \
760 install-data install-data-am install-dvi install-dvi-am \
761 install-exec install-exec-am install-html install-html-am \
762 install-info install-info-am install-man install-pdf \
763 install-pdf-am install-ps install-ps-am install-strip \
764 installcheck installcheck-am installdirs installdirs-am \
765 maintainer-clean maintainer-clean-generic mostlyclean \
766 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
767 uninstall uninstall-am
768
769
770dist-hook:
771 @if test -d "$(top_srcdir)/.bzr"; \
772 then \
773 echo Creating ChangeLog && \
774 ( cd "$(top_srcdir)" && \
775 echo '# Generated by Makefile. Do not edit.'; echo; \
776 $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \
777 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
778 || (rm -f ChangeLog.tmp; \
779 echo Failed to generate ChangeLog >&2 ); \
780 else \
781 echo Failed to generate ChangeLog: not a branch >&2; \
782 fi
783 @if test -d "$(top_srcdir)/.bzr"; \
784 then \
785 echo Creating AUTHORS && \
786 ( cd "$(top_srcdir)" && \
787 echo '# Generated by Makefile. Do not edit.'; echo; \
788 $(top_srcdir)/missing --run bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \
789 && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \
790 || (rm -f AUTHORS.tmp; \
791 echo Failed to generate AUTHORS >&2 ); \
792 else \
793 echo Failed to generate AUTHORS: not a branch >&2; \
794 fi
795
796# Tell versions [3.59,3.63) of GNU make to not export all variables.
797# Otherwise a system limit (for SysV at least) may be exceeded.
798.NOEXPORT:
7990
=== removed file 'aclocal.m4'
--- aclocal.m4 2012-08-09 18:47:22 +0000
+++ aclocal.m4 1970-01-01 00:00:00 +0000
@@ -1,2009 +0,0 @@
1# generated automatically by aclocal 1.11.5 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5# Inc.
6# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
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.
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'.])])
22
23# Copyright (C) 1995-2002 Free Software Foundation, Inc.
24# Copyright (C) 2001-2003,2004 Red Hat, Inc.
25#
26# This file is free software, distributed under the terms of the GNU
27# General Public License. As a special exception to the GNU General
28# Public License, this file may be distributed as part of a program
29# that contains a configuration script generated by Autoconf, under
30# the same distribution terms as the rest of that program.
31#
32# This file can be copied and used freely without restrictions. It can
33# be used in projects which are not available under the GNU Public License
34# but which still want to provide support for the GNU gettext functionality.
35#
36# Macro to add for using GNU gettext.
37# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
38#
39# Modified to never use included libintl.
40# Owen Taylor <otaylor@redhat.com>, 12/15/1998
41#
42# Major rework to remove unused code
43# Owen Taylor <otaylor@redhat.com>, 12/11/2002
44#
45# Added better handling of ALL_LINGUAS from GNU gettext version
46# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
47#
48# Modified to require ngettext
49# Matthias Clasen <mclasen@redhat.com> 08/06/2004
50#
51# We need this here as well, since someone might use autoconf-2.5x
52# to configure GLib then an older version to configure a package
53# using AM_GLIB_GNU_GETTEXT
54AC_PREREQ(2.53)
55
56dnl
57dnl We go to great lengths to make sure that aclocal won't
58dnl try to pull in the installed version of these macros
59dnl when running aclocal in the glib directory.
60dnl
61m4_copy([AC_DEFUN],[glib_DEFUN])
62m4_copy([AC_REQUIRE],[glib_REQUIRE])
63dnl
64dnl At the end, if we're not within glib, we'll define the public
65dnl definitions in terms of our private definitions.
66dnl
67
68# GLIB_LC_MESSAGES
69#--------------------
70glib_DEFUN([GLIB_LC_MESSAGES],
71 [AC_CHECK_HEADERS([locale.h])
72 if test $ac_cv_header_locale_h = yes; then
73 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
74 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
75 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
76 if test $am_cv_val_LC_MESSAGES = yes; then
77 AC_DEFINE(HAVE_LC_MESSAGES, 1,
78 [Define if your <locale.h> file defines LC_MESSAGES.])
79 fi
80 fi])
81
82# GLIB_PATH_PROG_WITH_TEST
83#----------------------------
84dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
85dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
86glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
87[# Extract the first word of "$2", so it can be a program name with args.
88set dummy $2; ac_word=[$]2
89AC_MSG_CHECKING([for $ac_word])
90AC_CACHE_VAL(ac_cv_path_$1,
91[case "[$]$1" in
92 /*)
93 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
94 ;;
95 *)
96 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
97 for ac_dir in ifelse([$5], , $PATH, [$5]); do
98 test -z "$ac_dir" && ac_dir=.
99 if test -f $ac_dir/$ac_word; then
100 if [$3]; then
101 ac_cv_path_$1="$ac_dir/$ac_word"
102 break
103 fi
104 fi
105 done
106 IFS="$ac_save_ifs"
107dnl If no 4th arg is given, leave the cache variable unset,
108dnl so AC_PATH_PROGS will keep looking.
109ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
110])dnl
111 ;;
112esac])dnl
113$1="$ac_cv_path_$1"
114if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
115 AC_MSG_RESULT([$]$1)
116else
117 AC_MSG_RESULT(no)
118fi
119AC_SUBST($1)dnl
120])
121
122# GLIB_WITH_NLS
123#-----------------
124glib_DEFUN([GLIB_WITH_NLS],
125 dnl NLS is obligatory
126 [USE_NLS=yes
127 AC_SUBST(USE_NLS)
128
129 gt_cv_have_gettext=no
130
131 CATOBJEXT=NONE
132 XGETTEXT=:
133 INTLLIBS=
134
135 AC_CHECK_HEADER(libintl.h,
136 [gt_cv_func_dgettext_libintl="no"
137 libintl_extra_libs=""
138
139 #
140 # First check in libc
141 #
142 AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
143 [AC_TRY_LINK([
144#include <libintl.h>
145],
146 [return !ngettext ("","", 1)],
147 gt_cv_func_ngettext_libc=yes,
148 gt_cv_func_ngettext_libc=no)
149 ])
150
151 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
152 AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
153 [AC_TRY_LINK([
154#include <libintl.h>
155],
156 [return !dgettext ("","")],
157 gt_cv_func_dgettext_libc=yes,
158 gt_cv_func_dgettext_libc=no)
159 ])
160 fi
161
162 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
163 AC_CHECK_FUNCS(bind_textdomain_codeset)
164 fi
165
166 #
167 # If we don't have everything we want, check in libintl
168 #
169 if test "$gt_cv_func_dgettext_libc" != "yes" \
170 || test "$gt_cv_func_ngettext_libc" != "yes" \
171 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
172
173 AC_CHECK_LIB(intl, bindtextdomain,
174 [AC_CHECK_LIB(intl, ngettext,
175 [AC_CHECK_LIB(intl, dgettext,
176 gt_cv_func_dgettext_libintl=yes)])])
177
178 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
179 AC_MSG_CHECKING([if -liconv is needed to use gettext])
180 AC_MSG_RESULT([])
181 AC_CHECK_LIB(intl, ngettext,
182 [AC_CHECK_LIB(intl, dcgettext,
183 [gt_cv_func_dgettext_libintl=yes
184 libintl_extra_libs=-liconv],
185 :,-liconv)],
186 :,-liconv)
187 fi
188
189 #
190 # If we found libintl, then check in it for bind_textdomain_codeset();
191 # we'll prefer libc if neither have bind_textdomain_codeset(),
192 # and both have dgettext and ngettext
193 #
194 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
195 glib_save_LIBS="$LIBS"
196 LIBS="$LIBS -lintl $libintl_extra_libs"
197 unset ac_cv_func_bind_textdomain_codeset
198 AC_CHECK_FUNCS(bind_textdomain_codeset)
199 LIBS="$glib_save_LIBS"
200
201 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
202 gt_cv_func_dgettext_libc=no
203 else
204 if test "$gt_cv_func_dgettext_libc" = "yes" \
205 && test "$gt_cv_func_ngettext_libc" = "yes"; then
206 gt_cv_func_dgettext_libintl=no
207 fi
208 fi
209 fi
210 fi
211
212 if test "$gt_cv_func_dgettext_libc" = "yes" \
213 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
214 gt_cv_have_gettext=yes
215 fi
216
217 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
218 INTLLIBS="-lintl $libintl_extra_libs"
219 fi
220
221 if test "$gt_cv_have_gettext" = "yes"; then
222 AC_DEFINE(HAVE_GETTEXT,1,
223 [Define if the GNU gettext() function is already present or preinstalled.])
224 GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
225 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
226 if test "$MSGFMT" != "no"; then
227 glib_save_LIBS="$LIBS"
228 LIBS="$LIBS $INTLLIBS"
229 AC_CHECK_FUNCS(dcgettext)
230 MSGFMT_OPTS=
231 AC_MSG_CHECKING([if msgfmt accepts -c])
232 GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
233msgid ""
234msgstr ""
235"Content-Type: text/plain; charset=UTF-8\n"
236"Project-Id-Version: test 1.0\n"
237"PO-Revision-Date: 2007-02-15 12:01+0100\n"
238"Last-Translator: test <foo@bar.xx>\n"
239"Language-Team: C <LL@li.org>\n"
240"MIME-Version: 1.0\n"
241"Content-Transfer-Encoding: 8bit\n"
242], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
243 AC_SUBST(MSGFMT_OPTS)
244 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
245 GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
246 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
247 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
248 return _nl_msg_cat_cntr],
249 [CATOBJEXT=.gmo
250 DATADIRNAME=share],
251 [case $host in
252 *-*-solaris*)
253 dnl On Solaris, if bind_textdomain_codeset is in libc,
254 dnl GNU format message catalog is always supported,
255 dnl since both are added to the libc all together.
256 dnl Hence, we'd like to go with DATADIRNAME=share and
257 dnl and CATOBJEXT=.gmo in this case.
258 AC_CHECK_FUNC(bind_textdomain_codeset,
259 [CATOBJEXT=.gmo
260 DATADIRNAME=share],
261 [CATOBJEXT=.mo
262 DATADIRNAME=lib])
263 ;;
264 *-*-openbsd*)
265 CATOBJEXT=.mo
266 DATADIRNAME=share
267 ;;
268 *)
269 CATOBJEXT=.mo
270 DATADIRNAME=lib
271 ;;
272 esac])
273 LIBS="$glib_save_LIBS"
274 INSTOBJEXT=.mo
275 else
276 gt_cv_have_gettext=no
277 fi
278 fi
279 ])
280
281 if test "$gt_cv_have_gettext" = "yes" ; then
282 AC_DEFINE(ENABLE_NLS, 1,
283 [always defined to indicate that i18n is enabled])
284 fi
285
286 dnl Test whether we really found GNU xgettext.
287 if test "$XGETTEXT" != ":"; then
288 dnl If it is not GNU xgettext we define it as : so that the
289 dnl Makefiles still can work.
290 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
291 : ;
292 else
293 AC_MSG_RESULT(
294 [found xgettext program is not GNU xgettext; ignore it])
295 XGETTEXT=":"
296 fi
297 fi
298
299 # We need to process the po/ directory.
300 POSUB=po
301
302 AC_OUTPUT_COMMANDS(
303 [case "$CONFIG_FILES" in *po/Makefile.in*)
304 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
305 esac])
306
307 dnl These rules are solely for the distribution goal. While doing this
308 dnl we only have to keep exactly one list of the available catalogs
309 dnl in configure.ac.
310 for lang in $ALL_LINGUAS; do
311 GMOFILES="$GMOFILES $lang.gmo"
312 POFILES="$POFILES $lang.po"
313 done
314
315 dnl Make all variables we use known to autoconf.
316 AC_SUBST(CATALOGS)
317 AC_SUBST(CATOBJEXT)
318 AC_SUBST(DATADIRNAME)
319 AC_SUBST(GMOFILES)
320 AC_SUBST(INSTOBJEXT)
321 AC_SUBST(INTLLIBS)
322 AC_SUBST(PO_IN_DATADIR_TRUE)
323 AC_SUBST(PO_IN_DATADIR_FALSE)
324 AC_SUBST(POFILES)
325 AC_SUBST(POSUB)
326 ])
327
328# AM_GLIB_GNU_GETTEXT
329# -------------------
330# Do checks necessary for use of gettext. If a suitable implementation
331# of gettext is found in either in libintl or in the C library,
332# it will set INTLLIBS to the libraries needed for use of gettext
333# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
334# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
335# on various variables needed by the Makefile.in.in installed by
336# glib-gettextize.
337dnl
338glib_DEFUN([GLIB_GNU_GETTEXT],
339 [AC_REQUIRE([AC_PROG_CC])dnl
340 AC_REQUIRE([AC_HEADER_STDC])dnl
341
342 GLIB_LC_MESSAGES
343 GLIB_WITH_NLS
344
345 if test "$gt_cv_have_gettext" = "yes"; then
346 if test "x$ALL_LINGUAS" = "x"; then
347 LINGUAS=
348 else
349 AC_MSG_CHECKING(for catalogs to be installed)
350 NEW_LINGUAS=
351 for presentlang in $ALL_LINGUAS; do
352 useit=no
353 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
354 desiredlanguages="$LINGUAS"
355 else
356 desiredlanguages="$ALL_LINGUAS"
357 fi
358 for desiredlang in $desiredlanguages; do
359 # Use the presentlang catalog if desiredlang is
360 # a. equal to presentlang, or
361 # b. a variant of presentlang (because in this case,
362 # presentlang can be used as a fallback for messages
363 # which are not translated in the desiredlang catalog).
364 case "$desiredlang" in
365 "$presentlang"*) useit=yes;;
366 esac
367 done
368 if test $useit = yes; then
369 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
370 fi
371 done
372 LINGUAS=$NEW_LINGUAS
373 AC_MSG_RESULT($LINGUAS)
374 fi
375
376 dnl Construct list of names of catalog files to be constructed.
377 if test -n "$LINGUAS"; then
378 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
379 fi
380 fi
381
382 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
383 dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
384 dnl Try to locate is.
385 MKINSTALLDIRS=
386 if test -n "$ac_aux_dir"; then
387 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
388 fi
389 if test -z "$MKINSTALLDIRS"; then
390 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
391 fi
392 AC_SUBST(MKINSTALLDIRS)
393
394 dnl Generate list of files to be processed by xgettext which will
395 dnl be included in po/Makefile.
396 test -d po || mkdir po
397 if test "x$srcdir" != "x."; then
398 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
399 posrcprefix="$srcdir/"
400 else
401 posrcprefix="../$srcdir/"
402 fi
403 else
404 posrcprefix="../"
405 fi
406 rm -f po/POTFILES
407 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
408 < $srcdir/po/POTFILES.in > po/POTFILES
409 ])
410
411# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
412# -------------------------------
413# Define VARIABLE to the location where catalog files will
414# be installed by po/Makefile.
415glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
416[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
417glib_save_prefix="$prefix"
418glib_save_exec_prefix="$exec_prefix"
419glib_save_datarootdir="$datarootdir"
420test "x$prefix" = xNONE && prefix=$ac_default_prefix
421test "x$exec_prefix" = xNONE && exec_prefix=$prefix
422datarootdir=`eval echo "${datarootdir}"`
423if test "x$CATOBJEXT" = "x.mo" ; then
424 localedir=`eval echo "${libdir}/locale"`
425else
426 localedir=`eval echo "${datadir}/locale"`
427fi
428prefix="$glib_save_prefix"
429exec_prefix="$glib_save_exec_prefix"
430datarootdir="$glib_save_datarootdir"
431AC_DEFINE_UNQUOTED($1, "$localedir",
432 [Define the location where the catalogs will be installed])
433])
434
435dnl
436dnl Now the definitions that aclocal will find
437dnl
438ifdef(glib_configure_ac,[],[
439AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
440AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
441])dnl
442
443# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
444#
445# Create a temporary file with TEST-FILE as its contents and pass the
446# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
447# 0 and perform ACTION-IF-FAIL for any other exit status.
448AC_DEFUN([GLIB_RUN_PROG],
449[cat >conftest.foo <<_ACEOF
450$2
451_ACEOF
452if AC_RUN_LOG([$1 conftest.foo]); then
453 m4_ifval([$3], [$3], [:])
454m4_ifvaln([$4], [else $4])dnl
455echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
456sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
457fi])
458
459
460dnl GLIB_GSETTINGS
461dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
462dnl the schema should be compiled
463dnl
464
465AC_DEFUN([GLIB_GSETTINGS],
466[
467 m4_pattern_allow([AM_V_GEN])
468 AC_ARG_ENABLE(schemas-compile,
469 AS_HELP_STRING([--disable-schemas-compile],
470 [Disable regeneration of gschemas.compiled on install]),
471 [case ${enableval} in
472 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
473 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
474 *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;;
475 esac])
476 AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
477 PKG_PROG_PKG_CONFIG([0.16])
478 AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
479 if test x$cross_compiling != xyes; then
480 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
481 else
482 AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas)
483 fi
484 AC_SUBST(GLIB_COMPILE_SCHEMAS)
485 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
486 ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])
487 else
488 ifelse([$1],,[:],[$1])
489 fi
490
491 GSETTINGS_RULES='
492.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
493
494mostlyclean-am: clean-gsettings-schemas
495
496gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
497
498%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
499 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@
500
501all-am: $(gsettings_SCHEMAS:.xml=.valid)
502uninstall-am: uninstall-gsettings-schemas
503install-data-am: install-gsettings-schemas
504
505.SECONDARY: $(gsettings_SCHEMAS)
506
507install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
508 @$(NORMAL_INSTALL)
509 if test -n "$^"; then \
510 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
511 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
512 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
513 fi
514
515uninstall-gsettings-schemas:
516 @$(NORMAL_UNINSTALL)
517 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
518 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
519 test -n "$$files" || exit 0; \
520 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
521 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
522 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
523
524clean-gsettings-schemas:
525 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
526
527ifdef gsettings_ENUM_NAMESPACE
528$(gsettings__enum_file): $(gsettings_ENUM_FILES)
529 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
530endif
531'
532 _GSETTINGS_SUBST(GSETTINGS_RULES)
533])
534
535dnl _GSETTINGS_SUBST(VARIABLE)
536dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
537AC_DEFUN([_GSETTINGS_SUBST],
538[
539AC_SUBST([$1])
540m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
541]
542)
543
544
545dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
546# serial 42 IT_PROG_INTLTOOL
547AC_DEFUN([IT_PROG_INTLTOOL], [
548AC_PREREQ([2.50])dnl
549AC_REQUIRE([AM_NLS])dnl
550
551case "$am__api_version" in
552 1.[01234])
553 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
554 ;;
555 *)
556 ;;
557esac
558
559INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
560INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
561INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
562if test -n "$1"; then
563 AC_MSG_CHECKING([for intltool >= $1])
564 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
565 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
566 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
567fi
568
569AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
570AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
571AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
572if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
573 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
574fi
575
576if test -z "$AM_DEFAULT_VERBOSITY"; then
577 AM_DEFAULT_VERBOSITY=1
578fi
579AC_SUBST([AM_DEFAULT_VERBOSITY])
580
581INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
582INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
583INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;'
584AC_SUBST(INTLTOOL_V_MERGE)
585AC_SUBST(INTLTOOL__v_MERGE_)
586AC_SUBST(INTLTOOL__v_MERGE_0)
587
588INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
589intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
590intltool__v_merge_options_0='-q'
591AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
592AC_SUBST(intltool__v_merge_options_)
593AC_SUBST(intltool__v_merge_options_0)
594
595 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
596INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
597 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
598 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
599 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
600 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
601 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
602 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
603INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
604 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
605 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
606if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
607 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
608else
609 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
610fi
611 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
612 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
613 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
614 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
615 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
616 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
617 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
618
619_IT_SUBST(INTLTOOL_DESKTOP_RULE)
620_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
621_IT_SUBST(INTLTOOL_KEYS_RULE)
622_IT_SUBST(INTLTOOL_PROP_RULE)
623_IT_SUBST(INTLTOOL_OAF_RULE)
624_IT_SUBST(INTLTOOL_PONG_RULE)
625_IT_SUBST(INTLTOOL_SERVER_RULE)
626_IT_SUBST(INTLTOOL_SHEET_RULE)
627_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
628_IT_SUBST(INTLTOOL_UI_RULE)
629_IT_SUBST(INTLTOOL_XAM_RULE)
630_IT_SUBST(INTLTOOL_KBD_RULE)
631_IT_SUBST(INTLTOOL_XML_RULE)
632_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
633_IT_SUBST(INTLTOOL_CAVES_RULE)
634_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
635_IT_SUBST(INTLTOOL_THEME_RULE)
636_IT_SUBST(INTLTOOL_SERVICE_RULE)
637_IT_SUBST(INTLTOOL_POLICY_RULE)
638
639# Check the gettext tools to make sure they are GNU
640AC_PATH_PROG(XGETTEXT, xgettext)
641AC_PATH_PROG(MSGMERGE, msgmerge)
642AC_PATH_PROG(MSGFMT, msgfmt)
643AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
644if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
645 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
646fi
647xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
648mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
649mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
650if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
651 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
652fi
653
654AC_PATH_PROG(INTLTOOL_PERL, perl)
655if test -z "$INTLTOOL_PERL"; then
656 AC_MSG_ERROR([perl not found])
657fi
658AC_MSG_CHECKING([for perl >= 5.8.1])
659$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
660if test $? -ne 0; then
661 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
662else
663 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
664 AC_MSG_RESULT([$IT_PERL_VERSION])
665fi
666if test "x$2" != "xno-xml"; then
667 AC_MSG_CHECKING([for XML::Parser])
668 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
669 AC_MSG_RESULT([ok])
670 else
671 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
672 fi
673fi
674
675# Substitute ALL_LINGUAS so we can use it in po/Makefile
676AC_SUBST(ALL_LINGUAS)
677
678# Set DATADIRNAME correctly if it is not set yet
679# (copied from glib-gettext.m4)
680if test -z "$DATADIRNAME"; then
681 AC_LINK_IFELSE(
682 [AC_LANG_PROGRAM([[]],
683 [[extern int _nl_msg_cat_cntr;
684 return _nl_msg_cat_cntr]])],
685 [DATADIRNAME=share],
686 [case $host in
687 *-*-solaris*)
688 dnl On Solaris, if bind_textdomain_codeset is in libc,
689 dnl GNU format message catalog is always supported,
690 dnl since both are added to the libc all together.
691 dnl Hence, we'd like to go with DATADIRNAME=share
692 dnl in this case.
693 AC_CHECK_FUNC(bind_textdomain_codeset,
694 [DATADIRNAME=share], [DATADIRNAME=lib])
695 ;;
696 *)
697 [DATADIRNAME=lib]
698 ;;
699 esac])
700fi
701AC_SUBST(DATADIRNAME)
702
703IT_PO_SUBDIR([po])
704
705])
706
707
708# IT_PO_SUBDIR(DIRNAME)
709# ---------------------
710# All po subdirs have to be declared with this macro; the subdir "po" is
711# declared by IT_PROG_INTLTOOL.
712#
713AC_DEFUN([IT_PO_SUBDIR],
714[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
715dnl
716dnl The following CONFIG_COMMANDS should be executed at the very end
717dnl of config.status.
718AC_CONFIG_COMMANDS_PRE([
719 AC_CONFIG_COMMANDS([$1/stamp-it], [
720 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
721 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
722 fi
723 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
724 >"$1/stamp-it.tmp"
725 [sed '/^#/d
726 s/^[[].*] *//
727 /^[ ]*$/d
728 '"s|^| $ac_top_srcdir/|" \
729 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
730 ]
731 [sed '/^POTFILES =/,/[^\\]$/ {
732 /^POTFILES =/!d
733 r $1/POTFILES
734 }
735 ' "$1/Makefile.in" >"$1/Makefile"]
736 rm -f "$1/Makefile.tmp"
737 mv "$1/stamp-it.tmp" "$1/stamp-it"
738 ])
739])dnl
740])
741
742# _IT_SUBST(VARIABLE)
743# -------------------
744# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
745#
746AC_DEFUN([_IT_SUBST],
747[
748AC_SUBST([$1])
749m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
750]
751)
752
753# deprecated macros
754AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
755# A hint is needed for aclocal from Automake <= 1.9.4:
756# AC_DEFUN([AC_PROG_INTLTOOL], ...)
757
758
759# nls.m4 serial 5 (gettext-0.18)
760dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
761dnl Inc.
762dnl This file is free software; the Free Software Foundation
763dnl gives unlimited permission to copy and/or distribute it,
764dnl with or without modifications, as long as this notice is preserved.
765dnl
766dnl This file can can be used in projects which are not available under
767dnl the GNU General Public License or the GNU Library General Public
768dnl License but which still want to provide support for the GNU gettext
769dnl functionality.
770dnl Please note that the actual code of the GNU gettext library is covered
771dnl by the GNU Library General Public License, and the rest of the GNU
772dnl gettext package package is covered by the GNU General Public License.
773dnl They are *not* in the public domain.
774
775dnl Authors:
776dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
777dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
778
779AC_PREREQ([2.50])
780
781AC_DEFUN([AM_NLS],
782[
783 AC_MSG_CHECKING([whether NLS is requested])
784 dnl Default is enabled NLS
785 AC_ARG_ENABLE([nls],
786 [ --disable-nls do not use Native Language Support],
787 USE_NLS=$enableval, USE_NLS=yes)
788 AC_MSG_RESULT([$USE_NLS])
789 AC_SUBST([USE_NLS])
790])
791
792# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
793# serial 1 (pkg-config-0.24)
794#
795# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
796#
797# This program is free software; you can redistribute it and/or modify
798# it under the terms of the GNU General Public License as published by
799# the Free Software Foundation; either version 2 of the License, or
800# (at your option) any later version.
801#
802# This program is distributed in the hope that it will be useful, but
803# WITHOUT ANY WARRANTY; without even the implied warranty of
804# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
805# General Public License for more details.
806#
807# You should have received a copy of the GNU General Public License
808# along with this program; if not, write to the Free Software
809# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
810#
811# As a special exception to the GNU General Public License, if you
812# distribute this file as part of a program that contains a
813# configuration script generated by Autoconf, you may include it under
814# the same distribution terms that you use for the rest of that program.
815
816# PKG_PROG_PKG_CONFIG([MIN-VERSION])
817# ----------------------------------
818AC_DEFUN([PKG_PROG_PKG_CONFIG],
819[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
820m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
821m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
822AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
823AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
824AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
825
826if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
827 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
828fi
829if test -n "$PKG_CONFIG"; then
830 _pkg_min_version=m4_default([$1], [0.9.0])
831 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
832 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
833 AC_MSG_RESULT([yes])
834 else
835 AC_MSG_RESULT([no])
836 PKG_CONFIG=""
837 fi
838fi[]dnl
839])# PKG_PROG_PKG_CONFIG
840
841# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
842#
843# Check to see whether a particular set of modules exists. Similar
844# to PKG_CHECK_MODULES(), but does not set variables or print errors.
845#
846# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
847# only at the first occurence in configure.ac, so if the first place
848# it's called might be skipped (such as if it is within an "if", you
849# have to call PKG_CHECK_EXISTS manually
850# --------------------------------------------------------------
851AC_DEFUN([PKG_CHECK_EXISTS],
852[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
853if test -n "$PKG_CONFIG" && \
854 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
855 m4_default([$2], [:])
856m4_ifvaln([$3], [else
857 $3])dnl
858fi])
859
860# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
861# ---------------------------------------------
862m4_define([_PKG_CONFIG],
863[if test -n "$$1"; then
864 pkg_cv_[]$1="$$1"
865 elif test -n "$PKG_CONFIG"; then
866 PKG_CHECK_EXISTS([$3],
867 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
868 test "x$?" != "x0" && pkg_failed=yes ],
869 [pkg_failed=yes])
870 else
871 pkg_failed=untried
872fi[]dnl
873])# _PKG_CONFIG
874
875# _PKG_SHORT_ERRORS_SUPPORTED
876# -----------------------------
877AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
878[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
879if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
880 _pkg_short_errors_supported=yes
881else
882 _pkg_short_errors_supported=no
883fi[]dnl
884])# _PKG_SHORT_ERRORS_SUPPORTED
885
886
887# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
888# [ACTION-IF-NOT-FOUND])
889#
890#
891# Note that if there is a possibility the first call to
892# PKG_CHECK_MODULES might not happen, you should be sure to include an
893# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
894#
895#
896# --------------------------------------------------------------
897AC_DEFUN([PKG_CHECK_MODULES],
898[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
899AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
900AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
901
902pkg_failed=no
903AC_MSG_CHECKING([for $1])
904
905_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
906_PKG_CONFIG([$1][_LIBS], [libs], [$2])
907
908m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
909and $1[]_LIBS to avoid the need to call pkg-config.
910See the pkg-config man page for more details.])
911
912if test $pkg_failed = yes; then
913 AC_MSG_RESULT([no])
914 _PKG_SHORT_ERRORS_SUPPORTED
915 if test $_pkg_short_errors_supported = yes; then
916 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
917 else
918 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
919 fi
920 # Put the nasty error message in config.log where it belongs
921 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
922
923 m4_default([$4], [AC_MSG_ERROR(
924[Package requirements ($2) were not met:
925
926$$1_PKG_ERRORS
927
928Consider adjusting the PKG_CONFIG_PATH environment variable if you
929installed software in a non-standard prefix.
930
931_PKG_TEXT])[]dnl
932 ])
933elif test $pkg_failed = untried; then
934 AC_MSG_RESULT([no])
935 m4_default([$4], [AC_MSG_FAILURE(
936[The pkg-config script could not be found or is too old. Make sure it
937is in your PATH or set the PKG_CONFIG environment variable to the full
938path to pkg-config.
939
940_PKG_TEXT
941
942To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
943 ])
944else
945 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
946 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
947 AC_MSG_RESULT([yes])
948 $3
949fi[]dnl
950])# PKG_CHECK_MODULES
951
952# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
953# Foundation, Inc.
954#
955# This file is free software; the Free Software Foundation
956# gives unlimited permission to copy and/or distribute it,
957# with or without modifications, as long as this notice is preserved.
958
959# serial 1
960
961# AM_AUTOMAKE_VERSION(VERSION)
962# ----------------------------
963# Automake X.Y traces this macro to ensure aclocal.m4 has been
964# generated from the m4 files accompanying Automake X.Y.
965# (This private macro should not be called outside this file.)
966AC_DEFUN([AM_AUTOMAKE_VERSION],
967[am__api_version='1.11'
968dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
969dnl require some minimum version. Point them to the right macro.
970m4_if([$1], [1.11.5], [],
971 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
972])
973
974# _AM_AUTOCONF_VERSION(VERSION)
975# -----------------------------
976# aclocal traces this macro to find the Autoconf version.
977# This is a private macro too. Using m4_define simplifies
978# the logic in aclocal, which can simply ignore this definition.
979m4_define([_AM_AUTOCONF_VERSION], [])
980
981# AM_SET_CURRENT_AUTOMAKE_VERSION
982# -------------------------------
983# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
984# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
985AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
986[AM_AUTOMAKE_VERSION([1.11.5])dnl
987m4_ifndef([AC_AUTOCONF_VERSION],
988 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
989_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
990
991# AM_AUX_DIR_EXPAND -*- Autoconf -*-
992
993# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
994#
995# This file is free software; the Free Software Foundation
996# gives unlimited permission to copy and/or distribute it,
997# with or without modifications, as long as this notice is preserved.
998
999# serial 1
1000
1001# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1002# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
1003# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1004#
1005# Of course, Automake must honor this variable whenever it calls a
1006# tool from the auxiliary directory. The problem is that $srcdir (and
1007# therefore $ac_aux_dir as well) can be either absolute or relative,
1008# depending on how configure is run. This is pretty annoying, since
1009# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1010# source directory, any form will work fine, but in subdirectories a
1011# relative path needs to be adjusted first.
1012#
1013# $ac_aux_dir/missing
1014# fails when called from a subdirectory if $ac_aux_dir is relative
1015# $top_srcdir/$ac_aux_dir/missing
1016# fails if $ac_aux_dir is absolute,
1017# fails when called from a subdirectory in a VPATH build with
1018# a relative $ac_aux_dir
1019#
1020# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1021# are both prefixed by $srcdir. In an in-source build this is usually
1022# harmless because $srcdir is `.', but things will broke when you
1023# start a VPATH build or use an absolute $srcdir.
1024#
1025# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1026# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
1027# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1028# and then we would define $MISSING as
1029# MISSING="\${SHELL} $am_aux_dir/missing"
1030# This will work as long as MISSING is not called from configure, because
1031# unfortunately $(top_srcdir) has no meaning in configure.
1032# However there are other variables, like CC, which are often used in
1033# configure, and could therefore not use this "fixed" $ac_aux_dir.
1034#
1035# Another solution, used here, is to always expand $ac_aux_dir to an
1036# absolute PATH. The drawback is that using absolute paths prevent a
1037# configured tree to be moved without reconfiguration.
1038
1039AC_DEFUN([AM_AUX_DIR_EXPAND],
1040[dnl Rely on autoconf to set up CDPATH properly.
1041AC_PREREQ([2.50])dnl
1042# expand $ac_aux_dir to an absolute path
1043am_aux_dir=`cd $ac_aux_dir && pwd`
1044])
1045
1046# AM_CONDITIONAL -*- Autoconf -*-
1047
1048# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
1049# Free Software Foundation, Inc.
1050#
1051# This file is free software; the Free Software Foundation
1052# gives unlimited permission to copy and/or distribute it,
1053# with or without modifications, as long as this notice is preserved.
1054
1055# serial 9
1056
1057# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1058# -------------------------------------
1059# Define a conditional.
1060AC_DEFUN([AM_CONDITIONAL],
1061[AC_PREREQ(2.52)dnl
1062 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1063 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1064AC_SUBST([$1_TRUE])dnl
1065AC_SUBST([$1_FALSE])dnl
1066_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1067_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1068m4_define([_AM_COND_VALUE_$1], [$2])dnl
1069if $2; then
1070 $1_TRUE=
1071 $1_FALSE='#'
1072else
1073 $1_TRUE='#'
1074 $1_FALSE=
1075fi
1076AC_CONFIG_COMMANDS_PRE(
1077[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1078 AC_MSG_ERROR([[conditional "$1" was never defined.
1079Usually this means the macro was only invoked conditionally.]])
1080fi])])
1081
1082# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
1083# 2010, 2011 Free Software Foundation, Inc.
1084#
1085# This file is free software; the Free Software Foundation
1086# gives unlimited permission to copy and/or distribute it,
1087# with or without modifications, as long as this notice is preserved.
1088
1089# serial 12
1090
1091# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1092# written in clear, in which case automake, when reading aclocal.m4,
1093# will think it sees a *use*, and therefore will trigger all it's
1094# C support machinery. Also note that it means that autoscan, seeing
1095# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1096
1097
1098# _AM_DEPENDENCIES(NAME)
1099# ----------------------
1100# See how the compiler implements dependency checking.
1101# NAME is "CC", "CXX", "GCJ", or "OBJC".
1102# We try a few techniques and use that to set a single cache variable.
1103#
1104# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1105# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1106# dependency, and given that the user is not expected to run this macro,
1107# just rely on AC_PROG_CC.
1108AC_DEFUN([_AM_DEPENDENCIES],
1109[AC_REQUIRE([AM_SET_DEPDIR])dnl
1110AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1111AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1112AC_REQUIRE([AM_DEP_TRACK])dnl
1113
1114ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1115 [$1], CXX, [depcc="$CXX" am_compiler_list=],
1116 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1117 [$1], UPC, [depcc="$UPC" am_compiler_list=],
1118 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1119 [depcc="$$1" am_compiler_list=])
1120
1121AC_CACHE_CHECK([dependency style of $depcc],
1122 [am_cv_$1_dependencies_compiler_type],
1123[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1124 # We make a subdir and do the tests there. Otherwise we can end up
1125 # making bogus files that we don't know about and never remove. For
1126 # instance it was reported that on HP-UX the gcc test will end up
1127 # making a dummy file named `D' -- because `-MD' means `put the output
1128 # in D'.
1129 rm -rf conftest.dir
1130 mkdir conftest.dir
1131 # Copy depcomp to subdir because otherwise we won't find it if we're
1132 # using a relative directory.
1133 cp "$am_depcomp" conftest.dir
1134 cd conftest.dir
1135 # We will build objects and dependencies in a subdirectory because
1136 # it helps to detect inapplicable dependency modes. For instance
1137 # both Tru64's cc and ICC support -MD to output dependencies as a
1138 # side effect of compilation, but ICC will put the dependencies in
1139 # the current directory while Tru64 will put them in the object
1140 # directory.
1141 mkdir sub
1142
1143 am_cv_$1_dependencies_compiler_type=none
1144 if test "$am_compiler_list" = ""; then
1145 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1146 fi
1147 am__universal=false
1148 m4_case([$1], [CC],
1149 [case " $depcc " in #(
1150 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1151 esac],
1152 [CXX],
1153 [case " $depcc " in #(
1154 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1155 esac])
1156
1157 for depmode in $am_compiler_list; do
1158 # Setup a source with many dependencies, because some compilers
1159 # like to wrap large dependency lists on column 80 (with \), and
1160 # we should not choose a depcomp mode which is confused by this.
1161 #
1162 # We need to recreate these files for each test, as the compiler may
1163 # overwrite some of them when testing with obscure command lines.
1164 # This happens at least with the AIX C compiler.
1165 : > sub/conftest.c
1166 for i in 1 2 3 4 5 6; do
1167 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1168 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1169 # Solaris 8's {/usr,}/bin/sh.
1170 touch sub/conftst$i.h
1171 done
1172 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1173
1174 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1175 # mode. It turns out that the SunPro C++ compiler does not properly
1176 # handle `-M -o', and we need to detect this. Also, some Intel
1177 # versions had trouble with output in subdirs
1178 am__obj=sub/conftest.${OBJEXT-o}
1179 am__minus_obj="-o $am__obj"
1180 case $depmode in
1181 gcc)
1182 # This depmode causes a compiler race in universal mode.
1183 test "$am__universal" = false || continue
1184 ;;
1185 nosideeffect)
1186 # after this tag, mechanisms are not by side-effect, so they'll
1187 # only be used when explicitly requested
1188 if test "x$enable_dependency_tracking" = xyes; then
1189 continue
1190 else
1191 break
1192 fi
1193 ;;
1194 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1195 # This compiler won't grok `-c -o', but also, the minuso test has
1196 # not run yet. These depmodes are late enough in the game, and
1197 # so weak that their functioning should not be impacted.
1198 am__obj=conftest.${OBJEXT-o}
1199 am__minus_obj=
1200 ;;
1201 none) break ;;
1202 esac
1203 if depmode=$depmode \
1204 source=sub/conftest.c object=$am__obj \
1205 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1206 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1207 >/dev/null 2>conftest.err &&
1208 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1209 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1210 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1211 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1212 # icc doesn't choke on unknown options, it will just issue warnings
1213 # or remarks (even with -Werror). So we grep stderr for any message
1214 # that says an option was ignored or not supported.
1215 # When given -MP, icc 7.0 and 7.1 complain thusly:
1216 # icc: Command line warning: ignoring option '-M'; no argument required
1217 # The diagnosis changed in icc 8.0:
1218 # icc: Command line remark: option '-MP' not supported
1219 if (grep 'ignoring option' conftest.err ||
1220 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1221 am_cv_$1_dependencies_compiler_type=$depmode
1222 break
1223 fi
1224 fi
1225 done
1226
1227 cd ..
1228 rm -rf conftest.dir
1229else
1230 am_cv_$1_dependencies_compiler_type=none
1231fi
1232])
1233AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1234AM_CONDITIONAL([am__fastdep$1], [
1235 test "x$enable_dependency_tracking" != xno \
1236 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1237])
1238
1239
1240# AM_SET_DEPDIR
1241# -------------
1242# Choose a directory name for dependency files.
1243# This macro is AC_REQUIREd in _AM_DEPENDENCIES
1244AC_DEFUN([AM_SET_DEPDIR],
1245[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1246AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1247])
1248
1249
1250# AM_DEP_TRACK
1251# ------------
1252AC_DEFUN([AM_DEP_TRACK],
1253[AC_ARG_ENABLE(dependency-tracking,
1254[ --disable-dependency-tracking speeds up one-time build
1255 --enable-dependency-tracking do not reject slow dependency extractors])
1256if test "x$enable_dependency_tracking" != xno; then
1257 am_depcomp="$ac_aux_dir/depcomp"
1258 AMDEPBACKSLASH='\'
1259 am__nodep='_no'
1260fi
1261AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1262AC_SUBST([AMDEPBACKSLASH])dnl
1263_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1264AC_SUBST([am__nodep])dnl
1265_AM_SUBST_NOTMAKE([am__nodep])dnl
1266])
1267
1268# Generate code to set up dependency tracking. -*- Autoconf -*-
1269
1270# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1271# Free Software Foundation, Inc.
1272#
1273# This file is free software; the Free Software Foundation
1274# gives unlimited permission to copy and/or distribute it,
1275# with or without modifications, as long as this notice is preserved.
1276
1277#serial 5
1278
1279# _AM_OUTPUT_DEPENDENCY_COMMANDS
1280# ------------------------------
1281AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1282[{
1283 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1284 # are listed without --file. Let's play safe and only enable the eval
1285 # if we detect the quoting.
1286 case $CONFIG_FILES in
1287 *\'*) eval set x "$CONFIG_FILES" ;;
1288 *) set x $CONFIG_FILES ;;
1289 esac
1290 shift
1291 for mf
1292 do
1293 # Strip MF so we end up with the name of the file.
1294 mf=`echo "$mf" | sed -e 's/:.*$//'`
1295 # Check whether this is an Automake generated Makefile or not.
1296 # We used to match only the files named `Makefile.in', but
1297 # some people rename them; so instead we look at the file content.
1298 # Grep'ing the first line is not enough: some people post-process
1299 # each Makefile.in and add a new line on top of each file to say so.
1300 # Grep'ing the whole file is not good either: AIX grep has a line
1301 # limit of 2048, but all sed's we know have understand at least 4000.
1302 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1303 dirpart=`AS_DIRNAME("$mf")`
1304 else
1305 continue
1306 fi
1307 # Extract the definition of DEPDIR, am__include, and am__quote
1308 # from the Makefile without running `make'.
1309 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1310 test -z "$DEPDIR" && continue
1311 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1312 test -z "am__include" && continue
1313 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1314 # When using ansi2knr, U may be empty or an underscore; expand it
1315 U=`sed -n 's/^U = //p' < "$mf"`
1316 # Find all dependency output files, they are included files with
1317 # $(DEPDIR) in their names. We invoke sed twice because it is the
1318 # simplest approach to changing $(DEPDIR) to its actual value in the
1319 # expansion.
1320 for file in `sed -n "
1321 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1322 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1323 # Make sure the directory exists.
1324 test -f "$dirpart/$file" && continue
1325 fdir=`AS_DIRNAME(["$file"])`
1326 AS_MKDIR_P([$dirpart/$fdir])
1327 # echo "creating $dirpart/$file"
1328 echo '# dummy' > "$dirpart/$file"
1329 done
1330 done
1331}
1332])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1333
1334
1335# AM_OUTPUT_DEPENDENCY_COMMANDS
1336# -----------------------------
1337# This macro should only be invoked once -- use via AC_REQUIRE.
1338#
1339# This code is only required when automatic dependency tracking
1340# is enabled. FIXME. This creates each `.P' file that we will
1341# need in order to bootstrap the dependency handling code.
1342AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1343[AC_CONFIG_COMMANDS([depfiles],
1344 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1345 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1346])
1347
1348# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1349# Free Software Foundation, Inc.
1350#
1351# This file is free software; the Free Software Foundation
1352# gives unlimited permission to copy and/or distribute it,
1353# with or without modifications, as long as this notice is preserved.
1354
1355# serial 8
1356
1357# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
1358AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1359
1360# Do all the work for Automake. -*- Autoconf -*-
1361
1362# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1363# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1364#
1365# This file is free software; the Free Software Foundation
1366# gives unlimited permission to copy and/or distribute it,
1367# with or without modifications, as long as this notice is preserved.
1368
1369# serial 16
1370
1371# This macro actually does too much. Some checks are only needed if
1372# your package does certain things. But this isn't really a big deal.
1373
1374# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1375# AM_INIT_AUTOMAKE([OPTIONS])
1376# -----------------------------------------------
1377# The call with PACKAGE and VERSION arguments is the old style
1378# call (pre autoconf-2.50), which is being phased out. PACKAGE
1379# and VERSION should now be passed to AC_INIT and removed from
1380# the call to AM_INIT_AUTOMAKE.
1381# We support both call styles for the transition. After
1382# the next Automake release, Autoconf can make the AC_INIT
1383# arguments mandatory, and then we can depend on a new Autoconf
1384# release and drop the old call support.
1385AC_DEFUN([AM_INIT_AUTOMAKE],
1386[AC_PREREQ([2.62])dnl
1387dnl Autoconf wants to disallow AM_ names. We explicitly allow
1388dnl the ones we care about.
1389m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1390AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1391AC_REQUIRE([AC_PROG_INSTALL])dnl
1392if test "`cd $srcdir && pwd`" != "`pwd`"; then
1393 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1394 # is not polluted with repeated "-I."
1395 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1396 # test to see if srcdir already configured
1397 if test -f $srcdir/config.status; then
1398 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1399 fi
1400fi
1401
1402# test whether we have cygpath
1403if test -z "$CYGPATH_W"; then
1404 if (cygpath --version) >/dev/null 2>/dev/null; then
1405 CYGPATH_W='cygpath -w'
1406 else
1407 CYGPATH_W=echo
1408 fi
1409fi
1410AC_SUBST([CYGPATH_W])
1411
1412# Define the identity of the package.
1413dnl Distinguish between old-style and new-style calls.
1414m4_ifval([$2],
1415[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1416 AC_SUBST([PACKAGE], [$1])dnl
1417 AC_SUBST([VERSION], [$2])],
1418[_AM_SET_OPTIONS([$1])dnl
1419dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1420m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1421 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1422 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1423 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1424
1425_AM_IF_OPTION([no-define],,
1426[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1427 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1428
1429# Some tools Automake needs.
1430AC_REQUIRE([AM_SANITY_CHECK])dnl
1431AC_REQUIRE([AC_ARG_PROGRAM])dnl
1432AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1433AM_MISSING_PROG(AUTOCONF, autoconf)
1434AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1435AM_MISSING_PROG(AUTOHEADER, autoheader)
1436AM_MISSING_PROG(MAKEINFO, makeinfo)
1437AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1438AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1439AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1440# We need awk for the "check" target. The system "awk" is bad on
1441# some platforms.
1442AC_REQUIRE([AC_PROG_AWK])dnl
1443AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1444AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1445_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1446 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1447 [_AM_PROG_TAR([v7])])])
1448_AM_IF_OPTION([no-dependencies],,
1449[AC_PROVIDE_IFELSE([AC_PROG_CC],
1450 [_AM_DEPENDENCIES(CC)],
1451 [define([AC_PROG_CC],
1452 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1453AC_PROVIDE_IFELSE([AC_PROG_CXX],
1454 [_AM_DEPENDENCIES(CXX)],
1455 [define([AC_PROG_CXX],
1456 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1457AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1458 [_AM_DEPENDENCIES(OBJC)],
1459 [define([AC_PROG_OBJC],
1460 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1461])
1462_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1463dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1464dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1465dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1466AC_CONFIG_COMMANDS_PRE(dnl
1467[m4_provide_if([_AM_COMPILER_EXEEXT],
1468 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1469])
1470
1471dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1472dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1473dnl mangled by Autoconf and run in a shell conditional statement.
1474m4_define([_AC_COMPILER_EXEEXT],
1475m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1476
1477
1478# When config.status generates a header, we must update the stamp-h file.
1479# This file resides in the same directory as the config header
1480# that is generated. The stamp files are numbered to have different names.
1481
1482# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1483# loop where config.status creates the headers, so we can generate
1484# our stamp files there.
1485AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1486[# Compute $1's index in $config_headers.
1487_am_arg=$1
1488_am_stamp_count=1
1489for _am_header in $config_headers :; do
1490 case $_am_header in
1491 $_am_arg | $_am_arg:* )
1492 break ;;
1493 * )
1494 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1495 esac
1496done
1497echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1498
1499# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
1500# Inc.
1501#
1502# This file is free software; the Free Software Foundation
1503# gives unlimited permission to copy and/or distribute it,
1504# with or without modifications, as long as this notice is preserved.
1505
1506# serial 1
1507
1508# AM_PROG_INSTALL_SH
1509# ------------------
1510# Define $install_sh.
1511AC_DEFUN([AM_PROG_INSTALL_SH],
1512[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1513if test x"${install_sh}" != xset; then
1514 case $am_aux_dir in
1515 *\ * | *\ *)
1516 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1517 *)
1518 install_sh="\${SHELL} $am_aux_dir/install-sh"
1519 esac
1520fi
1521AC_SUBST(install_sh)])
1522
1523# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
1524#
1525# This file is free software; the Free Software Foundation
1526# gives unlimited permission to copy and/or distribute it,
1527# with or without modifications, as long as this notice is preserved.
1528
1529# serial 2
1530
1531# Check whether the underlying file-system supports filenames
1532# with a leading dot. For instance MS-DOS doesn't.
1533AC_DEFUN([AM_SET_LEADING_DOT],
1534[rm -rf .tst 2>/dev/null
1535mkdir .tst 2>/dev/null
1536if test -d .tst; then
1537 am__leading_dot=.
1538else
1539 am__leading_dot=_
1540fi
1541rmdir .tst 2>/dev/null
1542AC_SUBST([am__leading_dot])])
1543
1544# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1545# From Jim Meyering
1546
1547# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
1548# 2011 Free Software Foundation, Inc.
1549#
1550# This file is free software; the Free Software Foundation
1551# gives unlimited permission to copy and/or distribute it,
1552# with or without modifications, as long as this notice is preserved.
1553
1554# serial 5
1555
1556# AM_MAINTAINER_MODE([DEFAULT-MODE])
1557# ----------------------------------
1558# Control maintainer-specific portions of Makefiles.
1559# Default is to disable them, unless `enable' is passed literally.
1560# For symmetry, `disable' may be passed as well. Anyway, the user
1561# can override the default with the --enable/--disable switch.
1562AC_DEFUN([AM_MAINTAINER_MODE],
1563[m4_case(m4_default([$1], [disable]),
1564 [enable], [m4_define([am_maintainer_other], [disable])],
1565 [disable], [m4_define([am_maintainer_other], [enable])],
1566 [m4_define([am_maintainer_other], [enable])
1567 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1568AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1569 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1570 AC_ARG_ENABLE([maintainer-mode],
1571[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1572 (and sometimes confusing) to the casual installer],
1573 [USE_MAINTAINER_MODE=$enableval],
1574 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1575 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1576 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1577 MAINT=$MAINTAINER_MODE_TRUE
1578 AC_SUBST([MAINT])dnl
1579]
1580)
1581
1582AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1583
1584# Check to see how 'make' treats includes. -*- Autoconf -*-
1585
1586# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
1587#
1588# This file is free software; the Free Software Foundation
1589# gives unlimited permission to copy and/or distribute it,
1590# with or without modifications, as long as this notice is preserved.
1591
1592# serial 4
1593
1594# AM_MAKE_INCLUDE()
1595# -----------------
1596# Check to see how make treats includes.
1597AC_DEFUN([AM_MAKE_INCLUDE],
1598[am_make=${MAKE-make}
1599cat > confinc << 'END'
1600am__doit:
1601 @echo this is the am__doit target
1602.PHONY: am__doit
1603END
1604# If we don't find an include directive, just comment out the code.
1605AC_MSG_CHECKING([for style of include used by $am_make])
1606am__include="#"
1607am__quote=
1608_am_result=none
1609# First try GNU make style include.
1610echo "include confinc" > confmf
1611# Ignore all kinds of additional output from `make'.
1612case `$am_make -s -f confmf 2> /dev/null` in #(
1613*the\ am__doit\ target*)
1614 am__include=include
1615 am__quote=
1616 _am_result=GNU
1617 ;;
1618esac
1619# Now try BSD make style include.
1620if test "$am__include" = "#"; then
1621 echo '.include "confinc"' > confmf
1622 case `$am_make -s -f confmf 2> /dev/null` in #(
1623 *the\ am__doit\ target*)
1624 am__include=.include
1625 am__quote="\""
1626 _am_result=BSD
1627 ;;
1628 esac
1629fi
1630AC_SUBST([am__include])
1631AC_SUBST([am__quote])
1632AC_MSG_RESULT([$_am_result])
1633rm -f confinc confmf
1634])
1635
1636# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1637
1638# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1639# Free Software Foundation, Inc.
1640#
1641# This file is free software; the Free Software Foundation
1642# gives unlimited permission to copy and/or distribute it,
1643# with or without modifications, as long as this notice is preserved.
1644
1645# serial 6
1646
1647# AM_MISSING_PROG(NAME, PROGRAM)
1648# ------------------------------
1649AC_DEFUN([AM_MISSING_PROG],
1650[AC_REQUIRE([AM_MISSING_HAS_RUN])
1651$1=${$1-"${am_missing_run}$2"}
1652AC_SUBST($1)])
1653
1654
1655# AM_MISSING_HAS_RUN
1656# ------------------
1657# Define MISSING if not defined so far and test if it supports --run.
1658# If it does, set am_missing_run to use it, otherwise, to nothing.
1659AC_DEFUN([AM_MISSING_HAS_RUN],
1660[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1661AC_REQUIRE_AUX_FILE([missing])dnl
1662if test x"${MISSING+set}" != xset; then
1663 case $am_aux_dir in
1664 *\ * | *\ *)
1665 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1666 *)
1667 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1668 esac
1669fi
1670# Use eval to expand $SHELL
1671if eval "$MISSING --run true"; then
1672 am_missing_run="$MISSING --run "
1673else
1674 am_missing_run=
1675 AC_MSG_WARN([`missing' script is too old or missing])
1676fi
1677])
1678
1679# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
1680# Inc.
1681#
1682# This file is free software; the Free Software Foundation
1683# gives unlimited permission to copy and/or distribute it,
1684# with or without modifications, as long as this notice is preserved.
1685
1686# serial 1
1687
1688# AM_PROG_MKDIR_P
1689# ---------------
1690# Check for `mkdir -p'.
1691AC_DEFUN([AM_PROG_MKDIR_P],
1692[AC_PREREQ([2.60])dnl
1693AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1694dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1695dnl while keeping a definition of mkdir_p for backward compatibility.
1696dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1697dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1698dnl Makefile.ins that do not define MKDIR_P, so we do our own
1699dnl adjustment using top_builddir (which is defined more often than
1700dnl MKDIR_P).
1701AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1702case $mkdir_p in
1703 [[\\/$]]* | ?:[[\\/]]*) ;;
1704 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1705esac
1706])
1707
1708# Helper functions for option handling. -*- Autoconf -*-
1709
1710# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
1711# Foundation, Inc.
1712#
1713# This file is free software; the Free Software Foundation
1714# gives unlimited permission to copy and/or distribute it,
1715# with or without modifications, as long as this notice is preserved.
1716
1717# serial 5
1718
1719# _AM_MANGLE_OPTION(NAME)
1720# -----------------------
1721AC_DEFUN([_AM_MANGLE_OPTION],
1722[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1723
1724# _AM_SET_OPTION(NAME)
1725# --------------------
1726# Set option NAME. Presently that only means defining a flag for this option.
1727AC_DEFUN([_AM_SET_OPTION],
1728[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1729
1730# _AM_SET_OPTIONS(OPTIONS)
1731# ------------------------
1732# OPTIONS is a space-separated list of Automake options.
1733AC_DEFUN([_AM_SET_OPTIONS],
1734[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1735
1736# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1737# -------------------------------------------
1738# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1739AC_DEFUN([_AM_IF_OPTION],
1740[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1741
1742# Check to make sure that the build environment is sane. -*- Autoconf -*-
1743
1744# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1745# Free Software Foundation, Inc.
1746#
1747# This file is free software; the Free Software Foundation
1748# gives unlimited permission to copy and/or distribute it,
1749# with or without modifications, as long as this notice is preserved.
1750
1751# serial 5
1752
1753# AM_SANITY_CHECK
1754# ---------------
1755AC_DEFUN([AM_SANITY_CHECK],
1756[AC_MSG_CHECKING([whether build environment is sane])
1757# Just in case
1758sleep 1
1759echo timestamp > conftest.file
1760# Reject unsafe characters in $srcdir or the absolute working directory
1761# name. Accept space and tab only in the latter.
1762am_lf='
1763'
1764case `pwd` in
1765 *[[\\\"\#\$\&\'\`$am_lf]]*)
1766 AC_MSG_ERROR([unsafe absolute working directory name]);;
1767esac
1768case $srcdir in
1769 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1770 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1771esac
1772
1773# Do `set' in a subshell so we don't clobber the current shell's
1774# arguments. Must try -L first in case configure is actually a
1775# symlink; some systems play weird games with the mod time of symlinks
1776# (eg FreeBSD returns the mod time of the symlink's containing
1777# directory).
1778if (
1779 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1780 if test "$[*]" = "X"; then
1781 # -L didn't work.
1782 set X `ls -t "$srcdir/configure" conftest.file`
1783 fi
1784 rm -f conftest.file
1785 if test "$[*]" != "X $srcdir/configure conftest.file" \
1786 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1787
1788 # If neither matched, then we have a broken ls. This can happen
1789 # if, for instance, CONFIG_SHELL is bash and it inherits a
1790 # broken ls alias from the environment. This has actually
1791 # happened. Such a system could not be considered "sane".
1792 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1793alias in your environment])
1794 fi
1795
1796 test "$[2]" = conftest.file
1797 )
1798then
1799 # Ok.
1800 :
1801else
1802 AC_MSG_ERROR([newly created file is older than distributed files!
1803Check your system clock])
1804fi
1805AC_MSG_RESULT(yes)])
1806
1807# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
1808#
1809# This file is free software; the Free Software Foundation
1810# gives unlimited permission to copy and/or distribute it,
1811# with or without modifications, as long as this notice is preserved.
1812
1813# serial 2
1814
1815# AM_SILENT_RULES([DEFAULT])
1816# --------------------------
1817# Enable less verbose build rules; with the default set to DEFAULT
1818# (`yes' being less verbose, `no' or empty being verbose).
1819AC_DEFUN([AM_SILENT_RULES],
1820[AC_ARG_ENABLE([silent-rules],
1821[ --enable-silent-rules less verbose build output (undo: `make V=1')
1822 --disable-silent-rules verbose build output (undo: `make V=0')])
1823case $enable_silent_rules in
1824yes) AM_DEFAULT_VERBOSITY=0;;
1825no) AM_DEFAULT_VERBOSITY=1;;
1826*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1827esac
1828dnl
1829dnl A few `make' implementations (e.g., NonStop OS and NextStep)
1830dnl do not support nested variable expansions.
1831dnl See automake bug#9928 and bug#10237.
1832am_make=${MAKE-make}
1833AC_CACHE_CHECK([whether $am_make supports nested variables],
1834 [am_cv_make_support_nested_variables],
1835 [if AS_ECHO([['TRUE=$(BAR$(V))
1836BAR0=false
1837BAR1=true
1838V=1
1839am__doit:
1840 @$(TRUE)
1841.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1842 am_cv_make_support_nested_variables=yes
1843else
1844 am_cv_make_support_nested_variables=no
1845fi])
1846if test $am_cv_make_support_nested_variables = yes; then
1847 dnl Using `$V' instead of `$(V)' breaks IRIX make.
1848 AM_V='$(V)'
1849 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1850else
1851 AM_V=$AM_DEFAULT_VERBOSITY
1852 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1853fi
1854AC_SUBST([AM_V])dnl
1855AM_SUBST_NOTMAKE([AM_V])dnl
1856AC_SUBST([AM_DEFAULT_V])dnl
1857AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1858AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1859AM_BACKSLASH='\'
1860AC_SUBST([AM_BACKSLASH])dnl
1861_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1862])
1863
1864# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1865#
1866# This file is free software; the Free Software Foundation
1867# gives unlimited permission to copy and/or distribute it,
1868# with or without modifications, as long as this notice is preserved.
1869
1870# serial 1
1871
1872# AM_PROG_INSTALL_STRIP
1873# ---------------------
1874# One issue with vendor `install' (even GNU) is that you can't
1875# specify the program used to strip binaries. This is especially
1876# annoying in cross-compiling environments, where the build's strip
1877# is unlikely to handle the host's binaries.
1878# Fortunately install-sh will honor a STRIPPROG variable, so we
1879# always use install-sh in `make install-strip', and initialize
1880# STRIPPROG with the value of the STRIP variable (set by the user).
1881AC_DEFUN([AM_PROG_INSTALL_STRIP],
1882[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1883# Installed binaries are usually stripped using `strip' when the user
1884# run `make install-strip'. However `strip' might not be the right
1885# tool to use in cross-compilation environments, therefore Automake
1886# will honor the `STRIP' environment variable to overrule this program.
1887dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1888if test "$cross_compiling" != no; then
1889 AC_CHECK_TOOL([STRIP], [strip], :)
1890fi
1891INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1892AC_SUBST([INSTALL_STRIP_PROGRAM])])
1893
1894# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1895#
1896# This file is free software; the Free Software Foundation
1897# gives unlimited permission to copy and/or distribute it,
1898# with or without modifications, as long as this notice is preserved.
1899
1900# serial 3
1901
1902# _AM_SUBST_NOTMAKE(VARIABLE)
1903# ---------------------------
1904# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1905# This macro is traced by Automake.
1906AC_DEFUN([_AM_SUBST_NOTMAKE])
1907
1908# AM_SUBST_NOTMAKE(VARIABLE)
1909# --------------------------
1910# Public sister of _AM_SUBST_NOTMAKE.
1911AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1912
1913# Check how to create a tarball. -*- Autoconf -*-
1914
1915# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1916#
1917# This file is free software; the Free Software Foundation
1918# gives unlimited permission to copy and/or distribute it,
1919# with or without modifications, as long as this notice is preserved.
1920
1921# serial 2
1922
1923# _AM_PROG_TAR(FORMAT)
1924# --------------------
1925# Check how to create a tarball in format FORMAT.
1926# FORMAT should be one of `v7', `ustar', or `pax'.
1927#
1928# Substitute a variable $(am__tar) that is a command
1929# writing to stdout a FORMAT-tarball containing the directory
1930# $tardir.
1931# tardir=directory && $(am__tar) > result.tar
1932#
1933# Substitute a variable $(am__untar) that extract such
1934# a tarball read from stdin.
1935# $(am__untar) < result.tar
1936AC_DEFUN([_AM_PROG_TAR],
1937[# Always define AMTAR for backward compatibility. Yes, it's still used
1938# in the wild :-( We should find a proper way to deprecate it ...
1939AC_SUBST([AMTAR], ['$${TAR-tar}'])
1940m4_if([$1], [v7],
1941 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1942 [m4_case([$1], [ustar],, [pax],,
1943 [m4_fatal([Unknown tar format])])
1944AC_MSG_CHECKING([how to create a $1 tar archive])
1945# Loop over all known methods to create a tar archive until one works.
1946_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1947_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1948# Do not fold the above two line into one, because Tru64 sh and
1949# Solaris sh will not grok spaces in the rhs of `-'.
1950for _am_tool in $_am_tools
1951do
1952 case $_am_tool in
1953 gnutar)
1954 for _am_tar in tar gnutar gtar;
1955 do
1956 AM_RUN_LOG([$_am_tar --version]) && break
1957 done
1958 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1959 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1960 am__untar="$_am_tar -xf -"
1961 ;;
1962 plaintar)
1963 # Must skip GNU tar: if it does not support --format= it doesn't create
1964 # ustar tarball either.
1965 (tar --version) >/dev/null 2>&1 && continue
1966 am__tar='tar chf - "$$tardir"'
1967 am__tar_='tar chf - "$tardir"'
1968 am__untar='tar xf -'
1969 ;;
1970 pax)
1971 am__tar='pax -L -x $1 -w "$$tardir"'
1972 am__tar_='pax -L -x $1 -w "$tardir"'
1973 am__untar='pax -r'
1974 ;;
1975 cpio)
1976 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1977 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1978 am__untar='cpio -i -H $1 -d'
1979 ;;
1980 none)
1981 am__tar=false
1982 am__tar_=false
1983 am__untar=false
1984 ;;
1985 esac
1986
1987 # If the value was cached, stop now. We just wanted to have am__tar
1988 # and am__untar set.
1989 test -n "${am_cv_prog_tar_$1}" && break
1990
1991 # tar/untar a dummy directory, and stop if the command works
1992 rm -rf conftest.dir
1993 mkdir conftest.dir
1994 echo GrepMe > conftest.dir/file
1995 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1996 rm -rf conftest.dir
1997 if test -s conftest.tar; then
1998 AM_RUN_LOG([$am__untar <conftest.tar])
1999 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2000 fi
2001done
2002rm -rf conftest.dir
2003
2004AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2005AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2006AC_SUBST([am__tar])
2007AC_SUBST([am__untar])
2008]) # _AM_PROG_TAR
2009
20100
=== added file 'autogen.sh'
--- autogen.sh 1970-01-01 00:00:00 +0000
+++ autogen.sh 2013-07-19 11:58:34 +0000
@@ -0,0 +1,11 @@
1#!/bin/sh
2
3PKG_NAME="ubuntu-geoip"
4
5which gnome-autogen.sh || {
6 echo "You need gnome-common from GNOME Git"
7 exit 1
8}
9
10USE_GNOME2_MACROS=1 \
11. gnome-autogen.sh $@
012
=== removed file 'config.h.in'
--- config.h.in 2010-10-06 17:53:33 +0000
+++ config.h.in 1970-01-01 00:00:00 +0000
@@ -1,79 +0,0 @@
1/* config.h.in. Generated from configure.ac by autoheader. */
2
3/* always defined to indicate that i18n is enabled */
4#undef ENABLE_NLS
5
6/* Name of the default get text domain */
7#undef GETTEXT_PACKAGE
8
9/* locale directory */
10#undef GNOMELOCALEDIR
11
12/* Define to 1 if you have the `bind_textdomain_codeset' function. */
13#undef HAVE_BIND_TEXTDOMAIN_CODESET
14
15/* Define to 1 if you have the `dcgettext' function. */
16#undef HAVE_DCGETTEXT
17
18/* Define if the GNU gettext() function is already present or preinstalled. */
19#undef HAVE_GETTEXT
20
21/* Define to 1 if you have the <inttypes.h> header file. */
22#undef HAVE_INTTYPES_H
23
24/* Define if your <locale.h> file defines LC_MESSAGES. */
25#undef HAVE_LC_MESSAGES
26
27/* Define to 1 if you have the <locale.h> header file. */
28#undef HAVE_LOCALE_H
29
30/* Define to 1 if you have the <memory.h> header file. */
31#undef HAVE_MEMORY_H
32
33/* Define to 1 if you have the <stdint.h> header file. */
34#undef HAVE_STDINT_H
35
36/* Define to 1 if you have the <stdlib.h> header file. */
37#undef HAVE_STDLIB_H
38
39/* Define to 1 if you have the <strings.h> header file. */
40#undef HAVE_STRINGS_H
41
42/* Define to 1 if you have the <string.h> header file. */
43#undef HAVE_STRING_H
44
45/* Define to 1 if you have the <sys/stat.h> header file. */
46#undef HAVE_SYS_STAT_H
47
48/* Define to 1 if you have the <sys/types.h> header file. */
49#undef HAVE_SYS_TYPES_H
50
51/* Define to 1 if you have the <unistd.h> header file. */
52#undef HAVE_UNISTD_H
53
54/* Name of package */
55#undef PACKAGE
56
57/* Define to the address where bug reports for this package should be sent. */
58#undef PACKAGE_BUGREPORT
59
60/* Define to the full name of this package. */
61#undef PACKAGE_NAME
62
63/* Define to the full name and version of this package. */
64#undef PACKAGE_STRING
65
66/* Define to the one symbol short name of this package. */
67#undef PACKAGE_TARNAME
68
69/* Define to the home page for this package. */
70#undef PACKAGE_URL
71
72/* Define to the version of this package. */
73#undef PACKAGE_VERSION
74
75/* Define to 1 if you have the ANSI C header files. */
76#undef STDC_HEADERS
77
78/* Version number of package */
79#undef VERSION
800
=== removed file 'configure'
--- configure 2012-09-13 14:39:59 +0000
+++ configure 1970-01-01 00:00:00 +0000
@@ -1,7587 +0,0 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for ubuntu-geoip 1.0.0.
4#
5# Report bugs to <ted@canonical.com>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13#
14# Copyright 2010-2012 Canonical
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104IFS=$as_save_IFS
105
106 ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111 as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there. '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139# Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142 _as_can_reexec=no; export _as_can_reexec;
143 # We cannot yet assume a decent shell, so we have to provide a
144# neutralization value for shells without unset; and this also
145# works around shells that cannot unset nonexistent variables.
146# Preserve -v and -x to the replacement shell.
147BASH_ENV=/dev/null
148ENV=/dev/null
149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150case $- in # ((((
151 *v*x* | *x*v* ) as_opts=-vx ;;
152 *v* ) as_opts=-v ;;
153 *x* ) as_opts=-x ;;
154 * ) as_opts= ;;
155esac
156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157# Admittedly, this is quite paranoid, since all the known shells bail
158# out after a failed `exec'.
159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160as_fn_exit 255
161 fi
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec=; unset _as_can_reexec;}
164if test "x$CONFIG_SHELL" = x; then
165 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 emulate sh
167 NULLCMD=:
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 setopt NO_GLOB_SUBST
172else
173 case \`(set -o) 2>/dev/null\` in #(
174 *posix*) :
175 set -o posix ;; #(
176 *) :
177 ;;
178esac
179fi
180"
181 as_required="as_fn_return () { (exit \$1); }
182as_fn_success () { as_fn_return 0; }
183as_fn_failure () { as_fn_return 1; }
184as_fn_ret_success () { return 0; }
185as_fn_ret_failure () { return 1; }
186
187exitcode=0
188as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
194else
195 exitcode=1; echo positional parameters were not saved.
196fi
197test x\$exitcode = x0 || exit 1
198test -x / || exit 1"
199 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203test \$(( 1 + 1 )) = 2 || exit 1"
204 if (eval "$as_required") 2>/dev/null; then :
205 as_have_required=yes
206else
207 as_have_required=no
208fi
209 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210
211else
212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
213as_found=false
214for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215do
216 IFS=$as_save_IFS
217 test -z "$as_dir" && as_dir=.
218 as_found=:
219 case $as_dir in #(
220 /*)
221 for as_base in sh bash ksh sh5; do
222 # Try only shells that exist, to save several forks.
223 as_shell=$as_dir/$as_base
224 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
225 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 CONFIG_SHELL=$as_shell as_have_required=yes
227 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
228 break 2
229fi
230fi
231 done;;
232 esac
233 as_found=false
234done
235$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
236 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
237 CONFIG_SHELL=$SHELL as_have_required=yes
238fi; }
239IFS=$as_save_IFS
240
241
242 if test "x$CONFIG_SHELL" != x; then :
243 export CONFIG_SHELL
244 # We cannot yet assume a decent shell, so we have to provide a
245# neutralization value for shells without unset; and this also
246# works around shells that cannot unset nonexistent variables.
247# Preserve -v and -x to the replacement shell.
248BASH_ENV=/dev/null
249ENV=/dev/null
250(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251case $- in # ((((
252 *v*x* | *x*v* ) as_opts=-vx ;;
253 *v* ) as_opts=-v ;;
254 *x* ) as_opts=-x ;;
255 * ) as_opts= ;;
256esac
257exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258# Admittedly, this is quite paranoid, since all the known shells bail
259# out after a failed `exec'.
260$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261exit 255
262fi
263
264 if test x$as_have_required = xno; then :
265 $as_echo "$0: This script requires a shell more modern than all"
266 $as_echo "$0: the shells that I found on your system."
267 if test x${ZSH_VERSION+set} = xset ; then
268 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
269 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 else
271 $as_echo "$0: Please tell bug-autoconf@gnu.org and ted@canonical.com
272$0: about your system, including any error possibly output
273$0: before this message. Then install a modern shell, or
274$0: manually run the script under such a shell if you do
275$0: have one."
276 fi
277 exit 1
278fi
279fi
280fi
281SHELL=${CONFIG_SHELL-/bin/sh}
282export SHELL
283# Unset more variables known to interfere with behavior of common tools.
284CLICOLOR_FORCE= GREP_OPTIONS=
285unset CLICOLOR_FORCE GREP_OPTIONS
286
287## --------------------- ##
288## M4sh Shell Functions. ##
289## --------------------- ##
290# as_fn_unset VAR
291# ---------------
292# Portably unset VAR.
293as_fn_unset ()
294{
295 { eval $1=; unset $1;}
296}
297as_unset=as_fn_unset
298
299# as_fn_set_status STATUS
300# -----------------------
301# Set $? to STATUS, without forking.
302as_fn_set_status ()
303{
304 return $1
305} # as_fn_set_status
306
307# as_fn_exit STATUS
308# -----------------
309# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310as_fn_exit ()
311{
312 set +e
313 as_fn_set_status $1
314 exit $1
315} # as_fn_exit
316
317# as_fn_mkdir_p
318# -------------
319# Create "$as_dir" as a directory, including parents if necessary.
320as_fn_mkdir_p ()
321{
322
323 case $as_dir in #(
324 -*) as_dir=./$as_dir;;
325 esac
326 test -d "$as_dir" || eval $as_mkdir_p || {
327 as_dirs=
328 while :; do
329 case $as_dir in #(
330 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 *) as_qdir=$as_dir;;
332 esac
333 as_dirs="'$as_qdir' $as_dirs"
334 as_dir=`$as_dirname -- "$as_dir" ||
335$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
336 X"$as_dir" : 'X\(//\)[^/]' \| \
337 X"$as_dir" : 'X\(//\)$' \| \
338 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
339$as_echo X"$as_dir" |
340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
341 s//\1/
342 q
343 }
344 /^X\(\/\/\)[^/].*/{
345 s//\1/
346 q
347 }
348 /^X\(\/\/\)$/{
349 s//\1/
350 q
351 }
352 /^X\(\/\).*/{
353 s//\1/
354 q
355 }
356 s/.*/./; q'`
357 test -d "$as_dir" && break
358 done
359 test -z "$as_dirs" || eval "mkdir $as_dirs"
360 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361
362
363} # as_fn_mkdir_p
364
365# as_fn_executable_p FILE
366# -----------------------
367# Test if FILE is an executable regular file.
368as_fn_executable_p ()
369{
370 test -f "$1" && test -x "$1"
371} # as_fn_executable_p
372# as_fn_append VAR VALUE
373# ----------------------
374# Append the text in VALUE to the end of the definition contained in VAR. Take
375# advantage of any shell optimizations that allow amortized linear growth over
376# repeated appends, instead of the typical quadratic growth present in naive
377# implementations.
378if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
379 eval 'as_fn_append ()
380 {
381 eval $1+=\$2
382 }'
383else
384 as_fn_append ()
385 {
386 eval $1=\$$1\$2
387 }
388fi # as_fn_append
389
390# as_fn_arith ARG...
391# ------------------
392# Perform arithmetic evaluation on the ARGs, and store the result in the
393# global $as_val. Take advantage of shells that can avoid forks. The arguments
394# must be portable across $(()) and expr.
395if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
396 eval 'as_fn_arith ()
397 {
398 as_val=$(( $* ))
399 }'
400else
401 as_fn_arith ()
402 {
403 as_val=`expr "$@" || test $? -eq 1`
404 }
405fi # as_fn_arith
406
407
408# as_fn_error STATUS ERROR [LINENO LOG_FD]
409# ----------------------------------------
410# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
411# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
412# script with STATUS, using 1 if that was 0.
413as_fn_error ()
414{
415 as_status=$1; test $as_status -eq 0 && as_status=1
416 if test "$4"; then
417 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
418 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 fi
420 $as_echo "$as_me: error: $2" >&2
421 as_fn_exit $as_status
422} # as_fn_error
423
424if expr a : '\(a\)' >/dev/null 2>&1 &&
425 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 as_expr=expr
427else
428 as_expr=false
429fi
430
431if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 as_basename=basename
433else
434 as_basename=false
435fi
436
437if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_dirname=dirname
439else
440 as_dirname=false
441fi
442
443as_me=`$as_basename -- "$0" ||
444$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
445 X"$0" : 'X\(//\)$' \| \
446 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447$as_echo X/"$0" |
448 sed '/^.*\/\([^/][^/]*\)\/*$/{
449 s//\1/
450 q
451 }
452 /^X\/\(\/\/\)$/{
453 s//\1/
454 q
455 }
456 /^X\/\(\/\).*/{
457 s//\1/
458 q
459 }
460 s/.*/./; q'`
461
462# Avoid depending upon Character Ranges.
463as_cr_letters='abcdefghijklmnopqrstuvwxyz'
464as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
465as_cr_Letters=$as_cr_letters$as_cr_LETTERS
466as_cr_digits='0123456789'
467as_cr_alnum=$as_cr_Letters$as_cr_digits
468
469
470 as_lineno_1=$LINENO as_lineno_1a=$LINENO
471 as_lineno_2=$LINENO as_lineno_2a=$LINENO
472 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
473 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
474 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
475 sed -n '
476 p
477 /[$]LINENO/=
478 ' <$as_myself |
479 sed '
480 s/[$]LINENO.*/&-/
481 t lineno
482 b
483 :lineno
484 N
485 :loop
486 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 t loop
488 s/-\n.*//
489 ' >$as_me.lineno &&
490 chmod +x "$as_me.lineno" ||
491 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
492
493 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
494 # already done that, so ensure we don't try to do so again and fall
495 # in an infinite loop. This has already happened in practice.
496 _as_can_reexec=no; export _as_can_reexec
497 # Don't try to exec as it changes $[0], causing all sort of problems
498 # (the dirname of $[0] is not the place where we might find the
499 # original and so on. Autoconf is especially sensitive to this).
500 . "./$as_me.lineno"
501 # Exit status is that of the last command.
502 exit
503}
504
505ECHO_C= ECHO_N= ECHO_T=
506case `echo -n x` in #(((((
507-n*)
508 case `echo 'xy\c'` in
509 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
510 xy) ECHO_C='\c';;
511 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
512 ECHO_T=' ';;
513 esac;;
514*)
515 ECHO_N='-n';;
516esac
517
518rm -f conf$$ conf$$.exe conf$$.file
519if test -d conf$$.dir; then
520 rm -f conf$$.dir/conf$$.file
521else
522 rm -f conf$$.dir
523 mkdir conf$$.dir 2>/dev/null
524fi
525if (echo >conf$$.file) 2>/dev/null; then
526 if ln -s conf$$.file conf$$ 2>/dev/null; then
527 as_ln_s='ln -s'
528 # ... but there are two gotchas:
529 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
530 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
531 # In both cases, we have to default to `cp -pR'.
532 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
533 as_ln_s='cp -pR'
534 elif ln conf$$.file conf$$ 2>/dev/null; then
535 as_ln_s=ln
536 else
537 as_ln_s='cp -pR'
538 fi
539else
540 as_ln_s='cp -pR'
541fi
542rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
543rmdir conf$$.dir 2>/dev/null
544
545if mkdir -p . 2>/dev/null; then
546 as_mkdir_p='mkdir -p "$as_dir"'
547else
548 test -d ./-p && rmdir ./-p
549 as_mkdir_p=false
550fi
551
552as_test_x='test -x'
553as_executable_p=as_fn_executable_p
554
555# Sed expression to map a string onto a valid CPP name.
556as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557
558# Sed expression to map a string onto a valid variable name.
559as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560
561
562test -n "$DJDIR" || exec 7<&0 </dev/null
563exec 6>&1
564
565# Name of the host.
566# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
567# so uname gets run too.
568ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569
570#
571# Initializations.
572#
573ac_default_prefix=/usr/local
574ac_clean_files=
575ac_config_libobj_dir=.
576LIBOBJS=
577cross_compiling=no
578subdirs=
579MFLAGS=
580MAKEFLAGS=
581
582# Identity of this package.
583PACKAGE_NAME='ubuntu-geoip'
584PACKAGE_TARNAME='ubuntu-geoip'
585PACKAGE_VERSION='1.0.0'
586PACKAGE_STRING='ubuntu-geoip 1.0.0'
587PACKAGE_BUGREPORT='ted@canonical.com'
588PACKAGE_URL=''
589
590# Factoring default headers for most tests.
591ac_includes_default="\
592#include <stdio.h>
593#ifdef HAVE_SYS_TYPES_H
594# include <sys/types.h>
595#endif
596#ifdef HAVE_SYS_STAT_H
597# include <sys/stat.h>
598#endif
599#ifdef STDC_HEADERS
600# include <stdlib.h>
601# include <stddef.h>
602#else
603# ifdef HAVE_STDLIB_H
604# include <stdlib.h>
605# endif
606#endif
607#ifdef HAVE_STRING_H
608# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609# include <memory.h>
610# endif
611# include <string.h>
612#endif
613#ifdef HAVE_STRINGS_H
614# include <strings.h>
615#endif
616#ifdef HAVE_INTTYPES_H
617# include <inttypes.h>
618#endif
619#ifdef HAVE_STDINT_H
620# include <stdint.h>
621#endif
622#ifdef HAVE_UNISTD_H
623# include <unistd.h>
624#endif"
625
626ac_subst_vars='am__EXEEXT_FALSE
627am__EXEEXT_TRUE
628LTLIBOBJS
629LIBOBJS
630MKINSTALLDIRS
631POSUB
632POFILES
633PO_IN_DATADIR_FALSE
634PO_IN_DATADIR_TRUE
635INTLLIBS
636INSTOBJEXT
637GMOFILES
638CATOBJEXT
639CATALOGS
640MSGFMT_OPTS
641EGREP
642GREP
643CPP
644GNOMELOCALEDIR
645GETTEXT_PACKAGE
646DBUSSERVICEDIR
647GSETTINGS_RULES
648GLIB_COMPILE_SCHEMAS
649gsettingsschemadir
650GSETTINGS_DISABLE_SCHEMAS_COMPILE
651PROVIDER_LIBS
652PROVIDER_CFLAGS
653PKG_CONFIG_LIBDIR
654PKG_CONFIG_PATH
655PKG_CONFIG
656AM_BACKSLASH
657AM_DEFAULT_V
658AM_V
659DATADIRNAME
660am__fastdepCC_FALSE
661am__fastdepCC_TRUE
662CCDEPMODE
663am__nodep
664AMDEPBACKSLASH
665AMDEP_FALSE
666AMDEP_TRUE
667am__quote
668am__include
669DEPDIR
670OBJEXT
671EXEEXT
672ac_ct_CC
673CPPFLAGS
674LDFLAGS
675CFLAGS
676CC
677ALL_LINGUAS
678INTLTOOL_PERL
679GMSGFMT
680MSGFMT
681MSGMERGE
682XGETTEXT
683INTLTOOL_POLICY_RULE
684INTLTOOL_SERVICE_RULE
685INTLTOOL_THEME_RULE
686INTLTOOL_SCHEMAS_RULE
687INTLTOOL_CAVES_RULE
688INTLTOOL_XML_NOMERGE_RULE
689INTLTOOL_XML_RULE
690INTLTOOL_KBD_RULE
691INTLTOOL_XAM_RULE
692INTLTOOL_UI_RULE
693INTLTOOL_SOUNDLIST_RULE
694INTLTOOL_SHEET_RULE
695INTLTOOL_SERVER_RULE
696INTLTOOL_PONG_RULE
697INTLTOOL_OAF_RULE
698INTLTOOL_PROP_RULE
699INTLTOOL_KEYS_RULE
700INTLTOOL_DIRECTORY_RULE
701INTLTOOL_DESKTOP_RULE
702intltool__v_merge_options_0
703intltool__v_merge_options_
704INTLTOOL_V_MERGE_OPTIONS
705INTLTOOL__v_MERGE_0
706INTLTOOL__v_MERGE_
707INTLTOOL_V_MERGE
708AM_DEFAULT_VERBOSITY
709INTLTOOL_EXTRACT
710INTLTOOL_MERGE
711INTLTOOL_UPDATE
712USE_NLS
713MAINT
714MAINTAINER_MODE_FALSE
715MAINTAINER_MODE_TRUE
716am__untar
717am__tar
718AMTAR
719am__leading_dot
720SET_MAKE
721AWK
722mkdir_p
723MKDIR_P
724INSTALL_STRIP_PROGRAM
725STRIP
726install_sh
727MAKEINFO
728AUTOHEADER
729AUTOMAKE
730AUTOCONF
731ACLOCAL
732VERSION
733PACKAGE
734CYGPATH_W
735am__isrc
736INSTALL_DATA
737INSTALL_SCRIPT
738INSTALL_PROGRAM
739target_alias
740host_alias
741build_alias
742LIBS
743ECHO_T
744ECHO_N
745ECHO_C
746DEFS
747mandir
748localedir
749libdir
750psdir
751pdfdir
752dvidir
753htmldir
754infodir
755docdir
756oldincludedir
757includedir
758localstatedir
759sharedstatedir
760sysconfdir
761datadir
762datarootdir
763libexecdir
764sbindir
765bindir
766program_transform_name
767prefix
768exec_prefix
769PACKAGE_URL
770PACKAGE_BUGREPORT
771PACKAGE_STRING
772PACKAGE_VERSION
773PACKAGE_TARNAME
774PACKAGE_NAME
775PATH_SEPARATOR
776SHELL'
777ac_subst_files=''
778ac_user_opts='
779enable_option_checking
780enable_maintainer_mode
781enable_nls
782enable_dependency_tracking
783enable_silent_rules
784enable_schemas_compile
785enable_localinstall
786'
787 ac_precious_vars='build_alias
788host_alias
789target_alias
790CC
791CFLAGS
792LDFLAGS
793LIBS
794CPPFLAGS
795PKG_CONFIG
796PKG_CONFIG_PATH
797PKG_CONFIG_LIBDIR
798PROVIDER_CFLAGS
799PROVIDER_LIBS
800CPP'
801
802
803# Initialize some variables set by options.
804ac_init_help=
805ac_init_version=false
806ac_unrecognized_opts=
807ac_unrecognized_sep=
808# The variables have the same names as the options, with
809# dashes changed to underlines.
810cache_file=/dev/null
811exec_prefix=NONE
812no_create=
813no_recursion=
814prefix=NONE
815program_prefix=NONE
816program_suffix=NONE
817program_transform_name=s,x,x,
818silent=
819site=
820srcdir=
821verbose=
822x_includes=NONE
823x_libraries=NONE
824
825# Installation directory options.
826# These are left unexpanded so users can "make install exec_prefix=/foo"
827# and all the variables that are supposed to be based on exec_prefix
828# by default will actually change.
829# Use braces instead of parens because sh, perl, etc. also accept them.
830# (The list follows the same order as the GNU Coding Standards.)
831bindir='${exec_prefix}/bin'
832sbindir='${exec_prefix}/sbin'
833libexecdir='${exec_prefix}/libexec'
834datarootdir='${prefix}/share'
835datadir='${datarootdir}'
836sysconfdir='${prefix}/etc'
837sharedstatedir='${prefix}/com'
838localstatedir='${prefix}/var'
839includedir='${prefix}/include'
840oldincludedir='/usr/include'
841docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
842infodir='${datarootdir}/info'
843htmldir='${docdir}'
844dvidir='${docdir}'
845pdfdir='${docdir}'
846psdir='${docdir}'
847libdir='${exec_prefix}/lib'
848localedir='${datarootdir}/locale'
849mandir='${datarootdir}/man'
850
851ac_prev=
852ac_dashdash=
853for ac_option
854do
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\$ac_option
858 ac_prev=
859 continue
860 fi
861
862 case $ac_option in
863 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
864 *=) ac_optarg= ;;
865 *) ac_optarg=yes ;;
866 esac
867
868 # Accept the important Cygnus configure options, so we can diagnose typos.
869
870 case $ac_dashdash$ac_option in
871 --)
872 ac_dashdash=yes ;;
873
874 -bindir | --bindir | --bindi | --bind | --bin | --bi)
875 ac_prev=bindir ;;
876 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
877 bindir=$ac_optarg ;;
878
879 -build | --build | --buil | --bui | --bu)
880 ac_prev=build_alias ;;
881 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
882 build_alias=$ac_optarg ;;
883
884 -cache-file | --cache-file | --cache-fil | --cache-fi \
885 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
886 ac_prev=cache_file ;;
887 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
888 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
889 cache_file=$ac_optarg ;;
890
891 --config-cache | -C)
892 cache_file=config.cache ;;
893
894 -datadir | --datadir | --datadi | --datad)
895 ac_prev=datadir ;;
896 -datadir=* | --datadir=* | --datadi=* | --datad=*)
897 datadir=$ac_optarg ;;
898
899 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
900 | --dataroo | --dataro | --datar)
901 ac_prev=datarootdir ;;
902 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
903 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
904 datarootdir=$ac_optarg ;;
905
906 -disable-* | --disable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
914 *"
915"enable_$ac_useropt"
916"*) ;;
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
919 esac
920 eval enable_$ac_useropt=no ;;
921
922 -docdir | --docdir | --docdi | --doc | --do)
923 ac_prev=docdir ;;
924 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
925 docdir=$ac_optarg ;;
926
927 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
928 ac_prev=dvidir ;;
929 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
930 dvidir=$ac_optarg ;;
931
932 -enable-* | --enable-*)
933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
936 as_fn_error $? "invalid feature name: $ac_useropt"
937 ac_useropt_orig=$ac_useropt
938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
940 *"
941"enable_$ac_useropt"
942"*) ;;
943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
944 ac_unrecognized_sep=', ';;
945 esac
946 eval enable_$ac_useropt=\$ac_optarg ;;
947
948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
949 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
950 | --exec | --exe | --ex)
951 ac_prev=exec_prefix ;;
952 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
953 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
954 | --exec=* | --exe=* | --ex=*)
955 exec_prefix=$ac_optarg ;;
956
957 -gas | --gas | --ga | --g)
958 # Obsolete; use --with-gas.
959 with_gas=yes ;;
960
961 -help | --help | --hel | --he | -h)
962 ac_init_help=long ;;
963 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
964 ac_init_help=recursive ;;
965 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
966 ac_init_help=short ;;
967
968 -host | --host | --hos | --ho)
969 ac_prev=host_alias ;;
970 -host=* | --host=* | --hos=* | --ho=*)
971 host_alias=$ac_optarg ;;
972
973 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
974 ac_prev=htmldir ;;
975 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
976 | --ht=*)
977 htmldir=$ac_optarg ;;
978
979 -includedir | --includedir | --includedi | --included | --include \
980 | --includ | --inclu | --incl | --inc)
981 ac_prev=includedir ;;
982 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
983 | --includ=* | --inclu=* | --incl=* | --inc=*)
984 includedir=$ac_optarg ;;
985
986 -infodir | --infodir | --infodi | --infod | --info | --inf)
987 ac_prev=infodir ;;
988 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
989 infodir=$ac_optarg ;;
990
991 -libdir | --libdir | --libdi | --libd)
992 ac_prev=libdir ;;
993 -libdir=* | --libdir=* | --libdi=* | --libd=*)
994 libdir=$ac_optarg ;;
995
996 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
997 | --libexe | --libex | --libe)
998 ac_prev=libexecdir ;;
999 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1000 | --libexe=* | --libex=* | --libe=*)
1001 libexecdir=$ac_optarg ;;
1002
1003 -localedir | --localedir | --localedi | --localed | --locale)
1004 ac_prev=localedir ;;
1005 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1006 localedir=$ac_optarg ;;
1007
1008 -localstatedir | --localstatedir | --localstatedi | --localstated \
1009 | --localstate | --localstat | --localsta | --localst | --locals)
1010 ac_prev=localstatedir ;;
1011 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1012 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1013 localstatedir=$ac_optarg ;;
1014
1015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1016 ac_prev=mandir ;;
1017 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1018 mandir=$ac_optarg ;;
1019
1020 -nfp | --nfp | --nf)
1021 # Obsolete; use --without-fp.
1022 with_fp=no ;;
1023
1024 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1025 | --no-cr | --no-c | -n)
1026 no_create=yes ;;
1027
1028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1030 no_recursion=yes ;;
1031
1032 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1033 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1034 | --oldin | --oldi | --old | --ol | --o)
1035 ac_prev=oldincludedir ;;
1036 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1037 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1038 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1039 oldincludedir=$ac_optarg ;;
1040
1041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1042 ac_prev=prefix ;;
1043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1044 prefix=$ac_optarg ;;
1045
1046 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1047 | --program-pre | --program-pr | --program-p)
1048 ac_prev=program_prefix ;;
1049 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1050 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1051 program_prefix=$ac_optarg ;;
1052
1053 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1054 | --program-suf | --program-su | --program-s)
1055 ac_prev=program_suffix ;;
1056 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1057 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1058 program_suffix=$ac_optarg ;;
1059
1060 -program-transform-name | --program-transform-name \
1061 | --program-transform-nam | --program-transform-na \
1062 | --program-transform-n | --program-transform- \
1063 | --program-transform | --program-transfor \
1064 | --program-transfo | --program-transf \
1065 | --program-trans | --program-tran \
1066 | --progr-tra | --program-tr | --program-t)
1067 ac_prev=program_transform_name ;;
1068 -program-transform-name=* | --program-transform-name=* \
1069 | --program-transform-nam=* | --program-transform-na=* \
1070 | --program-transform-n=* | --program-transform-=* \
1071 | --program-transform=* | --program-transfor=* \
1072 | --program-transfo=* | --program-transf=* \
1073 | --program-trans=* | --program-tran=* \
1074 | --progr-tra=* | --program-tr=* | --program-t=*)
1075 program_transform_name=$ac_optarg ;;
1076
1077 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1078 ac_prev=pdfdir ;;
1079 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1080 pdfdir=$ac_optarg ;;
1081
1082 -psdir | --psdir | --psdi | --psd | --ps)
1083 ac_prev=psdir ;;
1084 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1085 psdir=$ac_optarg ;;
1086
1087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1088 | -silent | --silent | --silen | --sile | --sil)
1089 silent=yes ;;
1090
1091 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1092 ac_prev=sbindir ;;
1093 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1094 | --sbi=* | --sb=*)
1095 sbindir=$ac_optarg ;;
1096
1097 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1098 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1099 | --sharedst | --shareds | --shared | --share | --shar \
1100 | --sha | --sh)
1101 ac_prev=sharedstatedir ;;
1102 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1103 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1104 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1105 | --sha=* | --sh=*)
1106 sharedstatedir=$ac_optarg ;;
1107
1108 -site | --site | --sit)
1109 ac_prev=site ;;
1110 -site=* | --site=* | --sit=*)
1111 site=$ac_optarg ;;
1112
1113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1114 ac_prev=srcdir ;;
1115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1116 srcdir=$ac_optarg ;;
1117
1118 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1119 | --syscon | --sysco | --sysc | --sys | --sy)
1120 ac_prev=sysconfdir ;;
1121 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1122 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1123 sysconfdir=$ac_optarg ;;
1124
1125 -target | --target | --targe | --targ | --tar | --ta | --t)
1126 ac_prev=target_alias ;;
1127 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1128 target_alias=$ac_optarg ;;
1129
1130 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1131 verbose=yes ;;
1132
1133 -version | --version | --versio | --versi | --vers | -V)
1134 ac_init_version=: ;;
1135
1136 -with-* | --with-*)
1137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140 as_fn_error $? "invalid package name: $ac_useropt"
1141 ac_useropt_orig=$ac_useropt
1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1144 *"
1145"with_$ac_useropt"
1146"*) ;;
1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep=', ';;
1149 esac
1150 eval with_$ac_useropt=\$ac_optarg ;;
1151
1152 -without-* | --without-*)
1153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156 as_fn_error $? "invalid package name: $ac_useropt"
1157 ac_useropt_orig=$ac_useropt
1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1160 *"
1161"with_$ac_useropt"
1162"*) ;;
1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep=', ';;
1165 esac
1166 eval with_$ac_useropt=no ;;
1167
1168 --x)
1169 # Obsolete; use --with-x.
1170 with_x=yes ;;
1171
1172 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1173 | --x-incl | --x-inc | --x-in | --x-i)
1174 ac_prev=x_includes ;;
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches