Codebase list libhdate / 5369bad
Update from 1.3.0 to 1.4.2 Baruch Even 18 years ago
56 changed file(s) with 13965 addition(s) and 16796 deletion(s). Raw diff Collapse all Expand all
00 GNU GENERAL PUBLIC LICENSE
11 Version 2, June 1991
22
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
4 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
4 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
55 Everyone is permitted to copy and distribute verbatim copies
66 of this license document, but changing it is not allowed.
77
0 libhdate (1.4.2)
1
2 * Ido Kanner <idokan@gmail.com> - Update free pascal bindings.
3 * Update address of Free Software Foundatio in COPYING file.
4 * make the spec.in file more configurable.
5
6 -- Yaacov Zamir <kzamir@wall.co.il> Fri, 25 Nov 2005 12:13
7
8 libhdate (1.4.0)
9
10 * Michael Kaminsky - libhdate now reports the 2nd day of yom
11 tov on Sukkot and Peseach as Yom Tov and not Chol Hamoed.
12 * Cange C++ API - insert the location and diaspora flag as
13 part of the hdate object.
14 * Docomentation - separate the c and the cpp docs, more readable.
15 * hdate example can now export iCal formated output.
16
17 -- Yaacov Zamir <kzamir@wall.co.il> Mon, 8 Aug 2005 22:13
18
19 libhdate (1.3.1)
20
21 * Add "const correctness" patch from Markus Elfring (elfring).
22 * Manual page seems to contain a hyphen where a minus sign was
23 intended, patch by Lior Kaplan.
24 * Remove the debian directory from the ziped package.
25
26 -- Yaacov Zamir <kzamir@wall.co.il> Sat, 30 Jul 2005 22:13
27
028 libhdate (1.3.0)
129
230 * Add examples to the doc directory
+0
-1212
current/Doxyfile less more
0 # Doxyfile 1.4.1
1
2 # This file describes the settings to be used by the documentation system
3 # doxygen (www.doxygen.org) for a project
4 #
5 # All text after a hash (#) is considered a comment and will be ignored
6 # The format is:
7 # TAG = value [value, ...]
8 # For lists items can also be appended using:
9 # TAG += value [value, ...]
10 # Values that contain spaces should be placed between quotes (" ")
11
12 #---------------------------------------------------------------------------
13 # Project related configuration options
14 #---------------------------------------------------------------------------
15
16 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
17 # by quotes) that should identify the project.
18
19 PROJECT_NAME = libhdate
20
21 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
22 # This could be handy for archiving the generated documentation or
23 # if some version control system is used.
24
25 PROJECT_NUMBER = 1.0
26
27 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
28 # base path where the generated documentation will be put.
29 # If a relative path is entered, it will be relative to the location
30 # where doxygen was started. If left blank the current directory will be used.
31
32 OUTPUT_DIRECTORY =
33
34 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
35 # 4096 sub-directories (in 2 levels) under the output directory of each output
36 # format and will distribute the generated files over these directories.
37 # Enabling this option can be useful when feeding doxygen a huge amount of
38 # source files, where putting all generated files in the same directory would
39 # otherwise cause performance problems for the file system.
40
41 CREATE_SUBDIRS = NO
42
43 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
44 # documentation generated by doxygen is written. Doxygen will use this
45 # information to generate all constant output in the proper language.
46 # The default language is English, other supported languages are:
47 # Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish,
48 # Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese,
49 # Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian,
50 # Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish,
51 # Swedish, and Ukrainian.
52
53 OUTPUT_LANGUAGE = English
54
55 # This tag can be used to specify the encoding used in the generated output.
56 # The encoding is not always determined by the language that is chosen,
57 # but also whether or not the output is meant for Windows or non-Windows users.
58 # In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES
59 # forces the Windows encoding (this is the default for the Windows binary),
60 # whereas setting the tag to NO uses a Unix-style encoding (the default for
61 # all platforms other than Windows).
62
63 USE_WINDOWS_ENCODING = NO
64
65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
66 # include brief member descriptions after the members that are listed in
67 # the file and class documentation (similar to JavaDoc).
68 # Set to NO to disable this.
69
70 BRIEF_MEMBER_DESC = YES
71
72 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
73 # the brief description of a member or function before the detailed description.
74 # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
75 # brief descriptions will be completely suppressed.
76
77 REPEAT_BRIEF = YES
78
79 # This tag implements a quasi-intelligent brief description abbreviator
80 # that is used to form the text in various listings. Each string
81 # in this list, if found as the leading text of the brief description, will be
82 # stripped from the text and the result after processing the whole list, is
83 # used as the annotated text. Otherwise, the brief description is used as-is.
84 # If left blank, the following values are used ("$name" is automatically
85 # replaced with the name of the entity): "The $name class" "The $name widget"
86 # "The $name file" "is" "provides" "specifies" "contains"
87 # "represents" "a" "an" "the"
88
89 ABBREVIATE_BRIEF =
90
91 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
92 # Doxygen will generate a detailed section even if there is only a brief
93 # description.
94
95 ALWAYS_DETAILED_SEC = NO
96
97 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
98 # inherited members of a class in the documentation of that class as if those
99 # members were ordinary class members. Constructors, destructors and assignment
100 # operators of the base classes will not be shown.
101
102 INLINE_INHERITED_MEMB = NO
103
104 # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
105 # path before files name in the file list and in the header files. If set
106 # to NO the shortest path that makes the file name unique will be used.
107
108 FULL_PATH_NAMES = YES
109
110 # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
111 # can be used to strip a user-defined part of the path. Stripping is
112 # only done if one of the specified strings matches the left-hand part of
113 # the path. The tag can be used to show relative paths in the file list.
114 # If left blank the directory from which doxygen is run is used as the
115 # path to strip.
116
117 STRIP_FROM_PATH =
118
119 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
120 # the path mentioned in the documentation of a class, which tells
121 # the reader which header file to include in order to use a class.
122 # If left blank only the name of the header file containing the class
123 # definition is used. Otherwise one should specify the include paths that
124 # are normally passed to the compiler using the -I flag.
125
126 STRIP_FROM_INC_PATH =
127
128 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
129 # (but less readable) file names. This can be useful is your file systems
130 # doesn't support long names like on DOS, Mac, or CD-ROM.
131
132 SHORT_NAMES = NO
133
134 # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
135 # will interpret the first line (until the first dot) of a JavaDoc-style
136 # comment as the brief description. If set to NO, the JavaDoc
137 # comments will behave just like the Qt-style comments (thus requiring an
138 # explicit @brief command for a brief description.
139
140 JAVADOC_AUTOBRIEF = NO
141
142 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
143 # treat a multi-line C++ special comment block (i.e. a block of //! or ///
144 # comments) as a brief description. This used to be the default behaviour.
145 # The new default is to treat a multi-line C++ comment block as a detailed
146 # description. Set this tag to YES if you prefer the old behaviour instead.
147
148 MULTILINE_CPP_IS_BRIEF = NO
149
150 # If the DETAILS_AT_TOP tag is set to YES then Doxygen
151 # will output the detailed description near the top, like JavaDoc.
152 # If set to NO, the detailed description appears after the member
153 # documentation.
154
155 DETAILS_AT_TOP = NO
156
157 # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
158 # member inherits the documentation from any documented member that it
159 # re-implements.
160
161 INHERIT_DOCS = YES
162
163 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
164 # tag is set to YES, then doxygen will reuse the documentation of the first
165 # member in the group (if any) for the other members of the group. By default
166 # all members of a group must be documented explicitly.
167
168 DISTRIBUTE_GROUP_DOC = NO
169
170 # The TAB_SIZE tag can be used to set the number of spaces in a tab.
171 # Doxygen uses this value to replace tabs by spaces in code fragments.
172
173 TAB_SIZE = 8
174
175 # This tag can be used to specify a number of aliases that acts
176 # as commands in the documentation. An alias has the form "name=value".
177 # For example adding "sideeffect=\par Side Effects:\n" will allow you to
178 # put the command \sideeffect (or @sideeffect) in the documentation, which
179 # will result in a user-defined paragraph with heading "Side Effects:".
180 # You can put \n's in the value part of an alias to insert newlines.
181
182 ALIASES =
183
184 # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
185 # sources only. Doxygen will then generate output that is more tailored for C.
186 # For instance, some of the names that are used will be different. The list
187 # of all members will be omitted, etc.
188
189 OPTIMIZE_OUTPUT_FOR_C = YES
190
191 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources
192 # only. Doxygen will then generate output that is more tailored for Java.
193 # For instance, namespaces will be presented as packages, qualified scopes
194 # will look different, etc.
195
196 OPTIMIZE_OUTPUT_JAVA = NO
197
198 # Set the SUBGROUPING tag to YES (the default) to allow class member groups of
199 # the same type (for instance a group of public functions) to be put as a
200 # subgroup of that type (e.g. under the Public Functions section). Set it to
201 # NO to prevent subgrouping. Alternatively, this can be done per class using
202 # the \nosubgrouping command.
203
204 SUBGROUPING = YES
205
206 #---------------------------------------------------------------------------
207 # Build related configuration options
208 #---------------------------------------------------------------------------
209
210 # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
211 # documentation are documented, even if no documentation was available.
212 # Private class members and static file members will be hidden unless
213 # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
214
215 EXTRACT_ALL = YES
216
217 # If the EXTRACT_PRIVATE tag is set to YES all private members of a class
218 # will be included in the documentation.
219
220 EXTRACT_PRIVATE = NO
221
222 # If the EXTRACT_STATIC tag is set to YES all static members of a file
223 # will be included in the documentation.
224
225 EXTRACT_STATIC = NO
226
227 # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
228 # defined locally in source files will be included in the documentation.
229 # If set to NO only classes defined in header files are included.
230
231 EXTRACT_LOCAL_CLASSES = YES
232
233 # This flag is only useful for Objective-C code. When set to YES local
234 # methods, which are defined in the implementation section but not in
235 # the interface are included in the documentation.
236 # If set to NO (the default) only methods in the interface are included.
237
238 EXTRACT_LOCAL_METHODS = YES
239
240 # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
241 # undocumented members of documented classes, files or namespaces.
242 # If set to NO (the default) these members will be included in the
243 # various overviews, but no documentation section is generated.
244 # This option has no effect if EXTRACT_ALL is enabled.
245
246 HIDE_UNDOC_MEMBERS = NO
247
248 # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
249 # undocumented classes that are normally visible in the class hierarchy.
250 # If set to NO (the default) these classes will be included in the various
251 # overviews. This option has no effect if EXTRACT_ALL is enabled.
252
253 HIDE_UNDOC_CLASSES = NO
254
255 # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
256 # friend (class|struct|union) declarations.
257 # If set to NO (the default) these declarations will be included in the
258 # documentation.
259
260 HIDE_FRIEND_COMPOUNDS = NO
261
262 # If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
263 # documentation blocks found inside the body of a function.
264 # If set to NO (the default) these blocks will be appended to the
265 # function's detailed documentation block.
266
267 HIDE_IN_BODY_DOCS = NO
268
269 # The INTERNAL_DOCS tag determines if documentation
270 # that is typed after a \internal command is included. If the tag is set
271 # to NO (the default) then the documentation will be excluded.
272 # Set it to YES to include the internal documentation.
273
274 INTERNAL_DOCS = NO
275
276 # If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
277 # file names in lower-case letters. If set to YES upper-case letters are also
278 # allowed. This is useful if you have classes or files whose names only differ
279 # in case and if your file system supports case sensitive file names. Windows
280 # and Mac users are advised to set this option to NO.
281
282 CASE_SENSE_NAMES = YES
283
284 # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
285 # will show members with their full class and namespace scopes in the
286 # documentation. If set to YES the scope will be hidden.
287
288 HIDE_SCOPE_NAMES = NO
289
290 # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
291 # will put a list of the files that are included by a file in the documentation
292 # of that file.
293
294 SHOW_INCLUDE_FILES = YES
295
296 # If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
297 # is inserted in the documentation for inline members.
298
299 INLINE_INFO = YES
300
301 # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
302 # will sort the (detailed) documentation of file and class members
303 # alphabetically by member name. If set to NO the members will appear in
304 # declaration order.
305
306 SORT_MEMBER_DOCS = NO
307
308 # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
309 # brief documentation of file, namespace and class members alphabetically
310 # by member name. If set to NO (the default) the members will appear in
311 # declaration order.
312
313 SORT_BRIEF_DOCS = NO
314
315 # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
316 # sorted by fully-qualified names, including namespaces. If set to
317 # NO (the default), the class list will be sorted only by class name,
318 # not including the namespace part.
319 # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
320 # Note: This option applies only to the class list, not to the
321 # alphabetical list.
322
323 SORT_BY_SCOPE_NAME = NO
324
325 # The GENERATE_TODOLIST tag can be used to enable (YES) or
326 # disable (NO) the todo list. This list is created by putting \todo
327 # commands in the documentation.
328
329 GENERATE_TODOLIST = YES
330
331 # The GENERATE_TESTLIST tag can be used to enable (YES) or
332 # disable (NO) the test list. This list is created by putting \test
333 # commands in the documentation.
334
335 GENERATE_TESTLIST = YES
336
337 # The GENERATE_BUGLIST tag can be used to enable (YES) or
338 # disable (NO) the bug list. This list is created by putting \bug
339 # commands in the documentation.
340
341 GENERATE_BUGLIST = YES
342
343 # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
344 # disable (NO) the deprecated list. This list is created by putting
345 # \deprecated commands in the documentation.
346
347 GENERATE_DEPRECATEDLIST= YES
348
349 # The ENABLED_SECTIONS tag can be used to enable conditional
350 # documentation sections, marked by \if sectionname ... \endif.
351
352 ENABLED_SECTIONS =
353
354 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines
355 # the initial value of a variable or define consists of for it to appear in
356 # the documentation. If the initializer consists of more lines than specified
357 # here it will be hidden. Use a value of 0 to hide initializers completely.
358 # The appearance of the initializer of individual variables and defines in the
359 # documentation can be controlled using \showinitializer or \hideinitializer
360 # command in the documentation regardless of this setting.
361
362 MAX_INITIALIZER_LINES = 30
363
364 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated
365 # at the bottom of the documentation of classes and structs. If set to YES the
366 # list will mention the files that were used to generate the documentation.
367
368 SHOW_USED_FILES = YES
369
370 # If the sources in your project are distributed over multiple directories
371 # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
372 # in the documentation.
373
374 SHOW_DIRECTORIES = YES
375
376 # The FILE_VERSION_FILTER tag can be used to specify a program or script that
377 # doxygen should invoke to get the current version for each file (typically from the
378 # version control system). Doxygen will invoke the program by executing (via
379 # popen()) the command <command> <input-file>, where <command> is the value of
380 # the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
381 # provided by doxygen. Whatever the progam writes to standard output
382 # is used as the file version. See the manual for examples.
383
384 FILE_VERSION_FILTER =
385
386 #---------------------------------------------------------------------------
387 # configuration options related to warning and progress messages
388 #---------------------------------------------------------------------------
389
390 # The QUIET tag can be used to turn on/off the messages that are generated
391 # by doxygen. Possible values are YES and NO. If left blank NO is used.
392
393 QUIET = NO
394
395 # The WARNINGS tag can be used to turn on/off the warning messages that are
396 # generated by doxygen. Possible values are YES and NO. If left blank
397 # NO is used.
398
399 WARNINGS = YES
400
401 # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
402 # for undocumented members. If EXTRACT_ALL is set to YES then this flag will
403 # automatically be disabled.
404
405 WARN_IF_UNDOCUMENTED = YES
406
407 # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
408 # potential errors in the documentation, such as not documenting some
409 # parameters in a documented function, or documenting parameters that
410 # don't exist or using markup commands wrongly.
411
412 WARN_IF_DOC_ERROR = YES
413
414 # This WARN_NO_PARAMDOC option can be abled to get warnings for
415 # functions that are documented, but have no documentation for their parameters
416 # or return value. If set to NO (the default) doxygen will only warn about
417 # wrong or incomplete parameter documentation, but not about the absence of
418 # documentation.
419
420 WARN_NO_PARAMDOC = NO
421
422 # The WARN_FORMAT tag determines the format of the warning messages that
423 # doxygen can produce. The string should contain the $file, $line, and $text
424 # tags, which will be replaced by the file and line number from which the
425 # warning originated and the warning text. Optionally the format may contain
426 # $version, which will be replaced by the version of the file (if it could
427 # be obtained via FILE_VERSION_FILTER)
428
429 WARN_FORMAT = "$file:$line: $text"
430
431 # The WARN_LOGFILE tag can be used to specify a file to which warning
432 # and error messages should be written. If left blank the output is written
433 # to stderr.
434
435 WARN_LOGFILE =
436
437 #---------------------------------------------------------------------------
438 # configuration options related to the input files
439 #---------------------------------------------------------------------------
440
441 # The INPUT tag can be used to specify the files and/or directories that contain
442 # documented source files. You may enter file names like "myfile.cpp" or
443 # directories like "/usr/src/myproject". Separate the files or directories
444 # with spaces.
445
446 INPUT = src
447
448 # If the value of the INPUT tag contains directories, you can use the
449 # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
450 # and *.h) to filter out the source-files in the directories. If left
451 # blank the following patterns are tested:
452 # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
453 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm
454
455 FILE_PATTERNS = *.h
456
457 # The RECURSIVE tag can be used to turn specify whether or not subdirectories
458 # should be searched for input files as well. Possible values are YES and NO.
459 # If left blank NO is used.
460
461 RECURSIVE = NO
462
463 # The EXCLUDE tag can be used to specify files and/or directories that should
464 # excluded from the INPUT source files. This way you can easily exclude a
465 # subdirectory from a directory tree whose root is specified with the INPUT tag.
466
467 EXCLUDE = src/support.h
468
469 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or
470 # directories that are symbolic links (a Unix filesystem feature) are excluded
471 # from the input.
472
473 EXCLUDE_SYMLINKS = NO
474
475 # If the value of the INPUT tag contains directories, you can use the
476 # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
477 # certain files from those directories.
478
479 EXCLUDE_PATTERNS = *.c
480
481 # The EXAMPLE_PATH tag can be used to specify one or more files or
482 # directories that contain example code fragments that are included (see
483 # the \include command).
484
485 EXAMPLE_PATH =
486
487 # If the value of the EXAMPLE_PATH tag contains directories, you can use the
488 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
489 # and *.h) to filter out the source-files in the directories. If left
490 # blank all files are included.
491
492 EXAMPLE_PATTERNS =
493
494 # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
495 # searched for input files to be used with the \include or \dontinclude
496 # commands irrespective of the value of the RECURSIVE tag.
497 # Possible values are YES and NO. If left blank NO is used.
498
499 EXAMPLE_RECURSIVE = NO
500
501 # The IMAGE_PATH tag can be used to specify one or more files or
502 # directories that contain image that are included in the documentation (see
503 # the \image command).
504
505 IMAGE_PATH =
506
507 # The INPUT_FILTER tag can be used to specify a program that doxygen should
508 # invoke to filter for each input file. Doxygen will invoke the filter program
509 # by executing (via popen()) the command <filter> <input-file>, where <filter>
510 # is the value of the INPUT_FILTER tag, and <input-file> is the name of an
511 # input file. Doxygen will then use the output that the filter program writes
512 # to standard output. If FILTER_PATTERNS is specified, this tag will be
513 # ignored.
514
515 INPUT_FILTER =
516
517 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
518 # basis. Doxygen will compare the file name with each pattern and apply the
519 # filter if there is a match. The filters are a list of the form:
520 # pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
521 # info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
522 # is applied to all files.
523
524 FILTER_PATTERNS =
525
526 # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
527 # INPUT_FILTER) will be used to filter the input files when producing source
528 # files to browse (i.e. when SOURCE_BROWSER is set to YES).
529
530 FILTER_SOURCE_FILES = NO
531
532 #---------------------------------------------------------------------------
533 # configuration options related to source browsing
534 #---------------------------------------------------------------------------
535
536 # If the SOURCE_BROWSER tag is set to YES then a list of source files will
537 # be generated. Documented entities will be cross-referenced with these sources.
538 # Note: To get rid of all source code in the generated output, make sure also
539 # VERBATIM_HEADERS is set to NO.
540
541 SOURCE_BROWSER = NO
542
543 # Setting the INLINE_SOURCES tag to YES will include the body
544 # of functions and classes directly in the documentation.
545
546 INLINE_SOURCES = NO
547
548 # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
549 # doxygen to hide any special comment blocks from generated source code
550 # fragments. Normal C and C++ comments will always remain visible.
551
552 STRIP_CODE_COMMENTS = YES
553
554 # If the REFERENCED_BY_RELATION tag is set to YES (the default)
555 # then for each documented function all documented
556 # functions referencing it will be listed.
557
558 REFERENCED_BY_RELATION = YES
559
560 # If the REFERENCES_RELATION tag is set to YES (the default)
561 # then for each documented function all documented entities
562 # called/used by that function will be listed.
563
564 REFERENCES_RELATION = YES
565
566 # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
567 # will generate a verbatim copy of the header file for each class for
568 # which an include is specified. Set to NO to disable this.
569
570 VERBATIM_HEADERS = YES
571
572 #---------------------------------------------------------------------------
573 # configuration options related to the alphabetical class index
574 #---------------------------------------------------------------------------
575
576 # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
577 # of all compounds will be generated. Enable this if the project
578 # contains a lot of classes, structs, unions or interfaces.
579
580 ALPHABETICAL_INDEX = NO
581
582 # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
583 # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
584 # in which this list will be split (can be a number in the range [1..20])
585
586 COLS_IN_ALPHA_INDEX = 5
587
588 # In case all classes in a project start with a common prefix, all
589 # classes will be put under the same header in the alphabetical index.
590 # The IGNORE_PREFIX tag can be used to specify one or more prefixes that
591 # should be ignored while generating the index headers.
592
593 IGNORE_PREFIX =
594
595 #---------------------------------------------------------------------------
596 # configuration options related to the HTML output
597 #---------------------------------------------------------------------------
598
599 # If the GENERATE_HTML tag is set to YES (the default) Doxygen will
600 # generate HTML output.
601
602 GENERATE_HTML = YES
603
604 # The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
605 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
606 # put in front of it. If left blank `html' will be used as the default path.
607
608 HTML_OUTPUT = html
609
610 # The HTML_FILE_EXTENSION tag can be used to specify the file extension for
611 # each generated HTML page (for example: .htm,.php,.asp). If it is left blank
612 # doxygen will generate files with .html extension.
613
614 HTML_FILE_EXTENSION = .html
615
616 # The HTML_HEADER tag can be used to specify a personal HTML header for
617 # each generated HTML page. If it is left blank doxygen will generate a
618 # standard header.
619
620 HTML_HEADER =
621
622 # The HTML_FOOTER tag can be used to specify a personal HTML footer for
623 # each generated HTML page. If it is left blank doxygen will generate a
624 # standard footer.
625
626 HTML_FOOTER =
627
628 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading
629 # style sheet that is used by each HTML page. It can be used to
630 # fine-tune the look of the HTML output. If the tag is left blank doxygen
631 # will generate a default style sheet. Note that doxygen will try to copy
632 # the style sheet file to the HTML output directory, so don't put your own
633 # stylesheet in the HTML output directory as well, or it will be erased!
634
635 HTML_STYLESHEET =
636
637 # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
638 # files or namespaces will be aligned in HTML using tables. If set to
639 # NO a bullet list will be used.
640
641 HTML_ALIGN_MEMBERS = YES
642
643 # If the GENERATE_HTMLHELP tag is set to YES, additional index files
644 # will be generated that can be used as input for tools like the
645 # Microsoft HTML help workshop to generate a compressed HTML help file (.chm)
646 # of the generated HTML documentation.
647
648 GENERATE_HTMLHELP = NO
649
650 # If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
651 # be used to specify the file name of the resulting .chm file. You
652 # can add a path in front of the file if the result should not be
653 # written to the html output directory.
654
655 CHM_FILE =
656
657 # If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
658 # be used to specify the location (absolute path including file name) of
659 # the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
660 # the HTML help compiler on the generated index.hhp.
661
662 HHC_LOCATION =
663
664 # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
665 # controls if a separate .chi index file is generated (YES) or that
666 # it should be included in the master .chm file (NO).
667
668 GENERATE_CHI = NO
669
670 # If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
671 # controls whether a binary table of contents is generated (YES) or a
672 # normal table of contents (NO) in the .chm file.
673
674 BINARY_TOC = NO
675
676 # The TOC_EXPAND flag can be set to YES to add extra items for group members
677 # to the contents of the HTML help documentation and to the tree view.
678
679 TOC_EXPAND = NO
680
681 # The DISABLE_INDEX tag can be used to turn on/off the condensed index at
682 # top of each HTML page. The value NO (the default) enables the index and
683 # the value YES disables it.
684
685 DISABLE_INDEX = NO
686
687 # This tag can be used to set the number of enum values (range [1..20])
688 # that doxygen will group on one line in the generated HTML documentation.
689
690 ENUM_VALUES_PER_LINE = 4
691
692 # If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
693 # generated containing a tree-like index structure (just like the one that
694 # is generated for HTML Help). For this to work a browser that supports
695 # JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+,
696 # Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are
697 # probably better off using the HTML help feature.
698
699 GENERATE_TREEVIEW = NO
700
701 # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
702 # used to set the initial width (in pixels) of the frame in which the tree
703 # is shown.
704
705 TREEVIEW_WIDTH = 250
706
707 #---------------------------------------------------------------------------
708 # configuration options related to the LaTeX output
709 #---------------------------------------------------------------------------
710
711 # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
712 # generate Latex output.
713
714 GENERATE_LATEX = YES
715
716 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
717 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
718 # put in front of it. If left blank `latex' will be used as the default path.
719
720 LATEX_OUTPUT = latex
721
722 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
723 # invoked. If left blank `latex' will be used as the default command name.
724
725 LATEX_CMD_NAME = latex
726
727 # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
728 # generate index for LaTeX. If left blank `makeindex' will be used as the
729 # default command name.
730
731 MAKEINDEX_CMD_NAME = makeindex
732
733 # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
734 # LaTeX documents. This may be useful for small projects and may help to
735 # save some trees in general.
736
737 COMPACT_LATEX = NO
738
739 # The PAPER_TYPE tag can be used to set the paper type that is used
740 # by the printer. Possible values are: a4, a4wide, letter, legal and
741 # executive. If left blank a4wide will be used.
742
743 PAPER_TYPE = a4wide
744
745 # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
746 # packages that should be included in the LaTeX output.
747
748 EXTRA_PACKAGES =
749
750 # The LATEX_HEADER tag can be used to specify a personal LaTeX header for
751 # the generated latex document. The header should contain everything until
752 # the first chapter. If it is left blank doxygen will generate a
753 # standard header. Notice: only use this tag if you know what you are doing!
754
755 LATEX_HEADER =
756
757 # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
758 # is prepared for conversion to pdf (using ps2pdf). The pdf file will
759 # contain links (just like the HTML output) instead of page references
760 # This makes the output suitable for online browsing using a pdf viewer.
761
762 PDF_HYPERLINKS = NO
763
764 # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
765 # plain latex in the generated Makefile. Set this option to YES to get a
766 # higher quality PDF documentation.
767
768 USE_PDFLATEX = NO
769
770 # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
771 # command to the generated LaTeX files. This will instruct LaTeX to keep
772 # running if errors occur, instead of asking the user for help.
773 # This option is also used when generating formulas in HTML.
774
775 LATEX_BATCHMODE = NO
776
777 # If LATEX_HIDE_INDICES is set to YES then doxygen will not
778 # include the index chapters (such as File Index, Compound Index, etc.)
779 # in the output.
780
781 LATEX_HIDE_INDICES = NO
782
783 #---------------------------------------------------------------------------
784 # configuration options related to the RTF output
785 #---------------------------------------------------------------------------
786
787 # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
788 # The RTF output is optimized for Word 97 and may not look very pretty with
789 # other RTF readers or editors.
790
791 GENERATE_RTF = NO
792
793 # The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
794 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
795 # put in front of it. If left blank `rtf' will be used as the default path.
796
797 RTF_OUTPUT = rtf
798
799 # If the COMPACT_RTF tag is set to YES Doxygen generates more compact
800 # RTF documents. This may be useful for small projects and may help to
801 # save some trees in general.
802
803 COMPACT_RTF = NO
804
805 # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
806 # will contain hyperlink fields. The RTF file will
807 # contain links (just like the HTML output) instead of page references.
808 # This makes the output suitable for online browsing using WORD or other
809 # programs which support those fields.
810 # Note: wordpad (write) and others do not support links.
811
812 RTF_HYPERLINKS = NO
813
814 # Load stylesheet definitions from file. Syntax is similar to doxygen's
815 # config file, i.e. a series of assignments. You only have to provide
816 # replacements, missing definitions are set to their default value.
817
818 RTF_STYLESHEET_FILE =
819
820 # Set optional variables used in the generation of an rtf document.
821 # Syntax is similar to doxygen's config file.
822
823 RTF_EXTENSIONS_FILE =
824
825 #---------------------------------------------------------------------------
826 # configuration options related to the man page output
827 #---------------------------------------------------------------------------
828
829 # If the GENERATE_MAN tag is set to YES (the default) Doxygen will
830 # generate man pages
831
832 GENERATE_MAN = YES
833
834 # The MAN_OUTPUT tag is used to specify where the man pages will be put.
835 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
836 # put in front of it. If left blank `man' will be used as the default path.
837
838 MAN_OUTPUT = man
839
840 # The MAN_EXTENSION tag determines the extension that is added to
841 # the generated man pages (default is the subroutine's section .3)
842
843 MAN_EXTENSION = .3
844
845 # If the MAN_LINKS tag is set to YES and Doxygen generates man output,
846 # then it will generate one additional man file for each entity
847 # documented in the real man page(s). These additional files
848 # only source the real man page, but without them the man command
849 # would be unable to find the correct page. The default is NO.
850
851 MAN_LINKS = NO
852
853 #---------------------------------------------------------------------------
854 # configuration options related to the XML output
855 #---------------------------------------------------------------------------
856
857 # If the GENERATE_XML tag is set to YES Doxygen will
858 # generate an XML file that captures the structure of
859 # the code including all documentation.
860
861 GENERATE_XML = NO
862
863 # The XML_OUTPUT tag is used to specify where the XML pages will be put.
864 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
865 # put in front of it. If left blank `xml' will be used as the default path.
866
867 XML_OUTPUT = xml
868
869 # The XML_SCHEMA tag can be used to specify an XML schema,
870 # which can be used by a validating XML parser to check the
871 # syntax of the XML files.
872
873 XML_SCHEMA =
874
875 # The XML_DTD tag can be used to specify an XML DTD,
876 # which can be used by a validating XML parser to check the
877 # syntax of the XML files.
878
879 XML_DTD =
880
881 # If the XML_PROGRAMLISTING tag is set to YES Doxygen will
882 # dump the program listings (including syntax highlighting
883 # and cross-referencing information) to the XML output. Note that
884 # enabling this will significantly increase the size of the XML output.
885
886 XML_PROGRAMLISTING = YES
887
888 #---------------------------------------------------------------------------
889 # configuration options for the AutoGen Definitions output
890 #---------------------------------------------------------------------------
891
892 # If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
893 # generate an AutoGen Definitions (see autogen.sf.net) file
894 # that captures the structure of the code including all
895 # documentation. Note that this feature is still experimental
896 # and incomplete at the moment.
897
898 GENERATE_AUTOGEN_DEF = NO
899
900 #---------------------------------------------------------------------------
901 # configuration options related to the Perl module output
902 #---------------------------------------------------------------------------
903
904 # If the GENERATE_PERLMOD tag is set to YES Doxygen will
905 # generate a Perl module file that captures the structure of
906 # the code including all documentation. Note that this
907 # feature is still experimental and incomplete at the
908 # moment.
909
910 GENERATE_PERLMOD = NO
911
912 # If the PERLMOD_LATEX tag is set to YES Doxygen will generate
913 # the necessary Makefile rules, Perl scripts and LaTeX code to be able
914 # to generate PDF and DVI output from the Perl module output.
915
916 PERLMOD_LATEX = NO
917
918 # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
919 # nicely formatted so it can be parsed by a human reader. This is useful
920 # if you want to understand what is going on. On the other hand, if this
921 # tag is set to NO the size of the Perl module output will be much smaller
922 # and Perl will parse it just the same.
923
924 PERLMOD_PRETTY = YES
925
926 # The names of the make variables in the generated doxyrules.make file
927 # are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
928 # This is useful so different doxyrules.make files included by the same
929 # Makefile don't overwrite each other's variables.
930
931 PERLMOD_MAKEVAR_PREFIX =
932
933 #---------------------------------------------------------------------------
934 # Configuration options related to the preprocessor
935 #---------------------------------------------------------------------------
936
937 # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
938 # evaluate all C-preprocessor directives found in the sources and include
939 # files.
940
941 ENABLE_PREPROCESSING = YES
942
943 # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
944 # names in the source code. If set to NO (the default) only conditional
945 # compilation will be performed. Macro expansion can be done in a controlled
946 # way by setting EXPAND_ONLY_PREDEF to YES.
947
948 MACRO_EXPANSION = NO
949
950 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
951 # then the macro expansion is limited to the macros specified with the
952 # PREDEFINED and EXPAND_AS_PREDEFINED tags.
953
954 EXPAND_ONLY_PREDEF = NO
955
956 # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
957 # in the INCLUDE_PATH (see below) will be search if a #include is found.
958
959 SEARCH_INCLUDES = YES
960
961 # The INCLUDE_PATH tag can be used to specify one or more directories that
962 # contain include files that are not input files but should be processed by
963 # the preprocessor.
964
965 INCLUDE_PATH =
966
967 # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
968 # patterns (like *.h and *.hpp) to filter out the header-files in the
969 # directories. If left blank, the patterns specified with FILE_PATTERNS will
970 # be used.
971
972 INCLUDE_FILE_PATTERNS =
973
974 # The PREDEFINED tag can be used to specify one or more macro names that
975 # are defined before the preprocessor is started (similar to the -D option of
976 # gcc). The argument of the tag is a list of macros of the form: name
977 # or name=definition (no spaces). If the definition and the = are
978 # omitted =1 is assumed. To prevent a macro definition from being
979 # undefined via #undef or recursively expanded use the := operator
980 # instead of the = operator.
981
982 PREDEFINED =
983
984 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
985 # this tag can be used to specify a list of macro names that should be expanded.
986 # The macro definition that is found in the sources will be used.
987 # Use the PREDEFINED tag if you want to use a different macro definition.
988
989 EXPAND_AS_DEFINED =
990
991 # If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
992 # doxygen's preprocessor will remove all function-like macros that are alone
993 # on a line, have an all uppercase name, and do not end with a semicolon. Such
994 # function macros are typically used for boiler-plate code, and will confuse
995 # the parser if not removed.
996
997 SKIP_FUNCTION_MACROS = YES
998
999 #---------------------------------------------------------------------------
1000 # Configuration::additions related to external references
1001 #---------------------------------------------------------------------------
1002
1003 # The TAGFILES option can be used to specify one or more tagfiles.
1004 # Optionally an initial location of the external documentation
1005 # can be added for each tagfile. The format of a tag file without
1006 # this location is as follows:
1007 # TAGFILES = file1 file2 ...
1008 # Adding location for the tag files is done as follows:
1009 # TAGFILES = file1=loc1 "file2 = loc2" ...
1010 # where "loc1" and "loc2" can be relative or absolute paths or
1011 # URLs. If a location is present for each tag, the installdox tool
1012 # does not have to be run to correct the links.
1013 # Note that each tag file must have a unique name
1014 # (where the name does NOT include the path)
1015 # If a tag file is not located in the directory in which doxygen
1016 # is run, you must also specify the path to the tagfile here.
1017
1018 TAGFILES =
1019
1020 # When a file name is specified after GENERATE_TAGFILE, doxygen will create
1021 # a tag file that is based on the input files it reads.
1022
1023 GENERATE_TAGFILE =
1024
1025 # If the ALLEXTERNALS tag is set to YES all external classes will be listed
1026 # in the class index. If set to NO only the inherited external classes
1027 # will be listed.
1028
1029 ALLEXTERNALS = NO
1030
1031 # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
1032 # in the modules index. If set to NO, only the current project's groups will
1033 # be listed.
1034
1035 EXTERNAL_GROUPS = YES
1036
1037 # The PERL_PATH should be the absolute path and name of the perl script
1038 # interpreter (i.e. the result of `which perl').
1039
1040 PERL_PATH = /usr/bin/perl
1041
1042 #---------------------------------------------------------------------------
1043 # Configuration options related to the dot tool
1044 #---------------------------------------------------------------------------
1045
1046 # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
1047 # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
1048 # or super classes. Setting the tag to NO turns the diagrams off. Note that
1049 # this option is superseded by the HAVE_DOT option below. This is only a
1050 # fallback. It is recommended to install and use dot, since it yields more
1051 # powerful graphs.
1052
1053 CLASS_DIAGRAMS = YES
1054
1055 # If set to YES, the inheritance and collaboration graphs will hide
1056 # inheritance and usage relations if the target is undocumented
1057 # or is not a class.
1058
1059 HIDE_UNDOC_RELATIONS = YES
1060
1061 # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
1062 # available from the path. This tool is part of Graphviz, a graph visualization
1063 # toolkit from AT&T and Lucent Bell Labs. The other options in this section
1064 # have no effect if this option is set to NO (the default)
1065
1066 HAVE_DOT = NO
1067
1068 # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
1069 # will generate a graph for each documented class showing the direct and
1070 # indirect inheritance relations. Setting this tag to YES will force the
1071 # the CLASS_DIAGRAMS tag to NO.
1072
1073 CLASS_GRAPH = YES
1074
1075 # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
1076 # will generate a graph for each documented class showing the direct and
1077 # indirect implementation dependencies (inheritance, containment, and
1078 # class references variables) of the class with other documented classes.
1079
1080 COLLABORATION_GRAPH = YES
1081
1082 # If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
1083 # will generate a graph for groups, showing the direct groups dependencies
1084
1085 GROUP_GRAPHS = YES
1086
1087 # If the UML_LOOK tag is set to YES doxygen will generate inheritance and
1088 # collaboration diagrams in a style similar to the OMG's Unified Modeling
1089 # Language.
1090
1091 UML_LOOK = NO
1092
1093 # If set to YES, the inheritance and collaboration graphs will show the
1094 # relations between templates and their instances.
1095
1096 TEMPLATE_RELATIONS = NO
1097
1098 # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
1099 # tags are set to YES then doxygen will generate a graph for each documented
1100 # file showing the direct and indirect include dependencies of the file with
1101 # other documented files.
1102
1103 INCLUDE_GRAPH = YES
1104
1105 # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
1106 # HAVE_DOT tags are set to YES then doxygen will generate a graph for each
1107 # documented header file showing the documented files that directly or
1108 # indirectly include this file.
1109
1110 INCLUDED_BY_GRAPH = YES
1111
1112 # If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will
1113 # generate a call dependency graph for every global function or class method.
1114 # Note that enabling this option will significantly increase the time of a run.
1115 # So in most cases it will be better to enable call graphs for selected
1116 # functions only using the \callgraph command.
1117
1118 CALL_GRAPH = NO
1119
1120 # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
1121 # will graphical hierarchy of all classes instead of a textual one.
1122
1123 GRAPHICAL_HIERARCHY = YES
1124
1125 # If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
1126 # then doxygen will show the dependencies a directory has on other directories
1127 # in a graphical way. The dependency relations are determined by the #include
1128 # relations between the files in the directories.
1129
1130 DIRECTORY_GRAPH = YES
1131
1132 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
1133 # generated by dot. Possible values are png, jpg, or gif
1134 # If left blank png will be used.
1135
1136 DOT_IMAGE_FORMAT = png
1137
1138 # The tag DOT_PATH can be used to specify the path where the dot tool can be
1139 # found. If left blank, it is assumed the dot tool can be found in the path.
1140
1141 DOT_PATH =
1142
1143 # The DOTFILE_DIRS tag can be used to specify one or more directories that
1144 # contain dot files that are included in the documentation (see the
1145 # \dotfile command).
1146
1147 DOTFILE_DIRS =
1148
1149 # The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width
1150 # (in pixels) of the graphs generated by dot. If a graph becomes larger than
1151 # this value, doxygen will try to truncate the graph, so that it fits within
1152 # the specified constraint. Beware that most browsers cannot cope with very
1153 # large images.
1154
1155 MAX_DOT_GRAPH_WIDTH = 1024
1156
1157 # The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height
1158 # (in pixels) of the graphs generated by dot. If a graph becomes larger than
1159 # this value, doxygen will try to truncate the graph, so that it fits within
1160 # the specified constraint. Beware that most browsers cannot cope with very
1161 # large images.
1162
1163 MAX_DOT_GRAPH_HEIGHT = 1024
1164
1165 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
1166 # graphs generated by dot. A depth value of 3 means that only nodes reachable
1167 # from the root by following a path via at most 3 edges will be shown. Nodes
1168 # that lay further from the root node will be omitted. Note that setting this
1169 # option to 1 or 2 may greatly reduce the computation time needed for large
1170 # code bases. Also note that a graph may be further truncated if the graph's
1171 # image dimensions are not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH
1172 # and MAX_DOT_GRAPH_HEIGHT). If 0 is used for the depth value (the default),
1173 # the graph is not depth-constrained.
1174
1175 MAX_DOT_GRAPH_DEPTH = 0
1176
1177 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
1178 # background. This is disabled by default, which results in a white background.
1179 # Warning: Depending on the platform used, enabling this option may lead to
1180 # badly anti-aliased labels on the edges of a graph (i.e. they become hard to
1181 # read).
1182
1183 DOT_TRANSPARENT = NO
1184
1185 # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
1186 # files in one run (i.e. multiple -o and -T options on the command line). This
1187 # makes dot run faster, but since only newer versions of dot (>1.8.10)
1188 # support this, this feature is disabled by default.
1189
1190 DOT_MULTI_TARGETS = NO
1191
1192 # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
1193 # generate a legend page explaining the meaning of the various boxes and
1194 # arrows in the dot generated graphs.
1195
1196 GENERATE_LEGEND = YES
1197
1198 # If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
1199 # remove the intermediate dot files that are used to generate
1200 # the various graphs.
1201
1202 DOT_CLEANUP = YES
1203
1204 #---------------------------------------------------------------------------
1205 # Configuration::additions related to the search engine
1206 #---------------------------------------------------------------------------
1207
1208 # The SEARCHENGINE tag specifies whether or not a search engine should be
1209 # used. If set to NO the values of all tags below this one will be ignored.
1210
1211 SEARCHENGINE = NO
77 pkgconfigdir = $(libdir)/pkgconfig
88 pkgconfig_DATA = libhdate.pc
99
10 libhdatedocdir = ${prefix}/share/doc/libhdate0
10 libhdatedocdir = ${prefix}/share/doc/libhdate
1111 libhdatedoc_DATA = \
1212 README\
1313 hdate_README\
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = .
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
184
185 SUBDIRS = intl po src examples bindings debian
127
128 SUBDIRS = intl po src examples bindings
186129
187130 pkgconfigdir = $(libdir)/pkgconfig
188131 pkgconfig_DATA = libhdate.pc
189132
190 libhdatedocdir = ${prefix}/share/doc/libhdate0
191 libhdatedoc_DATA = \
192 README\
193 hdate_README\
194 COPYING\
195 AUTHORS\
196 ChangeLog\
197 INSTALL\
198 NEWS\
199 TODO\
200 USE\
201 ABOUT-NLS
133 libhdatedocdir = ${prefix}/share/doc/libhdate
134 libhdatedoc_DATA = README hdate_README COPYING AUTHORS ChangeLog INSTALL NEWS TODO USE ABOUT-NLS
202135
203136
204137 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in libhdate.spec libhdate.spec.in
205 subdir = .
206138 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
207139 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
208 CONFIG_CLEAN_FILES = libhdate.spec libhdate.pc intl/Makefile
209 DIST_SOURCES =
210 DATA = $(libhdatedoc_DATA) $(pkgconfig_DATA)
211
212
213 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
214 ps-recursive install-info-recursive uninstall-info-recursive \
215 all-recursive install-data-recursive install-exec-recursive \
216 installdirs-recursive install-recursive uninstall-recursive \
217 check-recursive installcheck-recursive
218 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure \
219 ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL Makefile.am NEWS \
220 TODO aclocal.m4 compile config.guess config.sub configure.in \
221 depcomp install-sh libhdate.pc.in libhdate.spec.in ltmain.sh \
222 missing mkinstalldirs
223 DIST_SUBDIRS = $(SUBDIRS)
224 all: all-recursive
225
140 CONFIG_CLEAN_FILES = libhdate.spec libhdate.pc
141 DATA = $(libhdatedoc_DATA) $(pkgconfig_DATA)
142
143 DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
144 Makefile.am Makefile.in NEWS TODO aclocal.m4 config.guess config.sub \
145 configure configure.in install-sh libhdate.pc.in libhdate.spec.in \
146 ltmain.sh missing mkinstalldirs
147
148
149 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
150
151 TAR = tar
152 GZIP_ENV = --best
153 all: all-redirect
226154 .SUFFIXES:
227
228 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
229 configure.lineno
230 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
231 cd $(top_srcdir) && \
232 $(AUTOMAKE) --gnu Makefile
233 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
234 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
235
236 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
155 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
156 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
157
158 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
159 cd $(top_builddir) \
160 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
161
162 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
163 cd $(srcdir) && $(ACLOCAL)
164
165 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
237166 $(SHELL) ./config.status --recheck
238 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
167 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
239168 cd $(srcdir) && $(AUTOCONF)
240
241 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
242 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
243169 libhdate.spec: $(top_builddir)/config.status libhdate.spec.in
244 cd $(top_builddir) && $(SHELL) ./config.status $@
170 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
245171 libhdate.pc: $(top_builddir)/config.status libhdate.pc.in
246 cd $(top_builddir) && $(SHELL) ./config.status $@
247 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
248 cd $(top_builddir) && $(SHELL) ./config.status $@
249
250 mostlyclean-libtool:
251 -rm -f *.lo
252
253 clean-libtool:
254 -rm -rf .libs _libs
255
256 distclean-libtool:
257 -rm -f libtool
258 uninstall-info-am:
259 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
172 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
173
260174 install-libhdatedocDATA: $(libhdatedoc_DATA)
261175 @$(NORMAL_INSTALL)
262176 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
263177 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
264 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
265 f="`echo $$p | sed -e 's|^.*/||'`"; \
266 echo " $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f"; \
267 $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f; \
178 if test -f $(srcdir)/$$p; then \
179 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
180 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
181 else if test -f $$p; then \
182 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
183 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
184 fi; fi; \
268185 done
269186
270187 uninstall-libhdatedocDATA:
271188 @$(NORMAL_UNINSTALL)
272 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
273 f="`echo $$p | sed -e 's|^.*/||'`"; \
274 echo " rm -f $(DESTDIR)$(libhdatedocdir)/$$f"; \
275 rm -f $(DESTDIR)$(libhdatedocdir)/$$f; \
276 done
277 pkgconfigDATA_INSTALL = $(INSTALL_DATA)
189 list='$(libhdatedoc_DATA)'; for p in $$list; do \
190 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
191 done
192
278193 install-pkgconfigDATA: $(pkgconfig_DATA)
279194 @$(NORMAL_INSTALL)
280195 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
281196 @list='$(pkgconfig_DATA)'; for p in $$list; do \
282 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
283 f="`echo $$p | sed -e 's|^.*/||'`"; \
284 echo " $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f"; \
285 $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f; \
197 if test -f $(srcdir)/$$p; then \
198 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
199 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \
200 else if test -f $$p; then \
201 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
202 $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \
203 fi; fi; \
286204 done
287205
288206 uninstall-pkgconfigDATA:
289207 @$(NORMAL_UNINSTALL)
290 @list='$(pkgconfig_DATA)'; for p in $$list; do \
291 f="`echo $$p | sed -e 's|^.*/||'`"; \
292 echo " rm -f $(DESTDIR)$(pkgconfigdir)/$$f"; \
293 rm -f $(DESTDIR)$(pkgconfigdir)/$$f; \
208 list='$(pkgconfig_DATA)'; for p in $$list; do \
209 rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
294210 done
295211
296212 # This directory's subdirectories are mostly independent; you can cd
299215 # (1) if the variable is set in `config.status', edit `config.status'
300216 # (which will cause the Makefiles to be regenerated when you run `make');
301217 # (2) otherwise, pass the desired values on the `make' command line.
302 $(RECURSIVE_TARGETS):
303 @set fnord $$MAKEFLAGS; amf=$$2; \
218
219 @SET_MAKE@
220
221 all-recursive install-data-recursive install-exec-recursive \
222 installdirs-recursive install-recursive uninstall-recursive \
223 check-recursive installcheck-recursive info-recursive dvi-recursive:
224 @set fnord $(MAKEFLAGS); amf=$$2; \
304225 dot_seen=no; \
305226 target=`echo $@ | sed s/-recursive//`; \
306227 list='$(SUBDIRS)'; for subdir in $$list; do \
320241
321242 mostlyclean-recursive clean-recursive distclean-recursive \
322243 maintainer-clean-recursive:
323 @set fnord $$MAKEFLAGS; amf=$$2; \
244 @set fnord $(MAKEFLAGS); amf=$$2; \
324245 dot_seen=no; \
325 case "$@" in \
326 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
327 *) list='$(SUBDIRS)' ;; \
328 esac; \
329 rev=''; for subdir in $$list; do \
330 if test "$$subdir" = "."; then :; else \
331 rev="$$subdir $$rev"; \
332 fi; \
246 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
247 rev="$$subdir $$rev"; \
248 test "$$subdir" != "." || dot_seen=yes; \
333249 done; \
334 rev="$$rev ."; \
250 test "$$dot_seen" = "no" && rev=". $$rev"; \
335251 target=`echo $@ | sed s/-recursive//`; \
336252 for subdir in $$rev; do \
337253 echo "Making $$target in $$subdir"; \
347263 list='$(SUBDIRS)'; for subdir in $$list; do \
348264 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
349265 done
350 ctags-recursive:
351 list='$(SUBDIRS)'; for subdir in $$list; do \
352 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
353 done
354
355 ETAGS = etags
356 ETAGSFLAGS =
357
358 CTAGS = ctags
359 CTAGSFLAGS =
360266
361267 tags: TAGS
362268
363 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
364 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
365 unique=`for i in $$list; do \
366 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
367 done | \
368 $(AWK) ' { files[$$0] = 1; } \
269 ID: $(HEADERS) $(SOURCES) $(LISP)
270 list='$(SOURCES) $(HEADERS)'; \
271 unique=`for i in $$list; do echo $$i; done | \
272 awk ' { files[$$0] = 1; } \
369273 END { for (i in files) print i; }'`; \
370 mkid -fID $$unique
371
372 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
373 $(TAGS_FILES) $(LISP)
274 here=`pwd` && cd $(srcdir) \
275 && mkid -f$$here/ID $$unique $(LISP)
276
277 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
374278 tags=; \
375279 here=`pwd`; \
376 if (etags --etags-include --version) >/dev/null 2>&1; then \
377 include_option=--etags-include; \
378 else \
379 include_option=--include; \
380 fi; \
381280 list='$(SUBDIRS)'; for subdir in $$list; do \
382 if test "$$subdir" = .; then :; else \
383 test -f $$subdir/TAGS && \
384 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
385 fi; \
281 if test "$$subdir" = .; then :; else \
282 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
283 fi; \
386284 done; \
387 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
388 unique=`for i in $$list; do \
389 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
390 done | \
391 $(AWK) ' { files[$$0] = 1; } \
285 list='$(SOURCES) $(HEADERS)'; \
286 unique=`for i in $$list; do echo $$i; done | \
287 awk ' { files[$$0] = 1; } \
392288 END { for (i in files) print i; }'`; \
393 test -z "$(ETAGS_ARGS)$$tags$$unique" \
394 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
395 $$tags $$unique
396
397 ctags: CTAGS
398 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
399 $(TAGS_FILES) $(LISP)
400 tags=; \
401 here=`pwd`; \
402 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
403 unique=`for i in $$list; do \
404 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
405 done | \
406 $(AWK) ' { files[$$0] = 1; } \
407 END { for (i in files) print i; }'`; \
408 test -z "$(CTAGS_ARGS)$$tags$$unique" \
409 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
410 $$tags $$unique
411
412 GTAGS:
413 here=`$(am__cd) $(top_builddir) && pwd` \
414 && cd $(top_srcdir) \
415 && gtags -i $(GTAGS_ARGS) $$here
289 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
290 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
291
292 mostlyclean-tags:
293
294 clean-tags:
416295
417296 distclean-tags:
418 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
419 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
420
421 top_distdir = .
297 -rm -f TAGS ID
298
299 maintainer-clean-tags:
300
422301 distdir = $(PACKAGE)-$(VERSION)
423
424 am__remove_distdir = \
425 { test ! -d $(distdir) \
426 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
427 && rm -fr $(distdir); }; }
428
429 GZIP_ENV = --best
430 distuninstallcheck_listfiles = find . -type f -print
431 distcleancheck_listfiles = find . -type f -print
432
433 distdir: $(DISTFILES)
434 $(am__remove_distdir)
435 mkdir $(distdir)
436 $(mkinstalldirs) $(distdir)/. $(distdir)/intl $(distdir)/po
437 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
438 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
439 list='$(DISTFILES)'; for file in $$list; do \
440 case $$file in \
441 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
442 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
443 esac; \
444 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
445 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
446 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
447 dir="/$$dir"; \
448 $(mkinstalldirs) "$(distdir)$$dir"; \
449 else \
450 dir=''; \
451 fi; \
452 if test -d $$d/$$file; then \
453 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
454 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
455 fi; \
456 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
457 else \
458 test -f $(distdir)/$$file \
459 || cp -p $$d/$$file $(distdir)/$$file \
460 || exit 1; \
461 fi; \
462 done
463 list='$(SUBDIRS)'; for subdir in $$list; do \
464 if test "$$subdir" = .; then :; else \
465 test -d $(distdir)/$$subdir \
466 || mkdir $(distdir)/$$subdir \
467 || exit 1; \
468 (cd $$subdir && \
469 $(MAKE) $(AM_MAKEFLAGS) \
470 top_distdir="$(top_distdir)" \
471 distdir=../$(distdir)/$$subdir \
472 distdir) \
473 || exit 1; \
474 fi; \
475 done
476 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
477 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
478 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
479 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
480 || chmod -R a+r $(distdir)
481 dist-gzip: distdir
482 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
483 $(am__remove_distdir)
484
485 dist dist-all: distdir
486 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
487 $(am__remove_distdir)
302 top_distdir = $(distdir)
488303
489304 # This target untars the dist file and tries a VPATH configuration. Then
490305 # it guarantees that the distribution is self-contained by making another
491306 # tarfile.
492307 distcheck: dist
493 $(am__remove_distdir)
494 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
495 chmod -R a-w $(distdir); chmod a+w $(distdir)
496 mkdir $(distdir)/_build
497 mkdir $(distdir)/_inst
498 chmod a-w $(distdir)
499 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
500 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
501 && cd $(distdir)/_build \
502 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
503 --with-included-gettext \
504 $(DISTCHECK_CONFIGURE_FLAGS) \
308 -rm -rf $(distdir)
309 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
310 mkdir $(distdir)/=build
311 mkdir $(distdir)/=inst
312 dc_install_base=`cd $(distdir)/=inst && pwd`; \
313 cd $(distdir)/=build \
314 && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
505315 && $(MAKE) $(AM_MAKEFLAGS) \
506316 && $(MAKE) $(AM_MAKEFLAGS) dvi \
507317 && $(MAKE) $(AM_MAKEFLAGS) check \
508318 && $(MAKE) $(AM_MAKEFLAGS) install \
509319 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
510 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
511 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
512 distuninstallcheck \
513 && chmod -R a-w "$$dc_install_base" \
514 && ({ \
515 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
516 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
517 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
518 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
519 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
520 } || { rm -rf "$$dc_destdir"; exit 1; }) \
521 && rm -rf "$$dc_destdir" \
522 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
523 && rm -f $(distdir).tar.gz \
524 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
525 $(am__remove_distdir)
526 @echo "$(distdir).tar.gz is ready for distribution" | \
527 sed 'h;s/./=/g;p;x;p;x'
528 distuninstallcheck:
529 @cd $(distuninstallcheck_dir) \
530 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
531 || { echo "ERROR: files left after uninstall:" ; \
532 if test -n "$(DESTDIR)"; then \
533 echo " (check DESTDIR support)"; \
534 fi ; \
535 $(distuninstallcheck_listfiles) ; \
536 exit 1; } >&2
537 distcleancheck: distclean
538 @if test '$(srcdir)' = . ; then \
539 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
540 exit 1 ; \
541 fi
542 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
543 || { echo "ERROR: files left in build directory after distclean:" ; \
544 $(distcleancheck_listfiles) ; \
545 exit 1; } >&2
320 && $(MAKE) $(AM_MAKEFLAGS) dist
321 -rm -rf $(distdir)
322 @banner="$(distdir).tar.gz is ready for distribution"; \
323 dashes=`echo "$$banner" | sed s/./=/g`; \
324 echo "$$dashes"; \
325 echo "$$banner"; \
326 echo "$$dashes"
327 dist: distdir
328 -chmod -R a+r $(distdir)
329 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
330 -rm -rf $(distdir)
331 dist-all: distdir
332 -chmod -R a+r $(distdir)
333 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
334 -rm -rf $(distdir)
335 distdir: $(DISTFILES)
336 -rm -rf $(distdir)
337 mkdir $(distdir)
338 -chmod 777 $(distdir)
339 @for file in $(DISTFILES); do \
340 d=$(srcdir); \
341 if test -d $$d/$$file; then \
342 cp -pr $$d/$$file $(distdir)/$$file; \
343 else \
344 test -f $(distdir)/$$file \
345 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
346 || cp -p $$d/$$file $(distdir)/$$file || :; \
347 fi; \
348 done
349 for subdir in $(SUBDIRS); do \
350 if test "$$subdir" = .; then :; else \
351 test -d $(distdir)/$$subdir \
352 || mkdir $(distdir)/$$subdir \
353 || exit 1; \
354 chmod 777 $(distdir)/$$subdir; \
355 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
356 || exit 1; \
357 fi; \
358 done
359 info-am:
360 info: info-recursive
361 dvi-am:
362 dvi: dvi-recursive
546363 check-am: all-am
547364 check: check-recursive
365 installcheck-am:
366 installcheck: installcheck-recursive
367 install-exec-am:
368 install-exec: install-exec-recursive
369
370 install-data-am: install-libhdatedocDATA install-pkgconfigDATA
371 install-data: install-data-recursive
372
373 install-am: all-am
374 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
375 install: install-recursive
376 uninstall-am: uninstall-libhdatedocDATA uninstall-pkgconfigDATA
377 uninstall: uninstall-recursive
548378 all-am: Makefile $(DATA)
379 all-redirect: all-recursive
380 install-strip:
381 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
549382 installdirs: installdirs-recursive
550383 installdirs-am:
551 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir) $(DESTDIR)$(pkgconfigdir)
552
553 install: install-recursive
554 install-exec: install-exec-recursive
555 install-data: install-data-recursive
556 uninstall: uninstall-recursive
557
558 install-am: all-am
559 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
560
561 installcheck: installcheck-recursive
562 install-strip:
563 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
564 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
565 `test -z '$(STRIP)' || \
566 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
384 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir) $(DESTDIR)$(pkgconfigdir)
385
386
567387 mostlyclean-generic:
568388
569389 clean-generic:
570390
571391 distclean-generic:
572 -rm -f $(CONFIG_CLEAN_FILES)
392 -rm -f Makefile $(CONFIG_CLEAN_FILES)
393 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
573394
574395 maintainer-clean-generic:
575 @echo "This command is intended for maintainers to use"
396 mostlyclean-am: mostlyclean-tags mostlyclean-generic
397
398 mostlyclean: mostlyclean-recursive
399
400 clean-am: clean-tags clean-generic mostlyclean-am
401
402 clean: clean-recursive
403
404 distclean-am: distclean-tags distclean-generic clean-am
405 -rm -f libtool
406
407 distclean: distclean-recursive
408 -rm -f config.status
409
410 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
411 distclean-am
412 @echo "This command is intended for maintainers to use;"
576413 @echo "it deletes files that may require special tools to rebuild."
577 clean: clean-recursive
578
579 clean-am: clean-generic clean-libtool mostlyclean-am
580
581 distclean: distclean-recursive
582 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
583 -rm -f Makefile
584 distclean-am: clean-am distclean-generic distclean-libtool \
585 distclean-tags
586
587 dvi: dvi-recursive
588
589 dvi-am:
590
591 info: info-recursive
592
593 info-am:
594
595 install-data-am: install-libhdatedocDATA install-pkgconfigDATA
596
597 install-exec-am:
598
599 install-info: install-info-recursive
600
601 install-man:
602
603 installcheck-am:
604414
605415 maintainer-clean: maintainer-clean-recursive
606 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
607 -rm -rf $(top_srcdir)/autom4te.cache
608 -rm -f Makefile
609 maintainer-clean-am: distclean-am maintainer-clean-generic
610
611 mostlyclean: mostlyclean-recursive
612
613 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
614
615 pdf: pdf-recursive
616
617 pdf-am:
618
619 ps: ps-recursive
620
621 ps-am:
622
623 uninstall-am: uninstall-info-am uninstall-libhdatedocDATA \
624 uninstall-pkgconfigDATA
625
626 uninstall-info: uninstall-info-recursive
627
628 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
629 clean-generic clean-libtool clean-recursive ctags \
630 ctags-recursive dist dist-all dist-gzip distcheck distclean \
631 distclean-generic distclean-libtool distclean-recursive \
632 distclean-tags distcleancheck distdir distuninstallcheck dvi \
633 dvi-am dvi-recursive info info-am info-recursive install \
634 install-am install-data install-data-am install-data-recursive \
635 install-exec install-exec-am install-exec-recursive \
636 install-info install-info-am install-info-recursive \
637 install-libhdatedocDATA install-man install-pkgconfigDATA \
638 install-recursive install-strip installcheck installcheck-am \
639 installdirs installdirs-am installdirs-recursive \
640 maintainer-clean maintainer-clean-generic \
641 maintainer-clean-recursive mostlyclean mostlyclean-generic \
642 mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
643 pdf-recursive ps ps-am ps-recursive tags tags-recursive \
644 uninstall uninstall-am uninstall-info-am \
645 uninstall-info-recursive uninstall-libhdatedocDATA \
646 uninstall-pkgconfigDATA uninstall-recursive
416 -rm -f config.status
417
418 .PHONY: uninstall-libhdatedocDATA install-libhdatedocDATA \
419 uninstall-pkgconfigDATA install-pkgconfigDATA install-data-recursive \
420 uninstall-data-recursive install-exec-recursive \
421 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
422 all-recursive check-recursive installcheck-recursive info-recursive \
423 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
424 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
425 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
426 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
427 install-exec install-data-am install-data install-am install \
428 uninstall-am uninstall all-redirect all-am all installdirs-am \
429 installdirs mostlyclean-generic distclean-generic clean-generic \
430 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
431
647432
648433 # Tell versions [3.59,3.63) of GNU make to not export all variables.
649434 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # generated automatically by aclocal 1.7.9 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
3 # Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # Do all the work for Automake. -*- Autoconf -*-
14
15 # This macro actually does too much some checks are only needed if
16 # your package does certain things. But this isn't really a big deal.
17
18 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
19 # Free Software Foundation, Inc.
20
21 # This program is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 2, or (at your option)
24 # any later version.
25
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 # GNU General Public License for more details.
30
31 # You should have received a copy of the GNU General Public License
32 # along with this program; if not, write to the Free Software
33 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
34 # 02111-1307, USA.
35
36 # serial 10
37
38 AC_PREREQ([2.54])
39
40 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
41 # the ones we care about.
42 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
43
44 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
45 # AM_INIT_AUTOMAKE([OPTIONS])
46 # -----------------------------------------------
47 # The call with PACKAGE and VERSION arguments is the old style
48 # call (pre autoconf-2.50), which is being phased out. PACKAGE
49 # and VERSION should now be passed to AC_INIT and removed from
50 # the call to AM_INIT_AUTOMAKE.
51 # We support both call styles for the transition. After
52 # the next Automake release, Autoconf can make the AC_INIT
53 # arguments mandatory, and then we can depend on a new Autoconf
54 # release and drop the old call support.
55 AC_DEFUN([AM_INIT_AUTOMAKE],
56 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
57 AC_REQUIRE([AC_PROG_INSTALL])dnl
58 # test to see if srcdir already configured
59 if test "`cd $srcdir && pwd`" != "`pwd`" &&
60 test -f $srcdir/config.status; then
61 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
62 fi
63
64 # test whether we have cygpath
65 if test -z "$CYGPATH_W"; then
66 if (cygpath --version) >/dev/null 2>/dev/null; then
67 CYGPATH_W='cygpath -w'
68 else
69 CYGPATH_W=echo
70 fi
71 fi
72 AC_SUBST([CYGPATH_W])
73
74 # Define the identity of the package.
75 dnl Distinguish between old-style and new-style calls.
76 m4_ifval([$2],
77 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
78 AC_SUBST([PACKAGE], [$1])dnl
79 AC_SUBST([VERSION], [$2])],
80 [_AM_SET_OPTIONS([$1])dnl
81 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
82 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
83
84 _AM_IF_OPTION([no-define],,
85 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
86 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
87
88 # Some tools Automake needs.
89 AC_REQUIRE([AM_SANITY_CHECK])dnl
90 AC_REQUIRE([AC_ARG_PROGRAM])dnl
91 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
92 AM_MISSING_PROG(AUTOCONF, autoconf)
93 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
94 AM_MISSING_PROG(AUTOHEADER, autoheader)
95 AM_MISSING_PROG(MAKEINFO, makeinfo)
96 AM_MISSING_PROG(AMTAR, tar)
97 AM_PROG_INSTALL_SH
98 AM_PROG_INSTALL_STRIP
99 # We need awk for the "check" target. The system "awk" is bad on
100 # some platforms.
101 AC_REQUIRE([AC_PROG_AWK])dnl
102 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
103 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
104
105 _AM_IF_OPTION([no-dependencies],,
106 [AC_PROVIDE_IFELSE([AC_PROG_CC],
107 [_AM_DEPENDENCIES(CC)],
108 [define([AC_PROG_CC],
109 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
110 AC_PROVIDE_IFELSE([AC_PROG_CXX],
111 [_AM_DEPENDENCIES(CXX)],
112 [define([AC_PROG_CXX],
113 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
114 ])
115 ])
116
117
118 # When config.status generates a header, we must update the stamp-h file.
119 # This file resides in the same directory as the config header
120 # that is generated. The stamp files are numbered to have different names.
121
122 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
123 # loop where config.status creates the headers, so we can generate
124 # our stamp files there.
125 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
126 [# Compute $1's index in $config_headers.
127 _am_stamp_count=1
128 for _am_header in $config_headers :; do
129 case $_am_header in
130 $1 | $1:* )
131 break ;;
132 * )
133 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
134 esac
135 done
136 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
137
138 # Copyright 2002 Free Software Foundation, Inc.
139
140 # This program is free software; you can redistribute it and/or modify
141 # it under the terms of the GNU General Public License as published by
142 # the Free Software Foundation; either version 2, or (at your option)
143 # any later version.
144
145 # This program is distributed in the hope that it will be useful,
146 # but WITHOUT ANY WARRANTY; without even the implied warranty of
147 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
148 # GNU General Public License for more details.
149
150 # You should have received a copy of the GNU General Public License
151 # along with this program; if not, write to the Free Software
152 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
153
154 # AM_AUTOMAKE_VERSION(VERSION)
155 # ----------------------------
156 # Automake X.Y traces this macro to ensure aclocal.m4 has been
157 # generated from the m4 files accompanying Automake X.Y.
158 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
159
160 # AM_SET_CURRENT_AUTOMAKE_VERSION
161 # -------------------------------
162 # Call AM_AUTOMAKE_VERSION so it can be traced.
163 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
164 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
165 [AM_AUTOMAKE_VERSION([1.7.9])])
166
167 # Helper functions for option handling. -*- Autoconf -*-
168
169 # Copyright 2001, 2002 Free Software Foundation, Inc.
170
171 # This program is free software; you can redistribute it and/or modify
172 # it under the terms of the GNU General Public License as published by
173 # the Free Software Foundation; either version 2, or (at your option)
174 # any later version.
175
176 # This program is distributed in the hope that it will be useful,
177 # but WITHOUT ANY WARRANTY; without even the implied warranty of
178 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
179 # GNU General Public License for more details.
180
181 # You should have received a copy of the GNU General Public License
182 # along with this program; if not, write to the Free Software
183 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
184 # 02111-1307, USA.
185
186 # serial 2
187
188 # _AM_MANGLE_OPTION(NAME)
189 # -----------------------
190 AC_DEFUN([_AM_MANGLE_OPTION],
191 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
192
193 # _AM_SET_OPTION(NAME)
194 # ------------------------------
195 # Set option NAME. Presently that only means defining a flag for this option.
196 AC_DEFUN([_AM_SET_OPTION],
197 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
198
199 # _AM_SET_OPTIONS(OPTIONS)
200 # ----------------------------------
201 # OPTIONS is a space-separated list of Automake options.
202 AC_DEFUN([_AM_SET_OPTIONS],
203 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
204
205 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
206 # -------------------------------------------
207 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
208 AC_DEFUN([_AM_IF_OPTION],
209 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
210
211 #
212 # Check to make sure that the build environment is sane.
213 #
214
215 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
216
217 # This program is free software; you can redistribute it and/or modify
218 # it under the terms of the GNU General Public License as published by
219 # the Free Software Foundation; either version 2, or (at your option)
220 # any later version.
221
222 # This program is distributed in the hope that it will be useful,
223 # but WITHOUT ANY WARRANTY; without even the implied warranty of
224 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
225 # GNU General Public License for more details.
226
227 # You should have received a copy of the GNU General Public License
228 # along with this program; if not, write to the Free Software
229 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
230 # 02111-1307, USA.
231
232 # serial 3
233
234 # AM_SANITY_CHECK
235 # ---------------
236 AC_DEFUN([AM_SANITY_CHECK],
237 [AC_MSG_CHECKING([whether build environment is sane])
238 # Just in case
239 sleep 1
240 echo timestamp > conftest.file
241 # Do `set' in a subshell so we don't clobber the current shell's
242 # arguments. Must try -L first in case configure is actually a
243 # symlink; some systems play weird games with the mod time of symlinks
244 # (eg FreeBSD returns the mod time of the symlink's containing
245 # directory).
246 if (
247 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
248 if test "$[*]" = "X"; then
249 # -L didn't work.
250 set X `ls -t $srcdir/configure conftest.file`
251 fi
252 rm -f conftest.file
253 if test "$[*]" != "X $srcdir/configure conftest.file" \
254 && test "$[*]" != "X conftest.file $srcdir/configure"; then
255
256 # If neither matched, then we have a broken ls. This can happen
257 # if, for instance, CONFIG_SHELL is bash and it inherits a
258 # broken ls alias from the environment. This has actually
259 # happened. Such a system could not be considered "sane".
260 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
261 alias in your environment])
262 fi
263
264 test "$[2]" = conftest.file
265 )
266 then
267 # Ok.
268 :
269 else
270 AC_MSG_ERROR([newly created file is older than distributed files!
271 Check your system clock])
272 fi
273 AC_MSG_RESULT(yes)])
274
275 # -*- Autoconf -*-
276
277
278 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
279
280 # This program is free software; you can redistribute it and/or modify
281 # it under the terms of the GNU General Public License as published by
282 # the Free Software Foundation; either version 2, or (at your option)
283 # any later version.
284
285 # This program is distributed in the hope that it will be useful,
286 # but WITHOUT ANY WARRANTY; without even the implied warranty of
287 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
288 # GNU General Public License for more details.
289
290 # You should have received a copy of the GNU General Public License
291 # along with this program; if not, write to the Free Software
292 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
293 # 02111-1307, USA.
294
295 # serial 3
296
297 # AM_MISSING_PROG(NAME, PROGRAM)
298 # ------------------------------
299 AC_DEFUN([AM_MISSING_PROG],
300 [AC_REQUIRE([AM_MISSING_HAS_RUN])
301 $1=${$1-"${am_missing_run}$2"}
302 AC_SUBST($1)])
303
304
305 # AM_MISSING_HAS_RUN
306 # ------------------
307 # Define MISSING if not defined so far and test if it supports --run.
308 # If it does, set am_missing_run to use it, otherwise, to nothing.
309 AC_DEFUN([AM_MISSING_HAS_RUN],
310 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
311 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
312 # Use eval to expand $SHELL
313 if eval "$MISSING --run true"; then
314 am_missing_run="$MISSING --run "
315 else
316 am_missing_run=
317 AC_MSG_WARN([`missing' script is too old or missing])
318 fi
319 ])
320
321 # AM_AUX_DIR_EXPAND
322
323 # Copyright 2001 Free Software Foundation, Inc.
324
325 # This program is free software; you can redistribute it and/or modify
326 # it under the terms of the GNU General Public License as published by
327 # the Free Software Foundation; either version 2, or (at your option)
328 # any later version.
329
330 # This program is distributed in the hope that it will be useful,
331 # but WITHOUT ANY WARRANTY; without even the implied warranty of
332 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
333 # GNU General Public License for more details.
334
335 # You should have received a copy of the GNU General Public License
336 # along with this program; if not, write to the Free Software
337 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
338 # 02111-1307, USA.
339
340 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
341 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
342 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
343 #
344 # Of course, Automake must honor this variable whenever it calls a
345 # tool from the auxiliary directory. The problem is that $srcdir (and
346 # therefore $ac_aux_dir as well) can be either absolute or relative,
347 # depending on how configure is run. This is pretty annoying, since
348 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
349 # source directory, any form will work fine, but in subdirectories a
350 # relative path needs to be adjusted first.
351 #
352 # $ac_aux_dir/missing
353 # fails when called from a subdirectory if $ac_aux_dir is relative
354 # $top_srcdir/$ac_aux_dir/missing
355 # fails if $ac_aux_dir is absolute,
356 # fails when called from a subdirectory in a VPATH build with
357 # a relative $ac_aux_dir
358 #
359 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
360 # are both prefixed by $srcdir. In an in-source build this is usually
361 # harmless because $srcdir is `.', but things will broke when you
362 # start a VPATH build or use an absolute $srcdir.
363 #
364 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
365 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
366 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
367 # and then we would define $MISSING as
368 # MISSING="\${SHELL} $am_aux_dir/missing"
369 # This will work as long as MISSING is not called from configure, because
370 # unfortunately $(top_srcdir) has no meaning in configure.
371 # However there are other variables, like CC, which are often used in
372 # configure, and could therefore not use this "fixed" $ac_aux_dir.
373 #
374 # Another solution, used here, is to always expand $ac_aux_dir to an
375 # absolute PATH. The drawback is that using absolute paths prevent a
376 # configured tree to be moved without reconfiguration.
377
378 # Rely on autoconf to set up CDPATH properly.
379 AC_PREREQ([2.50])
380
381 AC_DEFUN([AM_AUX_DIR_EXPAND], [
382 # expand $ac_aux_dir to an absolute path
383 am_aux_dir=`cd $ac_aux_dir && pwd`
384 ])
385
386 # AM_PROG_INSTALL_SH
387 # ------------------
388 # Define $install_sh.
389
390 # Copyright 2001 Free Software Foundation, Inc.
391
392 # This program is free software; you can redistribute it and/or modify
393 # it under the terms of the GNU General Public License as published by
394 # the Free Software Foundation; either version 2, or (at your option)
395 # any later version.
396
397 # This program is distributed in the hope that it will be useful,
398 # but WITHOUT ANY WARRANTY; without even the implied warranty of
399 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
400 # GNU General Public License for more details.
401
402 # You should have received a copy of the GNU General Public License
403 # along with this program; if not, write to the Free Software
404 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
405 # 02111-1307, USA.
406
407 AC_DEFUN([AM_PROG_INSTALL_SH],
408 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
409 install_sh=${install_sh-"$am_aux_dir/install-sh"}
410 AC_SUBST(install_sh)])
411
412 # AM_PROG_INSTALL_STRIP
413
414 # Copyright 2001 Free Software Foundation, Inc.
415
416 # This program is free software; you can redistribute it and/or modify
417 # it under the terms of the GNU General Public License as published by
418 # the Free Software Foundation; either version 2, or (at your option)
419 # any later version.
420
421 # This program is distributed in the hope that it will be useful,
422 # but WITHOUT ANY WARRANTY; without even the implied warranty of
423 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
424 # GNU General Public License for more details.
425
426 # You should have received a copy of the GNU General Public License
427 # along with this program; if not, write to the Free Software
428 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
429 # 02111-1307, USA.
430
431 # One issue with vendor `install' (even GNU) is that you can't
432 # specify the program used to strip binaries. This is especially
433 # annoying in cross-compiling environments, where the build's strip
434 # is unlikely to handle the host's binaries.
435 # Fortunately install-sh will honor a STRIPPROG variable, so we
436 # always use install-sh in `make install-strip', and initialize
437 # STRIPPROG with the value of the STRIP variable (set by the user).
438 AC_DEFUN([AM_PROG_INSTALL_STRIP],
439 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
440 # Installed binaries are usually stripped using `strip' when the user
441 # run `make install-strip'. However `strip' might not be the right
442 # tool to use in cross-compilation environments, therefore Automake
443 # will honor the `STRIP' environment variable to overrule this program.
444 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
445 if test "$cross_compiling" != no; then
446 AC_CHECK_TOOL([STRIP], [strip], :)
447 fi
448 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
449 AC_SUBST([INSTALL_STRIP_PROGRAM])])
450
451 # -*- Autoconf -*-
452 # Copyright (C) 2003 Free Software Foundation, Inc.
453
454 # This program is free software; you can redistribute it and/or modify
455 # it under the terms of the GNU General Public License as published by
456 # the Free Software Foundation; either version 2, or (at your option)
457 # any later version.
458
459 # This program is distributed in the hope that it will be useful,
460 # but WITHOUT ANY WARRANTY; without even the implied warranty of
461 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
462 # GNU General Public License for more details.
463
464 # You should have received a copy of the GNU General Public License
465 # along with this program; if not, write to the Free Software
466 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
467 # 02111-1307, USA.
468
469 # serial 1
470
471 # Check whether the underlying file-system supports filenames
472 # with a leading dot. For instance MS-DOS doesn't.
473 AC_DEFUN([AM_SET_LEADING_DOT],
474 [rm -rf .tst 2>/dev/null
475 mkdir .tst 2>/dev/null
476 if test -d .tst; then
477 am__leading_dot=.
478 else
479 am__leading_dot=_
480 fi
481 rmdir .tst 2>/dev/null
482 AC_SUBST([am__leading_dot])])
483
484 # serial 5 -*- Autoconf -*-
485
486 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
487
488 # This program is free software; you can redistribute it and/or modify
489 # it under the terms of the GNU General Public License as published by
490 # the Free Software Foundation; either version 2, or (at your option)
491 # any later version.
492
493 # This program is distributed in the hope that it will be useful,
494 # but WITHOUT ANY WARRANTY; without even the implied warranty of
495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
496 # GNU General Public License for more details.
497
498 # You should have received a copy of the GNU General Public License
499 # along with this program; if not, write to the Free Software
500 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
501 # 02111-1307, USA.
502
503
504 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
505 # written in clear, in which case automake, when reading aclocal.m4,
506 # will think it sees a *use*, and therefore will trigger all it's
507 # C support machinery. Also note that it means that autoscan, seeing
508 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
509
510
511
512 # _AM_DEPENDENCIES(NAME)
513 # ----------------------
514 # See how the compiler implements dependency checking.
515 # NAME is "CC", "CXX", "GCJ", or "OBJC".
516 # We try a few techniques and use that to set a single cache variable.
517 #
518 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
519 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
520 # dependency, and given that the user is not expected to run this macro,
521 # just rely on AC_PROG_CC.
522 AC_DEFUN([_AM_DEPENDENCIES],
523 [AC_REQUIRE([AM_SET_DEPDIR])dnl
524 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
525 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
526 AC_REQUIRE([AM_DEP_TRACK])dnl
527
528 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
529 [$1], CXX, [depcc="$CXX" am_compiler_list=],
530 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
531 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
532 [depcc="$$1" am_compiler_list=])
533
534 AC_CACHE_CHECK([dependency style of $depcc],
535 [am_cv_$1_dependencies_compiler_type],
536 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
537 # We make a subdir and do the tests there. Otherwise we can end up
538 # making bogus files that we don't know about and never remove. For
539 # instance it was reported that on HP-UX the gcc test will end up
540 # making a dummy file named `D' -- because `-MD' means `put the output
541 # in D'.
542 mkdir conftest.dir
543 # Copy depcomp to subdir because otherwise we won't find it if we're
544 # using a relative directory.
545 cp "$am_depcomp" conftest.dir
546 cd conftest.dir
547 # We will build objects and dependencies in a subdirectory because
548 # it helps to detect inapplicable dependency modes. For instance
549 # both Tru64's cc and ICC support -MD to output dependencies as a
550 # side effect of compilation, but ICC will put the dependencies in
551 # the current directory while Tru64 will put them in the object
552 # directory.
553 mkdir sub
554
555 am_cv_$1_dependencies_compiler_type=none
556 if test "$am_compiler_list" = ""; then
557 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
558 fi
559 for depmode in $am_compiler_list; do
560 # Setup a source with many dependencies, because some compilers
561 # like to wrap large dependency lists on column 80 (with \), and
562 # we should not choose a depcomp mode which is confused by this.
563 #
564 # We need to recreate these files for each test, as the compiler may
565 # overwrite some of them when testing with obscure command lines.
566 # This happens at least with the AIX C compiler.
567 : > sub/conftest.c
568 for i in 1 2 3 4 5 6; do
569 echo '#include "conftst'$i'.h"' >> sub/conftest.c
570 : > sub/conftst$i.h
571 done
572 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
573
574 case $depmode in
575 nosideeffect)
576 # after this tag, mechanisms are not by side-effect, so they'll
577 # only be used when explicitly requested
578 if test "x$enable_dependency_tracking" = xyes; then
579 continue
580 else
581 break
582 fi
583 ;;
584 none) break ;;
585 esac
586 # We check with `-c' and `-o' for the sake of the "dashmstdout"
587 # mode. It turns out that the SunPro C++ compiler does not properly
588 # handle `-M -o', and we need to detect this.
589 if depmode=$depmode \
590 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
591 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
592 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
593 >/dev/null 2>conftest.err &&
594 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
595 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
596 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
597 # icc doesn't choke on unknown options, it will just issue warnings
598 # (even with -Werror). So we grep stderr for any message
599 # that says an option was ignored.
600 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
601 am_cv_$1_dependencies_compiler_type=$depmode
602 break
603 fi
604 fi
605 done
606
607 cd ..
608 rm -rf conftest.dir
609 else
610 am_cv_$1_dependencies_compiler_type=none
611 fi
612 ])
613 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
614 AM_CONDITIONAL([am__fastdep$1], [
615 test "x$enable_dependency_tracking" != xno \
616 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
617 ])
618
619
620 # AM_SET_DEPDIR
621 # -------------
622 # Choose a directory name for dependency files.
623 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
624 AC_DEFUN([AM_SET_DEPDIR],
625 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
626 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
627 ])
628
629
630 # AM_DEP_TRACK
631 # ------------
632 AC_DEFUN([AM_DEP_TRACK],
633 [AC_ARG_ENABLE(dependency-tracking,
634 [ --disable-dependency-tracking Speeds up one-time builds
635 --enable-dependency-tracking Do not reject slow dependency extractors])
636 if test "x$enable_dependency_tracking" != xno; then
637 am_depcomp="$ac_aux_dir/depcomp"
638 AMDEPBACKSLASH='\'
639 fi
640 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
641 AC_SUBST([AMDEPBACKSLASH])
642 ])
643
644 # Generate code to set up dependency tracking. -*- Autoconf -*-
645
646 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
647
648 # This program is free software; you can redistribute it and/or modify
649 # it under the terms of the GNU General Public License as published by
650 # the Free Software Foundation; either version 2, or (at your option)
651 # any later version.
652
653 # This program is distributed in the hope that it will be useful,
654 # but WITHOUT ANY WARRANTY; without even the implied warranty of
655 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
656 # GNU General Public License for more details.
657
658 # You should have received a copy of the GNU General Public License
659 # along with this program; if not, write to the Free Software
660 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
661 # 02111-1307, USA.
662
663 #serial 2
664
665 # _AM_OUTPUT_DEPENDENCY_COMMANDS
666 # ------------------------------
667 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
668 [for mf in $CONFIG_FILES; do
669 # Strip MF so we end up with the name of the file.
670 mf=`echo "$mf" | sed -e 's/:.*$//'`
671 # Check whether this is an Automake generated Makefile or not.
672 # We used to match only the files named `Makefile.in', but
673 # some people rename them; so instead we look at the file content.
674 # Grep'ing the first line is not enough: some people post-process
675 # each Makefile.in and add a new line on top of each file to say so.
676 # So let's grep whole file.
677 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
678 dirpart=`AS_DIRNAME("$mf")`
679 else
680 continue
681 fi
682 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
683 # Extract the definition of DEP_FILES from the Makefile without
684 # running `make'.
685 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
686 test -z "$DEPDIR" && continue
687 # When using ansi2knr, U may be empty or an underscore; expand it
688 U=`sed -n -e '/^U = / s///p' < "$mf"`
689 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
690 # We invoke sed twice because it is the simplest approach to
691 # changing $(DEPDIR) to its actual value in the expansion.
692 for file in `sed -n -e '
693 /^DEP_FILES = .*\\\\$/ {
694 s/^DEP_FILES = //
695 :loop
696 s/\\\\$//
697 p
698 n
699 /\\\\$/ b loop
700 p
701 }
702 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
703 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
704 # Make sure the directory exists.
705 test -f "$dirpart/$file" && continue
706 fdir=`AS_DIRNAME(["$file"])`
707 AS_MKDIR_P([$dirpart/$fdir])
708 # echo "creating $dirpart/$file"
709 echo '# dummy' > "$dirpart/$file"
710 done
711 done
712 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
713
714
715 # AM_OUTPUT_DEPENDENCY_COMMANDS
716 # -----------------------------
717 # This macro should only be invoked once -- use via AC_REQUIRE.
718 #
719 # This code is only required when automatic dependency tracking
720 # is enabled. FIXME. This creates each `.P' file that we will
721 # need in order to bootstrap the dependency handling code.
722 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
723 [AC_CONFIG_COMMANDS([depfiles],
724 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
725 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
726 ])
727
728 # Check to see how 'make' treats includes. -*- Autoconf -*-
729
730 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
731
732 # This program is free software; you can redistribute it and/or modify
733 # it under the terms of the GNU General Public License as published by
734 # the Free Software Foundation; either version 2, or (at your option)
735 # any later version.
736
737 # This program is distributed in the hope that it will be useful,
738 # but WITHOUT ANY WARRANTY; without even the implied warranty of
739 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
740 # GNU General Public License for more details.
741
742 # You should have received a copy of the GNU General Public License
743 # along with this program; if not, write to the Free Software
744 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
745 # 02111-1307, USA.
746
747 # serial 2
748
749 # AM_MAKE_INCLUDE()
750 # -----------------
751 # Check to see how make treats includes.
752 AC_DEFUN([AM_MAKE_INCLUDE],
753 [am_make=${MAKE-make}
754 cat > confinc << 'END'
755 am__doit:
756 @echo done
757 .PHONY: am__doit
758 END
759 # If we don't find an include directive, just comment out the code.
760 AC_MSG_CHECKING([for style of include used by $am_make])
761 am__include="#"
762 am__quote=
763 _am_result=none
764 # First try GNU make style include.
765 echo "include confinc" > confmf
766 # We grep out `Entering directory' and `Leaving directory'
767 # messages which can occur if `w' ends up in MAKEFLAGS.
768 # In particular we don't look at `^make:' because GNU make might
769 # be invoked under some other name (usually "gmake"), in which
770 # case it prints its new name instead of `make'.
771 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
772 am__include=include
773 am__quote=
774 _am_result=GNU
775 fi
776 # Now try BSD make style include.
777 if test "$am__include" = "#"; then
778 echo '.include "confinc"' > confmf
779 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
780 am__include=.include
781 am__quote="\""
782 _am_result=BSD
783 fi
784 fi
785 AC_SUBST([am__include])
786 AC_SUBST([am__quote])
787 AC_MSG_RESULT([$_am_result])
788 rm -f confinc confmf
789 ])
790
791 # AM_CONDITIONAL -*- Autoconf -*-
792
793 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
794
795 # This program is free software; you can redistribute it and/or modify
796 # it under the terms of the GNU General Public License as published by
797 # the Free Software Foundation; either version 2, or (at your option)
798 # any later version.
799
800 # This program is distributed in the hope that it will be useful,
801 # but WITHOUT ANY WARRANTY; without even the implied warranty of
802 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
803 # GNU General Public License for more details.
804
805 # You should have received a copy of the GNU General Public License
806 # along with this program; if not, write to the Free Software
807 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
808 # 02111-1307, USA.
809
810 # serial 5
811
812 AC_PREREQ(2.52)
813
814 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
815 # -------------------------------------
816 # Define a conditional.
817 AC_DEFUN([AM_CONDITIONAL],
818 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
819 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
820 AC_SUBST([$1_TRUE])
821 AC_SUBST([$1_FALSE])
822 if $2; then
823 $1_TRUE=
824 $1_FALSE='#'
825 else
826 $1_TRUE='#'
827 $1_FALSE=
828 fi
829 AC_CONFIG_COMMANDS_PRE(
830 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
831 AC_MSG_ERROR([conditional "$1" was never defined.
832 Usually this means the macro was only invoked conditionally.])
833 fi])])
834
835 # Add --enable-maintainer-mode option to configure.
836 # From Jim Meyering
837
838 # Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
839
840 # This program is free software; you can redistribute it and/or modify
841 # it under the terms of the GNU General Public License as published by
842 # the Free Software Foundation; either version 2, or (at your option)
843 # any later version.
844
845 # This program is distributed in the hope that it will be useful,
846 # but WITHOUT ANY WARRANTY; without even the implied warranty of
847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
848 # GNU General Public License for more details.
849
850 # You should have received a copy of the GNU General Public License
851 # along with this program; if not, write to the Free Software
852 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
853 # 02111-1307, USA.
854
855 # serial 2
856
857 AC_DEFUN([AM_MAINTAINER_MODE],
858 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
859 dnl maintainer-mode is disabled by default
860 AC_ARG_ENABLE(maintainer-mode,
861 [ --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing) to the casual installer],
863 USE_MAINTAINER_MODE=$enableval,
864 USE_MAINTAINER_MODE=no)
865 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
866 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
867 MAINT=$MAINTAINER_MODE_TRUE
868 AC_SUBST(MAINT)dnl
869 ]
870 )
871
872 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
873
874 # isc-posix.m4 serial 2 (gettext-0.11.2)
875 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
0 dnl aclocal.m4 generated automatically by aclocal 1.4-p6
1
2 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
8763 dnl This file is free software; the Free Software Foundation
8774 dnl gives unlimited permission to copy and/or distribute it,
8785 dnl with or without modifications, as long as this notice is preserved.
8796
880 # This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
881
882 # This test replaces the one in autoconf.
883 # Currently this macro should have the same name as the autoconf macro
884 # because gettext's gettext.m4 (distributed in the automake package)
885 # still uses it. Otherwise, the use in gettext.m4 makes autoheader
886 # give these diagnostics:
887 # configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
888 # configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
889
890 undefine([AC_ISC_POSIX])
891
892 AC_DEFUN([AC_ISC_POSIX],
893 [
894 dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
895 AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
896 ]
897 )
898
899 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
900
901 # serial 47 AC_PROG_LIBTOOL
902 # Debian $Rev: 214 $
903
904
905 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
906 # -----------------------------------------------------------
907 # If this macro is not defined by Autoconf, define it here.
908 m4_ifdef([AC_PROVIDE_IFELSE],
909 [],
910 [m4_define([AC_PROVIDE_IFELSE],
911 [m4_ifdef([AC_PROVIDE_$1],
912 [$2], [$3])])])
913
914
915 # AC_PROG_LIBTOOL
916 # ---------------
917 AC_DEFUN([AC_PROG_LIBTOOL],
918 [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
919 dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
920 dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
921 AC_PROVIDE_IFELSE([AC_PROG_CXX],
922 [AC_LIBTOOL_CXX],
923 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
924 ])])
925 dnl And a similar setup for Fortran 77 support
926 AC_PROVIDE_IFELSE([AC_PROG_F77],
927 [AC_LIBTOOL_F77],
928 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
929 ])])
930
931 dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
932 dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
933 dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
934 AC_PROVIDE_IFELSE([AC_PROG_GCJ],
935 [AC_LIBTOOL_GCJ],
936 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
937 [AC_LIBTOOL_GCJ],
938 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
939 [AC_LIBTOOL_GCJ],
940 [ifdef([AC_PROG_GCJ],
941 [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
942 ifdef([A][M_PROG_GCJ],
943 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
944 ifdef([LT_AC_PROG_GCJ],
945 [define([LT_AC_PROG_GCJ],
946 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
947 ])])# AC_PROG_LIBTOOL
948
949
950 # _AC_PROG_LIBTOOL
951 # ----------------
952 AC_DEFUN([_AC_PROG_LIBTOOL],
953 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
954 AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
955 AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
956 AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
957
958 # This can be used to rebuild libtool when needed
959 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
960
961 # Always use our own libtool.
962 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
963 AC_SUBST(LIBTOOL)dnl
964
965 # Prevent multiple expansion
966 define([AC_PROG_LIBTOOL], [])
967 ])# _AC_PROG_LIBTOOL
968
969
970 # AC_LIBTOOL_SETUP
971 # ----------------
972 AC_DEFUN([AC_LIBTOOL_SETUP],
973 [AC_PREREQ(2.50)dnl
974 AC_REQUIRE([AC_ENABLE_SHARED])dnl
975 AC_REQUIRE([AC_ENABLE_STATIC])dnl
976 AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
977 AC_REQUIRE([AC_CANONICAL_HOST])dnl
978 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
979 AC_REQUIRE([AC_PROG_CC])dnl
980 AC_REQUIRE([AC_PROG_LD])dnl
981 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
982 AC_REQUIRE([AC_PROG_NM])dnl
983
984 AC_REQUIRE([AC_PROG_LN_S])dnl
985 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
986 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
987 AC_REQUIRE([AC_OBJEXT])dnl
988 AC_REQUIRE([AC_EXEEXT])dnl
989 dnl
990
991 AC_LIBTOOL_SYS_MAX_CMD_LEN
992 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
993 AC_LIBTOOL_OBJDIR
994
995 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
996 _LT_AC_PROG_ECHO_BACKSLASH
997
998 case $host_os in
999 aix3*)
1000 # AIX sometimes has problems with the GCC collect2 program. For some
1001 # reason, if we set the COLLECT_NAMES environment variable, the problems
1002 # vanish in a puff of smoke.
1003 if test "X${COLLECT_NAMES+set}" != Xset; then
1004 COLLECT_NAMES=
1005 export COLLECT_NAMES
1006 fi
1007 ;;
1008 esac
1009
1010 # Sed substitution that helps us do robust quoting. It backslashifies
1011 # metacharacters that are still active within double-quoted strings.
1012 Xsed='sed -e s/^X//'
1013 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
1014
1015 # Same as above, but do not quote variable references.
1016 [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
1017
1018 # Sed substitution to delay expansion of an escaped shell variable in a
1019 # double_quote_subst'ed string.
1020 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1021
1022 # Sed substitution to avoid accidental globbing in evaled expressions
1023 no_glob_subst='s/\*/\\\*/g'
1024
1025 # Constants:
1026 rm="rm -f"
1027
1028 # Global variables:
1029 default_ofile=libtool
1030 can_build_shared=yes
1031
1032 # All known linkers require a `.a' archive for static linking (except M$VC,
1033 # which needs '.lib').
1034 libext=a
1035 ltmain="$ac_aux_dir/ltmain.sh"
1036 ofile="$default_ofile"
1037 with_gnu_ld="$lt_cv_prog_gnu_ld"
1038
1039 AC_CHECK_TOOL(AR, ar, false)
1040 AC_CHECK_TOOL(RANLIB, ranlib, :)
1041 AC_CHECK_TOOL(STRIP, strip, :)
1042
1043 old_CC="$CC"
1044 old_CFLAGS="$CFLAGS"
1045
1046 # Set sane defaults for various variables
1047 test -z "$AR" && AR=ar
1048 test -z "$AR_FLAGS" && AR_FLAGS=cru
1049 test -z "$AS" && AS=as
1050 test -z "$CC" && CC=cc
1051 test -z "$LTCC" && LTCC=$CC
1052 test -z "$DLLTOOL" && DLLTOOL=dlltool
1053 test -z "$LD" && LD=ld
1054 test -z "$LN_S" && LN_S="ln -s"
1055 test -z "$MAGIC_CMD" && MAGIC_CMD=file
1056 test -z "$NM" && NM=nm
1057 test -z "$SED" && SED=sed
1058 test -z "$OBJDUMP" && OBJDUMP=objdump
1059 test -z "$RANLIB" && RANLIB=:
1060 test -z "$STRIP" && STRIP=:
1061 test -z "$ac_objext" && ac_objext=o
1062
1063 # Determine commands to create old-style static archives.
1064 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1065 old_postinstall_cmds='chmod 644 $oldlib'
1066 old_postuninstall_cmds=
1067
1068 if test -n "$RANLIB"; then
1069 case $host_os in
1070 openbsd*)
1071 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1072 ;;
1073 *)
1074 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1075 ;;
1076 esac
1077 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1078 fi
1079
1080 # Only perform the check for file, if the check method requires it
1081 case $deplibs_check_method in
1082 file_magic*)
1083 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1084 AC_PATH_MAGIC
1085 fi
1086 ;;
1087 esac
1088
1089 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1090 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1091 enable_win32_dll=yes, enable_win32_dll=no)
1092
1093 AC_ARG_ENABLE([libtool-lock],
1094 [AC_HELP_STRING([--disable-libtool-lock],
1095 [avoid locking (might break parallel builds)])])
1096 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1097
1098 AC_ARG_WITH([pic],
1099 [AC_HELP_STRING([--with-pic],
1100 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
1101 [pic_mode="$withval"],
1102 [pic_mode=default])
1103 test -z "$pic_mode" && pic_mode=default
1104
1105 # Use C for the default configuration in the libtool script
1106 tagname=
1107 AC_LIBTOOL_LANG_C_CONFIG
1108 _LT_AC_TAGCONFIG
1109 ])# AC_LIBTOOL_SETUP
1110
1111
1112 # _LT_AC_SYS_COMPILER
1113 # -------------------
1114 AC_DEFUN([_LT_AC_SYS_COMPILER],
1115 [AC_REQUIRE([AC_PROG_CC])dnl
1116
1117 # If no C compiler was specified, use CC.
1118 LTCC=${LTCC-"$CC"}
1119
1120 # Allow CC to be a program name with arguments.
1121 compiler=$CC
1122 ])# _LT_AC_SYS_COMPILER
1123
1124
1125 # _LT_AC_SYS_LIBPATH_AIX
1126 # ----------------------
1127 # Links a minimal program and checks the executable
1128 # for the system default hardcoded library path. In most cases,
1129 # this is /usr/lib:/lib, but when the MPI compilers are used
1130 # the location of the communication and MPI libs are included too.
1131 # If we don't find anything, use the default library path according
1132 # to the aix ld manual.
1133 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
1134 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1135 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1136 }'`
1137 # Check for a 64-bit object if we didn't find anything.
1138 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1139 }'`; fi],[])
1140 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1141 ])# _LT_AC_SYS_LIBPATH_AIX
1142
1143
1144 # _LT_AC_SHELL_INIT(ARG)
1145 # ----------------------
1146 AC_DEFUN([_LT_AC_SHELL_INIT],
1147 [ifdef([AC_DIVERSION_NOTICE],
1148 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1149 [AC_DIVERT_PUSH(NOTICE)])
1150 $1
1151 AC_DIVERT_POP
1152 ])# _LT_AC_SHELL_INIT
1153
1154
1155 # _LT_AC_PROG_ECHO_BACKSLASH
1156 # --------------------------
1157 # Add some code to the start of the generated configure script which
1158 # will find an echo command which doesn't interpret backslashes.
1159 AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
1160 [_LT_AC_SHELL_INIT([
1161 # Check that we are running under the correct shell.
1162 SHELL=${CONFIG_SHELL-/bin/sh}
1163
1164 case X$ECHO in
1165 X*--fallback-echo)
1166 # Remove one level of quotation (which was required for Make).
1167 ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1168 ;;
1169 esac
1170
1171 echo=${ECHO-echo}
1172 if test "X[$]1" = X--no-reexec; then
1173 # Discard the --no-reexec flag, and continue.
1174 shift
1175 elif test "X[$]1" = X--fallback-echo; then
1176 # Avoid inline document here, it may be left over
1177 :
1178 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1179 # Yippee, $echo works!
1180 :
1181 else
1182 # Restart under the correct shell.
1183 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1184 fi
1185
1186 if test "X[$]1" = X--fallback-echo; then
1187 # used as fallback echo
1188 shift
1189 cat <<EOF
1190 [$]*
1191 EOF
1192 exit 0
1193 fi
1194
1195 # The HP-UX ksh and POSIX shell print the target directory to stdout
1196 # if CDPATH is set.
1197 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
1198
1199 if test -z "$ECHO"; then
1200 if test "X${echo_test_string+set}" != Xset; then
1201 # find a string as large as possible, as long as the shell can cope with it
1202 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1203 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1204 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
1205 echo_test_string="`eval $cmd`" &&
1206 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1207 then
1208 break
1209 fi
1210 done
1211 fi
1212
1213 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1214 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1215 test "X$echo_testing_string" = "X$echo_test_string"; then
1216 :
1217 else
1218 # The Solaris, AIX, and Digital Unix default echo programs unquote
1219 # backslashes. This makes it impossible to quote backslashes using
1220 # echo "$something" | sed 's/\\/\\\\/g'
1221 #
1222 # So, first we look for a working echo in the user's PATH.
1223
1224 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1225 for dir in $PATH /usr/ucb; do
1226 IFS="$lt_save_ifs"
1227 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1228 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1229 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1230 test "X$echo_testing_string" = "X$echo_test_string"; then
1231 echo="$dir/echo"
1232 break
1233 fi
1234 done
1235 IFS="$lt_save_ifs"
1236
1237 if test "X$echo" = Xecho; then
1238 # We didn't find a better echo, so look for alternatives.
1239 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
1240 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
1241 test "X$echo_testing_string" = "X$echo_test_string"; then
1242 # This shell has a builtin print -r that does the trick.
1243 echo='print -r'
1244 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
1245 test "X$CONFIG_SHELL" != X/bin/ksh; then
1246 # If we have ksh, try running configure again with it.
1247 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1248 export ORIGINAL_CONFIG_SHELL
1249 CONFIG_SHELL=/bin/ksh
1250 export CONFIG_SHELL
1251 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1252 else
1253 # Try using printf.
1254 echo='printf %s\n'
1255 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1256 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1257 test "X$echo_testing_string" = "X$echo_test_string"; then
1258 # Cool, printf works
1259 :
1260 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1261 test "X$echo_testing_string" = 'X\t' &&
1262 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1263 test "X$echo_testing_string" = "X$echo_test_string"; then
1264 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1265 export CONFIG_SHELL
1266 SHELL="$CONFIG_SHELL"
1267 export SHELL
1268 echo="$CONFIG_SHELL [$]0 --fallback-echo"
1269 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1270 test "X$echo_testing_string" = 'X\t' &&
1271 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1272 test "X$echo_testing_string" = "X$echo_test_string"; then
1273 echo="$CONFIG_SHELL [$]0 --fallback-echo"
1274 else
1275 # maybe with a smaller string...
1276 prev=:
1277
1278 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1279 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1280 then
1281 break
1282 fi
1283 prev="$cmd"
1284 done
1285
1286 if test "$prev" != 'sed 50q "[$]0"'; then
1287 echo_test_string=`eval $prev`
1288 export echo_test_string
1289 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1290 else
1291 # Oops. We lost completely, so just stick with echo.
1292 echo=echo
1293 fi
1294 fi
1295 fi
1296 fi
1297 fi
1298 fi
1299
1300 # Copy echo and quote the copy suitably for passing to libtool from
1301 # the Makefile, instead of quoting the original, which is used later.
1302 ECHO=$echo
1303 if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1304 ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1305 fi
1306
1307 AC_SUBST(ECHO)
1308 ])])# _LT_AC_PROG_ECHO_BACKSLASH
1309
1310
1311 # _LT_AC_LOCK
1312 # -----------
1313 AC_DEFUN([_LT_AC_LOCK],
1314 [AC_ARG_ENABLE([libtool-lock],
1315 [AC_HELP_STRING([--disable-libtool-lock],
1316 [avoid locking (might break parallel builds)])])
1317 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1318
1319 # Some flags need to be propagated to the compiler or linker for good
1320 # libtool support.
1321 case $host in
1322 ia64-*-hpux*)
1323 # Find out which ABI we are using.
1324 echo 'int i;' > conftest.$ac_ext
1325 if AC_TRY_EVAL(ac_compile); then
1326 case `/usr/bin/file conftest.$ac_objext` in
1327 *ELF-32*)
1328 HPUX_IA64_MODE="32"
1329 ;;
1330 *ELF-64*)
1331 HPUX_IA64_MODE="64"
1332 ;;
1333 esac
1334 fi
1335 rm -rf conftest*
1336 ;;
1337 *-*-irix6*)
1338 # Find out which ABI we are using.
1339 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1340 if AC_TRY_EVAL(ac_compile); then
1341 if test "$lt_cv_prog_gnu_ld" = yes; then
1342 case `/usr/bin/file conftest.$ac_objext` in
1343 *32-bit*)
1344 LD="${LD-ld} -melf32bsmip"
1345 ;;
1346 *N32*)
1347 LD="${LD-ld} -melf32bmipn32"
1348 ;;
1349 *64-bit*)
1350 LD="${LD-ld} -melf64bmip"
1351 ;;
1352 esac
1353 else
1354 case `/usr/bin/file conftest.$ac_objext` in
1355 *32-bit*)
1356 LD="${LD-ld} -32"
1357 ;;
1358 *N32*)
1359 LD="${LD-ld} -n32"
1360 ;;
1361 *64-bit*)
1362 LD="${LD-ld} -64"
1363 ;;
1364 esac
1365 fi
1366 fi
1367 rm -rf conftest*
1368 ;;
1369
1370 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1371 # Find out which ABI we are using.
1372 echo 'int i;' > conftest.$ac_ext
1373 if AC_TRY_EVAL(ac_compile); then
1374 case "`/usr/bin/file conftest.o`" in
1375 *32-bit*)
1376 case $host in
1377 x86_64-*linux*)
1378 LD="${LD-ld} -m elf_i386"
1379 ;;
1380 ppc64-*linux*|powerpc64-*linux*)
1381 LD="${LD-ld} -m elf32ppclinux"
1382 ;;
1383 s390x-*linux*)
1384 LD="${LD-ld} -m elf_s390"
1385 ;;
1386 sparc64-*linux*)
1387 LD="${LD-ld} -m elf32_sparc"
1388 ;;
1389 esac
1390 ;;
1391 *64-bit*)
1392 case $host in
1393 x86_64-*linux*)
1394 LD="${LD-ld} -m elf_x86_64"
1395 ;;
1396 ppc*-*linux*|powerpc*-*linux*)
1397 LD="${LD-ld} -m elf64ppc"
1398 ;;
1399 s390*-*linux*)
1400 LD="${LD-ld} -m elf64_s390"
1401 ;;
1402 sparc*-*linux*)
1403 LD="${LD-ld} -m elf64_sparc"
1404 ;;
1405 esac
1406 ;;
1407 esac
1408 fi
1409 rm -rf conftest*
1410 ;;
1411
1412 *-*-sco3.2v5*)
1413 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1414 SAVE_CFLAGS="$CFLAGS"
1415 CFLAGS="$CFLAGS -belf"
1416 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1417 [AC_LANG_PUSH(C)
1418 AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1419 AC_LANG_POP])
1420 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1421 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1422 CFLAGS="$SAVE_CFLAGS"
1423 fi
1424 ;;
1425 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1426 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1427 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1428 AC_CHECK_TOOL(AS, as, false)
1429 AC_CHECK_TOOL(OBJDUMP, objdump, false)
1430 ;;
1431 ])
1432 esac
1433
1434 need_locks="$enable_libtool_lock"
1435
1436 ])# _LT_AC_LOCK
1437
1438
1439 # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1440 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1441 # ----------------------------------------------------------------
1442 # Check whether the given compiler option works
1443 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
1444 [AC_REQUIRE([LT_AC_PROG_SED])
1445 AC_CACHE_CHECK([$1], [$2],
1446 [$2=no
1447 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1448 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1449 lt_compiler_flag="$3"
1450 # Insert the option either (1) after the last *FLAGS variable, or
1451 # (2) before a word containing "conftest.", or (3) at the end.
1452 # Note that $ac_compile itself does not contain backslashes and begins
1453 # with a dollar sign (not a hyphen), so the echo should work correctly.
1454 # The option is referenced via a variable to avoid confusing sed.
1455 lt_compile=`echo "$ac_compile" | $SED \
1456 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1457 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1458 -e 's:$: $lt_compiler_flag:'`
1459 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1460 (eval "$lt_compile" 2>conftest.err)
1461 ac_status=$?
1462 cat conftest.err >&AS_MESSAGE_LOG_FD
1463 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1464 if (exit $ac_status) && test -s "$ac_outfile"; then
1465 # The compiler can only warn and ignore the option if not recognized
1466 # So say no if there are warnings
1467 if test ! -s conftest.err; then
1468 $2=yes
1469 fi
1470 fi
1471 $rm conftest*
1472 ])
1473
1474 if test x"[$]$2" = xyes; then
1475 ifelse([$5], , :, [$5])
1476 else
1477 ifelse([$6], , :, [$6])
1478 fi
1479 ])# AC_LIBTOOL_COMPILER_OPTION
1480
1481
1482 # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1483 # [ACTION-SUCCESS], [ACTION-FAILURE])
1484 # ------------------------------------------------------------
1485 # Check whether the given compiler option works
1486 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
1487 [AC_CACHE_CHECK([$1], [$2],
1488 [$2=no
1489 save_LDFLAGS="$LDFLAGS"
1490 LDFLAGS="$LDFLAGS $3"
1491 printf "$lt_simple_link_test_code" > conftest.$ac_ext
1492 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1493 # The compiler can only warn and ignore the option if not recognized
1494 # So say no if there are warnings
1495 if test -s conftest.err; then
1496 # Append any errors to the config.log.
1497 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1498 else
1499 $2=yes
1500 fi
1501 fi
1502 $rm conftest*
1503 LDFLAGS="$save_LDFLAGS"
1504 ])
1505
1506 if test x"[$]$2" = xyes; then
1507 ifelse([$4], , :, [$4])
1508 else
1509 ifelse([$5], , :, [$5])
1510 fi
1511 ])# AC_LIBTOOL_LINKER_OPTION
1512
1513
1514 # AC_LIBTOOL_SYS_MAX_CMD_LEN
1515 # --------------------------
1516 AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
1517 [# find the maximum length of command line arguments
1518 AC_MSG_CHECKING([the maximum length of command line arguments])
1519 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1520 i=0
1521 teststring="ABCD"
1522
1523 case $build_os in
1524 msdosdjgpp*)
1525 # On DJGPP, this test can blow up pretty badly due to problems in libc
1526 # (any single argument exceeding 2000 bytes causes a buffer overrun
1527 # during glob expansion). Even if it were fixed, the result of this
1528 # check would be larger than it should be.
1529 lt_cv_sys_max_cmd_len=12288; # 12K is about right
1530 ;;
1531
1532 gnu*)
1533 # Under GNU Hurd, this test is not required because there is
1534 # no limit to the length of command line arguments.
1535 # Libtool will interpret -1 as no limit whatsoever
1536 lt_cv_sys_max_cmd_len=-1;
1537 ;;
1538
1539 cygwin* | mingw*)
1540 # On Win9x/ME, this test blows up -- it succeeds, but takes
1541 # about 5 minutes as the teststring grows exponentially.
1542 # Worse, since 9x/ME are not pre-emptively multitasking,
1543 # you end up with a "frozen" computer, even though with patience
1544 # the test eventually succeeds (with a max line length of 256k).
1545 # Instead, let's just punt: use the minimum linelength reported by
1546 # all of the supported platforms: 8192 (on NT/2K/XP).
1547 lt_cv_sys_max_cmd_len=8192;
1548 ;;
1549
1550 amigaos*)
1551 # On AmigaOS with pdksh, this test takes hours, literally.
1552 # So we just punt and use a minimum line length of 8192.
1553 lt_cv_sys_max_cmd_len=8192;
1554 ;;
1555
1556 *)
1557 # If test is not a shell built-in, we'll probably end up computing a
1558 # maximum length that is only half of the actual maximum length, but
1559 # we can't tell.
1560 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1561 = "XX$teststring") >/dev/null 2>&1 &&
1562 new_result=`expr "X$teststring" : ".*" 2>&1` &&
1563 lt_cv_sys_max_cmd_len=$new_result &&
1564 test $i != 17 # 1/2 MB should be enough
1565 do
1566 i=`expr $i + 1`
1567 teststring=$teststring$teststring
1568 done
1569 teststring=
1570 # Add a significant safety factor because C++ compilers can tack on massive
1571 # amounts of additional arguments before passing them to the linker.
1572 # It appears as though 1/2 is a usable value.
1573 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1574 ;;
1575 esac
1576 ])
1577 if test -n $lt_cv_sys_max_cmd_len ; then
1578 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1579 else
1580 AC_MSG_RESULT(none)
1581 fi
1582 ])# AC_LIBTOOL_SYS_MAX_CMD_LEN
1583
1584
1585 # _LT_AC_CHECK_DLFCN
1586 # --------------------
1587 AC_DEFUN([_LT_AC_CHECK_DLFCN],
1588 [AC_CHECK_HEADERS(dlfcn.h)dnl
1589 ])# _LT_AC_CHECK_DLFCN
1590
1591
1592 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1593 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1594 # ------------------------------------------------------------------
1595 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1596 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1597 if test "$cross_compiling" = yes; then :
1598 [$4]
1599 else
1600 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1601 lt_status=$lt_dlunknown
1602 cat > conftest.$ac_ext <<EOF
1603 [#line __oline__ "configure"
1604 #include "confdefs.h"
1605
1606 #if HAVE_DLFCN_H
1607 #include <dlfcn.h>
1608 #endif
1609
1610 #include <stdio.h>
1611
1612 #ifdef RTLD_GLOBAL
1613 # define LT_DLGLOBAL RTLD_GLOBAL
1614 #else
1615 # ifdef DL_GLOBAL
1616 # define LT_DLGLOBAL DL_GLOBAL
1617 # else
1618 # define LT_DLGLOBAL 0
1619 # endif
1620 #endif
1621
1622 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1623 find out it does not work in some platform. */
1624 #ifndef LT_DLLAZY_OR_NOW
1625 # ifdef RTLD_LAZY
1626 # define LT_DLLAZY_OR_NOW RTLD_LAZY
1627 # else
1628 # ifdef DL_LAZY
1629 # define LT_DLLAZY_OR_NOW DL_LAZY
1630 # else
1631 # ifdef RTLD_NOW
1632 # define LT_DLLAZY_OR_NOW RTLD_NOW
1633 # else
1634 # ifdef DL_NOW
1635 # define LT_DLLAZY_OR_NOW DL_NOW
1636 # else
1637 # define LT_DLLAZY_OR_NOW 0
1638 # endif
1639 # endif
1640 # endif
1641 # endif
1642 #endif
1643
1644 #ifdef __cplusplus
1645 extern "C" void exit (int);
1646 #endif
1647
1648 void fnord() { int i=42;}
1649 int main ()
1650 {
1651 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1652 int status = $lt_dlunknown;
1653
1654 if (self)
1655 {
1656 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1657 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1658 /* dlclose (self); */
1659 }
1660
1661 exit (status);
1662 }]
1663 EOF
1664 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1665 (./conftest; exit; ) 2>/dev/null
1666 lt_status=$?
1667 case x$lt_status in
1668 x$lt_dlno_uscore) $1 ;;
1669 x$lt_dlneed_uscore) $2 ;;
1670 x$lt_unknown|x*) $3 ;;
1671 esac
1672 else :
1673 # compilation failed
1674 $3
1675 fi
1676 fi
1677 rm -fr conftest*
1678 ])# _LT_AC_TRY_DLOPEN_SELF
1679
1680
1681 # AC_LIBTOOL_DLOPEN_SELF
1682 # -------------------
1683 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1684 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1685 if test "x$enable_dlopen" != xyes; then
1686 enable_dlopen=unknown
1687 enable_dlopen_self=unknown
1688 enable_dlopen_self_static=unknown
1689 else
1690 lt_cv_dlopen=no
1691 lt_cv_dlopen_libs=
1692
1693 case $host_os in
1694 beos*)
1695 lt_cv_dlopen="load_add_on"
1696 lt_cv_dlopen_libs=
1697 lt_cv_dlopen_self=yes
1698 ;;
1699
1700 mingw* | pw32*)
1701 lt_cv_dlopen="LoadLibrary"
1702 lt_cv_dlopen_libs=
1703 ;;
1704
1705 cygwin*)
1706 lt_cv_dlopen="dlopen"
1707 lt_cv_dlopen_libs=
1708 ;;
1709
1710 darwin*)
1711 # if libdl is installed we need to link against it
1712 AC_CHECK_LIB([dl], [dlopen],
1713 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1714 lt_cv_dlopen="dyld"
1715 lt_cv_dlopen_libs=
1716 lt_cv_dlopen_self=yes
1717 ])
1718 ;;
1719
1720 *)
1721 AC_CHECK_FUNC([shl_load],
1722 [lt_cv_dlopen="shl_load"],
1723 [AC_CHECK_LIB([dld], [shl_load],
1724 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1725 [AC_CHECK_FUNC([dlopen],
1726 [lt_cv_dlopen="dlopen"],
1727 [AC_CHECK_LIB([dl], [dlopen],
1728 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1729 [AC_CHECK_LIB([svld], [dlopen],
1730 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1731 [AC_CHECK_LIB([dld], [dld_link],
1732 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1733 ])
1734 ])
1735 ])
1736 ])
1737 ])
1738 ;;
1739 esac
1740
1741 if test "x$lt_cv_dlopen" != xno; then
1742 enable_dlopen=yes
1743 else
1744 enable_dlopen=no
1745 fi
1746
1747 case $lt_cv_dlopen in
1748 dlopen)
1749 save_CPPFLAGS="$CPPFLAGS"
1750 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1751
1752 save_LDFLAGS="$LDFLAGS"
1753 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1754
1755 save_LIBS="$LIBS"
1756 LIBS="$lt_cv_dlopen_libs $LIBS"
1757
1758 AC_CACHE_CHECK([whether a program can dlopen itself],
1759 lt_cv_dlopen_self, [dnl
1760 _LT_AC_TRY_DLOPEN_SELF(
1761 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1762 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1763 ])
1764
1765 if test "x$lt_cv_dlopen_self" = xyes; then
1766 LDFLAGS="$LDFLAGS $link_static_flag"
1767 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1768 lt_cv_dlopen_self_static, [dnl
1769 _LT_AC_TRY_DLOPEN_SELF(
1770 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1771 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1772 ])
1773 fi
1774
1775 CPPFLAGS="$save_CPPFLAGS"
1776 LDFLAGS="$save_LDFLAGS"
1777 LIBS="$save_LIBS"
1778 ;;
1779 esac
1780
1781 case $lt_cv_dlopen_self in
1782 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1783 *) enable_dlopen_self=unknown ;;
1784 esac
1785
1786 case $lt_cv_dlopen_self_static in
1787 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1788 *) enable_dlopen_self_static=unknown ;;
1789 esac
1790 fi
1791 ])# AC_LIBTOOL_DLOPEN_SELF
1792
1793
1794 # AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1795 # ---------------------------------
1796 # Check to see if options -c and -o are simultaneously supported by compiler
1797 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1798 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1799 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1800 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1801 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1802 $rm -r conftest 2>/dev/null
1803 mkdir conftest
1804 cd conftest
1805 mkdir out
1806 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1807
1808 lt_compiler_flag="-o out/conftest2.$ac_objext"
1809 # Insert the option either (1) after the last *FLAGS variable, or
1810 # (2) before a word containing "conftest.", or (3) at the end.
1811 # Note that $ac_compile itself does not contain backslashes and begins
1812 # with a dollar sign (not a hyphen), so the echo should work correctly.
1813 lt_compile=`echo "$ac_compile" | $SED \
1814 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1815 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1816 -e 's:$: $lt_compiler_flag:'`
1817 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1818 (eval "$lt_compile" 2>out/conftest.err)
1819 ac_status=$?
1820 cat out/conftest.err >&AS_MESSAGE_LOG_FD
1821 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1822 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1823 then
1824 # The compiler can only warn and ignore the option if not recognized
1825 # So say no if there are warnings
1826 if test ! -s out/conftest.err; then
1827 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1828 fi
1829 fi
1830 chmod u+w .
1831 $rm conftest*
1832 # SGI C++ compiler will create directory out/ii_files/ for
1833 # template instantiation
1834 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1835 $rm out/* && rmdir out
1836 cd ..
1837 rmdir conftest
1838 $rm conftest*
1839 ])
1840 ])# AC_LIBTOOL_PROG_CC_C_O
1841
1842
1843 # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1844 # -----------------------------------------
1845 # Check to see if we can do hard links to lock some files if needed
1846 AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1847 [AC_REQUIRE([_LT_AC_LOCK])dnl
1848
1849 hard_links="nottested"
1850 if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1851 # do not overwrite the value of need_locks provided by the user
1852 AC_MSG_CHECKING([if we can lock with hard links])
1853 hard_links=yes
1854 $rm conftest*
1855 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1856 touch conftest.a
1857 ln conftest.a conftest.b 2>&5 || hard_links=no
1858 ln conftest.a conftest.b 2>/dev/null && hard_links=no
1859 AC_MSG_RESULT([$hard_links])
1860 if test "$hard_links" = no; then
1861 AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1862 need_locks=warn
1863 fi
1864 else
1865 need_locks=no
1866 fi
1867 ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1868
1869
1870 # AC_LIBTOOL_OBJDIR
1871 # -----------------
1872 AC_DEFUN([AC_LIBTOOL_OBJDIR],
1873 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1874 [rm -f .libs 2>/dev/null
1875 mkdir .libs 2>/dev/null
1876 if test -d .libs; then
1877 lt_cv_objdir=.libs
1878 else
1879 # MS-DOS does not allow filenames that begin with a dot.
1880 lt_cv_objdir=_libs
1881 fi
1882 rmdir .libs 2>/dev/null])
1883 objdir=$lt_cv_objdir
1884 ])# AC_LIBTOOL_OBJDIR
1885
1886
1887 # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1888 # ----------------------------------------------
1889 # Check hardcoding attributes.
1890 AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
1891 [AC_MSG_CHECKING([how to hardcode library paths into programs])
1892 _LT_AC_TAGVAR(hardcode_action, $1)=
1893 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1894 test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
1895 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
1896
1897 # We can hardcode non-existant directories.
1898 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1899 # If the only mechanism to avoid hardcoding is shlibpath_var, we
1900 # have to relink, otherwise we might link with an installed library
1901 # when we should be linking with a yet-to-be-installed one
1902 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1903 test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1904 # Linking always hardcodes the temporary library directory.
1905 _LT_AC_TAGVAR(hardcode_action, $1)=relink
1906 else
1907 # We can link without hardcoding, and we can hardcode nonexisting dirs.
1908 _LT_AC_TAGVAR(hardcode_action, $1)=immediate
1909 fi
1910 else
1911 # We cannot hardcode anything, or else we can only hardcode existing
1912 # directories.
1913 _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1914 fi
1915 AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1916
1917 if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1918 # Fast installation is not supported
1919 enable_fast_install=no
1920 elif test "$shlibpath_overrides_runpath" = yes ||
1921 test "$enable_shared" = no; then
1922 # Fast installation is not necessary
1923 enable_fast_install=needless
1924 fi
1925 ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1926
1927
1928 # AC_LIBTOOL_SYS_LIB_STRIP
1929 # ------------------------
1930 AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
1931 [striplib=
1932 old_striplib=
1933 AC_MSG_CHECKING([whether stripping libraries is possible])
1934 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1935 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1936 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1937 AC_MSG_RESULT([yes])
1938 else
1939 # FIXME - insert some real tests, host_os isn't really good enough
1940 case $host_os in
1941 darwin*)
1942 if test -n "$STRIP" ; then
1943 striplib="$STRIP -x"
1944 AC_MSG_RESULT([yes])
1945 else
1946 AC_MSG_RESULT([no])
1947 fi
1948 ;;
1949 *)
1950 AC_MSG_RESULT([no])
1951 ;;
1952 esac
1953 fi
1954 ])# AC_LIBTOOL_SYS_LIB_STRIP
1955
1956
1957 # AC_LIBTOOL_SYS_DYNAMIC_LINKER
1958 # -----------------------------
1959 # PORTME Fill in your ld.so characteristics
1960 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1961 [AC_MSG_CHECKING([dynamic linker characteristics])
1962 library_names_spec=
1963 libname_spec='lib$name'
1964 soname_spec=
1965 shrext_cmds=".so"
1966 postinstall_cmds=
1967 postuninstall_cmds=
1968 finish_cmds=
1969 finish_eval=
1970 shlibpath_var=
1971 shlibpath_overrides_runpath=unknown
1972 version_type=none
1973 dynamic_linker="$host_os ld.so"
1974 sys_lib_dlsearch_path_spec="/lib /usr/lib"
1975 if test "$GCC" = yes; then
1976 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1977 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1978 # if the path contains ";" then we assume it to be the separator
1979 # otherwise default to the standard path separator (i.e. ":") - it is
1980 # assumed that no part of a normal pathname contains ";" but that should
1981 # okay in the real world where ";" in dirpaths is itself problematic.
1982 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1983 else
1984 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1985 fi
1986 else
1987 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1988 fi
1989 need_lib_prefix=unknown
1990 hardcode_into_libs=no
1991
1992 # when you set need_version to no, make sure it does not cause -set_version
1993 # flags to be left without arguments
1994 need_version=unknown
1995
1996 case $host_os in
1997 aix3*)
1998 version_type=linux
1999 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2000 shlibpath_var=LIBPATH
2001
2002 # AIX 3 has no versioning support, so we append a major version to the name.
2003 soname_spec='${libname}${release}${shared_ext}$major'
2004 ;;
2005
2006 aix4* | aix5*)
2007 version_type=linux
2008 need_lib_prefix=no
2009 need_version=no
2010 hardcode_into_libs=yes
2011 if test "$host_cpu" = ia64; then
2012 # AIX 5 supports IA64
2013 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2014 shlibpath_var=LD_LIBRARY_PATH
2015 else
2016 # With GCC up to 2.95.x, collect2 would create an import file
2017 # for dependence libraries. The import file would start with
2018 # the line `#! .'. This would cause the generated library to
2019 # depend on `.', always an invalid library. This was fixed in
2020 # development snapshots of GCC prior to 3.0.
2021 case $host_os in
2022 aix4 | aix4.[[01]] | aix4.[[01]].*)
2023 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2024 echo ' yes '
2025 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
2026 :
2027 else
2028 can_build_shared=no
2029 fi
2030 ;;
2031 esac
2032 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2033 # soname into executable. Probably we can add versioning support to
2034 # collect2, so additional links can be useful in future.
2035 if test "$aix_use_runtimelinking" = yes; then
2036 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2037 # instead of lib<name>.a to let people know that these are not
2038 # typical AIX shared libraries.
2039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2040 else
2041 # We preserve .a as extension for shared libraries through AIX4.2
2042 # and later when we are not doing run time linking.
2043 library_names_spec='${libname}${release}.a $libname.a'
2044 soname_spec='${libname}${release}${shared_ext}$major'
2045 fi
2046 shlibpath_var=LIBPATH
2047 fi
2048 ;;
2049
2050 amigaos*)
2051 library_names_spec='$libname.ixlibrary $libname.a'
2052 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2053 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2054 ;;
2055
2056 beos*)
2057 library_names_spec='${libname}${shared_ext}'
2058 dynamic_linker="$host_os ld.so"
2059 shlibpath_var=LIBRARY_PATH
2060 ;;
2061
2062 bsdi4*)
2063 version_type=linux
2064 need_version=no
2065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2066 soname_spec='${libname}${release}${shared_ext}$major'
2067 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2068 shlibpath_var=LD_LIBRARY_PATH
2069 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2070 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2071 # the default ld.so.conf also contains /usr/contrib/lib and
2072 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2073 # libtool to hard-code these into programs
2074 ;;
2075
2076 cygwin* | mingw* | pw32*)
2077 version_type=windows
2078 shrext_cmds=".dll"
2079 need_version=no
2080 need_lib_prefix=no
2081
2082 case $GCC,$host_os in
2083 yes,cygwin* | yes,mingw* | yes,pw32*)
2084 library_names_spec='$libname.dll.a'
2085 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2086 postinstall_cmds='base_file=`basename \${file}`~
2087 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
2088 dldir=$destdir/`dirname \$dlpath`~
2089 test -d \$dldir || mkdir -p \$dldir~
2090 $install_prog $dir/$dlname \$dldir/$dlname'
2091 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2092 dlpath=$dir/\$dldll~
2093 $rm \$dlpath'
2094 shlibpath_overrides_runpath=yes
2095
2096 case $host_os in
2097 cygwin*)
2098 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2099 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2100 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2101 ;;
2102 mingw*)
2103 # MinGW DLLs use traditional 'lib' prefix
2104 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2105 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2106 if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
2107 # It is most probably a Windows format PATH printed by
2108 # mingw gcc, but we are running on Cygwin. Gcc prints its search
2109 # path with ; separators, and with drive letters. We can handle the
2110 # drive letters (cygwin fileutils understands them), so leave them,
2111 # especially as we might pass files found there to a mingw objdump,
2112 # which wouldn't understand a cygwinified path. Ahh.
2113 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2114 else
2115 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2116 fi
2117 ;;
2118 pw32*)
2119 # pw32 DLLs use 'pw' prefix rather than 'lib'
2120 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
2121 ;;
2122 esac
2123 ;;
2124
2125 *)
2126 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2127 ;;
2128 esac
2129 dynamic_linker='Win32 ld.exe'
2130 # FIXME: first we should search . and the directory the executable is in
2131 shlibpath_var=PATH
2132 ;;
2133
2134 darwin* | rhapsody*)
2135 dynamic_linker="$host_os dyld"
2136 version_type=darwin
2137 need_lib_prefix=no
2138 need_version=no
2139 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2140 soname_spec='${libname}${release}${major}$shared_ext'
2141 shlibpath_overrides_runpath=yes
2142 shlibpath_var=DYLD_LIBRARY_PATH
2143 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
2144 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
2145 if test "$GCC" = yes; then
2146 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
2147 else
2148 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
2149 fi
2150 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2151 ;;
2152
2153 dgux*)
2154 version_type=linux
2155 need_lib_prefix=no
2156 need_version=no
2157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2158 soname_spec='${libname}${release}${shared_ext}$major'
2159 shlibpath_var=LD_LIBRARY_PATH
2160 ;;
2161
2162 freebsd1*)
2163 dynamic_linker=no
2164 ;;
2165
2166 kfreebsd*-gnu)
2167 version_type=linux
2168 need_lib_prefix=no
2169 need_version=no
2170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2171 soname_spec='${libname}${release}${shared_ext}$major'
2172 shlibpath_var=LD_LIBRARY_PATH
2173 shlibpath_overrides_runpath=no
2174 hardcode_into_libs=yes
2175 dynamic_linker='GNU ld.so'
2176 ;;
2177
2178 freebsd*)
2179 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
2180 version_type=freebsd-$objformat
2181 case $version_type in
2182 freebsd-elf*)
2183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2184 need_version=no
2185 need_lib_prefix=no
2186 ;;
2187 freebsd-*)
2188 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2189 need_version=yes
2190 ;;
2191 esac
2192 shlibpath_var=LD_LIBRARY_PATH
2193 case $host_os in
2194 freebsd2*)
2195 shlibpath_overrides_runpath=yes
2196 ;;
2197 freebsd3.[01]* | freebsdelf3.[01]*)
2198 shlibpath_overrides_runpath=yes
2199 hardcode_into_libs=yes
2200 ;;
2201 *) # from 3.2 on
2202 shlibpath_overrides_runpath=no
2203 hardcode_into_libs=yes
2204 ;;
2205 esac
2206 ;;
2207
2208 gnu*)
2209 version_type=linux
2210 need_lib_prefix=no
2211 need_version=no
2212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2213 soname_spec='${libname}${release}${shared_ext}$major'
2214 shlibpath_var=LD_LIBRARY_PATH
2215 hardcode_into_libs=yes
2216 ;;
2217
2218 hpux9* | hpux10* | hpux11*)
2219 # Give a soname corresponding to the major version so that dld.sl refuses to
2220 # link against other versions.
2221 version_type=sunos
2222 need_lib_prefix=no
2223 need_version=no
2224 case "$host_cpu" in
2225 ia64*)
2226 shrext_cmds='.so'
2227 hardcode_into_libs=yes
2228 dynamic_linker="$host_os dld.so"
2229 shlibpath_var=LD_LIBRARY_PATH
2230 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2232 soname_spec='${libname}${release}${shared_ext}$major'
2233 if test "X$HPUX_IA64_MODE" = X32; then
2234 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2235 else
2236 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2237 fi
2238 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2239 ;;
2240 hppa*64*)
2241 shrext_cmds='.sl'
2242 hardcode_into_libs=yes
2243 dynamic_linker="$host_os dld.sl"
2244 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2245 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2247 soname_spec='${libname}${release}${shared_ext}$major'
2248 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2249 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2250 ;;
2251 *)
2252 shrext_cmds='.sl'
2253 dynamic_linker="$host_os dld.sl"
2254 shlibpath_var=SHLIB_PATH
2255 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2257 soname_spec='${libname}${release}${shared_ext}$major'
2258 ;;
2259 esac
2260 # HP-UX runs *really* slowly unless shared libraries are mode 555.
2261 postinstall_cmds='chmod 555 $lib'
2262 ;;
2263
2264 irix5* | irix6* | nonstopux*)
2265 case $host_os in
2266 nonstopux*) version_type=nonstopux ;;
2267 *)
2268 if test "$lt_cv_prog_gnu_ld" = yes; then
2269 version_type=linux
2270 else
2271 version_type=irix
2272 fi ;;
2273 esac
2274 need_lib_prefix=no
2275 need_version=no
2276 soname_spec='${libname}${release}${shared_ext}$major'
2277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2278 case $host_os in
2279 irix5* | nonstopux*)
2280 libsuff= shlibsuff=
2281 ;;
2282 *)
2283 case $LD in # libtool.m4 will add one of these switches to LD
2284 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2285 libsuff= shlibsuff= libmagic=32-bit;;
2286 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2287 libsuff=32 shlibsuff=N32 libmagic=N32;;
2288 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2289 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2290 *) libsuff= shlibsuff= libmagic=never-match;;
2291 esac
2292 ;;
2293 esac
2294 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2295 shlibpath_overrides_runpath=no
2296 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2297 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2298 hardcode_into_libs=yes
2299 ;;
2300
2301 # No shared lib support for Linux oldld, aout, or coff.
2302 linux*oldld* | linux*aout* | linux*coff*)
2303 dynamic_linker=no
2304 ;;
2305
2306 # This must be Linux ELF.
2307 linux*)
2308 version_type=linux
2309 need_lib_prefix=no
2310 need_version=no
2311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2312 soname_spec='${libname}${release}${shared_ext}$major'
2313 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2314 shlibpath_var=LD_LIBRARY_PATH
2315 shlibpath_overrides_runpath=no
2316 # This implies no fast_install, which is unacceptable.
2317 # Some rework will be needed to allow for fast_install
2318 # before this can be enabled.
2319 hardcode_into_libs=yes
2320
2321 # Append ld.so.conf contents to the search path
2322 if test -f /etc/ld.so.conf; then
2323 lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
2324 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2325 fi
2326
2327 # We used to test for /lib/ld.so.1 and disable shared libraries on
2328 # powerpc, because MkLinux only supported shared libraries with the
2329 # GNU dynamic linker. Since this was broken with cross compilers,
2330 # most powerpc-linux boxes support dynamic linking these days and
2331 # people can always --disable-shared, the test was removed, and we
2332 # assume the GNU/Linux dynamic linker is in use.
2333 dynamic_linker='GNU/Linux ld.so'
2334 ;;
2335
2336 netbsdelf*-gnu)
2337 version_type=linux
2338 need_lib_prefix=no
2339 need_version=no
2340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2341 soname_spec='${libname}${release}${shared_ext}$major'
2342 shlibpath_var=LD_LIBRARY_PATH
2343 shlibpath_overrides_runpath=no
2344 hardcode_into_libs=yes
2345 dynamic_linker='NetBSD ld.elf_so'
2346 ;;
2347
2348 knetbsd*-gnu)
2349 version_type=linux
2350 need_lib_prefix=no
2351 need_version=no
2352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2353 soname_spec='${libname}${release}${shared_ext}$major'
2354 shlibpath_var=LD_LIBRARY_PATH
2355 shlibpath_overrides_runpath=no
2356 hardcode_into_libs=yes
2357 dynamic_linker='GNU ld.so'
2358 ;;
2359
2360 netbsd*)
2361 version_type=sunos
2362 need_lib_prefix=no
2363 need_version=no
2364 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2366 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2367 dynamic_linker='NetBSD (a.out) ld.so'
2368 else
2369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2370 soname_spec='${libname}${release}${shared_ext}$major'
2371 dynamic_linker='NetBSD ld.elf_so'
2372 fi
2373 shlibpath_var=LD_LIBRARY_PATH
2374 shlibpath_overrides_runpath=yes
2375 hardcode_into_libs=yes
2376 ;;
2377
2378 newsos6)
2379 version_type=linux
2380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2381 shlibpath_var=LD_LIBRARY_PATH
2382 shlibpath_overrides_runpath=yes
2383 ;;
2384
2385 nto-qnx*)
2386 version_type=linux
2387 need_lib_prefix=no
2388 need_version=no
2389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2390 soname_spec='${libname}${release}${shared_ext}$major'
2391 shlibpath_var=LD_LIBRARY_PATH
2392 shlibpath_overrides_runpath=yes
2393 ;;
2394
2395 openbsd*)
2396 version_type=sunos
2397 need_lib_prefix=no
2398 need_version=yes
2399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2400 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2401 shlibpath_var=LD_LIBRARY_PATH
2402 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2403 case $host_os in
2404 openbsd2.[[89]] | openbsd2.[[89]].*)
2405 shlibpath_overrides_runpath=no
2406 ;;
2407 *)
2408 shlibpath_overrides_runpath=yes
2409 ;;
2410 esac
2411 else
2412 shlibpath_overrides_runpath=yes
2413 fi
2414 ;;
2415
2416 os2*)
2417 libname_spec='$name'
2418 shrext_cmds=".dll"
2419 need_lib_prefix=no
2420 library_names_spec='$libname${shared_ext} $libname.a'
2421 dynamic_linker='OS/2 ld.exe'
2422 shlibpath_var=LIBPATH
2423 ;;
2424
2425 osf3* | osf4* | osf5*)
2426 version_type=osf
2427 need_lib_prefix=no
2428 need_version=no
2429 soname_spec='${libname}${release}${shared_ext}$major'
2430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2431 shlibpath_var=LD_LIBRARY_PATH
2432 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2433 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
2434 ;;
2435
2436 sco3.2v5*)
2437 version_type=osf
2438 soname_spec='${libname}${release}${shared_ext}$major'
2439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2440 shlibpath_var=LD_LIBRARY_PATH
2441 ;;
2442
2443 solaris*)
2444 version_type=linux
2445 need_lib_prefix=no
2446 need_version=no
2447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2448 soname_spec='${libname}${release}${shared_ext}$major'
2449 shlibpath_var=LD_LIBRARY_PATH
2450 shlibpath_overrides_runpath=yes
2451 hardcode_into_libs=yes
2452 # ldd complains unless libraries are executable
2453 postinstall_cmds='chmod +x $lib'
2454 ;;
2455
2456 sunos4*)
2457 version_type=sunos
2458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2459 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
2460 shlibpath_var=LD_LIBRARY_PATH
2461 shlibpath_overrides_runpath=yes
2462 if test "$with_gnu_ld" = yes; then
2463 need_lib_prefix=no
2464 fi
2465 need_version=yes
2466 ;;
2467
2468 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2469 version_type=linux
2470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2471 soname_spec='${libname}${release}${shared_ext}$major'
2472 shlibpath_var=LD_LIBRARY_PATH
2473 case $host_vendor in
2474 sni)
2475 shlibpath_overrides_runpath=no
2476 need_lib_prefix=no
2477 export_dynamic_flag_spec='${wl}-Blargedynsym'
2478 runpath_var=LD_RUN_PATH
2479 ;;
2480 siemens)
2481 need_lib_prefix=no
2482 ;;
2483 motorola)
2484 need_lib_prefix=no
2485 need_version=no
2486 shlibpath_overrides_runpath=no
2487 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
2488 ;;
2489 esac
2490 ;;
2491
2492 sysv4*MP*)
2493 if test -d /usr/nec ;then
2494 version_type=linux
2495 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2496 soname_spec='$libname${shared_ext}.$major'
2497 shlibpath_var=LD_LIBRARY_PATH
2498 fi
2499 ;;
2500
2501 uts4*)
2502 version_type=linux
2503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2504 soname_spec='${libname}${release}${shared_ext}$major'
2505 shlibpath_var=LD_LIBRARY_PATH
2506 ;;
2507
2508 *)
2509 dynamic_linker=no
2510 ;;
2511 esac
2512 AC_MSG_RESULT([$dynamic_linker])
2513 test "$dynamic_linker" = no && can_build_shared=no
2514 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2515
2516
2517 # _LT_AC_TAGCONFIG
2518 # ----------------
2519 AC_DEFUN([_LT_AC_TAGCONFIG],
2520 [AC_ARG_WITH([tags],
2521 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
2522 [include additional configurations @<:@automatic@:>@])],
2523 [tagnames="$withval"])
2524
2525 if test -f "$ltmain" && test -n "$tagnames"; then
2526 if test ! -f "${ofile}"; then
2527 AC_MSG_WARN([output file `$ofile' does not exist])
2528 fi
2529
2530 if test -z "$LTCC"; then
2531 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
2532 if test -z "$LTCC"; then
2533 AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
2534 else
2535 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
2536 fi
2537 fi
2538
2539 # Extract list of available tagged configurations in $ofile.
2540 # Note that this assumes the entire list is on one line.
2541 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
2542
2543 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2544 for tagname in $tagnames; do
2545 IFS="$lt_save_ifs"
2546 # Check whether tagname contains only valid characters
2547 case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
2548 "") ;;
2549 *) AC_MSG_ERROR([invalid tag name: $tagname])
2550 ;;
2551 esac
2552
2553 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
2554 then
2555 AC_MSG_ERROR([tag name \"$tagname\" already exists])
2556 fi
2557
2558 # Update the list of available tags.
2559 if test -n "$tagname"; then
2560 echo appending configuration tag \"$tagname\" to $ofile
2561
2562 case $tagname in
2563 CXX)
2564 if test -n "$CXX" && test "X$CXX" != "Xno"; then
2565 AC_LIBTOOL_LANG_CXX_CONFIG
2566 else
2567 tagname=""
2568 fi
2569 ;;
2570
2571 F77)
2572 if test -n "$F77" && test "X$F77" != "Xno"; then
2573 AC_LIBTOOL_LANG_F77_CONFIG
2574 else
2575 tagname=""
2576 fi
2577 ;;
2578
2579 GCJ)
2580 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
2581 AC_LIBTOOL_LANG_GCJ_CONFIG
2582 else
2583 tagname=""
2584 fi
2585 ;;
2586
2587 RC)
2588 AC_LIBTOOL_LANG_RC_CONFIG
2589 ;;
2590
2591 *)
2592 AC_MSG_ERROR([Unsupported tag name: $tagname])
2593 ;;
2594 esac
2595
2596 # Append the new tag name to the list of available tags.
2597 if test -n "$tagname" ; then
2598 available_tags="$available_tags $tagname"
2599 fi
2600 fi
2601 done
2602 IFS="$lt_save_ifs"
2603
2604 # Now substitute the updated list of available tags.
2605 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
2606 mv "${ofile}T" "$ofile"
2607 chmod +x "$ofile"
2608 else
2609 rm -f "${ofile}T"
2610 AC_MSG_ERROR([unable to update list of available tagged configurations.])
2611 fi
2612 fi
2613 ])# _LT_AC_TAGCONFIG
2614
2615
2616 # AC_LIBTOOL_DLOPEN
2617 # -----------------
2618 # enable checks for dlopen support
2619 AC_DEFUN([AC_LIBTOOL_DLOPEN],
2620 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
2621 ])# AC_LIBTOOL_DLOPEN
2622
2623
2624 # AC_LIBTOOL_WIN32_DLL
2625 # --------------------
2626 # declare package support for building win32 dll's
2627 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
2628 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
2629 ])# AC_LIBTOOL_WIN32_DLL
2630
2631
2632 # AC_ENABLE_SHARED([DEFAULT])
2633 # ---------------------------
2634 # implement the --enable-shared flag
2635 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2636 AC_DEFUN([AC_ENABLE_SHARED],
2637 [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
2638 AC_ARG_ENABLE([shared],
2639 [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
2640 [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
2641 [p=${PACKAGE-default}
2642 case $enableval in
2643 yes) enable_shared=yes ;;
2644 no) enable_shared=no ;;
2645 *)
2646 enable_shared=no
2647 # Look at the argument we got. We use all the common list separators.
2648 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2649 for pkg in $enableval; do
2650 IFS="$lt_save_ifs"
2651 if test "X$pkg" = "X$p"; then
2652 enable_shared=yes
2653 fi
2654 done
2655 IFS="$lt_save_ifs"
2656 ;;
2657 esac],
2658 [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
2659 ])# AC_ENABLE_SHARED
2660
2661
2662 # AC_DISABLE_SHARED
2663 # -----------------
2664 #- set the default shared flag to --disable-shared
2665 AC_DEFUN([AC_DISABLE_SHARED],
2666 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2667 AC_ENABLE_SHARED(no)
2668 ])# AC_DISABLE_SHARED
2669
2670
2671 # AC_ENABLE_STATIC([DEFAULT])
2672 # ---------------------------
2673 # implement the --enable-static flag
2674 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2675 AC_DEFUN([AC_ENABLE_STATIC],
2676 [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
2677 AC_ARG_ENABLE([static],
2678 [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
2679 [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
2680 [p=${PACKAGE-default}
2681 case $enableval in
2682 yes) enable_static=yes ;;
2683 no) enable_static=no ;;
2684 *)
2685 enable_static=no
2686 # Look at the argument we got. We use all the common list separators.
2687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2688 for pkg in $enableval; do
2689 IFS="$lt_save_ifs"
2690 if test "X$pkg" = "X$p"; then
2691 enable_static=yes
2692 fi
2693 done
2694 IFS="$lt_save_ifs"
2695 ;;
2696 esac],
2697 [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2698 ])# AC_ENABLE_STATIC
2699
2700
2701 # AC_DISABLE_STATIC
2702 # -----------------
2703 # set the default static flag to --disable-static
2704 AC_DEFUN([AC_DISABLE_STATIC],
2705 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2706 AC_ENABLE_STATIC(no)
2707 ])# AC_DISABLE_STATIC
2708
2709
2710 # AC_ENABLE_FAST_INSTALL([DEFAULT])
2711 # ---------------------------------
2712 # implement the --enable-fast-install flag
2713 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2714 AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2715 [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2716 AC_ARG_ENABLE([fast-install],
2717 [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2718 [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2719 [p=${PACKAGE-default}
2720 case $enableval in
2721 yes) enable_fast_install=yes ;;
2722 no) enable_fast_install=no ;;
2723 *)
2724 enable_fast_install=no
2725 # Look at the argument we got. We use all the common list separators.
2726 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2727 for pkg in $enableval; do
2728 IFS="$lt_save_ifs"
2729 if test "X$pkg" = "X$p"; then
2730 enable_fast_install=yes
2731 fi
2732 done
2733 IFS="$lt_save_ifs"
2734 ;;
2735 esac],
2736 [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2737 ])# AC_ENABLE_FAST_INSTALL
2738
2739
2740 # AC_DISABLE_FAST_INSTALL
2741 # -----------------------
2742 # set the default to --disable-fast-install
2743 AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2744 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2745 AC_ENABLE_FAST_INSTALL(no)
2746 ])# AC_DISABLE_FAST_INSTALL
2747
2748
2749 # AC_LIBTOOL_PICMODE([MODE])
2750 # --------------------------
2751 # implement the --with-pic flag
2752 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
2753 AC_DEFUN([AC_LIBTOOL_PICMODE],
2754 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2755 pic_mode=ifelse($#,1,$1,default)
2756 ])# AC_LIBTOOL_PICMODE
2757
2758
2759 # AC_PROG_EGREP
2760 # -------------
2761 # This is predefined starting with Autoconf 2.54, so this conditional
2762 # definition can be removed once we require Autoconf 2.54 or later.
2763 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2764 [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2765 [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2766 then ac_cv_prog_egrep='grep -E'
2767 else ac_cv_prog_egrep='egrep'
2768 fi])
2769 EGREP=$ac_cv_prog_egrep
2770 AC_SUBST([EGREP])
2771 ])])
2772
2773
2774 # AC_PATH_TOOL_PREFIX
2775 # -------------------
2776 # find a file program which can recognise shared library
2777 AC_DEFUN([AC_PATH_TOOL_PREFIX],
2778 [AC_REQUIRE([AC_PROG_EGREP])dnl
2779 AC_MSG_CHECKING([for $1])
2780 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2781 [case $MAGIC_CMD in
2782 [[\\/*] | ?:[\\/]*])
2783 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2784 ;;
2785 *)
2786 lt_save_MAGIC_CMD="$MAGIC_CMD"
2787 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2788 dnl $ac_dummy forces splitting on constant user-supplied paths.
2789 dnl POSIX.2 word splitting is done only on the output of word expansions,
2790 dnl not every word. This closes a longstanding sh security hole.
2791 ac_dummy="ifelse([$2], , $PATH, [$2])"
2792 for ac_dir in $ac_dummy; do
2793 IFS="$lt_save_ifs"
2794 test -z "$ac_dir" && ac_dir=.
2795 if test -f $ac_dir/$1; then
2796 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2797 if test -n "$file_magic_test_file"; then
2798 case $deplibs_check_method in
2799 "file_magic "*)
2800 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2801 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2802 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2803 $EGREP "$file_magic_regex" > /dev/null; then
2804 :
2805 else
2806 cat <<EOF 1>&2
2807
2808 *** Warning: the command libtool uses to detect shared libraries,
2809 *** $file_magic_cmd, produces output that libtool cannot recognize.
2810 *** The result is that libtool may fail to recognize shared libraries
2811 *** as such. This will affect the creation of libtool libraries that
2812 *** depend on shared libraries, but programs linked with such libtool
2813 *** libraries will work regardless of this problem. Nevertheless, you
2814 *** may want to report the problem to your system manager and/or to
2815 *** bug-libtool@gnu.org
2816
2817 EOF
2818 fi ;;
2819 esac
2820 fi
2821 break
2822 fi
2823 done
2824 IFS="$lt_save_ifs"
2825 MAGIC_CMD="$lt_save_MAGIC_CMD"
2826 ;;
2827 esac])
2828 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2829 if test -n "$MAGIC_CMD"; then
2830 AC_MSG_RESULT($MAGIC_CMD)
2831 else
2832 AC_MSG_RESULT(no)
2833 fi
2834 ])# AC_PATH_TOOL_PREFIX
2835
2836
2837 # AC_PATH_MAGIC
2838 # -------------
2839 # find a file program which can recognise a shared library
2840 AC_DEFUN([AC_PATH_MAGIC],
2841 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2842 if test -z "$lt_cv_path_MAGIC_CMD"; then
2843 if test -n "$ac_tool_prefix"; then
2844 AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2845 else
2846 MAGIC_CMD=:
2847 fi
2848 fi
2849 ])# AC_PATH_MAGIC
2850
2851
2852 # AC_PROG_LD
2853 # ----------
2854 # find the pathname to the GNU or non-GNU linker
2855 AC_DEFUN([AC_PROG_LD],
2856 [AC_ARG_WITH([gnu-ld],
2857 [AC_HELP_STRING([--with-gnu-ld],
2858 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2859 [test "$withval" = no || with_gnu_ld=yes],
2860 [with_gnu_ld=no])
2861 AC_REQUIRE([LT_AC_PROG_SED])dnl
2862 AC_REQUIRE([AC_PROG_CC])dnl
2863 AC_REQUIRE([AC_CANONICAL_HOST])dnl
2864 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2865 ac_prog=ld
2866 if test "$GCC" = yes; then
2867 # Check if gcc -print-prog-name=ld gives a path.
2868 AC_MSG_CHECKING([for ld used by $CC])
2869 case $host in
2870 *-*-mingw*)
2871 # gcc leaves a trailing carriage return which upsets mingw
2872 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2873 *)
2874 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2875 esac
2876 case $ac_prog in
2877 # Accept absolute paths.
2878 [[\\/]]* | ?:[[\\/]]*)
2879 re_direlt='/[[^/]][[^/]]*/\.\./'
2880 # Canonicalize the pathname of ld
2881 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2882 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2883 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2884 done
2885 test -z "$LD" && LD="$ac_prog"
2886 ;;
2887 "")
2888 # If it fails, then pretend we aren't using GCC.
2889 ac_prog=ld
2890 ;;
2891 *)
2892 # If it is relative, then search for the first ld in PATH.
2893 with_gnu_ld=unknown
2894 ;;
2895 esac
2896 elif test "$with_gnu_ld" = yes; then
2897 AC_MSG_CHECKING([for GNU ld])
2898 else
2899 AC_MSG_CHECKING([for non-GNU ld])
2900 fi
2901 AC_CACHE_VAL(lt_cv_path_LD,
2902 [if test -z "$LD"; then
2903 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2904 for ac_dir in $PATH; do
2905 IFS="$lt_save_ifs"
2906 test -z "$ac_dir" && ac_dir=.
2907 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2908 lt_cv_path_LD="$ac_dir/$ac_prog"
2909 # Check to see if the program is GNU ld. I'd rather use --version,
2910 # but apparently some GNU ld's only accept -v.
2911 # Break only if it was the GNU/non-GNU ld that we prefer.
2912 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2913 *GNU* | *'with BFD'*)
2914 test "$with_gnu_ld" != no && break
2915 ;;
2916 *)
2917 test "$with_gnu_ld" != yes && break
2918 ;;
2919 esac
2920 fi
2921 done
2922 IFS="$lt_save_ifs"
2923 else
2924 lt_cv_path_LD="$LD" # Let the user override the test with a path.
2925 fi])
2926 LD="$lt_cv_path_LD"
2927 if test -n "$LD"; then
2928 AC_MSG_RESULT($LD)
2929 else
2930 AC_MSG_RESULT(no)
2931 fi
2932 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2933 AC_PROG_LD_GNU
2934 ])# AC_PROG_LD
2935
2936
2937 # AC_PROG_LD_GNU
2938 # --------------
2939 AC_DEFUN([AC_PROG_LD_GNU],
2940 [AC_REQUIRE([AC_PROG_EGREP])dnl
2941 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2942 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
2943 case `$LD -v 2>&1 </dev/null` in
2944 *GNU* | *'with BFD'*)
2945 lt_cv_prog_gnu_ld=yes
2946 ;;
2947 *)
2948 lt_cv_prog_gnu_ld=no
2949 ;;
2950 esac])
2951 with_gnu_ld=$lt_cv_prog_gnu_ld
2952 ])# AC_PROG_LD_GNU
2953
2954
2955 # AC_PROG_LD_RELOAD_FLAG
2956 # ----------------------
2957 # find reload flag for linker
2958 # -- PORTME Some linkers may need a different reload flag.
2959 AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
2960 [AC_CACHE_CHECK([for $LD option to reload object files],
2961 lt_cv_ld_reload_flag,
2962 [lt_cv_ld_reload_flag='-r'])
2963 reload_flag=$lt_cv_ld_reload_flag
2964 case $reload_flag in
2965 "" | " "*) ;;
2966 *) reload_flag=" $reload_flag" ;;
2967 esac
2968 reload_cmds='$LD$reload_flag -o $output$reload_objs'
2969 ])# AC_PROG_LD_RELOAD_FLAG
2970
2971
2972 # AC_DEPLIBS_CHECK_METHOD
2973 # -----------------------
2974 # how to check for library dependencies
2975 # -- PORTME fill in with the dynamic library characteristics
2976 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
2977 [AC_CACHE_CHECK([how to recognise dependent libraries],
2978 lt_cv_deplibs_check_method,
2979 [lt_cv_file_magic_cmd='$MAGIC_CMD'
2980 lt_cv_file_magic_test_file=
2981 lt_cv_deplibs_check_method='unknown'
2982 # Need to set the preceding variable on all platforms that support
2983 # interlibrary dependencies.
2984 # 'none' -- dependencies not supported.
2985 # `unknown' -- same as none, but documents that we really don't know.
2986 # 'pass_all' -- all dependencies passed with no checks.
2987 # 'test_compile' -- check by making test program.
2988 # 'file_magic [[regex]]' -- check by looking for files in library path
2989 # which responds to the $file_magic_cmd with a given extended regex.
2990 # If you have `file' or equivalent on your system and you're not sure
2991 # whether `pass_all' will *always* work, you probably want this one.
2992
2993 case $host_os in
2994 aix4* | aix5*)
2995 lt_cv_deplibs_check_method=pass_all
2996 ;;
2997
2998 beos*)
2999 lt_cv_deplibs_check_method=pass_all
3000 ;;
3001
3002 bsdi4*)
3003 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3004 lt_cv_file_magic_cmd='/usr/bin/file -L'
3005 lt_cv_file_magic_test_file=/shlib/libc.so
3006 ;;
3007
3008 cygwin*)
3009 # func_win32_libid is a shell function defined in ltmain.sh
3010 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3011 lt_cv_file_magic_cmd='func_win32_libid'
3012 ;;
3013
3014 mingw* | pw32*)
3015 # Base MSYS/MinGW do not provide the 'file' command needed by
3016 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3017 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3018 lt_cv_file_magic_cmd='$OBJDUMP -f'
3019 ;;
3020
3021 darwin* | rhapsody*)
3022 lt_cv_deplibs_check_method=pass_all
3023 ;;
3024
3025 freebsd* | kfreebsd*-gnu)
3026 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3027 case $host_cpu in
3028 i*86 )
3029 # Not sure whether the presence of OpenBSD here was a mistake.
3030 # Let's accept both of them until this is cleared up.
3031 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
3032 lt_cv_file_magic_cmd=/usr/bin/file
3033 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3034 ;;
3035 esac
3036 else
3037 lt_cv_deplibs_check_method=pass_all
3038 fi
3039 ;;
3040
3041 gnu*)
3042 lt_cv_deplibs_check_method=pass_all
3043 ;;
3044
3045 hpux10.20* | hpux11*)
3046 lt_cv_file_magic_cmd=/usr/bin/file
3047 case "$host_cpu" in
3048 ia64*)
3049 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3050 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3051 ;;
3052 hppa*64*)
3053 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
3054 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3055 ;;
3056 *)
3057 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3058 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3059 ;;
3060 esac
3061 ;;
3062
3063 irix5* | irix6* | nonstopux*)
3064 case $LD in
3065 *-32|*"-32 ") libmagic=32-bit;;
3066 *-n32|*"-n32 ") libmagic=N32;;
3067 *-64|*"-64 ") libmagic=64-bit;;
3068 *) libmagic=never-match;;
3069 esac
3070 lt_cv_deplibs_check_method=pass_all
3071 ;;
3072
3073 # This must be Linux ELF.
3074 linux*)
3075 lt_cv_deplibs_check_method=pass_all
3076 ;;
3077
3078 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3079 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3080 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3081 else
3082 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3083 fi
3084 ;;
3085
3086 newos6*)
3087 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3088 lt_cv_file_magic_cmd=/usr/bin/file
3089 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3090 ;;
3091
3092 nto-qnx*)
3093 lt_cv_deplibs_check_method=unknown
3094 ;;
3095
3096 openbsd*)
3097 lt_cv_file_magic_cmd=/usr/bin/file
3098 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3099 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3100 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
3101 else
3102 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3103 fi
3104 ;;
3105
3106 osf3* | osf4* | osf5*)
3107 lt_cv_deplibs_check_method=pass_all
3108 ;;
3109
3110 sco3.2v5*)
3111 lt_cv_deplibs_check_method=pass_all
3112 ;;
3113
3114 solaris*)
3115 lt_cv_deplibs_check_method=pass_all
3116 ;;
3117
3118 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3119 case $host_vendor in
3120 motorola)
3121 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
3122 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3123 ;;
3124 ncr)
3125 lt_cv_deplibs_check_method=pass_all
3126 ;;
3127 sequent)
3128 lt_cv_file_magic_cmd='/bin/file'
3129 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3130 ;;
3131 sni)
3132 lt_cv_file_magic_cmd='/bin/file'
3133 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3134 lt_cv_file_magic_test_file=/lib/libc.so
3135 ;;
3136 siemens)
3137 lt_cv_deplibs_check_method=pass_all
3138 ;;
3139 esac
3140 ;;
3141
3142 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
3143 lt_cv_deplibs_check_method=pass_all
3144 ;;
3145 esac
3146 ])
3147 file_magic_cmd=$lt_cv_file_magic_cmd
3148 deplibs_check_method=$lt_cv_deplibs_check_method
3149 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3150 ])# AC_DEPLIBS_CHECK_METHOD
3151
3152
3153 # AC_PROG_NM
3154 # ----------
3155 # find the pathname to a BSD-compatible name lister
3156 AC_DEFUN([AC_PROG_NM],
3157 [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3158 [if test -n "$NM"; then
3159 # Let the user override the test.
3160 lt_cv_path_NM="$NM"
3161 else
3162 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3163 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3164 IFS="$lt_save_ifs"
3165 test -z "$ac_dir" && ac_dir=.
3166 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3167 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3168 # Check to see if the nm accepts a BSD-compat flag.
3169 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3170 # nm: unknown option "B" ignored
3171 # Tru64's nm complains that /dev/null is an invalid object file
3172 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3173 */dev/null* | *'Invalid file or object type'*)
3174 lt_cv_path_NM="$tmp_nm -B"
3175 break
3176 ;;
3177 *)
3178 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3179 */dev/null*)
3180 lt_cv_path_NM="$tmp_nm -p"
3181 break
3182 ;;
3183 *)
3184 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3185 continue # so that we can try to find one that supports BSD flags
3186 ;;
3187 esac
3188 esac
3189 fi
3190 done
3191 IFS="$lt_save_ifs"
3192 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3193 fi])
3194 NM="$lt_cv_path_NM"
3195 ])# AC_PROG_NM
3196
3197
3198 # AC_CHECK_LIBM
3199 # -------------
3200 # check for math library
3201 AC_DEFUN([AC_CHECK_LIBM],
3202 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3203 LIBM=
3204 case $host in
3205 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3206 # These system don't have libm, or don't need it
3207 ;;
3208 *-ncr-sysv4.3*)
3209 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3210 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3211 ;;
3212 *)
3213 AC_CHECK_LIB(m, cos, LIBM="-lm")
3214 ;;
3215 esac
3216 ])# AC_CHECK_LIBM
3217
3218
3219 # AC_LIBLTDL_CONVENIENCE([DIRECTORY])
3220 # -----------------------------------
3221 # sets LIBLTDL to the link flags for the libltdl convenience library and
3222 # LTDLINCL to the include flags for the libltdl header and adds
3223 # --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
3224 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
3225 # DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
3226 # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
3227 # '${top_srcdir}/' (note the single quotes!). If your package is not
3228 # flat and you're not using automake, define top_builddir and
3229 # top_srcdir appropriately in the Makefiles.
3230 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
3231 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3232 case $enable_ltdl_convenience in
3233 no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
3234 "") enable_ltdl_convenience=yes
3235 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
3236 esac
3237 LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
3238 LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3239 # For backwards non-gettext consistent compatibility...
3240 INCLTDL="$LTDLINCL"
3241 ])# AC_LIBLTDL_CONVENIENCE
3242
3243
3244 # AC_LIBLTDL_INSTALLABLE([DIRECTORY])
3245 # -----------------------------------
3246 # sets LIBLTDL to the link flags for the libltdl installable library and
3247 # LTDLINCL to the include flags for the libltdl header and adds
3248 # --enable-ltdl-install to the configure arguments. Note that LIBLTDL
3249 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
3250 # DIRECTORY is not provided and an installed libltdl is not found, it is
3251 # assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
3252 # and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
3253 # quotes!). If your package is not flat and you're not using automake,
3254 # define top_builddir and top_srcdir appropriately in the Makefiles.
3255 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3256 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3257 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3258 AC_CHECK_LIB(ltdl, lt_dlinit,
3259 [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
3260 [if test x"$enable_ltdl_install" = xno; then
3261 AC_MSG_WARN([libltdl not installed, but installation disabled])
3262 else
3263 enable_ltdl_install=yes
3264 fi
3265 ])
3266 if test x"$enable_ltdl_install" = x"yes"; then
3267 ac_configure_args="$ac_configure_args --enable-ltdl-install"
3268 LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
3269 LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3270 else
3271 ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
3272 LIBLTDL="-lltdl"
3273 LTDLINCL=
3274 fi
3275 # For backwards non-gettext consistent compatibility...
3276 INCLTDL="$LTDLINCL"
3277 ])# AC_LIBLTDL_INSTALLABLE
3278
3279
3280 # AC_LIBTOOL_CXX
3281 # --------------
3282 # enable support for C++ libraries
3283 AC_DEFUN([AC_LIBTOOL_CXX],
3284 [AC_REQUIRE([_LT_AC_LANG_CXX])
3285 ])# AC_LIBTOOL_CXX
3286
3287
3288 # _LT_AC_LANG_CXX
3289 # ---------------
3290 AC_DEFUN([_LT_AC_LANG_CXX],
3291 [AC_REQUIRE([AC_PROG_CXX])
3292 AC_REQUIRE([AC_PROG_CXXCPP])
3293 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3294 ])# _LT_AC_LANG_CXX
3295
3296
3297 # AC_LIBTOOL_F77
3298 # --------------
3299 # enable support for Fortran 77 libraries
3300 AC_DEFUN([AC_LIBTOOL_F77],
3301 [AC_REQUIRE([_LT_AC_LANG_F77])
3302 ])# AC_LIBTOOL_F77
3303
3304
3305 # _LT_AC_LANG_F77
3306 # ---------------
3307 AC_DEFUN([_LT_AC_LANG_F77],
3308 [AC_REQUIRE([AC_PROG_F77])
3309 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3310 ])# _LT_AC_LANG_F77
3311
3312
3313 # AC_LIBTOOL_GCJ
3314 # --------------
3315 # enable support for GCJ libraries
3316 AC_DEFUN([AC_LIBTOOL_GCJ],
3317 [AC_REQUIRE([_LT_AC_LANG_GCJ])
3318 ])# AC_LIBTOOL_GCJ
3319
3320
3321 # _LT_AC_LANG_GCJ
3322 # ---------------
3323 AC_DEFUN([_LT_AC_LANG_GCJ],
3324 [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
3325 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
3326 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
3327 [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
3328 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
3329 [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
3330 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
3331 ])# _LT_AC_LANG_GCJ
3332
3333
3334 # AC_LIBTOOL_RC
3335 # --------------
3336 # enable support for Windows resource files
3337 AC_DEFUN([AC_LIBTOOL_RC],
3338 [AC_REQUIRE([LT_AC_PROG_RC])
3339 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
3340 ])# AC_LIBTOOL_RC
3341
3342
3343 # AC_LIBTOOL_LANG_C_CONFIG
3344 # ------------------------
3345 # Ensure that the configuration vars for the C compiler are
3346 # suitably defined. Those variables are subsequently used by
3347 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3348 AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
3349 AC_DEFUN([_LT_AC_LANG_C_CONFIG],
3350 [lt_save_CC="$CC"
3351 AC_LANG_PUSH(C)
3352
3353 # Source file extension for C test sources.
3354 ac_ext=c
3355
3356 # Object file extension for compiled C test sources.
3357 objext=o
3358 _LT_AC_TAGVAR(objext, $1)=$objext
3359
3360 # Code to be used in simple compile tests
3361 lt_simple_compile_test_code="int some_variable = 0;\n"
3362
3363 # Code to be used in simple link tests
3364 lt_simple_link_test_code='int main(){return(0);}\n'
3365
3366 _LT_AC_SYS_COMPILER
3367
3368 #
3369 # Check for any special shared library compilation flags.
3370 #
3371 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
3372 if test "$GCC" = no; then
3373 case $host_os in
3374 sco3.2v5*)
3375 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
3376 ;;
3377 esac
3378 fi
3379 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3380 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3381 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
3382 else
3383 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3384 _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3385 fi
3386 fi
3387
3388
3389 #
3390 # Check to make sure the static flag actually works.
3391 #
3392 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
3393 _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3394 $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
3395 [],
3396 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3397
3398
3399 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3400 AC_LIBTOOL_PROG_COMPILER_PIC($1)
3401 AC_LIBTOOL_PROG_CC_C_O($1)
3402 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3403 AC_LIBTOOL_PROG_LD_SHLIBS($1)
3404 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3405 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3406 AC_LIBTOOL_SYS_LIB_STRIP
3407 AC_LIBTOOL_DLOPEN_SELF($1)
3408
3409 # Report which librarie types wil actually be built
3410 AC_MSG_CHECKING([if libtool supports shared libraries])
3411 AC_MSG_RESULT([$can_build_shared])
3412
3413 AC_MSG_CHECKING([whether to build shared libraries])
3414 test "$can_build_shared" = "no" && enable_shared=no
3415
3416 # On AIX, shared libraries and static libraries use the same namespace, and
3417 # are all built from PIC.
3418 case "$host_os" in
3419 aix3*)
3420 test "$enable_shared" = yes && enable_static=no
3421 if test -n "$RANLIB"; then
3422 archive_cmds="$archive_cmds~\$RANLIB \$lib"
3423 postinstall_cmds='$RANLIB $lib'
3424 fi
3425 ;;
3426
3427 aix4* | aix5*)
3428 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3429 test "$enable_shared" = yes && enable_static=no
3430 fi
3431 ;;
3432 darwin* | rhapsody*)
3433 if test "$GCC" = yes; then
3434 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3435 case "$host_os" in
3436 rhapsody* | darwin1.[[012]])
3437 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3438 ;;
3439 *) # Darwin 1.3 on
3440 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3441 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3442 else
3443 case ${MACOSX_DEPLOYMENT_TARGET} in
3444 10.[[012]])
3445 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3446 ;;
3447 10.*)
3448 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3449 ;;
3450 esac
3451 fi
3452 ;;
3453 esac
3454 output_verbose_link_cmd='echo'
3455 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
3456 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3457 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3458 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3459 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3460 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3461 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3462 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3463 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3464 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3465 else
3466 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3467 fi
3468 ;;
3469 esac
3470 AC_MSG_RESULT([$enable_shared])
3471
3472 AC_MSG_CHECKING([whether to build static libraries])
3473 # Make sure either enable_shared or enable_static is yes.
3474 test "$enable_shared" = yes || enable_static=yes
3475 AC_MSG_RESULT([$enable_static])
3476
3477 AC_LIBTOOL_CONFIG($1)
3478
3479 AC_LANG_POP
3480 CC="$lt_save_CC"
3481 ])# AC_LIBTOOL_LANG_C_CONFIG
3482
3483
3484 # AC_LIBTOOL_LANG_CXX_CONFIG
3485 # --------------------------
3486 # Ensure that the configuration vars for the C compiler are
3487 # suitably defined. Those variables are subsequently used by
3488 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3489 AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
3490 AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
3491 [AC_LANG_PUSH(C++)
3492 AC_REQUIRE([AC_PROG_CXX])
3493 AC_REQUIRE([AC_PROG_CXXCPP])
3494
3495 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3496 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
3497 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3498 _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3499 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3500 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3501 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3502 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3503 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3504 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3505 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
3506 _LT_AC_TAGVAR(module_cmds, $1)=
3507 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
3508 _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3509 _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3510 _LT_AC_TAGVAR(no_undefined_flag, $1)=
3511 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3512 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3513
3514 # Dependencies to place before and after the object being linked:
3515 _LT_AC_TAGVAR(predep_objects, $1)=
3516 _LT_AC_TAGVAR(postdep_objects, $1)=
3517 _LT_AC_TAGVAR(predeps, $1)=
3518 _LT_AC_TAGVAR(postdeps, $1)=
3519 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
3520
3521 # Source file extension for C++ test sources.
3522 ac_ext=cc
3523
3524 # Object file extension for compiled C++ test sources.
3525 objext=o
3526 _LT_AC_TAGVAR(objext, $1)=$objext
3527
3528 # Code to be used in simple compile tests
3529 lt_simple_compile_test_code="int some_variable = 0;\n"
3530
3531 # Code to be used in simple link tests
3532 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
3533
3534 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
3535 _LT_AC_SYS_COMPILER
3536
3537 # Allow CC to be a program name with arguments.
3538 lt_save_CC=$CC
3539 lt_save_LD=$LD
3540 lt_save_GCC=$GCC
3541 GCC=$GXX
3542 lt_save_with_gnu_ld=$with_gnu_ld
3543 lt_save_path_LD=$lt_cv_path_LD
3544 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
3545 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
3546 else
3547 unset lt_cv_prog_gnu_ld
3548 fi
3549 if test -n "${lt_cv_path_LDCXX+set}"; then
3550 lt_cv_path_LD=$lt_cv_path_LDCXX
3551 else
3552 unset lt_cv_path_LD
3553 fi
3554 test -z "${LDCXX+set}" || LD=$LDCXX
3555 CC=${CXX-"c++"}
3556 compiler=$CC
3557 _LT_AC_TAGVAR(compiler, $1)=$CC
3558 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
3559
3560 # We don't want -fno-exception wen compiling C++ code, so set the
3561 # no_builtin_flag separately
3562 if test "$GXX" = yes; then
3563 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3564 else
3565 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3566 fi
3567
3568 if test "$GXX" = yes; then
3569 # Set up default GNU C++ configuration
3570
3571 AC_PROG_LD
3572
3573 # Check if GNU C++ uses GNU ld as the underlying linker, since the
3574 # archiving commands below assume that GNU ld is being used.
3575 if test "$with_gnu_ld" = yes; then
3576 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3577 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3578
3579 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3580 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3581
3582 # If archive_cmds runs LD, not CC, wlarc should be empty
3583 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
3584 # investigate it a little bit more. (MM)
3585 wlarc='${wl}'
3586
3587 # ancient GNU ld didn't support --whole-archive et. al.
3588 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
3589 grep 'no-whole-archive' > /dev/null; then
3590 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3591 else
3592 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3593 fi
3594 else
3595 with_gnu_ld=no
3596 wlarc=
3597
3598 # A generic and very simple default shared library creation
3599 # command for GNU C++ for the case where it uses the native
3600 # linker, instead of GNU ld. If possible, this setting should
3601 # overridden to take advantage of the native linker features on
3602 # the platform it is being used on.
3603 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3604 fi
3605
3606 # Commands to make compiler produce verbose output that lists
3607 # what "hidden" libraries, object files and flags are used when
3608 # linking a shared library.
3609 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3610
3611 else
3612 GXX=no
3613 with_gnu_ld=no
3614 wlarc=
3615 fi
3616
3617 # PORTME: fill in a description of your system's C++ link characteristics
3618 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3619 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3620 case $host_os in
3621 aix3*)
3622 # FIXME: insert proper C++ library support
3623 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3624 ;;
3625 aix4* | aix5*)
3626 if test "$host_cpu" = ia64; then
3627 # On IA64, the linker does run time linking by default, so we don't
3628 # have to do anything special.
3629 aix_use_runtimelinking=no
3630 exp_sym_flag='-Bexport'
3631 no_entry_flag=""
3632 else
3633 aix_use_runtimelinking=no
3634
3635 # Test if we are trying to use run time linking or normal
3636 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3637 # need to do runtime linking.
3638 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3639 for ld_flag in $LDFLAGS; do
3640 case $ld_flag in
3641 *-brtl*)
3642 aix_use_runtimelinking=yes
3643 break
3644 ;;
3645 esac
3646 done
3647 esac
3648
3649 exp_sym_flag='-bexport'
3650 no_entry_flag='-bnoentry'
3651 fi
3652
3653 # When large executables or shared objects are built, AIX ld can
3654 # have problems creating the table of contents. If linking a library
3655 # or program results in "error TOC overflow" add -mminimal-toc to
3656 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
3657 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3658
3659 _LT_AC_TAGVAR(archive_cmds, $1)=''
3660 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3661 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3662 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3663
3664 if test "$GXX" = yes; then
3665 case $host_os in aix4.[012]|aix4.[012].*)
3666 # We only want to do this on AIX 4.2 and lower, the check
3667 # below for broken collect2 doesn't work under 4.3+
3668 collect2name=`${CC} -print-prog-name=collect2`
3669 if test -f "$collect2name" && \
3670 strings "$collect2name" | grep resolve_lib_name >/dev/null
3671 then
3672 # We have reworked collect2
3673 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3674 else
3675 # We have old collect2
3676 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3677 # It fails to find uninstalled libraries when the uninstalled
3678 # path is not listed in the libpath. Setting hardcode_minus_L
3679 # to unsupported forces relinking
3680 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3681 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3682 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3683 fi
3684 esac
3685 shared_flag='-shared'
3686 else
3687 # not using gcc
3688 if test "$host_cpu" = ia64; then
3689 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3690 # chokes on -Wl,-G. The following line is correct:
3691 shared_flag='-G'
3692 else
3693 if test "$aix_use_runtimelinking" = yes; then
3694 shared_flag='${wl}-G'
3695 else
3696 shared_flag='${wl}-bM:SRE'
3697 fi
3698 fi
3699 fi
3700
3701 # It seems that -bexpall does not export symbols beginning with
3702 # underscore (_), so it is better to generate a list of symbols to export.
3703 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3704 if test "$aix_use_runtimelinking" = yes; then
3705 # Warning - without using the other runtime loading flags (-brtl),
3706 # -berok will link without error, but may produce a broken library.
3707 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3708 # Determine the default libpath from the value encoded in an empty executable.
3709 _LT_AC_SYS_LIBPATH_AIX
3710 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3711
3712 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3713 else
3714 if test "$host_cpu" = ia64; then
3715 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3716 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3717 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3718 else
3719 # Determine the default libpath from the value encoded in an empty executable.
3720 _LT_AC_SYS_LIBPATH_AIX
3721 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3722 # Warning - without using the other run time loading flags,
3723 # -berok will link without error, but may produce a broken library.
3724 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3725 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3726 # -bexpall does not export symbols beginning with underscore (_)
3727 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3728 # Exported symbols can be pulled into shared objects from archives
3729 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3730 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3731 # This is similar to how AIX traditionally builds it's shared libraries.
3732 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3733 fi
3734 fi
3735 ;;
3736 chorus*)
3737 case $cc_basename in
3738 *)
3739 # FIXME: insert proper C++ library support
3740 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3741 ;;
3742 esac
3743 ;;
3744
3745 cygwin* | mingw* | pw32*)
3746 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3747 # as there is no search path for DLLs.
3748 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3749 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3750 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3751 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3752
3753 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3754 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3755 # If the export-symbols file already is a .def file (1st line
3756 # is EXPORTS), use it as is; otherwise, prepend...
3757 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3758 cp $export_symbols $output_objdir/$soname.def;
3759 else
3760 echo EXPORTS > $output_objdir/$soname.def;
3761 cat $export_symbols >> $output_objdir/$soname.def;
3762 fi~
3763 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3764 else
3765 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3766 fi
3767 ;;
3768
3769 darwin* | rhapsody*)
3770 if test "$GXX" = yes; then
3771 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3772 case "$host_os" in
3773 rhapsody* | darwin1.[[012]])
3774 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3775 ;;
3776 *) # Darwin 1.3 on
3777 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3778 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3779 else
3780 case ${MACOSX_DEPLOYMENT_TARGET} in
3781 10.[[012]])
3782 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3783 ;;
3784 10.*)
3785 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3786 ;;
3787 esac
3788 fi
3789 ;;
3790 esac
3791 lt_int_apple_cc_single_mod=no
3792 output_verbose_link_cmd='echo'
3793 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3794 lt_int_apple_cc_single_mod=yes
3795 fi
3796 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3797 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3798 else
3799 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3800 fi
3801 _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3802
3803 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3804 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3805 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3806 else
3807 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3808 fi
3809 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3810 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3811 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3812 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3813 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3814 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3815 else
3816 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3817 fi
3818 ;;
3819
3820 dgux*)
3821 case $cc_basename in
3822 ec++)
3823 # FIXME: insert proper C++ library support
3824 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3825 ;;
3826 ghcx)
3827 # Green Hills C++ Compiler
3828 # FIXME: insert proper C++ library support
3829 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3830 ;;
3831 *)
3832 # FIXME: insert proper C++ library support
3833 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3834 ;;
3835 esac
3836 ;;
3837 freebsd[12]*)
3838 # C++ shared libraries reported to be fairly broken before switch to ELF
3839 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3840 ;;
3841 freebsd-elf*)
3842 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3843 ;;
3844 freebsd* | kfreebsd*-gnu)
3845 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3846 # conventions
3847 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3848 ;;
3849 gnu*)
3850 ;;
3851 hpux9*)
3852 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3853 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3854 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3855 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3856 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3857 # but as the default
3858 # location of the library.
3859
3860 case $cc_basename in
3861 CC)
3862 # FIXME: insert proper C++ library support
3863 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3864 ;;
3865 aCC)
3866 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3867 # Commands to make compiler produce verbose output that lists
3868 # what "hidden" libraries, object files and flags are used when
3869 # linking a shared library.
3870 #
3871 # There doesn't appear to be a way to prevent this compiler from
3872 # explicitly linking system object files so we need to strip them
3873 # from the output so that they don't get included in the library
3874 # dependencies.
3875 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3876 ;;
3877 *)
3878 if test "$GXX" = yes; then
3879 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3880 else
3881 # FIXME: insert proper C++ library support
3882 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3883 fi
3884 ;;
3885 esac
3886 ;;
3887 hpux10*|hpux11*)
3888 if test $with_gnu_ld = no; then
3889 case "$host_cpu" in
3890 hppa*64*)
3891 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3892 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3893 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3894 ;;
3895 ia64*)
3896 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3897 ;;
3898 *)
3899 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3900 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3901 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3902 ;;
3903 esac
3904 fi
3905 case "$host_cpu" in
3906 hppa*64*)
3907 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3908 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3909 ;;
3910 ia64*)
3911 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3912 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3913 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3914 # but as the default
3915 # location of the library.
3916 ;;
3917 *)
3918 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3919 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3920 # but as the default
3921 # location of the library.
3922 ;;
3923 esac
3924
3925 case $cc_basename in
3926 CC)
3927 # FIXME: insert proper C++ library support
3928 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3929 ;;
3930 aCC)
3931 case "$host_cpu" in
3932 hppa*64*|ia64*)
3933 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
3934 ;;
3935 *)
3936 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3937 ;;
3938 esac
3939 # Commands to make compiler produce verbose output that lists
3940 # what "hidden" libraries, object files and flags are used when
3941 # linking a shared library.
3942 #
3943 # There doesn't appear to be a way to prevent this compiler from
3944 # explicitly linking system object files so we need to strip them
3945 # from the output so that they don't get included in the library
3946 # dependencies.
3947 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3948 ;;
3949 *)
3950 if test "$GXX" = yes; then
3951 if test $with_gnu_ld = no; then
3952 case "$host_cpu" in
3953 ia64*|hppa*64*)
3954 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
3955 ;;
3956 *)
3957 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3958 ;;
3959 esac
3960 fi
3961 else
3962 # FIXME: insert proper C++ library support
3963 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3964 fi
3965 ;;
3966 esac
3967 ;;
3968 irix5* | irix6*)
3969 case $cc_basename in
3970 CC)
3971 # SGI C++
3972 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
3973
3974 # Archives containing C++ object files must be created using
3975 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
3976 # necessary to make sure instantiated templates are included
3977 # in the archive.
3978 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
3979 ;;
3980 *)
3981 if test "$GXX" = yes; then
3982 if test "$with_gnu_ld" = no; then
3983 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
3984 else
3985 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
3986 fi
3987 fi
3988 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3989 ;;
3990 esac
3991 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3992 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3993 ;;
3994 linux*)
3995 case $cc_basename in
3996 KCC)
3997 # Kuck and Associates, Inc. (KAI) C++ Compiler
3998
3999 # KCC will only create a shared library if the output file
4000 # ends with ".so" (or ".sl" for HP-UX), so rename the library
4001 # to its proper name (with version) after linking.
4002 _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4003 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
4004 # Commands to make compiler produce verbose output that lists
4005 # what "hidden" libraries, object files and flags are used when
4006 # linking a shared library.
4007 #
4008 # There doesn't appear to be a way to prevent this compiler from
4009 # explicitly linking system object files so we need to strip them
4010 # from the output so that they don't get included in the library
4011 # dependencies.
4012 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4013
4014 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
4015 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4016
4017 # Archives containing C++ object files must be created using
4018 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4019 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4020 ;;
4021 icpc)
4022 # Intel C++
4023 with_gnu_ld=yes
4024 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4025 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4026 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4027 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4028 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4029 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4030 ;;
4031 cxx)
4032 # Compaq C++
4033 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4034 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
4035
4036 runpath_var=LD_RUN_PATH
4037 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4038 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4039
4040 # Commands to make compiler produce verbose output that lists
4041 # what "hidden" libraries, object files and flags are used when
4042 # linking a shared library.
4043 #
4044 # There doesn't appear to be a way to prevent this compiler from
4045 # explicitly linking system object files so we need to strip them
4046 # from the output so that they don't get included in the library
4047 # dependencies.
4048 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4049 ;;
4050 esac
4051 ;;
4052 lynxos*)
4053 # FIXME: insert proper C++ library support
4054 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4055 ;;
4056 m88k*)
4057 # FIXME: insert proper C++ library support
4058 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4059 ;;
4060 mvs*)
4061 case $cc_basename in
4062 cxx)
4063 # FIXME: insert proper C++ library support
4064 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4065 ;;
4066 *)
4067 # FIXME: insert proper C++ library support
4068 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4069 ;;
4070 esac
4071 ;;
4072 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4073 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4074 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
4075 wlarc=
4076 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4077 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4078 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4079 fi
4080 # Workaround some broken pre-1.5 toolchains
4081 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
4082 ;;
4083 osf3*)
4084 case $cc_basename in
4085 KCC)
4086 # Kuck and Associates, Inc. (KAI) C++ Compiler
4087
4088 # KCC will only create a shared library if the output file
4089 # ends with ".so" (or ".sl" for HP-UX), so rename the library
4090 # to its proper name (with version) after linking.
4091 _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4092
4093 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4094 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4095
4096 # Archives containing C++ object files must be created using
4097 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4098 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4099
4100 ;;
4101 RCC)
4102 # Rational C++ 2.4.1
4103 # FIXME: insert proper C++ library support
4104 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4105 ;;
4106 cxx)
4107 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4108 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
4109
4110 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4111 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4112
4113 # Commands to make compiler produce verbose output that lists
4114 # what "hidden" libraries, object files and flags are used when
4115 # linking a shared library.
4116 #
4117 # There doesn't appear to be a way to prevent this compiler from
4118 # explicitly linking system object files so we need to strip them
4119 # from the output so that they don't get included in the library
4120 # dependencies.
4121 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4122 ;;
4123 *)
4124 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4125 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4126 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
4127
4128 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4129 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4130
4131 # Commands to make compiler produce verbose output that lists
4132 # what "hidden" libraries, object files and flags are used when
4133 # linking a shared library.
4134 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4135
4136 else
4137 # FIXME: insert proper C++ library support
4138 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4139 fi
4140 ;;
4141 esac
4142 ;;
4143 osf4* | osf5*)
4144 case $cc_basename in
4145 KCC)
4146 # Kuck and Associates, Inc. (KAI) C++ Compiler
4147
4148 # KCC will only create a shared library if the output file
4149 # ends with ".so" (or ".sl" for HP-UX), so rename the library
4150 # to its proper name (with version) after linking.
4151 _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4152
4153 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4154 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4155
4156 # Archives containing C++ object files must be created using
4157 # the KAI C++ compiler.
4158 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
4159 ;;
4160 RCC)
4161 # Rational C++ 2.4.1
4162 # FIXME: insert proper C++ library support
4163 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4164 ;;
4165 cxx)
4166 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4167 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
4168 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
4169 echo "-hidden">> $lib.exp~
4170 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
4171 $rm $lib.exp'
4172
4173 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4174 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4175
4176 # Commands to make compiler produce verbose output that lists
4177 # what "hidden" libraries, object files and flags are used when
4178 # linking a shared library.
4179 #
4180 # There doesn't appear to be a way to prevent this compiler from
4181 # explicitly linking system object files so we need to strip them
4182 # from the output so that they don't get included in the library
4183 # dependencies.
4184 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4185 ;;
4186 *)
4187 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4188 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4189 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
4190
4191 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4192 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4193
4194 # Commands to make compiler produce verbose output that lists
4195 # what "hidden" libraries, object files and flags are used when
4196 # linking a shared library.
4197 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4198
4199 else
4200 # FIXME: insert proper C++ library support
4201 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4202 fi
4203 ;;
4204 esac
4205 ;;
4206 psos*)
4207 # FIXME: insert proper C++ library support
4208 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4209 ;;
4210 sco*)
4211 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4212 case $cc_basename in
4213 CC)
4214 # FIXME: insert proper C++ library support
4215 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4216 ;;
4217 *)
4218 # FIXME: insert proper C++ library support
4219 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4220 ;;
4221 esac
4222 ;;
4223 sunos4*)
4224 case $cc_basename in
4225 CC)
4226 # Sun C++ 4.x
4227 # FIXME: insert proper C++ library support
4228 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4229 ;;
4230 lcc)
4231 # Lucid
4232 # FIXME: insert proper C++ library support
4233 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4234 ;;
4235 *)
4236 # FIXME: insert proper C++ library support
4237 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4238 ;;
4239 esac
4240 ;;
4241 solaris*)
4242 case $cc_basename in
4243 CC)
4244 # Sun C++ 4.2, 5.x and Centerline C++
4245 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
4246 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4247 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4248 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4249
4250 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4251 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4252 case $host_os in
4253 solaris2.[0-5] | solaris2.[0-5].*) ;;
4254 *)
4255 # The C++ compiler is used as linker so we must use $wl
4256 # flag to pass the commands to the underlying system
4257 # linker.
4258 # Supported since Solaris 2.6 (maybe 2.5.1?)
4259 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
4260 ;;
4261 esac
4262 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4263
4264 # Commands to make compiler produce verbose output that lists
4265 # what "hidden" libraries, object files and flags are used when
4266 # linking a shared library.
4267 #
4268 # There doesn't appear to be a way to prevent this compiler from
4269 # explicitly linking system object files so we need to strip them
4270 # from the output so that they don't get included in the library
4271 # dependencies.
4272 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4273
4274 # Archives containing C++ object files must be created using
4275 # "CC -xar", where "CC" is the Sun C++ compiler. This is
4276 # necessary to make sure instantiated templates are included
4277 # in the archive.
4278 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
4279 ;;
4280 gcx)
4281 # Green Hills C++ Compiler
4282 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4283
4284 # The C++ compiler must be used to create the archive.
4285 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
4286 ;;
4287 *)
4288 # GNU C++ compiler with Solaris linker
4289 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4290 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
4291 if $CC --version | grep -v '^2\.7' > /dev/null; then
4292 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4293 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4294 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4295
4296 # Commands to make compiler produce verbose output that lists
4297 # what "hidden" libraries, object files and flags are used when
4298 # linking a shared library.
4299 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4300 else
4301 # g++ 2.7 appears to require `-G' NOT `-shared' on this
4302 # platform.
4303 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4304 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4305 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4306
4307 # Commands to make compiler produce verbose output that lists
4308 # what "hidden" libraries, object files and flags are used when
4309 # linking a shared library.
4310 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4311 fi
4312
4313 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
4314 fi
4315 ;;
4316 esac
4317 ;;
4318 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4319 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4320 ;;
4321 tandem*)
4322 case $cc_basename in
4323 NCC)
4324 # NonStop-UX NCC 3.20
4325 # FIXME: insert proper C++ library support
4326 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4327 ;;
4328 *)
4329 # FIXME: insert proper C++ library support
4330 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4331 ;;
4332 esac
4333 ;;
4334 vxworks*)
4335 # FIXME: insert proper C++ library support
4336 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4337 ;;
4338 *)
4339 # FIXME: insert proper C++ library support
4340 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4341 ;;
4342 esac
4343 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4344 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4345
4346 _LT_AC_TAGVAR(GCC, $1)="$GXX"
4347 _LT_AC_TAGVAR(LD, $1)="$LD"
4348
4349 AC_LIBTOOL_POSTDEP_PREDEP($1)
4350 AC_LIBTOOL_PROG_COMPILER_PIC($1)
4351 AC_LIBTOOL_PROG_CC_C_O($1)
4352 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4353 AC_LIBTOOL_PROG_LD_SHLIBS($1)
4354 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4355 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4356 AC_LIBTOOL_SYS_LIB_STRIP
4357 AC_LIBTOOL_DLOPEN_SELF($1)
4358
4359 AC_LIBTOOL_CONFIG($1)
4360
4361 AC_LANG_POP
4362 CC=$lt_save_CC
4363 LDCXX=$LD
4364 LD=$lt_save_LD
4365 GCC=$lt_save_GCC
4366 with_gnu_ldcxx=$with_gnu_ld
4367 with_gnu_ld=$lt_save_with_gnu_ld
4368 lt_cv_path_LDCXX=$lt_cv_path_LD
4369 lt_cv_path_LD=$lt_save_path_LD
4370 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
4371 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
4372 ])# AC_LIBTOOL_LANG_CXX_CONFIG
4373
4374 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
4375 # ------------------------
4376 # Figure out "hidden" library dependencies from verbose
4377 # compiler output when linking a shared library.
4378 # Parse the compiler output and extract the necessary
4379 # objects, libraries and library flags.
4380 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
4381 dnl we can't use the lt_simple_compile_test_code here,
4382 dnl because it contains code intended for an executable,
4383 dnl not a library. It's possible we should let each
4384 dnl tag define a new lt_????_link_test_code variable,
4385 dnl but it's only used here...
4386 ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
4387 int a;
4388 void foo (void) { a = 0; }
4389 EOF
4390 ],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
4391 class Foo
4392 {
4393 public:
4394 Foo (void) { a = 0; }
4395 private:
4396 int a;
4397 };
4398 EOF
4399 ],[$1],[F77],[cat > conftest.$ac_ext <<EOF
4400 subroutine foo
4401 implicit none
4402 integer*4 a
4403 a=0
4404 return
4405 end
4406 EOF
4407 ],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
4408 public class foo {
4409 private int a;
4410 public void bar (void) {
4411 a = 0;
4412 }
4413 };
4414 EOF
4415 ])
4416 dnl Parse the compiler output and extract the necessary
4417 dnl objects, libraries and library flags.
4418 if AC_TRY_EVAL(ac_compile); then
4419 # Parse the compiler output and extract the necessary
4420 # objects, libraries and library flags.
4421
4422 # Sentinel used to keep track of whether or not we are before
4423 # the conftest object file.
4424 pre_test_object_deps_done=no
4425
4426 # The `*' in the case matches for architectures that use `case' in
4427 # $output_verbose_cmd can trigger glob expansion during the loop
4428 # eval without this substitution.
4429 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
4430
4431 for p in `eval $output_verbose_link_cmd`; do
4432 case $p in
4433
4434 -L* | -R* | -l*)
4435 # Some compilers place space between "-{L,R}" and the path.
4436 # Remove the space.
4437 if test $p = "-L" \
4438 || test $p = "-R"; then
4439 prev=$p
4440 continue
4441 else
4442 prev=
4443 fi
4444
4445 if test "$pre_test_object_deps_done" = no; then
4446 case $p in
4447 -L* | -R*)
4448 # Internal compiler library paths should come after those
4449 # provided the user. The postdeps already come after the
4450 # user supplied libs so there is no need to process them.
4451 if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
4452 _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
4453 else
4454 _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
4455 fi
4456 ;;
4457 # The "-l" case would never come before the object being
4458 # linked, so don't bother handling this case.
4459 esac
4460 else
4461 if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
4462 _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
4463 else
4464 _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
4465 fi
4466 fi
4467 ;;
4468
4469 *.$objext)
4470 # This assumes that the test object file only shows up
4471 # once in the compiler output.
4472 if test "$p" = "conftest.$objext"; then
4473 pre_test_object_deps_done=yes
4474 continue
4475 fi
4476
4477 if test "$pre_test_object_deps_done" = no; then
4478 if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
4479 _LT_AC_TAGVAR(predep_objects, $1)="$p"
4480 else
4481 _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
4482 fi
4483 else
4484 if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
4485 _LT_AC_TAGVAR(postdep_objects, $1)="$p"
4486 else
4487 _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
4488 fi
4489 fi
4490 ;;
4491
4492 *) ;; # Ignore the rest.
4493
4494 esac
4495 done
4496
4497 # Clean up.
4498 rm -f a.out a.exe
4499 else
4500 echo "libtool.m4: error: problem compiling $1 test program"
4501 fi
4502
4503 $rm -f confest.$objext
4504
4505 case " $_LT_AC_TAGVAR(postdeps, $1) " in
4506 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4507 esac
4508 ])# AC_LIBTOOL_POSTDEP_PREDEP
4509
4510 # AC_LIBTOOL_LANG_F77_CONFIG
4511 # ------------------------
4512 # Ensure that the configuration vars for the C compiler are
4513 # suitably defined. Those variables are subsequently used by
4514 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4515 AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
4516 AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
4517 [AC_REQUIRE([AC_PROG_F77])
4518 AC_LANG_PUSH(Fortran 77)
4519
4520 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4521 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
4522 _LT_AC_TAGVAR(always_export_symbols, $1)=no
4523 _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4524 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4525 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4526 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4527 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4528 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4529 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4530 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
4531 _LT_AC_TAGVAR(module_cmds, $1)=
4532 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
4533 _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4534 _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4535 _LT_AC_TAGVAR(no_undefined_flag, $1)=
4536 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4537 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4538
4539 # Source file extension for f77 test sources.
4540 ac_ext=f
4541
4542 # Object file extension for compiled f77 test sources.
4543 objext=o
4544 _LT_AC_TAGVAR(objext, $1)=$objext
4545
4546 # Code to be used in simple compile tests
4547 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
4548
4549 # Code to be used in simple link tests
4550 lt_simple_link_test_code=" program t\n end\n"
4551
4552 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4553 _LT_AC_SYS_COMPILER
4554
4555 # Allow CC to be a program name with arguments.
4556 lt_save_CC="$CC"
4557 CC=${F77-"f77"}
4558 compiler=$CC
4559 _LT_AC_TAGVAR(compiler, $1)=$CC
4560 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
4561
4562 AC_MSG_CHECKING([if libtool supports shared libraries])
4563 AC_MSG_RESULT([$can_build_shared])
4564
4565 AC_MSG_CHECKING([whether to build shared libraries])
4566 test "$can_build_shared" = "no" && enable_shared=no
4567
4568 # On AIX, shared libraries and static libraries use the same namespace, and
4569 # are all built from PIC.
4570 case "$host_os" in
4571 aix3*)
4572 test "$enable_shared" = yes && enable_static=no
4573 if test -n "$RANLIB"; then
4574 archive_cmds="$archive_cmds~\$RANLIB \$lib"
4575 postinstall_cmds='$RANLIB $lib'
4576 fi
4577 ;;
4578 aix4* | aix5*)
4579 test "$enable_shared" = yes && enable_static=no
4580 ;;
4581 esac
4582 AC_MSG_RESULT([$enable_shared])
4583
4584 AC_MSG_CHECKING([whether to build static libraries])
4585 # Make sure either enable_shared or enable_static is yes.
4586 test "$enable_shared" = yes || enable_static=yes
4587 AC_MSG_RESULT([$enable_static])
4588
4589 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4590
4591 _LT_AC_TAGVAR(GCC, $1)="$G77"
4592 _LT_AC_TAGVAR(LD, $1)="$LD"
4593
4594 AC_LIBTOOL_PROG_COMPILER_PIC($1)
4595 AC_LIBTOOL_PROG_CC_C_O($1)
4596 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4597 AC_LIBTOOL_PROG_LD_SHLIBS($1)
4598 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4599 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4600 AC_LIBTOOL_SYS_LIB_STRIP
4601
4602
4603 AC_LIBTOOL_CONFIG($1)
4604
4605 AC_LANG_POP
4606 CC="$lt_save_CC"
4607 ])# AC_LIBTOOL_LANG_F77_CONFIG
4608
4609
4610 # AC_LIBTOOL_LANG_GCJ_CONFIG
4611 # --------------------------
4612 # Ensure that the configuration vars for the C compiler are
4613 # suitably defined. Those variables are subsequently used by
4614 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4615 AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
4616 AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
4617 [AC_LANG_SAVE
4618
4619 # Source file extension for Java test sources.
4620 ac_ext=java
4621
4622 # Object file extension for compiled Java test sources.
4623 objext=o
4624 _LT_AC_TAGVAR(objext, $1)=$objext
4625
4626 # Code to be used in simple compile tests
4627 lt_simple_compile_test_code="class foo {}\n"
4628
4629 # Code to be used in simple link tests
4630 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
4631
4632 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4633 _LT_AC_SYS_COMPILER
4634
4635 # Allow CC to be a program name with arguments.
4636 lt_save_CC="$CC"
4637 CC=${GCJ-"gcj"}
4638 compiler=$CC
4639 _LT_AC_TAGVAR(compiler, $1)=$CC
4640
4641 # GCJ did not exist at the time GCC didn't implicitly link libc in.
4642 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4643
4644 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4645 AC_LIBTOOL_PROG_COMPILER_PIC($1)
4646 AC_LIBTOOL_PROG_CC_C_O($1)
4647 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4648 AC_LIBTOOL_PROG_LD_SHLIBS($1)
4649 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4650 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4651 AC_LIBTOOL_SYS_LIB_STRIP
4652 AC_LIBTOOL_DLOPEN_SELF($1)
4653
4654 AC_LIBTOOL_CONFIG($1)
4655
4656 AC_LANG_RESTORE
4657 CC="$lt_save_CC"
4658 ])# AC_LIBTOOL_LANG_GCJ_CONFIG
4659
4660
4661 # AC_LIBTOOL_LANG_RC_CONFIG
4662 # --------------------------
4663 # Ensure that the configuration vars for the Windows resource compiler are
4664 # suitably defined. Those variables are subsequently used by
4665 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4666 AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
4667 AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
4668 [AC_LANG_SAVE
4669
4670 # Source file extension for RC test sources.
4671 ac_ext=rc
4672
4673 # Object file extension for compiled RC test sources.
4674 objext=o
4675 _LT_AC_TAGVAR(objext, $1)=$objext
4676
4677 # Code to be used in simple compile tests
4678 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
4679
4680 # Code to be used in simple link tests
4681 lt_simple_link_test_code="$lt_simple_compile_test_code"
4682
4683 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4684 _LT_AC_SYS_COMPILER
4685
4686 # Allow CC to be a program name with arguments.
4687 lt_save_CC="$CC"
4688 CC=${RC-"windres"}
4689 compiler=$CC
4690 _LT_AC_TAGVAR(compiler, $1)=$CC
4691 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4692
4693 AC_LIBTOOL_CONFIG($1)
4694
4695 AC_LANG_RESTORE
4696 CC="$lt_save_CC"
4697 ])# AC_LIBTOOL_LANG_RC_CONFIG
4698
4699
4700 # AC_LIBTOOL_CONFIG([TAGNAME])
4701 # ----------------------------
4702 # If TAGNAME is not passed, then create an initial libtool script
4703 # with a default configuration from the untagged config vars. Otherwise
4704 # add code to config.status for appending the configuration named by
4705 # TAGNAME from the matching tagged config vars.
4706 AC_DEFUN([AC_LIBTOOL_CONFIG],
4707 [# The else clause should only fire when bootstrapping the
4708 # libtool distribution, otherwise you forgot to ship ltmain.sh
4709 # with your package, and you will get complaints that there are
4710 # no rules to generate ltmain.sh.
4711 if test -f "$ltmain"; then
4712 # See if we are running on zsh, and set the options which allow our commands through
4713 # without removal of \ escapes.
4714 if test -n "${ZSH_VERSION+set}" ; then
4715 setopt NO_GLOB_SUBST
4716 fi
4717 # Now quote all the things that may contain metacharacters while being
4718 # careful not to overquote the AC_SUBSTed values. We take copies of the
4719 # variables and quote the copies for generation of the libtool script.
4720 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
4721 SED SHELL STRIP \
4722 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
4723 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
4724 deplibs_check_method reload_flag reload_cmds need_locks \
4725 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
4726 lt_cv_sys_global_symbol_to_c_name_address \
4727 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
4728 old_postinstall_cmds old_postuninstall_cmds \
4729 _LT_AC_TAGVAR(compiler, $1) \
4730 _LT_AC_TAGVAR(CC, $1) \
4731 _LT_AC_TAGVAR(LD, $1) \
4732 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
4733 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
4734 _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
4735 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
4736 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
4737 _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
4738 _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
4739 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
4740 _LT_AC_TAGVAR(old_archive_cmds, $1) \
4741 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
4742 _LT_AC_TAGVAR(predep_objects, $1) \
4743 _LT_AC_TAGVAR(postdep_objects, $1) \
4744 _LT_AC_TAGVAR(predeps, $1) \
4745 _LT_AC_TAGVAR(postdeps, $1) \
4746 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
4747 _LT_AC_TAGVAR(archive_cmds, $1) \
4748 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4749 _LT_AC_TAGVAR(postinstall_cmds, $1) \
4750 _LT_AC_TAGVAR(postuninstall_cmds, $1) \
4751 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
4752 _LT_AC_TAGVAR(allow_undefined_flag, $1) \
4753 _LT_AC_TAGVAR(no_undefined_flag, $1) \
4754 _LT_AC_TAGVAR(export_symbols_cmds, $1) \
4755 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
4756 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
4757 _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
4758 _LT_AC_TAGVAR(hardcode_automatic, $1) \
4759 _LT_AC_TAGVAR(module_cmds, $1) \
4760 _LT_AC_TAGVAR(module_expsym_cmds, $1) \
4761 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
4762 _LT_AC_TAGVAR(exclude_expsyms, $1) \
4763 _LT_AC_TAGVAR(include_expsyms, $1); do
4764
4765 case $var in
4766 _LT_AC_TAGVAR(old_archive_cmds, $1) | \
4767 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
4768 _LT_AC_TAGVAR(archive_cmds, $1) | \
4769 _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
4770 _LT_AC_TAGVAR(module_cmds, $1) | \
4771 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
4772 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
4773 _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
4774 extract_expsyms_cmds | reload_cmds | finish_cmds | \
4775 postinstall_cmds | postuninstall_cmds | \
4776 old_postinstall_cmds | old_postuninstall_cmds | \
4777 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
4778 # Double-quote double-evaled strings.
4779 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
4780 ;;
4781 *)
4782 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
4783 ;;
4784 esac
4785 done
4786
4787 case $lt_echo in
4788 *'\[$]0 --fallback-echo"')
4789 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
4790 ;;
4791 esac
4792
4793 ifelse([$1], [],
4794 [cfgfile="${ofile}T"
4795 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
4796 $rm -f "$cfgfile"
4797 AC_MSG_NOTICE([creating $ofile])],
4798 [cfgfile="$ofile"])
4799
4800 cat <<__EOF__ >> "$cfgfile"
4801 ifelse([$1], [],
4802 [#! $SHELL
4803
4804 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
4805 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4806 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
4807 #
4808 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
4809 # Free Software Foundation, Inc.
4810 #
4811 # This file is part of GNU Libtool:
4812 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
4813 #
4814 # This program is free software; you can redistribute it and/or modify
4815 # it under the terms of the GNU General Public License as published by
4816 # the Free Software Foundation; either version 2 of the License, or
4817 # (at your option) any later version.
4818 #
4819 # This program is distributed in the hope that it will be useful, but
4820 # WITHOUT ANY WARRANTY; without even the implied warranty of
4821 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4822 # General Public License for more details.
4823 #
4824 # You should have received a copy of the GNU General Public License
4825 # along with this program; if not, write to the Free Software
4826 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
4827 #
4828 # As a special exception to the GNU General Public License, if you
4829 # distribute this file as part of a program that contains a
4830 # configuration script generated by Autoconf, you may include it under
4831 # the same distribution terms that you use for the rest of that program.
4832
4833 # A sed program that does not truncate output.
4834 SED=$lt_SED
4835
4836 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
4837 Xsed="$SED -e s/^X//"
4838
4839 # The HP-UX ksh and POSIX shell print the target directory to stdout
4840 # if CDPATH is set.
4841 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
4842
4843 # The names of the tagged configurations supported by this script.
4844 available_tags=
4845
4846 # ### BEGIN LIBTOOL CONFIG],
4847 [# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
4848
4849 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4850
4851 # Shell to use when invoking shell scripts.
4852 SHELL=$lt_SHELL
4853
4854 # Whether or not to build shared libraries.
4855 build_libtool_libs=$enable_shared
4856
4857 # Whether or not to build static libraries.
4858 build_old_libs=$enable_static
4859
4860 # Whether or not to add -lc for building shared libraries.
4861 build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
4862
4863 # Whether or not to disallow shared libs when runtime libs are static
4864 allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
4865
4866 # Whether or not to optimize for fast installation.
4867 fast_install=$enable_fast_install
4868
4869 # The host system.
4870 host_alias=$host_alias
4871 host=$host
4872
4873 # An echo program that does not interpret backslashes.
4874 echo=$lt_echo
4875
4876 # The archiver.
4877 AR=$lt_AR
4878 AR_FLAGS=$lt_AR_FLAGS
4879
4880 # A C compiler.
4881 LTCC=$lt_LTCC
4882
4883 # A language-specific compiler.
4884 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
4885
4886 # Is the compiler the GNU C compiler?
4887 with_gcc=$_LT_AC_TAGVAR(GCC, $1)
4888
4889 # An ERE matcher.
4890 EGREP=$lt_EGREP
4891
4892 # The linker used to build libraries.
4893 LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
4894
4895 # Whether we need hard or soft links.
4896 LN_S=$lt_LN_S
4897
4898 # A BSD-compatible nm program.
4899 NM=$lt_NM
4900
4901 # A symbol stripping program
4902 STRIP=$lt_STRIP
4903
4904 # Used to examine libraries when file_magic_cmd begins "file"
4905 MAGIC_CMD=$MAGIC_CMD
4906
4907 # Used on cygwin: DLL creation program.
4908 DLLTOOL="$DLLTOOL"
4909
4910 # Used on cygwin: object dumper.
4911 OBJDUMP="$OBJDUMP"
4912
4913 # Used on cygwin: assembler.
4914 AS="$AS"
4915
4916 # The name of the directory that contains temporary libtool files.
4917 objdir=$objdir
4918
4919 # How to create reloadable object files.
4920 reload_flag=$lt_reload_flag
4921 reload_cmds=$lt_reload_cmds
4922
4923 # How to pass a linker flag through the compiler.
4924 wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4925
4926 # Object file suffix (normally "o").
4927 objext="$ac_objext"
4928
4929 # Old archive suffix (normally "a").
4930 libext="$libext"
4931
4932 # Shared library suffix (normally ".so").
4933 shrext_cmds='$shrext_cmds'
4934
4935 # Executable file suffix (normally "").
4936 exeext="$exeext"
4937
4938 # Additional compiler flags for building library objects.
4939 pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4940 pic_mode=$pic_mode
4941
4942 # What is the maximum length of a command?
4943 max_cmd_len=$lt_cv_sys_max_cmd_len
4944
4945 # Does compiler simultaneously support -c and -o options?
4946 compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
4947
4948 # Must we lock files when doing compilation ?
4949 need_locks=$lt_need_locks
4950
4951 # Do we need the lib prefix for modules?
4952 need_lib_prefix=$need_lib_prefix
4953
4954 # Do we need a version for libraries?
4955 need_version=$need_version
4956
4957 # Whether dlopen is supported.
4958 dlopen_support=$enable_dlopen
4959
4960 # Whether dlopen of programs is supported.
4961 dlopen_self=$enable_dlopen_self
4962
4963 # Whether dlopen of statically linked programs is supported.
4964 dlopen_self_static=$enable_dlopen_self_static
4965
4966 # Compiler flag to prevent dynamic linking.
4967 link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
4968
4969 # Compiler flag to turn off builtin functions.
4970 no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
4971
4972 # Compiler flag to allow reflexive dlopens.
4973 export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
4974
4975 # Compiler flag to generate shared objects directly from archives.
4976 whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
4977
4978 # Compiler flag to generate thread-safe objects.
4979 thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
4980
4981 # Library versioning type.
4982 version_type=$version_type
4983
4984 # Format of library name prefix.
4985 libname_spec=$lt_libname_spec
4986
4987 # List of archive names. First name is the real one, the rest are links.
4988 # The last name is the one that the linker finds with -lNAME.
4989 library_names_spec=$lt_library_names_spec
4990
4991 # The coded name of the library, if different from the real name.
4992 soname_spec=$lt_soname_spec
4993
4994 # Commands used to build and install an old-style archive.
4995 RANLIB=$lt_RANLIB
4996 old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
4997 old_postinstall_cmds=$lt_old_postinstall_cmds
4998 old_postuninstall_cmds=$lt_old_postuninstall_cmds
4999
5000 # Create an old-style archive from a shared archive.
5001 old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
5002
5003 # Create a temporary old-style archive to link instead of a shared archive.
5004 old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
5005
5006 # Commands used to build and install a shared archive.
5007 archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
5008 archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
5009 postinstall_cmds=$lt_postinstall_cmds
5010 postuninstall_cmds=$lt_postuninstall_cmds
5011
5012 # Commands used to build a loadable module (assumed same as above if empty)
5013 module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
5014 module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
5015
5016 # Commands to strip libraries.
5017 old_striplib=$lt_old_striplib
5018 striplib=$lt_striplib
5019
5020 # Dependencies to place before the objects being linked to create a
5021 # shared library.
5022 predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
5023
5024 # Dependencies to place after the objects being linked to create a
5025 # shared library.
5026 postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
5027
5028 # Dependencies to place before the objects being linked to create a
5029 # shared library.
5030 predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
5031
5032 # Dependencies to place after the objects being linked to create a
5033 # shared library.
5034 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
5035
5036 # The library search path used internally by the compiler when linking
5037 # a shared library.
5038 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
5039
5040 # Method to check whether dependent libraries are shared objects.
5041 deplibs_check_method=$lt_deplibs_check_method
5042
5043 # Command to use when deplibs_check_method == file_magic.
5044 file_magic_cmd=$lt_file_magic_cmd
5045
5046 # Flag that allows shared libraries with undefined symbols to be built.
5047 allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
5048
5049 # Flag that forces no undefined symbols.
5050 no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
5051
5052 # Commands used to finish a libtool library installation in a directory.
5053 finish_cmds=$lt_finish_cmds
5054
5055 # Same as above, but a single script fragment to be evaled but not shown.
5056 finish_eval=$lt_finish_eval
5057
5058 # Take the output of nm and produce a listing of raw symbols and C names.
5059 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5060
5061 # Transform the output of nm in a proper C declaration
5062 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5063
5064 # Transform the output of nm in a C name address pair
5065 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5066
5067 # This is the shared library runtime path variable.
5068 runpath_var=$runpath_var
5069
5070 # This is the shared library path variable.
5071 shlibpath_var=$shlibpath_var
5072
5073 # Is shlibpath searched before the hard-coded library search path?
5074 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5075
5076 # How to hardcode a shared library path into an executable.
5077 hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
5078
5079 # Whether we should hardcode library paths into libraries.
5080 hardcode_into_libs=$hardcode_into_libs
5081
5082 # Flag to hardcode \$libdir into a binary during linking.
5083 # This must work even if \$libdir does not exist.
5084 hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
5085
5086 # If ld is used when linking, flag to hardcode \$libdir into
5087 # a binary during linking. This must work even if \$libdir does
5088 # not exist.
5089 hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
5090
5091 # Whether we need a single -rpath flag with a separated argument.
5092 hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
5093
5094 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5095 # resulting binary.
5096 hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
5097
5098 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5099 # resulting binary.
5100 hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
5101
5102 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5103 # the resulting binary.
5104 hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
5105
5106 # Set to yes if building a shared library automatically hardcodes DIR into the library
5107 # and all subsequent libraries and executables linked against it.
5108 hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
5109
5110 # Variables whose values should be saved in libtool wrapper scripts and
5111 # restored at relink time.
5112 variables_saved_for_relink="$variables_saved_for_relink"
5113
5114 # Whether libtool must link a program against all its dependency libraries.
5115 link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
5116
5117 # Compile-time system search path for libraries
5118 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5119
5120 # Run-time system search path for libraries
5121 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5122
5123 # Fix the shell variable \$srcfile for the compiler.
5124 fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
5125
5126 # Set to yes if exported symbols are required.
5127 always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
5128
5129 # The commands to list exported symbols.
5130 export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
5131
5132 # The commands to extract the exported symbol list from a shared archive.
5133 extract_expsyms_cmds=$lt_extract_expsyms_cmds
5134
5135 # Symbols that should not be listed in the preloaded symbols.
5136 exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
5137
5138 # Symbols that must always be exported.
5139 include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
5140
5141 ifelse([$1],[],
5142 [# ### END LIBTOOL CONFIG],
5143 [# ### END LIBTOOL TAG CONFIG: $tagname])
5144
5145 __EOF__
5146
5147 ifelse([$1],[], [
5148 case $host_os in
5149 aix3*)
5150 cat <<\EOF >> "$cfgfile"
5151
5152 # AIX sometimes has problems with the GCC collect2 program. For some
5153 # reason, if we set the COLLECT_NAMES environment variable, the problems
5154 # vanish in a puff of smoke.
5155 if test "X${COLLECT_NAMES+set}" != Xset; then
5156 COLLECT_NAMES=
5157 export COLLECT_NAMES
5158 fi
5159 EOF
5160 ;;
5161 esac
5162
5163 # We use sed instead of cat because bash on DJGPP gets confused if
5164 # if finds mixed CR/LF and LF-only lines. Since sed operates in
5165 # text mode, it properly converts lines to CR/LF. This bash problem
5166 # is reportedly fixed, but why not run on old versions too?
5167 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
5168
5169 mv -f "$cfgfile" "$ofile" || \
5170 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
5171 chmod +x "$ofile"
5172 ])
5173 else
5174 # If there is no Makefile yet, we rely on a make rule to execute
5175 # `config.status --recheck' to rerun these tests and create the
5176 # libtool script then.
5177 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5178 if test -f "$ltmain_in"; then
5179 test -f Makefile && make "$ltmain"
5180 fi
5181 fi
5182 ])# AC_LIBTOOL_CONFIG
5183
5184
5185 # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
5186 # -------------------------------------------
5187 AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
5188 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
5189
5190 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5191
5192 if test "$GCC" = yes; then
5193 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
5194
5195 AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
5196 lt_cv_prog_compiler_rtti_exceptions,
5197 [-fno-rtti -fno-exceptions], [],
5198 [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
5199 fi
5200 ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
5201
5202
5203 # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5204 # ---------------------------------
5205 AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
5206 [AC_REQUIRE([AC_CANONICAL_HOST])
5207 AC_REQUIRE([AC_PROG_NM])
5208 AC_REQUIRE([AC_OBJEXT])
5209 # Check for command to grab the raw symbol name followed by C symbol from nm.
5210 AC_MSG_CHECKING([command to parse $NM output from $compiler object])
5211 AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
5212 [
5213 # These are sane defaults that work on at least a few old systems.
5214 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5215
5216 # Character class describing NM global symbol codes.
5217 symcode='[[BCDEGRST]]'
5218
5219 # Regexp to match symbols that can be accessed directly from C.
5220 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
5221
5222 # Transform the above into a raw symbol and a C symbol.
5223 symxfrm='\1 \2\3 \3'
5224
5225 # Transform an extracted symbol line into a proper C declaration
5226 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5227
5228 # Transform an extracted symbol line into symbol name and symbol address
5229 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5230
5231 # Define system-specific variables.
5232 case $host_os in
5233 aix*)
5234 symcode='[[BCDT]]'
5235 ;;
5236 cygwin* | mingw* | pw32*)
5237 symcode='[[ABCDGISTW]]'
5238 ;;
5239 hpux*) # Its linker distinguishes data from code symbols
5240 if test "$host_cpu" = ia64; then
5241 symcode='[[ABCDEGRST]]'
5242 fi
5243 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5244 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5245 ;;
5246 irix* | nonstopux*)
5247 symcode='[[BCDEGRST]]'
5248 ;;
5249 osf*)
5250 symcode='[[BCDEGQRST]]'
5251 ;;
5252 solaris* | sysv5*)
5253 symcode='[[BDRT]]'
5254 ;;
5255 sysv4)
5256 symcode='[[DFNSTU]]'
5257 ;;
5258 esac
5259
5260 # Handle CRLF in mingw tool chain
5261 opt_cr=
5262 case $build_os in
5263 mingw*)
5264 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5265 ;;
5266 esac
5267
5268 # If we're using GNU nm, then use its standard symbol codes.
5269 case `$NM -V 2>&1` in
5270 *GNU* | *'with BFD'*)
5271 symcode='[[ABCDGIRSTW]]' ;;
5272 esac
5273
5274 # Try without a prefix undercore, then with it.
5275 for ac_symprfx in "" "_"; do
5276
5277 # Write the raw and C identifiers.
5278 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5279
5280 # Check to see that the pipe works correctly.
5281 pipe_works=no
5282
5283 rm -f conftest*
5284 cat > conftest.$ac_ext <<EOF
5285 #ifdef __cplusplus
5286 extern "C" {
5287 #endif
5288 char nm_test_var;
5289 void nm_test_func(){}
5290 #ifdef __cplusplus
5291 }
5292 #endif
5293 int main(){nm_test_var='a';nm_test_func();return(0);}
5294 EOF
5295
5296 if AC_TRY_EVAL(ac_compile); then
5297 # Now try to grab the symbols.
5298 nlist=conftest.nm
5299 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
5300 # Try sorting and uniquifying the output.
5301 if sort "$nlist" | uniq > "$nlist"T; then
5302 mv -f "$nlist"T "$nlist"
5303 else
5304 rm -f "$nlist"T
5305 fi
5306
5307 # Make sure that we snagged all the symbols we need.
5308 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5309 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5310 cat <<EOF > conftest.$ac_ext
5311 #ifdef __cplusplus
5312 extern "C" {
5313 #endif
5314
5315 EOF
5316 # Now generate the symbol file.
5317 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5318
5319 cat <<EOF >> conftest.$ac_ext
5320 #if defined (__STDC__) && __STDC__
5321 # define lt_ptr_t void *
5322 #else
5323 # define lt_ptr_t char *
5324 # define const
5325 #endif
5326
5327 /* The mapping between symbol names and symbols. */
5328 const struct {
5329 const char *name;
5330 lt_ptr_t address;
5331 }
5332 lt_preloaded_symbols[[]] =
5333 {
5334 EOF
5335 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5336 cat <<\EOF >> conftest.$ac_ext
5337 {0, (lt_ptr_t) 0}
5338 };
5339
5340 #ifdef __cplusplus
5341 }
5342 #endif
5343 EOF
5344 # Now try linking the two files.
5345 mv conftest.$ac_objext conftstm.$ac_objext
5346 lt_save_LIBS="$LIBS"
5347 lt_save_CFLAGS="$CFLAGS"
5348 LIBS="conftstm.$ac_objext"
5349 CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
5350 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
5351 pipe_works=yes
5352 fi
5353 LIBS="$lt_save_LIBS"
5354 CFLAGS="$lt_save_CFLAGS"
5355 else
5356 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
5357 fi
5358 else
5359 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
5360 fi
5361 else
5362 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
5363 fi
5364 else
5365 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
5366 cat conftest.$ac_ext >&5
5367 fi
5368 rm -f conftest* conftst*
5369
5370 # Do not use the global_symbol_pipe unless it works.
5371 if test "$pipe_works" = yes; then
5372 break
5373 else
5374 lt_cv_sys_global_symbol_pipe=
5375 fi
5376 done
5377 ])
5378 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5379 lt_cv_sys_global_symbol_to_cdecl=
5380 fi
5381 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5382 AC_MSG_RESULT(failed)
5383 else
5384 AC_MSG_RESULT(ok)
5385 fi
5386 ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5387
5388
5389 # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
5390 # ---------------------------------------
5391 AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
5392 [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
5393 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5394 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
5395
5396 AC_MSG_CHECKING([for $compiler option to produce PIC])
5397 ifelse([$1],[CXX],[
5398 # C++ specific cases for pic, static, wl, etc.
5399 if test "$GXX" = yes; then
5400 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5401 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5402
5403 case $host_os in
5404 aix*)
5405 # All AIX code is PIC.
5406 if test "$host_cpu" = ia64; then
5407 # AIX 5 now supports IA64 processor
5408 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5409 fi
5410 ;;
5411 amigaos*)
5412 # FIXME: we need at least 68020 code to build shared libraries, but
5413 # adding the `-m68020' flag to GCC prevents building anything better,
5414 # like `-m68040'.
5415 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5416 ;;
5417 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5418 # PIC is the default for these OSes.
5419 ;;
5420 mingw* | os2* | pw32*)
5421 # This hack is so that the source file can tell whether it is being
5422 # built for inclusion in a dll (and should export symbols for example).
5423 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5424 ;;
5425 darwin* | rhapsody*)
5426 # PIC is the default on this platform
5427 # Common symbols not allowed in MH_DYLIB files
5428 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5429 ;;
5430 *djgpp*)
5431 # DJGPP does not support shared libraries at all
5432 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5433 ;;
5434 sysv4*MP*)
5435 if test -d /usr/nec; then
5436 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5437 fi
5438 ;;
5439 hpux*)
5440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5441 # not for PA HP-UX.
5442 case "$host_cpu" in
5443 hppa*64*|ia64*)
5444 ;;
5445 *)
5446 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5447 ;;
5448 esac
5449 ;;
5450 *)
5451 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5452 ;;
5453 esac
5454 else
5455 case $host_os in
5456 aix4* | aix5*)
5457 # All AIX code is PIC.
5458 if test "$host_cpu" = ia64; then
5459 # AIX 5 now supports IA64 processor
5460 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5461 else
5462 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5463 fi
5464 ;;
5465 chorus*)
5466 case $cc_basename in
5467 cxch68)
5468 # Green Hills C++ Compiler
5469 # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
5470 ;;
5471 esac
5472 ;;
5473 dgux*)
5474 case $cc_basename in
5475 ec++)
5476 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5477 ;;
5478 ghcx)
5479 # Green Hills C++ Compiler
5480 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5481 ;;
5482 *)
5483 ;;
5484 esac
5485 ;;
5486 freebsd* | kfreebsd*-gnu)
5487 # FreeBSD uses GNU C++
5488 ;;
5489 hpux9* | hpux10* | hpux11*)
5490 case $cc_basename in
5491 CC)
5492 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5493 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5494 if test "$host_cpu" != ia64; then
5495 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5496 fi
5497 ;;
5498 aCC)
5499 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5500 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5501 case "$host_cpu" in
5502 hppa*64*|ia64*)
5503 # +Z the default
5504 ;;
5505 *)
5506 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5507 ;;
5508 esac
5509 ;;
5510 *)
5511 ;;
5512 esac
5513 ;;
5514 irix5* | irix6* | nonstopux*)
5515 case $cc_basename in
5516 CC)
5517 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5518 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5519 # CC pic flag -KPIC is the default.
5520 ;;
5521 *)
5522 ;;
5523 esac
5524 ;;
5525 linux*)
5526 case $cc_basename in
5527 KCC)
5528 # KAI C++ Compiler
5529 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5530 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5531 ;;
5532 icpc)
5533 # Intel C++
5534 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5535 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5536 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5537 ;;
5538 cxx)
5539 # Compaq C++
5540 # Make sure the PIC flag is empty. It appears that all Alpha
5541 # Linux and Compaq Tru64 Unix objects are PIC.
5542 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5543 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5544 ;;
5545 *)
5546 ;;
5547 esac
5548 ;;
5549 lynxos*)
5550 ;;
5551 m88k*)
5552 ;;
5553 mvs*)
5554 case $cc_basename in
5555 cxx)
5556 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
5557 ;;
5558 *)
5559 ;;
5560 esac
5561 ;;
5562 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5563 ;;
5564 osf3* | osf4* | osf5*)
5565 case $cc_basename in
5566 KCC)
5567 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5568 ;;
5569 RCC)
5570 # Rational C++ 2.4.1
5571 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5572 ;;
5573 cxx)
5574 # Digital/Compaq C++
5575 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5576 # Make sure the PIC flag is empty. It appears that all Alpha
5577 # Linux and Compaq Tru64 Unix objects are PIC.
5578 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5579 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5580 ;;
5581 *)
5582 ;;
5583 esac
5584 ;;
5585 psos*)
5586 ;;
5587 sco*)
5588 case $cc_basename in
5589 CC)
5590 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5591 ;;
5592 *)
5593 ;;
5594 esac
5595 ;;
5596 solaris*)
5597 case $cc_basename in
5598 CC)
5599 # Sun C++ 4.2, 5.x and Centerline C++
5600 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5601 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5602 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5603 ;;
5604 gcx)
5605 # Green Hills C++ Compiler
5606 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5607 ;;
5608 *)
5609 ;;
5610 esac
5611 ;;
5612 sunos4*)
5613 case $cc_basename in
5614 CC)
5615 # Sun C++ 4.x
5616 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5617 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5618 ;;
5619 lcc)
5620 # Lucid
5621 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5622 ;;
5623 *)
5624 ;;
5625 esac
5626 ;;
5627 tandem*)
5628 case $cc_basename in
5629 NCC)
5630 # NonStop-UX NCC 3.20
5631 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5632 ;;
5633 *)
5634 ;;
5635 esac
5636 ;;
5637 unixware*)
5638 ;;
5639 vxworks*)
5640 ;;
5641 *)
5642 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5643 ;;
5644 esac
5645 fi
5646 ],
5647 [
5648 if test "$GCC" = yes; then
5649 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5650 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5651
5652 case $host_os in
5653 aix*)
5654 # All AIX code is PIC.
5655 if test "$host_cpu" = ia64; then
5656 # AIX 5 now supports IA64 processor
5657 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5658 fi
5659 ;;
5660
5661 amigaos*)
5662 # FIXME: we need at least 68020 code to build shared libraries, but
5663 # adding the `-m68020' flag to GCC prevents building anything better,
5664 # like `-m68040'.
5665 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5666 ;;
5667
5668 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5669 # PIC is the default for these OSes.
5670 ;;
5671
5672 mingw* | pw32* | os2*)
5673 # This hack is so that the source file can tell whether it is being
5674 # built for inclusion in a dll (and should export symbols for example).
5675 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5676 ;;
5677
5678 darwin* | rhapsody*)
5679 # PIC is the default on this platform
5680 # Common symbols not allowed in MH_DYLIB files
5681 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5682 ;;
5683
5684 msdosdjgpp*)
5685 # Just because we use GCC doesn't mean we suddenly get shared libraries
5686 # on systems that don't support them.
5687 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5688 enable_shared=no
5689 ;;
5690
5691 sysv4*MP*)
5692 if test -d /usr/nec; then
5693 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5694 fi
5695 ;;
5696
5697 hpux*)
5698 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5699 # not for PA HP-UX.
5700 case "$host_cpu" in
5701 hppa*64*|ia64*)
5702 # +Z the default
5703 ;;
5704 *)
5705 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5706 ;;
5707 esac
5708 ;;
5709
5710 *)
5711 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5712 ;;
5713 esac
5714 else
5715 # PORTME Check for flag to pass linker flags through the system compiler.
5716 case $host_os in
5717 aix*)
5718 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5719 if test "$host_cpu" = ia64; then
5720 # AIX 5 now supports IA64 processor
5721 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5722 else
5723 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5724 fi
5725 ;;
5726
5727 mingw* | pw32* | os2*)
5728 # This hack is so that the source file can tell whether it is being
5729 # built for inclusion in a dll (and should export symbols for example).
5730 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5731 ;;
5732
5733 hpux9* | hpux10* | hpux11*)
5734 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5736 # not for PA HP-UX.
5737 case "$host_cpu" in
5738 hppa*64*|ia64*)
5739 # +Z the default
5740 ;;
5741 *)
5742 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5743 ;;
5744 esac
5745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
5746 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5747 ;;
5748
5749 irix5* | irix6* | nonstopux*)
5750 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5751 # PIC (with -KPIC) is the default.
5752 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5753 ;;
5754
5755 newsos6)
5756 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5757 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5758 ;;
5759
5760 linux*)
5761 case $CC in
5762 icc* | ecc*)
5763 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5764 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5765 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5766 ;;
5767 ccc*)
5768 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5769 # All Alpha code is PIC.
5770 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5771 ;;
5772 esac
5773 ;;
5774
5775 osf3* | osf4* | osf5*)
5776 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5777 # All OSF/1 code is PIC.
5778 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5779 ;;
5780
5781 sco3.2v5*)
5782 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
5783 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
5784 ;;
5785
5786 solaris*)
5787 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5788 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5789 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5790 ;;
5791
5792 sunos4*)
5793 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5794 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5795 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5796 ;;
5797
5798 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5799 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5800 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5801 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5802 ;;
5803
5804 sysv4*MP*)
5805 if test -d /usr/nec ;then
5806 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
5807 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5808 fi
5809 ;;
5810
5811 uts4*)
5812 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5813 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5814 ;;
5815
5816 *)
5817 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5818 ;;
5819 esac
5820 fi
5821 ])
5822 AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
5823
5824 #
5825 # Check to make sure the PIC flag actually works.
5826 #
5827 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5828 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5829 _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
5830 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5831 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5832 "" | " "*) ;;
5833 *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
5834 esac],
5835 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5836 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
5837 fi
5838 case "$host_os" in
5839 # For platforms which do not support PIC, -DPIC is meaningless:
5840 *djgpp*)
5841 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5842 ;;
5843 *)
5844 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5845 ;;
5846 esac
5847 ])
5848
5849
5850 # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
5851 # ------------------------------------
5852 # See if the linker supports building shared libraries.
5853 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
5854 [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5855 ifelse([$1],[CXX],[
5856 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5857 case $host_os in
5858 aix4* | aix5*)
5859 # If we're using GNU nm, then we don't want the "-C" option.
5860 # -C means demangle to AIX nm, but means don't demangle with GNU nm
5861 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5862 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5863 else
5864 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5865 fi
5866 ;;
5867 pw32*)
5868 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5869 ;;
5870 cygwin* | mingw*)
5871 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5872 ;;
5873 linux*)
5874 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5875 ;;
5876 *)
5877 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5878 ;;
5879 esac
5880 ],[
5881 runpath_var=
5882 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
5883 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5884 _LT_AC_TAGVAR(archive_cmds, $1)=
5885 _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5886 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
5887 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
5888 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5889 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5890 _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
5891 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5892 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5893 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5894 _LT_AC_TAGVAR(hardcode_direct, $1)=no
5895 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5896 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5897 _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5898 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
5899 _LT_AC_TAGVAR(module_cmds, $1)=
5900 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
5901 _LT_AC_TAGVAR(always_export_symbols, $1)=no
5902 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5903 # include_expsyms should be a list of space-separated symbols to be *always*
5904 # included in the symbol list
5905 _LT_AC_TAGVAR(include_expsyms, $1)=
5906 # exclude_expsyms can be an extended regexp of symbols to exclude
5907 # it will be wrapped by ` (' and `)$', so one must not match beginning or
5908 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5909 # as well as any symbol that contains `d'.
5910 _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
5911 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5912 # platforms (ab)use it in PIC code, but their linkers get confused if
5913 # the symbol is explicitly referenced. Since portable code cannot
5914 # rely on this symbol name, it's probably fine to never include it in
5915 # preloaded symbol tables.
5916 extract_expsyms_cmds=
5917
5918 case $host_os in
5919 cygwin* | mingw* | pw32*)
5920 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5921 # When not using gcc, we currently assume that we are using
5922 # Microsoft Visual C++.
5923 if test "$GCC" != yes; then
5924 with_gnu_ld=no
5925 fi
5926 ;;
5927 openbsd*)
5928 with_gnu_ld=no
5929 ;;
5930 esac
5931
5932 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
5933 if test "$with_gnu_ld" = yes; then
5934 # If archive_cmds runs LD, not CC, wlarc should be empty
5935 wlarc='${wl}'
5936
5937 # See if GNU ld supports shared libraries.
5938 case $host_os in
5939 aix3* | aix4* | aix5*)
5940 # On AIX/PPC, the GNU linker is very broken
5941 if test "$host_cpu" != ia64; then
5942 _LT_AC_TAGVAR(ld_shlibs, $1)=no
5943 cat <<EOF 1>&2
5944
5945 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5946 *** to be unable to reliably create shared libraries on AIX.
5947 *** Therefore, libtool is disabling shared libraries support. If you
5948 *** really care for shared libraries, you may want to modify your PATH
5949 *** so that a non-GNU linker is found, and then restart.
5950
5951 EOF
5952 fi
5953 ;;
5954
5955 amigaos*)
5956 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5957 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5958 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5959
5960 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5961 # that the semantics of dynamic libraries on AmigaOS, at least up
5962 # to version 4, is to share data among multiple programs linked
5963 # with the same dynamic library. Since this doesn't match the
5964 # behavior of shared libraries on other platforms, we can't use
5965 # them.
5966 _LT_AC_TAGVAR(ld_shlibs, $1)=no
5967 ;;
5968
5969 beos*)
5970 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5971 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5972 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5973 # support --undefined. This deserves some investigation. FIXME
5974 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5975 else
5976 _LT_AC_TAGVAR(ld_shlibs, $1)=no
5977 fi
5978 ;;
5979
5980 cygwin* | mingw* | pw32*)
5981 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5982 # as there is no search path for DLLs.
5983 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5984 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5985 _LT_AC_TAGVAR(always_export_symbols, $1)=no
5986 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5987 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5988
5989 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5990 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5991 # If the export-symbols file already is a .def file (1st line
5992 # is EXPORTS), use it as is; otherwise, prepend...
5993 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5994 cp $export_symbols $output_objdir/$soname.def;
5995 else
5996 echo EXPORTS > $output_objdir/$soname.def;
5997 cat $export_symbols >> $output_objdir/$soname.def;
5998 fi~
5999 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6000 else
6001 ld_shlibs=no
6002 fi
6003 ;;
6004
6005 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6006 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6007 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6008 wlarc=
6009 else
6010 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6011 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6012 fi
6013 ;;
6014
6015 solaris* | sysv5*)
6016 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6017 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6018 cat <<EOF 1>&2
6019
6020 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6021 *** create shared libraries on Solaris systems. Therefore, libtool
6022 *** is disabling shared libraries support. We urge you to upgrade GNU
6023 *** binutils to release 2.9.1 or newer. Another option is to modify
6024 *** your PATH or compiler configuration so that the native linker is
6025 *** used, and then restart.
6026
6027 EOF
6028 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6029 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6030 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6031 else
6032 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6033 fi
6034 ;;
6035
6036 sunos4*)
6037 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6038 wlarc=
6039 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6040 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6041 ;;
6042
6043 linux*)
6044 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6045 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6046 _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
6047 supports_anon_versioning=no
6048 case `$LD -v 2>/dev/null` in
6049 *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
6050 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6051 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6052 *\ 2.11.*) ;; # other 2.11 versions
6053 *) supports_anon_versioning=yes ;;
6054 esac
6055 if test $supports_anon_versioning = yes; then
6056 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
6057 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6058 $echo "local: *; };" >> $output_objdir/$libname.ver~
6059 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6060 else
6061 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
6062 fi
6063 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6064 else
6065 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6066 fi
6067 ;;
6068
6069 *)
6070 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6071 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6072 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6073 else
6074 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6075 fi
6076 ;;
6077 esac
6078
6079 if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
6080 runpath_var=LD_RUN_PATH
6081 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6082 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6083 # ancient GNU ld didn't support --whole-archive et. al.
6084 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6085 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6086 else
6087 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6088 fi
6089 fi
6090 else
6091 # PORTME fill in a description of your system's linker (not GNU ld)
6092 case $host_os in
6093 aix3*)
6094 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6095 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6096 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6097 # Note: this linker hardcodes the directories in LIBPATH if there
6098 # are no directories specified by -L.
6099 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6100 if test "$GCC" = yes && test -z "$link_static_flag"; then
6101 # Neither direct hardcoding nor static linking is supported with a
6102 # broken collect2.
6103 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
6104 fi
6105 ;;
6106
6107 aix4* | aix5*)
6108 if test "$host_cpu" = ia64; then
6109 # On IA64, the linker does run time linking by default, so we don't
6110 # have to do anything special.
6111 aix_use_runtimelinking=no
6112 exp_sym_flag='-Bexport'
6113 no_entry_flag=""
6114 else
6115 # If we're using GNU nm, then we don't want the "-C" option.
6116 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6117 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6118 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6119 else
6120 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6121 fi
6122 aix_use_runtimelinking=no
6123
6124 # Test if we are trying to use run time linking or normal
6125 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6126 # need to do runtime linking.
6127 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
6128 for ld_flag in $LDFLAGS; do
6129 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6130 aix_use_runtimelinking=yes
6131 break
6132 fi
6133 done
6134 esac
6135
6136 exp_sym_flag='-bexport'
6137 no_entry_flag='-bnoentry'
6138 fi
6139
6140 # When large executables or shared objects are built, AIX ld can
6141 # have problems creating the table of contents. If linking a library
6142 # or program results in "error TOC overflow" add -mminimal-toc to
6143 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6144 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6145
6146 _LT_AC_TAGVAR(archive_cmds, $1)=''
6147 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6148 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6149 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6150
6151 if test "$GCC" = yes; then
6152 case $host_os in aix4.[012]|aix4.[012].*)
6153 # We only want to do this on AIX 4.2 and lower, the check
6154 # below for broken collect2 doesn't work under 4.3+
6155 collect2name=`${CC} -print-prog-name=collect2`
6156 if test -f "$collect2name" && \
6157 strings "$collect2name" | grep resolve_lib_name >/dev/null
6158 then
6159 # We have reworked collect2
6160 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6161 else
6162 # We have old collect2
6163 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
6164 # It fails to find uninstalled libraries when the uninstalled
6165 # path is not listed in the libpath. Setting hardcode_minus_L
6166 # to unsupported forces relinking
6167 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6168 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6169 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6170 fi
6171 esac
6172 shared_flag='-shared'
6173 else
6174 # not using gcc
6175 if test "$host_cpu" = ia64; then
6176 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6177 # chokes on -Wl,-G. The following line is correct:
6178 shared_flag='-G'
6179 else
6180 if test "$aix_use_runtimelinking" = yes; then
6181 shared_flag='${wl}-G'
6182 else
6183 shared_flag='${wl}-bM:SRE'
6184 fi
6185 fi
6186 fi
6187
6188 # It seems that -bexpall does not export symbols beginning with
6189 # underscore (_), so it is better to generate a list of symbols to export.
6190 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6191 if test "$aix_use_runtimelinking" = yes; then
6192 # Warning - without using the other runtime loading flags (-brtl),
6193 # -berok will link without error, but may produce a broken library.
6194 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
6195 # Determine the default libpath from the value encoded in an empty executable.
6196 _LT_AC_SYS_LIBPATH_AIX
6197 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6198 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6199 else
6200 if test "$host_cpu" = ia64; then
6201 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
6202 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6203 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6204 else
6205 # Determine the default libpath from the value encoded in an empty executable.
6206 _LT_AC_SYS_LIBPATH_AIX
6207 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6208 # Warning - without using the other run time loading flags,
6209 # -berok will link without error, but may produce a broken library.
6210 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6211 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6212 # -bexpall does not export symbols beginning with underscore (_)
6213 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6214 # Exported symbols can be pulled into shared objects from archives
6215 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
6216 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6217 # This is similar to how AIX traditionally builds it's shared libraries.
6218 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6219 fi
6220 fi
6221 ;;
6222
6223 amigaos*)
6224 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6225 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6226 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6227 # see comment about different semantics on the GNU ld section
6228 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6229 ;;
6230
6231 bsdi4*)
6232 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
6233 ;;
6234
6235 cygwin* | mingw* | pw32*)
6236 # When not using gcc, we currently assume that we are using
6237 # Microsoft Visual C++.
6238 # hardcode_libdir_flag_spec is actually meaningless, as there is
6239 # no search path for DLLs.
6240 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6241 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6242 # Tell ltmain to make .lib files, not .a files.
6243 libext=lib
6244 # Tell ltmain to make .dll files, not .so files.
6245 shrext_cmds=".dll"
6246 # FIXME: Setting linknames here is a bad hack.
6247 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6248 # The linker will automatically build a .lib file if we build a DLL.
6249 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
6250 # FIXME: Should let the user specify the lib program.
6251 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
6252 fix_srcfile_path='`cygpath -w "$srcfile"`'
6253 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6254 ;;
6255
6256 darwin* | rhapsody*)
6257 if test "$GXX" = yes ; then
6258 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6259 case "$host_os" in
6260 rhapsody* | darwin1.[[012]])
6261 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
6262 ;;
6263 *) # Darwin 1.3 on
6264 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6265 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
6266 else
6267 case ${MACOSX_DEPLOYMENT_TARGET} in
6268 10.[[012]])
6269 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
6270 ;;
6271 10.*)
6272 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
6273 ;;
6274 esac
6275 fi
6276 ;;
6277 esac
6278 lt_int_apple_cc_single_mod=no
6279 output_verbose_link_cmd='echo'
6280 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6281 lt_int_apple_cc_single_mod=yes
6282 fi
6283 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6284 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6285 else
6286 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6287 fi
6288 _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6289 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
6290 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6291 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6292 else
6293 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6294 fi
6295 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6296 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6297 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6298 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6299 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
6300 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6301 else
6302 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6303 fi
6304 ;;
6305
6306 dgux*)
6307 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6308 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6309 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6310 ;;
6311
6312 freebsd1*)
6313 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6314 ;;
6315
6316 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6317 # support. Future versions do this automatically, but an explicit c++rt0.o
6318 # does not break anything, and helps significantly (at the cost of a little
6319 # extra space).
6320 freebsd2.2*)
6321 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6322 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6323 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6324 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6325 ;;
6326
6327 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6328 freebsd2*)
6329 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6330 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6331 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6332 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6333 ;;
6334
6335 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6336 freebsd* | kfreebsd*-gnu)
6337 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6338 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6339 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6340 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6341 ;;
6342
6343 hpux9*)
6344 if test "$GCC" = yes; then
6345 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6346 else
6347 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6348 fi
6349 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6350 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6351 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6352
6353 # hardcode_minus_L: Not really in the search PATH,
6354 # but as the default location of the library.
6355 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6356 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6357 ;;
6358
6359 hpux10* | hpux11*)
6360 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6361 case "$host_cpu" in
6362 hppa*64*|ia64*)
6363 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6364 ;;
6365 *)
6366 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6367 ;;
6368 esac
6369 else
6370 case "$host_cpu" in
6371 hppa*64*|ia64*)
6372 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6373 ;;
6374 *)
6375 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6376 ;;
6377 esac
6378 fi
6379 if test "$with_gnu_ld" = no; then
6380 case "$host_cpu" in
6381 hppa*64*)
6382 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6383 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
6384 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6385 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6386 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6387 ;;
6388 ia64*)
6389 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6390 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6391 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6392
6393 # hardcode_minus_L: Not really in the search PATH,
6394 # but as the default location of the library.
6395 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6396 ;;
6397 *)
6398 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6399 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6400 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6401 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6402
6403 # hardcode_minus_L: Not really in the search PATH,
6404 # but as the default location of the library.
6405 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6406 ;;
6407 esac
6408 fi
6409 ;;
6410
6411 irix5* | irix6* | nonstopux*)
6412 if test "$GCC" = yes; then
6413 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6414 else
6415 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6416 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6417 fi
6418 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6419 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6420 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6421 ;;
6422
6423 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6424 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6425 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6426 else
6427 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6428 fi
6429 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6430 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6431 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6432 ;;
6433
6434 newsos6)
6435 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6436 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6437 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6438 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6439 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6440 ;;
6441
6442 openbsd*)
6443 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6444 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6445 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6446 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6447 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6448 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6449 else
6450 case $host_os in
6451 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6452 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6453 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6454 ;;
6455 *)
6456 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6457 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6458 ;;
6459 esac
6460 fi
6461 ;;
6462
6463 os2*)
6464 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6465 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6466 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6467 _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
6468 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6469 ;;
6470
6471 osf3*)
6472 if test "$GCC" = yes; then
6473 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6474 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6475 else
6476 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6477 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6478 fi
6479 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6480 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6481 ;;
6482
6483 osf4* | osf5*) # as osf3* with the addition of -msym flag
6484 if test "$GCC" = yes; then
6485 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6486 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6487 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6488 else
6489 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6490 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6491 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6492 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
6493
6494 # Both c and cxx compiler support -rpath directly
6495 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6496 fi
6497 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6498 ;;
6499
6500 sco3.2v5*)
6501 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6502 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6503 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6504 runpath_var=LD_RUN_PATH
6505 hardcode_runpath_var=yes
6506 ;;
6507
6508 solaris*)
6509 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6510 if test "$GCC" = yes; then
6511 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6512 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6513 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6514 else
6515 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6516 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6517 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6518 fi
6519 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6520 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6521 case $host_os in
6522 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6523 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
6524 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
6525 esac
6526 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6527 ;;
6528
6529 sunos4*)
6530 if test "x$host_vendor" = xsequent; then
6531 # Use $CC to link under sequent, because it throws in some extra .o
6532 # files that make .init and .fini sections work.
6533 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6534 else
6535 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6536 fi
6537 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6538 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6539 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6540 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6541 ;;
6542
6543 sysv4)
6544 case $host_vendor in
6545 sni)
6546 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6547 _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
6548 ;;
6549 siemens)
6550 ## LD is ld it makes a PLAMLIB
6551 ## CC just makes a GrossModule.
6552 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6553 _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6554 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6555 ;;
6556 motorola)
6557 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6558 _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
6559 ;;
6560 esac
6561 runpath_var='LD_RUN_PATH'
6562 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6563 ;;
6564
6565 sysv4.3*)
6566 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6567 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6568 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6569 ;;
6570
6571 sysv4*MP*)
6572 if test -d /usr/nec; then
6573 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6574 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6575 runpath_var=LD_RUN_PATH
6576 hardcode_runpath_var=yes
6577 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6578 fi
6579 ;;
6580
6581 sysv4.2uw2*)
6582 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6583 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6584 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6585 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6586 hardcode_runpath_var=yes
6587 runpath_var=LD_RUN_PATH
6588 ;;
6589
6590 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
6591 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
6592 if test "$GCC" = yes; then
6593 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6594 else
6595 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6596 fi
6597 runpath_var='LD_RUN_PATH'
6598 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6599 ;;
6600
6601 sysv5*)
6602 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6603 # $CC -shared without GNU ld will not create a library from C++
6604 # object files and a static libstdc++, better avoid it by now
6605 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6606 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6607 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6608 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6609 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6610 runpath_var='LD_RUN_PATH'
6611 ;;
6612
6613 uts4*)
6614 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6615 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6616 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6617 ;;
6618
6619 *)
6620 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6621 ;;
6622 esac
6623 fi
6624 ])
6625 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
6626 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6627
6628 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6629 if test "$GCC" = yes; then
6630 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6631 fi
6632
6633 #
6634 # Do we need to explicitly link libc?
6635 #
6636 case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
6637 x|xyes)
6638 # Assume -lc should be added
6639 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6640
6641 if test "$enable_shared" = yes && test "$GCC" = yes; then
6642 case $_LT_AC_TAGVAR(archive_cmds, $1) in
6643 *'~'*)
6644 # FIXME: we may have to deal with multi-command sequences.
6645 ;;
6646 '$CC '*)
6647 # Test whether the compiler implicitly links with -lc since on some
6648 # systems, -lgcc has to come before -lc. If gcc already passes -lc
6649 # to ld, don't add -lc before -lgcc.
6650 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6651 $rm conftest*
6652 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6653
6654 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6655 soname=conftest
6656 lib=conftest
6657 libobjs=conftest.$ac_objext
6658 deplibs=
6659 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6660 compiler_flags=-v
6661 linker_flags=-v
6662 verstring=
6663 output_objdir=.
6664 libname=conftest
6665 lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
6666 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6667 if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
6668 then
6669 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6670 else
6671 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6672 fi
6673 _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6674 else
6675 cat conftest.err 1>&5
6676 fi
6677 $rm conftest*
6678 AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
6679 ;;
6680 esac
6681 fi
6682 ;;
6683 esac
6684 ])# AC_LIBTOOL_PROG_LD_SHLIBS
6685
6686
6687 # _LT_AC_FILE_LTDLL_C
6688 # -------------------
6689 # Be careful that the start marker always follows a newline.
6690 AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
6691 # /* ltdll.c starts here */
6692 # #define WIN32_LEAN_AND_MEAN
6693 # #include <windows.h>
6694 # #undef WIN32_LEAN_AND_MEAN
6695 # #include <stdio.h>
6696 #
6697 # #ifndef __CYGWIN__
6698 # # ifdef __CYGWIN32__
6699 # # define __CYGWIN__ __CYGWIN32__
6700 # # endif
6701 # #endif
6702 #
6703 # #ifdef __cplusplus
6704 # extern "C" {
6705 # #endif
6706 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
6707 # #ifdef __cplusplus
6708 # }
6709 # #endif
6710 #
6711 # #ifdef __CYGWIN__
6712 # #include <cygwin/cygwin_dll.h>
6713 # DECLARE_CYGWIN_DLL( DllMain );
6714 # #endif
6715 # HINSTANCE __hDllInstance_base;
6716 #
6717 # BOOL APIENTRY
6718 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
6719 # {
6720 # __hDllInstance_base = hInst;
6721 # return TRUE;
6722 # }
6723 # /* ltdll.c ends here */
6724 ])# _LT_AC_FILE_LTDLL_C
6725
6726
6727 # _LT_AC_TAGVAR(VARNAME, [TAGNAME])
6728 # ---------------------------------
6729 AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
6730
6731
6732 # old names
6733 AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
6734 AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
6735 AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
6736 AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
6737 AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
6738 AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
6739 AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
6740
6741 # This is just to silence aclocal about the macro not being used
6742 ifelse([AC_DISABLE_FAST_INSTALL])
6743
6744 AC_DEFUN([LT_AC_PROG_GCJ],
6745 [AC_CHECK_TOOL(GCJ, gcj, no)
6746 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
6747 AC_SUBST(GCJFLAGS)
6748 ])
6749
6750 AC_DEFUN([LT_AC_PROG_RC],
6751 [AC_CHECK_TOOL(RC, windres, no)
6752 ])
6753
6754 # NOTE: This macro has been submitted for inclusion into #
6755 # GNU Autoconf as AC_PROG_SED. When it is available in #
6756 # a released version of Autoconf we should remove this #
6757 # macro and use it instead. #
6758 # LT_AC_PROG_SED
6759 # --------------
6760 # Check for a fully-functional sed program, that truncates
6761 # as few characters as possible. Prefer GNU sed if found.
6762 AC_DEFUN([LT_AC_PROG_SED],
6763 [AC_MSG_CHECKING([for a sed that does not truncate output])
6764 AC_CACHE_VAL(lt_cv_path_SED,
6765 [# Loop through the user's path and test for sed and gsed.
6766 # Then use that list of sed's as ones to test for truncation.
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6769 do
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for lt_ac_prog in sed gsed; do
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6775 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6776 fi
6777 done
6778 done
6779 done
6780 lt_ac_max=0
6781 lt_ac_count=0
6782 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6783 # along with /bin/sed that truncates output.
6784 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6785 test ! -f $lt_ac_sed && break
6786 cat /dev/null > conftest.in
6787 lt_ac_count=0
6788 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6789 # Check for GNU sed and select it if it is found.
6790 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6791 lt_cv_path_SED=$lt_ac_sed
6792 break
6793 fi
6794 while true; do
6795 cat conftest.in conftest.in >conftest.tmp
6796 mv conftest.tmp conftest.in
6797 cp conftest.in conftest.nl
6798 echo >>conftest.nl
6799 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6800 cmp -s conftest.out conftest.nl || break
6801 # 10000 chars as input seems more than enough
6802 test $lt_ac_count -gt 10 && break
6803 lt_ac_count=`expr $lt_ac_count + 1`
6804 if test $lt_ac_count -gt $lt_ac_max; then
6805 lt_ac_max=$lt_ac_count
6806 lt_cv_path_SED=$lt_ac_sed
6807 fi
6808 done
6809 done
6810 SED=$lt_cv_path_SED
6811 ])
6812 AC_MSG_RESULT([$SED])
6813 ])
6814
6815 # gettext.m4 serial 37 (gettext-0.14.4)
6816 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
6817 dnl This file is free software; the Free Software Foundation
6818 dnl gives unlimited permission to copy and/or distribute it,
6819 dnl with or without modifications, as long as this notice is preserved.
6820 dnl
6821 dnl This file can can be used in projects which are not available under
6822 dnl the GNU General Public License or the GNU Library General Public
6823 dnl License but which still want to provide support for the GNU gettext
6824 dnl functionality.
6825 dnl Please note that the actual code of the GNU gettext library is covered
6826 dnl by the GNU Library General Public License, and the rest of the GNU
6827 dnl gettext package package is covered by the GNU General Public License.
6828 dnl They are *not* in the public domain.
6829
6830 dnl Authors:
6831 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
6832 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
6833
6834 dnl Macro to add for using GNU gettext.
6835
6836 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
6837 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
6838 dnl default (if it is not specified or empty) is 'no-libtool'.
6839 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
6840 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
6841 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
6842 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
6843 dnl depending on --{enable,disable}-{shared,static} and on the presence of
6844 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
6845 dnl $(top_builddir)/intl/libintl.a will be created.
6846 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
6847 dnl implementations (in libc or libintl) without the ngettext() function
6848 dnl will be ignored. If NEEDSYMBOL is specified and is
6849 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
6850 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
6851 dnl INTLDIR is used to find the intl libraries. If empty,
6852 dnl the value `$(top_builddir)/intl/' is used.
6853 dnl
6854 dnl The result of the configuration is one of three cases:
6855 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
6856 dnl and used.
6857 dnl Catalog format: GNU --> install in $(datadir)
6858 dnl Catalog extension: .mo after installation, .gmo in source tree
6859 dnl 2) GNU gettext has been found in the system's C library.
6860 dnl Catalog format: GNU --> install in $(datadir)
6861 dnl Catalog extension: .mo after installation, .gmo in source tree
6862 dnl 3) No internationalization, always use English msgid.
6863 dnl Catalog format: none
6864 dnl Catalog extension: none
6865 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
6866 dnl The use of .gmo is historical (it was needed to avoid overwriting the
6867 dnl GNU format catalogs when building on a platform with an X/Open gettext),
6868 dnl but we keep it in order not to force irrelevant filename changes on the
6869 dnl maintainers.
6870 dnl
6871 AC_DEFUN([AM_GNU_GETTEXT],
6872 [
6873 dnl Argument checking.
6874 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
6875 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
6876 ])])])])])
6877 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
6878 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
6879 ])])])])
6880 define([gt_included_intl], ifelse([$1], [external], [no], [yes]))
6881 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
6882
6883 AC_REQUIRE([AM_PO_SUBDIRS])dnl
6884 ifelse(gt_included_intl, yes, [
6885 AC_REQUIRE([AM_INTL_SUBDIR])dnl
6886 ])
6887
6888 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
6889 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
6890 AC_REQUIRE([AC_LIB_RPATH])
6891
6892 dnl Sometimes libintl requires libiconv, so first search for libiconv.
6893 dnl Ideally we would do this search only after the
6894 dnl if test "$USE_NLS" = "yes"; then
6895 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
6896 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
6897 dnl the configure script would need to contain the same shell code
6898 dnl again, outside any 'if'. There are two solutions:
6899 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
6900 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
6901 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
6902 dnl documented, we avoid it.
6903 ifelse(gt_included_intl, yes, , [
6904 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
6905 ])
6906
6907 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
6908 gt_INTL_MACOSX
6909
6910 dnl Set USE_NLS.
6911 AM_NLS
6912
6913 ifelse(gt_included_intl, yes, [
6914 BUILD_INCLUDED_LIBINTL=no
6915 USE_INCLUDED_LIBINTL=no
6916 ])
6917 LIBINTL=
6918 LTLIBINTL=
6919 POSUB=
6920
6921 dnl If we use NLS figure out what method
6922 if test "$USE_NLS" = "yes"; then
6923 gt_use_preinstalled_gnugettext=no
6924 ifelse(gt_included_intl, yes, [
6925 AC_MSG_CHECKING([whether included gettext is requested])
6926 AC_ARG_WITH(included-gettext,
6927 [ --with-included-gettext use the GNU gettext library included here],
6928 nls_cv_force_use_gnu_gettext=$withval,
6929 nls_cv_force_use_gnu_gettext=no)
6930 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
6931
6932 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
6933 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6934 ])
6935 dnl User does not insist on using GNU NLS library. Figure out what
6936 dnl to use. If GNU gettext is available we use this. Else we have
6937 dnl to fall back to GNU NLS library.
6938
6939 dnl Add a version number to the cache macros.
6940 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
6941 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
6942 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
6943
6944 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
6945 [AC_TRY_LINK([#include <libintl.h>
6946 ]ifelse([$2], [need-formatstring-macros],
6947 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6948 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6949 #endif
6950 changequote(,)dnl
6951 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6952 changequote([,])dnl
6953 ], [])[extern int _nl_msg_cat_cntr;
6954 extern int *_nl_domain_bindings;],
6955 [bindtextdomain ("", "");
6956 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
6957 gt_cv_func_gnugettext_libc=yes,
6958 gt_cv_func_gnugettext_libc=no)])
6959
6960 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
6961 dnl Sometimes libintl requires libiconv, so first search for libiconv.
6962 ifelse(gt_included_intl, yes, , [
6963 AM_ICONV_LINK
6964 ])
6965 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
6966 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
6967 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
6968 dnl even if libiconv doesn't exist.
6969 AC_LIB_LINKFLAGS_BODY([intl])
6970 AC_CACHE_CHECK([for GNU gettext in libintl],
6971 gt_cv_func_gnugettext_libintl,
6972 [gt_save_CPPFLAGS="$CPPFLAGS"
6973 CPPFLAGS="$CPPFLAGS $INCINTL"
6974 gt_save_LIBS="$LIBS"
6975 LIBS="$LIBS $LIBINTL"
6976 dnl Now see whether libintl exists and does not depend on libiconv.
6977 AC_TRY_LINK([#include <libintl.h>
6978 ]ifelse([$2], [need-formatstring-macros],
6979 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6980 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6981 #endif
6982 changequote(,)dnl
6983 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6984 changequote([,])dnl
6985 ], [])[extern int _nl_msg_cat_cntr;
6986 extern
6987 #ifdef __cplusplus
6988 "C"
6989 #endif
6990 const char *_nl_expand_alias (const char *);],
6991 [bindtextdomain ("", "");
6992 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
6993 gt_cv_func_gnugettext_libintl=yes,
6994 gt_cv_func_gnugettext_libintl=no)
6995 dnl Now see whether libintl exists and depends on libiconv.
6996 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
6997 LIBS="$LIBS $LIBICONV"
6998 AC_TRY_LINK([#include <libintl.h>
6999 ]ifelse([$2], [need-formatstring-macros],
7000 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7001 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7002 #endif
7003 changequote(,)dnl
7004 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7005 changequote([,])dnl
7006 ], [])[extern int _nl_msg_cat_cntr;
7007 extern
7008 #ifdef __cplusplus
7009 "C"
7010 #endif
7011 const char *_nl_expand_alias (const char *);],
7012 [bindtextdomain ("", "");
7013 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7014 [LIBINTL="$LIBINTL $LIBICONV"
7015 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7016 gt_cv_func_gnugettext_libintl=yes
7017 ])
7018 fi
7019 CPPFLAGS="$gt_save_CPPFLAGS"
7020 LIBS="$gt_save_LIBS"])
7021 fi
7022
7023 dnl If an already present or preinstalled GNU gettext() is found,
7024 dnl use it. But if this macro is used in GNU gettext, and GNU
7025 dnl gettext is already preinstalled in libintl, we update this
7026 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
7027 if test "$gt_cv_func_gnugettext_libc" = "yes" \
7028 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
7029 && test "$PACKAGE" != gettext-runtime \
7030 && test "$PACKAGE" != gettext-tools; }; then
7031 gt_use_preinstalled_gnugettext=yes
7032 else
7033 dnl Reset the values set by searching for libintl.
7034 LIBINTL=
7035 LTLIBINTL=
7036 INCINTL=
7037 fi
7038
7039 ifelse(gt_included_intl, yes, [
7040 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
7041 dnl GNU gettext is not found in the C library.
7042 dnl Fall back on included GNU gettext library.
7043 nls_cv_use_gnu_gettext=yes
7044 fi
7045 fi
7046
7047 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7048 dnl Mark actions used to generate GNU NLS library.
7049 BUILD_INCLUDED_LIBINTL=yes
7050 USE_INCLUDED_LIBINTL=yes
7051 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
7052 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
7053 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
7054 fi
7055
7056 CATOBJEXT=
7057 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7058 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7059 dnl Mark actions to use GNU gettext tools.
7060 CATOBJEXT=.gmo
7061 fi
7062 ])
7063
7064 if test -n "$INTL_MACOSX_LIBS"; then
7065 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7066 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7067 dnl Some extra flags are needed during linking.
7068 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7069 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7070 fi
7071 fi
7072
7073 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7074 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7075 AC_DEFINE(ENABLE_NLS, 1,
7076 [Define to 1 if translation of program messages to the user's native language
7077 is requested.])
7078 else
7079 USE_NLS=no
7080 fi
7081 fi
7082
7083 AC_MSG_CHECKING([whether to use NLS])
7084 AC_MSG_RESULT([$USE_NLS])
7085 if test "$USE_NLS" = "yes"; then
7086 AC_MSG_CHECKING([where the gettext function comes from])
7087 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7088 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7089 gt_source="external libintl"
7090 else
7091 gt_source="libc"
7092 fi
7093 else
7094 gt_source="included intl directory"
7095 fi
7096 AC_MSG_RESULT([$gt_source])
7097 fi
7098
7099 if test "$USE_NLS" = "yes"; then
7100
7101 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7102 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7103 AC_MSG_CHECKING([how to link with libintl])
7104 AC_MSG_RESULT([$LIBINTL])
7105 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
7106 fi
7107
7108 dnl For backward compatibility. Some packages may be using this.
7109 AC_DEFINE(HAVE_GETTEXT, 1,
7110 [Define if the GNU gettext() function is already present or preinstalled.])
7111 AC_DEFINE(HAVE_DCGETTEXT, 1,
7112 [Define if the GNU dcgettext() function is already present or preinstalled.])
7113 fi
7114
7115 dnl We need to process the po/ directory.
7116 POSUB=po
7117 fi
7118
7119 ifelse(gt_included_intl, yes, [
7120 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
7121 dnl to 'yes' because some of the testsuite requires it.
7122 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
7123 BUILD_INCLUDED_LIBINTL=yes
7124 fi
7125
7126 dnl Make all variables we use known to autoconf.
7127 AC_SUBST(BUILD_INCLUDED_LIBINTL)
7128 AC_SUBST(USE_INCLUDED_LIBINTL)
7129 AC_SUBST(CATOBJEXT)
7130
7131 dnl For backward compatibility. Some configure.ins may be using this.
7132 nls_cv_header_intl=
7133 nls_cv_header_libgt=
7134
7135 dnl For backward compatibility. Some Makefiles may be using this.
7136 DATADIRNAME=share
7137 AC_SUBST(DATADIRNAME)
7138
7139 dnl For backward compatibility. Some Makefiles may be using this.
7140 INSTOBJEXT=.mo
7141 AC_SUBST(INSTOBJEXT)
7142
7143 dnl For backward compatibility. Some Makefiles may be using this.
7144 GENCAT=gencat
7145 AC_SUBST(GENCAT)
7146
7147 dnl For backward compatibility. Some Makefiles may be using this.
7148 INTLOBJS=
7149 if test "$USE_INCLUDED_LIBINTL" = yes; then
7150 INTLOBJS="\$(GETTOBJS)"
7151 fi
7152 AC_SUBST(INTLOBJS)
7153
7154 dnl Enable libtool support if the surrounding package wishes it.
7155 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
7156 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
7157 ])
7158
7159 dnl For backward compatibility. Some Makefiles may be using this.
7160 INTLLIBS="$LIBINTL"
7161 AC_SUBST(INTLLIBS)
7162
7163 dnl Make all documented variables known to autoconf.
7164 AC_SUBST(LIBINTL)
7165 AC_SUBST(LTLIBINTL)
7166 AC_SUBST(POSUB)
7167 ])
7168
7169
7170 dnl Checks for all prerequisites of the intl subdirectory,
7171 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
7172 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
7173 AC_DEFUN([AM_INTL_SUBDIR],
7174 [
7175 AC_REQUIRE([AC_PROG_INSTALL])dnl
7176 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
7177 AC_REQUIRE([AC_PROG_CC])dnl
7178 AC_REQUIRE([AC_CANONICAL_HOST])dnl
7179 AC_REQUIRE([gt_GLIBC2])dnl
7180 AC_REQUIRE([AC_PROG_RANLIB])dnl
7181 AC_REQUIRE([AC_ISC_POSIX])dnl
7182 AC_REQUIRE([AC_HEADER_STDC])dnl
7183 AC_REQUIRE([AC_C_CONST])dnl
7184 AC_REQUIRE([bh_C_SIGNED])dnl
7185 AC_REQUIRE([AC_C_INLINE])dnl
7186 AC_REQUIRE([AC_TYPE_OFF_T])dnl
7187 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
7188 AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
7189 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
7190 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
7191 AC_REQUIRE([gt_TYPE_WINT_T])dnl
7192 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
7193 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
7194 AC_REQUIRE([gt_TYPE_INTMAX_T])
7195 AC_REQUIRE([gt_PRINTF_POSIX])
7196 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
7197 AC_REQUIRE([AC_FUNC_MMAP])dnl
7198 AC_REQUIRE([gl_GLIBC21])dnl
7199 AC_REQUIRE([gt_INTDIV0])dnl
7200 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
7201 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
7202 AC_REQUIRE([gt_INTTYPES_PRI])dnl
7203 AC_REQUIRE([gl_XSIZE])dnl
7204 AC_REQUIRE([gt_INTL_MACOSX])dnl
7205
7206 AC_CHECK_TYPE([ptrdiff_t], ,
7207 [AC_DEFINE([ptrdiff_t], [long],
7208 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
7209 ])
7210 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7211 stdlib.h string.h unistd.h sys/param.h])
7212 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
7213 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
7214 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
7215 __fsetlocking])
7216
7217 dnl Use the _snprintf function only if it is declared (because on NetBSD it
7218 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
7219 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
7220 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
7221
7222 dnl Use the *_unlocked functions only if they are declared.
7223 dnl (because some of them were defined without being declared in Solaris
7224 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
7225 dnl on Solaris 2.5.1 to run on Solaris 2.6).
7226 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
7227 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
7228 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
7229 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
7230
7231 case $gt_cv_func_printf_posix in
7232 *yes) HAVE_POSIX_PRINTF=1 ;;
7233 *) HAVE_POSIX_PRINTF=0 ;;
7234 esac
7235 AC_SUBST([HAVE_POSIX_PRINTF])
7236 if test "$ac_cv_func_asprintf" = yes; then
7237 HAVE_ASPRINTF=1
7238 else
7239 HAVE_ASPRINTF=0
7240 fi
7241 AC_SUBST([HAVE_ASPRINTF])
7242 if test "$ac_cv_func_snprintf" = yes; then
7243 HAVE_SNPRINTF=1
7244 else
7245 HAVE_SNPRINTF=0
7246 fi
7247 AC_SUBST([HAVE_SNPRINTF])
7248 if test "$ac_cv_func_wprintf" = yes; then
7249 HAVE_WPRINTF=1
7250 else
7251 HAVE_WPRINTF=0
7252 fi
7253 AC_SUBST([HAVE_WPRINTF])
7254
7255 AM_ICONV
7256 AM_LANGINFO_CODESET
7257 if test $ac_cv_header_locale_h = yes; then
7258 gt_LC_MESSAGES
7259 fi
7260
7261 if test -n "$INTL_MACOSX_LIBS"; then
7262 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7263 fi
7264
7265 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
7266 dnl because plural.y uses bison specific features. It requires at least
7267 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
7268 dnl compile.
7269 dnl bison is only needed for the maintainer (who touches plural.y). But in
7270 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
7271 dnl the rule in general Makefile. Now, some people carelessly touch the
7272 dnl files or have a broken "make" program, hence the plural.c rule will
7273 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
7274 dnl present or too old.
7275 AC_CHECK_PROGS([INTLBISON], [bison])
7276 if test -z "$INTLBISON"; then
7277 ac_verc_fail=yes
7278 else
7279 dnl Found it, now check the version.
7280 AC_MSG_CHECKING([version of bison])
7281 changequote(<<,>>)dnl
7282 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
7283 case $ac_prog_version in
7284 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
7285 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
7286 changequote([,])dnl
7287 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
7288 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
7289 esac
7290 AC_MSG_RESULT([$ac_prog_version])
7291 fi
7292 if test $ac_verc_fail = yes; then
7293 INTLBISON=:
7294 fi
7295 ])
7296
7297
7298 dnl Checks for special options needed on MacOS X.
7299 dnl Defines INTL_MACOSX_LIBS.
7300 AC_DEFUN([gt_INTL_MACOSX],
7301 [
7302 dnl Check for API introduced in MacOS X 10.2.
7303 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
7304 gt_cv_func_CFPreferencesCopyAppValue,
7305 [gt_save_CPPFLAGS="$CPPFLAGS"
7306 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7307 gt_save_LIBS="$LIBS"
7308 LIBS="$LIBS -framework CoreFoundation"
7309 AC_TRY_LINK([#include <CFPreferences.h>],
7310 [CFPreferencesCopyAppValue(NULL, NULL)],
7311 [gt_cv_func_CFPreferencesCopyAppValue=yes],
7312 [gt_cv_func_CFPreferencesCopyAppValue=no])
7313 CPPFLAGS="$gt_save_CPPFLAGS"
7314 LIBS="$gt_save_LIBS"])
7315 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7316 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
7317 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
7318 fi
7319 dnl Check for API introduced in MacOS X 10.3.
7320 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
7321 [gt_save_CPPFLAGS="$CPPFLAGS"
7322 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7323 gt_save_LIBS="$LIBS"
7324 LIBS="$LIBS -framework CoreFoundation"
7325 AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
7326 [gt_cv_func_CFLocaleCopyCurrent=yes],
7327 [gt_cv_func_CFLocaleCopyCurrent=no])
7328 CPPFLAGS="$gt_save_CPPFLAGS"
7329 LIBS="$gt_save_LIBS"])
7330 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7331 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
7332 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
7333 fi
7334 INTL_MACOSX_LIBS=
7335 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7336 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7337 fi
7338 AC_SUBST([INTL_MACOSX_LIBS])
7339 ])
7340
7341
7342 dnl gt_CHECK_DECL(FUNC, INCLUDES)
7343 dnl Check whether a function is declared.
7344 AC_DEFUN([gt_CHECK_DECL],
7345 [
7346 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
7347 [AC_TRY_COMPILE([$2], [
7348 #ifndef $1
7349 char *p = (char *) $1;
7350 #endif
7351 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
7352 if test $ac_cv_have_decl_$1 = yes; then
7353 gt_value=1
7354 else
7355 gt_value=0
7356 fi
7357 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
7358 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
7359 ])
7360
7361
7362 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
7363 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
7364
7365 # po.m4 serial 7 (gettext-0.14.3)
7366 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
7367 dnl This file is free software; the Free Software Foundation
7368 dnl gives unlimited permission to copy and/or distribute it,
7369 dnl with or without modifications, as long as this notice is preserved.
7370 dnl
7371 dnl This file can can be used in projects which are not available under
7372 dnl the GNU General Public License or the GNU Library General Public
7373 dnl License but which still want to provide support for the GNU gettext
7374 dnl functionality.
7375 dnl Please note that the actual code of the GNU gettext library is covered
7376 dnl by the GNU Library General Public License, and the rest of the GNU
7377 dnl gettext package package is covered by the GNU General Public License.
7378 dnl They are *not* in the public domain.
7379
7380 dnl Authors:
7381 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
7382 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
7383
7384 AC_PREREQ(2.50)
7385
7386 dnl Checks for all prerequisites of the po subdirectory.
7387 AC_DEFUN([AM_PO_SUBDIRS],
7388 [
7389 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
7390 AC_REQUIRE([AC_PROG_INSTALL])dnl
7391 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
7392 AC_REQUIRE([AM_NLS])dnl
7393
7394 dnl Perform the following tests also if --disable-nls has been given,
7395 dnl because they are needed for "make dist" to work.
7396
7397 dnl Search for GNU msgfmt in the PATH.
7398 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
7399 dnl The second test excludes FreeBSD msgfmt.
7400 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
7401 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
7402 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
7403 :)
7404 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
7405
7406 dnl Search for GNU xgettext 0.12 or newer in the PATH.
7407 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
7408 dnl The second test excludes FreeBSD xgettext.
7409 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
7410 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
7411 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
7412 :)
7413 dnl Remove leftover from FreeBSD xgettext call.
7414 rm -f messages.po
7415
7416 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
7417 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
7418 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
7419
7420 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
7421 dnl Test whether we really found GNU msgfmt.
7422 if test "$GMSGFMT" != ":"; then
7423 dnl If it is no GNU msgfmt we define it as : so that the
7424 dnl Makefiles still can work.
7425 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
7426 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7427 : ;
7428 else
7429 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7430 AC_MSG_RESULT(
7431 [found $GMSGFMT program is not GNU msgfmt; ignore it])
7432 GMSGFMT=":"
7433 fi
7434 fi
7435
7436 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
7437 dnl Test whether we really found GNU xgettext.
7438 if test "$XGETTEXT" != ":"; then
7439 dnl If it is no GNU xgettext we define it as : so that the
7440 dnl Makefiles still can work.
7441 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
7442 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7443 : ;
7444 else
7445 AC_MSG_RESULT(
7446 [found xgettext program is not GNU xgettext; ignore it])
7447 XGETTEXT=":"
7448 fi
7449 dnl Remove leftover from FreeBSD xgettext call.
7450 rm -f messages.po
7451 fi
7452
7453 AC_OUTPUT_COMMANDS([
7454 for ac_file in $CONFIG_FILES; do
7455 # Support "outfile[:infile[:infile...]]"
7456 case "$ac_file" in
7457 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7458 esac
7459 # PO directories have a Makefile.in generated from Makefile.in.in.
7460 case "$ac_file" in */Makefile.in)
7461 # Adjust a relative srcdir.
7462 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7463 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7464 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7465 # In autoconf-2.13 it is called $ac_given_srcdir.
7466 # In autoconf-2.50 it is called $srcdir.
7467 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7468 case "$ac_given_srcdir" in
7469 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7470 /*) top_srcdir="$ac_given_srcdir" ;;
7471 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7472 esac
7473 # Treat a directory as a PO directory if and only if it has a
7474 # POTFILES.in file. This allows packages to have multiple PO
7475 # directories under different names or in different locations.
7476 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7477 rm -f "$ac_dir/POTFILES"
7478 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7479 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7480 POMAKEFILEDEPS="POTFILES.in"
7481 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
7482 # on $ac_dir but don't depend on user-specified configuration
7483 # parameters.
7484 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7485 # The LINGUAS file contains the set of available languages.
7486 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7487 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7488 fi
7489 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7490 # Hide the ALL_LINGUAS assigment from automake.
7491 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7492 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7493 else
7494 # The set of available languages was given in configure.in.
7495 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7496 fi
7497 # Compute POFILES
7498 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
7499 # Compute UPDATEPOFILES
7500 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
7501 # Compute DUMMYPOFILES
7502 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
7503 # Compute GMOFILES
7504 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
7505 case "$ac_given_srcdir" in
7506 .) srcdirpre= ;;
7507 *) srcdirpre='$(srcdir)/' ;;
7508 esac
7509 POFILES=
7510 UPDATEPOFILES=
7511 DUMMYPOFILES=
7512 GMOFILES=
7513 for lang in $ALL_LINGUAS; do
7514 POFILES="$POFILES $srcdirpre$lang.po"
7515 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7516 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7517 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7518 done
7519 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7520 # environment variable.
7521 INST_LINGUAS=
7522 if test -n "$ALL_LINGUAS"; then
7523 for presentlang in $ALL_LINGUAS; do
7524 useit=no
7525 if test "%UNSET%" != "$LINGUAS"; then
7526 desiredlanguages="$LINGUAS"
7527 else
7528 desiredlanguages="$ALL_LINGUAS"
7529 fi
7530 for desiredlang in $desiredlanguages; do
7531 # Use the presentlang catalog if desiredlang is
7532 # a. equal to presentlang, or
7533 # b. a variant of presentlang (because in this case,
7534 # presentlang can be used as a fallback for messages
7535 # which are not translated in the desiredlang catalog).
7536 case "$desiredlang" in
7537 "$presentlang"*) useit=yes;;
7538 esac
7539 done
7540 if test $useit = yes; then
7541 INST_LINGUAS="$INST_LINGUAS $presentlang"
7542 fi
7543 done
7544 fi
7545 CATALOGS=
7546 if test -n "$INST_LINGUAS"; then
7547 for lang in $INST_LINGUAS; do
7548 CATALOGS="$CATALOGS $lang.gmo"
7549 done
7550 fi
7551 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7552 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7553 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7554 if test -f "$f"; then
7555 case "$f" in
7556 *.orig | *.bak | *~) ;;
7557 *) cat "$f" >> "$ac_dir/Makefile" ;;
7558 esac
7559 fi
7560 done
7561 fi
7562 ;;
7563 esac
7564 done],
7565 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
7566 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7567 # from automake.
7568 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7569 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7570 LINGUAS="${LINGUAS-%UNSET%}"
7571 ])
7572 ])
7573
7574 dnl Postprocesses a Makefile in a directory containing PO files.
7575 AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
7576 [
7577 # When this code is run, in config.status, two variables have already been
7578 # set:
7579 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
7580 # - LINGUAS is the value of the environment variable LINGUAS at configure
7581 # time.
7582
7583 changequote(,)dnl
7584 # Adjust a relative srcdir.
7585 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7586 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7587 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7588 # In autoconf-2.13 it is called $ac_given_srcdir.
7589 # In autoconf-2.50 it is called $srcdir.
7590 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7591 case "$ac_given_srcdir" in
7592 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7593 /*) top_srcdir="$ac_given_srcdir" ;;
7594 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7595 esac
7596
7597 # Find a way to echo strings without interpreting backslash.
7598 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
7599 gt_echo='echo'
7600 else
7601 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
7602 gt_echo='printf %s\n'
7603 else
7604 echo_func () {
7605 cat <<EOT
7606 $*
7607 EOT
7608 }
7609 gt_echo='echo_func'
7610 fi
7611 fi
7612
7613 # A sed script that extracts the value of VARIABLE from a Makefile.
7614 sed_x_variable='
7615 # Test if the hold space is empty.
7616 x
7617 s/P/P/
7618 x
7619 ta
7620 # Yes it was empty. Look if we have the expected variable definition.
7621 /^[ ]*VARIABLE[ ]*=/{
7622 # Seen the first line of the variable definition.
7623 s/^[ ]*VARIABLE[ ]*=//
7624 ba
7625 }
7626 bd
7627 :a
7628 # Here we are processing a line from the variable definition.
7629 # Remove comment, more precisely replace it with a space.
7630 s/#.*$/ /
7631 # See if the line ends in a backslash.
7632 tb
7633 :b
7634 s/\\$//
7635 # Print the line, without the trailing backslash.
7636 p
7637 tc
7638 # There was no trailing backslash. The end of the variable definition is
7639 # reached. Clear the hold space.
7640 s/^.*$//
7641 x
7642 bd
7643 :c
7644 # A trailing backslash means that the variable definition continues in the
7645 # next line. Put a nonempty string into the hold space to indicate this.
7646 s/^.*$/P/
7647 x
7648 :d
7649 '
7650 changequote([,])dnl
7651
7652 # Set POTFILES to the value of the Makefile variable POTFILES.
7653 sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
7654 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
7655 # Compute POTFILES_DEPS as
7656 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
7657 POTFILES_DEPS=
7658 for file in $POTFILES; do
7659 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
7660 done
7661 POMAKEFILEDEPS=""
7662
7663 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7664 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7665 fi
7666 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7667 # The LINGUAS file contains the set of available languages.
7668 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7669 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7670 else
7671 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
7672 sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
7673 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
7674 fi
7675 # Hide the ALL_LINGUAS assigment from automake.
7676 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7677 # Compute POFILES
7678 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
7679 # Compute UPDATEPOFILES
7680 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
7681 # Compute DUMMYPOFILES
7682 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
7683 # Compute GMOFILES
7684 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
7685 # Compute PROPERTIESFILES
7686 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
7687 # Compute CLASSFILES
7688 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
7689 # Compute QMFILES
7690 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
7691 # Compute MSGFILES
7692 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
7693 # Compute RESOURCESDLLFILES
7694 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
7695 case "$ac_given_srcdir" in
7696 .) srcdirpre= ;;
7697 *) srcdirpre='$(srcdir)/' ;;
7698 esac
7699 POFILES=
7700 UPDATEPOFILES=
7701 DUMMYPOFILES=
7702 GMOFILES=
7703 PROPERTIESFILES=
7704 CLASSFILES=
7705 QMFILES=
7706 MSGFILES=
7707 RESOURCESDLLFILES=
7708 for lang in $ALL_LINGUAS; do
7709 POFILES="$POFILES $srcdirpre$lang.po"
7710 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7711 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7712 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7713 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
7714 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
7715 QMFILES="$QMFILES $srcdirpre$lang.qm"
7716 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
7717 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
7718 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
7719 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
7720 done
7721 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7722 # environment variable.
7723 INST_LINGUAS=
7724 if test -n "$ALL_LINGUAS"; then
7725 for presentlang in $ALL_LINGUAS; do
7726 useit=no
7727 if test "%UNSET%" != "$LINGUAS"; then
7728 desiredlanguages="$LINGUAS"
7729 else
7730 desiredlanguages="$ALL_LINGUAS"
7731 fi
7732 for desiredlang in $desiredlanguages; do
7733 # Use the presentlang catalog if desiredlang is
7734 # a. equal to presentlang, or
7735 # b. a variant of presentlang (because in this case,
7736 # presentlang can be used as a fallback for messages
7737 # which are not translated in the desiredlang catalog).
7738 case "$desiredlang" in
7739 "$presentlang"*) useit=yes;;
7740 esac
7741 done
7742 if test $useit = yes; then
7743 INST_LINGUAS="$INST_LINGUAS $presentlang"
7744 fi
7745 done
7746 fi
7747 CATALOGS=
7748 JAVACATALOGS=
7749 QTCATALOGS=
7750 TCLCATALOGS=
7751 CSHARPCATALOGS=
7752 if test -n "$INST_LINGUAS"; then
7753 for lang in $INST_LINGUAS; do
7754 CATALOGS="$CATALOGS $lang.gmo"
7755 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
7756 QTCATALOGS="$QTCATALOGS $lang.qm"
7757 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
7758 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
7759 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
7760 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
7761 done
7762 fi
7763
7764 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
7765 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
7766 # Add dependencies that cannot be formulated as a simple suffix rule.
7767 for lang in $ALL_LINGUAS; do
7768 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
7769 cat >> "$ac_file.tmp" <<EOF
7770 $frobbedlang.msg: $lang.po
7771 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
7772 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
7773 EOF
7774 done
7775 fi
7776 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
7777 # Add dependencies that cannot be formulated as a simple suffix rule.
7778 for lang in $ALL_LINGUAS; do
7779 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
7780 cat >> "$ac_file.tmp" <<EOF
7781 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
7782 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
7783 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
7784 EOF
7785 done
7786 fi
7787 if test -n "$POMAKEFILEDEPS"; then
7788 cat >> "$ac_file.tmp" <<EOF
7789 Makefile: $POMAKEFILEDEPS
7790 EOF
7791 fi
7792 mv "$ac_file.tmp" "$ac_file"
7793 ])
7794
7795 # nls.m4 serial 2 (gettext-0.14.3)
7796 dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc.
7797 dnl This file is free software; the Free Software Foundation
7798 dnl gives unlimited permission to copy and/or distribute it,
7799 dnl with or without modifications, as long as this notice is preserved.
7800 dnl
7801 dnl This file can can be used in projects which are not available under
7802 dnl the GNU General Public License or the GNU Library General Public
7803 dnl License but which still want to provide support for the GNU gettext
7804 dnl functionality.
7805 dnl Please note that the actual code of the GNU gettext library is covered
7806 dnl by the GNU Library General Public License, and the rest of the GNU
7807 dnl gettext package package is covered by the GNU General Public License.
7808 dnl They are *not* in the public domain.
7809
7810 dnl Authors:
7811 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
7812 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
7813
7814 AC_PREREQ(2.50)
7815
7816 AC_DEFUN([AM_NLS],
7817 [
7818 AC_MSG_CHECKING([whether NLS is requested])
7819 dnl Default is enabled NLS
7820 AC_ARG_ENABLE(nls,
7821 [ --disable-nls do not use Native Language Support],
7822 USE_NLS=$enableval, USE_NLS=yes)
7823 AC_MSG_RESULT($USE_NLS)
7824 AC_SUBST(USE_NLS)
7825 ])
7826
7827 AC_DEFUN([AM_MKINSTALLDIRS],
7828 [
7829 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
7830 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
7831 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
7832 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
7833 dnl Try to locate it.
7834 MKINSTALLDIRS=
7835 if test -n "$ac_aux_dir"; then
7836 case "$ac_aux_dir" in
7837 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
7838 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
7839 esac
7840 fi
7841 if test -z "$MKINSTALLDIRS"; then
7842 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7843 fi
7844 AC_SUBST(MKINSTALLDIRS)
7845 ])
7846
7847 # progtest.m4 serial 4 (gettext-0.14.2)
7848 dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
7849 dnl This file is free software; the Free Software Foundation
7850 dnl gives unlimited permission to copy and/or distribute it,
7851 dnl with or without modifications, as long as this notice is preserved.
7852 dnl
7853 dnl This file can can be used in projects which are not available under
7854 dnl the GNU General Public License or the GNU Library General Public
7855 dnl License but which still want to provide support for the GNU gettext
7856 dnl functionality.
7857 dnl Please note that the actual code of the GNU gettext library is covered
7858 dnl by the GNU Library General Public License, and the rest of the GNU
7859 dnl gettext package package is covered by the GNU General Public License.
7860 dnl They are *not* in the public domain.
7861
7862 dnl Authors:
7863 dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
7864
7865 AC_PREREQ(2.50)
7866
7867 # Search path for a program which passes the given test.
7868
7869 dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
7870 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
7871 AC_DEFUN([AM_PATH_PROG_WITH_TEST],
7872 [
7873 # Prepare PATH_SEPARATOR.
7874 # The user is always right.
7875 if test "${PATH_SEPARATOR+set}" != set; then
7876 echo "#! /bin/sh" >conf$$.sh
7877 echo "exit 0" >>conf$$.sh
7878 chmod +x conf$$.sh
7879 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7880 PATH_SEPARATOR=';'
7881 else
7882 PATH_SEPARATOR=:
7883 fi
7884 rm -f conf$$.sh
7885 fi
7886
7887 # Find out how to test for executable files. Don't use a zero-byte file,
7888 # as systems may use methods other than mode bits to determine executability.
7889 cat >conf$$.file <<_ASEOF
7890 #! /bin/sh
7891 exit 0
7892 _ASEOF
7893 chmod +x conf$$.file
7894 if test -x conf$$.file >/dev/null 2>&1; then
7895 ac_executable_p="test -x"
7896 else
7897 ac_executable_p="test -f"
7898 fi
7899 rm -f conf$$.file
7900
7901 # Extract the first word of "$2", so it can be a program name with args.
7902 set dummy $2; ac_word=[$]2
7903 AC_MSG_CHECKING([for $ac_word])
7904 AC_CACHE_VAL(ac_cv_path_$1,
7905 [case "[$]$1" in
7906 [[\\/]]* | ?:[[\\/]]*)
7907 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
7908 ;;
7909 *)
7910 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7911 for ac_dir in ifelse([$5], , $PATH, [$5]); do
7912 IFS="$ac_save_IFS"
7913 test -z "$ac_dir" && ac_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7916 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
7917 if [$3]; then
7918 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
7919 break 2
7920 fi
7921 fi
7922 done
7923 done
7924 IFS="$ac_save_IFS"
7925 dnl If no 4th arg is given, leave the cache variable unset,
7926 dnl so AC_PATH_PROGS will keep looking.
7927 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
7928 ])dnl
7929 ;;
7930 esac])dnl
7931 $1="$ac_cv_path_$1"
7932 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
7933 AC_MSG_RESULT([$]$1)
7934 else
7935 AC_MSG_RESULT(no)
7936 fi
7937 AC_SUBST($1)dnl
7938 ])
7 dnl This program is distributed in the hope that it will be useful,
8 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
9 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10 dnl PARTICULAR PURPOSE.
793911
794012 # lib-prefix.m4 serial 4 (gettext-0.14.2)
794113 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
8756828 AC_LIB_PROG_LD_GNU
8757829 ])
8758830
831 # Do all the work for Automake. This macro actually does too much --
832 # some checks are only needed if your package does certain things.
833 # But this isn't really a big deal.
834
835 # serial 1
836
837 dnl Usage:
838 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
839
840 AC_DEFUN([AM_INIT_AUTOMAKE],
841 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
842 AC_REQUIRE([AC_PROG_INSTALL])
843 PACKAGE=[$1]
844 AC_SUBST(PACKAGE)
845 VERSION=[$2]
846 AC_SUBST(VERSION)
847 dnl test to see if srcdir already configured
848 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
849 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
850 fi
851 ifelse([$3],,
852 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
853 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
854 AC_REQUIRE([AM_SANITY_CHECK])
855 AC_REQUIRE([AC_ARG_PROGRAM])
856 dnl FIXME This is truly gross.
857 missing_dir=`cd $ac_aux_dir && pwd`
858 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
859 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
860 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
861 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
862 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
863 AC_REQUIRE([AC_PROG_MAKE_SET])])
864
865 # Copyright 2002 Free Software Foundation, Inc.
866
867 # This program is free software; you can redistribute it and/or modify
868 # it under the terms of the GNU General Public License as published by
869 # the Free Software Foundation; either version 2, or (at your option)
870 # any later version.
871
872 # This program is distributed in the hope that it will be useful,
873 # but WITHOUT ANY WARRANTY; without even the implied warranty of
874 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
875 # GNU General Public License for more details.
876
877 # You should have received a copy of the GNU General Public License
878 # along with this program; if not, write to the Free Software
879 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
880
881 # AM_AUTOMAKE_VERSION(VERSION)
882 # ----------------------------
883 # Automake X.Y traces this macro to ensure aclocal.m4 has been
884 # generated from the m4 files accompanying Automake X.Y.
885 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
886
887 # AM_SET_CURRENT_AUTOMAKE_VERSION
888 # -------------------------------
889 # Call AM_AUTOMAKE_VERSION so it can be traced.
890 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
891 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
892 [AM_AUTOMAKE_VERSION([1.4-p6])])
893
894 #
895 # Check to make sure that the build environment is sane.
896 #
897
898 AC_DEFUN([AM_SANITY_CHECK],
899 [AC_MSG_CHECKING([whether build environment is sane])
900 # Just in case
901 sleep 1
902 echo timestamp > conftestfile
903 # Do `set' in a subshell so we don't clobber the current shell's
904 # arguments. Must try -L first in case configure is actually a
905 # symlink; some systems play weird games with the mod time of symlinks
906 # (eg FreeBSD returns the mod time of the symlink's containing
907 # directory).
908 if (
909 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
910 if test "[$]*" = "X"; then
911 # -L didn't work.
912 set X `ls -t $srcdir/configure conftestfile`
913 fi
914 if test "[$]*" != "X $srcdir/configure conftestfile" \
915 && test "[$]*" != "X conftestfile $srcdir/configure"; then
916
917 # If neither matched, then we have a broken ls. This can happen
918 # if, for instance, CONFIG_SHELL is bash and it inherits a
919 # broken ls alias from the environment. This has actually
920 # happened. Such a system could not be considered "sane".
921 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
922 alias in your environment])
923 fi
924
925 test "[$]2" = conftestfile
926 )
927 then
928 # Ok.
929 :
930 else
931 AC_MSG_ERROR([newly created file is older than distributed files!
932 Check your system clock])
933 fi
934 rm -f conftest*
935 AC_MSG_RESULT(yes)])
936
937 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
938 dnl The program must properly implement --version.
939 AC_DEFUN([AM_MISSING_PROG],
940 [AC_MSG_CHECKING(for working $2)
941 # Run test in a subshell; some versions of sh will print an error if
942 # an executable is not found, even if stderr is redirected.
943 # Redirect stdin to placate older versions of autoconf. Sigh.
944 if ($2 --version) < /dev/null > /dev/null 2>&1; then
945 $1=$2
946 AC_MSG_RESULT(found)
947 else
948 $1="$3/missing $2"
949 AC_MSG_RESULT(missing)
950 fi
951 AC_SUBST($1)])
952
953 # Add --enable-maintainer-mode option to configure.
954 # From Jim Meyering
955
956 # serial 1
957
958 AC_DEFUN([AM_MAINTAINER_MODE],
959 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
960 dnl maintainer-mode is disabled by default
961 AC_ARG_ENABLE(maintainer-mode,
962 [ --enable-maintainer-mode enable make rules and dependencies not useful
963 (and sometimes confusing) to the casual installer],
964 USE_MAINTAINER_MODE=$enableval,
965 USE_MAINTAINER_MODE=no)
966 AC_MSG_RESULT($USE_MAINTAINER_MODE)
967 AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes)
968 MAINT=$MAINTAINER_MODE_TRUE
969 AC_SUBST(MAINT)dnl
970 ]
971 )
972
973 # Define a conditional.
974
975 AC_DEFUN([AM_CONDITIONAL],
976 [AC_SUBST($1_TRUE)
977 AC_SUBST($1_FALSE)
978 if $2; then
979 $1_TRUE=
980 $1_FALSE='#'
981 else
982 $1_TRUE='#'
983 $1_FALSE=
984 fi])
985
986 # isc-posix.m4 serial 2 (gettext-0.11.2)
987 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
988 dnl This file is free software; the Free Software Foundation
989 dnl gives unlimited permission to copy and/or distribute it,
990 dnl with or without modifications, as long as this notice is preserved.
991
992 # This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
993
994 # This test replaces the one in autoconf.
995 # Currently this macro should have the same name as the autoconf macro
996 # because gettext's gettext.m4 (distributed in the automake package)
997 # still uses it. Otherwise, the use in gettext.m4 makes autoheader
998 # give these diagnostics:
999 # configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
1000 # configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
1001
1002 undefine([AC_ISC_POSIX])
1003
1004 AC_DEFUN([AC_ISC_POSIX],
1005 [
1006 dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
1007 AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
1008 ]
1009 )
1010
1011 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1012
1013 # serial 47 Debian 1.5.20-2 AC_PROG_LIBTOOL
1014
1015
1016 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1017 # -----------------------------------------------------------
1018 # If this macro is not defined by Autoconf, define it here.
1019 m4_ifdef([AC_PROVIDE_IFELSE],
1020 [],
1021 [m4_define([AC_PROVIDE_IFELSE],
1022 [m4_ifdef([AC_PROVIDE_$1],
1023 [$2], [$3])])])
1024
1025
1026 # AC_PROG_LIBTOOL
1027 # ---------------
1028 AC_DEFUN([AC_PROG_LIBTOOL],
1029 [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
1030 dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
1031 dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
1032 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1033 [AC_LIBTOOL_CXX],
1034 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
1035 ])])
1036 dnl And a similar setup for Fortran 77 support
1037 AC_PROVIDE_IFELSE([AC_PROG_F77],
1038 [AC_LIBTOOL_F77],
1039 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
1040 ])])
1041
1042 dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
1043 dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
1044 dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
1045 AC_PROVIDE_IFELSE([AC_PROG_GCJ],
1046 [AC_LIBTOOL_GCJ],
1047 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
1048 [AC_LIBTOOL_GCJ],
1049 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
1050 [AC_LIBTOOL_GCJ],
1051 [ifdef([AC_PROG_GCJ],
1052 [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
1053 ifdef([A][M_PROG_GCJ],
1054 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
1055 ifdef([LT_AC_PROG_GCJ],
1056 [define([LT_AC_PROG_GCJ],
1057 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
1058 ])])# AC_PROG_LIBTOOL
1059
1060
1061 # _AC_PROG_LIBTOOL
1062 # ----------------
1063 AC_DEFUN([_AC_PROG_LIBTOOL],
1064 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
1065 AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
1066 AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
1067 AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
1068
1069 # This can be used to rebuild libtool when needed
1070 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
1071
1072 # Always use our own libtool.
1073 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1074 AC_SUBST(LIBTOOL)dnl
1075
1076 # Prevent multiple expansion
1077 define([AC_PROG_LIBTOOL], [])
1078 ])# _AC_PROG_LIBTOOL
1079
1080
1081 # AC_LIBTOOL_SETUP
1082 # ----------------
1083 AC_DEFUN([AC_LIBTOOL_SETUP],
1084 [AC_PREREQ(2.50)dnl
1085 AC_REQUIRE([AC_ENABLE_SHARED])dnl
1086 AC_REQUIRE([AC_ENABLE_STATIC])dnl
1087 AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
1088 AC_REQUIRE([AC_CANONICAL_HOST])dnl
1089 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1090 AC_REQUIRE([AC_PROG_CC])dnl
1091 AC_REQUIRE([AC_PROG_LD])dnl
1092 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
1093 AC_REQUIRE([AC_PROG_NM])dnl
1094
1095 AC_REQUIRE([AC_PROG_LN_S])dnl
1096 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
1097 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1098 AC_REQUIRE([AC_OBJEXT])dnl
1099 AC_REQUIRE([AC_EXEEXT])dnl
1100 dnl
1101
1102 AC_LIBTOOL_SYS_MAX_CMD_LEN
1103 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1104 AC_LIBTOOL_OBJDIR
1105
1106 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1107 _LT_AC_PROG_ECHO_BACKSLASH
1108
1109 case $host_os in
1110 aix3*)
1111 # AIX sometimes has problems with the GCC collect2 program. For some
1112 # reason, if we set the COLLECT_NAMES environment variable, the problems
1113 # vanish in a puff of smoke.
1114 if test "X${COLLECT_NAMES+set}" != Xset; then
1115 COLLECT_NAMES=
1116 export COLLECT_NAMES
1117 fi
1118 ;;
1119 esac
1120
1121 # Sed substitution that helps us do robust quoting. It backslashifies
1122 # metacharacters that are still active within double-quoted strings.
1123 Xsed='sed -e 1s/^X//'
1124 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
1125
1126 # Same as above, but do not quote variable references.
1127 [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
1128
1129 # Sed substitution to delay expansion of an escaped shell variable in a
1130 # double_quote_subst'ed string.
1131 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1132
1133 # Sed substitution to avoid accidental globbing in evaled expressions
1134 no_glob_subst='s/\*/\\\*/g'
1135
1136 # Constants:
1137 rm="rm -f"
1138
1139 # Global variables:
1140 default_ofile=libtool
1141 can_build_shared=yes
1142
1143 # All known linkers require a `.a' archive for static linking (except MSVC,
1144 # which needs '.lib').
1145 libext=a
1146 ltmain="$ac_aux_dir/ltmain.sh"
1147 ofile="$default_ofile"
1148 with_gnu_ld="$lt_cv_prog_gnu_ld"
1149
1150 AC_CHECK_TOOL(AR, ar, false)
1151 AC_CHECK_TOOL(RANLIB, ranlib, :)
1152 AC_CHECK_TOOL(STRIP, strip, :)
1153
1154 old_CC="$CC"
1155 old_CFLAGS="$CFLAGS"
1156
1157 # Set sane defaults for various variables
1158 test -z "$AR" && AR=ar
1159 test -z "$AR_FLAGS" && AR_FLAGS=cru
1160 test -z "$AS" && AS=as
1161 test -z "$CC" && CC=cc
1162 test -z "$LTCC" && LTCC=$CC
1163 test -z "$DLLTOOL" && DLLTOOL=dlltool
1164 test -z "$LD" && LD=ld
1165 test -z "$LN_S" && LN_S="ln -s"
1166 test -z "$MAGIC_CMD" && MAGIC_CMD=file
1167 test -z "$NM" && NM=nm
1168 test -z "$SED" && SED=sed
1169 test -z "$OBJDUMP" && OBJDUMP=objdump
1170 test -z "$RANLIB" && RANLIB=:
1171 test -z "$STRIP" && STRIP=:
1172 test -z "$ac_objext" && ac_objext=o
1173
1174 # Determine commands to create old-style static archives.
1175 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1176 old_postinstall_cmds='chmod 644 $oldlib'
1177 old_postuninstall_cmds=
1178
1179 if test -n "$RANLIB"; then
1180 case $host_os in
1181 openbsd*)
1182 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1183 ;;
1184 *)
1185 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1186 ;;
1187 esac
1188 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1189 fi
1190
1191 _LT_CC_BASENAME([$compiler])
1192
1193 # Only perform the check for file, if the check method requires it
1194 case $deplibs_check_method in
1195 file_magic*)
1196 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1197 AC_PATH_MAGIC
1198 fi
1199 ;;
1200 esac
1201
1202 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1203 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1204 enable_win32_dll=yes, enable_win32_dll=no)
1205
1206 AC_ARG_ENABLE([libtool-lock],
1207 [AC_HELP_STRING([--disable-libtool-lock],
1208 [avoid locking (might break parallel builds)])])
1209 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1210
1211 AC_ARG_WITH([pic],
1212 [AC_HELP_STRING([--with-pic],
1213 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
1214 [pic_mode="$withval"],
1215 [pic_mode=default])
1216 test -z "$pic_mode" && pic_mode=default
1217
1218 # Use C for the default configuration in the libtool script
1219 tagname=
1220 AC_LIBTOOL_LANG_C_CONFIG
1221 _LT_AC_TAGCONFIG
1222 ])# AC_LIBTOOL_SETUP
1223
1224
1225 # _LT_AC_SYS_COMPILER
1226 # -------------------
1227 AC_DEFUN([_LT_AC_SYS_COMPILER],
1228 [AC_REQUIRE([AC_PROG_CC])dnl
1229
1230 # If no C compiler was specified, use CC.
1231 LTCC=${LTCC-"$CC"}
1232
1233 # Allow CC to be a program name with arguments.
1234 compiler=$CC
1235 ])# _LT_AC_SYS_COMPILER
1236
1237
1238 # _LT_CC_BASENAME(CC)
1239 # -------------------
1240 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1241 AC_DEFUN([_LT_CC_BASENAME],
1242 [for cc_temp in $1""; do
1243 case $cc_temp in
1244 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1245 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1246 \-*) ;;
1247 *) break;;
1248 esac
1249 done
1250 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1251 ])
1252
1253
1254 # _LT_COMPILER_BOILERPLATE
1255 # ------------------------
1256 # Check for compiler boilerplate output or warnings with
1257 # the simple compiler test code.
1258 AC_DEFUN([_LT_COMPILER_BOILERPLATE],
1259 [ac_outfile=conftest.$ac_objext
1260 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1261 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1262 _lt_compiler_boilerplate=`cat conftest.err`
1263 $rm conftest*
1264 ])# _LT_COMPILER_BOILERPLATE
1265
1266
1267 # _LT_LINKER_BOILERPLATE
1268 # ----------------------
1269 # Check for linker boilerplate output or warnings with
1270 # the simple link test code.
1271 AC_DEFUN([_LT_LINKER_BOILERPLATE],
1272 [ac_outfile=conftest.$ac_objext
1273 printf "$lt_simple_link_test_code" >conftest.$ac_ext
1274 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
1275 _lt_linker_boilerplate=`cat conftest.err`
1276 $rm conftest*
1277 ])# _LT_LINKER_BOILERPLATE
1278
1279
1280 # _LT_AC_SYS_LIBPATH_AIX
1281 # ----------------------
1282 # Links a minimal program and checks the executable
1283 # for the system default hardcoded library path. In most cases,
1284 # this is /usr/lib:/lib, but when the MPI compilers are used
1285 # the location of the communication and MPI libs are included too.
1286 # If we don't find anything, use the default library path according
1287 # to the aix ld manual.
1288 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
1289 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1290 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1291 }'`
1292 # Check for a 64-bit object if we didn't find anything.
1293 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1294 }'`; fi],[])
1295 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1296 ])# _LT_AC_SYS_LIBPATH_AIX
1297
1298
1299 # _LT_AC_SHELL_INIT(ARG)
1300 # ----------------------
1301 AC_DEFUN([_LT_AC_SHELL_INIT],
1302 [ifdef([AC_DIVERSION_NOTICE],
1303 [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1304 [AC_DIVERT_PUSH(NOTICE)])
1305 $1
1306 AC_DIVERT_POP
1307 ])# _LT_AC_SHELL_INIT
1308
1309
1310 # _LT_AC_PROG_ECHO_BACKSLASH
1311 # --------------------------
1312 # Add some code to the start of the generated configure script which
1313 # will find an echo command which doesn't interpret backslashes.
1314 AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
1315 [_LT_AC_SHELL_INIT([
1316 # Check that we are running under the correct shell.
1317 SHELL=${CONFIG_SHELL-/bin/sh}
1318
1319 case X$ECHO in
1320 X*--fallback-echo)
1321 # Remove one level of quotation (which was required for Make).
1322 ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1323 ;;
1324 esac
1325
1326 echo=${ECHO-echo}
1327 if test "X[$]1" = X--no-reexec; then
1328 # Discard the --no-reexec flag, and continue.
1329 shift
1330 elif test "X[$]1" = X--fallback-echo; then
1331 # Avoid inline document here, it may be left over
1332 :
1333 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1334 # Yippee, $echo works!
1335 :
1336 else
1337 # Restart under the correct shell.
1338 exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1339 fi
1340
1341 if test "X[$]1" = X--fallback-echo; then
1342 # used as fallback echo
1343 shift
1344 cat <<EOF
1345 [$]*
1346 EOF
1347 exit 0
1348 fi
1349
1350 # The HP-UX ksh and POSIX shell print the target directory to stdout
1351 # if CDPATH is set.
1352 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1353
1354 if test -z "$ECHO"; then
1355 if test "X${echo_test_string+set}" != Xset; then
1356 # find a string as large as possible, as long as the shell can cope with it
1357 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1358 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1359 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
1360 echo_test_string=`eval $cmd` &&
1361 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1362 then
1363 break
1364 fi
1365 done
1366 fi
1367
1368 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1369 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1370 test "X$echo_testing_string" = "X$echo_test_string"; then
1371 :
1372 else
1373 # The Solaris, AIX, and Digital Unix default echo programs unquote
1374 # backslashes. This makes it impossible to quote backslashes using
1375 # echo "$something" | sed 's/\\/\\\\/g'
1376 #
1377 # So, first we look for a working echo in the user's PATH.
1378
1379 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1380 for dir in $PATH /usr/ucb; do
1381 IFS="$lt_save_ifs"
1382 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1383 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1384 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1385 test "X$echo_testing_string" = "X$echo_test_string"; then
1386 echo="$dir/echo"
1387 break
1388 fi
1389 done
1390 IFS="$lt_save_ifs"
1391
1392 if test "X$echo" = Xecho; then
1393 # We didn't find a better echo, so look for alternatives.
1394 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
1395 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
1396 test "X$echo_testing_string" = "X$echo_test_string"; then
1397 # This shell has a builtin print -r that does the trick.
1398 echo='print -r'
1399 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
1400 test "X$CONFIG_SHELL" != X/bin/ksh; then
1401 # If we have ksh, try running configure again with it.
1402 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1403 export ORIGINAL_CONFIG_SHELL
1404 CONFIG_SHELL=/bin/ksh
1405 export CONFIG_SHELL
1406 exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1407 else
1408 # Try using printf.
1409 echo='printf %s\n'
1410 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1411 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1412 test "X$echo_testing_string" = "X$echo_test_string"; then
1413 # Cool, printf works
1414 :
1415 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1416 test "X$echo_testing_string" = 'X\t' &&
1417 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1418 test "X$echo_testing_string" = "X$echo_test_string"; then
1419 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1420 export CONFIG_SHELL
1421 SHELL="$CONFIG_SHELL"
1422 export SHELL
1423 echo="$CONFIG_SHELL [$]0 --fallback-echo"
1424 elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1425 test "X$echo_testing_string" = 'X\t' &&
1426 echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1427 test "X$echo_testing_string" = "X$echo_test_string"; then
1428 echo="$CONFIG_SHELL [$]0 --fallback-echo"
1429 else
1430 # maybe with a smaller string...
1431 prev=:
1432
1433 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1434 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1435 then
1436 break
1437 fi
1438 prev="$cmd"
1439 done
1440
1441 if test "$prev" != 'sed 50q "[$]0"'; then
1442 echo_test_string=`eval $prev`
1443 export echo_test_string
1444 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1445 else
1446 # Oops. We lost completely, so just stick with echo.
1447 echo=echo
1448 fi
1449 fi
1450 fi
1451 fi
1452 fi
1453 fi
1454
1455 # Copy echo and quote the copy suitably for passing to libtool from
1456 # the Makefile, instead of quoting the original, which is used later.
1457 ECHO=$echo
1458 if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1459 ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1460 fi
1461
1462 AC_SUBST(ECHO)
1463 ])])# _LT_AC_PROG_ECHO_BACKSLASH
1464
1465
1466 # _LT_AC_LOCK
1467 # -----------
1468 AC_DEFUN([_LT_AC_LOCK],
1469 [AC_ARG_ENABLE([libtool-lock],
1470 [AC_HELP_STRING([--disable-libtool-lock],
1471 [avoid locking (might break parallel builds)])])
1472 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1473
1474 # Some flags need to be propagated to the compiler or linker for good
1475 # libtool support.
1476 case $host in
1477 ia64-*-hpux*)
1478 # Find out which ABI we are using.
1479 echo 'int i;' > conftest.$ac_ext
1480 if AC_TRY_EVAL(ac_compile); then
1481 case `/usr/bin/file conftest.$ac_objext` in
1482 *ELF-32*)
1483 HPUX_IA64_MODE="32"
1484 ;;
1485 *ELF-64*)
1486 HPUX_IA64_MODE="64"
1487 ;;
1488 esac
1489 fi
1490 rm -rf conftest*
1491 ;;
1492 *-*-irix6*)
1493 # Find out which ABI we are using.
1494 echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1495 if AC_TRY_EVAL(ac_compile); then
1496 if test "$lt_cv_prog_gnu_ld" = yes; then
1497 case `/usr/bin/file conftest.$ac_objext` in
1498 *32-bit*)
1499 LD="${LD-ld} -melf32bsmip"
1500 ;;
1501 *N32*)
1502 LD="${LD-ld} -melf32bmipn32"
1503 ;;
1504 *64-bit*)
1505 LD="${LD-ld} -melf64bmip"
1506 ;;
1507 esac
1508 else
1509 case `/usr/bin/file conftest.$ac_objext` in
1510 *32-bit*)
1511 LD="${LD-ld} -32"
1512 ;;
1513 *N32*)
1514 LD="${LD-ld} -n32"
1515 ;;
1516 *64-bit*)
1517 LD="${LD-ld} -64"
1518 ;;
1519 esac
1520 fi
1521 fi
1522 rm -rf conftest*
1523 ;;
1524
1525 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1526 # Find out which ABI we are using.
1527 echo 'int i;' > conftest.$ac_ext
1528 if AC_TRY_EVAL(ac_compile); then
1529 case `/usr/bin/file conftest.o` in
1530 *32-bit*)
1531 case $host in
1532 x86_64-*linux*)
1533 LD="${LD-ld} -m elf_i386"
1534 ;;
1535 ppc64-*linux*|powerpc64-*linux*)
1536 LD="${LD-ld} -m elf32ppclinux"
1537 ;;
1538 s390x-*linux*)
1539 LD="${LD-ld} -m elf_s390"
1540 ;;
1541 sparc64-*linux*)
1542 LD="${LD-ld} -m elf32_sparc"
1543 ;;
1544 esac
1545 ;;
1546 *64-bit*)
1547 case $host in
1548 x86_64-*linux*)
1549 LD="${LD-ld} -m elf_x86_64"
1550 ;;
1551 ppc*-*linux*|powerpc*-*linux*)
1552 LD="${LD-ld} -m elf64ppc"
1553 ;;
1554 s390*-*linux*)
1555 LD="${LD-ld} -m elf64_s390"
1556 ;;
1557 sparc*-*linux*)
1558 LD="${LD-ld} -m elf64_sparc"
1559 ;;
1560 esac
1561 ;;
1562 esac
1563 fi
1564 rm -rf conftest*
1565 ;;
1566
1567 *-*-sco3.2v5*)
1568 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1569 SAVE_CFLAGS="$CFLAGS"
1570 CFLAGS="$CFLAGS -belf"
1571 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1572 [AC_LANG_PUSH(C)
1573 AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1574 AC_LANG_POP])
1575 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1576 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1577 CFLAGS="$SAVE_CFLAGS"
1578 fi
1579 ;;
1580 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1581 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1582 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1583 AC_CHECK_TOOL(AS, as, false)
1584 AC_CHECK_TOOL(OBJDUMP, objdump, false)
1585 ;;
1586 ])
1587 esac
1588
1589 need_locks="$enable_libtool_lock"
1590
1591 ])# _LT_AC_LOCK
1592
1593
1594 # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1595 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1596 # ----------------------------------------------------------------
1597 # Check whether the given compiler option works
1598 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
1599 [AC_REQUIRE([LT_AC_PROG_SED])
1600 AC_CACHE_CHECK([$1], [$2],
1601 [$2=no
1602 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1603 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1604 lt_compiler_flag="$3"
1605 # Insert the option either (1) after the last *FLAGS variable, or
1606 # (2) before a word containing "conftest.", or (3) at the end.
1607 # Note that $ac_compile itself does not contain backslashes and begins
1608 # with a dollar sign (not a hyphen), so the echo should work correctly.
1609 # The option is referenced via a variable to avoid confusing sed.
1610 lt_compile=`echo "$ac_compile" | $SED \
1611 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1612 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1613 -e 's:$: $lt_compiler_flag:'`
1614 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1615 (eval "$lt_compile" 2>conftest.err)
1616 ac_status=$?
1617 cat conftest.err >&AS_MESSAGE_LOG_FD
1618 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1619 if (exit $ac_status) && test -s "$ac_outfile"; then
1620 # The compiler can only warn and ignore the option if not recognized
1621 # So say no if there are warnings other than the usual output.
1622 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
1623 $SED '/^$/d' conftest.err >conftest.er2
1624 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1625 $2=yes
1626 fi
1627 fi
1628 $rm conftest*
1629 ])
1630
1631 if test x"[$]$2" = xyes; then
1632 ifelse([$5], , :, [$5])
1633 else
1634 ifelse([$6], , :, [$6])
1635 fi
1636 ])# AC_LIBTOOL_COMPILER_OPTION
1637
1638
1639 # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1640 # [ACTION-SUCCESS], [ACTION-FAILURE])
1641 # ------------------------------------------------------------
1642 # Check whether the given compiler option works
1643 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
1644 [AC_CACHE_CHECK([$1], [$2],
1645 [$2=no
1646 save_LDFLAGS="$LDFLAGS"
1647 LDFLAGS="$LDFLAGS $3"
1648 printf "$lt_simple_link_test_code" > conftest.$ac_ext
1649 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1650 # The linker can only warn and ignore the option if not recognized
1651 # So say no if there are warnings
1652 if test -s conftest.err; then
1653 # Append any errors to the config.log.
1654 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1655 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
1656 $SED '/^$/d' conftest.err >conftest.er2
1657 if diff conftest.exp conftest.er2 >/dev/null; then
1658 $2=yes
1659 fi
1660 else
1661 $2=yes
1662 fi
1663 fi
1664 $rm conftest*
1665 LDFLAGS="$save_LDFLAGS"
1666 ])
1667
1668 if test x"[$]$2" = xyes; then
1669 ifelse([$4], , :, [$4])
1670 else
1671 ifelse([$5], , :, [$5])
1672 fi
1673 ])# AC_LIBTOOL_LINKER_OPTION
1674
1675
1676 # AC_LIBTOOL_SYS_MAX_CMD_LEN
1677 # --------------------------
1678 AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
1679 [# find the maximum length of command line arguments
1680 AC_MSG_CHECKING([the maximum length of command line arguments])
1681 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1682 i=0
1683 teststring="ABCD"
1684
1685 case $build_os in
1686 msdosdjgpp*)
1687 # On DJGPP, this test can blow up pretty badly due to problems in libc
1688 # (any single argument exceeding 2000 bytes causes a buffer overrun
1689 # during glob expansion). Even if it were fixed, the result of this
1690 # check would be larger than it should be.
1691 lt_cv_sys_max_cmd_len=12288; # 12K is about right
1692 ;;
1693
1694 gnu*)
1695 # Under GNU Hurd, this test is not required because there is
1696 # no limit to the length of command line arguments.
1697 # Libtool will interpret -1 as no limit whatsoever
1698 lt_cv_sys_max_cmd_len=-1;
1699 ;;
1700
1701 cygwin* | mingw*)
1702 # On Win9x/ME, this test blows up -- it succeeds, but takes
1703 # about 5 minutes as the teststring grows exponentially.
1704 # Worse, since 9x/ME are not pre-emptively multitasking,
1705 # you end up with a "frozen" computer, even though with patience
1706 # the test eventually succeeds (with a max line length of 256k).
1707 # Instead, let's just punt: use the minimum linelength reported by
1708 # all of the supported platforms: 8192 (on NT/2K/XP).
1709 lt_cv_sys_max_cmd_len=8192;
1710 ;;
1711
1712 amigaos*)
1713 # On AmigaOS with pdksh, this test takes hours, literally.
1714 # So we just punt and use a minimum line length of 8192.
1715 lt_cv_sys_max_cmd_len=8192;
1716 ;;
1717
1718 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1719 # This has been around since 386BSD, at least. Likely further.
1720 if test -x /sbin/sysctl; then
1721 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1722 elif test -x /usr/sbin/sysctl; then
1723 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1724 else
1725 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1726 fi
1727 # And add a safety zone
1728 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1729 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1730 ;;
1731 osf*)
1732 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1733 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1734 # nice to cause kernel panics so lets avoid the loop below.
1735 # First set a reasonable default.
1736 lt_cv_sys_max_cmd_len=16384
1737 #
1738 if test -x /sbin/sysconfig; then
1739 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1740 *1*) lt_cv_sys_max_cmd_len=-1 ;;
1741 esac
1742 fi
1743 ;;
1744 *)
1745 # If test is not a shell built-in, we'll probably end up computing a
1746 # maximum length that is only half of the actual maximum length, but
1747 # we can't tell.
1748 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1749 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1750 = "XX$teststring") >/dev/null 2>&1 &&
1751 new_result=`expr "X$teststring" : ".*" 2>&1` &&
1752 lt_cv_sys_max_cmd_len=$new_result &&
1753 test $i != 17 # 1/2 MB should be enough
1754 do
1755 i=`expr $i + 1`
1756 teststring=$teststring$teststring
1757 done
1758 teststring=
1759 # Add a significant safety factor because C++ compilers can tack on massive
1760 # amounts of additional arguments before passing them to the linker.
1761 # It appears as though 1/2 is a usable value.
1762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1763 ;;
1764 esac
1765 ])
1766 if test -n $lt_cv_sys_max_cmd_len ; then
1767 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1768 else
1769 AC_MSG_RESULT(none)
1770 fi
1771 ])# AC_LIBTOOL_SYS_MAX_CMD_LEN
1772
1773
1774 # _LT_AC_CHECK_DLFCN
1775 # --------------------
1776 AC_DEFUN([_LT_AC_CHECK_DLFCN],
1777 [AC_CHECK_HEADERS(dlfcn.h)dnl
1778 ])# _LT_AC_CHECK_DLFCN
1779
1780
1781 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1782 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1783 # ------------------------------------------------------------------
1784 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1785 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1786 if test "$cross_compiling" = yes; then :
1787 [$4]
1788 else
1789 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1790 lt_status=$lt_dlunknown
1791 cat > conftest.$ac_ext <<EOF
1792 [#line __oline__ "configure"
1793 #include "confdefs.h"
1794
1795 #if HAVE_DLFCN_H
1796 #include <dlfcn.h>
1797 #endif
1798
1799 #include <stdio.h>
1800
1801 #ifdef RTLD_GLOBAL
1802 # define LT_DLGLOBAL RTLD_GLOBAL
1803 #else
1804 # ifdef DL_GLOBAL
1805 # define LT_DLGLOBAL DL_GLOBAL
1806 # else
1807 # define LT_DLGLOBAL 0
1808 # endif
1809 #endif
1810
1811 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1812 find out it does not work in some platform. */
1813 #ifndef LT_DLLAZY_OR_NOW
1814 # ifdef RTLD_LAZY
1815 # define LT_DLLAZY_OR_NOW RTLD_LAZY
1816 # else
1817 # ifdef DL_LAZY
1818 # define LT_DLLAZY_OR_NOW DL_LAZY
1819 # else
1820 # ifdef RTLD_NOW
1821 # define LT_DLLAZY_OR_NOW RTLD_NOW
1822 # else
1823 # ifdef DL_NOW
1824 # define LT_DLLAZY_OR_NOW DL_NOW
1825 # else
1826 # define LT_DLLAZY_OR_NOW 0
1827 # endif
1828 # endif
1829 # endif
1830 # endif
1831 #endif
1832
1833 #ifdef __cplusplus
1834 extern "C" void exit (int);
1835 #endif
1836
1837 void fnord() { int i=42;}
1838 int main ()
1839 {
1840 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1841 int status = $lt_dlunknown;
1842
1843 if (self)
1844 {
1845 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
1846 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1847 /* dlclose (self); */
1848 }
1849
1850 exit (status);
1851 }]
1852 EOF
1853 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1854 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1855 lt_status=$?
1856 case x$lt_status in
1857 x$lt_dlno_uscore) $1 ;;
1858 x$lt_dlneed_uscore) $2 ;;
1859 x$lt_unknown|x*) $3 ;;
1860 esac
1861 else :
1862 # compilation failed
1863 $3
1864 fi
1865 fi
1866 rm -fr conftest*
1867 ])# _LT_AC_TRY_DLOPEN_SELF
1868
1869
1870 # AC_LIBTOOL_DLOPEN_SELF
1871 # -------------------
1872 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1873 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1874 if test "x$enable_dlopen" != xyes; then
1875 enable_dlopen=unknown
1876 enable_dlopen_self=unknown
1877 enable_dlopen_self_static=unknown
1878 else
1879 lt_cv_dlopen=no
1880 lt_cv_dlopen_libs=
1881
1882 case $host_os in
1883 beos*)
1884 lt_cv_dlopen="load_add_on"
1885 lt_cv_dlopen_libs=
1886 lt_cv_dlopen_self=yes
1887 ;;
1888
1889 mingw* | pw32*)
1890 lt_cv_dlopen="LoadLibrary"
1891 lt_cv_dlopen_libs=
1892 ;;
1893
1894 cygwin*)
1895 lt_cv_dlopen="dlopen"
1896 lt_cv_dlopen_libs=
1897 ;;
1898
1899 darwin*)
1900 # if libdl is installed we need to link against it
1901 AC_CHECK_LIB([dl], [dlopen],
1902 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1903 lt_cv_dlopen="dyld"
1904 lt_cv_dlopen_libs=
1905 lt_cv_dlopen_self=yes
1906 ])
1907 ;;
1908
1909 *)
1910 AC_CHECK_FUNC([shl_load],
1911 [lt_cv_dlopen="shl_load"],
1912 [AC_CHECK_LIB([dld], [shl_load],
1913 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1914 [AC_CHECK_FUNC([dlopen],
1915 [lt_cv_dlopen="dlopen"],
1916 [AC_CHECK_LIB([dl], [dlopen],
1917 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1918 [AC_CHECK_LIB([svld], [dlopen],
1919 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1920 [AC_CHECK_LIB([dld], [dld_link],
1921 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1922 ])
1923 ])
1924 ])
1925 ])
1926 ])
1927 ;;
1928 esac
1929
1930 if test "x$lt_cv_dlopen" != xno; then
1931 enable_dlopen=yes
1932 else
1933 enable_dlopen=no
1934 fi
1935
1936 case $lt_cv_dlopen in
1937 dlopen)
1938 save_CPPFLAGS="$CPPFLAGS"
1939 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1940
1941 save_LDFLAGS="$LDFLAGS"
1942 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1943
1944 save_LIBS="$LIBS"
1945 LIBS="$lt_cv_dlopen_libs $LIBS"
1946
1947 AC_CACHE_CHECK([whether a program can dlopen itself],
1948 lt_cv_dlopen_self, [dnl
1949 _LT_AC_TRY_DLOPEN_SELF(
1950 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1951 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1952 ])
1953
1954 if test "x$lt_cv_dlopen_self" = xyes; then
1955 LDFLAGS="$LDFLAGS $link_static_flag"
1956 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1957 lt_cv_dlopen_self_static, [dnl
1958 _LT_AC_TRY_DLOPEN_SELF(
1959 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1960 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1961 ])
1962 fi
1963
1964 CPPFLAGS="$save_CPPFLAGS"
1965 LDFLAGS="$save_LDFLAGS"
1966 LIBS="$save_LIBS"
1967 ;;
1968 esac
1969
1970 case $lt_cv_dlopen_self in
1971 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1972 *) enable_dlopen_self=unknown ;;
1973 esac
1974
1975 case $lt_cv_dlopen_self_static in
1976 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1977 *) enable_dlopen_self_static=unknown ;;
1978 esac
1979 fi
1980 ])# AC_LIBTOOL_DLOPEN_SELF
1981
1982
1983 # AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1984 # ---------------------------------
1985 # Check to see if options -c and -o are simultaneously supported by compiler
1986 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1987 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1988 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1989 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1990 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1991 $rm -r conftest 2>/dev/null
1992 mkdir conftest
1993 cd conftest
1994 mkdir out
1995 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1996
1997 lt_compiler_flag="-o out/conftest2.$ac_objext"
1998 # Insert the option either (1) after the last *FLAGS variable, or
1999 # (2) before a word containing "conftest.", or (3) at the end.
2000 # Note that $ac_compile itself does not contain backslashes and begins
2001 # with a dollar sign (not a hyphen), so the echo should work correctly.
2002 lt_compile=`echo "$ac_compile" | $SED \
2003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2004 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2005 -e 's:$: $lt_compiler_flag:'`
2006 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2007 (eval "$lt_compile" 2>out/conftest.err)
2008 ac_status=$?
2009 cat out/conftest.err >&AS_MESSAGE_LOG_FD
2010 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2011 if (exit $ac_status) && test -s out/conftest2.$ac_objext
2012 then
2013 # The compiler can only warn and ignore the option if not recognized
2014 # So say no if there are warnings
2015 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
2016 $SED '/^$/d' out/conftest.err >out/conftest.er2
2017 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2018 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2019 fi
2020 fi
2021 chmod u+w . 2>&AS_MESSAGE_LOG_FD
2022 $rm conftest*
2023 # SGI C++ compiler will create directory out/ii_files/ for
2024 # template instantiation
2025 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
2026 $rm out/* && rmdir out
2027 cd ..
2028 rmdir conftest
2029 $rm conftest*
2030 ])
2031 ])# AC_LIBTOOL_PROG_CC_C_O
2032
2033
2034 # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
2035 # -----------------------------------------
2036 # Check to see if we can do hard links to lock some files if needed
2037 AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
2038 [AC_REQUIRE([_LT_AC_LOCK])dnl
2039
2040 hard_links="nottested"
2041 if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
2042 # do not overwrite the value of need_locks provided by the user
2043 AC_MSG_CHECKING([if we can lock with hard links])
2044 hard_links=yes
2045 $rm conftest*
2046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2047 touch conftest.a
2048 ln conftest.a conftest.b 2>&5 || hard_links=no
2049 ln conftest.a conftest.b 2>/dev/null && hard_links=no
2050 AC_MSG_RESULT([$hard_links])
2051 if test "$hard_links" = no; then
2052 AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
2053 need_locks=warn
2054 fi
2055 else
2056 need_locks=no
2057 fi
2058 ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
2059
2060
2061 # AC_LIBTOOL_OBJDIR
2062 # -----------------
2063 AC_DEFUN([AC_LIBTOOL_OBJDIR],
2064 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
2065 [rm -f .libs 2>/dev/null
2066 mkdir .libs 2>/dev/null
2067 if test -d .libs; then
2068 lt_cv_objdir=.libs
2069 else
2070 # MS-DOS does not allow filenames that begin with a dot.
2071 lt_cv_objdir=_libs
2072 fi
2073 rmdir .libs 2>/dev/null])
2074 objdir=$lt_cv_objdir
2075 ])# AC_LIBTOOL_OBJDIR
2076
2077
2078 # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
2079 # ----------------------------------------------
2080 # Check hardcoding attributes.
2081 AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
2082 [AC_MSG_CHECKING([how to hardcode library paths into programs])
2083 _LT_AC_TAGVAR(hardcode_action, $1)=
2084 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
2085 test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
2086 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
2087
2088 # We can hardcode non-existant directories.
2089 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
2090 # If the only mechanism to avoid hardcoding is shlibpath_var, we
2091 # have to relink, otherwise we might link with an installed library
2092 # when we should be linking with a yet-to-be-installed one
2093 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2094 test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
2095 # Linking always hardcodes the temporary library directory.
2096 _LT_AC_TAGVAR(hardcode_action, $1)=relink
2097 else
2098 # We can link without hardcoding, and we can hardcode nonexisting dirs.
2099 _LT_AC_TAGVAR(hardcode_action, $1)=immediate
2100 fi
2101 else
2102 # We cannot hardcode anything, or else we can only hardcode existing
2103 # directories.
2104 _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
2105 fi
2106 AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
2107
2108 if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
2109 # Fast installation is not supported
2110 enable_fast_install=no
2111 elif test "$shlibpath_overrides_runpath" = yes ||
2112 test "$enable_shared" = no; then
2113 # Fast installation is not necessary
2114 enable_fast_install=needless
2115 fi
2116 ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
2117
2118
2119 # AC_LIBTOOL_SYS_LIB_STRIP
2120 # ------------------------
2121 AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
2122 [striplib=
2123 old_striplib=
2124 AC_MSG_CHECKING([whether stripping libraries is possible])
2125 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
2126 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2127 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2128 AC_MSG_RESULT([yes])
2129 else
2130 # FIXME - insert some real tests, host_os isn't really good enough
2131 case $host_os in
2132 darwin*)
2133 if test -n "$STRIP" ; then
2134 striplib="$STRIP -x"
2135 AC_MSG_RESULT([yes])
2136 else
2137 AC_MSG_RESULT([no])
2138 fi
2139 ;;
2140 *)
2141 AC_MSG_RESULT([no])
2142 ;;
2143 esac
2144 fi
2145 ])# AC_LIBTOOL_SYS_LIB_STRIP
2146
2147
2148 # AC_LIBTOOL_SYS_DYNAMIC_LINKER
2149 # -----------------------------
2150 # PORTME Fill in your ld.so characteristics
2151 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
2152 [AC_MSG_CHECKING([dynamic linker characteristics])
2153 library_names_spec=
2154 libname_spec='lib$name'
2155 soname_spec=
2156 shrext_cmds=".so"
2157 postinstall_cmds=
2158 postuninstall_cmds=
2159 finish_cmds=
2160 finish_eval=
2161 shlibpath_var=
2162 shlibpath_overrides_runpath=unknown
2163 version_type=none
2164 dynamic_linker="$host_os ld.so"
2165 sys_lib_dlsearch_path_spec="/lib /usr/lib"
2166 if test "$GCC" = yes; then
2167 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2168 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
2169 # if the path contains ";" then we assume it to be the separator
2170 # otherwise default to the standard path separator (i.e. ":") - it is
2171 # assumed that no part of a normal pathname contains ";" but that should
2172 # okay in the real world where ";" in dirpaths is itself problematic.
2173 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2174 else
2175 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2176 fi
2177 else
2178 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2179 fi
2180 need_lib_prefix=unknown
2181 hardcode_into_libs=no
2182
2183 # when you set need_version to no, make sure it does not cause -set_version
2184 # flags to be left without arguments
2185 need_version=unknown
2186
2187 case $host_os in
2188 aix3*)
2189 version_type=linux
2190 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2191 shlibpath_var=LIBPATH
2192
2193 # AIX 3 has no versioning support, so we append a major version to the name.
2194 soname_spec='${libname}${release}${shared_ext}$major'
2195 ;;
2196
2197 aix4* | aix5*)
2198 version_type=linux
2199 need_lib_prefix=no
2200 need_version=no
2201 hardcode_into_libs=yes
2202 if test "$host_cpu" = ia64; then
2203 # AIX 5 supports IA64
2204 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2205 shlibpath_var=LD_LIBRARY_PATH
2206 else
2207 # With GCC up to 2.95.x, collect2 would create an import file
2208 # for dependence libraries. The import file would start with
2209 # the line `#! .'. This would cause the generated library to
2210 # depend on `.', always an invalid library. This was fixed in
2211 # development snapshots of GCC prior to 3.0.
2212 case $host_os in
2213 aix4 | aix4.[[01]] | aix4.[[01]].*)
2214 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2215 echo ' yes '
2216 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
2217 :
2218 else
2219 can_build_shared=no
2220 fi
2221 ;;
2222 esac
2223 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2224 # soname into executable. Probably we can add versioning support to
2225 # collect2, so additional links can be useful in future.
2226 if test "$aix_use_runtimelinking" = yes; then
2227 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2228 # instead of lib<name>.a to let people know that these are not
2229 # typical AIX shared libraries.
2230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2231 else
2232 # We preserve .a as extension for shared libraries through AIX4.2
2233 # and later when we are not doing run time linking.
2234 library_names_spec='${libname}${release}.a $libname.a'
2235 soname_spec='${libname}${release}${shared_ext}$major'
2236 fi
2237 shlibpath_var=LIBPATH
2238 fi
2239 ;;
2240
2241 amigaos*)
2242 library_names_spec='$libname.ixlibrary $libname.a'
2243 # Create ${libname}_ixlibrary.a entries in /sys/libs.
2244 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2245 ;;
2246
2247 beos*)
2248 library_names_spec='${libname}${shared_ext}'
2249 dynamic_linker="$host_os ld.so"
2250 shlibpath_var=LIBRARY_PATH
2251 ;;
2252
2253 bsdi[[45]]*)
2254 version_type=linux
2255 need_version=no
2256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2257 soname_spec='${libname}${release}${shared_ext}$major'
2258 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2259 shlibpath_var=LD_LIBRARY_PATH
2260 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2261 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2262 # the default ld.so.conf also contains /usr/contrib/lib and
2263 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2264 # libtool to hard-code these into programs
2265 ;;
2266
2267 cygwin* | mingw* | pw32*)
2268 version_type=windows
2269 shrext_cmds=".dll"
2270 need_version=no
2271 need_lib_prefix=no
2272
2273 case $GCC,$host_os in
2274 yes,cygwin* | yes,mingw* | yes,pw32*)
2275 library_names_spec='$libname.dll.a'
2276 # DLL is installed to $(libdir)/../bin by postinstall_cmds
2277 postinstall_cmds='base_file=`basename \${file}`~
2278 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
2279 dldir=$destdir/`dirname \$dlpath`~
2280 test -d \$dldir || mkdir -p \$dldir~
2281 $install_prog $dir/$dlname \$dldir/$dlname~
2282 chmod a+x \$dldir/$dlname'
2283 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2284 dlpath=$dir/\$dldll~
2285 $rm \$dlpath'
2286 shlibpath_overrides_runpath=yes
2287
2288 case $host_os in
2289 cygwin*)
2290 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2291 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2292 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2293 ;;
2294 mingw*)
2295 # MinGW DLLs use traditional 'lib' prefix
2296 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2297 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2298 if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
2299 # It is most probably a Windows format PATH printed by
2300 # mingw gcc, but we are running on Cygwin. Gcc prints its search
2301 # path with ; separators, and with drive letters. We can handle the
2302 # drive letters (cygwin fileutils understands them), so leave them,
2303 # especially as we might pass files found there to a mingw objdump,
2304 # which wouldn't understand a cygwinified path. Ahh.
2305 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2306 else
2307 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2308 fi
2309 ;;
2310 pw32*)
2311 # pw32 DLLs use 'pw' prefix rather than 'lib'
2312 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2313 ;;
2314 esac
2315 ;;
2316
2317 *)
2318 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2319 ;;
2320 esac
2321 dynamic_linker='Win32 ld.exe'
2322 # FIXME: first we should search . and the directory the executable is in
2323 shlibpath_var=PATH
2324 ;;
2325
2326 darwin* | rhapsody*)
2327 dynamic_linker="$host_os dyld"
2328 version_type=darwin
2329 need_lib_prefix=no
2330 need_version=no
2331 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2332 soname_spec='${libname}${release}${major}$shared_ext'
2333 shlibpath_overrides_runpath=yes
2334 shlibpath_var=DYLD_LIBRARY_PATH
2335 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
2336 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
2337 if test "$GCC" = yes; then
2338 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
2339 else
2340 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
2341 fi
2342 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2343 ;;
2344
2345 dgux*)
2346 version_type=linux
2347 need_lib_prefix=no
2348 need_version=no
2349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2350 soname_spec='${libname}${release}${shared_ext}$major'
2351 shlibpath_var=LD_LIBRARY_PATH
2352 ;;
2353
2354 freebsd1*)
2355 dynamic_linker=no
2356 ;;
2357
2358 kfreebsd*-gnu)
2359 version_type=linux
2360 need_lib_prefix=no
2361 need_version=no
2362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2363 soname_spec='${libname}${release}${shared_ext}$major'
2364 shlibpath_var=LD_LIBRARY_PATH
2365 shlibpath_overrides_runpath=no
2366 hardcode_into_libs=yes
2367 dynamic_linker='GNU ld.so'
2368 ;;
2369
2370 freebsd* | dragonfly*)
2371 # DragonFly does not have aout. When/if they implement a new
2372 # versioning mechanism, adjust this.
2373 if test -x /usr/bin/objformat; then
2374 objformat=`/usr/bin/objformat`
2375 else
2376 case $host_os in
2377 freebsd[[123]]*) objformat=aout ;;
2378 *) objformat=elf ;;
2379 esac
2380 fi
2381 version_type=freebsd-$objformat
2382 case $version_type in
2383 freebsd-elf*)
2384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2385 need_version=no
2386 need_lib_prefix=no
2387 ;;
2388 freebsd-*)
2389 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2390 need_version=yes
2391 ;;
2392 esac
2393 shlibpath_var=LD_LIBRARY_PATH
2394 case $host_os in
2395 freebsd2*)
2396 shlibpath_overrides_runpath=yes
2397 ;;
2398 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2399 shlibpath_overrides_runpath=yes
2400 hardcode_into_libs=yes
2401 ;;
2402 *) # from 3.2 on
2403 shlibpath_overrides_runpath=no
2404 hardcode_into_libs=yes
2405 ;;
2406 esac
2407 ;;
2408
2409 gnu*)
2410 version_type=linux
2411 need_lib_prefix=no
2412 need_version=no
2413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2414 soname_spec='${libname}${release}${shared_ext}$major'
2415 shlibpath_var=LD_LIBRARY_PATH
2416 hardcode_into_libs=yes
2417 ;;
2418
2419 hpux9* | hpux10* | hpux11*)
2420 # Give a soname corresponding to the major version so that dld.sl refuses to
2421 # link against other versions.
2422 version_type=sunos
2423 need_lib_prefix=no
2424 need_version=no
2425 case $host_cpu in
2426 ia64*)
2427 shrext_cmds='.so'
2428 hardcode_into_libs=yes
2429 dynamic_linker="$host_os dld.so"
2430 shlibpath_var=LD_LIBRARY_PATH
2431 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2433 soname_spec='${libname}${release}${shared_ext}$major'
2434 if test "X$HPUX_IA64_MODE" = X32; then
2435 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2436 else
2437 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2438 fi
2439 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2440 ;;
2441 hppa*64*)
2442 shrext_cmds='.sl'
2443 hardcode_into_libs=yes
2444 dynamic_linker="$host_os dld.sl"
2445 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2446 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2448 soname_spec='${libname}${release}${shared_ext}$major'
2449 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2450 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2451 ;;
2452 *)
2453 shrext_cmds='.sl'
2454 dynamic_linker="$host_os dld.sl"
2455 shlibpath_var=SHLIB_PATH
2456 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2458 soname_spec='${libname}${release}${shared_ext}$major'
2459 ;;
2460 esac
2461 # HP-UX runs *really* slowly unless shared libraries are mode 555.
2462 postinstall_cmds='chmod 555 $lib'
2463 ;;
2464
2465 irix5* | irix6* | nonstopux*)
2466 case $host_os in
2467 nonstopux*) version_type=nonstopux ;;
2468 *)
2469 if test "$lt_cv_prog_gnu_ld" = yes; then
2470 version_type=linux
2471 else
2472 version_type=irix
2473 fi ;;
2474 esac
2475 need_lib_prefix=no
2476 need_version=no
2477 soname_spec='${libname}${release}${shared_ext}$major'
2478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2479 case $host_os in
2480 irix5* | nonstopux*)
2481 libsuff= shlibsuff=
2482 ;;
2483 *)
2484 case $LD in # libtool.m4 will add one of these switches to LD
2485 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2486 libsuff= shlibsuff= libmagic=32-bit;;
2487 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2488 libsuff=32 shlibsuff=N32 libmagic=N32;;
2489 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2490 libsuff=64 shlibsuff=64 libmagic=64-bit;;
2491 *) libsuff= shlibsuff= libmagic=never-match;;
2492 esac
2493 ;;
2494 esac
2495 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2496 shlibpath_overrides_runpath=no
2497 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2498 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2499 hardcode_into_libs=yes
2500 ;;
2501
2502 # No shared lib support for Linux oldld, aout, or coff.
2503 linux*oldld* | linux*aout* | linux*coff*)
2504 dynamic_linker=no
2505 ;;
2506
2507 # This must be Linux ELF.
2508 linux*)
2509 version_type=linux
2510 need_lib_prefix=no
2511 need_version=no
2512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2513 soname_spec='${libname}${release}${shared_ext}$major'
2514 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2515 shlibpath_var=LD_LIBRARY_PATH
2516 shlibpath_overrides_runpath=no
2517 # This implies no fast_install, which is unacceptable.
2518 # Some rework will be needed to allow for fast_install
2519 # before this can be enabled.
2520 hardcode_into_libs=yes
2521
2522 # Append ld.so.conf contents to the search path
2523 if test -f /etc/ld.so.conf; then
2524 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
2525 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2526 fi
2527
2528 # We used to test for /lib/ld.so.1 and disable shared libraries on
2529 # powerpc, because MkLinux only supported shared libraries with the
2530 # GNU dynamic linker. Since this was broken with cross compilers,
2531 # most powerpc-linux boxes support dynamic linking these days and
2532 # people can always --disable-shared, the test was removed, and we
2533 # assume the GNU/Linux dynamic linker is in use.
2534 dynamic_linker='GNU/Linux ld.so'
2535 ;;
2536
2537 netbsdelf*-gnu)
2538 version_type=linux
2539 need_lib_prefix=no
2540 need_version=no
2541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2542 soname_spec='${libname}${release}${shared_ext}$major'
2543 shlibpath_var=LD_LIBRARY_PATH
2544 shlibpath_overrides_runpath=no
2545 hardcode_into_libs=yes
2546 dynamic_linker='NetBSD ld.elf_so'
2547 ;;
2548
2549 knetbsd*-gnu)
2550 version_type=linux
2551 need_lib_prefix=no
2552 need_version=no
2553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2554 soname_spec='${libname}${release}${shared_ext}$major'
2555 shlibpath_var=LD_LIBRARY_PATH
2556 shlibpath_overrides_runpath=no
2557 hardcode_into_libs=yes
2558 dynamic_linker='GNU ld.so'
2559 ;;
2560
2561 netbsd*)
2562 version_type=sunos
2563 need_lib_prefix=no
2564 need_version=no
2565 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2567 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2568 dynamic_linker='NetBSD (a.out) ld.so'
2569 else
2570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2571 soname_spec='${libname}${release}${shared_ext}$major'
2572 dynamic_linker='NetBSD ld.elf_so'
2573 fi
2574 shlibpath_var=LD_LIBRARY_PATH
2575 shlibpath_overrides_runpath=yes
2576 hardcode_into_libs=yes
2577 ;;
2578
2579 newsos6)
2580 version_type=linux
2581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2582 shlibpath_var=LD_LIBRARY_PATH
2583 shlibpath_overrides_runpath=yes
2584 ;;
2585
2586 nto-qnx*)
2587 version_type=linux
2588 need_lib_prefix=no
2589 need_version=no
2590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2591 soname_spec='${libname}${release}${shared_ext}$major'
2592 shlibpath_var=LD_LIBRARY_PATH
2593 shlibpath_overrides_runpath=yes
2594 ;;
2595
2596 openbsd*)
2597 version_type=sunos
2598 need_lib_prefix=no
2599 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
2600 case $host_os in
2601 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
2602 *) need_version=no ;;
2603 esac
2604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2605 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2606 shlibpath_var=LD_LIBRARY_PATH
2607 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2608 case $host_os in
2609 openbsd2.[[89]] | openbsd2.[[89]].*)
2610 shlibpath_overrides_runpath=no
2611 ;;
2612 *)
2613 shlibpath_overrides_runpath=yes
2614 ;;
2615 esac
2616 else
2617 shlibpath_overrides_runpath=yes
2618 fi
2619 ;;
2620
2621 os2*)
2622 libname_spec='$name'
2623 shrext_cmds=".dll"
2624 need_lib_prefix=no
2625 library_names_spec='$libname${shared_ext} $libname.a'
2626 dynamic_linker='OS/2 ld.exe'
2627 shlibpath_var=LIBPATH
2628 ;;
2629
2630 osf3* | osf4* | osf5*)
2631 version_type=osf
2632 need_lib_prefix=no
2633 need_version=no
2634 soname_spec='${libname}${release}${shared_ext}$major'
2635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2636 shlibpath_var=LD_LIBRARY_PATH
2637 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2638 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
2639 ;;
2640
2641 sco3.2v5*)
2642 version_type=osf
2643 soname_spec='${libname}${release}${shared_ext}$major'
2644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2645 shlibpath_var=LD_LIBRARY_PATH
2646 ;;
2647
2648 solaris*)
2649 version_type=linux
2650 need_lib_prefix=no
2651 need_version=no
2652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2653 soname_spec='${libname}${release}${shared_ext}$major'
2654 shlibpath_var=LD_LIBRARY_PATH
2655 shlibpath_overrides_runpath=yes
2656 hardcode_into_libs=yes
2657 # ldd complains unless libraries are executable
2658 postinstall_cmds='chmod +x $lib'
2659 ;;
2660
2661 sunos4*)
2662 version_type=sunos
2663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2664 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
2665 shlibpath_var=LD_LIBRARY_PATH
2666 shlibpath_overrides_runpath=yes
2667 if test "$with_gnu_ld" = yes; then
2668 need_lib_prefix=no
2669 fi
2670 need_version=yes
2671 ;;
2672
2673 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2674 version_type=linux
2675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2676 soname_spec='${libname}${release}${shared_ext}$major'
2677 shlibpath_var=LD_LIBRARY_PATH
2678 case $host_vendor in
2679 sni)
2680 shlibpath_overrides_runpath=no
2681 need_lib_prefix=no
2682 export_dynamic_flag_spec='${wl}-Blargedynsym'
2683 runpath_var=LD_RUN_PATH
2684 ;;
2685 siemens)
2686 need_lib_prefix=no
2687 ;;
2688 motorola)
2689 need_lib_prefix=no
2690 need_version=no
2691 shlibpath_overrides_runpath=no
2692 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
2693 ;;
2694 esac
2695 ;;
2696
2697 sysv4*MP*)
2698 if test -d /usr/nec ;then
2699 version_type=linux
2700 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2701 soname_spec='$libname${shared_ext}.$major'
2702 shlibpath_var=LD_LIBRARY_PATH
2703 fi
2704 ;;
2705
2706 uts4*)
2707 version_type=linux
2708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2709 soname_spec='${libname}${release}${shared_ext}$major'
2710 shlibpath_var=LD_LIBRARY_PATH
2711 ;;
2712
2713 *)
2714 dynamic_linker=no
2715 ;;
2716 esac
2717 AC_MSG_RESULT([$dynamic_linker])
2718 test "$dynamic_linker" = no && can_build_shared=no
2719 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2720
2721
2722 # _LT_AC_TAGCONFIG
2723 # ----------------
2724 AC_DEFUN([_LT_AC_TAGCONFIG],
2725 [AC_ARG_WITH([tags],
2726 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
2727 [include additional configurations @<:@automatic@:>@])],
2728 [tagnames="$withval"])
2729
2730 if test -f "$ltmain" && test -n "$tagnames"; then
2731 if test ! -f "${ofile}"; then
2732 AC_MSG_WARN([output file `$ofile' does not exist])
2733 fi
2734
2735 if test -z "$LTCC"; then
2736 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
2737 if test -z "$LTCC"; then
2738 AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
2739 else
2740 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
2741 fi
2742 fi
2743
2744 # Extract list of available tagged configurations in $ofile.
2745 # Note that this assumes the entire list is on one line.
2746 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
2747
2748 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2749 for tagname in $tagnames; do
2750 IFS="$lt_save_ifs"
2751 # Check whether tagname contains only valid characters
2752 case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
2753 "") ;;
2754 *) AC_MSG_ERROR([invalid tag name: $tagname])
2755 ;;
2756 esac
2757
2758 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
2759 then
2760 AC_MSG_ERROR([tag name \"$tagname\" already exists])
2761 fi
2762
2763 # Update the list of available tags.
2764 if test -n "$tagname"; then
2765 echo appending configuration tag \"$tagname\" to $ofile
2766
2767 case $tagname in
2768 CXX)
2769 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2770 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2771 (test "X$CXX" != "Xg++"))) ; then
2772 AC_LIBTOOL_LANG_CXX_CONFIG
2773 else
2774 tagname=""
2775 fi
2776 ;;
2777
2778 F77)
2779 if test -n "$F77" && test "X$F77" != "Xno"; then
2780 AC_LIBTOOL_LANG_F77_CONFIG
2781 else
2782 tagname=""
2783 fi
2784 ;;
2785
2786 GCJ)
2787 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
2788 AC_LIBTOOL_LANG_GCJ_CONFIG
2789 else
2790 tagname=""
2791 fi
2792 ;;
2793
2794 RC)
2795 AC_LIBTOOL_LANG_RC_CONFIG
2796 ;;
2797
2798 *)
2799 AC_MSG_ERROR([Unsupported tag name: $tagname])
2800 ;;
2801 esac
2802
2803 # Append the new tag name to the list of available tags.
2804 if test -n "$tagname" ; then
2805 available_tags="$available_tags $tagname"
2806 fi
2807 fi
2808 done
2809 IFS="$lt_save_ifs"
2810
2811 # Now substitute the updated list of available tags.
2812 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
2813 mv "${ofile}T" "$ofile"
2814 chmod +x "$ofile"
2815 else
2816 rm -f "${ofile}T"
2817 AC_MSG_ERROR([unable to update list of available tagged configurations.])
2818 fi
2819 fi
2820 ])# _LT_AC_TAGCONFIG
2821
2822
2823 # AC_LIBTOOL_DLOPEN
2824 # -----------------
2825 # enable checks for dlopen support
2826 AC_DEFUN([AC_LIBTOOL_DLOPEN],
2827 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
2828 ])# AC_LIBTOOL_DLOPEN
2829
2830
2831 # AC_LIBTOOL_WIN32_DLL
2832 # --------------------
2833 # declare package support for building win32 DLLs
2834 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
2835 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
2836 ])# AC_LIBTOOL_WIN32_DLL
2837
2838
2839 # AC_ENABLE_SHARED([DEFAULT])
2840 # ---------------------------
2841 # implement the --enable-shared flag
2842 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2843 AC_DEFUN([AC_ENABLE_SHARED],
2844 [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
2845 AC_ARG_ENABLE([shared],
2846 [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
2847 [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
2848 [p=${PACKAGE-default}
2849 case $enableval in
2850 yes) enable_shared=yes ;;
2851 no) enable_shared=no ;;
2852 *)
2853 enable_shared=no
2854 # Look at the argument we got. We use all the common list separators.
2855 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2856 for pkg in $enableval; do
2857 IFS="$lt_save_ifs"
2858 if test "X$pkg" = "X$p"; then
2859 enable_shared=yes
2860 fi
2861 done
2862 IFS="$lt_save_ifs"
2863 ;;
2864 esac],
2865 [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
2866 ])# AC_ENABLE_SHARED
2867
2868
2869 # AC_DISABLE_SHARED
2870 # -----------------
2871 #- set the default shared flag to --disable-shared
2872 AC_DEFUN([AC_DISABLE_SHARED],
2873 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2874 AC_ENABLE_SHARED(no)
2875 ])# AC_DISABLE_SHARED
2876
2877
2878 # AC_ENABLE_STATIC([DEFAULT])
2879 # ---------------------------
2880 # implement the --enable-static flag
2881 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2882 AC_DEFUN([AC_ENABLE_STATIC],
2883 [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
2884 AC_ARG_ENABLE([static],
2885 [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
2886 [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
2887 [p=${PACKAGE-default}
2888 case $enableval in
2889 yes) enable_static=yes ;;
2890 no) enable_static=no ;;
2891 *)
2892 enable_static=no
2893 # Look at the argument we got. We use all the common list separators.
2894 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2895 for pkg in $enableval; do
2896 IFS="$lt_save_ifs"
2897 if test "X$pkg" = "X$p"; then
2898 enable_static=yes
2899 fi
2900 done
2901 IFS="$lt_save_ifs"
2902 ;;
2903 esac],
2904 [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2905 ])# AC_ENABLE_STATIC
2906
2907
2908 # AC_DISABLE_STATIC
2909 # -----------------
2910 # set the default static flag to --disable-static
2911 AC_DEFUN([AC_DISABLE_STATIC],
2912 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2913 AC_ENABLE_STATIC(no)
2914 ])# AC_DISABLE_STATIC
2915
2916
2917 # AC_ENABLE_FAST_INSTALL([DEFAULT])
2918 # ---------------------------------
2919 # implement the --enable-fast-install flag
2920 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2921 AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2922 [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2923 AC_ARG_ENABLE([fast-install],
2924 [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2925 [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2926 [p=${PACKAGE-default}
2927 case $enableval in
2928 yes) enable_fast_install=yes ;;
2929 no) enable_fast_install=no ;;
2930 *)
2931 enable_fast_install=no
2932 # Look at the argument we got. We use all the common list separators.
2933 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2934 for pkg in $enableval; do
2935 IFS="$lt_save_ifs"
2936 if test "X$pkg" = "X$p"; then
2937 enable_fast_install=yes
2938 fi
2939 done
2940 IFS="$lt_save_ifs"
2941 ;;
2942 esac],
2943 [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2944 ])# AC_ENABLE_FAST_INSTALL
2945
2946
2947 # AC_DISABLE_FAST_INSTALL
2948 # -----------------------
2949 # set the default to --disable-fast-install
2950 AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2951 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2952 AC_ENABLE_FAST_INSTALL(no)
2953 ])# AC_DISABLE_FAST_INSTALL
2954
2955
2956 # AC_LIBTOOL_PICMODE([MODE])
2957 # --------------------------
2958 # implement the --with-pic flag
2959 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
2960 AC_DEFUN([AC_LIBTOOL_PICMODE],
2961 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2962 pic_mode=ifelse($#,1,$1,default)
2963 ])# AC_LIBTOOL_PICMODE
2964
2965
2966 # AC_PROG_EGREP
2967 # -------------
2968 # This is predefined starting with Autoconf 2.54, so this conditional
2969 # definition can be removed once we require Autoconf 2.54 or later.
2970 m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2971 [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2972 [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2973 then ac_cv_prog_egrep='grep -E'
2974 else ac_cv_prog_egrep='egrep'
2975 fi])
2976 EGREP=$ac_cv_prog_egrep
2977 AC_SUBST([EGREP])
2978 ])])
2979
2980
2981 # AC_PATH_TOOL_PREFIX
2982 # -------------------
2983 # find a file program which can recognise shared library
2984 AC_DEFUN([AC_PATH_TOOL_PREFIX],
2985 [AC_REQUIRE([AC_PROG_EGREP])dnl
2986 AC_MSG_CHECKING([for $1])
2987 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2988 [case $MAGIC_CMD in
2989 [[\\/*] | ?:[\\/]*])
2990 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2991 ;;
2992 *)
2993 lt_save_MAGIC_CMD="$MAGIC_CMD"
2994 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2995 dnl $ac_dummy forces splitting on constant user-supplied paths.
2996 dnl POSIX.2 word splitting is done only on the output of word expansions,
2997 dnl not every word. This closes a longstanding sh security hole.
2998 ac_dummy="ifelse([$2], , $PATH, [$2])"
2999 for ac_dir in $ac_dummy; do
3000 IFS="$lt_save_ifs"
3001 test -z "$ac_dir" && ac_dir=.
3002 if test -f $ac_dir/$1; then
3003 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
3004 if test -n "$file_magic_test_file"; then
3005 case $deplibs_check_method in
3006 "file_magic "*)
3007 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3008 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3009 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3010 $EGREP "$file_magic_regex" > /dev/null; then
3011 :
3012 else
3013 cat <<EOF 1>&2
3014
3015 *** Warning: the command libtool uses to detect shared libraries,
3016 *** $file_magic_cmd, produces output that libtool cannot recognize.
3017 *** The result is that libtool may fail to recognize shared libraries
3018 *** as such. This will affect the creation of libtool libraries that
3019 *** depend on shared libraries, but programs linked with such libtool
3020 *** libraries will work regardless of this problem. Nevertheless, you
3021 *** may want to report the problem to your system manager and/or to
3022 *** bug-libtool@gnu.org
3023
3024 EOF
3025 fi ;;
3026 esac
3027 fi
3028 break
3029 fi
3030 done
3031 IFS="$lt_save_ifs"
3032 MAGIC_CMD="$lt_save_MAGIC_CMD"
3033 ;;
3034 esac])
3035 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3036 if test -n "$MAGIC_CMD"; then
3037 AC_MSG_RESULT($MAGIC_CMD)
3038 else
3039 AC_MSG_RESULT(no)
3040 fi
3041 ])# AC_PATH_TOOL_PREFIX
3042
3043
3044 # AC_PATH_MAGIC
3045 # -------------
3046 # find a file program which can recognise a shared library
3047 AC_DEFUN([AC_PATH_MAGIC],
3048 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3049 if test -z "$lt_cv_path_MAGIC_CMD"; then
3050 if test -n "$ac_tool_prefix"; then
3051 AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3052 else
3053 MAGIC_CMD=:
3054 fi
3055 fi
3056 ])# AC_PATH_MAGIC
3057
3058
3059 # AC_PROG_LD
3060 # ----------
3061 # find the pathname to the GNU or non-GNU linker
3062 AC_DEFUN([AC_PROG_LD],
3063 [AC_ARG_WITH([gnu-ld],
3064 [AC_HELP_STRING([--with-gnu-ld],
3065 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3066 [test "$withval" = no || with_gnu_ld=yes],
3067 [with_gnu_ld=no])
3068 AC_REQUIRE([LT_AC_PROG_SED])dnl
3069 AC_REQUIRE([AC_PROG_CC])dnl
3070 AC_REQUIRE([AC_CANONICAL_HOST])dnl
3071 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3072 ac_prog=ld
3073 if test "$GCC" = yes; then
3074 # Check if gcc -print-prog-name=ld gives a path.
3075 AC_MSG_CHECKING([for ld used by $CC])
3076 case $host in
3077 *-*-mingw*)
3078 # gcc leaves a trailing carriage return which upsets mingw
3079 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3080 *)
3081 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3082 esac
3083 case $ac_prog in
3084 # Accept absolute paths.
3085 [[\\/]]* | ?:[[\\/]]*)
3086 re_direlt='/[[^/]][[^/]]*/\.\./'
3087 # Canonicalize the pathname of ld
3088 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3089 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3090 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3091 done
3092 test -z "$LD" && LD="$ac_prog"
3093 ;;
3094 "")
3095 # If it fails, then pretend we aren't using GCC.
3096 ac_prog=ld
3097 ;;
3098 *)
3099 # If it is relative, then search for the first ld in PATH.
3100 with_gnu_ld=unknown
3101 ;;
3102 esac
3103 elif test "$with_gnu_ld" = yes; then
3104 AC_MSG_CHECKING([for GNU ld])
3105 else
3106 AC_MSG_CHECKING([for non-GNU ld])
3107 fi
3108 AC_CACHE_VAL(lt_cv_path_LD,
3109 [if test -z "$LD"; then
3110 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3111 for ac_dir in $PATH; do
3112 IFS="$lt_save_ifs"
3113 test -z "$ac_dir" && ac_dir=.
3114 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3115 lt_cv_path_LD="$ac_dir/$ac_prog"
3116 # Check to see if the program is GNU ld. I'd rather use --version,
3117 # but apparently some variants of GNU ld only accept -v.
3118 # Break only if it was the GNU/non-GNU ld that we prefer.
3119 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3120 *GNU* | *'with BFD'*)
3121 test "$with_gnu_ld" != no && break
3122 ;;
3123 *)
3124 test "$with_gnu_ld" != yes && break
3125 ;;
3126 esac
3127 fi
3128 done
3129 IFS="$lt_save_ifs"
3130 else
3131 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3132 fi])
3133 LD="$lt_cv_path_LD"
3134 if test -n "$LD"; then
3135 AC_MSG_RESULT($LD)
3136 else
3137 AC_MSG_RESULT(no)
3138 fi
3139 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3140 AC_PROG_LD_GNU
3141 ])# AC_PROG_LD
3142
3143
3144 # AC_PROG_LD_GNU
3145 # --------------
3146 AC_DEFUN([AC_PROG_LD_GNU],
3147 [AC_REQUIRE([AC_PROG_EGREP])dnl
3148 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3149 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
3150 case `$LD -v 2>&1 </dev/null` in
3151 *GNU* | *'with BFD'*)
3152 lt_cv_prog_gnu_ld=yes
3153 ;;
3154 *)
3155 lt_cv_prog_gnu_ld=no
3156 ;;
3157 esac])
3158 with_gnu_ld=$lt_cv_prog_gnu_ld
3159 ])# AC_PROG_LD_GNU
3160
3161
3162 # AC_PROG_LD_RELOAD_FLAG
3163 # ----------------------
3164 # find reload flag for linker
3165 # -- PORTME Some linkers may need a different reload flag.
3166 AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
3167 [AC_CACHE_CHECK([for $LD option to reload object files],
3168 lt_cv_ld_reload_flag,
3169 [lt_cv_ld_reload_flag='-r'])
3170 reload_flag=$lt_cv_ld_reload_flag
3171 case $reload_flag in
3172 "" | " "*) ;;
3173 *) reload_flag=" $reload_flag" ;;
3174 esac
3175 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3176 case $host_os in
3177 darwin*)
3178 if test "$GCC" = yes; then
3179 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3180 else
3181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3182 fi
3183 ;;
3184 esac
3185 ])# AC_PROG_LD_RELOAD_FLAG
3186
3187
3188 # AC_DEPLIBS_CHECK_METHOD
3189 # -----------------------
3190 # how to check for library dependencies
3191 # -- PORTME fill in with the dynamic library characteristics
3192 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
3193 [AC_CACHE_CHECK([how to recognise dependent libraries],
3194 lt_cv_deplibs_check_method,
3195 [lt_cv_file_magic_cmd='$MAGIC_CMD'
3196 lt_cv_file_magic_test_file=
3197 lt_cv_deplibs_check_method='unknown'
3198 # Need to set the preceding variable on all platforms that support
3199 # interlibrary dependencies.
3200 # 'none' -- dependencies not supported.
3201 # `unknown' -- same as none, but documents that we really don't know.
3202 # 'pass_all' -- all dependencies passed with no checks.
3203 # 'test_compile' -- check by making test program.
3204 # 'file_magic [[regex]]' -- check by looking for files in library path
3205 # which responds to the $file_magic_cmd with a given extended regex.
3206 # If you have `file' or equivalent on your system and you're not sure
3207 # whether `pass_all' will *always* work, you probably want this one.
3208
3209 case $host_os in
3210 aix4* | aix5*)
3211 lt_cv_deplibs_check_method=pass_all
3212 ;;
3213
3214 beos*)
3215 lt_cv_deplibs_check_method=pass_all
3216 ;;
3217
3218 bsdi[[45]]*)
3219 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3220 lt_cv_file_magic_cmd='/usr/bin/file -L'
3221 lt_cv_file_magic_test_file=/shlib/libc.so
3222 ;;
3223
3224 cygwin*)
3225 # func_win32_libid is a shell function defined in ltmain.sh
3226 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3227 lt_cv_file_magic_cmd='func_win32_libid'
3228 ;;
3229
3230 mingw* | pw32*)
3231 # Base MSYS/MinGW do not provide the 'file' command needed by
3232 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3233 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3234 lt_cv_file_magic_cmd='$OBJDUMP -f'
3235 ;;
3236
3237 darwin* | rhapsody*)
3238 lt_cv_deplibs_check_method=pass_all
3239 ;;
3240
3241 freebsd* | kfreebsd*-gnu | dragonfly*)
3242 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3243 case $host_cpu in
3244 i*86 )
3245 # Not sure whether the presence of OpenBSD here was a mistake.
3246 # Let's accept both of them until this is cleared up.
3247 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3248 lt_cv_file_magic_cmd=/usr/bin/file
3249 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3250 ;;
3251 esac
3252 else
3253 lt_cv_deplibs_check_method=pass_all
3254 fi
3255 ;;
3256
3257 gnu*)
3258 lt_cv_deplibs_check_method=pass_all
3259 ;;
3260
3261 hpux10.20* | hpux11*)
3262 lt_cv_file_magic_cmd=/usr/bin/file
3263 case $host_cpu in
3264 ia64*)
3265 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3266 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3267 ;;
3268 hppa*64*)
3269 [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
3270 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3271 ;;
3272 *)
3273 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3274 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3275 ;;
3276 esac
3277 ;;
3278
3279 irix5* | irix6* | nonstopux*)
3280 case $LD in
3281 *-32|*"-32 ") libmagic=32-bit;;
3282 *-n32|*"-n32 ") libmagic=N32;;
3283 *-64|*"-64 ") libmagic=64-bit;;
3284 *) libmagic=never-match;;
3285 esac
3286 lt_cv_deplibs_check_method=pass_all
3287 ;;
3288
3289 # This must be Linux ELF.
3290 linux*)
3291 lt_cv_deplibs_check_method=pass_all
3292 ;;
3293
3294 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3295 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3296 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3297 else
3298 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3299 fi
3300 ;;
3301
3302 newos6*)
3303 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3304 lt_cv_file_magic_cmd=/usr/bin/file
3305 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3306 ;;
3307
3308 nto-qnx*)
3309 lt_cv_deplibs_check_method=unknown
3310 ;;
3311
3312 openbsd*)
3313 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3314 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3315 else
3316 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3317 fi
3318 ;;
3319
3320 osf3* | osf4* | osf5*)
3321 lt_cv_deplibs_check_method=pass_all
3322 ;;
3323
3324 sco3.2v5*)
3325 lt_cv_deplibs_check_method=pass_all
3326 ;;
3327
3328 solaris*)
3329 lt_cv_deplibs_check_method=pass_all
3330 ;;
3331
3332 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3333 case $host_vendor in
3334 motorola)
3335 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
3336 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3337 ;;
3338 ncr)
3339 lt_cv_deplibs_check_method=pass_all
3340 ;;
3341 sequent)
3342 lt_cv_file_magic_cmd='/bin/file'
3343 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3344 ;;
3345 sni)
3346 lt_cv_file_magic_cmd='/bin/file'
3347 lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3348 lt_cv_file_magic_test_file=/lib/libc.so
3349 ;;
3350 siemens)
3351 lt_cv_deplibs_check_method=pass_all
3352 ;;
3353 esac
3354 ;;
3355
3356 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
3357 lt_cv_deplibs_check_method=pass_all
3358 ;;
3359 esac
3360 ])
3361 file_magic_cmd=$lt_cv_file_magic_cmd
3362 deplibs_check_method=$lt_cv_deplibs_check_method
3363 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3364 ])# AC_DEPLIBS_CHECK_METHOD
3365
3366
3367 # AC_PROG_NM
3368 # ----------
3369 # find the pathname to a BSD-compatible name lister
3370 AC_DEFUN([AC_PROG_NM],
3371 [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3372 [if test -n "$NM"; then
3373 # Let the user override the test.
3374 lt_cv_path_NM="$NM"
3375 else
3376 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3377 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3378 IFS="$lt_save_ifs"
3379 test -z "$ac_dir" && ac_dir=.
3380 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3381 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3382 # Check to see if the nm accepts a BSD-compat flag.
3383 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3384 # nm: unknown option "B" ignored
3385 # Tru64's nm complains that /dev/null is an invalid object file
3386 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3387 */dev/null* | *'Invalid file or object type'*)
3388 lt_cv_path_NM="$tmp_nm -B"
3389 break
3390 ;;
3391 *)
3392 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3393 */dev/null*)
3394 lt_cv_path_NM="$tmp_nm -p"
3395 break
3396 ;;
3397 *)
3398 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3399 continue # so that we can try to find one that supports BSD flags
3400 ;;
3401 esac
3402 esac
3403 fi
3404 done
3405 IFS="$lt_save_ifs"
3406 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3407 fi])
3408 NM="$lt_cv_path_NM"
3409 ])# AC_PROG_NM
3410
3411
3412 # AC_CHECK_LIBM
3413 # -------------
3414 # check for math library
3415 AC_DEFUN([AC_CHECK_LIBM],
3416 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3417 LIBM=
3418 case $host in
3419 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3420 # These system don't have libm, or don't need it
3421 ;;
3422 *-ncr-sysv4.3*)
3423 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3424 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3425 ;;
3426 *)
3427 AC_CHECK_LIB(m, cos, LIBM="-lm")
3428 ;;
3429 esac
3430 ])# AC_CHECK_LIBM
3431
3432
3433 # AC_LIBLTDL_CONVENIENCE([DIRECTORY])
3434 # -----------------------------------
3435 # sets LIBLTDL to the link flags for the libltdl convenience library and
3436 # LTDLINCL to the include flags for the libltdl header and adds
3437 # --enable-ltdl-convenience to the configure arguments. Note that
3438 # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3439 # it is assumed to be `libltdl'. LIBLTDL will be prefixed with
3440 # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
3441 # (note the single quotes!). If your package is not flat and you're not
3442 # using automake, define top_builddir and top_srcdir appropriately in
3443 # the Makefiles.
3444 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
3445 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3446 case $enable_ltdl_convenience in
3447 no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
3448 "") enable_ltdl_convenience=yes
3449 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
3450 esac
3451 LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
3452 LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3453 # For backwards non-gettext consistent compatibility...
3454 INCLTDL="$LTDLINCL"
3455 ])# AC_LIBLTDL_CONVENIENCE
3456
3457
3458 # AC_LIBLTDL_INSTALLABLE([DIRECTORY])
3459 # -----------------------------------
3460 # sets LIBLTDL to the link flags for the libltdl installable library and
3461 # LTDLINCL to the include flags for the libltdl header and adds
3462 # --enable-ltdl-install to the configure arguments. Note that
3463 # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3464 # and an installed libltdl is not found, it is assumed to be `libltdl'.
3465 # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
3466 # '${top_srcdir}/' (note the single quotes!). If your package is not
3467 # flat and you're not using automake, define top_builddir and top_srcdir
3468 # appropriately in the Makefiles.
3469 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3470 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3471 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3472 AC_CHECK_LIB(ltdl, lt_dlinit,
3473 [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
3474 [if test x"$enable_ltdl_install" = xno; then
3475 AC_MSG_WARN([libltdl not installed, but installation disabled])
3476 else
3477 enable_ltdl_install=yes
3478 fi
3479 ])
3480 if test x"$enable_ltdl_install" = x"yes"; then
3481 ac_configure_args="$ac_configure_args --enable-ltdl-install"
3482 LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
3483 LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3484 else
3485 ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
3486 LIBLTDL="-lltdl"
3487 LTDLINCL=
3488 fi
3489 # For backwards non-gettext consistent compatibility...
3490 INCLTDL="$LTDLINCL"
3491 ])# AC_LIBLTDL_INSTALLABLE
3492
3493
3494 # AC_LIBTOOL_CXX
3495 # --------------
3496 # enable support for C++ libraries
3497 AC_DEFUN([AC_LIBTOOL_CXX],
3498 [AC_REQUIRE([_LT_AC_LANG_CXX])
3499 ])# AC_LIBTOOL_CXX
3500
3501
3502 # _LT_AC_LANG_CXX
3503 # ---------------
3504 AC_DEFUN([_LT_AC_LANG_CXX],
3505 [AC_REQUIRE([AC_PROG_CXX])
3506 AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3507 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3508 ])# _LT_AC_LANG_CXX
3509
3510 # _LT_AC_PROG_CXXCPP
3511 # ---------------
3512 AC_DEFUN([_LT_AC_PROG_CXXCPP],
3513 [
3514 AC_REQUIRE([AC_PROG_CXX])
3515 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
3516 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
3517 (test "X$CXX" != "Xg++"))) ; then
3518 AC_PROG_CXXCPP
3519 fi
3520 ])# _LT_AC_PROG_CXXCPP
3521
3522 # AC_LIBTOOL_F77
3523 # --------------
3524 # enable support for Fortran 77 libraries
3525 AC_DEFUN([AC_LIBTOOL_F77],
3526 [AC_REQUIRE([_LT_AC_LANG_F77])
3527 ])# AC_LIBTOOL_F77
3528
3529
3530 # _LT_AC_LANG_F77
3531 # ---------------
3532 AC_DEFUN([_LT_AC_LANG_F77],
3533 [AC_REQUIRE([AC_PROG_F77])
3534 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3535 ])# _LT_AC_LANG_F77
3536
3537
3538 # AC_LIBTOOL_GCJ
3539 # --------------
3540 # enable support for GCJ libraries
3541 AC_DEFUN([AC_LIBTOOL_GCJ],
3542 [AC_REQUIRE([_LT_AC_LANG_GCJ])
3543 ])# AC_LIBTOOL_GCJ
3544
3545
3546 # _LT_AC_LANG_GCJ
3547 # ---------------
3548 AC_DEFUN([_LT_AC_LANG_GCJ],
3549 [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
3550 [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
3551 [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
3552 [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
3553 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
3554 [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
3555 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
3556 ])# _LT_AC_LANG_GCJ
3557
3558
3559 # AC_LIBTOOL_RC
3560 # --------------
3561 # enable support for Windows resource files
3562 AC_DEFUN([AC_LIBTOOL_RC],
3563 [AC_REQUIRE([LT_AC_PROG_RC])
3564 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
3565 ])# AC_LIBTOOL_RC
3566
3567
3568 # AC_LIBTOOL_LANG_C_CONFIG
3569 # ------------------------
3570 # Ensure that the configuration vars for the C compiler are
3571 # suitably defined. Those variables are subsequently used by
3572 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3573 AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
3574 AC_DEFUN([_LT_AC_LANG_C_CONFIG],
3575 [lt_save_CC="$CC"
3576 AC_LANG_PUSH(C)
3577
3578 # Source file extension for C test sources.
3579 ac_ext=c
3580
3581 # Object file extension for compiled C test sources.
3582 objext=o
3583 _LT_AC_TAGVAR(objext, $1)=$objext
3584
3585 # Code to be used in simple compile tests
3586 lt_simple_compile_test_code="int some_variable = 0;\n"
3587
3588 # Code to be used in simple link tests
3589 lt_simple_link_test_code='int main(){return(0);}\n'
3590
3591 _LT_AC_SYS_COMPILER
3592
3593 # save warnings/boilerplate of simple test code
3594 _LT_COMPILER_BOILERPLATE
3595 _LT_LINKER_BOILERPLATE
3596
3597 #
3598 # Check for any special shared library compilation flags.
3599 #
3600 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
3601 if test "$GCC" = no; then
3602 case $host_os in
3603 sco3.2v5*)
3604 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
3605 ;;
3606 esac
3607 fi
3608 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3609 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3610 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
3611 else
3612 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3613 _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3614 fi
3615 fi
3616
3617
3618 #
3619 # Check to make sure the static flag actually works.
3620 #
3621 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
3622 _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3623 $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
3624 [],
3625 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3626
3627
3628 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3629 AC_LIBTOOL_PROG_COMPILER_PIC($1)
3630 AC_LIBTOOL_PROG_CC_C_O($1)
3631 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3632 AC_LIBTOOL_PROG_LD_SHLIBS($1)
3633 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3634 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3635 AC_LIBTOOL_SYS_LIB_STRIP
3636 AC_LIBTOOL_DLOPEN_SELF($1)
3637
3638 # Report which librarie types wil actually be built
3639 AC_MSG_CHECKING([if libtool supports shared libraries])
3640 AC_MSG_RESULT([$can_build_shared])
3641
3642 AC_MSG_CHECKING([whether to build shared libraries])
3643 test "$can_build_shared" = "no" && enable_shared=no
3644
3645 # On AIX, shared libraries and static libraries use the same namespace, and
3646 # are all built from PIC.
3647 case $host_os in
3648 aix3*)
3649 test "$enable_shared" = yes && enable_static=no
3650 if test -n "$RANLIB"; then
3651 archive_cmds="$archive_cmds~\$RANLIB \$lib"
3652 postinstall_cmds='$RANLIB $lib'
3653 fi
3654 ;;
3655
3656 aix4* | aix5*)
3657 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3658 test "$enable_shared" = yes && enable_static=no
3659 fi
3660 ;;
3661 esac
3662 AC_MSG_RESULT([$enable_shared])
3663
3664 AC_MSG_CHECKING([whether to build static libraries])
3665 # Make sure either enable_shared or enable_static is yes.
3666 test "$enable_shared" = yes || enable_static=yes
3667 AC_MSG_RESULT([$enable_static])
3668
3669 AC_LIBTOOL_CONFIG($1)
3670
3671 AC_LANG_POP
3672 CC="$lt_save_CC"
3673 ])# AC_LIBTOOL_LANG_C_CONFIG
3674
3675
3676 # AC_LIBTOOL_LANG_CXX_CONFIG
3677 # --------------------------
3678 # Ensure that the configuration vars for the C compiler are
3679 # suitably defined. Those variables are subsequently used by
3680 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3681 AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
3682 AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
3683 [AC_LANG_PUSH(C++)
3684 AC_REQUIRE([AC_PROG_CXX])
3685 AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3686
3687 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3688 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
3689 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3690 _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3691 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3692 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3693 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3694 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3695 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3696 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3697 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
3698 _LT_AC_TAGVAR(module_cmds, $1)=
3699 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
3700 _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3701 _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3702 _LT_AC_TAGVAR(no_undefined_flag, $1)=
3703 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3704 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3705
3706 # Dependencies to place before and after the object being linked:
3707 _LT_AC_TAGVAR(predep_objects, $1)=
3708 _LT_AC_TAGVAR(postdep_objects, $1)=
3709 _LT_AC_TAGVAR(predeps, $1)=
3710 _LT_AC_TAGVAR(postdeps, $1)=
3711 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
3712
3713 # Source file extension for C++ test sources.
3714 ac_ext=cpp
3715
3716 # Object file extension for compiled C++ test sources.
3717 objext=o
3718 _LT_AC_TAGVAR(objext, $1)=$objext
3719
3720 # Code to be used in simple compile tests
3721 lt_simple_compile_test_code="int some_variable = 0;\n"
3722
3723 # Code to be used in simple link tests
3724 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
3725
3726 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
3727 _LT_AC_SYS_COMPILER
3728
3729 # save warnings/boilerplate of simple test code
3730 _LT_COMPILER_BOILERPLATE
3731 _LT_LINKER_BOILERPLATE
3732
3733 # Allow CC to be a program name with arguments.
3734 lt_save_CC=$CC
3735 lt_save_LD=$LD
3736 lt_save_GCC=$GCC
3737 GCC=$GXX
3738 lt_save_with_gnu_ld=$with_gnu_ld
3739 lt_save_path_LD=$lt_cv_path_LD
3740 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
3741 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
3742 else
3743 unset lt_cv_prog_gnu_ld
3744 fi
3745 if test -n "${lt_cv_path_LDCXX+set}"; then
3746 lt_cv_path_LD=$lt_cv_path_LDCXX
3747 else
3748 unset lt_cv_path_LD
3749 fi
3750 test -z "${LDCXX+set}" || LD=$LDCXX
3751 CC=${CXX-"c++"}
3752 compiler=$CC
3753 _LT_AC_TAGVAR(compiler, $1)=$CC
3754 _LT_CC_BASENAME([$compiler])
3755
3756 # We don't want -fno-exception wen compiling C++ code, so set the
3757 # no_builtin_flag separately
3758 if test "$GXX" = yes; then
3759 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3760 else
3761 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3762 fi
3763
3764 if test "$GXX" = yes; then
3765 # Set up default GNU C++ configuration
3766
3767 AC_PROG_LD
3768
3769 # Check if GNU C++ uses GNU ld as the underlying linker, since the
3770 # archiving commands below assume that GNU ld is being used.
3771 if test "$with_gnu_ld" = yes; then
3772 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3773 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3774
3775 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3776 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3777
3778 # If archive_cmds runs LD, not CC, wlarc should be empty
3779 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
3780 # investigate it a little bit more. (MM)
3781 wlarc='${wl}'
3782
3783 # ancient GNU ld didn't support --whole-archive et. al.
3784 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
3785 grep 'no-whole-archive' > /dev/null; then
3786 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3787 else
3788 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3789 fi
3790 else
3791 with_gnu_ld=no
3792 wlarc=
3793
3794 # A generic and very simple default shared library creation
3795 # command for GNU C++ for the case where it uses the native
3796 # linker, instead of GNU ld. If possible, this setting should
3797 # overridden to take advantage of the native linker features on
3798 # the platform it is being used on.
3799 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3800 fi
3801
3802 # Commands to make compiler produce verbose output that lists
3803 # what "hidden" libraries, object files and flags are used when
3804 # linking a shared library.
3805 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3806
3807 else
3808 GXX=no
3809 with_gnu_ld=no
3810 wlarc=
3811 fi
3812
3813 # PORTME: fill in a description of your system's C++ link characteristics
3814 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3815 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3816 case $host_os in
3817 aix3*)
3818 # FIXME: insert proper C++ library support
3819 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3820 ;;
3821 aix4* | aix5*)
3822 if test "$host_cpu" = ia64; then
3823 # On IA64, the linker does run time linking by default, so we don't
3824 # have to do anything special.
3825 aix_use_runtimelinking=no
3826 exp_sym_flag='-Bexport'
3827 no_entry_flag=""
3828 else
3829 aix_use_runtimelinking=no
3830
3831 # Test if we are trying to use run time linking or normal
3832 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3833 # need to do runtime linking.
3834 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
3835 for ld_flag in $LDFLAGS; do
3836 case $ld_flag in
3837 *-brtl*)
3838 aix_use_runtimelinking=yes
3839 break
3840 ;;
3841 esac
3842 done
3843 esac
3844
3845 exp_sym_flag='-bexport'
3846 no_entry_flag='-bnoentry'
3847 fi
3848
3849 # When large executables or shared objects are built, AIX ld can
3850 # have problems creating the table of contents. If linking a library
3851 # or program results in "error TOC overflow" add -mminimal-toc to
3852 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
3853 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3854
3855 _LT_AC_TAGVAR(archive_cmds, $1)=''
3856 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3857 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3858 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3859
3860 if test "$GXX" = yes; then
3861 case $host_os in aix4.[[012]]|aix4.[[012]].*)
3862 # We only want to do this on AIX 4.2 and lower, the check
3863 # below for broken collect2 doesn't work under 4.3+
3864 collect2name=`${CC} -print-prog-name=collect2`
3865 if test -f "$collect2name" && \
3866 strings "$collect2name" | grep resolve_lib_name >/dev/null
3867 then
3868 # We have reworked collect2
3869 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3870 else
3871 # We have old collect2
3872 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3873 # It fails to find uninstalled libraries when the uninstalled
3874 # path is not listed in the libpath. Setting hardcode_minus_L
3875 # to unsupported forces relinking
3876 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3877 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3878 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3879 fi
3880 esac
3881 shared_flag='-shared'
3882 if test "$aix_use_runtimelinking" = yes; then
3883 shared_flag="$shared_flag "'${wl}-G'
3884 fi
3885 else
3886 # not using gcc
3887 if test "$host_cpu" = ia64; then
3888 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3889 # chokes on -Wl,-G. The following line is correct:
3890 shared_flag='-G'
3891 else
3892 if test "$aix_use_runtimelinking" = yes; then
3893 shared_flag='${wl}-G'
3894 else
3895 shared_flag='${wl}-bM:SRE'
3896 fi
3897 fi
3898 fi
3899
3900 # It seems that -bexpall does not export symbols beginning with
3901 # underscore (_), so it is better to generate a list of symbols to export.
3902 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3903 if test "$aix_use_runtimelinking" = yes; then
3904 # Warning - without using the other runtime loading flags (-brtl),
3905 # -berok will link without error, but may produce a broken library.
3906 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3907 # Determine the default libpath from the value encoded in an empty executable.
3908 _LT_AC_SYS_LIBPATH_AIX
3909 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3910
3911 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3912 else
3913 if test "$host_cpu" = ia64; then
3914 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3915 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3916 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3917 else
3918 # Determine the default libpath from the value encoded in an empty executable.
3919 _LT_AC_SYS_LIBPATH_AIX
3920 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3921 # Warning - without using the other run time loading flags,
3922 # -berok will link without error, but may produce a broken library.
3923 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3924 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3925 # -bexpall does not export symbols beginning with underscore (_)
3926 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3927 # Exported symbols can be pulled into shared objects from archives
3928 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3929 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3930 # This is similar to how AIX traditionally builds its shared libraries.
3931 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3932 fi
3933 fi
3934 ;;
3935 chorus*)
3936 case $cc_basename in
3937 *)
3938 # FIXME: insert proper C++ library support
3939 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3940 ;;
3941 esac
3942 ;;
3943
3944
3945 cygwin* | mingw* | pw32*)
3946 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3947 # as there is no search path for DLLs.
3948 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3949 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3950 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3951 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3952
3953 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3954 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3955 # If the export-symbols file already is a .def file (1st line
3956 # is EXPORTS), use it as is; otherwise, prepend...
3957 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3958 cp $export_symbols $output_objdir/$soname.def;
3959 else
3960 echo EXPORTS > $output_objdir/$soname.def;
3961 cat $export_symbols >> $output_objdir/$soname.def;
3962 fi~
3963 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3964 else
3965 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3966 fi
3967 ;;
3968 darwin* | rhapsody*)
3969 case $host_os in
3970 rhapsody* | darwin1.[[012]])
3971 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3972 ;;
3973 *) # Darwin 1.3 on
3974 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3975 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3976 else
3977 case ${MACOSX_DEPLOYMENT_TARGET} in
3978 10.[[012]])
3979 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3980 ;;
3981 10.*)
3982 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3983 ;;
3984 esac
3985 fi
3986 ;;
3987 esac
3988 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3989 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3990 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3991 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3992 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3993 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3994
3995 if test "$GXX" = yes ; then
3996 lt_int_apple_cc_single_mod=no
3997 output_verbose_link_cmd='echo'
3998 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3999 lt_int_apple_cc_single_mod=yes
4000 fi
4001 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4002 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4003 else
4004 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4005 fi
4006 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4007 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4008 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4009 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4010 else
4011 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4012 fi
4013 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4014 else
4015 case $cc_basename in
4016 xlc*)
4017 output_verbose_link_cmd='echo'
4018 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
4019 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4020 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4021 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4022 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4023 ;;
4024 *)
4025 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4026 ;;
4027 esac
4028 fi
4029 ;;
4030
4031 dgux*)
4032 case $cc_basename in
4033 ec++*)
4034 # FIXME: insert proper C++ library support
4035 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4036 ;;
4037 ghcx*)
4038 # Green Hills C++ Compiler
4039 # FIXME: insert proper C++ library support
4040 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4041 ;;
4042 *)
4043 # FIXME: insert proper C++ library support
4044 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4045 ;;
4046 esac
4047 ;;
4048 freebsd[[12]]*)
4049 # C++ shared libraries reported to be fairly broken before switch to ELF
4050 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4051 ;;
4052 freebsd-elf*)
4053 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4054 ;;
4055 freebsd* | kfreebsd*-gnu | dragonfly*)
4056 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
4057 # conventions
4058 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4059 ;;
4060 gnu*)
4061 ;;
4062 hpux9*)
4063 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4064 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4065 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4066 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4067 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4068 # but as the default
4069 # location of the library.
4070
4071 case $cc_basename in
4072 CC*)
4073 # FIXME: insert proper C++ library support
4074 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4075 ;;
4076 aCC*)
4077 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4078 # Commands to make compiler produce verbose output that lists
4079 # what "hidden" libraries, object files and flags are used when
4080 # linking a shared library.
4081 #
4082 # There doesn't appear to be a way to prevent this compiler from
4083 # explicitly linking system object files so we need to strip them
4084 # from the output so that they don't get included in the library
4085 # dependencies.
4086 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4087 ;;
4088 *)
4089 if test "$GXX" = yes; then
4090 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4091 else
4092 # FIXME: insert proper C++ library support
4093 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4094 fi
4095 ;;
4096 esac
4097 ;;
4098 hpux10*|hpux11*)
4099 if test $with_gnu_ld = no; then
4100 case $host_cpu in
4101 hppa*64*)
4102 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4103 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4104 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4105 ;;
4106 ia64*)
4107 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4108 ;;
4109 *)
4110 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4111 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4112 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4113 ;;
4114 esac
4115 fi
4116 case $host_cpu in
4117 hppa*64*)
4118 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4119 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4120 ;;
4121 ia64*)
4122 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4123 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4124 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4125 # but as the default
4126 # location of the library.
4127 ;;
4128 *)
4129 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4130 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4131 # but as the default
4132 # location of the library.
4133 ;;
4134 esac
4135
4136 case $cc_basename in
4137 CC*)
4138 # FIXME: insert proper C++ library support
4139 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4140 ;;
4141 aCC*)
4142 case $host_cpu in
4143 hppa*64*|ia64*)
4144 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4145 ;;
4146 *)
4147 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4148 ;;
4149 esac
4150 # Commands to make compiler produce verbose output that lists
4151 # what "hidden" libraries, object files and flags are used when
4152 # linking a shared library.
4153 #
4154 # There doesn't appear to be a way to prevent this compiler from
4155 # explicitly linking system object files so we need to strip them
4156 # from the output so that they don't get included in the library
4157 # dependencies.
4158 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4159 ;;
4160 *)
4161 if test "$GXX" = yes; then
4162 if test $with_gnu_ld = no; then
4163 case $host_cpu in
4164 ia64*|hppa*64*)
4165 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4166 ;;
4167 *)
4168 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4169 ;;
4170 esac
4171 fi
4172 else
4173 # FIXME: insert proper C++ library support
4174 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4175 fi
4176 ;;
4177 esac
4178 ;;
4179 irix5* | irix6*)
4180 case $cc_basename in
4181 CC*)
4182 # SGI C++
4183 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4184
4185 # Archives containing C++ object files must be created using
4186 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
4187 # necessary to make sure instantiated templates are included
4188 # in the archive.
4189 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
4190 ;;
4191 *)
4192 if test "$GXX" = yes; then
4193 if test "$with_gnu_ld" = no; then
4194 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4195 else
4196 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
4197 fi
4198 fi
4199 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4200 ;;
4201 esac
4202 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4203 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4204 ;;
4205 linux*)
4206 case $cc_basename in
4207 KCC*)
4208 # Kuck and Associates, Inc. (KAI) C++ Compiler
4209
4210 # KCC will only create a shared library if the output file
4211 # ends with ".so" (or ".sl" for HP-UX), so rename the library
4212 # to its proper name (with version) after linking.
4213 _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4214 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
4215 # Commands to make compiler produce verbose output that lists
4216 # what "hidden" libraries, object files and flags are used when
4217 # linking a shared library.
4218 #
4219 # There doesn't appear to be a way to prevent this compiler from
4220 # explicitly linking system object files so we need to strip them
4221 # from the output so that they don't get included in the library
4222 # dependencies.
4223 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4224
4225 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
4226 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4227
4228 # Archives containing C++ object files must be created using
4229 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4230 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4231 ;;
4232 icpc*)
4233 # Intel C++
4234 with_gnu_ld=yes
4235 # version 8.0 and above of icpc choke on multiply defined symbols
4236 # if we add $predep_objects and $postdep_objects, however 7.1 and
4237 # earlier do not add the objects themselves.
4238 case `$CC -V 2>&1` in
4239 *"Version 7."*)
4240 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4241 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4242 ;;
4243 *) # Version 8.0 or newer
4244 tmp_idyn=
4245 case $host_cpu in
4246 ia64*) tmp_idyn=' -i_dynamic';;
4247 esac
4248 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4249 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4250 ;;
4251 esac
4252 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4253 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4254 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4255 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4256 ;;
4257 pgCC*)
4258 # Portland Group C++ compiler
4259 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
4260 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
4261
4262 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4263 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4264 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4265 ;;
4266 cxx*)
4267 # Compaq C++
4268 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4269 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
4270
4271 runpath_var=LD_RUN_PATH
4272 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4273 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4274
4275 # Commands to make compiler produce verbose output that lists
4276 # what "hidden" libraries, object files and flags are used when
4277 # linking a shared library.
4278 #
4279 # There doesn't appear to be a way to prevent this compiler from
4280 # explicitly linking system object files so we need to strip them
4281 # from the output so that they don't get included in the library
4282 # dependencies.
4283 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4284 ;;
4285 esac
4286 ;;
4287 lynxos*)
4288 # FIXME: insert proper C++ library support
4289 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4290 ;;
4291 m88k*)
4292 # FIXME: insert proper C++ library support
4293 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4294 ;;
4295 mvs*)
4296 case $cc_basename in
4297 cxx*)
4298 # FIXME: insert proper C++ library support
4299 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4300 ;;
4301 *)
4302 # FIXME: insert proper C++ library support
4303 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4304 ;;
4305 esac
4306 ;;
4307 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4308 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4309 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
4310 wlarc=
4311 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4312 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4313 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4314 fi
4315 # Workaround some broken pre-1.5 toolchains
4316 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
4317 ;;
4318 openbsd2*)
4319 # C++ shared libraries are fairly broken
4320 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4321 ;;
4322 openbsd*)
4323 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4324 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4325 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4326 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4327 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4328 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
4329 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4330 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4331 fi
4332 output_verbose_link_cmd='echo'
4333 ;;
4334 osf3*)
4335 case $cc_basename in
4336 KCC*)
4337 # Kuck and Associates, Inc. (KAI) C++ Compiler
4338
4339 # KCC will only create a shared library if the output file
4340 # ends with ".so" (or ".sl" for HP-UX), so rename the library
4341 # to its proper name (with version) after linking.
4342 _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4343
4344 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4345 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4346
4347 # Archives containing C++ object files must be created using
4348 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4349 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4350
4351 ;;
4352 RCC*)
4353 # Rational C++ 2.4.1
4354 # FIXME: insert proper C++ library support
4355 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4356 ;;
4357 cxx*)
4358 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4359 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4360
4361 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4362 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4363
4364 # Commands to make compiler produce verbose output that lists
4365 # what "hidden" libraries, object files and flags are used when
4366 # linking a shared library.
4367 #
4368 # There doesn't appear to be a way to prevent this compiler from
4369 # explicitly linking system object files so we need to strip them
4370 # from the output so that they don't get included in the library
4371 # dependencies.
4372 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4373 ;;
4374 *)
4375 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4376 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4377 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4378
4379 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4380 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4381
4382 # Commands to make compiler produce verbose output that lists
4383 # what "hidden" libraries, object files and flags are used when
4384 # linking a shared library.
4385 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4386
4387 else
4388 # FIXME: insert proper C++ library support
4389 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4390 fi
4391 ;;
4392 esac
4393 ;;
4394 osf4* | osf5*)
4395 case $cc_basename in
4396 KCC*)
4397 # Kuck and Associates, Inc. (KAI) C++ Compiler
4398
4399 # KCC will only create a shared library if the output file
4400 # ends with ".so" (or ".sl" for HP-UX), so rename the library
4401 # to its proper name (with version) after linking.
4402 _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4403
4404 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4405 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4406
4407 # Archives containing C++ object files must be created using
4408 # the KAI C++ compiler.
4409 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
4410 ;;
4411 RCC*)
4412 # Rational C++ 2.4.1
4413 # FIXME: insert proper C++ library support
4414 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4415 ;;
4416 cxx*)
4417 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4418 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4419 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
4420 echo "-hidden">> $lib.exp~
4421 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
4422 $rm $lib.exp'
4423
4424 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4425 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4426
4427 # Commands to make compiler produce verbose output that lists
4428 # what "hidden" libraries, object files and flags are used when
4429 # linking a shared library.
4430 #
4431 # There doesn't appear to be a way to prevent this compiler from
4432 # explicitly linking system object files so we need to strip them
4433 # from the output so that they don't get included in the library
4434 # dependencies.
4435 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4436 ;;
4437 *)
4438 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4439 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4440 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4441
4442 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4443 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4444
4445 # Commands to make compiler produce verbose output that lists
4446 # what "hidden" libraries, object files and flags are used when
4447 # linking a shared library.
4448 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4449
4450 else
4451 # FIXME: insert proper C++ library support
4452 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4453 fi
4454 ;;
4455 esac
4456 ;;
4457 psos*)
4458 # FIXME: insert proper C++ library support
4459 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4460 ;;
4461 sco*)
4462 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4463 case $cc_basename in
4464 CC*)
4465 # FIXME: insert proper C++ library support
4466 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4467 ;;
4468 *)
4469 # FIXME: insert proper C++ library support
4470 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4471 ;;
4472 esac
4473 ;;
4474 sunos4*)
4475 case $cc_basename in
4476 CC*)
4477 # Sun C++ 4.x
4478 # FIXME: insert proper C++ library support
4479 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4480 ;;
4481 lcc*)
4482 # Lucid
4483 # FIXME: insert proper C++ library support
4484 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4485 ;;
4486 *)
4487 # FIXME: insert proper C++ library support
4488 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4489 ;;
4490 esac
4491 ;;
4492 solaris*)
4493 case $cc_basename in
4494 CC*)
4495 # Sun C++ 4.2, 5.x and Centerline C++
4496 _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
4497 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
4498 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4499 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4500 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4501
4502 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4503 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4504 case $host_os in
4505 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4506 *)
4507 # The C++ compiler is used as linker so we must use $wl
4508 # flag to pass the commands to the underlying system
4509 # linker. We must also pass each convience library through
4510 # to the system linker between allextract/defaultextract.
4511 # The C++ compiler will combine linker options so we
4512 # cannot just pass the convience library names through
4513 # without $wl.
4514 # Supported since Solaris 2.6 (maybe 2.5.1?)
4515 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
4516 ;;
4517 esac
4518 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4519
4520 output_verbose_link_cmd='echo'
4521
4522 # Archives containing C++ object files must be created using
4523 # "CC -xar", where "CC" is the Sun C++ compiler. This is
4524 # necessary to make sure instantiated templates are included
4525 # in the archive.
4526 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
4527 ;;
4528 gcx*)
4529 # Green Hills C++ Compiler
4530 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4531
4532 # The C++ compiler must be used to create the archive.
4533 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
4534 ;;
4535 *)
4536 # GNU C++ compiler with Solaris linker
4537 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4538 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
4539 if $CC --version | grep -v '^2\.7' > /dev/null; then
4540 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4541 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4542 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4543
4544 # Commands to make compiler produce verbose output that lists
4545 # what "hidden" libraries, object files and flags are used when
4546 # linking a shared library.
4547 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4548 else
4549 # g++ 2.7 appears to require `-G' NOT `-shared' on this
4550 # platform.
4551 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4552 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4553 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4554
4555 # Commands to make compiler produce verbose output that lists
4556 # what "hidden" libraries, object files and flags are used when
4557 # linking a shared library.
4558 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4559 fi
4560
4561 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
4562 fi
4563 ;;
4564 esac
4565 ;;
4566 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4567 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4568 ;;
4569 tandem*)
4570 case $cc_basename in
4571 NCC*)
4572 # NonStop-UX NCC 3.20
4573 # FIXME: insert proper C++ library support
4574 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4575 ;;
4576 *)
4577 # FIXME: insert proper C++ library support
4578 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4579 ;;
4580 esac
4581 ;;
4582 vxworks*)
4583 # FIXME: insert proper C++ library support
4584 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4585 ;;
4586 *)
4587 # FIXME: insert proper C++ library support
4588 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4589 ;;
4590 esac
4591 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4592 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4593
4594 _LT_AC_TAGVAR(GCC, $1)="$GXX"
4595 _LT_AC_TAGVAR(LD, $1)="$LD"
4596
4597 AC_LIBTOOL_POSTDEP_PREDEP($1)
4598 AC_LIBTOOL_PROG_COMPILER_PIC($1)
4599 AC_LIBTOOL_PROG_CC_C_O($1)
4600 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4601 AC_LIBTOOL_PROG_LD_SHLIBS($1)
4602 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4603 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4604 AC_LIBTOOL_SYS_LIB_STRIP
4605 AC_LIBTOOL_DLOPEN_SELF($1)
4606
4607 AC_LIBTOOL_CONFIG($1)
4608
4609 AC_LANG_POP
4610 CC=$lt_save_CC
4611 LDCXX=$LD
4612 LD=$lt_save_LD
4613 GCC=$lt_save_GCC
4614 with_gnu_ldcxx=$with_gnu_ld
4615 with_gnu_ld=$lt_save_with_gnu_ld
4616 lt_cv_path_LDCXX=$lt_cv_path_LD
4617 lt_cv_path_LD=$lt_save_path_LD
4618 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
4619 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
4620 ])# AC_LIBTOOL_LANG_CXX_CONFIG
4621
4622 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
4623 # ------------------------
4624 # Figure out "hidden" library dependencies from verbose
4625 # compiler output when linking a shared library.
4626 # Parse the compiler output and extract the necessary
4627 # objects, libraries and library flags.
4628 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
4629 dnl we can't use the lt_simple_compile_test_code here,
4630 dnl because it contains code intended for an executable,
4631 dnl not a library. It's possible we should let each
4632 dnl tag define a new lt_????_link_test_code variable,
4633 dnl but it's only used here...
4634 ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
4635 int a;
4636 void foo (void) { a = 0; }
4637 EOF
4638 ],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
4639 class Foo
4640 {
4641 public:
4642 Foo (void) { a = 0; }
4643 private:
4644 int a;
4645 };
4646 EOF
4647 ],[$1],[F77],[cat > conftest.$ac_ext <<EOF
4648 subroutine foo
4649 implicit none
4650 integer*4 a
4651 a=0
4652 return
4653 end
4654 EOF
4655 ],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
4656 public class foo {
4657 private int a;
4658 public void bar (void) {
4659 a = 0;
4660 }
4661 };
4662 EOF
4663 ])
4664 dnl Parse the compiler output and extract the necessary
4665 dnl objects, libraries and library flags.
4666 if AC_TRY_EVAL(ac_compile); then
4667 # Parse the compiler output and extract the necessary
4668 # objects, libraries and library flags.
4669
4670 # Sentinel used to keep track of whether or not we are before
4671 # the conftest object file.
4672 pre_test_object_deps_done=no
4673
4674 # The `*' in the case matches for architectures that use `case' in
4675 # $output_verbose_cmd can trigger glob expansion during the loop
4676 # eval without this substitution.
4677 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
4678
4679 for p in `eval $output_verbose_link_cmd`; do
4680 case $p in
4681
4682 -L* | -R* | -l*)
4683 # Some compilers place space between "-{L,R}" and the path.
4684 # Remove the space.
4685 if test $p = "-L" \
4686 || test $p = "-R"; then
4687 prev=$p
4688 continue
4689 else
4690 prev=
4691 fi
4692
4693 if test "$pre_test_object_deps_done" = no; then
4694 case $p in
4695 -L* | -R*)
4696 # Internal compiler library paths should come after those
4697 # provided the user. The postdeps already come after the
4698 # user supplied libs so there is no need to process them.
4699 if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
4700 _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
4701 else
4702 _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
4703 fi
4704 ;;
4705 # The "-l" case would never come before the object being
4706 # linked, so don't bother handling this case.
4707 esac
4708 else
4709 if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
4710 _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
4711 else
4712 _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
4713 fi
4714 fi
4715 ;;
4716
4717 *.$objext)
4718 # This assumes that the test object file only shows up
4719 # once in the compiler output.
4720 if test "$p" = "conftest.$objext"; then
4721 pre_test_object_deps_done=yes
4722 continue
4723 fi
4724
4725 if test "$pre_test_object_deps_done" = no; then
4726 if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
4727 _LT_AC_TAGVAR(predep_objects, $1)="$p"
4728 else
4729 _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
4730 fi
4731 else
4732 if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
4733 _LT_AC_TAGVAR(postdep_objects, $1)="$p"
4734 else
4735 _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
4736 fi
4737 fi
4738 ;;
4739
4740 *) ;; # Ignore the rest.
4741
4742 esac
4743 done
4744
4745 # Clean up.
4746 rm -f a.out a.exe
4747 else
4748 echo "libtool.m4: error: problem compiling $1 test program"
4749 fi
4750
4751 $rm -f confest.$objext
4752
4753 # PORTME: override above test on systems where it is broken
4754 ifelse([$1],[CXX],
4755 [case $host_os in
4756 solaris*)
4757 case $cc_basename in
4758 CC*)
4759 # Adding this requires a known-good setup of shared libraries for
4760 # Sun compiler versions before 5.6, else PIC objects from an old
4761 # archive will be linked into the output, leading to subtle bugs.
4762 _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
4763 ;;
4764 esac
4765 esac
4766 ])
4767
4768 case " $_LT_AC_TAGVAR(postdeps, $1) " in
4769 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4770 esac
4771 ])# AC_LIBTOOL_POSTDEP_PREDEP
4772
4773 # AC_LIBTOOL_LANG_F77_CONFIG
4774 # ------------------------
4775 # Ensure that the configuration vars for the C compiler are
4776 # suitably defined. Those variables are subsequently used by
4777 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4778 AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
4779 AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
4780 [AC_REQUIRE([AC_PROG_F77])
4781 AC_LANG_PUSH(Fortran 77)
4782
4783 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4784 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
4785 _LT_AC_TAGVAR(always_export_symbols, $1)=no
4786 _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4787 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4788 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4789 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4790 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4791 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4792 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4793 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
4794 _LT_AC_TAGVAR(module_cmds, $1)=
4795 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
4796 _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4797 _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4798 _LT_AC_TAGVAR(no_undefined_flag, $1)=
4799 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4800 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4801
4802 # Source file extension for f77 test sources.
4803 ac_ext=f
4804
4805 # Object file extension for compiled f77 test sources.
4806 objext=o
4807 _LT_AC_TAGVAR(objext, $1)=$objext
4808
4809 # Code to be used in simple compile tests
4810 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
4811
4812 # Code to be used in simple link tests
4813 lt_simple_link_test_code=" program t\n end\n"
4814
4815 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4816 _LT_AC_SYS_COMPILER
4817
4818 # save warnings/boilerplate of simple test code
4819 _LT_COMPILER_BOILERPLATE
4820 _LT_LINKER_BOILERPLATE
4821
4822 # Allow CC to be a program name with arguments.
4823 lt_save_CC="$CC"
4824 CC=${F77-"f77"}
4825 compiler=$CC
4826 _LT_AC_TAGVAR(compiler, $1)=$CC
4827 _LT_CC_BASENAME([$compiler])
4828
4829 AC_MSG_CHECKING([if libtool supports shared libraries])
4830 AC_MSG_RESULT([$can_build_shared])
4831
4832 AC_MSG_CHECKING([whether to build shared libraries])
4833 test "$can_build_shared" = "no" && enable_shared=no
4834
4835 # On AIX, shared libraries and static libraries use the same namespace, and
4836 # are all built from PIC.
4837 case $host_os in
4838 aix3*)
4839 test "$enable_shared" = yes && enable_static=no
4840 if test -n "$RANLIB"; then
4841 archive_cmds="$archive_cmds~\$RANLIB \$lib"
4842 postinstall_cmds='$RANLIB $lib'
4843 fi
4844 ;;
4845 aix4* | aix5*)
4846 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4847 test "$enable_shared" = yes && enable_static=no
4848 fi
4849 ;;
4850 esac
4851 AC_MSG_RESULT([$enable_shared])
4852
4853 AC_MSG_CHECKING([whether to build static libraries])
4854 # Make sure either enable_shared or enable_static is yes.
4855 test "$enable_shared" = yes || enable_static=yes
4856 AC_MSG_RESULT([$enable_static])
4857
4858 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4859
4860 _LT_AC_TAGVAR(GCC, $1)="$G77"
4861 _LT_AC_TAGVAR(LD, $1)="$LD"
4862
4863 AC_LIBTOOL_PROG_COMPILER_PIC($1)
4864 AC_LIBTOOL_PROG_CC_C_O($1)
4865 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4866 AC_LIBTOOL_PROG_LD_SHLIBS($1)
4867 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4868 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4869 AC_LIBTOOL_SYS_LIB_STRIP
4870
4871
4872 AC_LIBTOOL_CONFIG($1)
4873
4874 AC_LANG_POP
4875 CC="$lt_save_CC"
4876 ])# AC_LIBTOOL_LANG_F77_CONFIG
4877
4878
4879 # AC_LIBTOOL_LANG_GCJ_CONFIG
4880 # --------------------------
4881 # Ensure that the configuration vars for the C compiler are
4882 # suitably defined. Those variables are subsequently used by
4883 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4884 AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
4885 AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
4886 [AC_LANG_SAVE
4887
4888 # Source file extension for Java test sources.
4889 ac_ext=java
4890
4891 # Object file extension for compiled Java test sources.
4892 objext=o
4893 _LT_AC_TAGVAR(objext, $1)=$objext
4894
4895 # Code to be used in simple compile tests
4896 lt_simple_compile_test_code="class foo {}\n"
4897
4898 # Code to be used in simple link tests
4899 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
4900
4901 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4902 _LT_AC_SYS_COMPILER
4903
4904 # save warnings/boilerplate of simple test code
4905 _LT_COMPILER_BOILERPLATE
4906 _LT_LINKER_BOILERPLATE
4907
4908 # Allow CC to be a program name with arguments.
4909 lt_save_CC="$CC"
4910 CC=${GCJ-"gcj"}
4911 compiler=$CC
4912 _LT_AC_TAGVAR(compiler, $1)=$CC
4913 _LT_CC_BASENAME([$compiler])
4914
4915 # GCJ did not exist at the time GCC didn't implicitly link libc in.
4916 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4917
4918 _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4919
4920 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4921 AC_LIBTOOL_PROG_COMPILER_PIC($1)
4922 AC_LIBTOOL_PROG_CC_C_O($1)
4923 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4924 AC_LIBTOOL_PROG_LD_SHLIBS($1)
4925 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4926 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4927 AC_LIBTOOL_SYS_LIB_STRIP
4928 AC_LIBTOOL_DLOPEN_SELF($1)
4929
4930 AC_LIBTOOL_CONFIG($1)
4931
4932 AC_LANG_RESTORE
4933 CC="$lt_save_CC"
4934 ])# AC_LIBTOOL_LANG_GCJ_CONFIG
4935
4936
4937 # AC_LIBTOOL_LANG_RC_CONFIG
4938 # --------------------------
4939 # Ensure that the configuration vars for the Windows resource compiler are
4940 # suitably defined. Those variables are subsequently used by
4941 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4942 AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
4943 AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
4944 [AC_LANG_SAVE
4945
4946 # Source file extension for RC test sources.
4947 ac_ext=rc
4948
4949 # Object file extension for compiled RC test sources.
4950 objext=o
4951 _LT_AC_TAGVAR(objext, $1)=$objext
4952
4953 # Code to be used in simple compile tests
4954 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
4955
4956 # Code to be used in simple link tests
4957 lt_simple_link_test_code="$lt_simple_compile_test_code"
4958
4959 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4960 _LT_AC_SYS_COMPILER
4961
4962 # save warnings/boilerplate of simple test code
4963 _LT_COMPILER_BOILERPLATE
4964 _LT_LINKER_BOILERPLATE
4965
4966 # Allow CC to be a program name with arguments.
4967 lt_save_CC="$CC"
4968 CC=${RC-"windres"}
4969 compiler=$CC
4970 _LT_AC_TAGVAR(compiler, $1)=$CC
4971 _LT_CC_BASENAME([$compiler])
4972 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4973
4974 AC_LIBTOOL_CONFIG($1)
4975
4976 AC_LANG_RESTORE
4977 CC="$lt_save_CC"
4978 ])# AC_LIBTOOL_LANG_RC_CONFIG
4979
4980
4981 # AC_LIBTOOL_CONFIG([TAGNAME])
4982 # ----------------------------
4983 # If TAGNAME is not passed, then create an initial libtool script
4984 # with a default configuration from the untagged config vars. Otherwise
4985 # add code to config.status for appending the configuration named by
4986 # TAGNAME from the matching tagged config vars.
4987 AC_DEFUN([AC_LIBTOOL_CONFIG],
4988 [# The else clause should only fire when bootstrapping the
4989 # libtool distribution, otherwise you forgot to ship ltmain.sh
4990 # with your package, and you will get complaints that there are
4991 # no rules to generate ltmain.sh.
4992 if test -f "$ltmain"; then
4993 # See if we are running on zsh, and set the options which allow our commands through
4994 # without removal of \ escapes.
4995 if test -n "${ZSH_VERSION+set}" ; then
4996 setopt NO_GLOB_SUBST
4997 fi
4998 # Now quote all the things that may contain metacharacters while being
4999 # careful not to overquote the AC_SUBSTed values. We take copies of the
5000 # variables and quote the copies for generation of the libtool script.
5001 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5002 SED SHELL STRIP \
5003 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5004 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5005 deplibs_check_method reload_flag reload_cmds need_locks \
5006 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5007 lt_cv_sys_global_symbol_to_c_name_address \
5008 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5009 old_postinstall_cmds old_postuninstall_cmds \
5010 _LT_AC_TAGVAR(compiler, $1) \
5011 _LT_AC_TAGVAR(CC, $1) \
5012 _LT_AC_TAGVAR(LD, $1) \
5013 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
5014 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
5015 _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
5016 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
5017 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
5018 _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
5019 _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
5020 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
5021 _LT_AC_TAGVAR(old_archive_cmds, $1) \
5022 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
5023 _LT_AC_TAGVAR(predep_objects, $1) \
5024 _LT_AC_TAGVAR(postdep_objects, $1) \
5025 _LT_AC_TAGVAR(predeps, $1) \
5026 _LT_AC_TAGVAR(postdeps, $1) \
5027 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
5028 _LT_AC_TAGVAR(archive_cmds, $1) \
5029 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
5030 _LT_AC_TAGVAR(postinstall_cmds, $1) \
5031 _LT_AC_TAGVAR(postuninstall_cmds, $1) \
5032 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
5033 _LT_AC_TAGVAR(allow_undefined_flag, $1) \
5034 _LT_AC_TAGVAR(no_undefined_flag, $1) \
5035 _LT_AC_TAGVAR(export_symbols_cmds, $1) \
5036 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
5037 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
5038 _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
5039 _LT_AC_TAGVAR(hardcode_automatic, $1) \
5040 _LT_AC_TAGVAR(module_cmds, $1) \
5041 _LT_AC_TAGVAR(module_expsym_cmds, $1) \
5042 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
5043 _LT_AC_TAGVAR(exclude_expsyms, $1) \
5044 _LT_AC_TAGVAR(include_expsyms, $1); do
5045
5046 case $var in
5047 _LT_AC_TAGVAR(old_archive_cmds, $1) | \
5048 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
5049 _LT_AC_TAGVAR(archive_cmds, $1) | \
5050 _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
5051 _LT_AC_TAGVAR(module_cmds, $1) | \
5052 _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
5053 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
5054 _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
5055 extract_expsyms_cmds | reload_cmds | finish_cmds | \
5056 postinstall_cmds | postuninstall_cmds | \
5057 old_postinstall_cmds | old_postuninstall_cmds | \
5058 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5059 # Double-quote double-evaled strings.
5060 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5061 ;;
5062 *)
5063 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5064 ;;
5065 esac
5066 done
5067
5068 case $lt_echo in
5069 *'\[$]0 --fallback-echo"')
5070 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
5071 ;;
5072 esac
5073
5074 ifelse([$1], [],
5075 [cfgfile="${ofile}T"
5076 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
5077 $rm -f "$cfgfile"
5078 AC_MSG_NOTICE([creating $ofile])],
5079 [cfgfile="$ofile"])
5080
5081 cat <<__EOF__ >> "$cfgfile"
5082 ifelse([$1], [],
5083 [#! $SHELL
5084
5085 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
5086 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
5087 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
5088 #
5089 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
5090 # Free Software Foundation, Inc.
5091 #
5092 # This file is part of GNU Libtool:
5093 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
5094 #
5095 # This program is free software; you can redistribute it and/or modify
5096 # it under the terms of the GNU General Public License as published by
5097 # the Free Software Foundation; either version 2 of the License, or
5098 # (at your option) any later version.
5099 #
5100 # This program is distributed in the hope that it will be useful, but
5101 # WITHOUT ANY WARRANTY; without even the implied warranty of
5102 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5103 # General Public License for more details.
5104 #
5105 # You should have received a copy of the GNU General Public License
5106 # along with this program; if not, write to the Free Software
5107 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
5108 #
5109 # As a special exception to the GNU General Public License, if you
5110 # distribute this file as part of a program that contains a
5111 # configuration script generated by Autoconf, you may include it under
5112 # the same distribution terms that you use for the rest of that program.
5113
5114 # A sed program that does not truncate output.
5115 SED=$lt_SED
5116
5117 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
5118 Xsed="$SED -e 1s/^X//"
5119
5120 # The HP-UX ksh and POSIX shell print the target directory to stdout
5121 # if CDPATH is set.
5122 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5123
5124 # The names of the tagged configurations supported by this script.
5125 available_tags=
5126
5127 # ### BEGIN LIBTOOL CONFIG],
5128 [# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
5129
5130 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5131
5132 # Shell to use when invoking shell scripts.
5133 SHELL=$lt_SHELL
5134
5135 # Whether or not to build shared libraries.
5136 build_libtool_libs=$enable_shared
5137
5138 # Whether or not to build static libraries.
5139 build_old_libs=$enable_static
5140
5141 # Whether or not to add -lc for building shared libraries.
5142 build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
5143
5144 # Whether or not to disallow shared libs when runtime libs are static
5145 allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
5146
5147 # Whether or not to optimize for fast installation.
5148 fast_install=$enable_fast_install
5149
5150 # The host system.
5151 host_alias=$host_alias
5152 host=$host
5153 host_os=$host_os
5154
5155 # The build system.
5156 build_alias=$build_alias
5157 build=$build
5158 build_os=$build_os
5159
5160 # An echo program that does not interpret backslashes.
5161 echo=$lt_echo
5162
5163 # The archiver.
5164 AR=$lt_AR
5165 AR_FLAGS=$lt_AR_FLAGS
5166
5167 # A C compiler.
5168 LTCC=$lt_LTCC
5169
5170 # A language-specific compiler.
5171 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
5172
5173 # Is the compiler the GNU C compiler?
5174 with_gcc=$_LT_AC_TAGVAR(GCC, $1)
5175
5176 # An ERE matcher.
5177 EGREP=$lt_EGREP
5178
5179 # The linker used to build libraries.
5180 LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
5181
5182 # Whether we need hard or soft links.
5183 LN_S=$lt_LN_S
5184
5185 # A BSD-compatible nm program.
5186 NM=$lt_NM
5187
5188 # A symbol stripping program
5189 STRIP=$lt_STRIP
5190
5191 # Used to examine libraries when file_magic_cmd begins "file"
5192 MAGIC_CMD=$MAGIC_CMD
5193
5194 # Used on cygwin: DLL creation program.
5195 DLLTOOL="$DLLTOOL"
5196
5197 # Used on cygwin: object dumper.
5198 OBJDUMP="$OBJDUMP"
5199
5200 # Used on cygwin: assembler.
5201 AS="$AS"
5202
5203 # The name of the directory that contains temporary libtool files.
5204 objdir=$objdir
5205
5206 # How to create reloadable object files.
5207 reload_flag=$lt_reload_flag
5208 reload_cmds=$lt_reload_cmds
5209
5210 # How to pass a linker flag through the compiler.
5211 wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
5212
5213 # Object file suffix (normally "o").
5214 objext="$ac_objext"
5215
5216 # Old archive suffix (normally "a").
5217 libext="$libext"
5218
5219 # Shared library suffix (normally ".so").
5220 shrext_cmds='$shrext_cmds'
5221
5222 # Executable file suffix (normally "").
5223 exeext="$exeext"
5224
5225 # Additional compiler flags for building library objects.
5226 pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
5227 pic_mode=$pic_mode
5228
5229 # What is the maximum length of a command?
5230 max_cmd_len=$lt_cv_sys_max_cmd_len
5231
5232 # Does compiler simultaneously support -c and -o options?
5233 compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
5234
5235 # Must we lock files when doing compilation?
5236 need_locks=$lt_need_locks
5237
5238 # Do we need the lib prefix for modules?
5239 need_lib_prefix=$need_lib_prefix
5240
5241 # Do we need a version for libraries?
5242 need_version=$need_version
5243
5244 # Whether dlopen is supported.
5245 dlopen_support=$enable_dlopen
5246
5247 # Whether dlopen of programs is supported.
5248 dlopen_self=$enable_dlopen_self
5249
5250 # Whether dlopen of statically linked programs is supported.
5251 dlopen_self_static=$enable_dlopen_self_static
5252
5253 # Compiler flag to prevent dynamic linking.
5254 link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
5255
5256 # Compiler flag to turn off builtin functions.
5257 no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
5258
5259 # Compiler flag to allow reflexive dlopens.
5260 export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
5261
5262 # Compiler flag to generate shared objects directly from archives.
5263 whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
5264
5265 # Compiler flag to generate thread-safe objects.
5266 thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
5267
5268 # Library versioning type.
5269 version_type=$version_type
5270
5271 # Format of library name prefix.
5272 libname_spec=$lt_libname_spec
5273
5274 # List of archive names. First name is the real one, the rest are links.
5275 # The last name is the one that the linker finds with -lNAME.
5276 library_names_spec=$lt_library_names_spec
5277
5278 # The coded name of the library, if different from the real name.
5279 soname_spec=$lt_soname_spec
5280
5281 # Commands used to build and install an old-style archive.
5282 RANLIB=$lt_RANLIB
5283 old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
5284 old_postinstall_cmds=$lt_old_postinstall_cmds
5285 old_postuninstall_cmds=$lt_old_postuninstall_cmds
5286
5287 # Create an old-style archive from a shared archive.
5288 old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
5289
5290 # Create a temporary old-style archive to link instead of a shared archive.
5291 old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
5292
5293 # Commands used to build and install a shared archive.
5294 archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
5295 archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
5296 postinstall_cmds=$lt_postinstall_cmds
5297 postuninstall_cmds=$lt_postuninstall_cmds
5298
5299 # Commands used to build a loadable module (assumed same as above if empty)
5300 module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
5301 module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
5302
5303 # Commands to strip libraries.
5304 old_striplib=$lt_old_striplib
5305 striplib=$lt_striplib
5306
5307 # Dependencies to place before the objects being linked to create a
5308 # shared library.
5309 predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
5310
5311 # Dependencies to place after the objects being linked to create a
5312 # shared library.
5313 postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
5314
5315 # Dependencies to place before the objects being linked to create a
5316 # shared library.
5317 predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
5318
5319 # Dependencies to place after the objects being linked to create a
5320 # shared library.
5321 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
5322
5323 # The library search path used internally by the compiler when linking
5324 # a shared library.
5325 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
5326
5327 # Method to check whether dependent libraries are shared objects.
5328 deplibs_check_method=$lt_deplibs_check_method
5329
5330 # Command to use when deplibs_check_method == file_magic.
5331 file_magic_cmd=$lt_file_magic_cmd
5332
5333 # Flag that allows shared libraries with undefined symbols to be built.
5334 allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
5335
5336 # Flag that forces no undefined symbols.
5337 no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
5338
5339 # Commands used to finish a libtool library installation in a directory.
5340 finish_cmds=$lt_finish_cmds
5341
5342 # Same as above, but a single script fragment to be evaled but not shown.
5343 finish_eval=$lt_finish_eval
5344
5345 # Take the output of nm and produce a listing of raw symbols and C names.
5346 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5347
5348 # Transform the output of nm in a proper C declaration
5349 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5350
5351 # Transform the output of nm in a C name address pair
5352 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5353
5354 # This is the shared library runtime path variable.
5355 runpath_var=$runpath_var
5356
5357 # This is the shared library path variable.
5358 shlibpath_var=$shlibpath_var
5359
5360 # Is shlibpath searched before the hard-coded library search path?
5361 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
5362
5363 # How to hardcode a shared library path into an executable.
5364 hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
5365
5366 # Whether we should hardcode library paths into libraries.
5367 hardcode_into_libs=$hardcode_into_libs
5368
5369 # Flag to hardcode \$libdir into a binary during linking.
5370 # This must work even if \$libdir does not exist.
5371 hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
5372
5373 # If ld is used when linking, flag to hardcode \$libdir into
5374 # a binary during linking. This must work even if \$libdir does
5375 # not exist.
5376 hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
5377
5378 # Whether we need a single -rpath flag with a separated argument.
5379 hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
5380
5381 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
5382 # resulting binary.
5383 hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
5384
5385 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
5386 # resulting binary.
5387 hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
5388
5389 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
5390 # the resulting binary.
5391 hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
5392
5393 # Set to yes if building a shared library automatically hardcodes DIR into the library
5394 # and all subsequent libraries and executables linked against it.
5395 hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
5396
5397 # Variables whose values should be saved in libtool wrapper scripts and
5398 # restored at relink time.
5399 variables_saved_for_relink="$variables_saved_for_relink"
5400
5401 # Whether libtool must link a program against all its dependency libraries.
5402 link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
5403
5404 # Compile-time system search path for libraries
5405 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
5406
5407 # Run-time system search path for libraries
5408 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
5409
5410 # Fix the shell variable \$srcfile for the compiler.
5411 fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
5412
5413 # Set to yes if exported symbols are required.
5414 always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
5415
5416 # The commands to list exported symbols.
5417 export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
5418
5419 # The commands to extract the exported symbol list from a shared archive.
5420 extract_expsyms_cmds=$lt_extract_expsyms_cmds
5421
5422 # Symbols that should not be listed in the preloaded symbols.
5423 exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
5424
5425 # Symbols that must always be exported.
5426 include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
5427
5428 ifelse([$1],[],
5429 [# ### END LIBTOOL CONFIG],
5430 [# ### END LIBTOOL TAG CONFIG: $tagname])
5431
5432 __EOF__
5433
5434 ifelse([$1],[], [
5435 case $host_os in
5436 aix3*)
5437 cat <<\EOF >> "$cfgfile"
5438
5439 # AIX sometimes has problems with the GCC collect2 program. For some
5440 # reason, if we set the COLLECT_NAMES environment variable, the problems
5441 # vanish in a puff of smoke.
5442 if test "X${COLLECT_NAMES+set}" != Xset; then
5443 COLLECT_NAMES=
5444 export COLLECT_NAMES
5445 fi
5446 EOF
5447 ;;
5448 esac
5449
5450 # We use sed instead of cat because bash on DJGPP gets confused if
5451 # if finds mixed CR/LF and LF-only lines. Since sed operates in
5452 # text mode, it properly converts lines to CR/LF. This bash problem
5453 # is reportedly fixed, but why not run on old versions too?
5454 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
5455
5456 mv -f "$cfgfile" "$ofile" || \
5457 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
5458 chmod +x "$ofile"
5459 ])
5460 else
5461 # If there is no Makefile yet, we rely on a make rule to execute
5462 # `config.status --recheck' to rerun these tests and create the
5463 # libtool script then.
5464 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5465 if test -f "$ltmain_in"; then
5466 test -f Makefile && make "$ltmain"
5467 fi
5468 fi
5469 ])# AC_LIBTOOL_CONFIG
5470
5471
5472 # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
5473 # -------------------------------------------
5474 AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
5475 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
5476
5477 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5478
5479 if test "$GCC" = yes; then
5480 _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
5481
5482 AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
5483 lt_cv_prog_compiler_rtti_exceptions,
5484 [-fno-rtti -fno-exceptions], [],
5485 [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
5486 fi
5487 ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
5488
5489
5490 # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5491 # ---------------------------------
5492 AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
5493 [AC_REQUIRE([AC_CANONICAL_HOST])
5494 AC_REQUIRE([AC_PROG_NM])
5495 AC_REQUIRE([AC_OBJEXT])
5496 # Check for command to grab the raw symbol name followed by C symbol from nm.
5497 AC_MSG_CHECKING([command to parse $NM output from $compiler object])
5498 AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
5499 [
5500 # These are sane defaults that work on at least a few old systems.
5501 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5502
5503 # Character class describing NM global symbol codes.
5504 symcode='[[BCDEGRST]]'
5505
5506 # Regexp to match symbols that can be accessed directly from C.
5507 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
5508
5509 # Transform an extracted symbol line into a proper C declaration
5510 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5511
5512 # Transform an extracted symbol line into symbol name and symbol address
5513 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5514
5515 # Define system-specific variables.
5516 case $host_os in
5517 aix*)
5518 symcode='[[BCDT]]'
5519 ;;
5520 cygwin* | mingw* | pw32*)
5521 symcode='[[ABCDGISTW]]'
5522 ;;
5523 hpux*) # Its linker distinguishes data from code symbols
5524 if test "$host_cpu" = ia64; then
5525 symcode='[[ABCDEGRST]]'
5526 fi
5527 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5528 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5529 ;;
5530 linux*)
5531 if test "$host_cpu" = ia64; then
5532 symcode='[[ABCDGIRSTW]]'
5533 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5534 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5535 fi
5536 ;;
5537 irix* | nonstopux*)
5538 symcode='[[BCDEGRST]]'
5539 ;;
5540 osf*)
5541 symcode='[[BCDEGQRST]]'
5542 ;;
5543 solaris* | sysv5*)
5544 symcode='[[BDRT]]'
5545 ;;
5546 sysv4)
5547 symcode='[[DFNSTU]]'
5548 ;;
5549 esac
5550
5551 # Handle CRLF in mingw tool chain
5552 opt_cr=
5553 case $build_os in
5554 mingw*)
5555 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5556 ;;
5557 esac
5558
5559 # If we're using GNU nm, then use its standard symbol codes.
5560 case `$NM -V 2>&1` in
5561 *GNU* | *'with BFD'*)
5562 symcode='[[ABCDGIRSTW]]' ;;
5563 esac
5564
5565 # Try without a prefix undercore, then with it.
5566 for ac_symprfx in "" "_"; do
5567
5568 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5569 symxfrm="\\1 $ac_symprfx\\2 \\2"
5570
5571 # Write the raw and C identifiers.
5572 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5573
5574 # Check to see that the pipe works correctly.
5575 pipe_works=no
5576
5577 rm -f conftest*
5578 cat > conftest.$ac_ext <<EOF
5579 #ifdef __cplusplus
5580 extern "C" {
5581 #endif
5582 char nm_test_var;
5583 void nm_test_func(){}
5584 #ifdef __cplusplus
5585 }
5586 #endif
5587 int main(){nm_test_var='a';nm_test_func();return(0);}
5588 EOF
5589
5590 if AC_TRY_EVAL(ac_compile); then
5591 # Now try to grab the symbols.
5592 nlist=conftest.nm
5593 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
5594 # Try sorting and uniquifying the output.
5595 if sort "$nlist" | uniq > "$nlist"T; then
5596 mv -f "$nlist"T "$nlist"
5597 else
5598 rm -f "$nlist"T
5599 fi
5600
5601 # Make sure that we snagged all the symbols we need.
5602 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5603 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5604 cat <<EOF > conftest.$ac_ext
5605 #ifdef __cplusplus
5606 extern "C" {
5607 #endif
5608
5609 EOF
5610 # Now generate the symbol file.
5611 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5612
5613 cat <<EOF >> conftest.$ac_ext
5614 #if defined (__STDC__) && __STDC__
5615 # define lt_ptr_t void *
5616 #else
5617 # define lt_ptr_t char *
5618 # define const
5619 #endif
5620
5621 /* The mapping between symbol names and symbols. */
5622 const struct {
5623 const char *name;
5624 lt_ptr_t address;
5625 }
5626 lt_preloaded_symbols[[]] =
5627 {
5628 EOF
5629 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5630 cat <<\EOF >> conftest.$ac_ext
5631 {0, (lt_ptr_t) 0}
5632 };
5633
5634 #ifdef __cplusplus
5635 }
5636 #endif
5637 EOF
5638 # Now try linking the two files.
5639 mv conftest.$ac_objext conftstm.$ac_objext
5640 lt_save_LIBS="$LIBS"
5641 lt_save_CFLAGS="$CFLAGS"
5642 LIBS="conftstm.$ac_objext"
5643 CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
5644 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
5645 pipe_works=yes
5646 fi
5647 LIBS="$lt_save_LIBS"
5648 CFLAGS="$lt_save_CFLAGS"
5649 else
5650 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
5651 fi
5652 else
5653 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
5654 fi
5655 else
5656 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
5657 fi
5658 else
5659 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
5660 cat conftest.$ac_ext >&5
5661 fi
5662 rm -f conftest* conftst*
5663
5664 # Do not use the global_symbol_pipe unless it works.
5665 if test "$pipe_works" = yes; then
5666 break
5667 else
5668 lt_cv_sys_global_symbol_pipe=
5669 fi
5670 done
5671 ])
5672 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5673 lt_cv_sys_global_symbol_to_cdecl=
5674 fi
5675 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5676 AC_MSG_RESULT(failed)
5677 else
5678 AC_MSG_RESULT(ok)
5679 fi
5680 ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
5681
5682
5683 # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
5684 # ---------------------------------------
5685 AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
5686 [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
5687 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5688 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
5689
5690 AC_MSG_CHECKING([for $compiler option to produce PIC])
5691 ifelse([$1],[CXX],[
5692 # C++ specific cases for pic, static, wl, etc.
5693 if test "$GXX" = yes; then
5694 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5695 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5696
5697 case $host_os in
5698 aix*)
5699 # All AIX code is PIC.
5700 if test "$host_cpu" = ia64; then
5701 # AIX 5 now supports IA64 processor
5702 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5703 fi
5704 ;;
5705 amigaos*)
5706 # FIXME: we need at least 68020 code to build shared libraries, but
5707 # adding the `-m68020' flag to GCC prevents building anything better,
5708 # like `-m68040'.
5709 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5710 ;;
5711 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5712 # PIC is the default for these OSes.
5713 ;;
5714 mingw* | os2* | pw32*)
5715 # This hack is so that the source file can tell whether it is being
5716 # built for inclusion in a dll (and should export symbols for example).
5717 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5718 ;;
5719 darwin* | rhapsody*)
5720 # PIC is the default on this platform
5721 # Common symbols not allowed in MH_DYLIB files
5722 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5723 ;;
5724 *djgpp*)
5725 # DJGPP does not support shared libraries at all
5726 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5727 ;;
5728 sysv4*MP*)
5729 if test -d /usr/nec; then
5730 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5731 fi
5732 ;;
5733 hpux*)
5734 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5735 # not for PA HP-UX.
5736 case $host_cpu in
5737 hppa*64*|ia64*)
5738 ;;
5739 *)
5740 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5741 ;;
5742 esac
5743 ;;
5744 *)
5745 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5746 ;;
5747 esac
5748 else
5749 case $host_os in
5750 aix4* | aix5*)
5751 # All AIX code is PIC.
5752 if test "$host_cpu" = ia64; then
5753 # AIX 5 now supports IA64 processor
5754 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5755 else
5756 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5757 fi
5758 ;;
5759 chorus*)
5760 case $cc_basename in
5761 cxch68*)
5762 # Green Hills C++ Compiler
5763 # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
5764 ;;
5765 esac
5766 ;;
5767 darwin*)
5768 # PIC is the default on this platform
5769 # Common symbols not allowed in MH_DYLIB files
5770 case $cc_basename in
5771 xlc*)
5772 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5773 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5774 ;;
5775 esac
5776 ;;
5777 dgux*)
5778 case $cc_basename in
5779 ec++*)
5780 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5781 ;;
5782 ghcx*)
5783 # Green Hills C++ Compiler
5784 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5785 ;;
5786 *)
5787 ;;
5788 esac
5789 ;;
5790 freebsd* | kfreebsd*-gnu | dragonfly*)
5791 # FreeBSD uses GNU C++
5792 ;;
5793 hpux9* | hpux10* | hpux11*)
5794 case $cc_basename in
5795 CC*)
5796 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5797 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5798 if test "$host_cpu" != ia64; then
5799 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5800 fi
5801 ;;
5802 aCC*)
5803 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5804 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5805 case $host_cpu in
5806 hppa*64*|ia64*)
5807 # +Z the default
5808 ;;
5809 *)
5810 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5811 ;;
5812 esac
5813 ;;
5814 *)
5815 ;;
5816 esac
5817 ;;
5818 irix5* | irix6* | nonstopux*)
5819 case $cc_basename in
5820 CC*)
5821 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5822 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5823 # CC pic flag -KPIC is the default.
5824 ;;
5825 *)
5826 ;;
5827 esac
5828 ;;
5829 linux*)
5830 case $cc_basename in
5831 KCC*)
5832 # KAI C++ Compiler
5833 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5834 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5835 ;;
5836 icpc* | ecpc*)
5837 # Intel C++
5838 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5839 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5840 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5841 ;;
5842 pgCC*)
5843 # Portland Group C++ compiler.
5844 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5845 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5846 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5847 ;;
5848 cxx*)
5849 # Compaq C++
5850 # Make sure the PIC flag is empty. It appears that all Alpha
5851 # Linux and Compaq Tru64 Unix objects are PIC.
5852 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5853 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5854 ;;
5855 *)
5856 ;;
5857 esac
5858 ;;
5859 lynxos*)
5860 ;;
5861 m88k*)
5862 ;;
5863 mvs*)
5864 case $cc_basename in
5865 cxx*)
5866 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
5867 ;;
5868 *)
5869 ;;
5870 esac
5871 ;;
5872 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5873 ;;
5874 osf3* | osf4* | osf5*)
5875 case $cc_basename in
5876 KCC*)
5877 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5878 ;;
5879 RCC*)
5880 # Rational C++ 2.4.1
5881 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5882 ;;
5883 cxx*)
5884 # Digital/Compaq C++
5885 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5886 # Make sure the PIC flag is empty. It appears that all Alpha
5887 # Linux and Compaq Tru64 Unix objects are PIC.
5888 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5889 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5890 ;;
5891 *)
5892 ;;
5893 esac
5894 ;;
5895 psos*)
5896 ;;
5897 sco*)
5898 case $cc_basename in
5899 CC*)
5900 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5901 ;;
5902 *)
5903 ;;
5904 esac
5905 ;;
5906 solaris*)
5907 case $cc_basename in
5908 CC*)
5909 # Sun C++ 4.2, 5.x and Centerline C++
5910 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5911 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5912 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5913 ;;
5914 gcx*)
5915 # Green Hills C++ Compiler
5916 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5917 ;;
5918 *)
5919 ;;
5920 esac
5921 ;;
5922 sunos4*)
5923 case $cc_basename in
5924 CC*)
5925 # Sun C++ 4.x
5926 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5927 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5928 ;;
5929 lcc*)
5930 # Lucid
5931 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5932 ;;
5933 *)
5934 ;;
5935 esac
5936 ;;
5937 tandem*)
5938 case $cc_basename in
5939 NCC*)
5940 # NonStop-UX NCC 3.20
5941 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5942 ;;
5943 *)
5944 ;;
5945 esac
5946 ;;
5947 unixware*)
5948 ;;
5949 vxworks*)
5950 ;;
5951 *)
5952 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5953 ;;
5954 esac
5955 fi
5956 ],
5957 [
5958 if test "$GCC" = yes; then
5959 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5960 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5961
5962 case $host_os in
5963 aix*)
5964 # All AIX code is PIC.
5965 if test "$host_cpu" = ia64; then
5966 # AIX 5 now supports IA64 processor
5967 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5968 fi
5969 ;;
5970
5971 amigaos*)
5972 # FIXME: we need at least 68020 code to build shared libraries, but
5973 # adding the `-m68020' flag to GCC prevents building anything better,
5974 # like `-m68040'.
5975 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5976 ;;
5977
5978 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5979 # PIC is the default for these OSes.
5980 ;;
5981
5982 mingw* | pw32* | os2*)
5983 # This hack is so that the source file can tell whether it is being
5984 # built for inclusion in a dll (and should export symbols for example).
5985 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5986 ;;
5987
5988 darwin* | rhapsody*)
5989 # PIC is the default on this platform
5990 # Common symbols not allowed in MH_DYLIB files
5991 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5992 ;;
5993
5994 msdosdjgpp*)
5995 # Just because we use GCC doesn't mean we suddenly get shared libraries
5996 # on systems that don't support them.
5997 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5998 enable_shared=no
5999 ;;
6000
6001 sysv4*MP*)
6002 if test -d /usr/nec; then
6003 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6004 fi
6005 ;;
6006
6007 hpux*)
6008 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6009 # not for PA HP-UX.
6010 case $host_cpu in
6011 hppa*64*|ia64*)
6012 # +Z the default
6013 ;;
6014 *)
6015 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6016 ;;
6017 esac
6018 ;;
6019
6020 *)
6021 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6022 ;;
6023 esac
6024 else
6025 # PORTME Check for flag to pass linker flags through the system compiler.
6026 case $host_os in
6027 aix*)
6028 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6029 if test "$host_cpu" = ia64; then
6030 # AIX 5 now supports IA64 processor
6031 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6032 else
6033 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
6034 fi
6035 ;;
6036 darwin*)
6037 # PIC is the default on this platform
6038 # Common symbols not allowed in MH_DYLIB files
6039 case $cc_basename in
6040 xlc*)
6041 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
6042 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6043 ;;
6044 esac
6045 ;;
6046
6047 mingw* | pw32* | os2*)
6048 # This hack is so that the source file can tell whether it is being
6049 # built for inclusion in a dll (and should export symbols for example).
6050 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6051 ;;
6052
6053 hpux9* | hpux10* | hpux11*)
6054 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6055 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6056 # not for PA HP-UX.
6057 case $host_cpu in
6058 hppa*64*|ia64*)
6059 # +Z the default
6060 ;;
6061 *)
6062 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6063 ;;
6064 esac
6065 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6066 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
6067 ;;
6068
6069 irix5* | irix6* | nonstopux*)
6070 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6071 # PIC (with -KPIC) is the default.
6072 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6073 ;;
6074
6075 newsos6)
6076 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6077 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6078 ;;
6079
6080 linux*)
6081 case $cc_basename in
6082 icc* | ecc*)
6083 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6084 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6085 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6086 ;;
6087 pgcc* | pgf77* | pgf90* | pgf95*)
6088 # Portland Group compilers (*not* the Pentium gcc compiler,
6089 # which looks to be a dead project)
6090 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6091 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6092 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6093 ;;
6094 ccc*)
6095 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6096 # All Alpha code is PIC.
6097 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6098 ;;
6099 esac
6100 ;;
6101
6102 osf3* | osf4* | osf5*)
6103 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6104 # All OSF/1 code is PIC.
6105 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6106 ;;
6107
6108 sco3.2v5*)
6109 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
6110 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
6111 ;;
6112
6113 solaris*)
6114 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6115 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6116 case $cc_basename in
6117 f77* | f90* | f95*)
6118 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
6119 *)
6120 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
6121 esac
6122 ;;
6123
6124 sunos4*)
6125 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6126 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6127 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6128 ;;
6129
6130 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6131 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6132 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6133 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6134 ;;
6135
6136 sysv4*MP*)
6137 if test -d /usr/nec ;then
6138 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
6139 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6140 fi
6141 ;;
6142
6143 unicos*)
6144 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6145 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6146 ;;
6147
6148 uts4*)
6149 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6150 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6151 ;;
6152
6153 *)
6154 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6155 ;;
6156 esac
6157 fi
6158 ])
6159 AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
6160
6161 #
6162 # Check to make sure the PIC flag actually works.
6163 #
6164 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
6165 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
6166 _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
6167 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
6168 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
6169 "" | " "*) ;;
6170 *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
6171 esac],
6172 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6173 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
6174 fi
6175 case $host_os in
6176 # For platforms which do not support PIC, -DPIC is meaningless:
6177 *djgpp*)
6178 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6179 ;;
6180 *)
6181 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
6182 ;;
6183 esac
6184 ])
6185
6186
6187 # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
6188 # ------------------------------------
6189 # See if the linker supports building shared libraries.
6190 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
6191 [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
6192 ifelse([$1],[CXX],[
6193 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6194 case $host_os in
6195 aix4* | aix5*)
6196 # If we're using GNU nm, then we don't want the "-C" option.
6197 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6198 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6199 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6200 else
6201 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6202 fi
6203 ;;
6204 pw32*)
6205 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
6206 ;;
6207 cygwin* | mingw*)
6208 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
6209 ;;
6210 linux*)
6211 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6212 ;;
6213 *)
6214 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6215 ;;
6216 esac
6217 ],[
6218 runpath_var=
6219 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6220 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6221 _LT_AC_TAGVAR(archive_cmds, $1)=
6222 _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
6223 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
6224 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
6225 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
6226 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6227 _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
6228 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6229 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6230 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6231 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6232 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6233 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6234 _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
6235 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
6236 _LT_AC_TAGVAR(module_cmds, $1)=
6237 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
6238 _LT_AC_TAGVAR(always_export_symbols, $1)=no
6239 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6240 # include_expsyms should be a list of space-separated symbols to be *always*
6241 # included in the symbol list
6242 _LT_AC_TAGVAR(include_expsyms, $1)=
6243 # exclude_expsyms can be an extended regexp of symbols to exclude
6244 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6245 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6246 # as well as any symbol that contains `d'.
6247 _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
6248 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6249 # platforms (ab)use it in PIC code, but their linkers get confused if
6250 # the symbol is explicitly referenced. Since portable code cannot
6251 # rely on this symbol name, it's probably fine to never include it in
6252 # preloaded symbol tables.
6253 extract_expsyms_cmds=
6254 # Just being paranoid about ensuring that cc_basename is set.
6255 _LT_CC_BASENAME([$compiler])
6256 case $host_os in
6257 cygwin* | mingw* | pw32*)
6258 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6259 # When not using gcc, we currently assume that we are using
6260 # Microsoft Visual C++.
6261 if test "$GCC" != yes; then
6262 with_gnu_ld=no
6263 fi
6264 ;;
6265 openbsd*)
6266 with_gnu_ld=no
6267 ;;
6268 esac
6269
6270 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6271 if test "$with_gnu_ld" = yes; then
6272 # If archive_cmds runs LD, not CC, wlarc should be empty
6273 wlarc='${wl}'
6274
6275 # Set some defaults for GNU ld with shared library support. These
6276 # are reset later if shared libraries are not supported. Putting them
6277 # here allows them to be overridden if necessary.
6278 runpath_var=LD_RUN_PATH
6279 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6280 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6281 # ancient GNU ld didn't support --whole-archive et. al.
6282 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6283 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6284 else
6285 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6286 fi
6287 supports_anon_versioning=no
6288 case `$LD -v 2>/dev/null` in
6289 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
6290 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6291 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6292 *\ 2.11.*) ;; # other 2.11 versions
6293 *) supports_anon_versioning=yes ;;
6294 esac
6295
6296 # See if GNU ld supports shared libraries.
6297 case $host_os in
6298 aix3* | aix4* | aix5*)
6299 # On AIX/PPC, the GNU linker is very broken
6300 if test "$host_cpu" != ia64; then
6301 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6302 cat <<EOF 1>&2
6303
6304 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6305 *** to be unable to reliably create shared libraries on AIX.
6306 *** Therefore, libtool is disabling shared libraries support. If you
6307 *** really care for shared libraries, you may want to modify your PATH
6308 *** so that a non-GNU linker is found, and then restart.
6309
6310 EOF
6311 fi
6312 ;;
6313
6314 amigaos*)
6315 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6316 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6317 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6318
6319 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6320 # that the semantics of dynamic libraries on AmigaOS, at least up
6321 # to version 4, is to share data among multiple programs linked
6322 # with the same dynamic library. Since this doesn't match the
6323 # behavior of shared libraries on other platforms, we can't use
6324 # them.
6325 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6326 ;;
6327
6328 beos*)
6329 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6330 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6331 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6332 # support --undefined. This deserves some investigation. FIXME
6333 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6334 else
6335 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6336 fi
6337 ;;
6338
6339 cygwin* | mingw* | pw32*)
6340 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6341 # as there is no search path for DLLs.
6342 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6343 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6344 _LT_AC_TAGVAR(always_export_symbols, $1)=no
6345 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6346 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
6347
6348 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6349 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6350 # If the export-symbols file already is a .def file (1st line
6351 # is EXPORTS), use it as is; otherwise, prepend...
6352 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6353 cp $export_symbols $output_objdir/$soname.def;
6354 else
6355 echo EXPORTS > $output_objdir/$soname.def;
6356 cat $export_symbols >> $output_objdir/$soname.def;
6357 fi~
6358 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6359 else
6360 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6361 fi
6362 ;;
6363
6364 linux*)
6365 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6366 tmp_addflag=
6367 case $cc_basename,$host_cpu in
6368 pgcc*) # Portland Group C compiler
6369 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6370 tmp_addflag=' $pic_flag'
6371 ;;
6372 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6373 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6374 tmp_addflag=' $pic_flag -Mnomain' ;;
6375 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6376 tmp_addflag=' -i_dynamic' ;;
6377 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6378 tmp_addflag=' -i_dynamic -nofor_main' ;;
6379 ifc* | ifort*) # Intel Fortran compiler
6380 tmp_addflag=' -nofor_main' ;;
6381 esac
6382 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6383
6384 if test $supports_anon_versioning = yes; then
6385 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
6386 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6387 $echo "local: *; };" >> $output_objdir/$libname.ver~
6388 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6389 fi
6390 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
6391 else
6392 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6393 fi
6394 ;;
6395
6396 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6397 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6398 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6399 wlarc=
6400 else
6401 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6402 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6403 fi
6404 ;;
6405
6406 solaris* | sysv5*)
6407 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6408 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6409 cat <<EOF 1>&2
6410
6411 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6412 *** create shared libraries on Solaris systems. Therefore, libtool
6413 *** is disabling shared libraries support. We urge you to upgrade GNU
6414 *** binutils to release 2.9.1 or newer. Another option is to modify
6415 *** your PATH or compiler configuration so that the native linker is
6416 *** used, and then restart.
6417
6418 EOF
6419 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6420 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6421 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6422 else
6423 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6424 fi
6425 ;;
6426
6427 sunos4*)
6428 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6429 wlarc=
6430 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6431 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6432 ;;
6433
6434 *)
6435 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6436 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6437 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6438 else
6439 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6440 fi
6441 ;;
6442 esac
6443
6444 if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
6445 runpath_var=
6446 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6447 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
6448 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6449 fi
6450 else
6451 # PORTME fill in a description of your system's linker (not GNU ld)
6452 case $host_os in
6453 aix3*)
6454 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6455 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6456 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6457 # Note: this linker hardcodes the directories in LIBPATH if there
6458 # are no directories specified by -L.
6459 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6460 if test "$GCC" = yes && test -z "$link_static_flag"; then
6461 # Neither direct hardcoding nor static linking is supported with a
6462 # broken collect2.
6463 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
6464 fi
6465 ;;
6466
6467 aix4* | aix5*)
6468 if test "$host_cpu" = ia64; then
6469 # On IA64, the linker does run time linking by default, so we don't
6470 # have to do anything special.
6471 aix_use_runtimelinking=no
6472 exp_sym_flag='-Bexport'
6473 no_entry_flag=""
6474 else
6475 # If we're using GNU nm, then we don't want the "-C" option.
6476 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6477 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6478 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6479 else
6480 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6481 fi
6482 aix_use_runtimelinking=no
6483
6484 # Test if we are trying to use run time linking or normal
6485 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6486 # need to do runtime linking.
6487 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
6488 for ld_flag in $LDFLAGS; do
6489 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6490 aix_use_runtimelinking=yes
6491 break
6492 fi
6493 done
6494 esac
6495
6496 exp_sym_flag='-bexport'
6497 no_entry_flag='-bnoentry'
6498 fi
6499
6500 # When large executables or shared objects are built, AIX ld can
6501 # have problems creating the table of contents. If linking a library
6502 # or program results in "error TOC overflow" add -mminimal-toc to
6503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6505
6506 _LT_AC_TAGVAR(archive_cmds, $1)=''
6507 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6508 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6509 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6510
6511 if test "$GCC" = yes; then
6512 case $host_os in aix4.[[012]]|aix4.[[012]].*)
6513 # We only want to do this on AIX 4.2 and lower, the check
6514 # below for broken collect2 doesn't work under 4.3+
6515 collect2name=`${CC} -print-prog-name=collect2`
6516 if test -f "$collect2name" && \
6517 strings "$collect2name" | grep resolve_lib_name >/dev/null
6518 then
6519 # We have reworked collect2
6520 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6521 else
6522 # We have old collect2
6523 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
6524 # It fails to find uninstalled libraries when the uninstalled
6525 # path is not listed in the libpath. Setting hardcode_minus_L
6526 # to unsupported forces relinking
6527 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6528 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6529 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6530 fi
6531 esac
6532 shared_flag='-shared'
6533 if test "$aix_use_runtimelinking" = yes; then
6534 shared_flag="$shared_flag "'${wl}-G'
6535 fi
6536 else
6537 # not using gcc
6538 if test "$host_cpu" = ia64; then
6539 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6540 # chokes on -Wl,-G. The following line is correct:
6541 shared_flag='-G'
6542 else
6543 if test "$aix_use_runtimelinking" = yes; then
6544 shared_flag='${wl}-G'
6545 else
6546 shared_flag='${wl}-bM:SRE'
6547 fi
6548 fi
6549 fi
6550
6551 # It seems that -bexpall does not export symbols beginning with
6552 # underscore (_), so it is better to generate a list of symbols to export.
6553 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6554 if test "$aix_use_runtimelinking" = yes; then
6555 # Warning - without using the other runtime loading flags (-brtl),
6556 # -berok will link without error, but may produce a broken library.
6557 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
6558 # Determine the default libpath from the value encoded in an empty executable.
6559 _LT_AC_SYS_LIBPATH_AIX
6560 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6561 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6562 else
6563 if test "$host_cpu" = ia64; then
6564 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
6565 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
6566 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6567 else
6568 # Determine the default libpath from the value encoded in an empty executable.
6569 _LT_AC_SYS_LIBPATH_AIX
6570 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6571 # Warning - without using the other run time loading flags,
6572 # -berok will link without error, but may produce a broken library.
6573 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6574 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6575 # -bexpall does not export symbols beginning with underscore (_)
6576 _LT_AC_TAGVAR(always_export_symbols, $1)=yes
6577 # Exported symbols can be pulled into shared objects from archives
6578 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
6579 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6580 # This is similar to how AIX traditionally builds its shared libraries.
6581 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6582 fi
6583 fi
6584 ;;
6585
6586 amigaos*)
6587 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6588 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6589 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6590 # see comment about different semantics on the GNU ld section
6591 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6592 ;;
6593
6594 bsdi[[45]]*)
6595 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
6596 ;;
6597
6598 cygwin* | mingw* | pw32*)
6599 # When not using gcc, we currently assume that we are using
6600 # Microsoft Visual C++.
6601 # hardcode_libdir_flag_spec is actually meaningless, as there is
6602 # no search path for DLLs.
6603 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6604 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6605 # Tell ltmain to make .lib files, not .a files.
6606 libext=lib
6607 # Tell ltmain to make .dll files, not .so files.
6608 shrext_cmds=".dll"
6609 # FIXME: Setting linknames here is a bad hack.
6610 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6611 # The linker will automatically build a .lib file if we build a DLL.
6612 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
6613 # FIXME: Should let the user specify the lib program.
6614 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
6615 _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
6616 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6617 ;;
6618
6619 darwin* | rhapsody*)
6620 case $host_os in
6621 rhapsody* | darwin1.[[012]])
6622 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
6623 ;;
6624 *) # Darwin 1.3 on
6625 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6626 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6627 else
6628 case ${MACOSX_DEPLOYMENT_TARGET} in
6629 10.[[012]])
6630 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6631 ;;
6632 10.*)
6633 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
6634 ;;
6635 esac
6636 fi
6637 ;;
6638 esac
6639 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6640 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6641 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6642 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6643 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
6644 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6645 if test "$GCC" = yes ; then
6646 output_verbose_link_cmd='echo'
6647 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6648 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6649 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6650 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6651 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6652 else
6653 case $cc_basename in
6654 xlc*)
6655 output_verbose_link_cmd='echo'
6656 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6657 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6658 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6659 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6660 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6661 ;;
6662 *)
6663 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6664 ;;
6665 esac
6666 fi
6667 ;;
6668
6669 dgux*)
6670 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6671 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6672 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6673 ;;
6674
6675 freebsd1*)
6676 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6677 ;;
6678
6679 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6680 # support. Future versions do this automatically, but an explicit c++rt0.o
6681 # does not break anything, and helps significantly (at the cost of a little
6682 # extra space).
6683 freebsd2.2*)
6684 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6685 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6686 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6687 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6688 ;;
6689
6690 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6691 freebsd2*)
6692 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6693 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6694 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6695 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6696 ;;
6697
6698 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6699 freebsd* | kfreebsd*-gnu | dragonfly*)
6700 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6701 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6702 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6703 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6704 ;;
6705
6706 hpux9*)
6707 if test "$GCC" = yes; then
6708 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6709 else
6710 _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6711 fi
6712 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6713 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6714 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6715
6716 # hardcode_minus_L: Not really in the search PATH,
6717 # but as the default location of the library.
6718 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6719 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6720 ;;
6721
6722 hpux10* | hpux11*)
6723 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6724 case $host_cpu in
6725 hppa*64*|ia64*)
6726 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6727 ;;
6728 *)
6729 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6730 ;;
6731 esac
6732 else
6733 case $host_cpu in
6734 hppa*64*|ia64*)
6735 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6736 ;;
6737 *)
6738 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6739 ;;
6740 esac
6741 fi
6742 if test "$with_gnu_ld" = no; then
6743 case $host_cpu in
6744 hppa*64*)
6745 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6746 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
6747 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6748 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6749 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6750 ;;
6751 ia64*)
6752 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6753 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6754 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6755
6756 # hardcode_minus_L: Not really in the search PATH,
6757 # but as the default location of the library.
6758 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6759 ;;
6760 *)
6761 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6762 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6763 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6764 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6765
6766 # hardcode_minus_L: Not really in the search PATH,
6767 # but as the default location of the library.
6768 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6769 ;;
6770 esac
6771 fi
6772 ;;
6773
6774 irix5* | irix6* | nonstopux*)
6775 if test "$GCC" = yes; then
6776 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6777 else
6778 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6779 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6780 fi
6781 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6782 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6783 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6784 ;;
6785
6786 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6787 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6788 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6789 else
6790 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6791 fi
6792 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6793 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6794 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6795 ;;
6796
6797 newsos6)
6798 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6799 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6800 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6801 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6802 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6803 ;;
6804
6805 openbsd*)
6806 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6807 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6808 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6809 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6810 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6811 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6812 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6813 else
6814 case $host_os in
6815 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6816 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6817 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6818 ;;
6819 *)
6820 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6821 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6822 ;;
6823 esac
6824 fi
6825 ;;
6826
6827 os2*)
6828 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6829 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6830 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6831 _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
6832 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6833 ;;
6834
6835 osf3*)
6836 if test "$GCC" = yes; then
6837 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6838 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6839 else
6840 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6841 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6842 fi
6843 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6844 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6845 ;;
6846
6847 osf4* | osf5*) # as osf3* with the addition of -msym flag
6848 if test "$GCC" = yes; then
6849 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6850 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6851 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6852 else
6853 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6854 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6855 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6856 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
6857
6858 # Both c and cxx compiler support -rpath directly
6859 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6860 fi
6861 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6862 ;;
6863
6864 sco3.2v5*)
6865 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6866 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6867 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6868 runpath_var=LD_RUN_PATH
6869 hardcode_runpath_var=yes
6870 ;;
6871
6872 solaris*)
6873 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6874 if test "$GCC" = yes; then
6875 wlarc='${wl}'
6876 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6877 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6878 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6879 else
6880 wlarc=''
6881 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6882 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6883 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6884 fi
6885 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6886 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6887 case $host_os in
6888 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6889 *)
6890 # The compiler driver will combine linker options so we
6891 # cannot just pass the convience library names through
6892 # without $wl, iff we do not link with $LD.
6893 # Luckily, gcc supports the same syntax we need for Sun Studio.
6894 # Supported since Solaris 2.6 (maybe 2.5.1?)
6895 case $wlarc in
6896 '')
6897 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
6898 *)
6899 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
6900 esac ;;
6901 esac
6902 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6903 ;;
6904
6905 sunos4*)
6906 if test "x$host_vendor" = xsequent; then
6907 # Use $CC to link under sequent, because it throws in some extra .o
6908 # files that make .init and .fini sections work.
6909 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6910 else
6911 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6912 fi
6913 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6914 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6915 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6916 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6917 ;;
6918
6919 sysv4)
6920 case $host_vendor in
6921 sni)
6922 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6923 _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
6924 ;;
6925 siemens)
6926 ## LD is ld it makes a PLAMLIB
6927 ## CC just makes a GrossModule.
6928 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6929 _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6930 _LT_AC_TAGVAR(hardcode_direct, $1)=no
6931 ;;
6932 motorola)
6933 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6934 _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
6935 ;;
6936 esac
6937 runpath_var='LD_RUN_PATH'
6938 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6939 ;;
6940
6941 sysv4.3*)
6942 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6943 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6944 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6945 ;;
6946
6947 sysv4*MP*)
6948 if test -d /usr/nec; then
6949 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6950 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6951 runpath_var=LD_RUN_PATH
6952 hardcode_runpath_var=yes
6953 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6954 fi
6955 ;;
6956
6957 sysv4.2uw2*)
6958 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6959 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6960 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6961 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6962 hardcode_runpath_var=yes
6963 runpath_var=LD_RUN_PATH
6964 ;;
6965
6966 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
6967 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
6968 if test "$GCC" = yes; then
6969 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6970 else
6971 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6972 fi
6973 runpath_var='LD_RUN_PATH'
6974 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6975 ;;
6976
6977 sysv5*)
6978 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6979 # $CC -shared without GNU ld will not create a library from C++
6980 # object files and a static libstdc++, better avoid it by now
6981 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6982 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6983 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6984 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6985 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6986 runpath_var='LD_RUN_PATH'
6987 ;;
6988
6989 uts4*)
6990 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6991 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6992 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6993 ;;
6994
6995 *)
6996 _LT_AC_TAGVAR(ld_shlibs, $1)=no
6997 ;;
6998 esac
6999 fi
7000 ])
7001 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
7002 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
7003
7004 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7005 if test "$GCC" = yes; then
7006 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7007 fi
7008
7009 #
7010 # Do we need to explicitly link libc?
7011 #
7012 case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
7013 x|xyes)
7014 # Assume -lc should be added
7015 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7016
7017 if test "$enable_shared" = yes && test "$GCC" = yes; then
7018 case $_LT_AC_TAGVAR(archive_cmds, $1) in
7019 *'~'*)
7020 # FIXME: we may have to deal with multi-command sequences.
7021 ;;
7022 '$CC '*)
7023 # Test whether the compiler implicitly links with -lc since on some
7024 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7025 # to ld, don't add -lc before -lgcc.
7026 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
7027 $rm conftest*
7028 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7029
7030 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
7031 soname=conftest
7032 lib=conftest
7033 libobjs=conftest.$ac_objext
7034 deplibs=
7035 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
7036 compiler_flags=-v
7037 linker_flags=-v
7038 verstring=
7039 output_objdir=.
7040 libname=conftest
7041 lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
7042 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
7043 if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
7044 then
7045 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7046 else
7047 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7048 fi
7049 _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
7050 else
7051 cat conftest.err 1>&5
7052 fi
7053 $rm conftest*
7054 AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
7055 ;;
7056 esac
7057 fi
7058 ;;
7059 esac
7060 ])# AC_LIBTOOL_PROG_LD_SHLIBS
7061
7062
7063 # _LT_AC_FILE_LTDLL_C
7064 # -------------------
7065 # Be careful that the start marker always follows a newline.
7066 AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
7067 # /* ltdll.c starts here */
7068 # #define WIN32_LEAN_AND_MEAN
7069 # #include <windows.h>
7070 # #undef WIN32_LEAN_AND_MEAN
7071 # #include <stdio.h>
7072 #
7073 # #ifndef __CYGWIN__
7074 # # ifdef __CYGWIN32__
7075 # # define __CYGWIN__ __CYGWIN32__
7076 # # endif
7077 # #endif
7078 #
7079 # #ifdef __cplusplus
7080 # extern "C" {
7081 # #endif
7082 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7083 # #ifdef __cplusplus
7084 # }
7085 # #endif
7086 #
7087 # #ifdef __CYGWIN__
7088 # #include <cygwin/cygwin_dll.h>
7089 # DECLARE_CYGWIN_DLL( DllMain );
7090 # #endif
7091 # HINSTANCE __hDllInstance_base;
7092 #
7093 # BOOL APIENTRY
7094 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7095 # {
7096 # __hDllInstance_base = hInst;
7097 # return TRUE;
7098 # }
7099 # /* ltdll.c ends here */
7100 ])# _LT_AC_FILE_LTDLL_C
7101
7102
7103 # _LT_AC_TAGVAR(VARNAME, [TAGNAME])
7104 # ---------------------------------
7105 AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
7106
7107
7108 # old names
7109 AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
7110 AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
7111 AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
7112 AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
7113 AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
7114 AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
7115 AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
7116
7117 # This is just to silence aclocal about the macro not being used
7118 ifelse([AC_DISABLE_FAST_INSTALL])
7119
7120 AC_DEFUN([LT_AC_PROG_GCJ],
7121 [AC_CHECK_TOOL(GCJ, gcj, no)
7122 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
7123 AC_SUBST(GCJFLAGS)
7124 ])
7125
7126 AC_DEFUN([LT_AC_PROG_RC],
7127 [AC_CHECK_TOOL(RC, windres, no)
7128 ])
7129
7130 # NOTE: This macro has been submitted for inclusion into #
7131 # GNU Autoconf as AC_PROG_SED. When it is available in #
7132 # a released version of Autoconf we should remove this #
7133 # macro and use it instead. #
7134 # LT_AC_PROG_SED
7135 # --------------
7136 # Check for a fully-functional sed program, that truncates
7137 # as few characters as possible. Prefer GNU sed if found.
7138 AC_DEFUN([LT_AC_PROG_SED],
7139 [AC_MSG_CHECKING([for a sed that does not truncate output])
7140 AC_CACHE_VAL(lt_cv_path_SED,
7141 [# Loop through the user's path and test for sed and gsed.
7142 # Then use that list of sed's as ones to test for truncation.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7145 do
7146 IFS=$as_save_IFS
7147 test -z "$as_dir" && as_dir=.
7148 for lt_ac_prog in sed gsed; do
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7151 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7152 fi
7153 done
7154 done
7155 done
7156 lt_ac_max=0
7157 lt_ac_count=0
7158 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
7159 # along with /bin/sed that truncates output.
7160 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7161 test ! -f $lt_ac_sed && continue
7162 cat /dev/null > conftest.in
7163 lt_ac_count=0
7164 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7165 # Check for GNU sed and select it if it is found.
7166 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7167 lt_cv_path_SED=$lt_ac_sed
7168 break
7169 fi
7170 while true; do
7171 cat conftest.in conftest.in >conftest.tmp
7172 mv conftest.tmp conftest.in
7173 cp conftest.in conftest.nl
7174 echo >>conftest.nl
7175 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7176 cmp -s conftest.out conftest.nl || break
7177 # 10000 chars as input seems more than enough
7178 test $lt_ac_count -gt 10 && break
7179 lt_ac_count=`expr $lt_ac_count + 1`
7180 if test $lt_ac_count -gt $lt_ac_max; then
7181 lt_ac_max=$lt_ac_count
7182 lt_cv_path_SED=$lt_ac_sed
7183 fi
7184 done
7185 done
7186 ])
7187 SED=$lt_cv_path_SED
7188 AC_MSG_RESULT([$SED])
7189 ])
7190
7191 # gettext.m4 serial 37 (gettext-0.14.4)
7192 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
7193 dnl This file is free software; the Free Software Foundation
7194 dnl gives unlimited permission to copy and/or distribute it,
7195 dnl with or without modifications, as long as this notice is preserved.
7196 dnl
7197 dnl This file can can be used in projects which are not available under
7198 dnl the GNU General Public License or the GNU Library General Public
7199 dnl License but which still want to provide support for the GNU gettext
7200 dnl functionality.
7201 dnl Please note that the actual code of the GNU gettext library is covered
7202 dnl by the GNU Library General Public License, and the rest of the GNU
7203 dnl gettext package package is covered by the GNU General Public License.
7204 dnl They are *not* in the public domain.
7205
7206 dnl Authors:
7207 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
7208 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
7209
7210 dnl Macro to add for using GNU gettext.
7211
7212 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
7213 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
7214 dnl default (if it is not specified or empty) is 'no-libtool'.
7215 dnl INTLSYMBOL should be 'external' for packages with no intl directory,
7216 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
7217 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
7218 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
7219 dnl depending on --{enable,disable}-{shared,static} and on the presence of
7220 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
7221 dnl $(top_builddir)/intl/libintl.a will be created.
7222 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
7223 dnl implementations (in libc or libintl) without the ngettext() function
7224 dnl will be ignored. If NEEDSYMBOL is specified and is
7225 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
7226 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
7227 dnl INTLDIR is used to find the intl libraries. If empty,
7228 dnl the value `$(top_builddir)/intl/' is used.
7229 dnl
7230 dnl The result of the configuration is one of three cases:
7231 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
7232 dnl and used.
7233 dnl Catalog format: GNU --> install in $(datadir)
7234 dnl Catalog extension: .mo after installation, .gmo in source tree
7235 dnl 2) GNU gettext has been found in the system's C library.
7236 dnl Catalog format: GNU --> install in $(datadir)
7237 dnl Catalog extension: .mo after installation, .gmo in source tree
7238 dnl 3) No internationalization, always use English msgid.
7239 dnl Catalog format: none
7240 dnl Catalog extension: none
7241 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
7242 dnl The use of .gmo is historical (it was needed to avoid overwriting the
7243 dnl GNU format catalogs when building on a platform with an X/Open gettext),
7244 dnl but we keep it in order not to force irrelevant filename changes on the
7245 dnl maintainers.
7246 dnl
7247 AC_DEFUN([AM_GNU_GETTEXT],
7248 [
7249 dnl Argument checking.
7250 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
7251 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
7252 ])])])])])
7253 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
7254 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
7255 ])])])])
7256 define([gt_included_intl], ifelse([$1], [external], [no], [yes]))
7257 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
7258
7259 AC_REQUIRE([AM_PO_SUBDIRS])dnl
7260 ifelse(gt_included_intl, yes, [
7261 AC_REQUIRE([AM_INTL_SUBDIR])dnl
7262 ])
7263
7264 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
7265 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
7266 AC_REQUIRE([AC_LIB_RPATH])
7267
7268 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7269 dnl Ideally we would do this search only after the
7270 dnl if test "$USE_NLS" = "yes"; then
7271 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7272 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
7273 dnl the configure script would need to contain the same shell code
7274 dnl again, outside any 'if'. There are two solutions:
7275 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
7276 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
7277 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
7278 dnl documented, we avoid it.
7279 ifelse(gt_included_intl, yes, , [
7280 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
7281 ])
7282
7283 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
7284 gt_INTL_MACOSX
7285
7286 dnl Set USE_NLS.
7287 AM_NLS
7288
7289 ifelse(gt_included_intl, yes, [
7290 BUILD_INCLUDED_LIBINTL=no
7291 USE_INCLUDED_LIBINTL=no
7292 ])
7293 LIBINTL=
7294 LTLIBINTL=
7295 POSUB=
7296
7297 dnl If we use NLS figure out what method
7298 if test "$USE_NLS" = "yes"; then
7299 gt_use_preinstalled_gnugettext=no
7300 ifelse(gt_included_intl, yes, [
7301 AC_MSG_CHECKING([whether included gettext is requested])
7302 AC_ARG_WITH(included-gettext,
7303 [ --with-included-gettext use the GNU gettext library included here],
7304 nls_cv_force_use_gnu_gettext=$withval,
7305 nls_cv_force_use_gnu_gettext=no)
7306 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
7307
7308 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
7309 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7310 ])
7311 dnl User does not insist on using GNU NLS library. Figure out what
7312 dnl to use. If GNU gettext is available we use this. Else we have
7313 dnl to fall back to GNU NLS library.
7314
7315 dnl Add a version number to the cache macros.
7316 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
7317 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
7318 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
7319
7320 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
7321 [AC_TRY_LINK([#include <libintl.h>
7322 ]ifelse([$2], [need-formatstring-macros],
7323 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7324 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7325 #endif
7326 changequote(,)dnl
7327 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7328 changequote([,])dnl
7329 ], [])[extern int _nl_msg_cat_cntr;
7330 extern int *_nl_domain_bindings;],
7331 [bindtextdomain ("", "");
7332 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
7333 gt_cv_func_gnugettext_libc=yes,
7334 gt_cv_func_gnugettext_libc=no)])
7335
7336 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
7337 dnl Sometimes libintl requires libiconv, so first search for libiconv.
7338 ifelse(gt_included_intl, yes, , [
7339 AM_ICONV_LINK
7340 ])
7341 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
7342 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
7343 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
7344 dnl even if libiconv doesn't exist.
7345 AC_LIB_LINKFLAGS_BODY([intl])
7346 AC_CACHE_CHECK([for GNU gettext in libintl],
7347 gt_cv_func_gnugettext_libintl,
7348 [gt_save_CPPFLAGS="$CPPFLAGS"
7349 CPPFLAGS="$CPPFLAGS $INCINTL"
7350 gt_save_LIBS="$LIBS"
7351 LIBS="$LIBS $LIBINTL"
7352 dnl Now see whether libintl exists and does not depend on libiconv.
7353 AC_TRY_LINK([#include <libintl.h>
7354 ]ifelse([$2], [need-formatstring-macros],
7355 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7356 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7357 #endif
7358 changequote(,)dnl
7359 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7360 changequote([,])dnl
7361 ], [])[extern int _nl_msg_cat_cntr;
7362 extern
7363 #ifdef __cplusplus
7364 "C"
7365 #endif
7366 const char *_nl_expand_alias (const char *);],
7367 [bindtextdomain ("", "");
7368 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7369 gt_cv_func_gnugettext_libintl=yes,
7370 gt_cv_func_gnugettext_libintl=no)
7371 dnl Now see whether libintl exists and depends on libiconv.
7372 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
7373 LIBS="$LIBS $LIBICONV"
7374 AC_TRY_LINK([#include <libintl.h>
7375 ]ifelse([$2], [need-formatstring-macros],
7376 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7377 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7378 #endif
7379 changequote(,)dnl
7380 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7381 changequote([,])dnl
7382 ], [])[extern int _nl_msg_cat_cntr;
7383 extern
7384 #ifdef __cplusplus
7385 "C"
7386 #endif
7387 const char *_nl_expand_alias (const char *);],
7388 [bindtextdomain ("", "");
7389 return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
7390 [LIBINTL="$LIBINTL $LIBICONV"
7391 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7392 gt_cv_func_gnugettext_libintl=yes
7393 ])
7394 fi
7395 CPPFLAGS="$gt_save_CPPFLAGS"
7396 LIBS="$gt_save_LIBS"])
7397 fi
7398
7399 dnl If an already present or preinstalled GNU gettext() is found,
7400 dnl use it. But if this macro is used in GNU gettext, and GNU
7401 dnl gettext is already preinstalled in libintl, we update this
7402 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
7403 if test "$gt_cv_func_gnugettext_libc" = "yes" \
7404 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
7405 && test "$PACKAGE" != gettext-runtime \
7406 && test "$PACKAGE" != gettext-tools; }; then
7407 gt_use_preinstalled_gnugettext=yes
7408 else
7409 dnl Reset the values set by searching for libintl.
7410 LIBINTL=
7411 LTLIBINTL=
7412 INCINTL=
7413 fi
7414
7415 ifelse(gt_included_intl, yes, [
7416 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
7417 dnl GNU gettext is not found in the C library.
7418 dnl Fall back on included GNU gettext library.
7419 nls_cv_use_gnu_gettext=yes
7420 fi
7421 fi
7422
7423 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7424 dnl Mark actions used to generate GNU NLS library.
7425 BUILD_INCLUDED_LIBINTL=yes
7426 USE_INCLUDED_LIBINTL=yes
7427 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
7428 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
7429 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
7430 fi
7431
7432 CATOBJEXT=
7433 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7434 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7435 dnl Mark actions to use GNU gettext tools.
7436 CATOBJEXT=.gmo
7437 fi
7438 ])
7439
7440 if test -n "$INTL_MACOSX_LIBS"; then
7441 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7442 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7443 dnl Some extra flags are needed during linking.
7444 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7445 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7446 fi
7447 fi
7448
7449 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7450 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7451 AC_DEFINE(ENABLE_NLS, 1,
7452 [Define to 1 if translation of program messages to the user's native language
7453 is requested.])
7454 else
7455 USE_NLS=no
7456 fi
7457 fi
7458
7459 AC_MSG_CHECKING([whether to use NLS])
7460 AC_MSG_RESULT([$USE_NLS])
7461 if test "$USE_NLS" = "yes"; then
7462 AC_MSG_CHECKING([where the gettext function comes from])
7463 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7464 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7465 gt_source="external libintl"
7466 else
7467 gt_source="libc"
7468 fi
7469 else
7470 gt_source="included intl directory"
7471 fi
7472 AC_MSG_RESULT([$gt_source])
7473 fi
7474
7475 if test "$USE_NLS" = "yes"; then
7476
7477 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7478 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
7479 AC_MSG_CHECKING([how to link with libintl])
7480 AC_MSG_RESULT([$LIBINTL])
7481 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
7482 fi
7483
7484 dnl For backward compatibility. Some packages may be using this.
7485 AC_DEFINE(HAVE_GETTEXT, 1,
7486 [Define if the GNU gettext() function is already present or preinstalled.])
7487 AC_DEFINE(HAVE_DCGETTEXT, 1,
7488 [Define if the GNU dcgettext() function is already present or preinstalled.])
7489 fi
7490
7491 dnl We need to process the po/ directory.
7492 POSUB=po
7493 fi
7494
7495 ifelse(gt_included_intl, yes, [
7496 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
7497 dnl to 'yes' because some of the testsuite requires it.
7498 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
7499 BUILD_INCLUDED_LIBINTL=yes
7500 fi
7501
7502 dnl Make all variables we use known to autoconf.
7503 AC_SUBST(BUILD_INCLUDED_LIBINTL)
7504 AC_SUBST(USE_INCLUDED_LIBINTL)
7505 AC_SUBST(CATOBJEXT)
7506
7507 dnl For backward compatibility. Some configure.ins may be using this.
7508 nls_cv_header_intl=
7509 nls_cv_header_libgt=
7510
7511 dnl For backward compatibility. Some Makefiles may be using this.
7512 DATADIRNAME=share
7513 AC_SUBST(DATADIRNAME)
7514
7515 dnl For backward compatibility. Some Makefiles may be using this.
7516 INSTOBJEXT=.mo
7517 AC_SUBST(INSTOBJEXT)
7518
7519 dnl For backward compatibility. Some Makefiles may be using this.
7520 GENCAT=gencat
7521 AC_SUBST(GENCAT)
7522
7523 dnl For backward compatibility. Some Makefiles may be using this.
7524 INTLOBJS=
7525 if test "$USE_INCLUDED_LIBINTL" = yes; then
7526 INTLOBJS="\$(GETTOBJS)"
7527 fi
7528 AC_SUBST(INTLOBJS)
7529
7530 dnl Enable libtool support if the surrounding package wishes it.
7531 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
7532 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
7533 ])
7534
7535 dnl For backward compatibility. Some Makefiles may be using this.
7536 INTLLIBS="$LIBINTL"
7537 AC_SUBST(INTLLIBS)
7538
7539 dnl Make all documented variables known to autoconf.
7540 AC_SUBST(LIBINTL)
7541 AC_SUBST(LTLIBINTL)
7542 AC_SUBST(POSUB)
7543 ])
7544
7545
7546 dnl Checks for all prerequisites of the intl subdirectory,
7547 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
7548 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
7549 AC_DEFUN([AM_INTL_SUBDIR],
7550 [
7551 AC_REQUIRE([AC_PROG_INSTALL])dnl
7552 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
7553 AC_REQUIRE([AC_PROG_CC])dnl
7554 AC_REQUIRE([AC_CANONICAL_HOST])dnl
7555 AC_REQUIRE([gt_GLIBC2])dnl
7556 AC_REQUIRE([AC_PROG_RANLIB])dnl
7557 AC_REQUIRE([AC_ISC_POSIX])dnl
7558 AC_REQUIRE([AC_HEADER_STDC])dnl
7559 AC_REQUIRE([AC_C_CONST])dnl
7560 AC_REQUIRE([bh_C_SIGNED])dnl
7561 AC_REQUIRE([AC_C_INLINE])dnl
7562 AC_REQUIRE([AC_TYPE_OFF_T])dnl
7563 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
7564 AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
7565 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
7566 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
7567 AC_REQUIRE([gt_TYPE_WINT_T])dnl
7568 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
7569 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
7570 AC_REQUIRE([gt_TYPE_INTMAX_T])
7571 AC_REQUIRE([gt_PRINTF_POSIX])
7572 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
7573 AC_REQUIRE([AC_FUNC_MMAP])dnl
7574 AC_REQUIRE([gl_GLIBC21])dnl
7575 AC_REQUIRE([gt_INTDIV0])dnl
7576 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
7577 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
7578 AC_REQUIRE([gt_INTTYPES_PRI])dnl
7579 AC_REQUIRE([gl_XSIZE])dnl
7580 AC_REQUIRE([gt_INTL_MACOSX])dnl
7581
7582 AC_CHECK_TYPE([ptrdiff_t], ,
7583 [AC_DEFINE([ptrdiff_t], [long],
7584 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
7585 ])
7586 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
7587 stdlib.h string.h unistd.h sys/param.h])
7588 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
7589 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
7590 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
7591 __fsetlocking])
7592
7593 dnl Use the _snprintf function only if it is declared (because on NetBSD it
7594 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
7595 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
7596 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
7597
7598 dnl Use the *_unlocked functions only if they are declared.
7599 dnl (because some of them were defined without being declared in Solaris
7600 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
7601 dnl on Solaris 2.5.1 to run on Solaris 2.6).
7602 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
7603 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
7604 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
7605 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
7606
7607 case $gt_cv_func_printf_posix in
7608 *yes) HAVE_POSIX_PRINTF=1 ;;
7609 *) HAVE_POSIX_PRINTF=0 ;;
7610 esac
7611 AC_SUBST([HAVE_POSIX_PRINTF])
7612 if test "$ac_cv_func_asprintf" = yes; then
7613 HAVE_ASPRINTF=1
7614 else
7615 HAVE_ASPRINTF=0
7616 fi
7617 AC_SUBST([HAVE_ASPRINTF])
7618 if test "$ac_cv_func_snprintf" = yes; then
7619 HAVE_SNPRINTF=1
7620 else
7621 HAVE_SNPRINTF=0
7622 fi
7623 AC_SUBST([HAVE_SNPRINTF])
7624 if test "$ac_cv_func_wprintf" = yes; then
7625 HAVE_WPRINTF=1
7626 else
7627 HAVE_WPRINTF=0
7628 fi
7629 AC_SUBST([HAVE_WPRINTF])
7630
7631 AM_ICONV
7632 AM_LANGINFO_CODESET
7633 if test $ac_cv_header_locale_h = yes; then
7634 gt_LC_MESSAGES
7635 fi
7636
7637 if test -n "$INTL_MACOSX_LIBS"; then
7638 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7639 fi
7640
7641 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
7642 dnl because plural.y uses bison specific features. It requires at least
7643 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
7644 dnl compile.
7645 dnl bison is only needed for the maintainer (who touches plural.y). But in
7646 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
7647 dnl the rule in general Makefile. Now, some people carelessly touch the
7648 dnl files or have a broken "make" program, hence the plural.c rule will
7649 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
7650 dnl present or too old.
7651 AC_CHECK_PROGS([INTLBISON], [bison])
7652 if test -z "$INTLBISON"; then
7653 ac_verc_fail=yes
7654 else
7655 dnl Found it, now check the version.
7656 AC_MSG_CHECKING([version of bison])
7657 changequote(<<,>>)dnl
7658 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
7659 case $ac_prog_version in
7660 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
7661 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
7662 changequote([,])dnl
7663 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
7664 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
7665 esac
7666 AC_MSG_RESULT([$ac_prog_version])
7667 fi
7668 if test $ac_verc_fail = yes; then
7669 INTLBISON=:
7670 fi
7671 ])
7672
7673
7674 dnl Checks for special options needed on MacOS X.
7675 dnl Defines INTL_MACOSX_LIBS.
7676 AC_DEFUN([gt_INTL_MACOSX],
7677 [
7678 dnl Check for API introduced in MacOS X 10.2.
7679 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
7680 gt_cv_func_CFPreferencesCopyAppValue,
7681 [gt_save_CPPFLAGS="$CPPFLAGS"
7682 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7683 gt_save_LIBS="$LIBS"
7684 LIBS="$LIBS -framework CoreFoundation"
7685 AC_TRY_LINK([#include <CFPreferences.h>],
7686 [CFPreferencesCopyAppValue(NULL, NULL)],
7687 [gt_cv_func_CFPreferencesCopyAppValue=yes],
7688 [gt_cv_func_CFPreferencesCopyAppValue=no])
7689 CPPFLAGS="$gt_save_CPPFLAGS"
7690 LIBS="$gt_save_LIBS"])
7691 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7692 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
7693 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
7694 fi
7695 dnl Check for API introduced in MacOS X 10.3.
7696 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
7697 [gt_save_CPPFLAGS="$CPPFLAGS"
7698 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
7699 gt_save_LIBS="$LIBS"
7700 LIBS="$LIBS -framework CoreFoundation"
7701 AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
7702 [gt_cv_func_CFLocaleCopyCurrent=yes],
7703 [gt_cv_func_CFLocaleCopyCurrent=no])
7704 CPPFLAGS="$gt_save_CPPFLAGS"
7705 LIBS="$gt_save_LIBS"])
7706 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7707 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
7708 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
7709 fi
7710 INTL_MACOSX_LIBS=
7711 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7712 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7713 fi
7714 AC_SUBST([INTL_MACOSX_LIBS])
7715 ])
7716
7717
7718 dnl gt_CHECK_DECL(FUNC, INCLUDES)
7719 dnl Check whether a function is declared.
7720 AC_DEFUN([gt_CHECK_DECL],
7721 [
7722 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
7723 [AC_TRY_COMPILE([$2], [
7724 #ifndef $1
7725 char *p = (char *) $1;
7726 #endif
7727 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
7728 if test $ac_cv_have_decl_$1 = yes; then
7729 gt_value=1
7730 else
7731 gt_value=0
7732 fi
7733 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
7734 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
7735 ])
7736
7737
7738 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
7739 AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
7740
7741 # po.m4 serial 7 (gettext-0.14.3)
7742 dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
7743 dnl This file is free software; the Free Software Foundation
7744 dnl gives unlimited permission to copy and/or distribute it,
7745 dnl with or without modifications, as long as this notice is preserved.
7746 dnl
7747 dnl This file can can be used in projects which are not available under
7748 dnl the GNU General Public License or the GNU Library General Public
7749 dnl License but which still want to provide support for the GNU gettext
7750 dnl functionality.
7751 dnl Please note that the actual code of the GNU gettext library is covered
7752 dnl by the GNU Library General Public License, and the rest of the GNU
7753 dnl gettext package package is covered by the GNU General Public License.
7754 dnl They are *not* in the public domain.
7755
7756 dnl Authors:
7757 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
7758 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
7759
7760 AC_PREREQ(2.50)
7761
7762 dnl Checks for all prerequisites of the po subdirectory.
7763 AC_DEFUN([AM_PO_SUBDIRS],
7764 [
7765 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
7766 AC_REQUIRE([AC_PROG_INSTALL])dnl
7767 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
7768 AC_REQUIRE([AM_NLS])dnl
7769
7770 dnl Perform the following tests also if --disable-nls has been given,
7771 dnl because they are needed for "make dist" to work.
7772
7773 dnl Search for GNU msgfmt in the PATH.
7774 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
7775 dnl The second test excludes FreeBSD msgfmt.
7776 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
7777 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
7778 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
7779 :)
7780 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
7781
7782 dnl Search for GNU xgettext 0.12 or newer in the PATH.
7783 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
7784 dnl The second test excludes FreeBSD xgettext.
7785 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
7786 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
7787 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
7788 :)
7789 dnl Remove leftover from FreeBSD xgettext call.
7790 rm -f messages.po
7791
7792 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
7793 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
7794 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
7795
7796 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
7797 dnl Test whether we really found GNU msgfmt.
7798 if test "$GMSGFMT" != ":"; then
7799 dnl If it is no GNU msgfmt we define it as : so that the
7800 dnl Makefiles still can work.
7801 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
7802 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7803 : ;
7804 else
7805 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7806 AC_MSG_RESULT(
7807 [found $GMSGFMT program is not GNU msgfmt; ignore it])
7808 GMSGFMT=":"
7809 fi
7810 fi
7811
7812 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
7813 dnl Test whether we really found GNU xgettext.
7814 if test "$XGETTEXT" != ":"; then
7815 dnl If it is no GNU xgettext we define it as : so that the
7816 dnl Makefiles still can work.
7817 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
7818 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7819 : ;
7820 else
7821 AC_MSG_RESULT(
7822 [found xgettext program is not GNU xgettext; ignore it])
7823 XGETTEXT=":"
7824 fi
7825 dnl Remove leftover from FreeBSD xgettext call.
7826 rm -f messages.po
7827 fi
7828
7829 AC_OUTPUT_COMMANDS([
7830 for ac_file in $CONFIG_FILES; do
7831 # Support "outfile[:infile[:infile...]]"
7832 case "$ac_file" in
7833 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7834 esac
7835 # PO directories have a Makefile.in generated from Makefile.in.in.
7836 case "$ac_file" in */Makefile.in)
7837 # Adjust a relative srcdir.
7838 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7839 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7840 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7841 # In autoconf-2.13 it is called $ac_given_srcdir.
7842 # In autoconf-2.50 it is called $srcdir.
7843 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7844 case "$ac_given_srcdir" in
7845 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7846 /*) top_srcdir="$ac_given_srcdir" ;;
7847 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7848 esac
7849 # Treat a directory as a PO directory if and only if it has a
7850 # POTFILES.in file. This allows packages to have multiple PO
7851 # directories under different names or in different locations.
7852 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7853 rm -f "$ac_dir/POTFILES"
7854 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7855 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7856 POMAKEFILEDEPS="POTFILES.in"
7857 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
7858 # on $ac_dir but don't depend on user-specified configuration
7859 # parameters.
7860 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7861 # The LINGUAS file contains the set of available languages.
7862 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7863 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7864 fi
7865 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7866 # Hide the ALL_LINGUAS assigment from automake.
7867 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7868 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7869 else
7870 # The set of available languages was given in configure.in.
7871 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7872 fi
7873 # Compute POFILES
7874 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
7875 # Compute UPDATEPOFILES
7876 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
7877 # Compute DUMMYPOFILES
7878 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
7879 # Compute GMOFILES
7880 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
7881 case "$ac_given_srcdir" in
7882 .) srcdirpre= ;;
7883 *) srcdirpre='$(srcdir)/' ;;
7884 esac
7885 POFILES=
7886 UPDATEPOFILES=
7887 DUMMYPOFILES=
7888 GMOFILES=
7889 for lang in $ALL_LINGUAS; do
7890 POFILES="$POFILES $srcdirpre$lang.po"
7891 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7892 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7893 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7894 done
7895 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7896 # environment variable.
7897 INST_LINGUAS=
7898 if test -n "$ALL_LINGUAS"; then
7899 for presentlang in $ALL_LINGUAS; do
7900 useit=no
7901 if test "%UNSET%" != "$LINGUAS"; then
7902 desiredlanguages="$LINGUAS"
7903 else
7904 desiredlanguages="$ALL_LINGUAS"
7905 fi
7906 for desiredlang in $desiredlanguages; do
7907 # Use the presentlang catalog if desiredlang is
7908 # a. equal to presentlang, or
7909 # b. a variant of presentlang (because in this case,
7910 # presentlang can be used as a fallback for messages
7911 # which are not translated in the desiredlang catalog).
7912 case "$desiredlang" in
7913 "$presentlang"*) useit=yes;;
7914 esac
7915 done
7916 if test $useit = yes; then
7917 INST_LINGUAS="$INST_LINGUAS $presentlang"
7918 fi
7919 done
7920 fi
7921 CATALOGS=
7922 if test -n "$INST_LINGUAS"; then
7923 for lang in $INST_LINGUAS; do
7924 CATALOGS="$CATALOGS $lang.gmo"
7925 done
7926 fi
7927 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7928 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7929 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7930 if test -f "$f"; then
7931 case "$f" in
7932 *.orig | *.bak | *~) ;;
7933 *) cat "$f" >> "$ac_dir/Makefile" ;;
7934 esac
7935 fi
7936 done
7937 fi
7938 ;;
7939 esac
7940 done],
7941 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
7942 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7943 # from automake.
7944 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7945 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7946 LINGUAS="${LINGUAS-%UNSET%}"
7947 ])
7948 ])
7949
7950 dnl Postprocesses a Makefile in a directory containing PO files.
7951 AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
7952 [
7953 # When this code is run, in config.status, two variables have already been
7954 # set:
7955 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
7956 # - LINGUAS is the value of the environment variable LINGUAS at configure
7957 # time.
7958
7959 changequote(,)dnl
7960 # Adjust a relative srcdir.
7961 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7962 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7963 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7964 # In autoconf-2.13 it is called $ac_given_srcdir.
7965 # In autoconf-2.50 it is called $srcdir.
7966 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7967 case "$ac_given_srcdir" in
7968 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7969 /*) top_srcdir="$ac_given_srcdir" ;;
7970 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7971 esac
7972
7973 # Find a way to echo strings without interpreting backslash.
7974 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
7975 gt_echo='echo'
7976 else
7977 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
7978 gt_echo='printf %s\n'
7979 else
7980 echo_func () {
7981 cat <<EOT
7982 $*
7983 EOT
7984 }
7985 gt_echo='echo_func'
7986 fi
7987 fi
7988
7989 # A sed script that extracts the value of VARIABLE from a Makefile.
7990 sed_x_variable='
7991 # Test if the hold space is empty.
7992 x
7993 s/P/P/
7994 x
7995 ta
7996 # Yes it was empty. Look if we have the expected variable definition.
7997 /^[ ]*VARIABLE[ ]*=/{
7998 # Seen the first line of the variable definition.
7999 s/^[ ]*VARIABLE[ ]*=//
8000 ba
8001 }
8002 bd
8003 :a
8004 # Here we are processing a line from the variable definition.
8005 # Remove comment, more precisely replace it with a space.
8006 s/#.*$/ /
8007 # See if the line ends in a backslash.
8008 tb
8009 :b
8010 s/\\$//
8011 # Print the line, without the trailing backslash.
8012 p
8013 tc
8014 # There was no trailing backslash. The end of the variable definition is
8015 # reached. Clear the hold space.
8016 s/^.*$//
8017 x
8018 bd
8019 :c
8020 # A trailing backslash means that the variable definition continues in the
8021 # next line. Put a nonempty string into the hold space to indicate this.
8022 s/^.*$/P/
8023 x
8024 :d
8025 '
8026 changequote([,])dnl
8027
8028 # Set POTFILES to the value of the Makefile variable POTFILES.
8029 sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
8030 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
8031 # Compute POTFILES_DEPS as
8032 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
8033 POTFILES_DEPS=
8034 for file in $POTFILES; do
8035 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
8036 done
8037 POMAKEFILEDEPS=""
8038
8039 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8040 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8041 fi
8042 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8043 # The LINGUAS file contains the set of available languages.
8044 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8045 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8046 else
8047 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
8048 sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
8049 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
8050 fi
8051 # Hide the ALL_LINGUAS assigment from automake.
8052 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8053 # Compute POFILES
8054 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8055 # Compute UPDATEPOFILES
8056 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8057 # Compute DUMMYPOFILES
8058 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8059 # Compute GMOFILES
8060 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8061 # Compute PROPERTIESFILES
8062 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
8063 # Compute CLASSFILES
8064 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
8065 # Compute QMFILES
8066 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
8067 # Compute MSGFILES
8068 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
8069 # Compute RESOURCESDLLFILES
8070 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
8071 case "$ac_given_srcdir" in
8072 .) srcdirpre= ;;
8073 *) srcdirpre='$(srcdir)/' ;;
8074 esac
8075 POFILES=
8076 UPDATEPOFILES=
8077 DUMMYPOFILES=
8078 GMOFILES=
8079 PROPERTIESFILES=
8080 CLASSFILES=
8081 QMFILES=
8082 MSGFILES=
8083 RESOURCESDLLFILES=
8084 for lang in $ALL_LINGUAS; do
8085 POFILES="$POFILES $srcdirpre$lang.po"
8086 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8087 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8088 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8089 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
8090 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
8091 QMFILES="$QMFILES $srcdirpre$lang.qm"
8092 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
8093 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
8094 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
8095 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
8096 done
8097 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8098 # environment variable.
8099 INST_LINGUAS=
8100 if test -n "$ALL_LINGUAS"; then
8101 for presentlang in $ALL_LINGUAS; do
8102 useit=no
8103 if test "%UNSET%" != "$LINGUAS"; then
8104 desiredlanguages="$LINGUAS"
8105 else
8106 desiredlanguages="$ALL_LINGUAS"
8107 fi
8108 for desiredlang in $desiredlanguages; do
8109 # Use the presentlang catalog if desiredlang is
8110 # a. equal to presentlang, or
8111 # b. a variant of presentlang (because in this case,
8112 # presentlang can be used as a fallback for messages
8113 # which are not translated in the desiredlang catalog).
8114 case "$desiredlang" in
8115 "$presentlang"*) useit=yes;;
8116 esac
8117 done
8118 if test $useit = yes; then
8119 INST_LINGUAS="$INST_LINGUAS $presentlang"
8120 fi
8121 done
8122 fi
8123 CATALOGS=
8124 JAVACATALOGS=
8125 QTCATALOGS=
8126 TCLCATALOGS=
8127 CSHARPCATALOGS=
8128 if test -n "$INST_LINGUAS"; then
8129 for lang in $INST_LINGUAS; do
8130 CATALOGS="$CATALOGS $lang.gmo"
8131 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
8132 QTCATALOGS="$QTCATALOGS $lang.qm"
8133 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
8134 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
8135 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
8136 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
8137 done
8138 fi
8139
8140 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
8141 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
8142 # Add dependencies that cannot be formulated as a simple suffix rule.
8143 for lang in $ALL_LINGUAS; do
8144 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
8145 cat >> "$ac_file.tmp" <<EOF
8146 $frobbedlang.msg: $lang.po
8147 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
8148 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
8149 EOF
8150 done
8151 fi
8152 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
8153 # Add dependencies that cannot be formulated as a simple suffix rule.
8154 for lang in $ALL_LINGUAS; do
8155 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
8156 cat >> "$ac_file.tmp" <<EOF
8157 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
8158 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
8159 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
8160 EOF
8161 done
8162 fi
8163 if test -n "$POMAKEFILEDEPS"; then
8164 cat >> "$ac_file.tmp" <<EOF
8165 Makefile: $POMAKEFILEDEPS
8166 EOF
8167 fi
8168 mv "$ac_file.tmp" "$ac_file"
8169 ])
8170
8171 # nls.m4 serial 2 (gettext-0.14.3)
8172 dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc.
8173 dnl This file is free software; the Free Software Foundation
8174 dnl gives unlimited permission to copy and/or distribute it,
8175 dnl with or without modifications, as long as this notice is preserved.
8176 dnl
8177 dnl This file can can be used in projects which are not available under
8178 dnl the GNU General Public License or the GNU Library General Public
8179 dnl License but which still want to provide support for the GNU gettext
8180 dnl functionality.
8181 dnl Please note that the actual code of the GNU gettext library is covered
8182 dnl by the GNU Library General Public License, and the rest of the GNU
8183 dnl gettext package package is covered by the GNU General Public License.
8184 dnl They are *not* in the public domain.
8185
8186 dnl Authors:
8187 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
8188 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
8189
8190 AC_PREREQ(2.50)
8191
8192 AC_DEFUN([AM_NLS],
8193 [
8194 AC_MSG_CHECKING([whether NLS is requested])
8195 dnl Default is enabled NLS
8196 AC_ARG_ENABLE(nls,
8197 [ --disable-nls do not use Native Language Support],
8198 USE_NLS=$enableval, USE_NLS=yes)
8199 AC_MSG_RESULT($USE_NLS)
8200 AC_SUBST(USE_NLS)
8201 ])
8202
8203 AC_DEFUN([AM_MKINSTALLDIRS],
8204 [
8205 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
8206 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
8207 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
8208 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
8209 dnl Try to locate it.
8210 MKINSTALLDIRS=
8211 if test -n "$ac_aux_dir"; then
8212 case "$ac_aux_dir" in
8213 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
8214 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
8215 esac
8216 fi
8217 if test -z "$MKINSTALLDIRS"; then
8218 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8219 fi
8220 AC_SUBST(MKINSTALLDIRS)
8221 ])
8222
8223 # progtest.m4 serial 4 (gettext-0.14.2)
8224 dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
8225 dnl This file is free software; the Free Software Foundation
8226 dnl gives unlimited permission to copy and/or distribute it,
8227 dnl with or without modifications, as long as this notice is preserved.
8228 dnl
8229 dnl This file can can be used in projects which are not available under
8230 dnl the GNU General Public License or the GNU Library General Public
8231 dnl License but which still want to provide support for the GNU gettext
8232 dnl functionality.
8233 dnl Please note that the actual code of the GNU gettext library is covered
8234 dnl by the GNU Library General Public License, and the rest of the GNU
8235 dnl gettext package package is covered by the GNU General Public License.
8236 dnl They are *not* in the public domain.
8237
8238 dnl Authors:
8239 dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
8240
8241 AC_PREREQ(2.50)
8242
8243 # Search path for a program which passes the given test.
8244
8245 dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
8246 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
8247 AC_DEFUN([AM_PATH_PROG_WITH_TEST],
8248 [
8249 # Prepare PATH_SEPARATOR.
8250 # The user is always right.
8251 if test "${PATH_SEPARATOR+set}" != set; then
8252 echo "#! /bin/sh" >conf$$.sh
8253 echo "exit 0" >>conf$$.sh
8254 chmod +x conf$$.sh
8255 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8256 PATH_SEPARATOR=';'
8257 else
8258 PATH_SEPARATOR=:
8259 fi
8260 rm -f conf$$.sh
8261 fi
8262
8263 # Find out how to test for executable files. Don't use a zero-byte file,
8264 # as systems may use methods other than mode bits to determine executability.
8265 cat >conf$$.file <<_ASEOF
8266 #! /bin/sh
8267 exit 0
8268 _ASEOF
8269 chmod +x conf$$.file
8270 if test -x conf$$.file >/dev/null 2>&1; then
8271 ac_executable_p="test -x"
8272 else
8273 ac_executable_p="test -f"
8274 fi
8275 rm -f conf$$.file
8276
8277 # Extract the first word of "$2", so it can be a program name with args.
8278 set dummy $2; ac_word=[$]2
8279 AC_MSG_CHECKING([for $ac_word])
8280 AC_CACHE_VAL(ac_cv_path_$1,
8281 [case "[$]$1" in
8282 [[\\/]]* | ?:[[\\/]]*)
8283 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
8284 ;;
8285 *)
8286 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
8287 for ac_dir in ifelse([$5], , $PATH, [$5]); do
8288 IFS="$ac_save_IFS"
8289 test -z "$ac_dir" && ac_dir=.
8290 for ac_exec_ext in '' $ac_executable_extensions; do
8291 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
8292 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
8293 if [$3]; then
8294 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
8295 break 2
8296 fi
8297 fi
8298 done
8299 done
8300 IFS="$ac_save_IFS"
8301 dnl If no 4th arg is given, leave the cache variable unset,
8302 dnl so AC_PATH_PROGS will keep looking.
8303 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
8304 ])dnl
8305 ;;
8306 esac])dnl
8307 $1="$ac_cv_path_$1"
8308 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
8309 AC_MSG_RESULT([$]$1)
8310 else
8311 AC_MSG_RESULT(no)
8312 fi
8313 AC_SUBST($1)dnl
8314 ])
8315
87598316 # iconv.m4 serial AM4 (gettext-0.11.3)
87608317 dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
87618318 dnl This file is free software; the Free Software Foundation
+0
-159
current/autogen.sh less more
0 #!/bin/sh
1 # Run this to generate all the initial makefiles, etc.
2
3 srcdir=`dirname $0`
4 test -z "$srcdir" && srcdir=.
5
6 DIE=0
7
8 if [ -n "$GNOME2_DIR" ]; then
9 ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
10 LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
11 PATH="$GNOME2_DIR/bin:$PATH"
12 export PATH
13 export LD_LIBRARY_PATH
14 fi
15
16 (test -f $srcdir/configure.in) || {
17 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
18 echo " top-level package directory"
19 exit 1
20 }
21
22 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
23 echo
24 echo "**Error**: You must have \`autoconf' installed."
25 echo "Download the appropriate package for your distribution,"
26 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
27 DIE=1
28 }
29
30 (grep "^AC_PROG_INTLTOOL" $srcdir/configure.in >/dev/null) && {
31 (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
32 echo
33 echo "**Error**: You must have \`intltool' installed."
34 echo "You can get it from:"
35 echo " ftp://ftp.gnome.org/pub/GNOME/"
36 DIE=1
37 }
38 }
39
40 (grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.in >/dev/null) && {
41 (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || {
42 echo
43 echo "**Error**: You must have \`xml-i18n-toolize' installed."
44 echo "You can get it from:"
45 echo " ftp://ftp.gnome.org/pub/GNOME/"
46 DIE=1
47 }
48 }
49
50 (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
51 (libtool --version) < /dev/null > /dev/null 2>&1 || {
52 echo
53 echo "**Error**: You must have \`libtool' installed."
54 echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
55 DIE=1
56 }
57 }
58
59 (grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.in >/dev/null) && {
60 (grep "sed.*POTFILES" $srcdir/configure.in) > /dev/null || \
61 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
62 echo
63 echo "**Error**: You must have \`glib' installed."
64 echo "You can get it from: ftp://ftp.gtk.org/pub/gtk"
65 DIE=1
66 }
67 }
68
69 (automake --version) < /dev/null > /dev/null 2>&1 || {
70 echo
71 echo "**Error**: You must have \`automake' installed."
72 echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
73 DIE=1
74 NO_AUTOMAKE=yes
75 }
76
77
78 # if no automake, don't bother testing for aclocal
79 test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
80 echo
81 echo "**Error**: Missing \`aclocal'. The version of \`automake'"
82 echo "installed doesn't appear recent enough."
83 echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/"
84 DIE=1
85 }
86
87 if test "$DIE" -eq 1; then
88 exit 1
89 fi
90
91 if test -z "$*"; then
92 echo "**Warning**: I am going to run \`configure' with no arguments."
93 echo "If you wish to pass any to it, please specify them on the"
94 echo \`$0\'" command line."
95 echo
96 fi
97
98 case $CC in
99 xlc )
100 am_opt=--include-deps;;
101 esac
102
103 for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.in -print`
104 do
105 dr=`dirname $coin`
106 if test -f $dr/NO-AUTO-GEN; then
107 echo skipping $dr -- flagged as no auto-gen
108 else
109 echo processing $dr
110 ( cd $dr
111
112 aclocalinclude="$ACLOCAL_FLAGS"
113
114 if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then
115 echo "Creating $dr/aclocal.m4 ..."
116 test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
117 echo "Running glib-gettextize... Ignore non-fatal messages."
118 echo "no" | glib-gettextize --force --copy
119 echo "Making $dr/aclocal.m4 writable ..."
120 test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
121 fi
122 if grep "^AC_PROG_INTLTOOL" configure.in >/dev/null; then
123 echo "Running intltoolize..."
124 intltoolize --copy --force --automake
125 fi
126 if grep "^AM_PROG_XML_I18N_TOOLS" configure.in >/dev/null; then
127 echo "Running xml-i18n-toolize..."
128 xml-i18n-toolize --copy --force --automake
129 fi
130 if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
131 if test -z "$NO_LIBTOOLIZE" ; then
132 echo "Running libtoolize..."
133 libtoolize --force --copy
134 fi
135 fi
136 echo "Running aclocal $aclocalinclude ..."
137 aclocal $aclocalinclude
138 if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
139 echo "Running autoheader..."
140 autoheader
141 fi
142 echo "Running automake --gnu $am_opt ..."
143 automake --add-missing --gnu $am_opt
144 echo "Running autoconf ..."
145 autoconf
146 )
147 fi
148 done
149
150 conf_flags="--enable-maintainer-mode"
151
152 if test x$NOCONFIGURE = x; then
153 echo Running $srcdir/configure $conf_flags "$@" ...
154 $srcdir/configure $conf_flags "$@" \
155 && echo Now type \`make\' to compile. || exit 1
156 else
157 echo Skipping configure process.
158 fi
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
127
184128 SUBDIRS = python perl pascal
185 subdir = bindings
186 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
187129 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
188 CONFIG_CLEAN_FILES =
189 DIST_SOURCES =
190
191 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
192 ps-recursive install-info-recursive uninstall-info-recursive \
193 all-recursive install-data-recursive install-exec-recursive \
194 installdirs-recursive install-recursive uninstall-recursive \
195 check-recursive installcheck-recursive
196 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
197 DIST_SUBDIRS = $(SUBDIRS)
198 all: all-recursive
199
130 CONFIG_CLEAN_FILES =
131 DIST_COMMON = Makefile.am Makefile.in
132
133
134 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
135
136 TAR = tar
137 GZIP_ENV = --best
138 all: all-redirect
200139 .SUFFIXES:
201 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
202 cd $(top_srcdir) && \
203 $(AUTOMAKE) --gnu bindings/Makefile
204 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
205 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
206
207 mostlyclean-libtool:
208 -rm -f *.lo
209
210 clean-libtool:
211 -rm -rf .libs _libs
212
213 distclean-libtool:
214 -rm -f libtool
215 uninstall-info-am:
140 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
141 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/Makefile
142
143 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
144 cd $(top_builddir) \
145 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
146
216147
217148 # This directory's subdirectories are mostly independent; you can cd
218149 # into them and run `make' without going through this Makefile.
220151 # (1) if the variable is set in `config.status', edit `config.status'
221152 # (which will cause the Makefiles to be regenerated when you run `make');
222153 # (2) otherwise, pass the desired values on the `make' command line.
223 $(RECURSIVE_TARGETS):
224 @set fnord $$MAKEFLAGS; amf=$$2; \
154
155 @SET_MAKE@
156
157 all-recursive install-data-recursive install-exec-recursive \
158 installdirs-recursive install-recursive uninstall-recursive \
159 check-recursive installcheck-recursive info-recursive dvi-recursive:
160 @set fnord $(MAKEFLAGS); amf=$$2; \
225161 dot_seen=no; \
226162 target=`echo $@ | sed s/-recursive//`; \
227163 list='$(SUBDIRS)'; for subdir in $$list; do \
241177
242178 mostlyclean-recursive clean-recursive distclean-recursive \
243179 maintainer-clean-recursive:
244 @set fnord $$MAKEFLAGS; amf=$$2; \
180 @set fnord $(MAKEFLAGS); amf=$$2; \
245181 dot_seen=no; \
246 case "$@" in \
247 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
248 *) list='$(SUBDIRS)' ;; \
249 esac; \
250 rev=''; for subdir in $$list; do \
251 if test "$$subdir" = "."; then :; else \
252 rev="$$subdir $$rev"; \
253 fi; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
254185 done; \
255 rev="$$rev ."; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
256187 target=`echo $@ | sed s/-recursive//`; \
257188 for subdir in $$rev; do \
258189 echo "Making $$target in $$subdir"; \
268199 list='$(SUBDIRS)'; for subdir in $$list; do \
269200 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
270201 done
271 ctags-recursive:
272 list='$(SUBDIRS)'; for subdir in $$list; do \
273 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
274 done
275
276 ETAGS = etags
277 ETAGSFLAGS =
278
279 CTAGS = ctags
280 CTAGSFLAGS =
281202
282203 tags: TAGS
283204
284 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
285 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
286 unique=`for i in $$list; do \
287 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
288 done | \
289 $(AWK) ' { files[$$0] = 1; } \
205 ID: $(HEADERS) $(SOURCES) $(LISP)
206 list='$(SOURCES) $(HEADERS)'; \
207 unique=`for i in $$list; do echo $$i; done | \
208 awk ' { files[$$0] = 1; } \
290209 END { for (i in files) print i; }'`; \
291 mkid -fID $$unique
292
293 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
294 $(TAGS_FILES) $(LISP)
210 here=`pwd` && cd $(srcdir) \
211 && mkid -f$$here/ID $$unique $(LISP)
212
213 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
295214 tags=; \
296215 here=`pwd`; \
297 if (etags --etags-include --version) >/dev/null 2>&1; then \
298 include_option=--etags-include; \
299 else \
300 include_option=--include; \
301 fi; \
302216 list='$(SUBDIRS)'; for subdir in $$list; do \
303 if test "$$subdir" = .; then :; else \
304 test -f $$subdir/TAGS && \
305 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
306 fi; \
217 if test "$$subdir" = .; then :; else \
218 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
219 fi; \
307220 done; \
308 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
309 unique=`for i in $$list; do \
310 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
311 done | \
312 $(AWK) ' { files[$$0] = 1; } \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
313224 END { for (i in files) print i; }'`; \
314 test -z "$(ETAGS_ARGS)$$tags$$unique" \
315 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
316 $$tags $$unique
317
318 ctags: CTAGS
319 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
320 $(TAGS_FILES) $(LISP)
321 tags=; \
322 here=`pwd`; \
323 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
324 unique=`for i in $$list; do \
325 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
326 done | \
327 $(AWK) ' { files[$$0] = 1; } \
328 END { for (i in files) print i; }'`; \
329 test -z "$(CTAGS_ARGS)$$tags$$unique" \
330 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
331 $$tags $$unique
332
333 GTAGS:
334 here=`$(am__cd) $(top_builddir) && pwd` \
335 && cd $(top_srcdir) \
336 && gtags -i $(GTAGS_ARGS) $$here
225 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
226 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
227
228 mostlyclean-tags:
229
230 clean-tags:
337231
338232 distclean-tags:
339 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
340 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
341
342 top_distdir = ..
343 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = bindings
344240
345241 distdir: $(DISTFILES)
346 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
347 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
348 list='$(DISTFILES)'; for file in $$list; do \
349 case $$file in \
350 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
351 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
352 esac; \
353 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
354 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
355 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
356 dir="/$$dir"; \
357 $(mkinstalldirs) "$(distdir)$$dir"; \
358 else \
359 dir=''; \
360 fi; \
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
361244 if test -d $$d/$$file; then \
362 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
363 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
364 fi; \
365 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
245 cp -pr $$d/$$file $(distdir)/$$file; \
366246 else \
367247 test -f $(distdir)/$$file \
368 || cp -p $$d/$$file $(distdir)/$$file \
369 || exit 1; \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
370250 fi; \
371251 done
372 list='$(SUBDIRS)'; for subdir in $$list; do \
252 for subdir in $(SUBDIRS); do \
373253 if test "$$subdir" = .; then :; else \
374254 test -d $(distdir)/$$subdir \
375255 || mkdir $(distdir)/$$subdir \
376256 || exit 1; \
377 (cd $$subdir && \
378 $(MAKE) $(AM_MAKEFLAGS) \
379 top_distdir="$(top_distdir)" \
380 distdir=../$(distdir)/$$subdir \
381 distdir) \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
382259 || exit 1; \
383260 fi; \
384261 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
385266 check-am: all-am
386267 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
271 install-exec: install-exec-recursive
272
273 install-data-am:
274 install-data: install-data-recursive
275
276 install-am: all-am
277 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
278 install: install-recursive
279 uninstall-am:
280 uninstall: uninstall-recursive
387281 all-am: Makefile
282 all-redirect: all-recursive
283 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
388285 installdirs: installdirs-recursive
389286 installdirs-am:
390287
391 install: install-recursive
392 install-exec: install-exec-recursive
393 install-data: install-data-recursive
394 uninstall: uninstall-recursive
395
396 install-am: all-am
397 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
398
399 installcheck: installcheck-recursive
400 install-strip:
401 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
402 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
403 `test -z '$(STRIP)' || \
404 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
288
405289 mostlyclean-generic:
406290
407291 clean-generic:
408292
409293 distclean-generic:
410 -rm -f $(CONFIG_CLEAN_FILES)
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
411296
412297 maintainer-clean-generic:
413 @echo "This command is intended for maintainers to use"
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
299
300 mostlyclean: mostlyclean-recursive
301
302 clean-am: clean-tags clean-generic mostlyclean-am
303
304 clean: clean-recursive
305
306 distclean-am: distclean-tags distclean-generic clean-am
307 -rm -f libtool
308
309 distclean: distclean-recursive
310
311 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
312 distclean-am
313 @echo "This command is intended for maintainers to use;"
414314 @echo "it deletes files that may require special tools to rebuild."
415 clean: clean-recursive
416
417 clean-am: clean-generic clean-libtool mostlyclean-am
418
419 distclean: distclean-recursive
420 -rm -f Makefile
421 distclean-am: clean-am distclean-generic distclean-libtool \
422 distclean-tags
423
424 dvi: dvi-recursive
425
426 dvi-am:
427
428 info: info-recursive
429
430 info-am:
431
432 install-data-am:
433
434 install-exec-am:
435
436 install-info: install-info-recursive
437
438 install-man:
439
440 installcheck-am:
441315
442316 maintainer-clean: maintainer-clean-recursive
443 -rm -f Makefile
444 maintainer-clean-am: distclean-am maintainer-clean-generic
445
446 mostlyclean: mostlyclean-recursive
447
448 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
449
450 pdf: pdf-recursive
451
452 pdf-am:
453
454 ps: ps-recursive
455
456 ps-am:
457
458 uninstall-am: uninstall-info-am
459
460 uninstall-info: uninstall-info-recursive
461
462 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
463 clean-generic clean-libtool clean-recursive ctags \
464 ctags-recursive distclean distclean-generic distclean-libtool \
465 distclean-recursive distclean-tags distdir dvi dvi-am \
466 dvi-recursive info info-am info-recursive install install-am \
467 install-data install-data-am install-data-recursive \
468 install-exec install-exec-am install-exec-recursive \
469 install-info install-info-am install-info-recursive install-man \
470 install-recursive install-strip installcheck installcheck-am \
471 installdirs installdirs-am installdirs-recursive \
472 maintainer-clean maintainer-clean-generic \
473 maintainer-clean-recursive mostlyclean mostlyclean-generic \
474 mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
475 pdf-recursive ps ps-am ps-recursive tags tags-recursive \
476 uninstall uninstall-am uninstall-info-am \
477 uninstall-info-recursive uninstall-recursive
317
318 .PHONY: install-data-recursive uninstall-data-recursive \
319 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
320 uninstalldirs-recursive all-recursive check-recursive \
321 installcheck-recursive info-recursive dvi-recursive \
322 mostlyclean-recursive distclean-recursive clean-recursive \
323 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
324 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
325 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
326 install-exec install-data-am install-data install-am install \
327 uninstall-am uninstall all-redirect all-am all installdirs-am \
328 installdirs mostlyclean-generic distclean-generic clean-generic \
329 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
330
478331
479332 # Tell versions [3.59,3.63) of GNU make to not export all variables.
480333 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
184127
185128 EXTRA_DIST = Package.fpc hdate.pp hdate_class.pp fpc_README changelog
186129
187130 @WITH_PASCAL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
188131
189132 @WITH_PASCAL_TRUE@CLEANFILES = *.o *.ppu
190 subdir = bindings/pascal
191 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
192133 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
193 CONFIG_CLEAN_FILES =
194 DIST_SOURCES =
195 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
196 all: all-am
197
134 CONFIG_CLEAN_FILES =
135 DIST_COMMON = Makefile.am Makefile.in
136
137
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139
140 TAR = tar
141 GZIP_ENV = --best
142 all: all-redirect
198143 .SUFFIXES:
199 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
200 cd $(top_srcdir) && \
201 $(AUTOMAKE) --gnu bindings/pascal/Makefile
202 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
203 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
204
205 mostlyclean-libtool:
206 -rm -f *.lo
207
208 clean-libtool:
209 -rm -rf .libs _libs
210
211 distclean-libtool:
212 -rm -f libtool
213 uninstall-info-am:
144 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
145 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/pascal/Makefile
146
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 cd $(top_builddir) \
149 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
150
214151 tags: TAGS
215152 TAGS:
216153
217 ctags: CTAGS
218 CTAGS:
219
220 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
221
222 top_distdir = ../..
223 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/pascal
224158
225159 distdir: $(DISTFILES)
226 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
227 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
228 list='$(DISTFILES)'; for file in $$list; do \
229 case $$file in \
230 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
231 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
232 esac; \
233 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
234 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
235 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
236 dir="/$$dir"; \
237 $(mkinstalldirs) "$(distdir)$$dir"; \
238 else \
239 dir=''; \
240 fi; \
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
241162 if test -d $$d/$$file; then \
242 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
243 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
244 fi; \
245 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
163 cp -pr $$d/$$file $(distdir)/$$file; \
246164 else \
247165 test -f $(distdir)/$$file \
248 || cp -p $$d/$$file $(distdir)/$$file \
249 || exit 1; \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
250168 fi; \
251169 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
252174 check-am: all-am
253175 check: check-am
254 all-am: Makefile
255
256 installdirs:
257 install: install-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
258179 install-exec: install-exec-am
180
181 install-data-am: install-data-local
259182 install-data: install-data-am
260 uninstall: uninstall-am
261183
262184 install-am: all-am
263185 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
264
265 installcheck: installcheck-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
266191 install-strip:
267 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
268 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
269 `test -z '$(STRIP)' || \
270 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
271196 mostlyclean-generic:
272197
273198 clean-generic:
274199 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
275200
276201 distclean-generic:
277 -rm -f $(CONFIG_CLEAN_FILES)
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
278204
279205 maintainer-clean-generic:
280 @echo "This command is intended for maintainers to use"
206 mostlyclean-am: mostlyclean-generic
207
208 mostlyclean: mostlyclean-am
209
210 clean-am: clean-generic mostlyclean-am
211
212 clean: clean-am
213
214 distclean-am: distclean-generic clean-am
215 -rm -f libtool
216
217 distclean: distclean-am
218
219 maintainer-clean-am: maintainer-clean-generic distclean-am
220 @echo "This command is intended for maintainers to use;"
281221 @echo "it deletes files that may require special tools to rebuild."
282 clean: clean-am
283
284 clean-am: clean-generic clean-libtool mostlyclean-am
285
286 distclean: distclean-am
287 -rm -f Makefile
288 distclean-am: clean-am distclean-generic distclean-libtool
289
290 dvi: dvi-am
291
292 dvi-am:
293
294 info: info-am
295
296 info-am:
297
298 install-data-am: install-data-local
299
300 install-exec-am:
301
302 install-info: install-info-am
303
304 install-man:
305
306 installcheck-am:
307222
308223 maintainer-clean: maintainer-clean-am
309 -rm -f Makefile
310 maintainer-clean-am: distclean-am maintainer-clean-generic
311
312 mostlyclean: mostlyclean-am
313
314 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
315
316 pdf: pdf-am
317
318 pdf-am:
319
320 ps: ps-am
321
322 ps-am:
323
324 uninstall-am: uninstall-info-am
325
326 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
327 distclean distclean-generic distclean-libtool distdir dvi \
328 dvi-am info info-am install install-am install-data \
329 install-data-am install-data-local install-exec install-exec-am \
330 install-info install-info-am install-man install-strip \
331 installcheck installcheck-am installdirs maintainer-clean \
332 maintainer-clean-generic mostlyclean mostlyclean-generic \
333 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
334 uninstall-info-am
224
225 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
226 installcheck-am installcheck install-exec-am install-exec \
227 install-data-local install-data-am install-data install-am install \
228 uninstall-am uninstall all-redirect all-am all installdirs \
229 mostlyclean-generic distclean-generic clean-generic \
230 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
335231
336232
337233 @WITH_PASCAL_TRUE@all-am: hdate.o hdate_class.o
350246 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) hdate_class.ppu $(DESTDIR)$(PA_MODULES_PATH)/hdate/hdate_class.ppu
351247 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) fpc_README $(DESTDIR)$(PA_MODULES_PATH)/hdate/fpc_README
352248 @WITH_PASCAL_TRUE@ $(INSTALL_DATA) Package.fpc $(DESTDIR)$(PA_MODULES_PATH)/hdate/Package.fpc
249
353250 # Tell versions [3.59,3.63) of GNU make to not export all variables.
354251 # Otherwise a system limit (for SysV at least) may be exceeded.
355252 .NOEXPORT:
0 25/11/2005
1 - Added some constants and fixed comments according the orginal API file
2
03 27/05/2005
14 - Created a Changelog.
25
1616 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1717
1818 History:
19 13/3/2005 - Bug Fixed Added {$PACKRECORDS C}
20 10-11/3/2005 - Initial Translation of version 0.31.0
21 *)
22 {$MODE FPC}{$PACKRECORDS C}
19 25/11/2005 - Added some constants and fixed comments according the orginal API file
20 13/03/2005 - Bug Fixed Added {$PACKRECORDS C}
21 10-11/03/2005 - Initial Translation of version 0.31.0
22 *)
23 {$MODE OBJFPC}{$PACKRECORDS C}
2324
2425 unit hdate;
2526
2829
2930 const
3031 LIBHDATE_LIBRARY_NAME = 'hdate';
32
33 (** @def HDATA_DIASPORA_FLAG
34 @brief use diaspora dates and holydays flag
35 *)
36 HDATA_DIASPORA_FLAG = -1;
37
38 (** @def HDATA_ISRAEL_FLAG
39 @brief use israel dates and holydays flag
40 *)
41 HDATA_ISRAEL_FLAG = 0;
42
43 (** @def HDATA_SHORT_FLAG
44 @brief use short strings flag
45 *)
46 HDATA_SHORT_FLAG = -1;
47
48 (** @def HDATA_LONG_FLAG
49 @brief use long strings flag
50 *)
51 HDATA_LONG_FLAG = 0;
52
3153
3254 { Base structore for hebrew dates }
3355
5678
5779 @param h pointer this hdate struct.
5880 @param d Day of month 1..31
59 @param m Month 1..12 , if m or d is 0 return current date.
81 @param m Month 1..12
6082 @param y Year in 4 digits e.g. 2001
6183 @return pointer to this hdate struct
6284 *)
6991
7092 @param h pointer this hdate struct.
7193 @param d Day of month 1..31
72 @param m Month 1..14 , if m or d is 0 return current date.
94 @param m Month 1..14 , (13 - Adar 1, 14 - Adar 2)
7395 @param y Year in 4 digits e.g. 5731
7496 @return pointer to this hdate struct
7597 *)
258280 @param month Month 1..14 (13 - Adar 1, 14 - Adar 2)
259281 @param year Hebrew year in 4 digits e.g. 5753
260282 @param jd_tishrey1 return the julian number of 1 Tishrey this year
261 @param jd_tishrey1 return the julian number of 1 Tishrey next year
283 @param jd_tishrey1_next_year return the julian number of 1 Tishrey next year
262284 @return the julian day number
263285 *)
264286 function hdate_hdate_to_jd (day, month, year : cInt; jd_tishrey1, jd_tishrey1_next_year : pcInt) : cInt;
270292 @author Yaacov Zamir (Algorithm, Henry F. Fliegel and Thomas C. Van Flandern ,1968)
271293
272294 @param jd Julian day
273 @param d return Day of month 1..31
274 @param m return Month 1..12
275 @param y return Year in 4 digits e.g. 2001
295 @param day return Day of month 1..31
296 @param month return Month 1..12
297 @param year return Year in 4 digits e.g. 2001
276298 *)
277299 procedure hdate_jd_to_gdate (jd : cInt; day, month, year : pcInt);
278300 cdecl external LIBHDATE_LIBRARY_NAME name 'hdate_jd_to_gdate';
287309 @param month return Month 1..14 (13 - Adar 1, 14 - Adar 2)
288310 @param year return Year in 4 digits e.g. 2001
289311 @param jd_tishrey1 return the julian number of 1 Tishrey this year
290 @param jd_tishrey1 return the julian number of 1 Tishrey next year
312 @param jd_tishrey1_next_year return the julian number of 1 Tishrey next year
291313 *)
292314 procedure hdate_jd_to_hdate (jd : cInt; day, month, year, jd_tishrey1, jd_tishrey1_next_year : pcInt);
293315 cdecl external LIBHDATE_LIBRARY_NAME name 'hdate_jd_to_hdate';
2121 19-21/05/2005 - Initial creation
2222 }
2323 {$IFDEF FPC}
24 {$MODE OBJFPC}
24 {$MODE OBJFPC} {$H+}
2525 {$ELSE}
2626 {$Warning 'This code was tested with Free Pascal Only.'}
2727 {$ENDIF}
6565 constructor Create (hDateRec : Phdate_struct); virtual; overload;
6666 destructor Destroy; override;
6767
68 procedure Assign (Source : THdateClass); virtual;
68 procedure Assign (Source : THdateClass); virtual;
6969
7070 function get_format_date (s : LongInt) : String;
7171 function get_day_of_week_string (s : LongInt) : String;
115115 hdate_set_gdate (Fh, ADay, AMonth, AYear);
116116
117117 hdate_set_hdate (fh, hdate_get_hday (fh), hdate_get_hmonth (fh), hdate_get_hyear (fh));
118
118119 fHebrewDay := StrPas (hdate_get_int_string (fh^.hd_day));
119120 fHebrewYear := StrPas (hdate_get_int_string (fh^.hd_year));
120121
124125
125126 constructor THdateClass.Create;
126127 begin
128 fh := nil;
127129 fh := new_hdate;
128130 fToDestroy := True;
129131 InitValue;
141143 if fToDestroy then
142144 delete_hdate (fh);
143145
144 fh := nil;
145
146 inherited;
146 inherited;
147147 end;
148148
149149 procedure THdateClass.SetHebDay (Value : LongInt);
150150 begin
151 hdate_set_hdate (Fh, Value, GetHebMonth, GetHebYear);
152 fHebrewDay := StrPas (hdate_get_int_string (fh^.hd_day));
151 hdate_set_hdate (Fh, Value, GetHebMonth, GetHebYear);
152 fHebrewDay := StrPas (hdate_get_int_string (fh^.hd_day));
153153 end;
154154
155155 procedure THdateClass.SetGregDay (Value : LongInt);
175175
176176 procedure THdateClass.SetHebYear (Value : LongInt);
177177 begin
178 hdate_set_hdate (Fh, GetHebDay, GetGregMonth, Value);
178 hdate_set_hdate (fh, GetHebDay, GetGregMonth, Value);
179179 fHebrewYear := StrPas (hdate_get_int_string (fh^.hd_year));
180180 end;
181181
266266
267267 function THdateClass.get_holyday_string (s : LongInt) : String;
268268 begin
269 Result := StrPas (hdate_get_holyday_string (fHolyday, s));
269 Result := StrPas (hdate_get_holyday_string (fHolyday, s));
270270 end;
271271
272272 function THdateClass.get_parasha_string (s : LongInt) : String;
+0
-450
current/bindings/pascal/hdate_obj.pp less more
0 { libhdate
1 Copyright 2004-2005 Yaacov Zamir <kzamir@walla.co.il>
2 Copyright 2005 Ido Kanner <idokan@gmail.com>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Library General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18 History:
19 11/10/2005 - Initial Translation of version 0.31.0
20 }
21
22 {$MODE OBJFPC}
23 unit hdate_obj;
24
25 interface
26 uses cTypes, hDate, SysUtils;
27
28 type
29 THdate = class
30 private
31 h : Phdate_struct;
32 public
33 constructor Create; virtual;
34 destructor Destroy; override;
35 ////////////////////////////////////////
36 ////////////////////////////////////////
37
38 (**
39 @brief compute date structure from the Gregorian date
40
41 @param d Day of month 1..31
42 @param m Month 1..12 , if m or d is 0 return current date.
43 @param y Year in 4 digits e.g. 2001
44 *)
45 procedure set_gdate (d, m, y : cInt);
46
47 (**
48 @brief compute date structure from the Hebrew date
49
50 @param d Day of month 1..31
51 @param m Month 1..14 , if m or d is 0 return current date.
52 @param y Year in 4 digits e.g. 5731
53 *)
54 procedure set_hdate (d, m, y : cInt);
55
56 (**
57 @brief compute date structure from the Julian day
58
59 @param jd the julian day number.
60 *)
61 procedure set_jd (jd : cInt);
62
63 ////////////////////////////////////////
64 ////////////////////////////////////////
65
66 (**
67 @brief get formated hebrew date.
68
69 return the short ( e.g. "1 Tishrey" ) or
70 long (e.g. "Tuesday 18 Tishrey 5763 Hol hamoed Sukot" ) formated date.
71
72 @param diaspora if true give diaspora holydays.
73 @param s short flag.
74 @return a static string of foramted date
75 *)
76 function get_format_date (diaspora, s : cInt) : String;
77
78 (**
79 @brief get name of week day.
80
81 @param s short flag
82 true - returns a short string: sun, false returns: sunday.
83 @return a static string of the day of the week
84 *)
85 function get_day_of_week_string (s : cInt) : String;
86
87 (**
88 @brief get name month.
89
90 @param s short flag
91 true - returns a short string: Mar, false returns: March.
92 @return a static string of month name
93 *)
94 function get_month_string (s : cInt) : String;
95
96 (**
97 @brief get name hebrew month.
98
99 @param s short flag
100 true - returns a short string.
101 @return a static string of hebrew month name
102 *)
103 function get_hebrew_month_string (s : cInt) : String;
104
105 (**
106 @brief get name hebrew holiday.
107
108 @param s short flag
109 true - returns a short string.
110 @return a static string of hebrew holiday name
111 *)
112 function get_holyday_string (diaspora, s : cInt) : String;
113
114 (**
115 @brief get the hebrew holiday type.
116
117 @return the holiday type
118 (1- regular holyday, 2- three regels, 3- tzom, 0- no holiday)
119 *)
120 function get_holyday_type (diaspora : cInt) : cInt;
121
122 (**
123 @brief get name hebrew parasha.
124
125 @param diaspora if true give diaspora parashot.
126 @param s short flag
127 true - returns a short string.
128 @return a static string of hebrew parash name
129 *)
130 function get_parasha_string (diaspora, s : cInt) : String;
131
132 (**
133 @brief get name hebrew year.
134
135 @return a static string of hebrew year
136 *)
137 function get_hebrew_year_string : String;
138
139 (**
140 @brief get name hebrew hebrew day of the month
141
142 @return a static string of hebrew day of the month
143 *)
144 function get_hebrew_day_string : String;
145
146 ////////////////////////////////////////
147 ////////////////////////////////////////
148
149 (**
150 @brief get parash number
151
152 @param diaspora if true give diaspora parashot.
153 @return the hebrew parasha number
154 *)
155 function get_parasha (diaspora : cInt) : cInt;
156
157 (**
158 @brief get holiday number
159
160 @param diaspora if true give diaspora holidays.
161 @return the hebrew holiday number
162 *)
163 function get_holyday (diaspora : cInt) : cInt;
164
165 (**
166 @brief get Gregorian day of the month
167
168 @return the Gregorian day of the month
169 *)
170 function get_gday : cInt;
171
172 (**
173 @brief get Gregorian month
174
175 @return the Gregorian month
176 *)
177 function get_gmonth : cInt;
178
179 (**
180 @brief get Gregorian year
181
182 @return the Gregorian year
183 *)
184 function get_gyear : cInt;
185
186 (**
187 @brief get Hebrew day of the month
188
189 @return the Hebrew day of the month
190 *)
191 function get_hday : cInt;
192
193 (**
194 @brief get Hebrew month
195
196 @return the Hebrew month
197 *)
198 function get_hmonth : cInt;
199
200 (**
201 @brief get Hebrew year
202
203 @return the Hebrew year
204 *)
205 function get_hyear : cInt;
206
207 (**
208 @brief get the day of the week
209
210 @return the day of the week
211 *)
212 function get_day_of_the_week : cInt;
213
214 (**
215 @brief get the size of the Hebrew year in days
216
217 @return the size of the Hebrew year in days
218 *)
219 function get_size_of_year : cInt;
220
221 (**
222 @brief get the day of the week of hebrew new years
223
224 @return the day of the week of hebrew new years
225 *)
226 function get_new_year_day_of_the_week : cInt;
227
228 (**
229 @brief get the Julian day number
230
231 @return the Julian day number
232 *)
233 function get_julian : cInt;
234
235 (**
236 @brief get the number of days sice Tishrey I
237
238 @return the the number of days sice Tishrey I
239 *)
240 function get_days : cInt;
241
242 (**
243 @brief get the number of weeks sice Tishrey I
244
245 @return the the number of weeks sice Tishrey I
246 *)
247 function get_weeks : cInt;
248
249 ////////////////////////////////////////
250 ////////////////////////////////////////
251
252 (**
253 @brief sunrise time
254
255 @param longitude longitude to use in calculations
256 degrees, negative values are east
257 @param latitude latitude to use in calculations
258 degrees, negative values are south
259 @param tz time zone
260 @return sunrise in minutes after midnight (00:00)
261 *)
262 function get_sunrise (latitude, longitude : cDouble; tz : cInt) : cInt;
263
264 (**
265 @brief sunset time
266
267 @param longitude longitude to use in calculations
268 degrees, negative values are east
269 @param latitude latitude to use in calculations
270 degrees, negative values are south
271 @param tz time zone
272 @return sunset in minutes after midnight (00:00)
273 *)
274 function get_sunset (latitude, longitude : cDouble; tz : cInt) : cInt;
275 end;
276
277 implementation
278
279 constructor THdate.Create;
280 begin
281 h := new_hdate;
282 end;
283
284 destructor THdate.Destroy;
285 begin
286 delete_hdate(h);
287 inherited Destroy;
288 end;
289
290 procedure THdate.set_gdate (d, m, y : cInt);
291 begin
292 hdate_set_gdate (h, d, m, y);
293 end;
294
295 procedure THdate.set_hdate (d, m, y : cInt);
296 begin
297 hdate_set_hdate (h, d, m, y);
298 end;
299
300 procedure THdate.set_jd (jd : cInt);
301 begin
302 hdate_set_jd (h, jd);
303 end;
304
305 function THdate.get_format_date (diaspora, s : cInt) : String;
306 begin
307 Result := StrPas (hdate_get_format_date (h, diaspora, s));
308 end;
309
310 function THdate.get_day_of_week_string (s : cInt) : String;
311 begin
312 Result := StrPas (hdate_get_day_string (h^.hd_dw, s));
313 end;
314
315 function THdate.get_month_string (s : cInt) : String;
316 begin
317 Result := StrPas (hdate_get_month_string (h^.gd_mon, s));
318 end;
319
320 function THdate.get_hebrew_month_string (s : cInt) : String;
321 begin
322 Result := StrPas (hdate_get_hebrew_month_string (h^.hd_mon, s));
323 end;
324
325 function THdate.get_holyday_string (diaspora, s : cInt) : String;
326 var
327 holyday : cInt;
328 begin
329 holyday := hdate_get_holyday (h, diaspora);
330 Result := StrPas (hdate_get_holyday_string (holyday, s));
331 end;
332
333 function THdate.get_holyday_type (diaspora : cInt) : cInt;
334 var
335 holyday : cInt;
336 begin
337 holyday := hdate_get_holyday (h, diaspora);
338 Result := hdate_get_holyday_type (holyday);
339 end;
340
341 function THdate.get_parasha_string (diaspora, s : cInt) : String;
342 var
343 parasha : cInt;
344 begin
345 parasha := hdate_get_parasha (h, diaspora);
346 Result := StrPas (hdate_get_parasha_string (parasha, s));
347 end;
348
349 function THdate.get_hebrew_year_string : String;
350 begin
351 Result := StrPas (hdate_get_int_string (h^.hd_year));
352 end;
353
354 function THdate.get_hebrew_day_string : String;
355 begin
356 Result := StrPas (hdate_get_int_string (h^.hd_day));
357 end;
358
359 function THdate.get_parasha (diaspora : cInt) : cInt;
360 begin
361 Result := hdate_get_parasha (h, diaspora);
362 end;
363
364 function THdate.get_holyday (diaspora : cInt) : cInt;
365 begin
366 Result := hdate_get_holyday (h, diaspora);
367 end;
368
369 function THdate.get_gday : cInt;
370 begin
371 Result := hdate_get_gday (h);
372 end;
373
374 function THdate.get_gmonth : cInt;
375 begin
376 Result := hdate_get_gmonth (h);
377 end;
378
379 function THdate.get_gyear : cInt;
380 begin
381 Result := hdate_get_gyear (h);
382 end;
383
384 function THdate.get_hday : cInt;
385 begin
386 Result := hdate_get_hday (h);
387 end;
388
389 function THdate.get_hmonth : cInt;
390 begin
391 Result := hdate_get_hmonth (h);
392 end;
393
394 function THdate.get_hyear : cInt;
395 begin
396 Result :=hdate_get_hyear (h);
397 end;
398
399 function THdate.get_day_of_the_week : cInt;
400 begin
401 Result := hdate_get_day_of_the_week (h);
402 end;
403
404 function THdate.get_size_of_year : cInt;
405 begin
406 Result := hdate_get_size_of_year (h);
407 end;
408
409 function THdate.get_new_year_day_of_the_week : cInt;
410 begin
411 Result := hdate_get_new_year_day_of_the_week (h);
412 end;
413
414 function THdate.get_julian : cInt;
415 begin
416 Result := hdate_get_julian (h);
417 end;
418
419 function THdate.get_days : cInt;
420 begin
421 Result := hdate_get_days (h);
422 end;
423
424 function THdate.get_weeks : cInt;
425 begin
426 Result := hdate_get_weeks (h);
427 end;
428
429 function THdate.get_sunrise (latitude, longitude : cDouble; tz : cInt) : cInt;
430 var
431 sunrise,
432 sunset : cInt;
433 begin
434 hdate_get_utc_sun_time (h^.gd_day, h^.gd_mon, h^.gd_year, latitude, longitude, @sunrise, @sunset);
435
436 Result := sunrise + tz * 60;
437 end;
438
439 function THdate.get_sunset (latitude, longitude : cDouble; tz : cInt) : cInt;
440 var
441 sunrise,
442 sunset : cInt;
443 begin
444 hdate_get_utc_sun_time (h^.gd_day, h^.gd_mon, h^.gd_year, latitude, longitude, @sunrise, @sunset);
445
446 Result := sunset + tz * 60;
447 end;
448
449 end.
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
184127
185128 EXTRA_DIST = hdate.i
186129
187130 @WITH_PERL_TRUE@DEPS = $(top_builddir)/src/libhdate.la
188131
189132 @WITH_PERL_TRUE@CLEANFILES = *.o *.cxx *.so *wrap* *.pm
190 subdir = bindings/perl
191 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
192133 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
193 CONFIG_CLEAN_FILES =
194 DIST_SOURCES =
195 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
196 all: all-am
197
134 CONFIG_CLEAN_FILES =
135 DIST_COMMON = Makefile.am Makefile.in
136
137
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139
140 TAR = tar
141 GZIP_ENV = --best
142 all: all-redirect
198143 .SUFFIXES:
199 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
200 cd $(top_srcdir) && \
201 $(AUTOMAKE) --gnu bindings/perl/Makefile
202 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
203 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
204
205 mostlyclean-libtool:
206 -rm -f *.lo
207
208 clean-libtool:
209 -rm -rf .libs _libs
210
211 distclean-libtool:
212 -rm -f libtool
213 uninstall-info-am:
144 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
145 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/perl/Makefile
146
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 cd $(top_builddir) \
149 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
150
214151 tags: TAGS
215152 TAGS:
216153
217 ctags: CTAGS
218 CTAGS:
219
220 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
221
222 top_distdir = ../..
223 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/perl
224158
225159 distdir: $(DISTFILES)
226 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
227 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
228 list='$(DISTFILES)'; for file in $$list; do \
229 case $$file in \
230 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
231 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
232 esac; \
233 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
234 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
235 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
236 dir="/$$dir"; \
237 $(mkinstalldirs) "$(distdir)$$dir"; \
238 else \
239 dir=''; \
240 fi; \
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
241162 if test -d $$d/$$file; then \
242 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
243 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
244 fi; \
245 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
163 cp -pr $$d/$$file $(distdir)/$$file; \
246164 else \
247165 test -f $(distdir)/$$file \
248 || cp -p $$d/$$file $(distdir)/$$file \
249 || exit 1; \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
250168 fi; \
251169 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
252174 check-am: all-am
253175 check: check-am
254 all-am: Makefile
255
256 installdirs:
257 install: install-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
258179 install-exec: install-exec-am
180
181 install-data-am: install-data-local
259182 install-data: install-data-am
260 uninstall: uninstall-am
261183
262184 install-am: all-am
263185 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
264
265 installcheck: installcheck-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
266191 install-strip:
267 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
268 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
269 `test -z '$(STRIP)' || \
270 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
271196 mostlyclean-generic:
272197
273198 clean-generic:
274199 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
275200
276201 distclean-generic:
277 -rm -f $(CONFIG_CLEAN_FILES)
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
278204
279205 maintainer-clean-generic:
280 @echo "This command is intended for maintainers to use"
206 mostlyclean-am: mostlyclean-generic
207
208 mostlyclean: mostlyclean-am
209
210 clean-am: clean-generic mostlyclean-am
211
212 clean: clean-am
213
214 distclean-am: distclean-generic clean-am
215 -rm -f libtool
216
217 distclean: distclean-am
218
219 maintainer-clean-am: maintainer-clean-generic distclean-am
220 @echo "This command is intended for maintainers to use;"
281221 @echo "it deletes files that may require special tools to rebuild."
282 clean: clean-am
283
284 clean-am: clean-generic clean-libtool mostlyclean-am
285
286 distclean: distclean-am
287 -rm -f Makefile
288 distclean-am: clean-am distclean-generic distclean-libtool
289
290 dvi: dvi-am
291
292 dvi-am:
293
294 info: info-am
295
296 info-am:
297
298 install-data-am: install-data-local
299
300 install-exec-am:
301
302 install-info: install-info-am
303
304 install-man:
305
306 installcheck-am:
307222
308223 maintainer-clean: maintainer-clean-am
309 -rm -f Makefile
310 maintainer-clean-am: distclean-am maintainer-clean-generic
311
312 mostlyclean: mostlyclean-am
313
314 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
315
316 pdf: pdf-am
317
318 pdf-am:
319
320 ps: ps-am
321
322 ps-am:
323
324 uninstall-am: uninstall-info-am
325
326 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
327 distclean distclean-generic distclean-libtool distdir dvi \
328 dvi-am info info-am install install-am install-data \
329 install-data-am install-data-local install-exec install-exec-am \
330 install-info install-info-am install-man install-strip \
331 installcheck installcheck-am installdirs maintainer-clean \
332 maintainer-clean-generic mostlyclean mostlyclean-generic \
333 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
334 uninstall-info-am
224
225 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
226 installcheck-am installcheck install-exec-am install-exec \
227 install-data-local install-data-am install-data install-am install \
228 uninstall-am uninstall all-redirect all-am all installdirs \
229 mostlyclean-generic distclean-generic clean-generic \
230 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
335231
336232
337233 @WITH_PERL_TRUE@all-am: hdate.so
347243 @WITH_PERL_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/
348244 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.so $(DESTDIR)$(PE_MODULES_PATH)/auto/hdate/hdate.so
349245 @WITH_PERL_TRUE@ $(INSTALL_DATA) hdate.pm $(DESTDIR)$(PE_MODULES_PATH)/hdate.pm
246
350247 # Tell versions [3.59,3.63) of GNU make to not export all variables.
351248 # Otherwise a system limit (for SysV at least) may be exceeded.
352249 .NOEXPORT:
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
184127
185128 EXTRA_DIST = hdate.i
186129
187130 @WITH_PYTHON_TRUE@DEPS = $(top_builddir)/src/libhdate.la
188131
189132 @WITH_PYTHON_TRUE@CLEANFILES = *.o *.cxx *.so *wrap* *.py
190 subdir = bindings/python
191 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
192133 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
193 CONFIG_CLEAN_FILES =
194 DIST_SOURCES =
195 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
196 all: all-am
197
134 CONFIG_CLEAN_FILES =
135 DIST_COMMON = Makefile.am Makefile.in
136
137
138 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
139
140 TAR = tar
141 GZIP_ENV = --best
142 all: all-redirect
198143 .SUFFIXES:
199 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
200 cd $(top_srcdir) && \
201 $(AUTOMAKE) --gnu bindings/python/Makefile
202 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
203 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
204
205 mostlyclean-libtool:
206 -rm -f *.lo
207
208 clean-libtool:
209 -rm -rf .libs _libs
210
211 distclean-libtool:
212 -rm -f libtool
213 uninstall-info-am:
144 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
145 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bindings/python/Makefile
146
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148 cd $(top_builddir) \
149 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
150
214151 tags: TAGS
215152 TAGS:
216153
217 ctags: CTAGS
218 CTAGS:
219
220 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
221
222 top_distdir = ../..
223 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
154
155 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
156
157 subdir = bindings/python
224158
225159 distdir: $(DISTFILES)
226 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
227 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
228 list='$(DISTFILES)'; for file in $$list; do \
229 case $$file in \
230 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
231 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
232 esac; \
233 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
234 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
235 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
236 dir="/$$dir"; \
237 $(mkinstalldirs) "$(distdir)$$dir"; \
238 else \
239 dir=''; \
240 fi; \
160 @for file in $(DISTFILES); do \
161 d=$(srcdir); \
241162 if test -d $$d/$$file; then \
242 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
243 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
244 fi; \
245 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
163 cp -pr $$d/$$file $(distdir)/$$file; \
246164 else \
247165 test -f $(distdir)/$$file \
248 || cp -p $$d/$$file $(distdir)/$$file \
249 || exit 1; \
166 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
167 || cp -p $$d/$$file $(distdir)/$$file || :; \
250168 fi; \
251169 done
170 info-am:
171 info: info-am
172 dvi-am:
173 dvi: dvi-am
252174 check-am: all-am
253175 check: check-am
254 all-am: Makefile
255
256 installdirs:
257 install: install-am
176 installcheck-am:
177 installcheck: installcheck-am
178 install-exec-am:
258179 install-exec: install-exec-am
180
181 install-data-am: install-data-local
259182 install-data: install-data-am
260 uninstall: uninstall-am
261183
262184 install-am: all-am
263185 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
264
265 installcheck: installcheck-am
186 install: install-am
187 uninstall-am:
188 uninstall: uninstall-am
189 all-am: Makefile
190 all-redirect: all-am
266191 install-strip:
267 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
268 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
269 `test -z '$(STRIP)' || \
270 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
192 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
193 installdirs:
194
195
271196 mostlyclean-generic:
272197
273198 clean-generic:
274199 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
275200
276201 distclean-generic:
277 -rm -f $(CONFIG_CLEAN_FILES)
202 -rm -f Makefile $(CONFIG_CLEAN_FILES)
203 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
278204
279205 maintainer-clean-generic:
280 @echo "This command is intended for maintainers to use"
206 mostlyclean-am: mostlyclean-generic
207
208 mostlyclean: mostlyclean-am
209
210 clean-am: clean-generic mostlyclean-am
211
212 clean: clean-am
213
214 distclean-am: distclean-generic clean-am
215 -rm -f libtool
216
217 distclean: distclean-am
218
219 maintainer-clean-am: maintainer-clean-generic distclean-am
220 @echo "This command is intended for maintainers to use;"
281221 @echo "it deletes files that may require special tools to rebuild."
282 clean: clean-am
283
284 clean-am: clean-generic clean-libtool mostlyclean-am
285
286 distclean: distclean-am
287 -rm -f Makefile
288 distclean-am: clean-am distclean-generic distclean-libtool
289
290 dvi: dvi-am
291
292 dvi-am:
293
294 info: info-am
295
296 info-am:
297
298 install-data-am: install-data-local
299
300 install-exec-am:
301
302 install-info: install-info-am
303
304 install-man:
305
306 installcheck-am:
307222
308223 maintainer-clean: maintainer-clean-am
309 -rm -f Makefile
310 maintainer-clean-am: distclean-am maintainer-clean-generic
311
312 mostlyclean: mostlyclean-am
313
314 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
315
316 pdf: pdf-am
317
318 pdf-am:
319
320 ps: ps-am
321
322 ps-am:
323
324 uninstall-am: uninstall-info-am
325
326 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
327 distclean distclean-generic distclean-libtool distdir dvi \
328 dvi-am info info-am install install-am install-data \
329 install-data-am install-data-local install-exec install-exec-am \
330 install-info install-info-am install-man install-strip \
331 installcheck installcheck-am installdirs maintainer-clean \
332 maintainer-clean-generic mostlyclean mostlyclean-generic \
333 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
334 uninstall-info-am
224
225 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
226 installcheck-am installcheck install-exec-am install-exec \
227 install-data-local install-data-am install-data install-am install \
228 uninstall-am uninstall all-redirect all-am all installdirs \
229 mostlyclean-generic distclean-generic clean-generic \
230 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
335231
336232
337233 @WITH_PYTHON_TRUE@all-am: _hdate.so
347243 @WITH_PYTHON_TRUE@ $(mkinstalldirs) $(DESTDIR)$(PY_MODULES_PATH)
348244 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) _hdate.so $(DESTDIR)$(PY_MODULES_PATH)/_hdate.so
349245 @WITH_PYTHON_TRUE@ $(INSTALL_DATA) hdate.py $(DESTDIR)$(PY_MODULES_PATH)/hdate.py
246
350247 # Tell versions [3.59,3.63) of GNU make to not export all variables.
351248 # Otherwise a system limit (for SysV at least) may be exceeded.
352249 .NOEXPORT:
+0
-1
current/compile less more
0 /usr/share/automake-1.7/compile
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
44
5 timestamp='2005-04-22'
5 timestamp='2005-08-03'
66
77 # This file is free software; you can redistribute it and/or modify it
88 # under the terms of the GNU General Public License as published by
1616 #
1717 # You should have received a copy of the GNU General Public License
1818 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
20 # 02110-1301, USA.
2021 #
2122 # As a special exception to the GNU General Public License, if you
2223 # distribute this file as part of a program that contains a
2324 # configuration script generated by Autoconf, you may include it under
2425 # the same distribution terms that you use for the rest of that program.
26
2527
2628 # Originally written by Per Bothner <per@bothner.com>.
2729 # Please send patches to <config-patches@gnu.org>. Submit a context
6567 while test $# -gt 0 ; do
6668 case $1 in
6769 --time-stamp | --time* | -t )
68 echo "$timestamp" ; exit 0 ;;
70 echo "$timestamp" ; exit ;;
6971 --version | -v )
70 echo "$version" ; exit 0 ;;
72 echo "$version" ; exit ;;
7173 --help | --h* | -h )
72 echo "$usage"; exit 0 ;;
74 echo "$usage"; exit ;;
7375 -- ) # Stop option processing
7476 shift; break ;;
7577 - ) # Use stdin as input.
122124 ;;
123125 ,,*) CC_FOR_BUILD=$CC ;;
124126 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
125 esac ;'
127 esac ; set_cc_for_build= ;'
126128
127129 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
128130 # (ghazi@noc.rutgers.edu 1994-08-24)
195197 # contains redundant information, the shorter form:
196198 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
197199 echo "${machine}-${os}${release}"
198 exit 0 ;;
199 amd64:OpenBSD:*:*)
200 echo x86_64-unknown-openbsd${UNAME_RELEASE}
201 exit 0 ;;
202 amiga:OpenBSD:*:*)
203 echo m68k-unknown-openbsd${UNAME_RELEASE}
204 exit 0 ;;
205 cats:OpenBSD:*:*)
206 echo arm-unknown-openbsd${UNAME_RELEASE}
207 exit 0 ;;
208 hp300:OpenBSD:*:*)
209 echo m68k-unknown-openbsd${UNAME_RELEASE}
210 exit 0 ;;
211 luna88k:OpenBSD:*:*)
212 echo m88k-unknown-openbsd${UNAME_RELEASE}
213 exit 0 ;;
214 mac68k:OpenBSD:*:*)
215 echo m68k-unknown-openbsd${UNAME_RELEASE}
216 exit 0 ;;
217 macppc:OpenBSD:*:*)
218 echo powerpc-unknown-openbsd${UNAME_RELEASE}
219 exit 0 ;;
220 mvme68k:OpenBSD:*:*)
221 echo m68k-unknown-openbsd${UNAME_RELEASE}
222 exit 0 ;;
223 mvme88k:OpenBSD:*:*)
224 echo m88k-unknown-openbsd${UNAME_RELEASE}
225 exit 0 ;;
226 mvmeppc:OpenBSD:*:*)
227 echo powerpc-unknown-openbsd${UNAME_RELEASE}
228 exit 0 ;;
229 sgi:OpenBSD:*:*)
230 echo mips64-unknown-openbsd${UNAME_RELEASE}
231 exit 0 ;;
232 sun3:OpenBSD:*:*)
233 echo m68k-unknown-openbsd${UNAME_RELEASE}
234 exit 0 ;;
200 exit ;;
235201 *:OpenBSD:*:*)
236 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
237 exit 0 ;;
202 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
203 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
204 exit ;;
238205 *:ekkoBSD:*:*)
239206 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
240 exit 0 ;;
207 exit ;;
241208 macppc:MirBSD:*:*)
242209 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
243 exit 0 ;;
210 exit ;;
244211 *:MirBSD:*:*)
245212 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
246 exit 0 ;;
213 exit ;;
247214 alpha:OSF1:*:*)
248215 case $UNAME_RELEASE in
249216 *4.0)
296263 # A Xn.n version is an unreleased experimental baselevel.
297264 # 1.2 uses "1.2" for uname -r.
298265 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
299 exit 0 ;;
266 exit ;;
300267 Alpha\ *:Windows_NT*:*)
301268 # How do we know it's Interix rather than the generic POSIX subsystem?
302269 # Should we change UNAME_MACHINE based on the output of uname instead
303270 # of the specific Alpha model?
304271 echo alpha-pc-interix
305 exit 0 ;;
272 exit ;;
306273 21064:Windows_NT:50:3)
307274 echo alpha-dec-winnt3.5
308 exit 0 ;;
275 exit ;;
309276 Amiga*:UNIX_System_V:4.0:*)
310277 echo m68k-unknown-sysv4
311 exit 0;;
278 exit ;;
312279 *:[Aa]miga[Oo][Ss]:*:*)
313280 echo ${UNAME_MACHINE}-unknown-amigaos
314 exit 0 ;;
281 exit ;;
315282 *:[Mm]orph[Oo][Ss]:*:*)
316283 echo ${UNAME_MACHINE}-unknown-morphos
317 exit 0 ;;
284 exit ;;
318285 *:OS/390:*:*)
319286 echo i370-ibm-openedition
320 exit 0 ;;
287 exit ;;
321288 *:z/VM:*:*)
322289 echo s390-ibm-zvmoe
323 exit 0 ;;
290 exit ;;
324291 *:OS400:*:*)
325292 echo powerpc-ibm-os400
326 exit 0 ;;
293 exit ;;
327294 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
328295 echo arm-acorn-riscix${UNAME_RELEASE}
329 exit 0;;
296 exit ;;
297 arm:riscos:*:*|arm:RISCOS:*:*)
298 echo arm-unknown-riscos
299 exit ;;
330300 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
331301 echo hppa1.1-hitachi-hiuxmpp
332 exit 0;;
302 exit ;;
333303 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
334304 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
335305 if test "`(/bin/universe) 2>/dev/null`" = att ; then
337307 else
338308 echo pyramid-pyramid-bsd
339309 fi
340 exit 0 ;;
310 exit ;;
341311 NILE*:*:*:dcosx)
342312 echo pyramid-pyramid-svr4
343 exit 0 ;;
313 exit ;;
344314 DRS?6000:unix:4.0:6*)
345315 echo sparc-icl-nx6
346 exit 0 ;;
316 exit ;;
347317 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
348318 case `/usr/bin/uname -p` in
349 sparc) echo sparc-icl-nx7 && exit 0 ;;
319 sparc) echo sparc-icl-nx7; exit ;;
350320 esac ;;
351321 sun4H:SunOS:5.*:*)
352322 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
353 exit 0 ;;
323 exit ;;
354324 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
355325 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
356 exit 0 ;;
326 exit ;;
357327 i86pc:SunOS:5.*:*)
358328 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
359 exit 0 ;;
329 exit ;;
360330 sun4*:SunOS:6*:*)
361331 # According to config.sub, this is the proper way to canonicalize
362332 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
363333 # it's likely to be more like Solaris than SunOS4.
364334 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
365 exit 0 ;;
335 exit ;;
366336 sun4*:SunOS:*:*)
367337 case "`/usr/bin/arch -k`" in
368338 Series*|S4*)
371341 esac
372342 # Japanese Language versions have a version number like `4.1.3-JL'.
373343 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
374 exit 0 ;;
344 exit ;;
375345 sun3*:SunOS:*:*)
376346 echo m68k-sun-sunos${UNAME_RELEASE}
377 exit 0 ;;
347 exit ;;
378348 sun*:*:4.2BSD:*)
379349 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
380350 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
386356 echo sparc-sun-sunos${UNAME_RELEASE}
387357 ;;
388358 esac
389 exit 0 ;;
359 exit ;;
390360 aushp:SunOS:*:*)
391361 echo sparc-auspex-sunos${UNAME_RELEASE}
392 exit 0 ;;
362 exit ;;
393363 # The situation for MiNT is a little confusing. The machine name
394364 # can be virtually everything (everything which is not
395365 # "atarist" or "atariste" at least should have a processor
400370 # be no problem.
401371 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
402372 echo m68k-atari-mint${UNAME_RELEASE}
403 exit 0 ;;
373 exit ;;
404374 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
405375 echo m68k-atari-mint${UNAME_RELEASE}
406 exit 0 ;;
376 exit ;;
407377 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
408378 echo m68k-atari-mint${UNAME_RELEASE}
409 exit 0 ;;
379 exit ;;
410380 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
411381 echo m68k-milan-mint${UNAME_RELEASE}
412 exit 0 ;;
382 exit ;;
413383 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
414384 echo m68k-hades-mint${UNAME_RELEASE}
415 exit 0 ;;
385 exit ;;
416386 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
417387 echo m68k-unknown-mint${UNAME_RELEASE}
418 exit 0 ;;
388 exit ;;
419389 m68k:machten:*:*)
420390 echo m68k-apple-machten${UNAME_RELEASE}
421 exit 0 ;;
391 exit ;;
422392 powerpc:machten:*:*)
423393 echo powerpc-apple-machten${UNAME_RELEASE}
424 exit 0 ;;
394 exit ;;
425395 RISC*:Mach:*:*)
426396 echo mips-dec-mach_bsd4.3
427 exit 0 ;;
397 exit ;;
428398 RISC*:ULTRIX:*:*)
429399 echo mips-dec-ultrix${UNAME_RELEASE}
430 exit 0 ;;
400 exit ;;
431401 VAX*:ULTRIX*:*:*)
432402 echo vax-dec-ultrix${UNAME_RELEASE}
433 exit 0 ;;
403 exit ;;
434404 2020:CLIX:*:* | 2430:CLIX:*:*)
435405 echo clipper-intergraph-clix${UNAME_RELEASE}
436 exit 0 ;;
406 exit ;;
437407 mips:*:*:UMIPS | mips:*:*:RISCos)
438408 eval $set_cc_for_build
439409 sed 's/^ //' << EOF >$dummy.c
457427 exit (-1);
458428 }
459429 EOF
460 $CC_FOR_BUILD -o $dummy $dummy.c \
461 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
462 && exit 0
430 $CC_FOR_BUILD -o $dummy $dummy.c &&
431 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
432 SYSTEM_NAME=`$dummy $dummyarg` &&
433 { echo "$SYSTEM_NAME"; exit; }
463434 echo mips-mips-riscos${UNAME_RELEASE}
464 exit 0 ;;
435 exit ;;
465436 Motorola:PowerMAX_OS:*:*)
466437 echo powerpc-motorola-powermax
467 exit 0 ;;
438 exit ;;
468439 Motorola:*:4.3:PL8-*)
469440 echo powerpc-harris-powermax
470 exit 0 ;;
441 exit ;;
471442 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
472443 echo powerpc-harris-powermax
473 exit 0 ;;
444 exit ;;
474445 Night_Hawk:Power_UNIX:*:*)
475446 echo powerpc-harris-powerunix
476 exit 0 ;;
447 exit ;;
477448 m88k:CX/UX:7*:*)
478449 echo m88k-harris-cxux7
479 exit 0 ;;
450 exit ;;
480451 m88k:*:4*:R4*)
481452 echo m88k-motorola-sysv4
482 exit 0 ;;
453 exit ;;
483454 m88k:*:3*:R3*)
484455 echo m88k-motorola-sysv3
485 exit 0 ;;
456 exit ;;
486457 AViiON:dgux:*:*)
487458 # DG/UX returns AViiON for all architectures
488459 UNAME_PROCESSOR=`/usr/bin/uname -p`
498469 else
499470 echo i586-dg-dgux${UNAME_RELEASE}
500471 fi
501 exit 0 ;;
472 exit ;;
502473 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
503474 echo m88k-dolphin-sysv3
504 exit 0 ;;
475 exit ;;
505476 M88*:*:R3*:*)
506477 # Delta 88k system running SVR3
507478 echo m88k-motorola-sysv3
508 exit 0 ;;
479 exit ;;
509480 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
510481 echo m88k-tektronix-sysv3
511 exit 0 ;;
482 exit ;;
512483 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
513484 echo m68k-tektronix-bsd
514 exit 0 ;;
485 exit ;;
515486 *:IRIX*:*:*)
516487 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
517 exit 0 ;;
488 exit ;;
518489 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
519 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
520 exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
490 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
491 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
521492 i*86:AIX:*:*)
522493 echo i386-ibm-aix
523 exit 0 ;;
494 exit ;;
524495 ia64:AIX:*:*)
525496 if [ -x /usr/bin/oslevel ] ; then
526497 IBM_REV=`/usr/bin/oslevel`
528499 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
529500 fi
530501 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
531 exit 0 ;;
502 exit ;;
532503 *:AIX:2:3)
533504 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
534505 eval $set_cc_for_build
543514 exit(0);
544515 }
545516 EOF
546 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
547 echo rs6000-ibm-aix3.2.5
517 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
518 then
519 echo "$SYSTEM_NAME"
520 else
521 echo rs6000-ibm-aix3.2.5
522 fi
548523 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
549524 echo rs6000-ibm-aix3.2.4
550525 else
551526 echo rs6000-ibm-aix3.2
552527 fi
553 exit 0 ;;
528 exit ;;
554529 *:AIX:*:[45])
555530 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
556531 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
564539 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
565540 fi
566541 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
567 exit 0 ;;
542 exit ;;
568543 *:AIX:*:*)
569544 echo rs6000-ibm-aix
570 exit 0 ;;
545 exit ;;
571546 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
572547 echo romp-ibm-bsd4.4
573 exit 0 ;;
548 exit ;;
574549 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
575550 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
576 exit 0 ;; # report: romp-ibm BSD 4.3
551 exit ;; # report: romp-ibm BSD 4.3
577552 *:BOSX:*:*)
578553 echo rs6000-bull-bosx
579 exit 0 ;;
554 exit ;;
580555 DPX/2?00:B.O.S.:*:*)
581556 echo m68k-bull-sysv3
582 exit 0 ;;
557 exit ;;
583558 9000/[34]??:4.3bsd:1.*:*)
584559 echo m68k-hp-bsd
585 exit 0 ;;
560 exit ;;
586561 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
587562 echo m68k-hp-bsd4.4
588 exit 0 ;;
563 exit ;;
589564 9000/[34678]??:HP-UX:*:*)
590565 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
591566 case "${UNAME_MACHINE}" in
647622 esac
648623 if [ ${HP_ARCH} = "hppa2.0w" ]
649624 then
650 # avoid double evaluation of $set_cc_for_build
651 test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
652 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
625 eval $set_cc_for_build
626
627 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
628 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
629 # generating 64-bit code. GNU and HP use different nomenclature:
630 #
631 # $ CC_FOR_BUILD=cc ./config.guess
632 # => hppa2.0w-hp-hpux11.23
633 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
634 # => hppa64-hp-hpux11.23
635
636 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
637 grep __LP64__ >/dev/null
653638 then
654639 HP_ARCH="hppa2.0w"
655640 else
657642 fi
658643 fi
659644 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
660 exit 0 ;;
645 exit ;;
661646 ia64:HP-UX:*:*)
662647 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
663648 echo ia64-hp-hpux${HPUX_REV}
664 exit 0 ;;
649 exit ;;
665650 3050*:HI-UX:*:*)
666651 eval $set_cc_for_build
667652 sed 's/^ //' << EOF >$dummy.c
689674 exit (0);
690675 }
691676 EOF
692 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
677 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
678 { echo "$SYSTEM_NAME"; exit; }
693679 echo unknown-hitachi-hiuxwe2
694 exit 0 ;;
680 exit ;;
695681 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
696682 echo hppa1.1-hp-bsd
697 exit 0 ;;
683 exit ;;
698684 9000/8??:4.3bsd:*:*)
699685 echo hppa1.0-hp-bsd
700 exit 0 ;;
686 exit ;;
701687 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
702688 echo hppa1.0-hp-mpeix
703 exit 0 ;;
689 exit ;;
704690 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
705691 echo hppa1.1-hp-osf
706 exit 0 ;;
692 exit ;;
707693 hp8??:OSF1:*:*)
708694 echo hppa1.0-hp-osf
709 exit 0 ;;
695 exit ;;
710696 i*86:OSF1:*:*)
711697 if [ -x /usr/sbin/sysversion ] ; then
712698 echo ${UNAME_MACHINE}-unknown-osf1mk
713699 else
714700 echo ${UNAME_MACHINE}-unknown-osf1
715701 fi
716 exit 0 ;;
702 exit ;;
717703 parisc*:Lites*:*:*)
718704 echo hppa1.1-hp-lites
719 exit 0 ;;
705 exit ;;
720706 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
721707 echo c1-convex-bsd
722 exit 0 ;;
708 exit ;;
723709 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
724710 if getsysinfo -f scalar_acc
725711 then echo c32-convex-bsd
726712 else echo c2-convex-bsd
727713 fi
728 exit 0 ;;
714 exit ;;
729715 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
730716 echo c34-convex-bsd
731 exit 0 ;;
717 exit ;;
732718 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
733719 echo c38-convex-bsd
734 exit 0 ;;
720 exit ;;
735721 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
736722 echo c4-convex-bsd
737 exit 0 ;;
723 exit ;;
738724 CRAY*Y-MP:*:*:*)
739725 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
740 exit 0 ;;
726 exit ;;
741727 CRAY*[A-Z]90:*:*:*)
742728 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
743729 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
744730 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
745731 -e 's/\.[^.]*$/.X/'
746 exit 0 ;;
732 exit ;;
747733 CRAY*TS:*:*:*)
748734 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
749 exit 0 ;;
735 exit ;;
750736 CRAY*T3E:*:*:*)
751737 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
752 exit 0 ;;
738 exit ;;
753739 CRAY*SV1:*:*:*)
754740 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
755 exit 0 ;;
741 exit ;;
756742 *:UNICOS/mp:*:*)
757743 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
758 exit 0 ;;
744 exit ;;
759745 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
760746 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
761747 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
762748 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
763749 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
764 exit 0 ;;
750 exit ;;
765751 5000:UNIX_System_V:4.*:*)
766752 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
767753 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
768754 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
769 exit 0 ;;
755 exit ;;
770756 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
771757 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
772 exit 0 ;;
758 exit ;;
773759 sparc*:BSD/OS:*:*)
774760 echo sparc-unknown-bsdi${UNAME_RELEASE}
775 exit 0 ;;
761 exit ;;
776762 *:BSD/OS:*:*)
777763 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
778 exit 0 ;;
764 exit ;;
779765 *:FreeBSD:*:*)
780766 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
781 exit 0 ;;
767 exit ;;
782768 i*:CYGWIN*:*)
783769 echo ${UNAME_MACHINE}-pc-cygwin
784 exit 0 ;;
770 exit ;;
785771 i*:MINGW*:*)
786772 echo ${UNAME_MACHINE}-pc-mingw32
787 exit 0 ;;
773 exit ;;
774 i*:windows32*:*)
775 # uname -m includes "-pc" on this system.
776 echo ${UNAME_MACHINE}-mingw32
777 exit ;;
788778 i*:PW*:*)
789779 echo ${UNAME_MACHINE}-pc-pw32
790 exit 0 ;;
780 exit ;;
791781 x86:Interix*:[34]*)
792782 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
793 exit 0 ;;
783 exit ;;
794784 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
795785 echo i${UNAME_MACHINE}-pc-mks
796 exit 0 ;;
786 exit ;;
797787 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
798788 # How do we know it's Interix rather than the generic POSIX subsystem?
799789 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
800790 # UNAME_MACHINE based on the output of uname instead of i386?
801791 echo i586-pc-interix
802 exit 0 ;;
792 exit ;;
803793 i*:UWIN*:*)
804794 echo ${UNAME_MACHINE}-pc-uwin
805 exit 0 ;;
806 amd64:CYGWIN*:*:*)
795 exit ;;
796 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
807797 echo x86_64-unknown-cygwin
808 exit 0 ;;
798 exit ;;
809799 p*:CYGWIN*:*)
810800 echo powerpcle-unknown-cygwin
811 exit 0 ;;
801 exit ;;
812802 prep*:SunOS:5.*:*)
813803 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
814 exit 0 ;;
804 exit ;;
815805 *:GNU:*:*)
816806 # the GNU system
817807 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
818 exit 0 ;;
808 exit ;;
819809 *:GNU/*:*:*)
820810 # other systems with GNU libc and userland
821811 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
822 exit 0 ;;
812 exit ;;
823813 i*86:Minix:*:*)
824814 echo ${UNAME_MACHINE}-pc-minix
825 exit 0 ;;
815 exit ;;
826816 arm*:Linux:*:*)
827817 echo ${UNAME_MACHINE}-unknown-linux-gnu
828 exit 0 ;;
818 exit ;;
829819 cris:Linux:*:*)
830820 echo cris-axis-linux-gnu
831 exit 0 ;;
821 exit ;;
832822 crisv32:Linux:*:*)
833823 echo crisv32-axis-linux-gnu
834 exit 0 ;;
824 exit ;;
835825 frv:Linux:*:*)
836826 echo frv-unknown-linux-gnu
837 exit 0 ;;
827 exit ;;
838828 ia64:Linux:*:*)
839829 echo ${UNAME_MACHINE}-unknown-linux-gnu
840 exit 0 ;;
830 exit ;;
841831 m32r*:Linux:*:*)
842832 echo ${UNAME_MACHINE}-unknown-linux-gnu
843 exit 0 ;;
833 exit ;;
844834 m68*:Linux:*:*)
845835 echo ${UNAME_MACHINE}-unknown-linux-gnu
846 exit 0 ;;
836 exit ;;
847837 mips:Linux:*:*)
848838 eval $set_cc_for_build
849839 sed 's/^ //' << EOF >$dummy.c
861851 #endif
862852 EOF
863853 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
864 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
854 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
865855 ;;
866856 mips64:Linux:*:*)
867857 eval $set_cc_for_build
880870 #endif
881871 EOF
882872 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
883 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
873 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
884874 ;;
875 or32:Linux:*:*)
876 echo or32-unknown-linux-gnu
877 exit ;;
885878 ppc:Linux:*:*)
886879 echo powerpc-unknown-linux-gnu
887 exit 0 ;;
880 exit ;;
888881 ppc64:Linux:*:*)
889882 echo powerpc64-unknown-linux-gnu
890 exit 0 ;;
883 exit ;;
891884 alpha:Linux:*:*)
892885 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
893886 EV5) UNAME_MACHINE=alphaev5 ;;
901894 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
902895 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
903896 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
904 exit 0 ;;
897 exit ;;
905898 parisc:Linux:*:* | hppa:Linux:*:*)
906899 # Look for CPU level
907900 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
909902 PA8*) echo hppa2.0-unknown-linux-gnu ;;
910903 *) echo hppa-unknown-linux-gnu ;;
911904 esac
912 exit 0 ;;
905 exit ;;
913906 parisc64:Linux:*:* | hppa64:Linux:*:*)
914907 echo hppa64-unknown-linux-gnu
915 exit 0 ;;
908 exit ;;
916909 s390:Linux:*:* | s390x:Linux:*:*)
917910 echo ${UNAME_MACHINE}-ibm-linux
918 exit 0 ;;
911 exit ;;
919912 sh64*:Linux:*:*)
920913 echo ${UNAME_MACHINE}-unknown-linux-gnu
921 exit 0 ;;
914 exit ;;
922915 sh*:Linux:*:*)
923916 echo ${UNAME_MACHINE}-unknown-linux-gnu
924 exit 0 ;;
917 exit ;;
925918 sparc:Linux:*:* | sparc64:Linux:*:*)
926919 echo ${UNAME_MACHINE}-unknown-linux-gnu
927 exit 0 ;;
920 exit ;;
928921 x86_64:Linux:*:*)
929922 echo x86_64-unknown-linux-gnu
930 exit 0 ;;
923 exit ;;
931924 i*86:Linux:*:*)
932925 # The BFD linker knows what the default object file format is, so
933926 # first see if it will tell us. cd to the root directory to prevent
945938 ;;
946939 a.out-i386-linux)
947940 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
948 exit 0 ;;
941 exit ;;
949942 coff-i386)
950943 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
951 exit 0 ;;
944 exit ;;
952945 "")
953946 # Either a pre-BFD a.out linker (linux-gnuoldld) or
954947 # one that does not give us useful --help.
955948 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
956 exit 0 ;;
949 exit ;;
957950 esac
958951 # Determine whether the default compiler is a.out or elf
959952 eval $set_cc_for_build
981974 #endif
982975 EOF
983976 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
984 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
985 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
977 test x"${LIBC}" != x && {
978 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
979 exit
980 }
981 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
986982 ;;
987983 i*86:DYNIX/ptx:4*:*)
988984 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
989985 # earlier versions are messed up and put the nodename in both
990986 # sysname and nodename.
991987 echo i386-sequent-sysv4
992 exit 0 ;;
988 exit ;;
993989 i*86:UNIX_SV:4.2MP:2.*)
994990 # Unixware is an offshoot of SVR4, but it has its own version
995991 # number series starting with 2...
997993 # I just have to hope. -- rms.
998994 # Use sysv4.2uw... so that sysv4* matches it.
999995 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1000 exit 0 ;;
996 exit ;;
1001997 i*86:OS/2:*:*)
1002998 # If we were able to find `uname', then EMX Unix compatibility
1003999 # is probably installed.
10041000 echo ${UNAME_MACHINE}-pc-os2-emx
1005 exit 0 ;;
1001 exit ;;
10061002 i*86:XTS-300:*:STOP)
10071003 echo ${UNAME_MACHINE}-unknown-stop
1008 exit 0 ;;
1004 exit ;;
10091005 i*86:atheos:*:*)
10101006 echo ${UNAME_MACHINE}-unknown-atheos
1011 exit 0 ;;
1012 i*86:syllable:*:*)
1007 exit ;;
1008 i*86:syllable:*:*)
10131009 echo ${UNAME_MACHINE}-pc-syllable
1014 exit 0 ;;
1010 exit ;;
10151011 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
10161012 echo i386-unknown-lynxos${UNAME_RELEASE}
1017 exit 0 ;;
1013 exit ;;
10181014 i*86:*DOS:*:*)
10191015 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1020 exit 0 ;;
1016 exit ;;
10211017 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
10221018 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
10231019 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
10251021 else
10261022 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
10271023 fi
1028 exit 0 ;;
1029 i*86:*:5:[78]*)
1024 exit ;;
1025 i*86:*:5:[678]*)
1026 # UnixWare 7.x, OpenUNIX and OpenServer 6.
10301027 case `/bin/uname -X | grep "^Machine"` in
10311028 *486*) UNAME_MACHINE=i486 ;;
10321029 *Pentium) UNAME_MACHINE=i586 ;;
10331030 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
10341031 esac
10351032 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1036 exit 0 ;;
1033 exit ;;
10371034 i*86:*:3.2:*)
10381035 if test -f /usr/options/cb.name; then
10391036 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
10511048 else
10521049 echo ${UNAME_MACHINE}-pc-sysv32
10531050 fi
1054 exit 0 ;;
1051 exit ;;
10551052 pc:*:*:*)
10561053 # Left here for compatibility:
10571054 # uname -m prints for DJGPP always 'pc', but it prints nothing about
10581055 # the processor, so we play safe by assuming i386.
10591056 echo i386-pc-msdosdjgpp
1060 exit 0 ;;
1057 exit ;;
10611058 Intel:Mach:3*:*)
10621059 echo i386-pc-mach3
1063 exit 0 ;;
1060 exit ;;
10641061 paragon:*:*:*)
10651062 echo i860-intel-osf1
1066 exit 0 ;;
1063 exit ;;
10671064 i860:*:4.*:*) # i860-SVR4
10681065 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
10691066 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
10701067 else # Add other i860-SVR4 vendors below as they are discovered.
10711068 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
10721069 fi
1073 exit 0 ;;
1070 exit ;;
10741071 mini*:CTIX:SYS*5:*)
10751072 # "miniframe"
10761073 echo m68010-convergent-sysv
1077 exit 0 ;;
1074 exit ;;
10781075 mc68k:UNIX:SYSTEM5:3.51m)
10791076 echo m68k-convergent-sysv
1080 exit 0 ;;
1077 exit ;;
10811078 M680?0:D-NIX:5.3:*)
10821079 echo m68k-diab-dnix
1083 exit 0 ;;
1080 exit ;;
10841081 M68*:*:R3V[5678]*:*)
1085 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1082 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
10861083 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
10871084 OS_REL=''
10881085 test -r /etc/.relid \
10891086 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
10901087 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1091 && echo i486-ncr-sysv4.3${OS_REL} && exit 0
1088 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
10921089 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1093 && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
1090 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
10941091 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
10951092 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1096 && echo i486-ncr-sysv4 && exit 0 ;;
1093 && { echo i486-ncr-sysv4; exit; } ;;
10971094 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
10981095 echo m68k-unknown-lynxos${UNAME_RELEASE}
1099 exit 0 ;;
1096 exit ;;
11001097 mc68030:UNIX_System_V:4.*:*)
11011098 echo m68k-atari-sysv4
1102 exit 0 ;;
1099 exit ;;
11031100 TSUNAMI:LynxOS:2.*:*)
11041101 echo sparc-unknown-lynxos${UNAME_RELEASE}
1105 exit 0 ;;
1102 exit ;;
11061103 rs6000:LynxOS:2.*:*)
11071104 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1108 exit 0 ;;
1105 exit ;;
11091106 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
11101107 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1111 exit 0 ;;
1108 exit ;;
11121109 SM[BE]S:UNIX_SV:*:*)
11131110 echo mips-dde-sysv${UNAME_RELEASE}
1114 exit 0 ;;
1111 exit ;;
11151112 RM*:ReliantUNIX-*:*:*)
11161113 echo mips-sni-sysv4
1117 exit 0 ;;
1114 exit ;;
11181115 RM*:SINIX-*:*:*)
11191116 echo mips-sni-sysv4
1120 exit 0 ;;
1117 exit ;;
11211118 *:SINIX-*:*:*)
11221119 if uname -p 2>/dev/null >/dev/null ; then
11231120 UNAME_MACHINE=`(uname -p) 2>/dev/null`
11251122 else
11261123 echo ns32k-sni-sysv
11271124 fi
1128 exit 0 ;;
1125 exit ;;
11291126 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
11301127 # says <Richard.M.Bartel@ccMail.Census.GOV>
11311128 echo i586-unisys-sysv4
1132 exit 0 ;;
1129 exit ;;
11331130 *:UNIX_System_V:4*:FTX*)
11341131 # From Gerald Hewes <hewes@openmarket.com>.
11351132 # How about differentiating between stratus architectures? -djm
11361133 echo hppa1.1-stratus-sysv4
1137 exit 0 ;;
1134 exit ;;
11381135 *:*:*:FTX*)
11391136 # From seanf@swdc.stratus.com.
11401137 echo i860-stratus-sysv4
1141 exit 0 ;;
1138 exit ;;
11421139 i*86:VOS:*:*)
11431140 # From Paul.Green@stratus.com.
11441141 echo ${UNAME_MACHINE}-stratus-vos
1145 exit 0 ;;
1142 exit ;;
11461143 *:VOS:*:*)
11471144 # From Paul.Green@stratus.com.
11481145 echo hppa1.1-stratus-vos
1149 exit 0 ;;
1146 exit ;;
11501147 mc68*:A/UX:*:*)
11511148 echo m68k-apple-aux${UNAME_RELEASE}
1152 exit 0 ;;
1149 exit ;;
11531150 news*:NEWS-OS:6*:*)
11541151 echo mips-sony-newsos6
1155 exit 0 ;;
1152 exit ;;
11561153 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
11571154 if [ -d /usr/nec ]; then
11581155 echo mips-nec-sysv${UNAME_RELEASE}
11591156 else
11601157 echo mips-unknown-sysv${UNAME_RELEASE}
11611158 fi
1162 exit 0 ;;
1159 exit ;;
11631160 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
11641161 echo powerpc-be-beos
1165 exit 0 ;;
1162 exit ;;
11661163 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
11671164 echo powerpc-apple-beos
1168 exit 0 ;;
1165 exit ;;
11691166 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
11701167 echo i586-pc-beos
1171 exit 0 ;;
1168 exit ;;
11721169 SX-4:SUPER-UX:*:*)
11731170 echo sx4-nec-superux${UNAME_RELEASE}
1174 exit 0 ;;
1171 exit ;;
11751172 SX-5:SUPER-UX:*:*)
11761173 echo sx5-nec-superux${UNAME_RELEASE}
1177 exit 0 ;;
1174 exit ;;
11781175 SX-6:SUPER-UX:*:*)
11791176 echo sx6-nec-superux${UNAME_RELEASE}
1180 exit 0 ;;
1177 exit ;;
11811178 Power*:Rhapsody:*:*)
11821179 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1183 exit 0 ;;
1180 exit ;;
11841181 *:Rhapsody:*:*)
11851182 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1186 exit 0 ;;
1183 exit ;;
11871184 *:Darwin:*:*)
11881185 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
11891186 case $UNAME_PROCESSOR in
11911188 unknown) UNAME_PROCESSOR=powerpc ;;
11921189 esac
11931190 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1194 exit 0 ;;
1191 exit ;;
11951192 *:procnto*:*:* | *:QNX:[0123456789]*:*)
11961193 UNAME_PROCESSOR=`uname -p`
11971194 if test "$UNAME_PROCESSOR" = "x86"; then
11991196 UNAME_MACHINE=pc
12001197 fi
12011198 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1202 exit 0 ;;
1199 exit ;;
12031200 *:QNX:*:4*)
12041201 echo i386-pc-qnx
1205 exit 0 ;;
1202 exit ;;
12061203 NSE-?:NONSTOP_KERNEL:*:*)
12071204 echo nse-tandem-nsk${UNAME_RELEASE}
1208 exit 0 ;;
1205 exit ;;
12091206 NSR-?:NONSTOP_KERNEL:*:*)
12101207 echo nsr-tandem-nsk${UNAME_RELEASE}
1211 exit 0 ;;
1208 exit ;;
12121209 *:NonStop-UX:*:*)
12131210 echo mips-compaq-nonstopux
1214 exit 0 ;;
1211 exit ;;
12151212 BS2000:POSIX*:*:*)
12161213 echo bs2000-siemens-sysv
1217 exit 0 ;;
1214 exit ;;
12181215 DS/*:UNIX_System_V:*:*)
12191216 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1220 exit 0 ;;
1217 exit ;;
12211218 *:Plan9:*:*)
12221219 # "uname -m" is not consistent, so use $cputype instead. 386
12231220 # is converted to i386 for consistency with other x86
12281225 UNAME_MACHINE="$cputype"
12291226 fi
12301227 echo ${UNAME_MACHINE}-unknown-plan9
1231 exit 0 ;;
1228 exit ;;
12321229 *:TOPS-10:*:*)
12331230 echo pdp10-unknown-tops10
1234 exit 0 ;;
1231 exit ;;
12351232 *:TENEX:*:*)
12361233 echo pdp10-unknown-tenex
1237 exit 0 ;;
1234 exit ;;
12381235 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
12391236 echo pdp10-dec-tops20
1240 exit 0 ;;
1237 exit ;;
12411238 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
12421239 echo pdp10-xkl-tops20
1243 exit 0 ;;
1240 exit ;;
12441241 *:TOPS-20:*:*)
12451242 echo pdp10-unknown-tops20
1246 exit 0 ;;
1243 exit ;;
12471244 *:ITS:*:*)
12481245 echo pdp10-unknown-its
1249 exit 0 ;;
1246 exit ;;
12501247 SEI:*:*:SEIUX)
12511248 echo mips-sei-seiux${UNAME_RELEASE}
1252 exit 0 ;;
1249 exit ;;
12531250 *:DragonFly:*:*)
12541251 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1255 exit 0 ;;
1252 exit ;;
12561253 *:*VMS:*:*)
12571254 UNAME_MACHINE=`(uname -p) 2>/dev/null`
12581255 case "${UNAME_MACHINE}" in
1259 A*) echo alpha-dec-vms && exit 0 ;;
1260 I*) echo ia64-dec-vms && exit 0 ;;
1261 V*) echo vax-dec-vms && exit 0 ;;
1256 A*) echo alpha-dec-vms ; exit ;;
1257 I*) echo ia64-dec-vms ; exit ;;
1258 V*) echo vax-dec-vms ; exit ;;
12621259 esac ;;
12631260 *:XENIX:*:SysV)
12641261 echo i386-pc-xenix
1265 exit 0 ;;
1262 exit ;;
1263 i*86:skyos:*:*)
1264 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1265 exit ;;
12661266 esac
12671267
12681268 #echo '(No uname command or uname output not recognized.)' 1>&2
12941294 #endif
12951295
12961296 #if defined (__arm) && defined (__acorn) && defined (__unix)
1297 printf ("arm-acorn-riscix"); exit (0);
1297 printf ("arm-acorn-riscix\n"); exit (0);
12981298 #endif
12991299
13001300 #if defined (hp300) && !defined (hpux)
13831383 }
13841384 EOF
13851385
1386 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
1386 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1387 { echo "$SYSTEM_NAME"; exit; }
13871388
13881389 # Apollos put the system type in the environment.
13891390
1390 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
1391 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
13911392
13921393 # Convex versions that predate uname can use getsysinfo(1)
13931394
13961397 case `getsysinfo -f cpu_type` in
13971398 c1*)
13981399 echo c1-convex-bsd
1399 exit 0 ;;
1400 exit ;;
14001401 c2*)
14011402 if getsysinfo -f scalar_acc
14021403 then echo c32-convex-bsd
14031404 else echo c2-convex-bsd
14041405 fi
1405 exit 0 ;;
1406 exit ;;
14061407 c34*)
14071408 echo c34-convex-bsd
1408 exit 0 ;;
1409 exit ;;
14091410 c38*)
14101411 echo c38-convex-bsd
1411 exit 0 ;;
1412 exit ;;
14121413 c4*)
14131414 echo c4-convex-bsd
1414 exit 0 ;;
1415 exit ;;
14151416 esac
14161417 fi
14171418
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
44
5 timestamp='2005-04-22'
5 timestamp='2005-07-08'
66
77 # This file is (in principle) common to ALL GNU software.
88 # The presence of a machine in this file suggests that SOME GNU software
2020 #
2121 # You should have received a copy of the GNU General Public License
2222 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330,
24 # Boston, MA 02111-1307, USA.
25
23 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
24 # 02110-1301, USA.
25 #
2626 # As a special exception to the GNU General Public License, if you
2727 # distribute this file as part of a program that contains a
2828 # configuration script generated by Autoconf, you may include it under
2929 # the same distribution terms that you use for the rest of that program.
30
3031
3132 # Please send patches to <config-patches@gnu.org>. Submit a context
3233 # diff and a properly formatted ChangeLog entry.
8283 while test $# -gt 0 ; do
8384 case $1 in
8485 --time-stamp | --time* | -t )
85 echo "$timestamp" ; exit 0 ;;
86 echo "$timestamp" ; exit ;;
8687 --version | -v )
87 echo "$version" ; exit 0 ;;
88 echo "$version" ; exit ;;
8889 --help | --h* | -h )
89 echo "$usage"; exit 0 ;;
90 echo "$usage"; exit ;;
9091 -- ) # Stop option processing
9192 shift; break ;;
9293 - ) # Use stdin as input.
9899 *local*)
99100 # First pass through any local machine types.
100101 echo $1
101 exit 0;;
102 exit ;;
102103
103104 * )
104105 break ;;
246247 | mips64vr4100 | mips64vr4100el \
247248 | mips64vr4300 | mips64vr4300el \
248249 | mips64vr5000 | mips64vr5000el \
250 | mips64vr5900 | mips64vr5900el \
249251 | mipsisa32 | mipsisa32el \
250252 | mipsisa32r2 | mipsisa32r2el \
251253 | mipsisa64 | mipsisa64el \
254256 | mipsisa64sr71k | mipsisa64sr71kel \
255257 | mipstx39 | mipstx39el \
256258 | mn10200 | mn10300 \
259 | ms1 \
257260 | msp430 \
258261 | ns16k | ns32k \
259 | openrisc | or32 \
262 | or32 \
260263 | pdp10 | pdp11 | pj | pjl \
261264 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
262265 | pyramid \
263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
266 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
264267 | sh64 | sh64le \
265268 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
266269 | sparcv8 | sparcv9 | sparcv9b \
270273 | we32k \
271274 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
272275 | z8k)
276 basic_machine=$basic_machine-unknown
277 ;;
278 m32c)
273279 basic_machine=$basic_machine-unknown
274280 ;;
275281 m6811 | m68hc11 | m6812 | m68hc12)
320326 | mips64vr4100-* | mips64vr4100el-* \
321327 | mips64vr4300-* | mips64vr4300el-* \
322328 | mips64vr5000-* | mips64vr5000el-* \
329 | mips64vr5900-* | mips64vr5900el-* \
323330 | mipsisa32-* | mipsisa32el-* \
324331 | mipsisa32r2-* | mipsisa32r2el-* \
325332 | mipsisa64-* | mipsisa64el-* \
328335 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
329336 | mipstx39-* | mipstx39el-* \
330337 | mmix-* \
338 | ms1-* \
331339 | msp430-* \
332340 | none-* | np1-* | ns16k-* | ns32k-* \
333341 | orion-* \
335343 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
336344 | pyramid-* \
337345 | romp-* | rs6000-* \
338 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
346 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
339347 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
340348 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
341349 | sparclite-* \
350358 | ymp-* \
351359 | z8k-*)
352360 ;;
361 m32c-*)
362 ;;
353363 # Recognize the various machine names and aliases which stand
354364 # for a CPU type and a company and sometimes even an OS.
355365 386bsd)
760770 basic_machine=hppa1.1-oki
761771 os=-proelf
762772 ;;
763 or32 | or32-*)
773 openrisc | openrisc-*)
764774 basic_machine=or32-unknown
765 os=-coff
766775 ;;
767776 os400)
768777 basic_machine=powerpc-ibm
10881097 we32k)
10891098 basic_machine=we32k-att
10901099 ;;
1091 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
1100 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
10921101 basic_machine=sh-unknown
1093 ;;
1094 sh64)
1095 basic_machine=sh64-unknown
10961102 ;;
10971103 sparc | sparcv8 | sparcv9 | sparcv9b)
10981104 basic_machine=sparc-sun
11801186 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
11811187 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
11821188 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1183 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1189 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1190 | -skyos* | -haiku*)
11841191 # Remember, each alternative MUST END IN *, to match a version number.
11851192 ;;
11861193 -qnx*)
11981205 os=`echo $os | sed -e 's|nto|nto-qnx|'`
11991206 ;;
12001207 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1201 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
1208 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
12021209 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
12031210 ;;
12041211 -mac*)
13861393 ;;
13871394 *-be)
13881395 os=-beos
1396 ;;
1397 *-haiku)
1398 os=-haiku
13891399 ;;
13901400 *-ibm)
13911401 os=-aix
15581568 esac
15591569
15601570 echo $basic_machine$os
1561 exit 0
1571 exit
15621572
15631573 # Local variables:
15641574 # eval: (add-hook 'write-file-hooks 'time-stamp)
277277
278278 # The HP-UX ksh and POSIX shell print the target directory to stdout
279279 # if CDPATH is set.
280 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
280 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
281281
282282 if test -z "$ECHO"; then
283283 if test "X${echo_test_string+set}" != Xset; then
284284 # find a string as large as possible, as long as the shell can cope with it
285285 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
286286 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
287 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
288 echo_test_string="`eval $cmd`" &&
287 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
288 echo_test_string=`eval $cmd` &&
289289 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
290290 then
291291 break
462462 # include <unistd.h>
463463 #endif"
464464
465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG have_swig have_pascal PA_MODULES_PATH WITH_PASCAL_TRUE WITH_PASCAL_FALSE have_python PY_CFLAGS PY_MODULES_PATH WITH_PYTHON_TRUE WITH_PYTHON_FALSE have_perl PE_CFLAGS PE_MODULES_PATH WITH_PERL_TRUE WITH_PERL_FALSE MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC2 ALLOCA GLIBC21 INTL_MACOSX_LIBS HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB WITH_EXAMPLES_TRUE WITH_EXAMPLES_FALSE WITH_HCAL_TRUE WITH_HCAL_FALSE LIBOBJS LTLIBOBJS'
465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG have_swig have_pascal PA_VERSION PA_MODULES_PATH WITH_PASCAL_TRUE WITH_PASCAL_FALSE have_python PY_VERSION PY_CFLAGS PY_MODULES_PATH WITH_PYTHON_TRUE WITH_PYTHON_FALSE have_perl PE_CFLAGS PE_MODULES_PATH WITH_PERL_TRUE WITH_PERL_FALSE MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC2 ALLOCA GLIBC21 INTL_MACOSX_LIBS HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB WITH_EXAMPLES_TRUE WITH_EXAMPLES_FALSE WITH_HCAL_TRUE WITH_HCAL_FALSE LIBOBJS LTLIBOBJS'
466466 ac_subst_files=''
467467
468468 # Initialize some variables set by options.
10241024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
10251025 --enable-maintainer-mode enable make rules and dependencies not useful
10261026 (and sometimes confusing) to the casual installer
1027 --disable-dependency-tracking Speeds up one-time builds
1028 --enable-dependency-tracking Do not reject slow dependency extractors
10291027 --enable-shared[=PKGS]
10301028 build shared libraries [default=yes]
10311029 --enable-static[=PKGS]
15131511
15141512 PACKAGE=libhdate
15151513 LIBHDATE_MAJOR_VERSION=1
1516 LIBHDATE_MINOR_VERSION=3
1517 LIBHDATE_MICRO_VERSION=0
1514 LIBHDATE_MINOR_VERSION=4
1515 LIBHDATE_MICRO_VERSION=2
15181516
15191517 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
1520 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:$LIBHDATE_MICRO_VERSION
1521
1522
1523
1524 am__api_version="1.7"
1518 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
1519
1520
1521
1522 am__api_version="1.4"
15251523 ac_aux_dir=
15261524 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
15271525 if test -f $ac_dir/install-sh; then
16301628 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
16311629 # Just in case
16321630 sleep 1
1633 echo timestamp > conftest.file
1631 echo timestamp > conftestfile
16341632 # Do `set' in a subshell so we don't clobber the current shell's
16351633 # arguments. Must try -L first in case configure is actually a
16361634 # symlink; some systems play weird games with the mod time of symlinks
16371635 # (eg FreeBSD returns the mod time of the symlink's containing
16381636 # directory).
16391637 if (
1640 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1638 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
16411639 if test "$*" = "X"; then
16421640 # -L didn't work.
1643 set X `ls -t $srcdir/configure conftest.file`
1641 set X `ls -t $srcdir/configure conftestfile`
16441642 fi
1645 rm -f conftest.file
1646 if test "$*" != "X $srcdir/configure conftest.file" \
1647 && test "$*" != "X conftest.file $srcdir/configure"; then
1643 if test "$*" != "X $srcdir/configure conftestfile" \
1644 && test "$*" != "X conftestfile $srcdir/configure"; then
16481645
16491646 # If neither matched, then we have a broken ls. This can happen
16501647 # if, for instance, CONFIG_SHELL is bash and it inherits a
16571654 { (exit 1); exit 1; }; }
16581655 fi
16591656
1660 test "$2" = conftest.file
1657 test "$2" = conftestfile
16611658 )
16621659 then
16631660 # Ok.
16691666 Check your system clock" >&2;}
16701667 { (exit 1); exit 1; }; }
16711668 fi
1669 rm -f conftest*
16721670 echo "$as_me:$LINENO: result: yes" >&5
16731671 echo "${ECHO_T}yes" >&6
16741672 test "$program_prefix" != NONE &&
16841682 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16851683 rm conftest.sed
16861684
1687
1688 # expand $ac_aux_dir to an absolute path
1689 am_aux_dir=`cd $ac_aux_dir && pwd`
1690
1691 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1692 # Use eval to expand $SHELL
1693 if eval "$MISSING --run true"; then
1694 am_missing_run="$MISSING --run "
1695 else
1696 am_missing_run=
1697 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1698 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1699 fi
1700
1701 for ac_prog in gawk mawk nawk awk
1702 do
1703 # Extract the first word of "$ac_prog", so it can be a program name with args.
1704 set dummy $ac_prog; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_AWK+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710 if test -n "$AWK"; then
1711 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1712 else
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1715 do
1716 IFS=$as_save_IFS
1717 test -z "$as_dir" && as_dir=.
1718 for ac_exec_ext in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_AWK="$ac_prog"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722 break 2
1723 fi
1724 done
1725 done
1726
1727 fi
1728 fi
1729 AWK=$ac_cv_prog_AWK
1730 if test -n "$AWK"; then
1731 echo "$as_me:$LINENO: result: $AWK" >&5
1732 echo "${ECHO_T}$AWK" >&6
1733 else
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 fi
1737
1738 test -n "$AWK" && break
1739 done
1740
17411685 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
17421686 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
17431687 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
17671711 SET_MAKE="MAKE=${MAKE-make}"
17681712 fi
17691713
1770 rm -rf .tst 2>/dev/null
1771 mkdir .tst 2>/dev/null
1772 if test -d .tst; then
1773 am__leading_dot=.
1774 else
1775 am__leading_dot=_
1776 fi
1777 rmdir .tst 2>/dev/null
1778
1779 # test to see if srcdir already configured
1780 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1781 test -f $srcdir/config.status; then
1714
1715 PACKAGE=$PACKAGE
1716
1717 VERSION=$VERSION
1718
1719 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
17821720 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
17831721 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
17841722 { (exit 1); exit 1; }; }
17851723 fi
17861724
1787 # test whether we have cygpath
1788 if test -z "$CYGPATH_W"; then
1789 if (cygpath --version) >/dev/null 2>/dev/null; then
1790 CYGPATH_W='cygpath -w'
1791 else
1792 CYGPATH_W=echo
1793 fi
1794 fi
1795
1796
1797 # Define the identity of the package.
1798 PACKAGE=$PACKAGE
1799 VERSION=$VERSION
1800
1801
18021725 cat >>confdefs.h <<_ACEOF
18031726 #define PACKAGE "$PACKAGE"
18041727 _ACEOF
18081731 #define VERSION "$VERSION"
18091732 _ACEOF
18101733
1811 # Some tools Automake needs.
1812
1813 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1814
1815
1816 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1817
1818
1819 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1820
1821
1822 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1823
1824
1825 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1826
1827
1828 AMTAR=${AMTAR-"${am_missing_run}tar"}
1829
1830 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1831
1832 # Installed binaries are usually stripped using `strip' when the user
1833 # run `make install-strip'. However `strip' might not be the right
1834 # tool to use in cross-compilation environments, therefore Automake
1835 # will honor the `STRIP' environment variable to overrule this program.
1836 if test "$cross_compiling" != no; then
1837 if test -n "$ac_tool_prefix"; then
1838 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1839 set dummy ${ac_tool_prefix}strip; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_STRIP+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 else
1845 if test -n "$STRIP"; then
1846 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1847 else
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 for as_dir in $PATH
1850 do
1851 IFS=$as_save_IFS
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857 break 2
1858 fi
1859 done
1860 done
1861
1862 fi
1863 fi
1864 STRIP=$ac_cv_prog_STRIP
1865 if test -n "$STRIP"; then
1866 echo "$as_me:$LINENO: result: $STRIP" >&5
1867 echo "${ECHO_T}$STRIP" >&6
1868 else
1869 echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1871 fi
1872
1873 fi
1874 if test -z "$ac_cv_prog_STRIP"; then
1875 ac_ct_STRIP=$STRIP
1876 # Extract the first word of "strip", so it can be a program name with args.
1877 set dummy strip; ac_word=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 else
1883 if test -n "$ac_ct_STRIP"; then
1884 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1888 do
1889 IFS=$as_save_IFS
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_ac_ct_STRIP="strip"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 break 2
1896 fi
1897 done
1898 done
1899
1900 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1901 fi
1902 fi
1903 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1904 if test -n "$ac_ct_STRIP"; then
1905 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1906 echo "${ECHO_T}$ac_ct_STRIP" >&6
1907 else
1908 echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6
1910 fi
1911
1912 STRIP=$ac_ct_STRIP
1913 else
1914 STRIP="$ac_cv_prog_STRIP"
1915 fi
1916
1917 fi
1918 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1919
1920 # We need awk for the "check" target. The system "awk" is bad on
1921 # some platforms.
1922
1734
1735
1736 missing_dir=`cd $ac_aux_dir && pwd`
1737 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1738 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1739 # Run test in a subshell; some versions of sh will print an error if
1740 # an executable is not found, even if stderr is redirected.
1741 # Redirect stdin to placate older versions of autoconf. Sigh.
1742 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1743 ACLOCAL=aclocal-${am__api_version}
1744 echo "$as_me:$LINENO: result: found" >&5
1745 echo "${ECHO_T}found" >&6
1746 else
1747 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1748 echo "$as_me:$LINENO: result: missing" >&5
1749 echo "${ECHO_T}missing" >&6
1750 fi
1751
1752 echo "$as_me:$LINENO: checking for working autoconf" >&5
1753 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1754 # Run test in a subshell; some versions of sh will print an error if
1755 # an executable is not found, even if stderr is redirected.
1756 # Redirect stdin to placate older versions of autoconf. Sigh.
1757 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1758 AUTOCONF=autoconf
1759 echo "$as_me:$LINENO: result: found" >&5
1760 echo "${ECHO_T}found" >&6
1761 else
1762 AUTOCONF="$missing_dir/missing autoconf"
1763 echo "$as_me:$LINENO: result: missing" >&5
1764 echo "${ECHO_T}missing" >&6
1765 fi
1766
1767 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1768 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1769 # Run test in a subshell; some versions of sh will print an error if
1770 # an executable is not found, even if stderr is redirected.
1771 # Redirect stdin to placate older versions of autoconf. Sigh.
1772 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1773 AUTOMAKE=automake-${am__api_version}
1774 echo "$as_me:$LINENO: result: found" >&5
1775 echo "${ECHO_T}found" >&6
1776 else
1777 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1778 echo "$as_me:$LINENO: result: missing" >&5
1779 echo "${ECHO_T}missing" >&6
1780 fi
1781
1782 echo "$as_me:$LINENO: checking for working autoheader" >&5
1783 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1784 # Run test in a subshell; some versions of sh will print an error if
1785 # an executable is not found, even if stderr is redirected.
1786 # Redirect stdin to placate older versions of autoconf. Sigh.
1787 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1788 AUTOHEADER=autoheader
1789 echo "$as_me:$LINENO: result: found" >&5
1790 echo "${ECHO_T}found" >&6
1791 else
1792 AUTOHEADER="$missing_dir/missing autoheader"
1793 echo "$as_me:$LINENO: result: missing" >&5
1794 echo "${ECHO_T}missing" >&6
1795 fi
1796
1797 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1798 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1799 # Run test in a subshell; some versions of sh will print an error if
1800 # an executable is not found, even if stderr is redirected.
1801 # Redirect stdin to placate older versions of autoconf. Sigh.
1802 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1803 MAKEINFO=makeinfo
1804 echo "$as_me:$LINENO: result: found" >&5
1805 echo "${ECHO_T}found" >&6
1806 else
1807 MAKEINFO="$missing_dir/missing makeinfo"
1808 echo "$as_me:$LINENO: result: missing" >&5
1809 echo "${ECHO_T}missing" >&6
1810 fi
19231811
19241812
19251813 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
19421830 MAINTAINER_MODE_TRUE='#'
19431831 MAINTAINER_MODE_FALSE=
19441832 fi
1945
19461833 MAINT=$MAINTAINER_MODE_TRUE
1947
1948
1949
1950 DEPDIR="${am__leading_dot}deps"
1951
1952 ac_config_commands="$ac_config_commands depfiles"
1953
1954
1955 am_make=${MAKE-make}
1956 cat > confinc << 'END'
1957 am__doit:
1958 @echo done
1959 .PHONY: am__doit
1960 END
1961 # If we don't find an include directive, just comment out the code.
1962 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1963 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1964 am__include="#"
1965 am__quote=
1966 _am_result=none
1967 # First try GNU make style include.
1968 echo "include confinc" > confmf
1969 # We grep out `Entering directory' and `Leaving directory'
1970 # messages which can occur if `w' ends up in MAKEFLAGS.
1971 # In particular we don't look at `^make:' because GNU make might
1972 # be invoked under some other name (usually "gmake"), in which
1973 # case it prints its new name instead of `make'.
1974 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1975 am__include=include
1976 am__quote=
1977 _am_result=GNU
1978 fi
1979 # Now try BSD make style include.
1980 if test "$am__include" = "#"; then
1981 echo '.include "confinc"' > confmf
1982 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1983 am__include=.include
1984 am__quote="\""
1985 _am_result=BSD
1986 fi
1987 fi
1988
1989
1990 echo "$as_me:$LINENO: result: $_am_result" >&5
1991 echo "${ECHO_T}$_am_result" >&6
1992 rm -f confinc confmf
1993
1994 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1995 if test "${enable_dependency_tracking+set}" = set; then
1996 enableval="$enable_dependency_tracking"
1997
1998 fi;
1999 if test "x$enable_dependency_tracking" != xno; then
2000 am_depcomp="$ac_aux_dir/depcomp"
2001 AMDEPBACKSLASH='\'
2002 fi
2003
2004
2005 if test "x$enable_dependency_tracking" != xno; then
2006 AMDEP_TRUE=
2007 AMDEP_FALSE='#'
2008 else
2009 AMDEP_TRUE='#'
2010 AMDEP_FALSE=
2011 fi
20121834
20131835
20141836
29362758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29372759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29382760
2939 depcc="$CC" am_compiler_list=
2940
2941 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2942 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2943 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 else
2946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2947 # We make a subdir and do the tests there. Otherwise we can end up
2948 # making bogus files that we don't know about and never remove. For
2949 # instance it was reported that on HP-UX the gcc test will end up
2950 # making a dummy file named `D' -- because `-MD' means `put the output
2951 # in D'.
2952 mkdir conftest.dir
2953 # Copy depcomp to subdir because otherwise we won't find it if we're
2954 # using a relative directory.
2955 cp "$am_depcomp" conftest.dir
2956 cd conftest.dir
2957 # We will build objects and dependencies in a subdirectory because
2958 # it helps to detect inapplicable dependency modes. For instance
2959 # both Tru64's cc and ICC support -MD to output dependencies as a
2960 # side effect of compilation, but ICC will put the dependencies in
2961 # the current directory while Tru64 will put them in the object
2962 # directory.
2963 mkdir sub
2964
2965 am_cv_CC_dependencies_compiler_type=none
2966 if test "$am_compiler_list" = ""; then
2967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2968 fi
2969 for depmode in $am_compiler_list; do
2970 # Setup a source with many dependencies, because some compilers
2971 # like to wrap large dependency lists on column 80 (with \), and
2972 # we should not choose a depcomp mode which is confused by this.
2973 #
2974 # We need to recreate these files for each test, as the compiler may
2975 # overwrite some of them when testing with obscure command lines.
2976 # This happens at least with the AIX C compiler.
2977 : > sub/conftest.c
2978 for i in 1 2 3 4 5 6; do
2979 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2980 : > sub/conftst$i.h
2981 done
2982 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2983
2984 case $depmode in
2985 nosideeffect)
2986 # after this tag, mechanisms are not by side-effect, so they'll
2987 # only be used when explicitly requested
2988 if test "x$enable_dependency_tracking" = xyes; then
2989 continue
2990 else
2991 break
2992 fi
2993 ;;
2994 none) break ;;
2995 esac
2996 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2997 # mode. It turns out that the SunPro C++ compiler does not properly
2998 # handle `-M -o', and we need to detect this.
2999 if depmode=$depmode \
3000 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3001 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3002 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3003 >/dev/null 2>conftest.err &&
3004 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3005 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3006 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3007 # icc doesn't choke on unknown options, it will just issue warnings
3008 # (even with -Werror). So we grep stderr for any message
3009 # that says an option was ignored.
3010 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3011 am_cv_CC_dependencies_compiler_type=$depmode
3012 break
3013 fi
3014 fi
3015 done
3016
3017 cd ..
3018 rm -rf conftest.dir
3019 else
3020 am_cv_CC_dependencies_compiler_type=none
3021 fi
3022
3023 fi
3024 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3025 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3026 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3027
3028
3029
3030 if
3031 test "x$enable_dependency_tracking" != xno \
3032 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3033 am__fastdepCC_TRUE=
3034 am__fastdepCC_FALSE='#'
3035 else
3036 am__fastdepCC_TRUE='#'
3037 am__fastdepCC_FALSE=
3038 fi
3039
3040
30412761
30422762
30432763 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
38313551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38323552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834
3835 depcc="$CC" am_compiler_list=
3836
3837 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3838 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3839 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 else
3842 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3843 # We make a subdir and do the tests there. Otherwise we can end up
3844 # making bogus files that we don't know about and never remove. For
3845 # instance it was reported that on HP-UX the gcc test will end up
3846 # making a dummy file named `D' -- because `-MD' means `put the output
3847 # in D'.
3848 mkdir conftest.dir
3849 # Copy depcomp to subdir because otherwise we won't find it if we're
3850 # using a relative directory.
3851 cp "$am_depcomp" conftest.dir
3852 cd conftest.dir
3853 # We will build objects and dependencies in a subdirectory because
3854 # it helps to detect inapplicable dependency modes. For instance
3855 # both Tru64's cc and ICC support -MD to output dependencies as a
3856 # side effect of compilation, but ICC will put the dependencies in
3857 # the current directory while Tru64 will put them in the object
3858 # directory.
3859 mkdir sub
3860
3861 am_cv_CC_dependencies_compiler_type=none
3862 if test "$am_compiler_list" = ""; then
3863 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3864 fi
3865 for depmode in $am_compiler_list; do
3866 # Setup a source with many dependencies, because some compilers
3867 # like to wrap large dependency lists on column 80 (with \), and
3868 # we should not choose a depcomp mode which is confused by this.
3869 #
3870 # We need to recreate these files for each test, as the compiler may
3871 # overwrite some of them when testing with obscure command lines.
3872 # This happens at least with the AIX C compiler.
3873 : > sub/conftest.c
3874 for i in 1 2 3 4 5 6; do
3875 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3876 : > sub/conftst$i.h
3877 done
3878 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3879
3880 case $depmode in
3881 nosideeffect)
3882 # after this tag, mechanisms are not by side-effect, so they'll
3883 # only be used when explicitly requested
3884 if test "x$enable_dependency_tracking" = xyes; then
3885 continue
3886 else
3887 break
3888 fi
3889 ;;
3890 none) break ;;
3891 esac
3892 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3893 # mode. It turns out that the SunPro C++ compiler does not properly
3894 # handle `-M -o', and we need to detect this.
3895 if depmode=$depmode \
3896 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3897 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3898 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3899 >/dev/null 2>conftest.err &&
3900 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3901 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3902 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3903 # icc doesn't choke on unknown options, it will just issue warnings
3904 # (even with -Werror). So we grep stderr for any message
3905 # that says an option was ignored.
3906 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3907 am_cv_CC_dependencies_compiler_type=$depmode
3908 break
3909 fi
3910 fi
3911 done
3912
3913 cd ..
3914 rm -rf conftest.dir
3915 else
3916 am_cv_CC_dependencies_compiler_type=none
3917 fi
3918
3919 fi
3920 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3921 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3922 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3923
3924
3925
3926 if
3927 test "x$enable_dependency_tracking" != xno \
3928 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3929 am__fastdepCC_TRUE=
3930 am__fastdepCC_FALSE='#'
3931 else
3932 am__fastdepCC_TRUE='#'
3933 am__fastdepCC_FALSE=
3934 fi
3935
39363554
39373555 # Find a good install program. We prefer a C program (faster),
39383556 # so one script is as good as another. But avoid the broken or
46194237 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
46204238 # along with /bin/sed that truncates output.
46214239 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4622 test ! -f $lt_ac_sed && break
4240 test ! -f $lt_ac_sed && continue
46234241 cat /dev/null > conftest.in
46244242 lt_ac_count=0
46254243 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
46444262 fi
46454263 done
46464264 done
4265
4266 fi
4267
46474268 SED=$lt_cv_path_SED
4648
4649 fi
4650
46514269 echo "$as_me:$LINENO: result: $SED" >&5
46524270 echo "${ECHO_T}$SED" >&6
46534271
47094327 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
47104328 lt_cv_path_LD="$ac_dir/$ac_prog"
47114329 # Check to see if the program is GNU ld. I'd rather use --version,
4712 # but apparently some GNU ld's only accept -v.
4330 # but apparently some variants of GNU ld only accept -v.
47134331 # Break only if it was the GNU/non-GNU ld that we prefer.
47144332 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
47154333 *GNU* | *'with BFD'*)
47434361 if test "${lt_cv_prog_gnu_ld+set}" = set; then
47444362 echo $ECHO_N "(cached) $ECHO_C" >&6
47454363 else
4746 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4364 # I'd rather use --version here, but apparently some GNU lds only accept -v.
47474365 case `$LD -v 2>&1 </dev/null` in
47484366 *GNU* | *'with BFD'*)
47494367 lt_cv_prog_gnu_ld=yes
47734391 *) reload_flag=" $reload_flag" ;;
47744392 esac
47754393 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4394 case $host_os in
4395 darwin*)
4396 if test "$GCC" = yes; then
4397 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4398 else
4399 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4400 fi
4401 ;;
4402 esac
47764403
47774404 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
47784405 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
48484475 lt_cv_deplibs_check_method=pass_all
48494476 ;;
48504477
4851 bsdi4*)
4478 bsdi[45]*)
48524479 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
48534480 lt_cv_file_magic_cmd='/usr/bin/file -L'
48544481 lt_cv_file_magic_test_file=/shlib/libc.so
48714498 lt_cv_deplibs_check_method=pass_all
48724499 ;;
48734500
4874 freebsd* | kfreebsd*-gnu)
4501 freebsd* | kfreebsd*-gnu | dragonfly*)
48754502 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
48764503 case $host_cpu in
48774504 i*86 )
48784505 # Not sure whether the presence of OpenBSD here was a mistake.
48794506 # Let's accept both of them until this is cleared up.
4880 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4507 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
48814508 lt_cv_file_magic_cmd=/usr/bin/file
48824509 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
48834510 ;;
48934520
48944521 hpux10.20* | hpux11*)
48954522 lt_cv_file_magic_cmd=/usr/bin/file
4896 case "$host_cpu" in
4523 case $host_cpu in
48974524 ia64*)
48984525 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
48994526 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
49434570 ;;
49444571
49454572 openbsd*)
4946 lt_cv_file_magic_cmd=/usr/bin/file
4947 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
49484573 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4949 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4574 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
49504575 else
4951 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4576 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
49524577 fi
49534578 ;;
49544579
50404665 ;;
50414666 *-*-irix6*)
50424667 # Find out which ABI we are using.
5043 echo '#line 5044 "configure"' > conftest.$ac_ext
4668 echo '#line 4669 "configure"' > conftest.$ac_ext
50444669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50454670 (eval $ac_compile) 2>&5
50464671 ac_status=$?
50834708 ac_status=$?
50844709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50854710 (exit $ac_status); }; then
5086 case "`/usr/bin/file conftest.o`" in
4711 case `/usr/bin/file conftest.o` in
50874712 *32-bit*)
50884713 case $host in
50894714 x86_64-*linux*)
57725397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57735398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57745399
5775 depcc="$CXX" am_compiler_list=
5776
5777 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5778 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5779 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5781 else
5782 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5783 # We make a subdir and do the tests there. Otherwise we can end up
5784 # making bogus files that we don't know about and never remove. For
5785 # instance it was reported that on HP-UX the gcc test will end up
5786 # making a dummy file named `D' -- because `-MD' means `put the output
5787 # in D'.
5788 mkdir conftest.dir
5789 # Copy depcomp to subdir because otherwise we won't find it if we're
5790 # using a relative directory.
5791 cp "$am_depcomp" conftest.dir
5792 cd conftest.dir
5793 # We will build objects and dependencies in a subdirectory because
5794 # it helps to detect inapplicable dependency modes. For instance
5795 # both Tru64's cc and ICC support -MD to output dependencies as a
5796 # side effect of compilation, but ICC will put the dependencies in
5797 # the current directory while Tru64 will put them in the object
5798 # directory.
5799 mkdir sub
5800
5801 am_cv_CXX_dependencies_compiler_type=none
5802 if test "$am_compiler_list" = ""; then
5803 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5804 fi
5805 for depmode in $am_compiler_list; do
5806 # Setup a source with many dependencies, because some compilers
5807 # like to wrap large dependency lists on column 80 (with \), and
5808 # we should not choose a depcomp mode which is confused by this.
5809 #
5810 # We need to recreate these files for each test, as the compiler may
5811 # overwrite some of them when testing with obscure command lines.
5812 # This happens at least with the AIX C compiler.
5813 : > sub/conftest.c
5814 for i in 1 2 3 4 5 6; do
5815 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5816 : > sub/conftst$i.h
5817 done
5818 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5819
5820 case $depmode in
5821 nosideeffect)
5822 # after this tag, mechanisms are not by side-effect, so they'll
5823 # only be used when explicitly requested
5824 if test "x$enable_dependency_tracking" = xyes; then
5825 continue
5826 else
5827 break
5828 fi
5829 ;;
5830 none) break ;;
5831 esac
5832 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5833 # mode. It turns out that the SunPro C++ compiler does not properly
5834 # handle `-M -o', and we need to detect this.
5835 if depmode=$depmode \
5836 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5837 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5838 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5839 >/dev/null 2>conftest.err &&
5840 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5841 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5842 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5843 # icc doesn't choke on unknown options, it will just issue warnings
5844 # (even with -Werror). So we grep stderr for any message
5845 # that says an option was ignored.
5846 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
5847 am_cv_CXX_dependencies_compiler_type=$depmode
5848 break
5849 fi
5850 fi
5851 done
5852
5853 cd ..
5854 rm -rf conftest.dir
5855 else
5856 am_cv_CXX_dependencies_compiler_type=none
5857 fi
5858
5859 fi
5860 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5861 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5862 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5863
5864
5865
5866 if
5867 test "x$enable_dependency_tracking" != xno \
5868 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5869 am__fastdepCXX_TRUE=
5870 am__fastdepCXX_FALSE='#'
5871 else
5872 am__fastdepCXX_TRUE='#'
5873 am__fastdepCXX_FALSE=
5874 fi
5875
5876
5877 ac_ext=cc
5400
5401
5402 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5403 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5404 (test "X$CXX" != "Xg++"))) ; then
5405 ac_ext=cc
58785406 ac_cpp='$CXXCPP $CPPFLAGS'
58795407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61045632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61055633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61065634
5635 fi
5636
61075637
61085638 ac_ext=f
61095639 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
61975727
61985728
61995729 # Provide some information about the compiler.
6200 echo "$as_me:6201:" \
5730 echo "$as_me:5731:" \
62015731 "checking for Fortran 77 compiler version" >&5
62025732 ac_compiler=`set X $ac_compile; echo $2`
62035733 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
63855915 lt_cv_sys_max_cmd_len=8192;
63865916 ;;
63875917
6388 *)
5918 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5919 # This has been around since 386BSD, at least. Likely further.
5920 if test -x /sbin/sysctl; then
5921 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5922 elif test -x /usr/sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5924 else
5925 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5926 fi
5927 # And add a safety zone
5928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5930 ;;
5931 osf*)
5932 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5933 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5934 # nice to cause kernel panics so lets avoid the loop below.
5935 # First set a reasonable default.
5936 lt_cv_sys_max_cmd_len=16384
5937 #
5938 if test -x /sbin/sysconfig; then
5939 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5940 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5941 esac
5942 fi
5943 ;;
5944 *)
63895945 # If test is not a shell built-in, we'll probably end up computing a
63905946 # maximum length that is only half of the actual maximum length, but
63915947 # we can't tell.
6392 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5948 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5949 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
63935950 = "XX$teststring") >/dev/null 2>&1 &&
63945951 new_result=`expr "X$teststring" : ".*" 2>&1` &&
63955952 lt_cv_sys_max_cmd_len=$new_result &&
64355992 # Regexp to match symbols that can be accessed directly from C.
64365993 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
64375994
6438 # Transform the above into a raw symbol and a C symbol.
6439 symxfrm='\1 \2\3 \3'
6440
64415995 # Transform an extracted symbol line into a proper C declaration
64425996 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
64435997
64596013 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
64606014 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
64616015 ;;
6016 linux*)
6017 if test "$host_cpu" = ia64; then
6018 symcode='[ABCDGIRSTW]'
6019 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6020 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6021 fi
6022 ;;
64626023 irix* | nonstopux*)
64636024 symcode='[BCDEGRST]'
64646025 ;;
64906051 # Try without a prefix undercore, then with it.
64916052 for ac_symprfx in "" "_"; do
64926053
6054 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6055 symxfrm="\\1 $ac_symprfx\\2 \\2"
6056
64936057 # Write the raw and C identifiers.
6494 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6058 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
64956059
64966060 # Check to see that the pipe works correctly.
64976061 pipe_works=no
66536217
66546218 # Sed substitution that helps us do robust quoting. It backslashifies
66556219 # metacharacters that are still active within double-quoted strings.
6656 Xsed='sed -e s/^X//'
6220 Xsed='sed -e 1s/^X//'
66576221 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
66586222
66596223 # Same as above, but do not quote variable references.
66736237 default_ofile=libtool
66746238 can_build_shared=yes
66756239
6676 # All known linkers require a `.a' archive for static linking (except M$VC,
6240 # All known linkers require a `.a' archive for static linking (except MSVC,
66776241 # which needs '.lib').
66786242 libext=a
66796243 ltmain="$ac_aux_dir/ltmain.sh"
69586522 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
69596523 fi
69606524
6525 for cc_temp in $compiler""; do
6526 case $cc_temp in
6527 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6528 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6529 \-*) ;;
6530 *) break;;
6531 esac
6532 done
6533 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6534
6535
69616536 # Only perform the check for file, if the check method requires it
69626537 case $deplibs_check_method in
69636538 file_magic*)
69836558 if test -n "$file_magic_test_file"; then
69846559 case $deplibs_check_method in
69856560 "file_magic "*)
6986 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6561 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
69876562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
69886563 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
69896564 $EGREP "$file_magic_regex" > /dev/null; then
70456620 if test -n "$file_magic_test_file"; then
70466621 case $deplibs_check_method in
70476622 "file_magic "*)
7048 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6623 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
70496624 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
70506625 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
70516626 $EGREP "$file_magic_regex" > /dev/null; then
71446719 compiler=$CC
71456720
71466721
6722 # save warnings/boilerplate of simple test code
6723 ac_outfile=conftest.$ac_objext
6724 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6725 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6726 _lt_compiler_boilerplate=`cat conftest.err`
6727 $rm conftest*
6728
6729 ac_outfile=conftest.$ac_objext
6730 printf "$lt_simple_link_test_code" >conftest.$ac_ext
6731 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6732 _lt_linker_boilerplate=`cat conftest.err`
6733 $rm conftest*
6734
6735
71476736 #
71486737 # Check for any special shared library compilation flags.
71496738 #
71806769 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
71816770 printf "$lt_simple_link_test_code" > conftest.$ac_ext
71826771 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7183 # The compiler can only warn and ignore the option if not recognized
6772 # The linker can only warn and ignore the option if not recognized
71846773 # So say no if there are warnings
71856774 if test -s conftest.err; then
71866775 # Append any errors to the config.log.
71876776 cat conftest.err 1>&5
6777 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6778 $SED '/^$/d' conftest.err >conftest.er2
6779 if diff conftest.exp conftest.er2 >/dev/null; then
6780 lt_prog_compiler_static_works=yes
6781 fi
71886782 else
71896783 lt_prog_compiler_static_works=yes
71906784 fi
72266820 # with a dollar sign (not a hyphen), so the echo should work correctly.
72276821 # The option is referenced via a variable to avoid confusing sed.
72286822 lt_compile=`echo "$ac_compile" | $SED \
7229 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
72306824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
72316825 -e 's:$: $lt_compiler_flag:'`
7232 (eval echo "\"\$as_me:7233: $lt_compile\"" >&5)
6826 (eval echo "\"\$as_me:6827: $lt_compile\"" >&5)
72336827 (eval "$lt_compile" 2>conftest.err)
72346828 ac_status=$?
72356829 cat conftest.err >&5
7236 echo "$as_me:7237: \$? = $ac_status" >&5
6830 echo "$as_me:6831: \$? = $ac_status" >&5
72376831 if (exit $ac_status) && test -s "$ac_outfile"; then
72386832 # The compiler can only warn and ignore the option if not recognized
7239 # So say no if there are warnings
7240 if test ! -s conftest.err; then
6833 # So say no if there are warnings other than the usual output.
6834 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6835 $SED '/^$/d' conftest.err >conftest.er2
6836 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
72416837 lt_cv_prog_compiler_rtti_exceptions=yes
72426838 fi
72436839 fi
73146910 hpux*)
73156911 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
73166912 # not for PA HP-UX.
7317 case "$host_cpu" in
6913 case $host_cpu in
73186914 hppa*64*|ia64*)
73196915 # +Z the default
73206916 ;;
73406936 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
73416937 fi
73426938 ;;
6939 darwin*)
6940 # PIC is the default on this platform
6941 # Common symbols not allowed in MH_DYLIB files
6942 case $cc_basename in
6943 xlc*)
6944 lt_prog_compiler_pic='-qnocommon'
6945 lt_prog_compiler_wl='-Wl,'
6946 ;;
6947 esac
6948 ;;
73436949
73446950 mingw* | pw32* | os2*)
73456951 # This hack is so that the source file can tell whether it is being
73516957 lt_prog_compiler_wl='-Wl,'
73526958 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
73536959 # not for PA HP-UX.
7354 case "$host_cpu" in
6960 case $host_cpu in
73556961 hppa*64*|ia64*)
73566962 # +Z the default
73576963 ;;
73756981 ;;
73766982
73776983 linux*)
7378 case $CC in
6984 case $cc_basename in
73796985 icc* | ecc*)
73806986 lt_prog_compiler_wl='-Wl,'
73816987 lt_prog_compiler_pic='-KPIC'
73826988 lt_prog_compiler_static='-static'
6989 ;;
6990 pgcc* | pgf77* | pgf90* | pgf95*)
6991 # Portland Group compilers (*not* the Pentium gcc compiler,
6992 # which looks to be a dead project)
6993 lt_prog_compiler_wl='-Wl,'
6994 lt_prog_compiler_pic='-fpic'
6995 lt_prog_compiler_static='-Bstatic'
73836996 ;;
73846997 ccc*)
73856998 lt_prog_compiler_wl='-Wl,'
74017014 ;;
74027015
74037016 solaris*)
7404 lt_prog_compiler_wl='-Wl,'
74057017 lt_prog_compiler_pic='-KPIC'
74067018 lt_prog_compiler_static='-Bstatic'
7019 case $cc_basename in
7020 f77* | f90* | f95*)
7021 lt_prog_compiler_wl='-Qoption ld ';;
7022 *)
7023 lt_prog_compiler_wl='-Wl,';;
7024 esac
74077025 ;;
74087026
74097027 sunos4*)
74237041 lt_prog_compiler_pic='-Kconform_pic'
74247042 lt_prog_compiler_static='-Bstatic'
74257043 fi
7044 ;;
7045
7046 unicos*)
7047 lt_prog_compiler_wl='-Wl,'
7048 lt_prog_compiler_can_build_shared=no
74267049 ;;
74277050
74287051 uts4*)
74597082 # with a dollar sign (not a hyphen), so the echo should work correctly.
74607083 # The option is referenced via a variable to avoid confusing sed.
74617084 lt_compile=`echo "$ac_compile" | $SED \
7462 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
74637086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
74647087 -e 's:$: $lt_compiler_flag:'`
7465 (eval echo "\"\$as_me:7466: $lt_compile\"" >&5)
7088 (eval echo "\"\$as_me:7089: $lt_compile\"" >&5)
74667089 (eval "$lt_compile" 2>conftest.err)
74677090 ac_status=$?
74687091 cat conftest.err >&5
7469 echo "$as_me:7470: \$? = $ac_status" >&5
7092 echo "$as_me:7093: \$? = $ac_status" >&5
74707093 if (exit $ac_status) && test -s "$ac_outfile"; then
74717094 # The compiler can only warn and ignore the option if not recognized
7472 # So say no if there are warnings
7473 if test ! -s conftest.err; then
7095 # So say no if there are warnings other than the usual output.
7096 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7097 $SED '/^$/d' conftest.err >conftest.er2
7098 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
74747099 lt_prog_compiler_pic_works=yes
74757100 fi
74767101 fi
74917116 fi
74927117
74937118 fi
7494 case "$host_os" in
7119 case $host_os in
74957120 # For platforms which do not support PIC, -DPIC is meaningless:
74967121 *djgpp*)
74977122 lt_prog_compiler_pic=
75197144 # Note that $ac_compile itself does not contain backslashes and begins
75207145 # with a dollar sign (not a hyphen), so the echo should work correctly.
75217146 lt_compile=`echo "$ac_compile" | $SED \
7522 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7147 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
75237148 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
75247149 -e 's:$: $lt_compiler_flag:'`
7525 (eval echo "\"\$as_me:7526: $lt_compile\"" >&5)
7150 (eval echo "\"\$as_me:7151: $lt_compile\"" >&5)
75267151 (eval "$lt_compile" 2>out/conftest.err)
75277152 ac_status=$?
75287153 cat out/conftest.err >&5
7529 echo "$as_me:7530: \$? = $ac_status" >&5
7154 echo "$as_me:7155: \$? = $ac_status" >&5
75307155 if (exit $ac_status) && test -s out/conftest2.$ac_objext
75317156 then
75327157 # The compiler can only warn and ignore the option if not recognized
75337158 # So say no if there are warnings
7534 if test ! -s out/conftest.err; then
7159 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7160 $SED '/^$/d' out/conftest.err >out/conftest.er2
7161 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
75357162 lt_cv_prog_compiler_c_o=yes
75367163 fi
75377164 fi
7538 chmod u+w .
7165 chmod u+w . 2>&5
75397166 $rm conftest*
75407167 # SGI C++ compiler will create directory out/ii_files/ for
75417168 # template instantiation
76117238 # rely on this symbol name, it's probably fine to never include it in
76127239 # preloaded symbol tables.
76137240 extract_expsyms_cmds=
7241 # Just being paranoid about ensuring that cc_basename is set.
7242 for cc_temp in $compiler""; do
7243 case $cc_temp in
7244 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7245 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7246 \-*) ;;
7247 *) break;;
7248 esac
7249 done
7250 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
76147251
76157252 case $host_os in
76167253 cygwin* | mingw* | pw32*)
76317268 # If archive_cmds runs LD, not CC, wlarc should be empty
76327269 wlarc='${wl}'
76337270
7271 # Set some defaults for GNU ld with shared library support. These
7272 # are reset later if shared libraries are not supported. Putting them
7273 # here allows them to be overridden if necessary.
7274 runpath_var=LD_RUN_PATH
7275 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7276 export_dynamic_flag_spec='${wl}--export-dynamic'
7277 # ancient GNU ld didn't support --whole-archive et. al.
7278 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7279 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7280 else
7281 whole_archive_flag_spec=
7282 fi
7283 supports_anon_versioning=no
7284 case `$LD -v 2>/dev/null` in
7285 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7286 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7287 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7288 *\ 2.11.*) ;; # other 2.11 versions
7289 *) supports_anon_versioning=yes ;;
7290 esac
7291
76347292 # See if GNU ld supports shared libraries.
76357293 case $host_os in
76367294 aix3* | aix4* | aix5*)
76817339 allow_undefined_flag=unsupported
76827340 always_export_symbols=no
76837341 enable_shared_with_static_runtimes=yes
7684 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7342 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
76857343
76867344 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
76877345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
76997357 fi
77007358 ;;
77017359
7360 linux*)
7361 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7362 tmp_addflag=
7363 case $cc_basename,$host_cpu in
7364 pgcc*) # Portland Group C compiler
7365 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7366 tmp_addflag=' $pic_flag'
7367 ;;
7368 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7369 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7370 tmp_addflag=' $pic_flag -Mnomain' ;;
7371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7372 tmp_addflag=' -i_dynamic' ;;
7373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7374 tmp_addflag=' -i_dynamic -nofor_main' ;;
7375 ifc* | ifort*) # Intel Fortran compiler
7376 tmp_addflag=' -nofor_main' ;;
7377 esac
7378 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7379
7380 if test $supports_anon_versioning = yes; then
7381 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7382 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7383 $echo "local: *; };" >> $output_objdir/$libname.ver~
7384 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7385 fi
7386 link_all_deplibs=no
7387 else
7388 ld_shlibs=no
7389 fi
7390 ;;
7391
77027392 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
77037393 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
77047394 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
77377427 hardcode_shlibpath_var=no
77387428 ;;
77397429
7740 linux*)
7741 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7742 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7743 archive_cmds="$tmp_archive_cmds"
7744 supports_anon_versioning=no
7745 case `$LD -v 2>/dev/null` in
7746 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7747 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7748 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7749 *\ 2.11.*) ;; # other 2.11 versions
7750 *) supports_anon_versioning=yes ;;
7751 esac
7752 if test $supports_anon_versioning = yes; then
7753 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7754 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7755 $echo "local: *; };" >> $output_objdir/$libname.ver~
7756 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7757 else
7758 archive_expsym_cmds="$tmp_archive_cmds"
7759 fi
7760 link_all_deplibs=no
7761 else
7762 ld_shlibs=no
7763 fi
7764 ;;
7765
77667430 *)
77677431 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
77687432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
77737437 ;;
77747438 esac
77757439
7776 if test "$ld_shlibs" = yes; then
7777 runpath_var=LD_RUN_PATH
7778 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7779 export_dynamic_flag_spec='${wl}--export-dynamic'
7780 # ancient GNU ld didn't support --whole-archive et. al.
7781 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7782 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7783 else
7784 whole_archive_flag_spec=
7785 fi
7440 if test "$ld_shlibs" = no; then
7441 runpath_var=
7442 hardcode_libdir_flag_spec=
7443 export_dynamic_flag_spec=
7444 whole_archive_flag_spec=
77867445 fi
77877446 else
77887447 # PORTME fill in a description of your system's linker (not GNU ld)
78467505 link_all_deplibs=yes
78477506
78487507 if test "$GCC" = yes; then
7849 case $host_os in aix4.012|aix4.012.*)
7508 case $host_os in aix4.[012]|aix4.[012].*)
78507509 # We only want to do this on AIX 4.2 and lower, the check
78517510 # below for broken collect2 doesn't work under 4.3+
78527511 collect2name=`${CC} -print-prog-name=collect2`
78677526 fi
78687527 esac
78697528 shared_flag='-shared'
7529 if test "$aix_use_runtimelinking" = yes; then
7530 shared_flag="$shared_flag "'${wl}-G'
7531 fi
78707532 else
78717533 # not using gcc
78727534 if test "$host_cpu" = ia64; then
80117673 # Exported symbols can be pulled into shared objects from archives
80127674 whole_archive_flag_spec=' '
80137675 archive_cmds_need_lc=yes
8014 # This is similar to how AIX traditionally builds it's shared libraries.
7676 # This is similar to how AIX traditionally builds its shared libraries.
80157677 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
80167678 fi
80177679 fi
80257687 ld_shlibs=no
80267688 ;;
80277689
8028 bsdi4*)
7690 bsdi[45]*)
80297691 export_dynamic_flag_spec=-rdynamic
80307692 ;;
80317693
80517713 ;;
80527714
80537715 darwin* | rhapsody*)
8054 if test "$GXX" = yes ; then
7716 case $host_os in
7717 rhapsody* | darwin1.[012])
7718 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7719 ;;
7720 *) # Darwin 1.3 on
7721 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7722 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7723 else
7724 case ${MACOSX_DEPLOYMENT_TARGET} in
7725 10.[012])
7726 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7727 ;;
7728 10.*)
7729 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7730 ;;
7731 esac
7732 fi
7733 ;;
7734 esac
80557735 archive_cmds_need_lc=no
8056 case "$host_os" in
8057 rhapsody* | darwin1.[012])
8058 allow_undefined_flag='-undefined suppress'
8059 ;;
8060 *) # Darwin 1.3 on
8061 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8062 allow_undefined_flag='-flat_namespace -undefined suppress'
8063 else
8064 case ${MACOSX_DEPLOYMENT_TARGET} in
8065 10.[012])
8066 allow_undefined_flag='-flat_namespace -undefined suppress'
8067 ;;
8068 10.*)
8069 allow_undefined_flag='-undefined dynamic_lookup'
8070 ;;
8071 esac
8072 fi
8073 ;;
8074 esac
8075 lt_int_apple_cc_single_mod=no
8076 output_verbose_link_cmd='echo'
8077 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
8078 lt_int_apple_cc_single_mod=yes
8079 fi
8080 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8081 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8082 else
8083 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8084 fi
8085 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8086 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8087 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8088 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8089 else
8090 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8091 fi
8092 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
80937736 hardcode_direct=no
80947737 hardcode_automatic=yes
80957738 hardcode_shlibpath_var=unsupported
8096 whole_archive_flag_spec='-all_load $convenience'
7739 whole_archive_flag_spec=''
80977740 link_all_deplibs=yes
7741 if test "$GCC" = yes ; then
7742 output_verbose_link_cmd='echo'
7743 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7744 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7745 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7746 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7747 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
80987748 else
8099 ld_shlibs=no
7749 case $cc_basename in
7750 xlc*)
7751 output_verbose_link_cmd='echo'
7752 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7753 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7754 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7755 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7756 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7757 ;;
7758 *)
7759 ld_shlibs=no
7760 ;;
7761 esac
81007762 fi
81017763 ;;
81027764
81307792 ;;
81317793
81327794 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8133 freebsd* | kfreebsd*-gnu)
7795 freebsd* | kfreebsd*-gnu | dragonfly*)
81347796 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
81357797 hardcode_libdir_flag_spec='-R$libdir'
81367798 hardcode_direct=yes
81557817
81567818 hpux10* | hpux11*)
81577819 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8158 case "$host_cpu" in
7820 case $host_cpu in
81597821 hppa*64*|ia64*)
81607822 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
81617823 ;;
81647826 ;;
81657827 esac
81667828 else
8167 case "$host_cpu" in
7829 case $host_cpu in
81687830 hppa*64*|ia64*)
81697831 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
81707832 ;;
81747836 esac
81757837 fi
81767838 if test "$with_gnu_ld" = no; then
8177 case "$host_cpu" in
7839 case $host_cpu in
81787840 hppa*64*)
81797841 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
81807842 hardcode_libdir_flag_spec_ld='+b $libdir'
82417903 hardcode_shlibpath_var=no
82427904 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
82437905 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7906 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
82447907 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
82457908 export_dynamic_flag_spec='${wl}-E'
82467909 else
82867949 allow_undefined_flag=' -expect_unresolved \*'
82877950 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
82887951 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8289 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7952 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
82907953
82917954 # Both c and cxx compiler support -rpath directly
82927955 hardcode_libdir_flag_spec='-rpath $libdir'
83057968 solaris*)
83067969 no_undefined_flag=' -z text'
83077970 if test "$GCC" = yes; then
7971 wlarc='${wl}'
83087972 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
83097973 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
83107974 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
83117975 else
7976 wlarc=''
83127977 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
83137978 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
83147979 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
83177982 hardcode_shlibpath_var=no
83187983 case $host_os in
83197984 solaris2.[0-5] | solaris2.[0-5].*) ;;
8320 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8321 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7985 *)
7986 # The compiler driver will combine linker options so we
7987 # cannot just pass the convience library names through
7988 # without $wl, iff we do not link with $LD.
7989 # Luckily, gcc supports the same syntax we need for Sun Studio.
7990 # Supported since Solaris 2.6 (maybe 2.5.1?)
7991 case $wlarc in
7992 '')
7993 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7994 *)
7995 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7996 esac ;;
83227997 esac
83237998 link_all_deplibs=yes
83247999 ;;
85928267 shlibpath_var=LIBRARY_PATH
85938268 ;;
85948269
8595 bsdi4*)
8270 bsdi[45]*)
85968271 version_type=linux
85978272 need_version=no
85988273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
86208295 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
86218296 dldir=$destdir/`dirname \$dlpath`~
86228297 test -d \$dldir || mkdir -p \$dldir~
8623 $install_prog $dir/$dlname \$dldir/$dlname'
8298 $install_prog $dir/$dlname \$dldir/$dlname~
8299 chmod a+x \$dldir/$dlname'
86248300 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
86258301 dlpath=$dir/\$dldll~
86268302 $rm \$dlpath'
86508326 ;;
86518327 pw32*)
86528328 # pw32 DLLs use 'pw' prefix rather than 'lib'
8653 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
8329 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
86548330 ;;
86558331 esac
86568332 ;;
86738349 soname_spec='${libname}${release}${major}$shared_ext'
86748350 shlibpath_overrides_runpath=yes
86758351 shlibpath_var=DYLD_LIBRARY_PATH
8676 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
8352 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
86778353 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
86788354 if test "$GCC" = yes; then
86798355 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
87088384 dynamic_linker='GNU ld.so'
87098385 ;;
87108386
8711 freebsd*)
8712 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8387 freebsd* | dragonfly*)
8388 # DragonFly does not have aout. When/if they implement a new
8389 # versioning mechanism, adjust this.
8390 if test -x /usr/bin/objformat; then
8391 objformat=`/usr/bin/objformat`
8392 else
8393 case $host_os in
8394 freebsd[123]*) objformat=aout ;;
8395 *) objformat=elf ;;
8396 esac
8397 fi
87138398 version_type=freebsd-$objformat
87148399 case $version_type in
87158400 freebsd-elf*)
87278412 freebsd2*)
87288413 shlibpath_overrides_runpath=yes
87298414 ;;
8730 freebsd3.01* | freebsdelf3.01*)
8415 freebsd3.[01]* | freebsdelf3.[01]*)
87318416 shlibpath_overrides_runpath=yes
87328417 hardcode_into_libs=yes
87338418 ;;
87548439 version_type=sunos
87558440 need_lib_prefix=no
87568441 need_version=no
8757 case "$host_cpu" in
8442 case $host_cpu in
87588443 ia64*)
87598444 shrext_cmds='.so'
87608445 hardcode_into_libs=yes
88538538
88548539 # Append ld.so.conf contents to the search path
88558540 if test -f /etc/ld.so.conf; then
8856 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
8541 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
88578542 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
88588543 fi
88598544
89288613 openbsd*)
89298614 version_type=sunos
89308615 need_lib_prefix=no
8931 need_version=yes
8616 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8617 case $host_os in
8618 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8619 *) need_version=no ;;
8620 esac
89328621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
89338622 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
89348623 shlibpath_var=LD_LIBRARY_PATH
90508739 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
90518740 hardcode_action=
90528741 if test -n "$hardcode_libdir_flag_spec" || \
9053 test -n "$runpath_var " || \
9054 test "X$hardcode_automatic"="Xyes" ; then
8742 test -n "$runpath_var" || \
8743 test "X$hardcode_automatic" = "Xyes" ; then
90558744
90568745 # We can hardcode non-existant directories.
90578746 if test "$hardcode_direct" != no &&
97109399 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
97119400 lt_status=$lt_dlunknown
97129401 cat > conftest.$ac_ext <<EOF
9713 #line 9714 "configure"
9402 #line 9403 "configure"
97149403 #include "confdefs.h"
97159404
97169405 #if HAVE_DLFCN_H
97769465 ac_status=$?
97779466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97789467 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9779 (./conftest; exit; ) 2>/dev/null
9468 (./conftest; exit; ) >&5 2>/dev/null
97809469 lt_status=$?
97819470 case x$lt_status in
97829471 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
98089497 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
98099498 lt_status=$lt_dlunknown
98109499 cat > conftest.$ac_ext <<EOF
9811 #line 9812 "configure"
9500 #line 9501 "configure"
98129501 #include "confdefs.h"
98139502
98149503 #if HAVE_DLFCN_H
98749563 ac_status=$?
98759564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98769565 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9877 (./conftest; exit; ) 2>/dev/null
9566 (./conftest; exit; ) >&5 2>/dev/null
98789567 lt_status=$?
98799568 case x$lt_status in
98809569 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
99249613
99259614 # On AIX, shared libraries and static libraries use the same namespace, and
99269615 # are all built from PIC.
9927 case "$host_os" in
9616 case $host_os in
99289617 aix3*)
99299618 test "$enable_shared" = yes && enable_static=no
99309619 if test -n "$RANLIB"; then
99369625 aix4* | aix5*)
99379626 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
99389627 test "$enable_shared" = yes && enable_static=no
9939 fi
9940 ;;
9941 darwin* | rhapsody*)
9942 if test "$GCC" = yes; then
9943 archive_cmds_need_lc=no
9944 case "$host_os" in
9945 rhapsody* | darwin1.[012])
9946 allow_undefined_flag='-undefined suppress'
9947 ;;
9948 *) # Darwin 1.3 on
9949 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9950 allow_undefined_flag='-flat_namespace -undefined suppress'
9951 else
9952 case ${MACOSX_DEPLOYMENT_TARGET} in
9953 10.[012])
9954 allow_undefined_flag='-flat_namespace -undefined suppress'
9955 ;;
9956 10.*)
9957 allow_undefined_flag='-undefined dynamic_lookup'
9958 ;;
9959 esac
9960 fi
9961 ;;
9962 esac
9963 output_verbose_link_cmd='echo'
9964 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9965 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9966 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9967 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9968 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9969 hardcode_direct=no
9970 hardcode_automatic=yes
9971 hardcode_shlibpath_var=unsupported
9972 whole_archive_flag_spec='-all_load $convenience'
9973 link_all_deplibs=yes
9974 else
9975 ld_shlibs=no
99769628 fi
99779629 ;;
99789630 esac
101039755 #
101049756 # You should have received a copy of the GNU General Public License
101059757 # along with this program; if not, write to the Free Software
10106 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9758 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
101079759 #
101089760 # As a special exception to the GNU General Public License, if you
101099761 # distribute this file as part of a program that contains a
101149766 SED=$lt_SED
101159767
101169768 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10117 Xsed="$SED -e s/^X//"
9769 Xsed="$SED -e 1s/^X//"
101189770
101199771 # The HP-UX ksh and POSIX shell print the target directory to stdout
101209772 # if CDPATH is set.
10121 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9773 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
101229774
101239775 # The names of the tagged configurations supported by this script.
101249776 available_tags=
101489800 # The host system.
101499801 host_alias=$host_alias
101509802 host=$host
9803 host_os=$host_os
9804
9805 # The build system.
9806 build_alias=$build_alias
9807 build=$build
9808 build_os=$build_os
101519809
101529810 # An echo program that does not interpret backslashes.
101539811 echo=$lt_echo
102249882 # Does compiler simultaneously support -c and -o options?
102259883 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
102269884
10227 # Must we lock files when doing compilation ?
9885 # Must we lock files when doing compilation?
102289886 need_locks=$lt_need_locks
102299887
102309888 # Do we need the lib prefix for modules?
1051910177
1052010178 case $tagname in
1052110179 CXX)
10522 if test -n "$CXX" && test "X$CXX" != "Xno"; then
10180 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10181 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10182 (test "X$CXX" != "Xg++"))) ; then
1052310183 ac_ext=cc
1052410184 ac_cpp='$CXXCPP $CPPFLAGS'
1052510185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1055610216 compiler_lib_search_path_CXX=
1055710217
1055810218 # Source file extension for C++ test sources.
10559 ac_ext=cc
10219 ac_ext=cpp
1056010220
1056110221 # Object file extension for compiled C++ test sources.
1056210222 objext=o
1057510235
1057610236 # Allow CC to be a program name with arguments.
1057710237 compiler=$CC
10238
10239
10240 # save warnings/boilerplate of simple test code
10241 ac_outfile=conftest.$ac_objext
10242 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10244 _lt_compiler_boilerplate=`cat conftest.err`
10245 $rm conftest*
10246
10247 ac_outfile=conftest.$ac_objext
10248 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10250 _lt_linker_boilerplate=`cat conftest.err`
10251 $rm conftest*
1057810252
1057910253
1058010254 # Allow CC to be a program name with arguments.
1059810272 CC=${CXX-"c++"}
1059910273 compiler=$CC
1060010274 compiler_CXX=$CC
10601 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
10275 for cc_temp in $compiler""; do
10276 case $cc_temp in
10277 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10278 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10279 \-*) ;;
10280 *) break;;
10281 esac
10282 done
10283 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10284
1060210285
1060310286 # We don't want -fno-exception wen compiling C++ code, so set the
1060410287 # no_builtin_flag separately
1066910352 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1067010353 lt_cv_path_LD="$ac_dir/$ac_prog"
1067110354 # Check to see if the program is GNU ld. I'd rather use --version,
10672 # but apparently some GNU ld's only accept -v.
10355 # but apparently some variants of GNU ld only accept -v.
1067310356 # Break only if it was the GNU/non-GNU ld that we prefer.
1067410357 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1067510358 *GNU* | *'with BFD'*)
1070310386 if test "${lt_cv_prog_gnu_ld+set}" = set; then
1070410387 echo $ECHO_N "(cached) $ECHO_C" >&6
1070510388 else
10706 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10389 # I'd rather use --version here, but apparently some GNU lds only accept -v.
1070710390 case `$LD -v 2>&1 </dev/null` in
1070810391 *GNU* | *'with BFD'*)
1070910392 lt_cv_prog_gnu_ld=yes
1081210495 link_all_deplibs_CXX=yes
1081310496
1081410497 if test "$GXX" = yes; then
10815 case $host_os in aix4.012|aix4.012.*)
10498 case $host_os in aix4.[012]|aix4.[012].*)
1081610499 # We only want to do this on AIX 4.2 and lower, the check
1081710500 # below for broken collect2 doesn't work under 4.3+
1081810501 collect2name=`${CC} -print-prog-name=collect2`
1083310516 fi
1083410517 esac
1083510518 shared_flag='-shared'
10519 if test "$aix_use_runtimelinking" = yes; then
10520 shared_flag="$shared_flag "'${wl}-G'
10521 fi
1083610522 else
1083710523 # not using gcc
1083810524 if test "$host_cpu" = ia64; then
1097810664 # Exported symbols can be pulled into shared objects from archives
1097910665 whole_archive_flag_spec_CXX=' '
1098010666 archive_cmds_need_lc_CXX=yes
10981 # This is similar to how AIX traditionally builds it's shared libraries.
10667 # This is similar to how AIX traditionally builds its shared libraries.
1098210668 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1098310669 fi
1098410670 fi
1099110677 ;;
1099210678 esac
1099310679 ;;
10680
1099410681
1099510682 cygwin* | mingw* | pw32*)
1099610683 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
1101510702 ld_shlibs_CXX=no
1101610703 fi
1101710704 ;;
11018
11019 darwin* | rhapsody*)
11020 if test "$GXX" = yes; then
11021 archive_cmds_need_lc_CXX=no
11022 case "$host_os" in
11023 rhapsody* | darwin1.[012])
11024 allow_undefined_flag_CXX='-undefined suppress'
11025 ;;
11026 *) # Darwin 1.3 on
11027 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11028 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10705 darwin* | rhapsody*)
10706 case $host_os in
10707 rhapsody* | darwin1.[012])
10708 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10709 ;;
10710 *) # Darwin 1.3 on
10711 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10712 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10713 else
10714 case ${MACOSX_DEPLOYMENT_TARGET} in
10715 10.[012])
10716 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10717 ;;
10718 10.*)
10719 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10720 ;;
10721 esac
10722 fi
10723 ;;
10724 esac
10725 archive_cmds_need_lc_CXX=no
10726 hardcode_direct_CXX=no
10727 hardcode_automatic_CXX=yes
10728 hardcode_shlibpath_var_CXX=unsupported
10729 whole_archive_flag_spec_CXX=''
10730 link_all_deplibs_CXX=yes
10731
10732 if test "$GXX" = yes ; then
10733 lt_int_apple_cc_single_mod=no
10734 output_verbose_link_cmd='echo'
10735 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10736 lt_int_apple_cc_single_mod=yes
10737 fi
10738 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10739 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1102910740 else
11030 case ${MACOSX_DEPLOYMENT_TARGET} in
11031 10.[012])
11032 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
11033 ;;
11034 10.*)
11035 allow_undefined_flag_CXX='-undefined dynamic_lookup'
11036 ;;
11037 esac
10741 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10742 fi
10743 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10744 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10745 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10746 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10747 else
10748 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10749 fi
10750 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10751 else
10752 case $cc_basename in
10753 xlc*)
10754 output_verbose_link_cmd='echo'
10755 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10756 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10757 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10758 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10759 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10760 ;;
10761 *)
10762 ld_shlibs_CXX=no
10763 ;;
10764 esac
1103810765 fi
11039 ;;
11040 esac
11041 lt_int_apple_cc_single_mod=no
11042 output_verbose_link_cmd='echo'
11043 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
11044 lt_int_apple_cc_single_mod=yes
11045 fi
11046 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11047 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11048 else
11049 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11050 fi
11051 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11052
11053 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11054 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11055 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11056 else
11057 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11058 fi
11059 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11060 hardcode_direct_CXX=no
11061 hardcode_automatic_CXX=yes
11062 hardcode_shlibpath_var_CXX=unsupported
11063 whole_archive_flag_spec_CXX='-all_load $convenience'
11064 link_all_deplibs_CXX=yes
11065 else
11066 ld_shlibs_CXX=no
11067 fi
11068 ;;
10766 ;;
1106910767
1107010768 dgux*)
1107110769 case $cc_basename in
11072 ec++)
10770 ec++*)
1107310771 # FIXME: insert proper C++ library support
1107410772 ld_shlibs_CXX=no
1107510773 ;;
11076 ghcx)
10774 ghcx*)
1107710775 # Green Hills C++ Compiler
1107810776 # FIXME: insert proper C++ library support
1107910777 ld_shlibs_CXX=no
1108410782 ;;
1108510783 esac
1108610784 ;;
11087 freebsd12*)
10785 freebsd[12]*)
1108810786 # C++ shared libraries reported to be fairly broken before switch to ELF
1108910787 ld_shlibs_CXX=no
1109010788 ;;
1109110789 freebsd-elf*)
1109210790 archive_cmds_need_lc_CXX=no
1109310791 ;;
11094 freebsd* | kfreebsd*-gnu)
10792 freebsd* | kfreebsd*-gnu | dragonfly*)
1109510793 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1109610794 # conventions
1109710795 ld_shlibs_CXX=yes
1110810806 # location of the library.
1110910807
1111010808 case $cc_basename in
11111 CC)
10809 CC*)
1111210810 # FIXME: insert proper C++ library support
1111310811 ld_shlibs_CXX=no
1111410812 ;;
11115 aCC)
10813 aCC*)
1111610814 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1111710815 # Commands to make compiler produce verbose output that lists
1111810816 # what "hidden" libraries, object files and flags are used when
1112210820 # explicitly linking system object files so we need to strip them
1112310821 # from the output so that they don't get included in the library
1112410822 # dependencies.
11125 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10823 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
1112610824 ;;
1112710825 *)
1112810826 if test "$GXX" = yes; then
1113610834 ;;
1113710835 hpux10*|hpux11*)
1113810836 if test $with_gnu_ld = no; then
11139 case "$host_cpu" in
10837 case $host_cpu in
1114010838 hppa*64*)
1114110839 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
1114210840 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
1115210850 ;;
1115310851 esac
1115410852 fi
11155 case "$host_cpu" in
10853 case $host_cpu in
1115610854 hppa*64*)
1115710855 hardcode_direct_CXX=no
1115810856 hardcode_shlibpath_var_CXX=no
1117310871 esac
1117410872
1117510873 case $cc_basename in
11176 CC)
10874 CC*)
1117710875 # FIXME: insert proper C++ library support
1117810876 ld_shlibs_CXX=no
1117910877 ;;
11180 aCC)
11181 case "$host_cpu" in
10878 aCC*)
10879 case $host_cpu in
1118210880 hppa*64*|ia64*)
1118310881 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1118410882 ;;
1119910897 *)
1120010898 if test "$GXX" = yes; then
1120110899 if test $with_gnu_ld = no; then
11202 case "$host_cpu" in
10900 case $host_cpu in
1120310901 ia64*|hppa*64*)
1120410902 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1120510903 ;;
1121710915 ;;
1121810916 irix5* | irix6*)
1121910917 case $cc_basename in
11220 CC)
10918 CC*)
1122110919 # SGI C++
11222 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10920 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1122310921
1122410922 # Archives containing C++ object files must be created using
1122510923 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
1123010928 *)
1123110929 if test "$GXX" = yes; then
1123210930 if test "$with_gnu_ld" = no; then
11233 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10931 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1123410932 else
1123510933 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
1123610934 fi
1124310941 ;;
1124410942 linux*)
1124510943 case $cc_basename in
11246 KCC)
10944 KCC*)
1124710945 # Kuck and Associates, Inc. (KAI) C++ Compiler
1124810946
1124910947 # KCC will only create a shared library if the output file
1126810966 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
1126910967 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1127010968 ;;
11271 icpc)
10969 icpc*)
1127210970 # Intel C++
1127310971 with_gnu_ld=yes
10972 # version 8.0 and above of icpc choke on multiply defined symbols
10973 # if we add $predep_objects and $postdep_objects, however 7.1 and
10974 # earlier do not add the objects themselves.
10975 case `$CC -V 2>&1` in
10976 *"Version 7."*)
10977 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10978 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10979 ;;
10980 *) # Version 8.0 or newer
10981 tmp_idyn=
10982 case $host_cpu in
10983 ia64*) tmp_idyn=' -i_dynamic';;
10984 esac
10985 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10986 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10987 ;;
10988 esac
1127410989 archive_cmds_need_lc_CXX=no
11275 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11276 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1127710990 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
1127810991 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
1127910992 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
1128010993 ;;
11281 cxx)
10994 pgCC*)
10995 # Portland Group C++ compiler
10996 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10997 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10998
10999 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11000 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11001 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11002 ;;
11003 cxx*)
1128211004 # Compaq C++
1128311005 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1128411006 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
1130911031 ;;
1131011032 mvs*)
1131111033 case $cc_basename in
11312 cxx)
11034 cxx*)
1131311035 # FIXME: insert proper C++ library support
1131411036 ld_shlibs_CXX=no
1131511037 ;;
1133011052 # Workaround some broken pre-1.5 toolchains
1133111053 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
1133211054 ;;
11055 openbsd2*)
11056 # C++ shared libraries are fairly broken
11057 ld_shlibs_CXX=no
11058 ;;
11059 openbsd*)
11060 hardcode_direct_CXX=yes
11061 hardcode_shlibpath_var_CXX=no
11062 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11063 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11064 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11065 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11066 export_dynamic_flag_spec_CXX='${wl}-E'
11067 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11068 fi
11069 output_verbose_link_cmd='echo'
11070 ;;
1133311071 osf3*)
1133411072 case $cc_basename in
11335 KCC)
11073 KCC*)
1133611074 # Kuck and Associates, Inc. (KAI) C++ Compiler
1133711075
1133811076 # KCC will only create a shared library if the output file
1134811086 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
1134911087
1135011088 ;;
11351 RCC)
11089 RCC*)
1135211090 # Rational C++ 2.4.1
1135311091 # FIXME: insert proper C++ library support
1135411092 ld_shlibs_CXX=no
1135511093 ;;
11356 cxx)
11094 cxx*)
1135711095 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11358 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11096 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1135911097
1136011098 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1136111099 hardcode_libdir_separator_CXX=:
1137311111 *)
1137411112 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1137511113 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11376 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11114 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1137711115
1137811116 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1137911117 hardcode_libdir_separator_CXX=:
1139211130 ;;
1139311131 osf4* | osf5*)
1139411132 case $cc_basename in
11395 KCC)
11133 KCC*)
1139611134 # Kuck and Associates, Inc. (KAI) C++ Compiler
1139711135
1139811136 # KCC will only create a shared library if the output file
1140711145 # the KAI C++ compiler.
1140811146 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
1140911147 ;;
11410 RCC)
11148 RCC*)
1141111149 # Rational C++ 2.4.1
1141211150 # FIXME: insert proper C++ library support
1141311151 ld_shlibs_CXX=no
1141411152 ;;
11415 cxx)
11153 cxx*)
1141611154 allow_undefined_flag_CXX=' -expect_unresolved \*'
11417 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11155 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1141811156 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1141911157 echo "-hidden">> $lib.exp~
11420 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
11158 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
1142111159 $rm $lib.exp'
1142211160
1142311161 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
1143611174 *)
1143711175 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1143811176 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11439 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11177 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1144011178
1144111179 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
1144211180 hardcode_libdir_separator_CXX=:
1146011198 sco*)
1146111199 archive_cmds_need_lc_CXX=no
1146211200 case $cc_basename in
11463 CC)
11201 CC*)
1146411202 # FIXME: insert proper C++ library support
1146511203 ld_shlibs_CXX=no
1146611204 ;;
1147211210 ;;
1147311211 sunos4*)
1147411212 case $cc_basename in
11475 CC)
11213 CC*)
1147611214 # Sun C++ 4.x
1147711215 # FIXME: insert proper C++ library support
1147811216 ld_shlibs_CXX=no
1147911217 ;;
11480 lcc)
11218 lcc*)
1148111219 # Lucid
1148211220 # FIXME: insert proper C++ library support
1148311221 ld_shlibs_CXX=no
1149011228 ;;
1149111229 solaris*)
1149211230 case $cc_basename in
11493 CC)
11231 CC*)
1149411232 # Sun C++ 4.2, 5.x and Centerline C++
11233 archive_cmds_need_lc_CXX=yes
1149511234 no_undefined_flag_CXX=' -zdefs'
11496 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11235 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1149711236 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11498 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11237 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1149911238
1150011239 hardcode_libdir_flag_spec_CXX='-R$libdir'
1150111240 hardcode_shlibpath_var_CXX=no
1150211241 case $host_os in
11503 solaris2.0-5 | solaris2.0-5.*) ;;
11242 solaris2.[0-5] | solaris2.[0-5].*) ;;
1150411243 *)
1150511244 # The C++ compiler is used as linker so we must use $wl
1150611245 # flag to pass the commands to the underlying system
11507 # linker.
11246 # linker. We must also pass each convience library through
11247 # to the system linker between allextract/defaultextract.
11248 # The C++ compiler will combine linker options so we
11249 # cannot just pass the convience library names through
11250 # without $wl.
1150811251 # Supported since Solaris 2.6 (maybe 2.5.1?)
11509 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11252 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
1151011253 ;;
1151111254 esac
1151211255 link_all_deplibs_CXX=yes
1151311256
11514 # Commands to make compiler produce verbose output that lists
11515 # what "hidden" libraries, object files and flags are used when
11516 # linking a shared library.
11517 #
11518 # There doesn't appear to be a way to prevent this compiler from
11519 # explicitly linking system object files so we need to strip them
11520 # from the output so that they don't get included in the library
11521 # dependencies.
11522 output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11257 output_verbose_link_cmd='echo'
1152311258
1152411259 # Archives containing C++ object files must be created using
1152511260 # "CC -xar", where "CC" is the Sun C++ compiler. This is
1152711262 # in the archive.
1152811263 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
1152911264 ;;
11530 gcx)
11265 gcx*)
1153111266 # Green Hills C++ Compiler
1153211267 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1153311268
1157011305 ;;
1157111306 tandem*)
1157211307 case $cc_basename in
11573 NCC)
11308 NCC*)
1157411309 # NonStop-UX NCC 3.20
1157511310 # FIXME: insert proper C++ library support
1157611311 ld_shlibs_CXX=no
1162311358 # The `*' in the case matches for architectures that use `case' in
1162411359 # $output_verbose_cmd can trigger glob expansion during the loop
1162511360 # eval without this substitution.
11626 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11361 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
1162711362
1162811363 for p in `eval $output_verbose_link_cmd`; do
1162911364 case $p in
1169811433 fi
1169911434
1170011435 $rm -f confest.$objext
11436
11437 # PORTME: override above test on systems where it is broken
11438 case $host_os in
11439 solaris*)
11440 case $cc_basename in
11441 CC*)
11442 # Adding this requires a known-good setup of shared libraries for
11443 # Sun compiler versions before 5.6, else PIC objects from an old
11444 # archive will be linked into the output, leading to subtle bugs.
11445 postdeps_CXX='-lCstd -lCrun'
11446 ;;
11447 esac
11448 esac
11449
1170111450
1170211451 case " $postdeps_CXX " in
1170311452 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
1175411503 hpux*)
1175511504 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1175611505 # not for PA HP-UX.
11757 case "$host_cpu" in
11506 case $host_cpu in
1175811507 hppa*64*|ia64*)
1175911508 ;;
1176011509 *)
1177911528 ;;
1178011529 chorus*)
1178111530 case $cc_basename in
11782 cxch68)
11531 cxch68*)
1178311532 # Green Hills C++ Compiler
1178411533 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
1178511534 ;;
1178611535 esac
1178711536 ;;
11537 darwin*)
11538 # PIC is the default on this platform
11539 # Common symbols not allowed in MH_DYLIB files
11540 case $cc_basename in
11541 xlc*)
11542 lt_prog_compiler_pic_CXX='-qnocommon'
11543 lt_prog_compiler_wl_CXX='-Wl,'
11544 ;;
11545 esac
11546 ;;
1178811547 dgux*)
1178911548 case $cc_basename in
11790 ec++)
11549 ec++*)
1179111550 lt_prog_compiler_pic_CXX='-KPIC'
1179211551 ;;
11793 ghcx)
11552 ghcx*)
1179411553 # Green Hills C++ Compiler
1179511554 lt_prog_compiler_pic_CXX='-pic'
1179611555 ;;
1179811557 ;;
1179911558 esac
1180011559 ;;
11801 freebsd* | kfreebsd*-gnu)
11560 freebsd* | kfreebsd*-gnu | dragonfly*)
1180211561 # FreeBSD uses GNU C++
1180311562 ;;
1180411563 hpux9* | hpux10* | hpux11*)
1180511564 case $cc_basename in
11806 CC)
11565 CC*)
1180711566 lt_prog_compiler_wl_CXX='-Wl,'
1180811567 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1180911568 if test "$host_cpu" != ia64; then
1181011569 lt_prog_compiler_pic_CXX='+Z'
1181111570 fi
1181211571 ;;
11813 aCC)
11572 aCC*)
1181411573 lt_prog_compiler_wl_CXX='-Wl,'
1181511574 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11816 case "$host_cpu" in
11575 case $host_cpu in
1181711576 hppa*64*|ia64*)
1181811577 # +Z the default
1181911578 ;;
1182811587 ;;
1182911588 irix5* | irix6* | nonstopux*)
1183011589 case $cc_basename in
11831 CC)
11590 CC*)
1183211591 lt_prog_compiler_wl_CXX='-Wl,'
1183311592 lt_prog_compiler_static_CXX='-non_shared'
1183411593 # CC pic flag -KPIC is the default.
1183911598 ;;
1184011599 linux*)
1184111600 case $cc_basename in
11842 KCC)
11601 KCC*)
1184311602 # KAI C++ Compiler
1184411603 lt_prog_compiler_wl_CXX='--backend -Wl,'
1184511604 lt_prog_compiler_pic_CXX='-fPIC'
1184611605 ;;
11847 icpc)
11606 icpc* | ecpc*)
1184811607 # Intel C++
1184911608 lt_prog_compiler_wl_CXX='-Wl,'
1185011609 lt_prog_compiler_pic_CXX='-KPIC'
1185111610 lt_prog_compiler_static_CXX='-static'
1185211611 ;;
11853 cxx)
11612 pgCC*)
11613 # Portland Group C++ compiler.
11614 lt_prog_compiler_wl_CXX='-Wl,'
11615 lt_prog_compiler_pic_CXX='-fpic'
11616 lt_prog_compiler_static_CXX='-Bstatic'
11617 ;;
11618 cxx*)
1185411619 # Compaq C++
1185511620 # Make sure the PIC flag is empty. It appears that all Alpha
1185611621 # Linux and Compaq Tru64 Unix objects are PIC.
1186711632 ;;
1186811633 mvs*)
1186911634 case $cc_basename in
11870 cxx)
11635 cxx*)
1187111636 lt_prog_compiler_pic_CXX='-W c,exportall'
1187211637 ;;
1187311638 *)
1187811643 ;;
1187911644 osf3* | osf4* | osf5*)
1188011645 case $cc_basename in
11881 KCC)
11646 KCC*)
1188211647 lt_prog_compiler_wl_CXX='--backend -Wl,'
1188311648 ;;
11884 RCC)
11649 RCC*)
1188511650 # Rational C++ 2.4.1
1188611651 lt_prog_compiler_pic_CXX='-pic'
1188711652 ;;
11888 cxx)
11653 cxx*)
1188911654 # Digital/Compaq C++
1189011655 lt_prog_compiler_wl_CXX='-Wl,'
1189111656 # Make sure the PIC flag is empty. It appears that all Alpha
1190111666 ;;
1190211667 sco*)
1190311668 case $cc_basename in
11904 CC)
11669 CC*)
1190511670 lt_prog_compiler_pic_CXX='-fPIC'
1190611671 ;;
1190711672 *)
1191011675 ;;
1191111676 solaris*)
1191211677 case $cc_basename in
11913 CC)
11678 CC*)
1191411679 # Sun C++ 4.2, 5.x and Centerline C++
1191511680 lt_prog_compiler_pic_CXX='-KPIC'
1191611681 lt_prog_compiler_static_CXX='-Bstatic'
1191711682 lt_prog_compiler_wl_CXX='-Qoption ld '
1191811683 ;;
11919 gcx)
11684 gcx*)
1192011685 # Green Hills C++ Compiler
1192111686 lt_prog_compiler_pic_CXX='-PIC'
1192211687 ;;
1192611691 ;;
1192711692 sunos4*)
1192811693 case $cc_basename in
11929 CC)
11694 CC*)
1193011695 # Sun C++ 4.x
1193111696 lt_prog_compiler_pic_CXX='-pic'
1193211697 lt_prog_compiler_static_CXX='-Bstatic'
1193311698 ;;
11934 lcc)
11699 lcc*)
1193511700 # Lucid
1193611701 lt_prog_compiler_pic_CXX='-pic'
1193711702 ;;
1194111706 ;;
1194211707 tandem*)
1194311708 case $cc_basename in
11944 NCC)
11709 NCC*)
1194511710 # NonStop-UX NCC 3.20
1194611711 lt_prog_compiler_pic_CXX='-KPIC'
1194711712 ;;
1198211747 # with a dollar sign (not a hyphen), so the echo should work correctly.
1198311748 # The option is referenced via a variable to avoid confusing sed.
1198411749 lt_compile=`echo "$ac_compile" | $SED \
11985 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1198611751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1198711752 -e 's:$: $lt_compiler_flag:'`
11988 (eval echo "\"\$as_me:11989: $lt_compile\"" >&5)
11753 (eval echo "\"\$as_me:11754: $lt_compile\"" >&5)
1198911754 (eval "$lt_compile" 2>conftest.err)
1199011755 ac_status=$?
1199111756 cat conftest.err >&5
11992 echo "$as_me:11993: \$? = $ac_status" >&5
11757 echo "$as_me:11758: \$? = $ac_status" >&5
1199311758 if (exit $ac_status) && test -s "$ac_outfile"; then
1199411759 # The compiler can only warn and ignore the option if not recognized
11995 # So say no if there are warnings
11996 if test ! -s conftest.err; then
11760 # So say no if there are warnings other than the usual output.
11761 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
11762 $SED '/^$/d' conftest.err >conftest.er2
11763 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1199711764 lt_prog_compiler_pic_works_CXX=yes
1199811765 fi
1199911766 fi
1201411781 fi
1201511782
1201611783 fi
12017 case "$host_os" in
11784 case $host_os in
1201811785 # For platforms which do not support PIC, -DPIC is meaningless:
1201911786 *djgpp*)
1202011787 lt_prog_compiler_pic_CXX=
1204211809 # Note that $ac_compile itself does not contain backslashes and begins
1204311810 # with a dollar sign (not a hyphen), so the echo should work correctly.
1204411811 lt_compile=`echo "$ac_compile" | $SED \
12045 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11812 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1204611813 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1204711814 -e 's:$: $lt_compiler_flag:'`
12048 (eval echo "\"\$as_me:12049: $lt_compile\"" >&5)
11815 (eval echo "\"\$as_me:11816: $lt_compile\"" >&5)
1204911816 (eval "$lt_compile" 2>out/conftest.err)
1205011817 ac_status=$?
1205111818 cat out/conftest.err >&5
12052 echo "$as_me:12053: \$? = $ac_status" >&5
11819 echo "$as_me:11820: \$? = $ac_status" >&5
1205311820 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1205411821 then
1205511822 # The compiler can only warn and ignore the option if not recognized
1205611823 # So say no if there are warnings
12057 if test ! -s out/conftest.err; then
11824 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11825 $SED '/^$/d' out/conftest.err >out/conftest.er2
11826 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1205811827 lt_cv_prog_compiler_c_o_CXX=yes
1205911828 fi
1206011829 fi
12061 chmod u+w .
11830 chmod u+w . 2>&5
1206211831 $rm conftest*
1206311832 # SGI C++ compiler will create directory out/ii_files/ for
1206411833 # template instantiation
1211311882 export_symbols_cmds_CXX="$ltdll_cmds"
1211411883 ;;
1211511884 cygwin* | mingw*)
12116 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11885 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1211711886 ;;
1211811887 linux*)
1211911888 link_all_deplibs_CXX=no
1229612065 shlibpath_var=LIBRARY_PATH
1229712066 ;;
1229812067
12299 bsdi4*)
12068 bsdi[45]*)
1230012069 version_type=linux
1230112070 need_version=no
1230212071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1232412093 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1232512094 dldir=$destdir/`dirname \$dlpath`~
1232612095 test -d \$dldir || mkdir -p \$dldir~
12327 $install_prog $dir/$dlname \$dldir/$dlname'
12096 $install_prog $dir/$dlname \$dldir/$dlname~
12097 chmod a+x \$dldir/$dlname'
1232812098 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1232912099 dlpath=$dir/\$dldll~
1233012100 $rm \$dlpath'
1235412124 ;;
1235512125 pw32*)
1235612126 # pw32 DLLs use 'pw' prefix rather than 'lib'
12357 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
12127 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1235812128 ;;
1235912129 esac
1236012130 ;;
1237712147 soname_spec='${libname}${release}${major}$shared_ext'
1237812148 shlibpath_overrides_runpath=yes
1237912149 shlibpath_var=DYLD_LIBRARY_PATH
12380 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
12150 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1238112151 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1238212152 if test "$GCC" = yes; then
1238312153 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1241212182 dynamic_linker='GNU ld.so'
1241312183 ;;
1241412184
12415 freebsd*)
12416 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12185 freebsd* | dragonfly*)
12186 # DragonFly does not have aout. When/if they implement a new
12187 # versioning mechanism, adjust this.
12188 if test -x /usr/bin/objformat; then
12189 objformat=`/usr/bin/objformat`
12190 else
12191 case $host_os in
12192 freebsd[123]*) objformat=aout ;;
12193 *) objformat=elf ;;
12194 esac
12195 fi
1241712196 version_type=freebsd-$objformat
1241812197 case $version_type in
1241912198 freebsd-elf*)
1243112210 freebsd2*)
1243212211 shlibpath_overrides_runpath=yes
1243312212 ;;
12434 freebsd3.01* | freebsdelf3.01*)
12213 freebsd3.[01]* | freebsdelf3.[01]*)
1243512214 shlibpath_overrides_runpath=yes
1243612215 hardcode_into_libs=yes
1243712216 ;;
1245812237 version_type=sunos
1245912238 need_lib_prefix=no
1246012239 need_version=no
12461 case "$host_cpu" in
12240 case $host_cpu in
1246212241 ia64*)
1246312242 shrext_cmds='.so'
1246412243 hardcode_into_libs=yes
1255712336
1255812337 # Append ld.so.conf contents to the search path
1255912338 if test -f /etc/ld.so.conf; then
12560 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
12339 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1256112340 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1256212341 fi
1256312342
1263212411 openbsd*)
1263312412 version_type=sunos
1263412413 need_lib_prefix=no
12635 need_version=yes
12414 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12415 case $host_os in
12416 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12417 *) need_version=no ;;
12418 esac
1263612419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1263712420 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1263812421 shlibpath_var=LD_LIBRARY_PATH
1275412537 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1275512538 hardcode_action_CXX=
1275612539 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12757 test -n "$runpath_var CXX" || \
12758 test "X$hardcode_automatic_CXX"="Xyes" ; then
12540 test -n "$runpath_var_CXX" || \
12541 test "X$hardcode_automatic_CXX" = "Xyes" ; then
1275912542
1276012543 # We can hardcode non-existant directories.
1276112544 if test "$hardcode_direct_CXX" != no &&
1341413197 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1341513198 lt_status=$lt_dlunknown
1341613199 cat > conftest.$ac_ext <<EOF
13417 #line 13418 "configure"
13200 #line 13201 "configure"
1341813201 #include "confdefs.h"
1341913202
1342013203 #if HAVE_DLFCN_H
1348013263 ac_status=$?
1348113264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1348213265 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13483 (./conftest; exit; ) 2>/dev/null
13266 (./conftest; exit; ) >&5 2>/dev/null
1348413267 lt_status=$?
1348513268 case x$lt_status in
1348613269 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1351213295 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1351313296 lt_status=$lt_dlunknown
1351413297 cat > conftest.$ac_ext <<EOF
13515 #line 13516 "configure"
13298 #line 13299 "configure"
1351613299 #include "confdefs.h"
1351713300
1351813301 #if HAVE_DLFCN_H
1357813361 ac_status=$?
1357913362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1358013363 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13581 (./conftest; exit; ) 2>/dev/null
13364 (./conftest; exit; ) >&5 2>/dev/null
1358213365 lt_status=$?
1358313366 case x$lt_status in
1358413367 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1373013513 # The host system.
1373113514 host_alias=$host_alias
1373213515 host=$host
13516 host_os=$host_os
13517
13518 # The build system.
13519 build_alias=$build_alias
13520 build=$build
13521 build_os=$build_os
1373313522
1373413523 # An echo program that does not interpret backslashes.
1373513524 echo=$lt_echo
1380613595 # Does compiler simultaneously support -c and -o options?
1380713596 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
1380813597
13809 # Must we lock files when doing compilation ?
13598 # Must we lock files when doing compilation?
1381013599 need_locks=$lt_need_locks
1381113600
1381213601 # Do we need the lib prefix for modules?
1408713876 compiler=$CC
1408813877
1408913878
13879 # save warnings/boilerplate of simple test code
13880 ac_outfile=conftest.$ac_objext
13881 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13882 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13883 _lt_compiler_boilerplate=`cat conftest.err`
13884 $rm conftest*
13885
13886 ac_outfile=conftest.$ac_objext
13887 printf "$lt_simple_link_test_code" >conftest.$ac_ext
13888 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13889 _lt_linker_boilerplate=`cat conftest.err`
13890 $rm conftest*
13891
13892
1409013893 # Allow CC to be a program name with arguments.
1409113894 lt_save_CC="$CC"
1409213895 CC=${F77-"f77"}
1409313896 compiler=$CC
1409413897 compiler_F77=$CC
14095 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13898 for cc_temp in $compiler""; do
13899 case $cc_temp in
13900 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13901 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13902 \-*) ;;
13903 *) break;;
13904 esac
13905 done
13906 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13907
1409613908
1409713909 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
1409813910 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
1410513917
1410613918 # On AIX, shared libraries and static libraries use the same namespace, and
1410713919 # are all built from PIC.
14108 case "$host_os" in
13920 case $host_os in
1410913921 aix3*)
1411013922 test "$enable_shared" = yes && enable_static=no
1411113923 if test -n "$RANLIB"; then
1411413926 fi
1411513927 ;;
1411613928 aix4* | aix5*)
14117 test "$enable_shared" = yes && enable_static=no
13929 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13930 test "$enable_shared" = yes && enable_static=no
13931 fi
1411813932 ;;
1411913933 esac
1412013934 echo "$as_me:$LINENO: result: $enable_shared" >&5
1419114005 hpux*)
1419214006 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1419314007 # not for PA HP-UX.
14194 case "$host_cpu" in
14008 case $host_cpu in
1419514009 hppa*64*|ia64*)
1419614010 # +Z the default
1419714011 ;;
1421714031 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
1421814032 fi
1421914033 ;;
14034 darwin*)
14035 # PIC is the default on this platform
14036 # Common symbols not allowed in MH_DYLIB files
14037 case $cc_basename in
14038 xlc*)
14039 lt_prog_compiler_pic_F77='-qnocommon'
14040 lt_prog_compiler_wl_F77='-Wl,'
14041 ;;
14042 esac
14043 ;;
1422014044
1422114045 mingw* | pw32* | os2*)
1422214046 # This hack is so that the source file can tell whether it is being
1422814052 lt_prog_compiler_wl_F77='-Wl,'
1422914053 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1423014054 # not for PA HP-UX.
14231 case "$host_cpu" in
14055 case $host_cpu in
1423214056 hppa*64*|ia64*)
1423314057 # +Z the default
1423414058 ;;
1425214076 ;;
1425314077
1425414078 linux*)
14255 case $CC in
14079 case $cc_basename in
1425614080 icc* | ecc*)
1425714081 lt_prog_compiler_wl_F77='-Wl,'
1425814082 lt_prog_compiler_pic_F77='-KPIC'
1425914083 lt_prog_compiler_static_F77='-static'
14084 ;;
14085 pgcc* | pgf77* | pgf90* | pgf95*)
14086 # Portland Group compilers (*not* the Pentium gcc compiler,
14087 # which looks to be a dead project)
14088 lt_prog_compiler_wl_F77='-Wl,'
14089 lt_prog_compiler_pic_F77='-fpic'
14090 lt_prog_compiler_static_F77='-Bstatic'
1426014091 ;;
1426114092 ccc*)
1426214093 lt_prog_compiler_wl_F77='-Wl,'
1427814109 ;;
1427914110
1428014111 solaris*)
14281 lt_prog_compiler_wl_F77='-Wl,'
1428214112 lt_prog_compiler_pic_F77='-KPIC'
1428314113 lt_prog_compiler_static_F77='-Bstatic'
14114 case $cc_basename in
14115 f77* | f90* | f95*)
14116 lt_prog_compiler_wl_F77='-Qoption ld ';;
14117 *)
14118 lt_prog_compiler_wl_F77='-Wl,';;
14119 esac
1428414120 ;;
1428514121
1428614122 sunos4*)
1430014136 lt_prog_compiler_pic_F77='-Kconform_pic'
1430114137 lt_prog_compiler_static_F77='-Bstatic'
1430214138 fi
14139 ;;
14140
14141 unicos*)
14142 lt_prog_compiler_wl_F77='-Wl,'
14143 lt_prog_compiler_can_build_shared_F77=no
1430314144 ;;
1430414145
1430514146 uts4*)
1433614177 # with a dollar sign (not a hyphen), so the echo should work correctly.
1433714178 # The option is referenced via a variable to avoid confusing sed.
1433814179 lt_compile=`echo "$ac_compile" | $SED \
14339 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1434014181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1434114182 -e 's:$: $lt_compiler_flag:'`
14342 (eval echo "\"\$as_me:14343: $lt_compile\"" >&5)
14183 (eval echo "\"\$as_me:14184: $lt_compile\"" >&5)
1434314184 (eval "$lt_compile" 2>conftest.err)
1434414185 ac_status=$?
1434514186 cat conftest.err >&5
14346 echo "$as_me:14347: \$? = $ac_status" >&5
14187 echo "$as_me:14188: \$? = $ac_status" >&5
1434714188 if (exit $ac_status) && test -s "$ac_outfile"; then
1434814189 # The compiler can only warn and ignore the option if not recognized
14349 # So say no if there are warnings
14350 if test ! -s conftest.err; then
14190 # So say no if there are warnings other than the usual output.
14191 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
14192 $SED '/^$/d' conftest.err >conftest.er2
14193 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1435114194 lt_prog_compiler_pic_works_F77=yes
1435214195 fi
1435314196 fi
1436814211 fi
1436914212
1437014213 fi
14371 case "$host_os" in
14214 case $host_os in
1437214215 # For platforms which do not support PIC, -DPIC is meaningless:
1437314216 *djgpp*)
1437414217 lt_prog_compiler_pic_F77=
1439614239 # Note that $ac_compile itself does not contain backslashes and begins
1439714240 # with a dollar sign (not a hyphen), so the echo should work correctly.
1439814241 lt_compile=`echo "$ac_compile" | $SED \
14399 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1440014243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1440114244 -e 's:$: $lt_compiler_flag:'`
14402 (eval echo "\"\$as_me:14403: $lt_compile\"" >&5)
14245 (eval echo "\"\$as_me:14246: $lt_compile\"" >&5)
1440314246 (eval "$lt_compile" 2>out/conftest.err)
1440414247 ac_status=$?
1440514248 cat out/conftest.err >&5
14406 echo "$as_me:14407: \$? = $ac_status" >&5
14249 echo "$as_me:14250: \$? = $ac_status" >&5
1440714250 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1440814251 then
1440914252 # The compiler can only warn and ignore the option if not recognized
1441014253 # So say no if there are warnings
14411 if test ! -s out/conftest.err; then
14254 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
14255 $SED '/^$/d' out/conftest.err >out/conftest.er2
14256 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1441214257 lt_cv_prog_compiler_c_o_F77=yes
1441314258 fi
1441414259 fi
14415 chmod u+w .
14260 chmod u+w . 2>&5
1441614261 $rm conftest*
1441714262 # SGI C++ compiler will create directory out/ii_files/ for
1441814263 # template instantiation
1448814333 # rely on this symbol name, it's probably fine to never include it in
1448914334 # preloaded symbol tables.
1449014335 extract_expsyms_cmds=
14336 # Just being paranoid about ensuring that cc_basename is set.
14337 for cc_temp in $compiler""; do
14338 case $cc_temp in
14339 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14340 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14341 \-*) ;;
14342 *) break;;
14343 esac
14344 done
14345 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1449114346
1449214347 case $host_os in
1449314348 cygwin* | mingw* | pw32*)
1450814363 # If archive_cmds runs LD, not CC, wlarc should be empty
1450914364 wlarc='${wl}'
1451014365
14366 # Set some defaults for GNU ld with shared library support. These
14367 # are reset later if shared libraries are not supported. Putting them
14368 # here allows them to be overridden if necessary.
14369 runpath_var=LD_RUN_PATH
14370 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14371 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14372 # ancient GNU ld didn't support --whole-archive et. al.
14373 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14374 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14375 else
14376 whole_archive_flag_spec_F77=
14377 fi
14378 supports_anon_versioning=no
14379 case `$LD -v 2>/dev/null` in
14380 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14381 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14382 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14383 *\ 2.11.*) ;; # other 2.11 versions
14384 *) supports_anon_versioning=yes ;;
14385 esac
14386
1451114387 # See if GNU ld supports shared libraries.
1451214388 case $host_os in
1451314389 aix3* | aix4* | aix5*)
1455814434 allow_undefined_flag_F77=unsupported
1455914435 always_export_symbols_F77=no
1456014436 enable_shared_with_static_runtimes_F77=yes
14561 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14437 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1456214438
1456314439 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1456414440 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1457214448 fi~
1457314449 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1457414450 else
14575 ld_shlibs=no
14451 ld_shlibs_F77=no
14452 fi
14453 ;;
14454
14455 linux*)
14456 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14457 tmp_addflag=
14458 case $cc_basename,$host_cpu in
14459 pgcc*) # Portland Group C compiler
14460 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14461 tmp_addflag=' $pic_flag'
14462 ;;
14463 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14464 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14465 tmp_addflag=' $pic_flag -Mnomain' ;;
14466 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14467 tmp_addflag=' -i_dynamic' ;;
14468 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14469 tmp_addflag=' -i_dynamic -nofor_main' ;;
14470 ifc* | ifort*) # Intel Fortran compiler
14471 tmp_addflag=' -nofor_main' ;;
14472 esac
14473 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14474
14475 if test $supports_anon_versioning = yes; then
14476 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14477 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14478 $echo "local: *; };" >> $output_objdir/$libname.ver~
14479 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14480 fi
14481 link_all_deplibs_F77=no
14482 else
14483 ld_shlibs_F77=no
1457614484 fi
1457714485 ;;
1457814486
1461414522 hardcode_shlibpath_var_F77=no
1461514523 ;;
1461614524
14617 linux*)
14618 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14619 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14620 archive_cmds_F77="$tmp_archive_cmds"
14621 supports_anon_versioning=no
14622 case `$LD -v 2>/dev/null` in
14623 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14624 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14625 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14626 *\ 2.11.*) ;; # other 2.11 versions
14627 *) supports_anon_versioning=yes ;;
14628 esac
14629 if test $supports_anon_versioning = yes; then
14630 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14631 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14632 $echo "local: *; };" >> $output_objdir/$libname.ver~
14633 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14634 else
14635 archive_expsym_cmds_F77="$tmp_archive_cmds"
14636 fi
14637 link_all_deplibs_F77=no
14638 else
14639 ld_shlibs_F77=no
14640 fi
14641 ;;
14642
1464314525 *)
1464414526 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1464514527 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1465014532 ;;
1465114533 esac
1465214534
14653 if test "$ld_shlibs_F77" = yes; then
14654 runpath_var=LD_RUN_PATH
14655 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14656 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14657 # ancient GNU ld didn't support --whole-archive et. al.
14658 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14659 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14660 else
14661 whole_archive_flag_spec_F77=
14662 fi
14535 if test "$ld_shlibs_F77" = no; then
14536 runpath_var=
14537 hardcode_libdir_flag_spec_F77=
14538 export_dynamic_flag_spec_F77=
14539 whole_archive_flag_spec_F77=
1466314540 fi
1466414541 else
1466514542 # PORTME fill in a description of your system's linker (not GNU ld)
1472314600 link_all_deplibs_F77=yes
1472414601
1472514602 if test "$GCC" = yes; then
14726 case $host_os in aix4.012|aix4.012.*)
14603 case $host_os in aix4.[012]|aix4.[012].*)
1472714604 # We only want to do this on AIX 4.2 and lower, the check
1472814605 # below for broken collect2 doesn't work under 4.3+
1472914606 collect2name=`${CC} -print-prog-name=collect2`
1474414621 fi
1474514622 esac
1474614623 shared_flag='-shared'
14624 if test "$aix_use_runtimelinking" = yes; then
14625 shared_flag="$shared_flag "'${wl}-G'
14626 fi
1474714627 else
1474814628 # not using gcc
1474914629 if test "$host_cpu" = ia64; then
1486814748 # Exported symbols can be pulled into shared objects from archives
1486914749 whole_archive_flag_spec_F77=' '
1487014750 archive_cmds_need_lc_F77=yes
14871 # This is similar to how AIX traditionally builds it's shared libraries.
14751 # This is similar to how AIX traditionally builds its shared libraries.
1487214752 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1487314753 fi
1487414754 fi
1488214762 ld_shlibs_F77=no
1488314763 ;;
1488414764
14885 bsdi4*)
14765 bsdi[45]*)
1488614766 export_dynamic_flag_spec_F77=-rdynamic
1488714767 ;;
1488814768
1490314783 old_archive_From_new_cmds_F77='true'
1490414784 # FIXME: Should let the user specify the lib program.
1490514785 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14906 fix_srcfile_path='`cygpath -w "$srcfile"`'
14786 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
1490714787 enable_shared_with_static_runtimes_F77=yes
1490814788 ;;
1490914789
1491014790 darwin* | rhapsody*)
14911 if test "$GXX" = yes ; then
14791 case $host_os in
14792 rhapsody* | darwin1.[012])
14793 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14794 ;;
14795 *) # Darwin 1.3 on
14796 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14797 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14798 else
14799 case ${MACOSX_DEPLOYMENT_TARGET} in
14800 10.[012])
14801 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14802 ;;
14803 10.*)
14804 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14805 ;;
14806 esac
14807 fi
14808 ;;
14809 esac
1491214810 archive_cmds_need_lc_F77=no
14913 case "$host_os" in
14914 rhapsody* | darwin1.[012])
14915 allow_undefined_flag_F77='-undefined suppress'
14916 ;;
14917 *) # Darwin 1.3 on
14918 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14919 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14920 else
14921 case ${MACOSX_DEPLOYMENT_TARGET} in
14922 10.[012])
14923 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14924 ;;
14925 10.*)
14926 allow_undefined_flag_F77='-undefined dynamic_lookup'
14927 ;;
14928 esac
14929 fi
14930 ;;
14931 esac
14932 lt_int_apple_cc_single_mod=no
14933 output_verbose_link_cmd='echo'
14934 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14935 lt_int_apple_cc_single_mod=yes
14936 fi
14937 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14938 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14939 else
14940 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14941 fi
14942 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14943 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14944 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14945 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14946 else
14947 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14948 fi
14949 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1495014811 hardcode_direct_F77=no
1495114812 hardcode_automatic_F77=yes
1495214813 hardcode_shlibpath_var_F77=unsupported
14953 whole_archive_flag_spec_F77='-all_load $convenience'
14814 whole_archive_flag_spec_F77=''
1495414815 link_all_deplibs_F77=yes
14816 if test "$GCC" = yes ; then
14817 output_verbose_link_cmd='echo'
14818 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14819 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14820 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14821 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14822 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1495514823 else
14956 ld_shlibs_F77=no
14824 case $cc_basename in
14825 xlc*)
14826 output_verbose_link_cmd='echo'
14827 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14828 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14829 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14830 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14831 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14832 ;;
14833 *)
14834 ld_shlibs_F77=no
14835 ;;
14836 esac
1495714837 fi
1495814838 ;;
1495914839
1498714867 ;;
1498814868
1498914869 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14990 freebsd* | kfreebsd*-gnu)
14870 freebsd* | kfreebsd*-gnu | dragonfly*)
1499114871 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1499214872 hardcode_libdir_flag_spec_F77='-R$libdir'
1499314873 hardcode_direct_F77=yes
1501214892
1501314893 hpux10* | hpux11*)
1501414894 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15015 case "$host_cpu" in
14895 case $host_cpu in
1501614896 hppa*64*|ia64*)
1501714897 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1501814898 ;;
1502114901 ;;
1502214902 esac
1502314903 else
15024 case "$host_cpu" in
14904 case $host_cpu in
1502514905 hppa*64*|ia64*)
1502614906 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1502714907 ;;
1503114911 esac
1503214912 fi
1503314913 if test "$with_gnu_ld" = no; then
15034 case "$host_cpu" in
14914 case $host_cpu in
1503514915 hppa*64*)
1503614916 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
1503714917 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
1509814978 hardcode_shlibpath_var_F77=no
1509914979 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1510014980 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14981 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
1510114982 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
1510214983 export_dynamic_flag_spec_F77='${wl}-E'
1510314984 else
1514315024 allow_undefined_flag_F77=' -expect_unresolved \*'
1514415025 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1514515026 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15146 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
15027 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
1514715028
1514815029 # Both c and cxx compiler support -rpath directly
1514915030 hardcode_libdir_flag_spec_F77='-rpath $libdir'
1516215043 solaris*)
1516315044 no_undefined_flag_F77=' -z text'
1516415045 if test "$GCC" = yes; then
15046 wlarc='${wl}'
1516515047 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1516615048 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1516715049 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1516815050 else
15051 wlarc=''
1516915052 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1517015053 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1517115054 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1517415057 hardcode_shlibpath_var_F77=no
1517515058 case $host_os in
1517615059 solaris2.[0-5] | solaris2.[0-5].*) ;;
15177 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
15178 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15060 *)
15061 # The compiler driver will combine linker options so we
15062 # cannot just pass the convience library names through
15063 # without $wl, iff we do not link with $LD.
15064 # Luckily, gcc supports the same syntax we need for Sun Studio.
15065 # Supported since Solaris 2.6 (maybe 2.5.1?)
15066 case $wlarc in
15067 '')
15068 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15069 *)
15070 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15071 esac ;;
1517915072 esac
1518015073 link_all_deplibs_F77=yes
1518115074 ;;
1544915342 shlibpath_var=LIBRARY_PATH
1545015343 ;;
1545115344
15452 bsdi4*)
15345 bsdi[45]*)
1545315346 version_type=linux
1545415347 need_version=no
1545515348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1547715370 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1547815371 dldir=$destdir/`dirname \$dlpath`~
1547915372 test -d \$dldir || mkdir -p \$dldir~
15480 $install_prog $dir/$dlname \$dldir/$dlname'
15373 $install_prog $dir/$dlname \$dldir/$dlname~
15374 chmod a+x \$dldir/$dlname'
1548115375 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1548215376 dlpath=$dir/\$dldll~
1548315377 $rm \$dlpath'
1550715401 ;;
1550815402 pw32*)
1550915403 # pw32 DLLs use 'pw' prefix rather than 'lib'
15510 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15404 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1551115405 ;;
1551215406 esac
1551315407 ;;
1553015424 soname_spec='${libname}${release}${major}$shared_ext'
1553115425 shlibpath_overrides_runpath=yes
1553215426 shlibpath_var=DYLD_LIBRARY_PATH
15533 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
15427 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1553415428 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1553515429 if test "$GCC" = yes; then
1553615430 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1556515459 dynamic_linker='GNU ld.so'
1556615460 ;;
1556715461
15568 freebsd*)
15569 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15462 freebsd* | dragonfly*)
15463 # DragonFly does not have aout. When/if they implement a new
15464 # versioning mechanism, adjust this.
15465 if test -x /usr/bin/objformat; then
15466 objformat=`/usr/bin/objformat`
15467 else
15468 case $host_os in
15469 freebsd[123]*) objformat=aout ;;
15470 *) objformat=elf ;;
15471 esac
15472 fi
1557015473 version_type=freebsd-$objformat
1557115474 case $version_type in
1557215475 freebsd-elf*)
1558415487 freebsd2*)
1558515488 shlibpath_overrides_runpath=yes
1558615489 ;;
15587 freebsd3.01* | freebsdelf3.01*)
15490 freebsd3.[01]* | freebsdelf3.[01]*)
1558815491 shlibpath_overrides_runpath=yes
1558915492 hardcode_into_libs=yes
1559015493 ;;
1561115514 version_type=sunos
1561215515 need_lib_prefix=no
1561315516 need_version=no
15614 case "$host_cpu" in
15517 case $host_cpu in
1561515518 ia64*)
1561615519 shrext_cmds='.so'
1561715520 hardcode_into_libs=yes
1571015613
1571115614 # Append ld.so.conf contents to the search path
1571215615 if test -f /etc/ld.so.conf; then
15713 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
15616 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1571415617 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1571515618 fi
1571615619
1578515688 openbsd*)
1578615689 version_type=sunos
1578715690 need_lib_prefix=no
15788 need_version=yes
15691 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15692 case $host_os in
15693 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15694 *) need_version=no ;;
15695 esac
1578915696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1579015697 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1579115698 shlibpath_var=LD_LIBRARY_PATH
1590715814 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1590815815 hardcode_action_F77=
1590915816 if test -n "$hardcode_libdir_flag_spec_F77" || \
15910 test -n "$runpath_var F77" || \
15911 test "X$hardcode_automatic_F77"="Xyes" ; then
15817 test -n "$runpath_var_F77" || \
15818 test "X$hardcode_automatic_F77" = "Xyes" ; then
1591215819
1591315820 # We can hardcode non-existant directories.
1591415821 if test "$hardcode_direct_F77" != no &&
1608515992 # The host system.
1608615993 host_alias=$host_alias
1608715994 host=$host
15995 host_os=$host_os
15996
15997 # The build system.
15998 build_alias=$build_alias
15999 build=$build
16000 build_os=$build_os
1608816001
1608916002 # An echo program that does not interpret backslashes.
1609016003 echo=$lt_echo
1616116074 # Does compiler simultaneously support -c and -o options?
1616216075 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
1616316076
16164 # Must we lock files when doing compilation ?
16077 # Must we lock files when doing compilation?
1616516078 need_locks=$lt_need_locks
1616616079
1616716080 # Do we need the lib prefix for modules?
1639916312 lt_simple_compile_test_code="class foo {}\n"
1640016313
1640116314 # Code to be used in simple link tests
16402 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
16315 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
1640316316
1640416317 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
1640516318
1640816321
1640916322 # Allow CC to be a program name with arguments.
1641016323 compiler=$CC
16324
16325
16326 # save warnings/boilerplate of simple test code
16327 ac_outfile=conftest.$ac_objext
16328 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16329 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16330 _lt_compiler_boilerplate=`cat conftest.err`
16331 $rm conftest*
16332
16333 ac_outfile=conftest.$ac_objext
16334 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16335 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16336 _lt_linker_boilerplate=`cat conftest.err`
16337 $rm conftest*
1641116338
1641216339
1641316340 # Allow CC to be a program name with arguments.
1641516342 CC=${GCJ-"gcj"}
1641616343 compiler=$CC
1641716344 compiler_GCJ=$CC
16345 for cc_temp in $compiler""; do
16346 case $cc_temp in
16347 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16348 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16349 \-*) ;;
16350 *) break;;
16351 esac
16352 done
16353 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16354
1641816355
1641916356 # GCJ did not exist at the time GCC didn't implicitly link libc in.
1642016357 archive_cmds_need_lc_GCJ=no
16358
16359 old_archive_cmds_GCJ=$old_archive_cmds
1642116360
1642216361
1642316362 lt_prog_compiler_no_builtin_flag_GCJ=
1644116380 # with a dollar sign (not a hyphen), so the echo should work correctly.
1644216381 # The option is referenced via a variable to avoid confusing sed.
1644316382 lt_compile=`echo "$ac_compile" | $SED \
16444 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1644516384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1644616385 -e 's:$: $lt_compiler_flag:'`
16447 (eval echo "\"\$as_me:16448: $lt_compile\"" >&5)
16386 (eval echo "\"\$as_me:16387: $lt_compile\"" >&5)
1644816387 (eval "$lt_compile" 2>conftest.err)
1644916388 ac_status=$?
1645016389 cat conftest.err >&5
16451 echo "$as_me:16452: \$? = $ac_status" >&5
16390 echo "$as_me:16391: \$? = $ac_status" >&5
1645216391 if (exit $ac_status) && test -s "$ac_outfile"; then
1645316392 # The compiler can only warn and ignore the option if not recognized
16454 # So say no if there are warnings
16455 if test ! -s conftest.err; then
16393 # So say no if there are warnings other than the usual output.
16394 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16395 $SED '/^$/d' conftest.err >conftest.er2
16396 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1645616397 lt_cv_prog_compiler_rtti_exceptions=yes
1645716398 fi
1645816399 fi
1652916470 hpux*)
1653016471 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1653116472 # not for PA HP-UX.
16532 case "$host_cpu" in
16473 case $host_cpu in
1653316474 hppa*64*|ia64*)
1653416475 # +Z the default
1653516476 ;;
1655516496 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
1655616497 fi
1655716498 ;;
16499 darwin*)
16500 # PIC is the default on this platform
16501 # Common symbols not allowed in MH_DYLIB files
16502 case $cc_basename in
16503 xlc*)
16504 lt_prog_compiler_pic_GCJ='-qnocommon'
16505 lt_prog_compiler_wl_GCJ='-Wl,'
16506 ;;
16507 esac
16508 ;;
1655816509
1655916510 mingw* | pw32* | os2*)
1656016511 # This hack is so that the source file can tell whether it is being
1656616517 lt_prog_compiler_wl_GCJ='-Wl,'
1656716518 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1656816519 # not for PA HP-UX.
16569 case "$host_cpu" in
16520 case $host_cpu in
1657016521 hppa*64*|ia64*)
1657116522 # +Z the default
1657216523 ;;
1659016541 ;;
1659116542
1659216543 linux*)
16593 case $CC in
16544 case $cc_basename in
1659416545 icc* | ecc*)
1659516546 lt_prog_compiler_wl_GCJ='-Wl,'
1659616547 lt_prog_compiler_pic_GCJ='-KPIC'
1659716548 lt_prog_compiler_static_GCJ='-static'
16549 ;;
16550 pgcc* | pgf77* | pgf90* | pgf95*)
16551 # Portland Group compilers (*not* the Pentium gcc compiler,
16552 # which looks to be a dead project)
16553 lt_prog_compiler_wl_GCJ='-Wl,'
16554 lt_prog_compiler_pic_GCJ='-fpic'
16555 lt_prog_compiler_static_GCJ='-Bstatic'
1659816556 ;;
1659916557 ccc*)
1660016558 lt_prog_compiler_wl_GCJ='-Wl,'
1661616574 ;;
1661716575
1661816576 solaris*)
16619 lt_prog_compiler_wl_GCJ='-Wl,'
1662016577 lt_prog_compiler_pic_GCJ='-KPIC'
1662116578 lt_prog_compiler_static_GCJ='-Bstatic'
16579 case $cc_basename in
16580 f77* | f90* | f95*)
16581 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16582 *)
16583 lt_prog_compiler_wl_GCJ='-Wl,';;
16584 esac
1662216585 ;;
1662316586
1662416587 sunos4*)
1663816601 lt_prog_compiler_pic_GCJ='-Kconform_pic'
1663916602 lt_prog_compiler_static_GCJ='-Bstatic'
1664016603 fi
16604 ;;
16605
16606 unicos*)
16607 lt_prog_compiler_wl_GCJ='-Wl,'
16608 lt_prog_compiler_can_build_shared_GCJ=no
1664116609 ;;
1664216610
1664316611 uts4*)
1667416642 # with a dollar sign (not a hyphen), so the echo should work correctly.
1667516643 # The option is referenced via a variable to avoid confusing sed.
1667616644 lt_compile=`echo "$ac_compile" | $SED \
16677 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1667816646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1667916647 -e 's:$: $lt_compiler_flag:'`
16680 (eval echo "\"\$as_me:16681: $lt_compile\"" >&5)
16648 (eval echo "\"\$as_me:16649: $lt_compile\"" >&5)
1668116649 (eval "$lt_compile" 2>conftest.err)
1668216650 ac_status=$?
1668316651 cat conftest.err >&5
16684 echo "$as_me:16685: \$? = $ac_status" >&5
16652 echo "$as_me:16653: \$? = $ac_status" >&5
1668516653 if (exit $ac_status) && test -s "$ac_outfile"; then
1668616654 # The compiler can only warn and ignore the option if not recognized
16687 # So say no if there are warnings
16688 if test ! -s conftest.err; then
16655 # So say no if there are warnings other than the usual output.
16656 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16657 $SED '/^$/d' conftest.err >conftest.er2
16658 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
1668916659 lt_prog_compiler_pic_works_GCJ=yes
1669016660 fi
1669116661 fi
1670616676 fi
1670716677
1670816678 fi
16709 case "$host_os" in
16679 case $host_os in
1671016680 # For platforms which do not support PIC, -DPIC is meaningless:
1671116681 *djgpp*)
1671216682 lt_prog_compiler_pic_GCJ=
1673416704 # Note that $ac_compile itself does not contain backslashes and begins
1673516705 # with a dollar sign (not a hyphen), so the echo should work correctly.
1673616706 lt_compile=`echo "$ac_compile" | $SED \
16737 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1673816708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1673916709 -e 's:$: $lt_compiler_flag:'`
16740 (eval echo "\"\$as_me:16741: $lt_compile\"" >&5)
16710 (eval echo "\"\$as_me:16711: $lt_compile\"" >&5)
1674116711 (eval "$lt_compile" 2>out/conftest.err)
1674216712 ac_status=$?
1674316713 cat out/conftest.err >&5
16744 echo "$as_me:16745: \$? = $ac_status" >&5
16714 echo "$as_me:16715: \$? = $ac_status" >&5
1674516715 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1674616716 then
1674716717 # The compiler can only warn and ignore the option if not recognized
1674816718 # So say no if there are warnings
16749 if test ! -s out/conftest.err; then
16719 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
16720 $SED '/^$/d' out/conftest.err >out/conftest.er2
16721 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1675016722 lt_cv_prog_compiler_c_o_GCJ=yes
1675116723 fi
1675216724 fi
16753 chmod u+w .
16725 chmod u+w . 2>&5
1675416726 $rm conftest*
1675516727 # SGI C++ compiler will create directory out/ii_files/ for
1675616728 # template instantiation
1682616798 # rely on this symbol name, it's probably fine to never include it in
1682716799 # preloaded symbol tables.
1682816800 extract_expsyms_cmds=
16801 # Just being paranoid about ensuring that cc_basename is set.
16802 for cc_temp in $compiler""; do
16803 case $cc_temp in
16804 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16805 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16806 \-*) ;;
16807 *) break;;
16808 esac
16809 done
16810 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1682916811
1683016812 case $host_os in
1683116813 cygwin* | mingw* | pw32*)
1684616828 # If archive_cmds runs LD, not CC, wlarc should be empty
1684716829 wlarc='${wl}'
1684816830
16831 # Set some defaults for GNU ld with shared library support. These
16832 # are reset later if shared libraries are not supported. Putting them
16833 # here allows them to be overridden if necessary.
16834 runpath_var=LD_RUN_PATH
16835 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16836 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16837 # ancient GNU ld didn't support --whole-archive et. al.
16838 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16839 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16840 else
16841 whole_archive_flag_spec_GCJ=
16842 fi
16843 supports_anon_versioning=no
16844 case `$LD -v 2>/dev/null` in
16845 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16846 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16847 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16848 *\ 2.11.*) ;; # other 2.11 versions
16849 *) supports_anon_versioning=yes ;;
16850 esac
16851
1684916852 # See if GNU ld supports shared libraries.
1685016853 case $host_os in
1685116854 aix3* | aix4* | aix5*)
1689616899 allow_undefined_flag_GCJ=unsupported
1689716900 always_export_symbols_GCJ=no
1689816901 enable_shared_with_static_runtimes_GCJ=yes
16899 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16902 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
1690016903
1690116904 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1690216905 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1691016913 fi~
1691116914 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1691216915 else
16913 ld_shlibs=no
16916 ld_shlibs_GCJ=no
16917 fi
16918 ;;
16919
16920 linux*)
16921 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16922 tmp_addflag=
16923 case $cc_basename,$host_cpu in
16924 pgcc*) # Portland Group C compiler
16925 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16926 tmp_addflag=' $pic_flag'
16927 ;;
16928 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16929 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16930 tmp_addflag=' $pic_flag -Mnomain' ;;
16931 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16932 tmp_addflag=' -i_dynamic' ;;
16933 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16934 tmp_addflag=' -i_dynamic -nofor_main' ;;
16935 ifc* | ifort*) # Intel Fortran compiler
16936 tmp_addflag=' -nofor_main' ;;
16937 esac
16938 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16939
16940 if test $supports_anon_versioning = yes; then
16941 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16942 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16943 $echo "local: *; };" >> $output_objdir/$libname.ver~
16944 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16945 fi
16946 link_all_deplibs_GCJ=no
16947 else
16948 ld_shlibs_GCJ=no
1691416949 fi
1691516950 ;;
1691616951
1695216987 hardcode_shlibpath_var_GCJ=no
1695316988 ;;
1695416989
16955 linux*)
16956 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16957 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16958 archive_cmds_GCJ="$tmp_archive_cmds"
16959 supports_anon_versioning=no
16960 case `$LD -v 2>/dev/null` in
16961 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16962 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16963 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16964 *\ 2.11.*) ;; # other 2.11 versions
16965 *) supports_anon_versioning=yes ;;
16966 esac
16967 if test $supports_anon_versioning = yes; then
16968 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16970 $echo "local: *; };" >> $output_objdir/$libname.ver~
16971 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16972 else
16973 archive_expsym_cmds_GCJ="$tmp_archive_cmds"
16974 fi
16975 link_all_deplibs_GCJ=no
16976 else
16977 ld_shlibs_GCJ=no
16978 fi
16979 ;;
16980
1698116990 *)
1698216991 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1698316992 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1698816997 ;;
1698916998 esac
1699016999
16991 if test "$ld_shlibs_GCJ" = yes; then
16992 runpath_var=LD_RUN_PATH
16993 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16994 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16995 # ancient GNU ld didn't support --whole-archive et. al.
16996 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16997 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16998 else
16999 whole_archive_flag_spec_GCJ=
17000 fi
17000 if test "$ld_shlibs_GCJ" = no; then
17001 runpath_var=
17002 hardcode_libdir_flag_spec_GCJ=
17003 export_dynamic_flag_spec_GCJ=
17004 whole_archive_flag_spec_GCJ=
1700117005 fi
1700217006 else
1700317007 # PORTME fill in a description of your system's linker (not GNU ld)
1706117065 link_all_deplibs_GCJ=yes
1706217066
1706317067 if test "$GCC" = yes; then
17064 case $host_os in aix4.012|aix4.012.*)
17068 case $host_os in aix4.[012]|aix4.[012].*)
1706517069 # We only want to do this on AIX 4.2 and lower, the check
1706617070 # below for broken collect2 doesn't work under 4.3+
1706717071 collect2name=`${CC} -print-prog-name=collect2`
1708217086 fi
1708317087 esac
1708417088 shared_flag='-shared'
17089 if test "$aix_use_runtimelinking" = yes; then
17090 shared_flag="$shared_flag "'${wl}-G'
17091 fi
1708517092 else
1708617093 # not using gcc
1708717094 if test "$host_cpu" = ia64; then
1722617233 # Exported symbols can be pulled into shared objects from archives
1722717234 whole_archive_flag_spec_GCJ=' '
1722817235 archive_cmds_need_lc_GCJ=yes
17229 # This is similar to how AIX traditionally builds it's shared libraries.
17236 # This is similar to how AIX traditionally builds its shared libraries.
1723017237 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1723117238 fi
1723217239 fi
1724017247 ld_shlibs_GCJ=no
1724117248 ;;
1724217249
17243 bsdi4*)
17250 bsdi[45]*)
1724417251 export_dynamic_flag_spec_GCJ=-rdynamic
1724517252 ;;
1724617253
1726117268 old_archive_From_new_cmds_GCJ='true'
1726217269 # FIXME: Should let the user specify the lib program.
1726317270 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17264 fix_srcfile_path='`cygpath -w "$srcfile"`'
17271 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
1726517272 enable_shared_with_static_runtimes_GCJ=yes
1726617273 ;;
1726717274
1726817275 darwin* | rhapsody*)
17269 if test "$GXX" = yes ; then
17276 case $host_os in
17277 rhapsody* | darwin1.[012])
17278 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17279 ;;
17280 *) # Darwin 1.3 on
17281 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17282 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17283 else
17284 case ${MACOSX_DEPLOYMENT_TARGET} in
17285 10.[012])
17286 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17287 ;;
17288 10.*)
17289 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17290 ;;
17291 esac
17292 fi
17293 ;;
17294 esac
1727017295 archive_cmds_need_lc_GCJ=no
17271 case "$host_os" in
17272 rhapsody* | darwin1.[012])
17273 allow_undefined_flag_GCJ='-undefined suppress'
17274 ;;
17275 *) # Darwin 1.3 on
17276 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17277 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
17278 else
17279 case ${MACOSX_DEPLOYMENT_TARGET} in
17280 10.[012])
17281 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
17282 ;;
17283 10.*)
17284 allow_undefined_flag_GCJ='-undefined dynamic_lookup'
17285 ;;
17286 esac
17287 fi
17288 ;;
17289 esac
17290 lt_int_apple_cc_single_mod=no
17291 output_verbose_link_cmd='echo'
17292 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17293 lt_int_apple_cc_single_mod=yes
17294 fi
17295 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17296 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17297 else
17298 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17299 fi
17300 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17301 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17302 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17303 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17304 else
17305 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17306 fi
17307 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1730817296 hardcode_direct_GCJ=no
1730917297 hardcode_automatic_GCJ=yes
1731017298 hardcode_shlibpath_var_GCJ=unsupported
17311 whole_archive_flag_spec_GCJ='-all_load $convenience'
17299 whole_archive_flag_spec_GCJ=''
1731217300 link_all_deplibs_GCJ=yes
17301 if test "$GCC" = yes ; then
17302 output_verbose_link_cmd='echo'
17303 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17304 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17305 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17306 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17307 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
1731317308 else
17314 ld_shlibs_GCJ=no
17309 case $cc_basename in
17310 xlc*)
17311 output_verbose_link_cmd='echo'
17312 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17313 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17314 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17315 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17316 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17317 ;;
17318 *)
17319 ld_shlibs_GCJ=no
17320 ;;
17321 esac
1731517322 fi
1731617323 ;;
1731717324
1734517352 ;;
1734617353
1734717354 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17348 freebsd* | kfreebsd*-gnu)
17355 freebsd* | kfreebsd*-gnu | dragonfly*)
1734917356 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1735017357 hardcode_libdir_flag_spec_GCJ='-R$libdir'
1735117358 hardcode_direct_GCJ=yes
1737017377
1737117378 hpux10* | hpux11*)
1737217379 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17373 case "$host_cpu" in
17380 case $host_cpu in
1737417381 hppa*64*|ia64*)
1737517382 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1737617383 ;;
1737917386 ;;
1738017387 esac
1738117388 else
17382 case "$host_cpu" in
17389 case $host_cpu in
1738317390 hppa*64*|ia64*)
1738417391 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1738517392 ;;
1738917396 esac
1739017397 fi
1739117398 if test "$with_gnu_ld" = no; then
17392 case "$host_cpu" in
17399 case $host_cpu in
1739317400 hppa*64*)
1739417401 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
1739517402 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
1745617463 hardcode_shlibpath_var_GCJ=no
1745717464 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1745817465 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17466 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
1745917467 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
1746017468 export_dynamic_flag_spec_GCJ='${wl}-E'
1746117469 else
1750117509 allow_undefined_flag_GCJ=' -expect_unresolved \*'
1750217510 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
1750317511 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17504 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17512 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
1750517513
1750617514 # Both c and cxx compiler support -rpath directly
1750717515 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
1752017528 solaris*)
1752117529 no_undefined_flag_GCJ=' -z text'
1752217530 if test "$GCC" = yes; then
17531 wlarc='${wl}'
1752317532 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1752417533 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1752517534 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
1752617535 else
17536 wlarc=''
1752717537 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1752817538 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1752917539 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1753217542 hardcode_shlibpath_var_GCJ=no
1753317543 case $host_os in
1753417544 solaris2.[0-5] | solaris2.[0-5].*) ;;
17535 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
17536 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17545 *)
17546 # The compiler driver will combine linker options so we
17547 # cannot just pass the convience library names through
17548 # without $wl, iff we do not link with $LD.
17549 # Luckily, gcc supports the same syntax we need for Sun Studio.
17550 # Supported since Solaris 2.6 (maybe 2.5.1?)
17551 case $wlarc in
17552 '')
17553 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17554 *)
17555 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17556 esac ;;
1753717557 esac
1753817558 link_all_deplibs_GCJ=yes
1753917559 ;;
1780717827 shlibpath_var=LIBRARY_PATH
1780817828 ;;
1780917829
17810 bsdi4*)
17830 bsdi[45]*)
1781117831 version_type=linux
1781217832 need_version=no
1781317833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1783517855 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1783617856 dldir=$destdir/`dirname \$dlpath`~
1783717857 test -d \$dldir || mkdir -p \$dldir~
17838 $install_prog $dir/$dlname \$dldir/$dlname'
17858 $install_prog $dir/$dlname \$dldir/$dlname~
17859 chmod a+x \$dldir/$dlname'
1783917860 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1784017861 dlpath=$dir/\$dldll~
1784117862 $rm \$dlpath'
1786517886 ;;
1786617887 pw32*)
1786717888 # pw32 DLLs use 'pw' prefix rather than 'lib'
17868 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17889 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1786917890 ;;
1787017891 esac
1787117892 ;;
1788817909 soname_spec='${libname}${release}${major}$shared_ext'
1788917910 shlibpath_overrides_runpath=yes
1789017911 shlibpath_var=DYLD_LIBRARY_PATH
17891 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17912 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1789217913 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1789317914 if test "$GCC" = yes; then
1789417915 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1792317944 dynamic_linker='GNU ld.so'
1792417945 ;;
1792517946
17926 freebsd*)
17927 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17947 freebsd* | dragonfly*)
17948 # DragonFly does not have aout. When/if they implement a new
17949 # versioning mechanism, adjust this.
17950 if test -x /usr/bin/objformat; then
17951 objformat=`/usr/bin/objformat`
17952 else
17953 case $host_os in
17954 freebsd[123]*) objformat=aout ;;
17955 *) objformat=elf ;;
17956 esac
17957 fi
1792817958 version_type=freebsd-$objformat
1792917959 case $version_type in
1793017960 freebsd-elf*)
1794217972 freebsd2*)
1794317973 shlibpath_overrides_runpath=yes
1794417974 ;;
17945 freebsd3.01* | freebsdelf3.01*)
17975 freebsd3.[01]* | freebsdelf3.[01]*)
1794617976 shlibpath_overrides_runpath=yes
1794717977 hardcode_into_libs=yes
1794817978 ;;
1796917999 version_type=sunos
1797018000 need_lib_prefix=no
1797118001 need_version=no
17972 case "$host_cpu" in
18002 case $host_cpu in
1797318003 ia64*)
1797418004 shrext_cmds='.so'
1797518005 hardcode_into_libs=yes
1806818098
1806918099 # Append ld.so.conf contents to the search path
1807018100 if test -f /etc/ld.so.conf; then
18071 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
18101 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1807218102 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1807318103 fi
1807418104
1814318173 openbsd*)
1814418174 version_type=sunos
1814518175 need_lib_prefix=no
18146 need_version=yes
18176 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18177 case $host_os in
18178 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18179 *) need_version=no ;;
18180 esac
1814718181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1814818182 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1814918183 shlibpath_var=LD_LIBRARY_PATH
1826518299 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
1826618300 hardcode_action_GCJ=
1826718301 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18268 test -n "$runpath_var GCJ" || \
18269 test "X$hardcode_automatic_GCJ"="Xyes" ; then
18302 test -n "$runpath_var_GCJ" || \
18303 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
1827018304
1827118305 # We can hardcode non-existant directories.
1827218306 if test "$hardcode_direct_GCJ" != no &&
1892518959 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1892618960 lt_status=$lt_dlunknown
1892718961 cat > conftest.$ac_ext <<EOF
18928 #line 18929 "configure"
18962 #line 18963 "configure"
1892918963 #include "confdefs.h"
1893018964
1893118965 #if HAVE_DLFCN_H
1899119025 ac_status=$?
1899219026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899319027 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18994 (./conftest; exit; ) 2>/dev/null
19028 (./conftest; exit; ) >&5 2>/dev/null
1899519029 lt_status=$?
1899619030 case x$lt_status in
1899719031 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
1902319057 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1902419058 lt_status=$lt_dlunknown
1902519059 cat > conftest.$ac_ext <<EOF
19026 #line 19027 "configure"
19060 #line 19061 "configure"
1902719061 #include "confdefs.h"
1902819062
1902919063 #if HAVE_DLFCN_H
1908919123 ac_status=$?
1909019124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1909119125 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19092 (./conftest; exit; ) 2>/dev/null
19126 (./conftest; exit; ) >&5 2>/dev/null
1909319127 lt_status=$?
1909419128 case x$lt_status in
1909519129 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
1924119275 # The host system.
1924219276 host_alias=$host_alias
1924319277 host=$host
19278 host_os=$host_os
19279
19280 # The build system.
19281 build_alias=$build_alias
19282 build=$build
19283 build_os=$build_os
1924419284
1924519285 # An echo program that does not interpret backslashes.
1924619286 echo=$lt_echo
1931719357 # Does compiler simultaneously support -c and -o options?
1931819358 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
1931919359
19320 # Must we lock files when doing compilation ?
19360 # Must we lock files when doing compilation?
1932119361 need_locks=$lt_need_locks
1932219362
1932319363 # Do we need the lib prefix for modules?
1956519605 compiler=$CC
1956619606
1956719607
19608 # save warnings/boilerplate of simple test code
19609 ac_outfile=conftest.$ac_objext
19610 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19611 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19612 _lt_compiler_boilerplate=`cat conftest.err`
19613 $rm conftest*
19614
19615 ac_outfile=conftest.$ac_objext
19616 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19617 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19618 _lt_linker_boilerplate=`cat conftest.err`
19619 $rm conftest*
19620
19621
1956819622 # Allow CC to be a program name with arguments.
1956919623 lt_save_CC="$CC"
1957019624 CC=${RC-"windres"}
1957119625 compiler=$CC
1957219626 compiler_RC=$CC
19627 for cc_temp in $compiler""; do
19628 case $cc_temp in
19629 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19630 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19631 \-*) ;;
19632 *) break;;
19633 esac
19634 done
19635 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19636
1957319637 lt_cv_prog_compiler_c_o_RC=yes
1957419638
1957519639 # The else clause should only fire when bootstrapping the
1968619750 # The host system.
1968719751 host_alias=$host_alias
1968819752 host=$host
19753 host_os=$host_os
19754
19755 # The build system.
19756 build_alias=$build_alias
19757 build=$build
19758 build_os=$build_os
1968919759
1969019760 # An echo program that does not interpret backslashes.
1969119761 echo=$lt_echo
1976219832 # Does compiler simultaneously support -c and -o options?
1976319833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
1976419834
19765 # Must we lock files when doing compilation ?
19835 # Must we lock files when doing compilation?
1976619836 need_locks=$lt_need_locks
1976719837
1976819838 # Do we need the lib prefix for modules?
2005820128 MAINTAINER_MODE_TRUE='#'
2005920129 MAINTAINER_MODE_FALSE=
2006020130 fi
20061
2006220131 MAINT=$MAINTAINER_MODE_TRUE
2006320132
2006420133
2030820377 PA_TOS=`fpc -iTO`
2030920378 PA_MODULES_PATH="/usr/lib/fpc/$PA_VERSION/units/$PA_TPR-$PA_TOS"
2031020379
20380
2031120381 fi
2031220382
2031320383
2031920389 WITH_PASCAL_TRUE='#'
2032020390 WITH_PASCAL_FALSE=
2032120391 fi
20322
2032320392
2032420393
2032520394 build_python=no
2039420463
2039520464
2039620465
20466
2039720467 if test "x$have_swig" = "xno"; then
2039820468 build_python=no
2039920469 fi
2041320483 WITH_PYTHON_TRUE='#'
2041420484 WITH_PYTHON_FALSE=
2041520485 fi
20416
2041720486
2041820487
2041920488 build_perl=no
2050820577 WITH_PERL_TRUE='#'
2050920578 WITH_PERL_FALSE=
2051020579 fi
20511
2051220580
2051320581
2051420582
2703727105 fi
2703827106
2703927107
27040
2704127108 build_hcal=yes
2704227109
2704327110 # Check whether --enable-hcal or --disable-hcal was given.
2706327130
2706427131
2706527132
27066
27067 ac_config_files="$ac_config_files Makefile libhdate.spec libhdate.pc intl/Makefile po/Makefile.in src/Makefile examples/Makefile examples/hcal/Makefile examples/ical/Makefile examples/html/Makefile examples/hebcal/Makefile examples/bindings/Makefile bindings/Makefile bindings/python/Makefile bindings/perl/Makefile bindings/pascal/Makefile debian/Makefile"
27133 ac_config_files="$ac_config_files Makefile libhdate.spec libhdate.pc intl/Makefile po/Makefile.in src/Makefile examples/Makefile examples/hcal/Makefile examples/ical/Makefile examples/html/Makefile examples/hebcal/Makefile examples/bindings/Makefile bindings/Makefile bindings/python/Makefile bindings/perl/Makefile bindings/pascal/Makefile"
2706827134 cat >confcache <<\_ACEOF
2706927135 # This file is a shell script that caches the results of configure
2707027136 # tests run on this system so they can be shared between configure
2718727253 LTLIBOBJS=$ac_ltlibobjs
2718827254
2718927255
27190 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27191 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27192 Usually this means the macro was only invoked conditionally." >&5
27193 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27194 Usually this means the macro was only invoked conditionally." >&2;}
27195 { (exit 1); exit 1; }; }
27196 fi
27197 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27198 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27199 Usually this means the macro was only invoked conditionally." >&5
27200 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27201 Usually this means the macro was only invoked conditionally." >&2;}
27202 { (exit 1); exit 1; }; }
27203 fi
27204 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27205 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27206 Usually this means the macro was only invoked conditionally." >&5
27207 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27208 Usually this means the macro was only invoked conditionally." >&2;}
27209 { (exit 1); exit 1; }; }
27210 fi
27211 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27212 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27213 Usually this means the macro was only invoked conditionally." >&5
27214 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27215 Usually this means the macro was only invoked conditionally." >&2;}
27216 { (exit 1); exit 1; }; }
27217 fi
27218 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27219 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27220 Usually this means the macro was only invoked conditionally." >&5
27221 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27222 Usually this means the macro was only invoked conditionally." >&2;}
27223 { (exit 1); exit 1; }; }
27224 fi
27225 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27226 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27227 Usually this means the macro was only invoked conditionally." >&5
27228 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27229 Usually this means the macro was only invoked conditionally." >&2;}
27230 { (exit 1); exit 1; }; }
27231 fi
27232 if test -z "${WITH_PASCAL_TRUE}" && test -z "${WITH_PASCAL_FALSE}"; then
27233 { { echo "$as_me:$LINENO: error: conditional \"WITH_PASCAL\" was never defined.
27234 Usually this means the macro was only invoked conditionally." >&5
27235 echo "$as_me: error: conditional \"WITH_PASCAL\" was never defined.
27236 Usually this means the macro was only invoked conditionally." >&2;}
27237 { (exit 1); exit 1; }; }
27238 fi
27239 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
27240 { { echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
27241 Usually this means the macro was only invoked conditionally." >&5
27242 echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
27243 Usually this means the macro was only invoked conditionally." >&2;}
27244 { (exit 1); exit 1; }; }
27245 fi
27246 if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
27247 { { echo "$as_me:$LINENO: error: conditional \"WITH_PERL\" was never defined.
27248 Usually this means the macro was only invoked conditionally." >&5
27249 echo "$as_me: error: conditional \"WITH_PERL\" was never defined.
27250 Usually this means the macro was only invoked conditionally." >&2;}
27251 { (exit 1); exit 1; }; }
27252 fi
27253 if test -z "${WITH_EXAMPLES_TRUE}" && test -z "${WITH_EXAMPLES_FALSE}"; then
27254 { { echo "$as_me:$LINENO: error: conditional \"WITH_EXAMPLES\" was never defined.
27255 Usually this means the macro was only invoked conditionally." >&5
27256 echo "$as_me: error: conditional \"WITH_EXAMPLES\" was never defined.
27257 Usually this means the macro was only invoked conditionally." >&2;}
27258 { (exit 1); exit 1; }; }
27259 fi
27260 if test -z "${WITH_HCAL_TRUE}" && test -z "${WITH_HCAL_FALSE}"; then
27261 { { echo "$as_me:$LINENO: error: conditional \"WITH_HCAL\" was never defined.
27262 Usually this means the macro was only invoked conditionally." >&5
27263 echo "$as_me: error: conditional \"WITH_HCAL\" was never defined.
27264 Usually this means the macro was only invoked conditionally." >&2;}
27265 { (exit 1); exit 1; }; }
27266 fi
2726727256
2726827257 : ${CONFIG_STATUS=./config.status}
2726927258 ac_clean_files_save=$ac_clean_files
2769227681 # INIT-COMMANDS section.
2769327682 #
2769427683
27695 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
2769627684 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
2769727685 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
2769827686 # from automake.
2772627714 "bindings/python/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/python/Makefile" ;;
2772727715 "bindings/perl/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/perl/Makefile" ;;
2772827716 "bindings/pascal/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/pascal/Makefile" ;;
27729 "debian/Makefile" ) CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
27730 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
2773127717 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
2773227718 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2773327719 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2781727803 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2781827804 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2781927805 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27820 s,@CYGPATH_W@,$CYGPATH_W,;t t
2782127806 s,@PACKAGE@,$PACKAGE,;t t
2782227807 s,@VERSION@,$VERSION,;t t
2782327808 s,@ACLOCAL@,$ACLOCAL,;t t
2782527810 s,@AUTOMAKE@,$AUTOMAKE,;t t
2782627811 s,@AUTOHEADER@,$AUTOHEADER,;t t
2782727812 s,@MAKEINFO@,$MAKEINFO,;t t
27828 s,@AMTAR@,$AMTAR,;t t
27829 s,@install_sh@,$install_sh,;t t
27830 s,@STRIP@,$STRIP,;t t
27831 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
27832 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
27833 s,@AWK@,$AWK,;t t
2783427813 s,@SET_MAKE@,$SET_MAKE,;t t
27835 s,@am__leading_dot@,$am__leading_dot,;t t
2783627814 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2783727815 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2783827816 s,@MAINT@,$MAINT,;t t
2784327821 s,@ac_ct_CC@,$ac_ct_CC,;t t
2784427822 s,@EXEEXT@,$EXEEXT,;t t
2784527823 s,@OBJEXT@,$OBJEXT,;t t
27846 s,@DEPDIR@,$DEPDIR,;t t
27847 s,@am__include@,$am__include,;t t
27848 s,@am__quote@,$am__quote,;t t
27849 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
27850 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
27851 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
27852 s,@CCDEPMODE@,$CCDEPMODE,;t t
27853 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
27854 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
2785527824 s,@LN_S@,$LN_S,;t t
2785627825 s,@CPP@,$CPP,;t t
2785727826 s,@EGREP@,$EGREP,;t t
2786827837 s,@ac_ct_AR@,$ac_ct_AR,;t t
2786927838 s,@RANLIB@,$RANLIB,;t t
2787027839 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
27840 s,@STRIP@,$STRIP,;t t
27841 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2787127842 s,@CXX@,$CXX,;t t
2787227843 s,@CXXFLAGS@,$CXXFLAGS,;t t
2787327844 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
27874 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
27875 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
27876 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
2787727845 s,@CXXCPP@,$CXXCPP,;t t
2787827846 s,@F77@,$F77,;t t
2787927847 s,@FFLAGS@,$FFLAGS,;t t
2788227850 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
2788327851 s,@have_swig@,$have_swig,;t t
2788427852 s,@have_pascal@,$have_pascal,;t t
27853 s,@PA_VERSION@,$PA_VERSION,;t t
2788527854 s,@PA_MODULES_PATH@,$PA_MODULES_PATH,;t t
2788627855 s,@WITH_PASCAL_TRUE@,$WITH_PASCAL_TRUE,;t t
2788727856 s,@WITH_PASCAL_FALSE@,$WITH_PASCAL_FALSE,;t t
2788827857 s,@have_python@,$have_python,;t t
27858 s,@PY_VERSION@,$PY_VERSION,;t t
2788927859 s,@PY_CFLAGS@,$PY_CFLAGS,;t t
2789027860 s,@PY_MODULES_PATH@,$PY_MODULES_PATH,;t t
2789127861 s,@WITH_PYTHON_TRUE@,$WITH_PYTHON_TRUE,;t t
2828328253 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2828428254 echo "$as_me: executing $ac_dest commands" >&6;}
2828528255 case $ac_dest in
28286 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
28287 # Strip MF so we end up with the name of the file.
28288 mf=`echo "$mf" | sed -e 's/:.*$//'`
28289 # Check whether this is an Automake generated Makefile or not.
28290 # We used to match only the files named `Makefile.in', but
28291 # some people rename them; so instead we look at the file content.
28292 # Grep'ing the first line is not enough: some people post-process
28293 # each Makefile.in and add a new line on top of each file to say so.
28294 # So let's grep whole file.
28295 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
28296 dirpart=`(dirname "$mf") 2>/dev/null ||
28297 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28298 X"$mf" : 'X\(//\)[^/]' \| \
28299 X"$mf" : 'X\(//\)$' \| \
28300 X"$mf" : 'X\(/\)' \| \
28301 . : '\(.\)' 2>/dev/null ||
28302 echo X"$mf" |
28303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28305 /^X\(\/\/\)$/{ s//\1/; q; }
28306 /^X\(\/\).*/{ s//\1/; q; }
28307 s/.*/./; q'`
28308 else
28309 continue
28310 fi
28311 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
28312 # Extract the definition of DEP_FILES from the Makefile without
28313 # running `make'.
28314 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
28315 test -z "$DEPDIR" && continue
28316 # When using ansi2knr, U may be empty or an underscore; expand it
28317 U=`sed -n -e '/^U = / s///p' < "$mf"`
28318 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
28319 # We invoke sed twice because it is the simplest approach to
28320 # changing $(DEPDIR) to its actual value in the expansion.
28321 for file in `sed -n -e '
28322 /^DEP_FILES = .*\\\\$/ {
28323 s/^DEP_FILES = //
28324 :loop
28325 s/\\\\$//
28326 p
28327 n
28328 /\\\\$/ b loop
28329 p
28330 }
28331 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
28332 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28333 # Make sure the directory exists.
28334 test -f "$dirpart/$file" && continue
28335 fdir=`(dirname "$file") 2>/dev/null ||
28336 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28337 X"$file" : 'X\(//\)[^/]' \| \
28338 X"$file" : 'X\(//\)$' \| \
28339 X"$file" : 'X\(/\)' \| \
28340 . : '\(.\)' 2>/dev/null ||
28341 echo X"$file" |
28342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28343 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28344 /^X\(\/\/\)$/{ s//\1/; q; }
28345 /^X\(\/\).*/{ s//\1/; q; }
28346 s/.*/./; q'`
28347 { if $as_mkdir_p; then
28348 mkdir -p $dirpart/$fdir
28349 else
28350 as_dir=$dirpart/$fdir
28351 as_dirs=
28352 while test ! -d "$as_dir"; do
28353 as_dirs="$as_dir $as_dirs"
28354 as_dir=`(dirname "$as_dir") 2>/dev/null ||
28355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28356 X"$as_dir" : 'X\(//\)[^/]' \| \
28357 X"$as_dir" : 'X\(//\)$' \| \
28358 X"$as_dir" : 'X\(/\)' \| \
28359 . : '\(.\)' 2>/dev/null ||
28360 echo X"$as_dir" |
28361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
28362 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
28363 /^X\(\/\/\)$/{ s//\1/; q; }
28364 /^X\(\/\).*/{ s//\1/; q; }
28365 s/.*/./; q'`
28366 done
28367 test ! -n "$as_dirs" || mkdir $as_dirs
28368 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
28369 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
28370 { (exit 1); exit 1; }; }; }
28371
28372 # echo "creating $dirpart/$file"
28373 echo '# dummy' > "$dirpart/$file"
28374 done
28375 done
28376 ;;
2837728256 default-1 )
2837828257 for ac_file in $CONFIG_FILES; do
2837928258 # Support "outfile[:infile[:infile...]]"
22 dnl Set release number
33 PACKAGE=libhdate
44 LIBHDATE_MAJOR_VERSION=1
5 LIBHDATE_MINOR_VERSION=3
6 LIBHDATE_MICRO_VERSION=0
5 LIBHDATE_MINOR_VERSION=4
6 LIBHDATE_MICRO_VERSION=2
77
88 VERSION=$LIBHDATE_MAJOR_VERSION.$LIBHDATE_MINOR_VERSION.$LIBHDATE_MICRO_VERSION
9 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:$LIBHDATE_MICRO_VERSION
9 VERSION_INFO=$LIBHDATE_MAJOR_VERSION:$LIBHDATE_MINOR_VERSION:0
1010
1111 AC_SUBST(VERSION_INFO)
1212
5050 PA_TPR=`fpc -iTP`
5151 PA_TOS=`fpc -iTO`
5252 PA_MODULES_PATH="/usr/lib/fpc/$PA_VERSION/units/$PA_TPR-$PA_TOS"
53 AC_SUBST([PA_VERSION])
5354 AC_SUBST([PA_MODULES_PATH])
5455 fi
5556
7980 PY_MODULES_PATH=$with_python_sitelib_dir
8081 fi
8182
83 AC_SUBST([PY_VERSION])
8284 AC_SUBST([PY_CFLAGS])
8385 AC_SUBST([PY_MODULES_PATH])
8486 if test "x$have_swig" = "xno"; then
+0
-1
current/depcomp less more
0 /usr/share/automake-1.7/depcomp
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
127
184128 SUBDIRS = hcal ical html hebcal bindings
185 subdir = examples
186 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
187129 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
188 CONFIG_CLEAN_FILES =
189 DIST_SOURCES =
190
191 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
192 ps-recursive install-info-recursive uninstall-info-recursive \
193 all-recursive install-data-recursive install-exec-recursive \
194 installdirs-recursive install-recursive uninstall-recursive \
195 check-recursive installcheck-recursive
196 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
197 DIST_SUBDIRS = $(SUBDIRS)
198 all: all-recursive
199
130 CONFIG_CLEAN_FILES =
131 DIST_COMMON = Makefile.am Makefile.in
132
133
134 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
135
136 TAR = tar
137 GZIP_ENV = --best
138 all: all-redirect
200139 .SUFFIXES:
201 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
202 cd $(top_srcdir) && \
203 $(AUTOMAKE) --gnu examples/Makefile
204 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
205 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
206
207 mostlyclean-libtool:
208 -rm -f *.lo
209
210 clean-libtool:
211 -rm -rf .libs _libs
212
213 distclean-libtool:
214 -rm -f libtool
215 uninstall-info-am:
140 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
141 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile
142
143 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
144 cd $(top_builddir) \
145 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
146
216147
217148 # This directory's subdirectories are mostly independent; you can cd
218149 # into them and run `make' without going through this Makefile.
220151 # (1) if the variable is set in `config.status', edit `config.status'
221152 # (which will cause the Makefiles to be regenerated when you run `make');
222153 # (2) otherwise, pass the desired values on the `make' command line.
223 $(RECURSIVE_TARGETS):
224 @set fnord $$MAKEFLAGS; amf=$$2; \
154
155 @SET_MAKE@
156
157 all-recursive install-data-recursive install-exec-recursive \
158 installdirs-recursive install-recursive uninstall-recursive \
159 check-recursive installcheck-recursive info-recursive dvi-recursive:
160 @set fnord $(MAKEFLAGS); amf=$$2; \
225161 dot_seen=no; \
226162 target=`echo $@ | sed s/-recursive//`; \
227163 list='$(SUBDIRS)'; for subdir in $$list; do \
241177
242178 mostlyclean-recursive clean-recursive distclean-recursive \
243179 maintainer-clean-recursive:
244 @set fnord $$MAKEFLAGS; amf=$$2; \
180 @set fnord $(MAKEFLAGS); amf=$$2; \
245181 dot_seen=no; \
246 case "$@" in \
247 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
248 *) list='$(SUBDIRS)' ;; \
249 esac; \
250 rev=''; for subdir in $$list; do \
251 if test "$$subdir" = "."; then :; else \
252 rev="$$subdir $$rev"; \
253 fi; \
182 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
183 rev="$$subdir $$rev"; \
184 test "$$subdir" != "." || dot_seen=yes; \
254185 done; \
255 rev="$$rev ."; \
186 test "$$dot_seen" = "no" && rev=". $$rev"; \
256187 target=`echo $@ | sed s/-recursive//`; \
257188 for subdir in $$rev; do \
258189 echo "Making $$target in $$subdir"; \
268199 list='$(SUBDIRS)'; for subdir in $$list; do \
269200 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
270201 done
271 ctags-recursive:
272 list='$(SUBDIRS)'; for subdir in $$list; do \
273 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
274 done
275
276 ETAGS = etags
277 ETAGSFLAGS =
278
279 CTAGS = ctags
280 CTAGSFLAGS =
281202
282203 tags: TAGS
283204
284 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
285 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
286 unique=`for i in $$list; do \
287 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
288 done | \
289 $(AWK) ' { files[$$0] = 1; } \
205 ID: $(HEADERS) $(SOURCES) $(LISP)
206 list='$(SOURCES) $(HEADERS)'; \
207 unique=`for i in $$list; do echo $$i; done | \
208 awk ' { files[$$0] = 1; } \
290209 END { for (i in files) print i; }'`; \
291 mkid -fID $$unique
292
293 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
294 $(TAGS_FILES) $(LISP)
210 here=`pwd` && cd $(srcdir) \
211 && mkid -f$$here/ID $$unique $(LISP)
212
213 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
295214 tags=; \
296215 here=`pwd`; \
297 if (etags --etags-include --version) >/dev/null 2>&1; then \
298 include_option=--etags-include; \
299 else \
300 include_option=--include; \
301 fi; \
302216 list='$(SUBDIRS)'; for subdir in $$list; do \
303 if test "$$subdir" = .; then :; else \
304 test -f $$subdir/TAGS && \
305 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
306 fi; \
217 if test "$$subdir" = .; then :; else \
218 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
219 fi; \
307220 done; \
308 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
309 unique=`for i in $$list; do \
310 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
311 done | \
312 $(AWK) ' { files[$$0] = 1; } \
221 list='$(SOURCES) $(HEADERS)'; \
222 unique=`for i in $$list; do echo $$i; done | \
223 awk ' { files[$$0] = 1; } \
313224 END { for (i in files) print i; }'`; \
314 test -z "$(ETAGS_ARGS)$$tags$$unique" \
315 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
316 $$tags $$unique
317
318 ctags: CTAGS
319 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
320 $(TAGS_FILES) $(LISP)
321 tags=; \
322 here=`pwd`; \
323 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
324 unique=`for i in $$list; do \
325 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
326 done | \
327 $(AWK) ' { files[$$0] = 1; } \
328 END { for (i in files) print i; }'`; \
329 test -z "$(CTAGS_ARGS)$$tags$$unique" \
330 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
331 $$tags $$unique
332
333 GTAGS:
334 here=`$(am__cd) $(top_builddir) && pwd` \
335 && cd $(top_srcdir) \
336 && gtags -i $(GTAGS_ARGS) $$here
225 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
226 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
227
228 mostlyclean-tags:
229
230 clean-tags:
337231
338232 distclean-tags:
339 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
340 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
341
342 top_distdir = ..
343 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
233 -rm -f TAGS ID
234
235 maintainer-clean-tags:
236
237 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
238
239 subdir = examples
344240
345241 distdir: $(DISTFILES)
346 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
347 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
348 list='$(DISTFILES)'; for file in $$list; do \
349 case $$file in \
350 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
351 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
352 esac; \
353 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
354 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
355 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
356 dir="/$$dir"; \
357 $(mkinstalldirs) "$(distdir)$$dir"; \
358 else \
359 dir=''; \
360 fi; \
242 @for file in $(DISTFILES); do \
243 d=$(srcdir); \
361244 if test -d $$d/$$file; then \
362 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
363 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
364 fi; \
365 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
245 cp -pr $$d/$$file $(distdir)/$$file; \
366246 else \
367247 test -f $(distdir)/$$file \
368 || cp -p $$d/$$file $(distdir)/$$file \
369 || exit 1; \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
370250 fi; \
371251 done
372 list='$(SUBDIRS)'; for subdir in $$list; do \
252 for subdir in $(SUBDIRS); do \
373253 if test "$$subdir" = .; then :; else \
374254 test -d $(distdir)/$$subdir \
375255 || mkdir $(distdir)/$$subdir \
376256 || exit 1; \
377 (cd $$subdir && \
378 $(MAKE) $(AM_MAKEFLAGS) \
379 top_distdir="$(top_distdir)" \
380 distdir=../$(distdir)/$$subdir \
381 distdir) \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
382259 || exit 1; \
383260 fi; \
384261 done
262 info-am:
263 info: info-recursive
264 dvi-am:
265 dvi: dvi-recursive
385266 check-am: all-am
386267 check: check-recursive
268 installcheck-am:
269 installcheck: installcheck-recursive
270 install-exec-am:
271 install-exec: install-exec-recursive
272
273 install-data-am:
274 install-data: install-data-recursive
275
276 install-am: all-am
277 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
278 install: install-recursive
279 uninstall-am:
280 uninstall: uninstall-recursive
387281 all-am: Makefile
282 all-redirect: all-recursive
283 install-strip:
284 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
388285 installdirs: installdirs-recursive
389286 installdirs-am:
390287
391 install: install-recursive
392 install-exec: install-exec-recursive
393 install-data: install-data-recursive
394 uninstall: uninstall-recursive
395
396 install-am: all-am
397 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
398
399 installcheck: installcheck-recursive
400 install-strip:
401 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
402 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
403 `test -z '$(STRIP)' || \
404 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
288
405289 mostlyclean-generic:
406290
407291 clean-generic:
408292
409293 distclean-generic:
410 -rm -f $(CONFIG_CLEAN_FILES)
294 -rm -f Makefile $(CONFIG_CLEAN_FILES)
295 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
411296
412297 maintainer-clean-generic:
413 @echo "This command is intended for maintainers to use"
298 mostlyclean-am: mostlyclean-tags mostlyclean-generic
299
300 mostlyclean: mostlyclean-recursive
301
302 clean-am: clean-tags clean-generic mostlyclean-am
303
304 clean: clean-recursive
305
306 distclean-am: distclean-tags distclean-generic clean-am
307 -rm -f libtool
308
309 distclean: distclean-recursive
310
311 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
312 distclean-am
313 @echo "This command is intended for maintainers to use;"
414314 @echo "it deletes files that may require special tools to rebuild."
415 clean: clean-recursive
416
417 clean-am: clean-generic clean-libtool mostlyclean-am
418
419 distclean: distclean-recursive
420 -rm -f Makefile
421 distclean-am: clean-am distclean-generic distclean-libtool \
422 distclean-tags
423
424 dvi: dvi-recursive
425
426 dvi-am:
427
428 info: info-recursive
429
430 info-am:
431
432 install-data-am:
433
434 install-exec-am:
435
436 install-info: install-info-recursive
437
438 install-man:
439
440 installcheck-am:
441315
442316 maintainer-clean: maintainer-clean-recursive
443 -rm -f Makefile
444 maintainer-clean-am: distclean-am maintainer-clean-generic
445
446 mostlyclean: mostlyclean-recursive
447
448 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
449
450 pdf: pdf-recursive
451
452 pdf-am:
453
454 ps: ps-recursive
455
456 ps-am:
457
458 uninstall-am: uninstall-info-am
459
460 uninstall-info: uninstall-info-recursive
461
462 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
463 clean-generic clean-libtool clean-recursive ctags \
464 ctags-recursive distclean distclean-generic distclean-libtool \
465 distclean-recursive distclean-tags distdir dvi dvi-am \
466 dvi-recursive info info-am info-recursive install install-am \
467 install-data install-data-am install-data-recursive \
468 install-exec install-exec-am install-exec-recursive \
469 install-info install-info-am install-info-recursive install-man \
470 install-recursive install-strip installcheck installcheck-am \
471 installdirs installdirs-am installdirs-recursive \
472 maintainer-clean maintainer-clean-generic \
473 maintainer-clean-recursive mostlyclean mostlyclean-generic \
474 mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
475 pdf-recursive ps ps-am ps-recursive tags tags-recursive \
476 uninstall uninstall-am uninstall-info-am \
477 uninstall-info-recursive uninstall-recursive
317
318 .PHONY: install-data-recursive uninstall-data-recursive \
319 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
320 uninstalldirs-recursive all-recursive check-recursive \
321 installcheck-recursive info-recursive dvi-recursive \
322 mostlyclean-recursive distclean-recursive clean-recursive \
323 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
324 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
325 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
326 install-exec install-data-am install-data install-am install \
327 uninstall-am uninstall all-redirect all-am all installdirs-am \
328 installdirs mostlyclean-generic distclean-generic clean-generic \
329 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
330
478331
479332 # Tell versions [3.59,3.63) of GNU make to not export all variables.
480333 # Otherwise a system limit (for SysV at least) may be exceeded.
00
11 EXTRA_DIST = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
22
3 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/bindings
3 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/bindings
44 libhdatedoc_DATA = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
184127
185128 EXTRA_DIST = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
186129
187 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/bindings
130 libhdatedocdir = ${prefix}/share/doc/libhdate/examples/bindings
188131 libhdatedoc_DATA = hdate_cpp.cpp hdate_python.py hdate_perl.pl hdate_pascal.pp
189 subdir = examples/bindings
190 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
191132 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
192 CONFIG_CLEAN_FILES =
193 DIST_SOURCES =
194 DATA = $(libhdatedoc_DATA)
195
196 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
197 all: all-am
198
133 CONFIG_CLEAN_FILES =
134 DATA = $(libhdatedoc_DATA)
135
136 DIST_COMMON = Makefile.am Makefile.in
137
138
139 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
140
141 TAR = tar
142 GZIP_ENV = --best
143 all: all-redirect
199144 .SUFFIXES:
200 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
201 cd $(top_srcdir) && \
202 $(AUTOMAKE) --gnu examples/bindings/Makefile
203 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
204 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
205
206 mostlyclean-libtool:
207 -rm -f *.lo
208
209 clean-libtool:
210 -rm -rf .libs _libs
211
212 distclean-libtool:
213 -rm -f libtool
214 uninstall-info-am:
215 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
145 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
146 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/bindings/Makefile
147
148 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
149 cd $(top_builddir) \
150 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
151
152
216153 install-libhdatedocDATA: $(libhdatedoc_DATA)
217154 @$(NORMAL_INSTALL)
218155 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
219156 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
220 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
221 f="`echo $$p | sed -e 's|^.*/||'`"; \
222 echo " $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f"; \
223 $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f; \
157 if test -f $(srcdir)/$$p; then \
158 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
159 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
160 else if test -f $$p; then \
161 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
162 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
163 fi; fi; \
224164 done
225165
226166 uninstall-libhdatedocDATA:
227167 @$(NORMAL_UNINSTALL)
228 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
229 f="`echo $$p | sed -e 's|^.*/||'`"; \
230 echo " rm -f $(DESTDIR)$(libhdatedocdir)/$$f"; \
231 rm -f $(DESTDIR)$(libhdatedocdir)/$$f; \
168 list='$(libhdatedoc_DATA)'; for p in $$list; do \
169 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
232170 done
233171 tags: TAGS
234172 TAGS:
235173
236 ctags: CTAGS
237 CTAGS:
238
239 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
240
241 top_distdir = ../..
242 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
174
175 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
176
177 subdir = examples/bindings
243178
244179 distdir: $(DISTFILES)
245 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
246 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
247 list='$(DISTFILES)'; for file in $$list; do \
248 case $$file in \
249 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
250 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
251 esac; \
252 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
253 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
254 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
255 dir="/$$dir"; \
256 $(mkinstalldirs) "$(distdir)$$dir"; \
257 else \
258 dir=''; \
259 fi; \
180 @for file in $(DISTFILES); do \
181 d=$(srcdir); \
260182 if test -d $$d/$$file; then \
261 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
262 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
263 fi; \
264 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
183 cp -pr $$d/$$file $(distdir)/$$file; \
265184 else \
266185 test -f $(distdir)/$$file \
267 || cp -p $$d/$$file $(distdir)/$$file \
268 || exit 1; \
186 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
187 || cp -p $$d/$$file $(distdir)/$$file || :; \
269188 fi; \
270189 done
190 info-am:
191 info: info-am
192 dvi-am:
193 dvi: dvi-am
271194 check-am: all-am
272195 check: check-am
273 all-am: Makefile $(DATA)
274
275 installdirs:
276 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
277 install: install-am
196 installcheck-am:
197 installcheck: installcheck-am
198 install-exec-am:
278199 install-exec: install-exec-am
200
201 install-data-am: install-libhdatedocDATA
279202 install-data: install-data-am
280 uninstall: uninstall-am
281203
282204 install-am: all-am
283205 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
284
285 installcheck: installcheck-am
206 install: install-am
207 uninstall-am: uninstall-libhdatedocDATA
208 uninstall: uninstall-am
209 all-am: Makefile $(DATA)
210 all-redirect: all-am
286211 install-strip:
287 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
288 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
289 `test -z '$(STRIP)' || \
290 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
212 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
213 installdirs:
214 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
215
216
291217 mostlyclean-generic:
292218
293219 clean-generic:
294220
295221 distclean-generic:
296 -rm -f $(CONFIG_CLEAN_FILES)
222 -rm -f Makefile $(CONFIG_CLEAN_FILES)
223 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
297224
298225 maintainer-clean-generic:
299 @echo "This command is intended for maintainers to use"
226 mostlyclean-am: mostlyclean-generic
227
228 mostlyclean: mostlyclean-am
229
230 clean-am: clean-generic mostlyclean-am
231
232 clean: clean-am
233
234 distclean-am: distclean-generic clean-am
235 -rm -f libtool
236
237 distclean: distclean-am
238
239 maintainer-clean-am: maintainer-clean-generic distclean-am
240 @echo "This command is intended for maintainers to use;"
300241 @echo "it deletes files that may require special tools to rebuild."
301 clean: clean-am
302
303 clean-am: clean-generic clean-libtool mostlyclean-am
304
305 distclean: distclean-am
306 -rm -f Makefile
307 distclean-am: clean-am distclean-generic distclean-libtool
308
309 dvi: dvi-am
310
311 dvi-am:
312
313 info: info-am
314
315 info-am:
316
317 install-data-am: install-libhdatedocDATA
318
319 install-exec-am:
320
321 install-info: install-info-am
322
323 install-man:
324
325 installcheck-am:
326242
327243 maintainer-clean: maintainer-clean-am
328 -rm -f Makefile
329 maintainer-clean-am: distclean-am maintainer-clean-generic
330
331 mostlyclean: mostlyclean-am
332
333 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
334
335 pdf: pdf-am
336
337 pdf-am:
338
339 ps: ps-am
340
341 ps-am:
342
343 uninstall-am: uninstall-info-am uninstall-libhdatedocDATA
344
345 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
346 distclean distclean-generic distclean-libtool distdir dvi \
347 dvi-am info info-am install install-am install-data \
348 install-data-am install-exec install-exec-am install-info \
349 install-info-am install-libhdatedocDATA install-man \
350 install-strip installcheck installcheck-am installdirs \
351 maintainer-clean maintainer-clean-generic mostlyclean \
352 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
353 uninstall uninstall-am uninstall-info-am \
354 uninstall-libhdatedocDATA
244
245 .PHONY: uninstall-libhdatedocDATA install-libhdatedocDATA tags distdir \
246 info-am info dvi-am dvi check check-am installcheck-am installcheck \
247 install-exec-am install-exec install-data-am install-data install-am \
248 install uninstall-am uninstall all-redirect all-am all installdirs \
249 mostlyclean-generic distclean-generic clean-generic \
250 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
251
355252
356253 # Tell versions [3.59,3.63) of GNU make to not export all variables.
357254 # Otherwise a system limit (for SysV at least) may be exceeded.
2121 cout << "Today is :\n";
2222 cout << h.get_gday () << "," << h.get_gmonth () << "," << h.get_gyear () << "\n";
2323
24 // print hebrew date: 0 - israely holidays, 0 - long format
25 cout << h.get_format_date (0, 0);
24 // print hebrew date: 0 - long format
25 cout << h.get_format_date (0);
2626 cout << "\n";
2727
2828 return 0;
00 #! /usr/bin/perl
11
2 # use the hdate perl module
2 # Use the hdate perl module
33 use hdate;
44
5 #
6 # !! SOME SWIG VERSIONS WILL CREATE hdatec NAMESPACE OTHERS hdate !!
7 #
8 # use hdate; # just hdate
9 #
10 # $h = hdate::new_Hdate();
11 # print hdatec:Hdate_get_format_date ($h, 0, 0) . "\n"; # use hdate !
12 #
13
14 # create a new Hdate object
5 # Create a new Hdate object
156 $h = hdatec::new_Hdate();
167
17 # print gregorian date
8 # Print gregorian date
189 print "Today is:\n";
1910 print hdatec::Hdate_get_gday($h) . "," . hdatec::Hdate_get_gmonth($h) . "," . hdatec::Hdate_get_gyear($h) . "\n";
2011
21 # print hebrew date: 0 - israely holidays, 0 - long format
22 print hdatec::Hdate_get_format_date ($h, 0, 0) . "\n";
23
12 # Print hebrew date: 0 - long format
13 print hdatec::Hdate_get_format_date ($h, 0) . "\n";
00 #! /usr/bin/python
11
2 # import the hdate library
2 # Import the hdate library
33 from hdate import *;
44
5 # create a new Hdate object
5 # Create a new Hdate object
66 h = Hdate();
77
8 # print gregorian date
8 # Print gregorian date
99 print "Today is:"
1010 print str (h.get_gday ()) + "," + str (h.get_gmonth()) + "," + str (h.get_gyear ())
1111
12 # print hebrew date: 0 - israely holidays, 0 - long format
13 print h.get_format_date (0, 0);
12 # Print hebrew date: 0 - long format
13 print h.get_format_date (0);
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
127
184128 EXTRA_DIST = hdate.1 hcal.1
185129
186130 @WITH_HCAL_TRUE@INCLUDES = -I$(top_srcdir)/src
204148
205149 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/hcal
206150 libhdatedoc_DATA = hcal.c hdate.c
207 subdir = examples/hcal
208 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
209151 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
210 CONFIG_CLEAN_FILES =
211 @WITH_HCAL_TRUE@bin_PROGRAMS = hdate$(EXEEXT) hcal$(EXEEXT)
212 @WITH_HCAL_FALSE@bin_PROGRAMS =
213 PROGRAMS = $(bin_PROGRAMS)
214
215 am__hcal_SOURCES_DIST = hcal.c
216 @WITH_HCAL_TRUE@am_hcal_OBJECTS = hcal.$(OBJEXT)
217 hcal_OBJECTS = $(am_hcal_OBJECTS)
218 @WITH_HCAL_FALSE@hcal_DEPENDENCIES =
219 am__hdate_SOURCES_DIST = hdate.c
220 @WITH_HCAL_TRUE@am_hdate_OBJECTS = hdate.$(OBJEXT)
221 hdate_OBJECTS = $(am_hdate_OBJECTS)
222 @WITH_HCAL_FALSE@hdate_DEPENDENCIES =
223
224 DEFAULT_INCLUDES = -I. -I$(srcdir)
225 depcomp = $(SHELL) $(top_srcdir)/depcomp
226 am__depfiles_maybe = depfiles
227 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/hcal.Po ./$(DEPDIR)/hdate.Po
228 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
229 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
230 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
231 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
152 CONFIG_CLEAN_FILES =
153 @WITH_HCAL_TRUE@bin_PROGRAMS = hdate$(EXEEXT) hcal$(EXEEXT)
154 PROGRAMS = $(bin_PROGRAMS)
155
156
157 DEFS = @DEFS@ -I. -I$(srcdir)
158 CPPFLAGS = @CPPFLAGS@
159 LDFLAGS = @LDFLAGS@
160 @WITH_HCAL_TRUE@hdate_OBJECTS = hdate.$(OBJEXT)
161 @WITH_HCAL_TRUE@hcal_OBJECTS = hcal.$(OBJEXT)
162 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
163 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
232164 CCLD = $(CC)
233 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
234 $(AM_LDFLAGS) $(LDFLAGS) -o $@
235 DIST_SOURCES = $(am__hcal_SOURCES_DIST) $(am__hdate_SOURCES_DIST)
165 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
166 man1dir = $(mandir)/man1
167 MANS = $(man_MANS)
236168
237169 NROFF = nroff
238 MANS = $(man_MANS)
239 DATA = $(libhdatedoc_DATA)
240
241 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
242 SOURCES = $(hcal_SOURCES) $(hdate_SOURCES)
243
244 all: all-am
245
170 DATA = $(libhdatedoc_DATA)
171
172 DIST_COMMON = Makefile.am Makefile.in
173
174
175 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
176
177 TAR = tar
178 GZIP_ENV = --best
179 SOURCES = $(hdate_SOURCES) $(hcal_SOURCES)
180 OBJECTS = $(hdate_OBJECTS) $(hcal_OBJECTS)
181
182 all: all-redirect
246183 .SUFFIXES:
247 .SUFFIXES: .c .lo .o .obj
248 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
249 cd $(top_srcdir) && \
250 $(AUTOMAKE) --gnu examples/hcal/Makefile
251 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
252 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
253 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
184 .SUFFIXES: .S .c .lo .o .obj .s
185 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
186 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/hcal/Makefile
187
188 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
189 cd $(top_builddir) \
190 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
191
192
193 mostlyclean-binPROGRAMS:
194
195 clean-binPROGRAMS:
196 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
197
198 distclean-binPROGRAMS:
199
200 maintainer-clean-binPROGRAMS:
201
254202 install-binPROGRAMS: $(bin_PROGRAMS)
255203 @$(NORMAL_INSTALL)
256204 $(mkinstalldirs) $(DESTDIR)$(bindir)
257205 @list='$(bin_PROGRAMS)'; for p in $$list; do \
258 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
259 if test -f $$p \
260 || test -f $$p1 \
261 ; then \
262 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
263 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
264 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
206 if test -f $$p; then \
207 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
208 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
265209 else :; fi; \
266210 done
267211
268212 uninstall-binPROGRAMS:
269213 @$(NORMAL_UNINSTALL)
270 @list='$(bin_PROGRAMS)'; for p in $$list; do \
271 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
272 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
273 rm -f $(DESTDIR)$(bindir)/$$f; \
274 done
275
276 clean-binPROGRAMS:
277 @list='$(bin_PROGRAMS)'; for p in $$list; do \
278 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
279 echo " rm -f $$p $$f"; \
280 rm -f $$p $$f ; \
281 done
282 hcal$(EXEEXT): $(hcal_OBJECTS) $(hcal_DEPENDENCIES)
214 list='$(bin_PROGRAMS)'; for p in $$list; do \
215 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
216 done
217
218 .c.o:
219 $(COMPILE) -c $<
220
221 # FIXME: We should only use cygpath when building on Windows,
222 # and only if it is available.
223 .c.obj:
224 $(COMPILE) -c `cygpath -w $<`
225
226 .s.o:
227 $(COMPILE) -c $<
228
229 .S.o:
230 $(COMPILE) -c $<
231
232 mostlyclean-compile:
233 -rm -f *.o core *.core
234 -rm -f *.$(OBJEXT)
235
236 clean-compile:
237
238 distclean-compile:
239 -rm -f *.tab.c
240
241 maintainer-clean-compile:
242
243 .c.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
245
246 .s.lo:
247 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
248
249 .S.lo:
250 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
251
252 mostlyclean-libtool:
253 -rm -f *.lo
254
255 clean-libtool:
256 -rm -rf .libs _libs
257
258 distclean-libtool:
259
260 maintainer-clean-libtool:
261
262 hdate$(EXEEXT): $(hdate_OBJECTS) $(hdate_DEPENDENCIES)
263 @rm -f hdate$(EXEEXT)
264 $(LINK) $(hdate_LDFLAGS) $(hdate_OBJECTS) $(hdate_LDADD) $(LIBS)
265
266 hcal$(EXEEXT): $(hcal_OBJECTS) $(hcal_DEPENDENCIES)
283267 @rm -f hcal$(EXEEXT)
284268 $(LINK) $(hcal_LDFLAGS) $(hcal_OBJECTS) $(hcal_LDADD) $(LIBS)
285 hdate$(EXEEXT): $(hdate_OBJECTS) $(hdate_DEPENDENCIES)
286 @rm -f hdate$(EXEEXT)
287 $(LINK) $(hdate_LDFLAGS) $(hdate_OBJECTS) $(hdate_LDADD) $(LIBS)
288
289 mostlyclean-compile:
290 -rm -f *.$(OBJEXT) core *.core
291
292 distclean-compile:
293 -rm -f *.tab.c
294
295 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hcal.Po@am__quote@
296 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate.Po@am__quote@
297
298 .c.o:
299 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
300 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
301 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
302 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
303 @am__fastdepCC_TRUE@ fi
304 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
305 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
306 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
307 @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
308
309 .c.obj:
310 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
311 @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
312 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
313 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
314 @am__fastdepCC_TRUE@ fi
315 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
316 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
317 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
318 @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
319
320 .c.lo:
321 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
322 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
323 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
324 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
325 @am__fastdepCC_TRUE@ fi
326 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
327 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
328 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
329 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
330
331 mostlyclean-libtool:
332 -rm -f *.lo
333
334 clean-libtool:
335 -rm -rf .libs _libs
336
337 distclean-libtool:
338 -rm -f libtool
339 uninstall-info-am:
340
341 man1dir = $(mandir)/man1
342 install-man1: $(man1_MANS) $(man_MANS)
343 @$(NORMAL_INSTALL)
269
270 install-man1:
344271 $(mkinstalldirs) $(DESTDIR)$(man1dir)
345 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
346 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
347 for i in $$l2; do \
272 @list='$(man1_MANS)'; \
273 l2='$(man_MANS)'; for i in $$l2; do \
348274 case "$$i" in \
349275 *.1*) list="$$list $$i" ;; \
350276 esac; \
353279 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
354280 else file=$$i; fi; \
355281 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
356 case "$$ext" in \
357 1*) ;; \
358 *) ext='1' ;; \
359 esac; \
360282 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
361 inst=`echo $$inst | sed -e 's/^.*\///'`; \
362283 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
363284 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
364285 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
365286 done
287
366288 uninstall-man1:
367 @$(NORMAL_UNINSTALL)
368 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
369 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
370 for i in $$l2; do \
289 @list='$(man1_MANS)'; \
290 l2='$(man_MANS)'; for i in $$l2; do \
371291 case "$$i" in \
372292 *.1*) list="$$list $$i" ;; \
373293 esac; \
374294 done; \
375295 for i in $$list; do \
376296 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
377 case "$$ext" in \
378 1*) ;; \
379 *) ext='1' ;; \
380 esac; \
381297 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
382 inst=`echo $$inst | sed -e 's/^.*\///'`; \
383298 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
384299 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
385300 rm -f $(DESTDIR)$(man1dir)/$$inst; \
386301 done
387 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
302 install-man: $(MANS)
303 @$(NORMAL_INSTALL)
304 $(MAKE) $(AM_MAKEFLAGS) install-man1
305 uninstall-man:
306 @$(NORMAL_UNINSTALL)
307 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
308
388309 install-libhdatedocDATA: $(libhdatedoc_DATA)
389310 @$(NORMAL_INSTALL)
390311 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
391312 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
392 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
393 f="`echo $$p | sed -e 's|^.*/||'`"; \
394 echo " $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f"; \
395 $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f; \
313 if test -f $(srcdir)/$$p; then \
314 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
315 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
316 else if test -f $$p; then \
317 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
318 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
319 fi; fi; \
396320 done
397321
398322 uninstall-libhdatedocDATA:
399323 @$(NORMAL_UNINSTALL)
400 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
401 f="`echo $$p | sed -e 's|^.*/||'`"; \
402 echo " rm -f $(DESTDIR)$(libhdatedocdir)/$$f"; \
403 rm -f $(DESTDIR)$(libhdatedocdir)/$$f; \
404 done
405
406 ETAGS = etags
407 ETAGSFLAGS =
408
409 CTAGS = ctags
410 CTAGSFLAGS =
324 list='$(libhdatedoc_DATA)'; for p in $$list; do \
325 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
326 done
411327
412328 tags: TAGS
413329
414 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
415 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
416 unique=`for i in $$list; do \
417 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418 done | \
419 $(AWK) ' { files[$$0] = 1; } \
330 ID: $(HEADERS) $(SOURCES) $(LISP)
331 list='$(SOURCES) $(HEADERS)'; \
332 unique=`for i in $$list; do echo $$i; done | \
333 awk ' { files[$$0] = 1; } \
420334 END { for (i in files) print i; }'`; \
421 mkid -fID $$unique
422
423 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
424 $(TAGS_FILES) $(LISP)
335 here=`pwd` && cd $(srcdir) \
336 && mkid -f$$here/ID $$unique $(LISP)
337
338 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
425339 tags=; \
426340 here=`pwd`; \
427 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
428 unique=`for i in $$list; do \
429 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
430 done | \
431 $(AWK) ' { files[$$0] = 1; } \
341 list='$(SOURCES) $(HEADERS)'; \
342 unique=`for i in $$list; do echo $$i; done | \
343 awk ' { files[$$0] = 1; } \
432344 END { for (i in files) print i; }'`; \
433 test -z "$(ETAGS_ARGS)$$tags$$unique" \
434 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
435 $$tags $$unique
436
437 ctags: CTAGS
438 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
439 $(TAGS_FILES) $(LISP)
440 tags=; \
441 here=`pwd`; \
442 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
443 unique=`for i in $$list; do \
444 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
445 done | \
446 $(AWK) ' { files[$$0] = 1; } \
447 END { for (i in files) print i; }'`; \
448 test -z "$(CTAGS_ARGS)$$tags$$unique" \
449 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
450 $$tags $$unique
451
452 GTAGS:
453 here=`$(am__cd) $(top_builddir) && pwd` \
454 && cd $(top_srcdir) \
455 && gtags -i $(GTAGS_ARGS) $$here
345 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
346 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
347
348 mostlyclean-tags:
349
350 clean-tags:
456351
457352 distclean-tags:
458 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
459 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
460
461 top_distdir = ../..
462 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
353 -rm -f TAGS ID
354
355 maintainer-clean-tags:
356
357 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
358
359 subdir = examples/hcal
463360
464361 distdir: $(DISTFILES)
465 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
466 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
467 list='$(DISTFILES)'; for file in $$list; do \
468 case $$file in \
469 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
470 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
471 esac; \
472 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
473 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
474 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
475 dir="/$$dir"; \
476 $(mkinstalldirs) "$(distdir)$$dir"; \
477 else \
478 dir=''; \
479 fi; \
362 @for file in $(DISTFILES); do \
363 d=$(srcdir); \
480364 if test -d $$d/$$file; then \
481 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
482 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
483 fi; \
484 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
365 cp -pr $$d/$$file $(distdir)/$$file; \
485366 else \
486367 test -f $(distdir)/$$file \
487 || cp -p $$d/$$file $(distdir)/$$file \
488 || exit 1; \
368 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
369 || cp -p $$d/$$file $(distdir)/$$file || :; \
489370 fi; \
490371 done
372 hcal.o: hcal.c ../../src/hdate.h
373 hdate.o: hdate.c ../../src/hdate.h
374
375 info-am:
376 info: info-am
377 dvi-am:
378 dvi: dvi-am
491379 check-am: all-am
492380 check: check-am
493 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
494
495 installdirs:
496 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(libhdatedocdir)
497 install: install-am
381 installcheck-am:
382 installcheck: installcheck-am
383 install-exec-am: install-binPROGRAMS
498384 install-exec: install-exec-am
385
386 install-data-am: install-man install-libhdatedocDATA
499387 install-data: install-data-am
500 uninstall: uninstall-am
501388
502389 install-am: all-am
503390 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
504
505 installcheck: installcheck-am
391 install: install-am
392 uninstall-am: uninstall-binPROGRAMS uninstall-man \
393 uninstall-libhdatedocDATA
394 uninstall: uninstall-am
395 all-am: Makefile $(PROGRAMS) $(MANS) $(DATA)
396 all-redirect: all-am
506397 install-strip:
507 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
508 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
509 `test -z '$(STRIP)' || \
510 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
398 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
399 installdirs:
400 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
401 $(DESTDIR)$(libhdatedocdir)
402
403
511404 mostlyclean-generic:
512405
513406 clean-generic:
514407
515408 distclean-generic:
516 -rm -f $(CONFIG_CLEAN_FILES)
409 -rm -f Makefile $(CONFIG_CLEAN_FILES)
410 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
517411
518412 maintainer-clean-generic:
519 @echo "This command is intended for maintainers to use"
413 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
414 mostlyclean-libtool mostlyclean-tags \
415 mostlyclean-generic
416
417 mostlyclean: mostlyclean-am
418
419 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
420 clean-generic mostlyclean-am
421
422 clean: clean-am
423
424 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
425 distclean-tags distclean-generic clean-am
426 -rm -f libtool
427
428 distclean: distclean-am
429
430 maintainer-clean-am: maintainer-clean-binPROGRAMS \
431 maintainer-clean-compile maintainer-clean-libtool \
432 maintainer-clean-tags maintainer-clean-generic \
433 distclean-am
434 @echo "This command is intended for maintainers to use;"
520435 @echo "it deletes files that may require special tools to rebuild."
521 clean: clean-am
522
523 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
524
525 distclean: distclean-am
526 -rm -rf ./$(DEPDIR)
527 -rm -f Makefile
528 distclean-am: clean-am distclean-compile distclean-generic \
529 distclean-libtool distclean-tags
530
531 dvi: dvi-am
532
533 dvi-am:
534
535 info: info-am
536
537 info-am:
538
539 install-data-am: install-libhdatedocDATA install-man
540
541 install-exec-am: install-binPROGRAMS
542
543 install-info: install-info-am
544
545 install-man: install-man1
546
547 installcheck-am:
548436
549437 maintainer-clean: maintainer-clean-am
550 -rm -rf ./$(DEPDIR)
551 -rm -f Makefile
552 maintainer-clean-am: distclean-am maintainer-clean-generic
553
554 mostlyclean: mostlyclean-am
555
556 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
557 mostlyclean-libtool
558
559 pdf: pdf-am
560
561 pdf-am:
562
563 ps: ps-am
564
565 ps-am:
566
567 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
568 uninstall-libhdatedocDATA uninstall-man
569
570 uninstall-man: uninstall-man1
571
572 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
573 clean-generic clean-libtool ctags distclean distclean-compile \
574 distclean-generic distclean-libtool distclean-tags distdir dvi \
575 dvi-am info info-am install install-am install-binPROGRAMS \
576 install-data install-data-am install-exec install-exec-am \
577 install-info install-info-am install-libhdatedocDATA \
578 install-man install-man1 install-strip installcheck \
579 installcheck-am installdirs maintainer-clean \
580 maintainer-clean-generic mostlyclean mostlyclean-compile \
581 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
582 tags uninstall uninstall-am uninstall-binPROGRAMS \
583 uninstall-info-am uninstall-libhdatedocDATA uninstall-man \
584 uninstall-man1
438
439 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
440 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
441 mostlyclean-compile distclean-compile clean-compile \
442 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
443 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
444 install-man uninstall-man uninstall-libhdatedocDATA \
445 install-libhdatedocDATA tags mostlyclean-tags distclean-tags clean-tags \
446 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
447 installcheck-am installcheck install-exec-am install-exec \
448 install-data-am install-data install-am install uninstall-am uninstall \
449 all-redirect all-am all installdirs mostlyclean-generic \
450 distclean-generic clean-generic maintainer-clean-generic clean \
451 mostlyclean distclean maintainer-clean
452
585453
586454 # Tell versions [3.59,3.63) of GNU make to not export all variables.
587455 # Otherwise a system limit (for SysV at least) may be exceeded.
1111 is from tables by Zvi Har'El.
1212 .SH "SYNOPSIS"
1313 .B hdate
14 [-sShdr]
14 [\-sShdri]
1515 .PP
16 [-L longitude -l latitude]
17 [-z timezone]
16 [\-L longitude \-l latitude]
17 [\-z timezone]
1818 .PP
1919 [[[day] month] year]
2020 .SH "DESCRIPTION"
2929 back to the common calendar.
3030 Months are numbered with Tishrey being 1 and Elul 12; Adar I and Adar II are months 13 and 14.
3131 .PP
32 .I -s
32 .I \-s
3333 : Print sunrise/sunset times.
3434 .PP
35 .I -S
35 .I \-S
3636 : Print using short format.
3737 .PP
38 .I -h
38 .I \-h
3939 : Print holidays.
4040 .PP
41 .I -r
41 .I \-r
4242 : Print weekly reading on saturday.
4343 .PP
44 .I -d
44 .I \-d
4545 : Use diaspora reading and holidays.
4646 .PP
47 .I -l
47 .I \-i
48 : Use iCal formated output.
49 .PP
50 .I \-l
4851 xx : Set the latitude for solar calculations to
4952 .PP
5053 xx degrees. Negative values are south.
5154 .PP
52 .I -L
55 .I \-L
5356 xx : Set the longitude for solar calculations to
5457 .PP
5558 xx degrees. *Negative values are EAST*.
5659 .PP
57 .I -z
60 .I \-z
5861 : Use specified timezone.
5962 .PP
6063 ( default location for sunrise/set is Tel Aviv ).
3131 #define FALSE 0
3232 #define TRUE -1
3333
34 /* FIXME: global var - ugly ! */
35 int iCal_uid_counter = 0;
36
3437 /* some useful time zones
3538 * Eilat 29, -34, 2
3639 * Haifa 32, -34, 2
5861 printf (" -R : Print just weekly reading on saturday.\n");
5962
6063 printf (" -d : Use diaspora reading and holidays.\n");
64 printf (" -i : Use iCal formated output.\n");
6165 printf (" -l xx : Set the latitude for solar calculations to\n");
6266 printf (" xx degrees. Negative values are south.\n");
6367 printf (" -L xx : Set the longitude for solar calculations to\n");
6670 printf (" -z : Use specified timezone,\n");
6771
6872 printf (" ( default location for sunrise/set is Tel Aviv winter time ).\n");
73 printf (" some useful locations and time zones:\n");
74 printf (" Eilat : 29, -34, 2\n");
75 printf (" Haifa : 32, -34, 2\n");
76 printf (" Jerusalem : 31, -35, 2\n");
77 printf (" Tel Aviv : 32, -34, 2\n");
78
79 return 0;
80 }
81
82 /* print ical header */
83 int
84 print_ical_header ()
85 {
86 /* Print start of iCal format */
87 printf ("BEGIN:VCALENDAR\n");
88 printf ("VERSION:2.0\n");
89 printf ("CALSCALE:GREGORIAN\n");
90 printf ("METHOD:PUBLISH\n");
91
92 return 0;
93 }
94
95 /* print ical footer */
96 int
97 print_ical_footer ()
98 {
99 /* Print end of iCal format */
100 printf ("END:VCALENDAR\n");
69101
70102 return 0;
71103 }
72104
73105 /* print one day - gregorian and hebrew date */
74106 int
75 print_date (hdate_struct * h, int opt_S)
76 {
77 if (opt_S)
107 print_date (hdate_struct * h, int opt_S, int opt_i)
108 {
109 if (opt_i)
110 {
111 printf ("%s %s ",
112 hdate_get_int_string (h->hd_day),
113 hdate_get_hebrew_month_string (h->hd_mon, opt_S));
114 printf ("%s", hdate_get_int_string (h->hd_year));
115 }
116 else if (opt_S)
78117 {
79118 printf ("%d.%d.%d %s ",
80119 h->gd_day, h->gd_mon, h->gd_year,
100139
101140 /* print one day - sunrise/set times */
102141 int
103 print_sunrise (hdate_struct * h, double lat, double lon, int tz)
142 print_sunrise (hdate_struct * h, double lat, double lon, int tz, int opt_i)
104143 {
105144 int sunrise, sunset;
106145
120159
121160 /* print one day - holiday */
122161 int
123 print_holiday (hdate_struct * h, int opt_d, int opt_S)
162 print_holiday (hdate_struct * h, int opt_d, int opt_S, int opt_i)
124163 {
125164 int holyday;
126165
137176
138177 /* print one day - reading */
139178 int
140 print_reading (hdate_struct * h, int opt_d, int opt_S)
179 print_reading (hdate_struct * h, int opt_d, int opt_S, int opt_i)
141180 {
142181 int reading;
143182
157196 print_day (hdate_struct * h,
158197 int opt_d, int opt_S,
159198 double lat, double lon, int tz, int opt_s, int opt_h, int opt_r,
160 int opt_R, int opt_H)
199 int opt_R, int opt_H, int opt_i)
161200 {
162201 /* check for just parasha or holiday flag */
163 if (opt_R && opt_H &&
164 !hdate_get_parasha (h, opt_d) && !hdate_get_holyday (h, opt_d))
202 if (opt_R && opt_H &&
203 !hdate_get_parasha (h, opt_d) && !hdate_get_holyday (h, opt_d))
165204 return 0;
166 if (opt_R && !opt_H &&
167 !hdate_get_parasha (h, opt_d))
205 if (opt_R && !opt_H && !hdate_get_parasha (h, opt_d))
168206 return 0;
169 if (opt_H && !opt_R &&
170 !hdate_get_holyday (h, opt_d))
207 if (opt_H && !opt_R && !hdate_get_holyday (h, opt_d))
171208 return 0;
172
173 /* print the day */
174 print_date (h, opt_S);
209
210 /* check for iCal format */
211 if (opt_i)
212 {
213 print_ical_header ();
214
215 printf ("BEGIN:VEVENT\n");
216 printf ("UID:%d\n", ++iCal_uid_counter);
217 printf ("DTSTART;VALUE=DATE:%04d%02d%02d\n", h->gd_year,
218 h->gd_mon, h->gd_day);
219 printf ("SUMMARY:");
220 }
221
222 /* print the day */
223 print_date (h, opt_S, opt_i);
224
225 /* check for iCal format */
226 if (opt_i &&
227 (((opt_h && hdate_get_holyday (h, opt_d)) ||
228 (opt_r && hdate_get_parasha (h, opt_d))) || opt_s))
229 printf ("\\, ");
175230
176231 if (opt_s)
177232 {
178 print_sunrise (h, lat, lon, tz);
179
180 if ((opt_h && hdate_get_holyday (h, opt_d)) ||
181 (opt_r && hdate_get_parasha (h, opt_d)))
233 print_sunrise (h, lat, lon, tz, opt_i);
234
235 if (!opt_i && ((opt_h && hdate_get_holyday (h, opt_d)) ||
236 (opt_r && hdate_get_parasha (h, opt_d))))
182237 printf (", ");
238 if (opt_i && ((opt_h && hdate_get_holyday (h, opt_d)) ||
239 (opt_r && hdate_get_parasha (h, opt_d))))
240 printf ("\\, ");
183241 }
184242 if (opt_h)
185243 {
186 print_holiday (h, opt_d, opt_S);
187
188 if (opt_r && hdate_get_parasha (h, opt_d)
189 && hdate_get_holyday (h, opt_d))
244 print_holiday (h, opt_d, opt_S, opt_i);
245
246 if (!opt_i && (opt_r && hdate_get_parasha (h, opt_d)
247 && hdate_get_holyday (h, opt_d)))
190248 printf (", ");
249 if (opt_i && (opt_r && hdate_get_parasha (h, opt_d)
250 && hdate_get_holyday (h, opt_d)))
251 printf ("\\, ");
191252 }
192253 if (opt_r)
193254 {
194 print_reading (h, opt_d, opt_S);
195 }
196
197 if (opt_r || opt_h || opt_s)
255 print_reading (h, opt_d, opt_S, opt_i);
256 }
257
258 if (opt_r || opt_h || opt_s || opt_i)
198259 {
199260 printf ("\n");
261 }
262
263 /* check for iCal format */
264 if (opt_i)
265 {
266 printf ("CLASS:PUBLIC\n");
267 printf ("DTEND;VALUE=DATE:%04d%02d%02d\n", h->gd_year,
268 h->gd_mon, h->gd_day);
269 printf ("CATEGORIES:Holidays\n");
270 printf ("END:VEVENT\n");
271
272 print_ical_footer ();
200273 }
201274
202275 return 0;
206279 int
207280 print_month (int opt_d, int opt_S,
208281 double lat, double lon, int tz,
209 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H,
282 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H, int opt_i,
210283 int month, int year)
211284 {
212285 hdate_struct h;
217290 jd = h.hd_jd;
218291
219292 /* print month header */
220 printf ("\n%s:\n", hdate_get_month_string (h.gd_mon, opt_S));
293 if (!opt_i)
294 printf ("\n%s:\n", hdate_get_month_string (h.gd_mon, opt_S));
221295
222296 /* print month days */
223297 while (h.gd_mon == month)
224298 {
225299 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
226 opt_r, opt_R, opt_H);
300 opt_r, opt_R, opt_H, opt_i);
227301
228302 jd++;
229303 hdate_set_jd (&h, jd);
230 }
231
232 return 0;
233 }
234
235 /* print one year - all */
236 int
237 print_year (int opt_d, int opt_S,
238 double lat, double lon, int tz, int opt_s, int opt_h, int opt_r,
239 int opt_R, int opt_H, int year)
240 {
241 int month = 1;
242
243 /* print year header */
244 printf ("%d:\n", year);
245
246 /* print year months */
247 while (month < 13)
248 {
249 print_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h, opt_r, opt_R, opt_H,
250 month, year);
251 month++;
252304 }
253305
254306 return 0;
259311 print_hebrew_month (int opt_d, int opt_S,
260312 double lat, double lon, int tz,
261313 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H,
262 int month, int year)
314 int opt_i, int month, int year)
263315 {
264316 hdate_struct h;
265317 int jd;
275327 jd = h.hd_jd;
276328
277329 /* print month header */
278 printf ("\n%s:\n",
279 hdate_get_hebrew_month_string (h.hd_mon, opt_S));
330 if (!opt_i)
331 printf ("\n%s:\n",
332 hdate_get_hebrew_month_string (h.hd_mon,
333 opt_S));
280334
281335 /* print adar I days */
282336 while (h.hd_mon == 13)
283337 {
284338 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s,
285 opt_h, opt_r, opt_R, opt_H);
339 opt_h, opt_r, opt_R, opt_H, opt_i);
286340
287341 jd++;
288342 hdate_set_jd (&h, jd);
292346 jd = h.hd_jd;
293347
294348 /* print month header */
295 printf ("\n%s:\n",
296 hdate_get_hebrew_month_string (h.hd_mon, opt_S));
349 if (!opt_i)
350 printf ("\n%s:\n",
351 hdate_get_hebrew_month_string (h.hd_mon,
352 opt_S));
297353
298354 /* print adar II days */
299355 while (h.hd_mon == 14)
300356 {
301357 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s,
302 opt_h, opt_r, opt_R, opt_H);
358 opt_h, opt_r, opt_R, opt_H, opt_i);
303359
304360 jd++;
305361 hdate_set_jd (&h, jd);
308364 else
309365 {
310366 /* print month header */
311 printf ("\n%s:\n",
312 hdate_get_hebrew_month_string (h.hd_mon, opt_S));
367 if (!opt_i)
368 printf ("\n%s:\n",
369 hdate_get_hebrew_month_string (h.hd_mon,
370 opt_S));
313371
314372 /* print month days */
315373 while (h.hd_mon == month)
316374 {
317375 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s,
318 opt_h, opt_r, opt_R, opt_H);
376 opt_h, opt_r, opt_R, opt_H, opt_i);
319377
320378 jd++;
321379 hdate_set_jd (&h, jd);
322380 }
381 }
382
383 return 0;
384 }
385
386 /* print one gregorian year - all */
387 int
388 print_year (int opt_d, int opt_S,
389 double lat, double lon, int tz, int opt_s, int opt_h, int opt_r,
390 int opt_R, int opt_H, int opt_i, int year)
391 {
392 int month = 1;
393
394 /* print year header */
395 if (!opt_i)
396 printf ("%d:\n", year);
397
398 /* print year months */
399 while (month < 13)
400 {
401 print_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h, opt_r,
402 opt_R, opt_H, opt_i, month, year);
403 month++;
323404 }
324405
325406 return 0;
330411 print_hebrew_year (int opt_d, int opt_S,
331412 double lat, double lon, int tz,
332413 int opt_s, int opt_h, int opt_r, int opt_R, int opt_H,
333 int year)
414 int opt_i, int year)
334415 {
335416 int month = 1;
336417
337418 /* print year header */
338 printf ("%s:\n", hdate_get_int_string (year));
419 if (!opt_i)
420 printf ("%s:\n", hdate_get_int_string (year));
339421
340422 /* print year months */
341423 while (month < 13)
342424 {
343425 print_hebrew_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
344 opt_r, opt_R, opt_H, month, year);
426 opt_r, opt_R, opt_H, opt_i, month, year);
345427 month++;
346428 }
347429
367449 int opt_r = 0; /* -r option reading */
368450 int opt_R = 0; /* -R option just reading */
369451 int opt_d = 0; /* -d option diaspora */
452 int opt_i = 0; /* -i option iCal */
370453
371454 double lat = 32.0; /* -l option default to Tel aviv latitude */
372455 double lon = -34.0; /* -L option default to Tel aviv longitude */
376459 setlocale (LC_ALL, "");
377460
378461 /* command line parsing */
379 while ((c = getopt (argc, argv, "sShHrRdl:L:z:")) != EOF)
462 while ((c = getopt (argc, argv, "sShHrRdil:L:z:")) != EOF)
380463 {
381464 switch (c)
382465 {
399482 case 'd':
400483 opt_d = 1;
401484 break;
485 case 'i':
486 opt_i = 1;
487 break;
402488 case 'l':
403489 if (optarg)
404490 lat = (double) atof (optarg);
421507 /* Get calendar */
422508 if (argc == optind) /* no date entered */
423509 {
424 /* set todays date */
510 /* set date for today */
425511 hdate_set_gdate (&h, 0, 0, 0);
426
512
427513 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
428 opt_r, opt_R, opt_H);
429 exit (1);
514 opt_r, opt_R, opt_H, opt_i);
515
516 exit (0);
430517 }
431518 else if (argc == (optind + 1)) /*only year */
432519 {
441528 if (year > 3000) /* hebrew year */
442529 {
443530 print_hebrew_year (opt_d, opt_S, lat, lon, tz, opt_s,
444 opt_h, opt_r, opt_R, opt_H, year);
445 exit (1);
531 opt_h, opt_r, opt_R, opt_H, opt_i,
532 year);
533
534 exit (0);
446535 }
447536 else
448537 {
449538 print_year (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
450 opt_r, opt_R, opt_H, year);
451 exit (1);
539 opt_r, opt_R, opt_H, opt_i, year);
540
541 exit (0);
452542 }
453543 }
454544 else if (argc == (optind + 2)) /*only month and year */
465555 if (year > 3000) /* hebrew year */
466556 {
467557 print_hebrew_month (opt_d, opt_S, lat, lon, tz, opt_s,
468 opt_h, opt_r, opt_R, opt_H, month, year);
469 exit (1);
558 opt_h, opt_r, opt_R, opt_H, opt_i,
559 month, year);
560
561 exit (0);
470562 }
471563 else
472564 {
473565 print_month (opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
474 opt_r, opt_R, opt_H, month, year);
475 exit (1);
566 opt_r, opt_R, opt_H, opt_i, month, year);
567
568 exit (0);
476569 }
477570 }
478571 else if (argc == (optind + 3)) /*day month and year */
499592 }
500593
501594 print_day (&h, opt_d, opt_S, lat, lon, tz, opt_s, opt_h,
502 opt_r, opt_R, opt_H);
503
504 exit (1);
595 opt_r, opt_R, opt_H, opt_i);
596
597 exit (0);
505598 }
506599 else
507600 {
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
127
184128 EXTRA_DIST = hdate_hebcal.c
185129
186130 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
193137 @WITH_EXAMPLES_TRUE@hdate_hebcal_LDFLAGS =
194138 @WITH_EXAMPLES_TRUE@hdate_hebcal_DEPENDENCIES = $(DEPS)
195139 @WITH_EXAMPLES_TRUE@hdate_hebcal_LDADD = $(ldadd)
196 subdir = examples/hebcal
197 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
198140 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
199 CONFIG_CLEAN_FILES =
200 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_hebcal$(EXEEXT)
201 @WITH_EXAMPLES_FALSE@bin_PROGRAMS =
202 PROGRAMS = $(bin_PROGRAMS)
203
204 am__hdate_hebcal_SOURCES_DIST = hdate_hebcal.c
205 @WITH_EXAMPLES_TRUE@am_hdate_hebcal_OBJECTS = hdate_hebcal.$(OBJEXT)
206 hdate_hebcal_OBJECTS = $(am_hdate_hebcal_OBJECTS)
207 @WITH_EXAMPLES_FALSE@hdate_hebcal_DEPENDENCIES =
208
209 DEFAULT_INCLUDES = -I. -I$(srcdir)
210 depcomp = $(SHELL) $(top_srcdir)/depcomp
211 am__depfiles_maybe = depfiles
212 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/hdate_hebcal.Po
213 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
214 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
215 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
216 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
141 CONFIG_CLEAN_FILES =
142 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_hebcal$(EXEEXT)
143 PROGRAMS = $(bin_PROGRAMS)
144
145
146 DEFS = @DEFS@ -I. -I$(srcdir)
147 CPPFLAGS = @CPPFLAGS@
148 LDFLAGS = @LDFLAGS@
149 @WITH_EXAMPLES_TRUE@hdate_hebcal_OBJECTS = hdate_hebcal.$(OBJEXT)
150 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
151 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
217152 CCLD = $(CC)
218 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
219 $(AM_LDFLAGS) $(LDFLAGS) -o $@
220 DIST_SOURCES = $(am__hdate_hebcal_SOURCES_DIST)
221 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
153 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
154 DIST_COMMON = Makefile.am Makefile.in
155
156
157 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
158
159 TAR = tar
160 GZIP_ENV = --best
222161 SOURCES = $(hdate_hebcal_SOURCES)
223
224 all: all-am
225
162 OBJECTS = $(hdate_hebcal_OBJECTS)
163
164 all: all-redirect
226165 .SUFFIXES:
227 .SUFFIXES: .c .lo .o .obj
228 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
229 cd $(top_srcdir) && \
230 $(AUTOMAKE) --gnu examples/hebcal/Makefile
231 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
232 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
233 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
166 .SUFFIXES: .S .c .lo .o .obj .s
167 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
168 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/hebcal/Makefile
169
170 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) \
172 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
173
174
175 mostlyclean-binPROGRAMS:
176
177 clean-binPROGRAMS:
178 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
179
180 distclean-binPROGRAMS:
181
182 maintainer-clean-binPROGRAMS:
183
234184 install-binPROGRAMS: $(bin_PROGRAMS)
235185 @$(NORMAL_INSTALL)
236186 $(mkinstalldirs) $(DESTDIR)$(bindir)
237187 @list='$(bin_PROGRAMS)'; for p in $$list; do \
238 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
239 if test -f $$p \
240 || test -f $$p1 \
241 ; then \
242 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
243 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
244 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
188 if test -f $$p; then \
189 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
190 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
245191 else :; fi; \
246192 done
247193
248194 uninstall-binPROGRAMS:
249195 @$(NORMAL_UNINSTALL)
250 @list='$(bin_PROGRAMS)'; for p in $$list; do \
251 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
252 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
253 rm -f $(DESTDIR)$(bindir)/$$f; \
196 list='$(bin_PROGRAMS)'; for p in $$list; do \
197 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
254198 done
255199
256 clean-binPROGRAMS:
257 @list='$(bin_PROGRAMS)'; for p in $$list; do \
258 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
259 echo " rm -f $$p $$f"; \
260 rm -f $$p $$f ; \
261 done
262 hdate_hebcal$(EXEEXT): $(hdate_hebcal_OBJECTS) $(hdate_hebcal_DEPENDENCIES)
200 .c.o:
201 $(COMPILE) -c $<
202
203 # FIXME: We should only use cygpath when building on Windows,
204 # and only if it is available.
205 .c.obj:
206 $(COMPILE) -c `cygpath -w $<`
207
208 .s.o:
209 $(COMPILE) -c $<
210
211 .S.o:
212 $(COMPILE) -c $<
213
214 mostlyclean-compile:
215 -rm -f *.o core *.core
216 -rm -f *.$(OBJEXT)
217
218 clean-compile:
219
220 distclean-compile:
221 -rm -f *.tab.c
222
223 maintainer-clean-compile:
224
225 .c.lo:
226 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
227
228 .s.lo:
229 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
230
231 .S.lo:
232 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
233
234 mostlyclean-libtool:
235 -rm -f *.lo
236
237 clean-libtool:
238 -rm -rf .libs _libs
239
240 distclean-libtool:
241
242 maintainer-clean-libtool:
243
244 hdate_hebcal$(EXEEXT): $(hdate_hebcal_OBJECTS) $(hdate_hebcal_DEPENDENCIES)
263245 @rm -f hdate_hebcal$(EXEEXT)
264246 $(LINK) $(hdate_hebcal_LDFLAGS) $(hdate_hebcal_OBJECTS) $(hdate_hebcal_LDADD) $(LIBS)
265247
266 mostlyclean-compile:
267 -rm -f *.$(OBJEXT) core *.core
268
269 distclean-compile:
270 -rm -f *.tab.c
271
272 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_hebcal.Po@am__quote@
273
274 .c.o:
275 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
276 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
277 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
278 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
279 @am__fastdepCC_TRUE@ fi
280 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
281 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
282 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
283 @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
284
285 .c.obj:
286 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
287 @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
288 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
289 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
290 @am__fastdepCC_TRUE@ fi
291 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
292 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
293 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
294 @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
295
296 .c.lo:
297 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
298 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
299 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
300 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
301 @am__fastdepCC_TRUE@ fi
302 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
303 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
304 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
305 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
306
307 mostlyclean-libtool:
308 -rm -f *.lo
309
310 clean-libtool:
311 -rm -rf .libs _libs
312
313 distclean-libtool:
314 -rm -f libtool
315 uninstall-info-am:
316
317 ETAGS = etags
318 ETAGSFLAGS =
319
320 CTAGS = ctags
321 CTAGSFLAGS =
322
323248 tags: TAGS
324249
325 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
326 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
327 unique=`for i in $$list; do \
328 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
329 done | \
330 $(AWK) ' { files[$$0] = 1; } \
250 ID: $(HEADERS) $(SOURCES) $(LISP)
251 list='$(SOURCES) $(HEADERS)'; \
252 unique=`for i in $$list; do echo $$i; done | \
253 awk ' { files[$$0] = 1; } \
331254 END { for (i in files) print i; }'`; \
332 mkid -fID $$unique
333
334 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
335 $(TAGS_FILES) $(LISP)
255 here=`pwd` && cd $(srcdir) \
256 && mkid -f$$here/ID $$unique $(LISP)
257
258 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
336259 tags=; \
337260 here=`pwd`; \
338 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
339 unique=`for i in $$list; do \
340 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341 done | \
342 $(AWK) ' { files[$$0] = 1; } \
261 list='$(SOURCES) $(HEADERS)'; \
262 unique=`for i in $$list; do echo $$i; done | \
263 awk ' { files[$$0] = 1; } \
343264 END { for (i in files) print i; }'`; \
344 test -z "$(ETAGS_ARGS)$$tags$$unique" \
345 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
346 $$tags $$unique
347
348 ctags: CTAGS
349 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
350 $(TAGS_FILES) $(LISP)
351 tags=; \
352 here=`pwd`; \
353 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
354 unique=`for i in $$list; do \
355 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
356 done | \
357 $(AWK) ' { files[$$0] = 1; } \
358 END { for (i in files) print i; }'`; \
359 test -z "$(CTAGS_ARGS)$$tags$$unique" \
360 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
361 $$tags $$unique
362
363 GTAGS:
364 here=`$(am__cd) $(top_builddir) && pwd` \
365 && cd $(top_srcdir) \
366 && gtags -i $(GTAGS_ARGS) $$here
265 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
266 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
267
268 mostlyclean-tags:
269
270 clean-tags:
367271
368272 distclean-tags:
369 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
370 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
371
372 top_distdir = ../..
373 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
273 -rm -f TAGS ID
274
275 maintainer-clean-tags:
276
277 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
278
279 subdir = examples/hebcal
374280
375281 distdir: $(DISTFILES)
376 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
377 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
378 list='$(DISTFILES)'; for file in $$list; do \
379 case $$file in \
380 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
381 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
382 esac; \
383 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
384 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
385 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
386 dir="/$$dir"; \
387 $(mkinstalldirs) "$(distdir)$$dir"; \
388 else \
389 dir=''; \
390 fi; \
282 @for file in $(DISTFILES); do \
283 d=$(srcdir); \
391284 if test -d $$d/$$file; then \
392 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
393 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
394 fi; \
395 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
285 cp -pr $$d/$$file $(distdir)/$$file; \
396286 else \
397287 test -f $(distdir)/$$file \
398 || cp -p $$d/$$file $(distdir)/$$file \
399 || exit 1; \
288 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
289 || cp -p $$d/$$file $(distdir)/$$file || :; \
400290 fi; \
401291 done
292
293 info-am:
294 info: info-am
295 dvi-am:
296 dvi: dvi-am
402297 check-am: all-am
403298 check: check-am
404 all-am: Makefile $(PROGRAMS)
405
406 installdirs:
407 $(mkinstalldirs) $(DESTDIR)$(bindir)
408 install: install-am
299 installcheck-am:
300 installcheck: installcheck-am
301 install-exec-am: install-binPROGRAMS
409302 install-exec: install-exec-am
303
304 install-data-am:
410305 install-data: install-data-am
411 uninstall: uninstall-am
412306
413307 install-am: all-am
414308 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
415
416 installcheck: installcheck-am
309 install: install-am
310 uninstall-am: uninstall-binPROGRAMS
311 uninstall: uninstall-am
312 all-am: Makefile $(PROGRAMS)
313 all-redirect: all-am
417314 install-strip:
418 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
419 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
420 `test -z '$(STRIP)' || \
421 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
315 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
316 installdirs:
317 $(mkinstalldirs) $(DESTDIR)$(bindir)
318
319
422320 mostlyclean-generic:
423321
424322 clean-generic:
425323
426324 distclean-generic:
427 -rm -f $(CONFIG_CLEAN_FILES)
325 -rm -f Makefile $(CONFIG_CLEAN_FILES)
326 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
428327
429328 maintainer-clean-generic:
430 @echo "This command is intended for maintainers to use"
329 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
330 mostlyclean-libtool mostlyclean-tags \
331 mostlyclean-generic
332
333 mostlyclean: mostlyclean-am
334
335 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
336 clean-generic mostlyclean-am
337
338 clean: clean-am
339
340 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
341 distclean-tags distclean-generic clean-am
342 -rm -f libtool
343
344 distclean: distclean-am
345
346 maintainer-clean-am: maintainer-clean-binPROGRAMS \
347 maintainer-clean-compile maintainer-clean-libtool \
348 maintainer-clean-tags maintainer-clean-generic \
349 distclean-am
350 @echo "This command is intended for maintainers to use;"
431351 @echo "it deletes files that may require special tools to rebuild."
432 clean: clean-am
433
434 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
435
436 distclean: distclean-am
437 -rm -rf ./$(DEPDIR)
438 -rm -f Makefile
439 distclean-am: clean-am distclean-compile distclean-generic \
440 distclean-libtool distclean-tags
441
442 dvi: dvi-am
443
444 dvi-am:
445
446 info: info-am
447
448 info-am:
449
450 install-data-am:
451
452 install-exec-am: install-binPROGRAMS
453
454 install-info: install-info-am
455
456 install-man:
457
458 installcheck-am:
459352
460353 maintainer-clean: maintainer-clean-am
461 -rm -rf ./$(DEPDIR)
462 -rm -f Makefile
463 maintainer-clean-am: distclean-am maintainer-clean-generic
464
465 mostlyclean: mostlyclean-am
466
467 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
468 mostlyclean-libtool
469
470 pdf: pdf-am
471
472 pdf-am:
473
474 ps: ps-am
475
476 ps-am:
477
478 uninstall-am: uninstall-binPROGRAMS uninstall-info-am
479
480 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
481 clean-generic clean-libtool ctags distclean distclean-compile \
482 distclean-generic distclean-libtool distclean-tags distdir dvi \
483 dvi-am info info-am install install-am install-binPROGRAMS \
484 install-data install-data-am install-exec install-exec-am \
485 install-info install-info-am install-man install-strip \
486 installcheck installcheck-am installdirs maintainer-clean \
487 maintainer-clean-generic mostlyclean mostlyclean-compile \
488 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
489 tags uninstall uninstall-am uninstall-binPROGRAMS \
490 uninstall-info-am
354
355 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
356 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
357 mostlyclean-compile distclean-compile clean-compile \
358 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
359 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
360 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
361 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
362 install-exec install-data-am install-data install-am install \
363 uninstall-am uninstall all-redirect all-am all installdirs \
364 mostlyclean-generic distclean-generic clean-generic \
365 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
366
491367
492368 # Tell versions [3.59,3.63) of GNU make to not export all variables.
493369 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
127
184128 EXTRA_DIST = hdate_reading_html.c hdate_holydays_html.c
185129
186130 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
202146
203147 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/html
204148 libhdatedoc_DATA = hdate_holydays_html.c hdate_reading_html.c
205 subdir = examples/html
206 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
207149 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
208 CONFIG_CLEAN_FILES =
209 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_html$(EXEEXT) \
210 @WITH_EXAMPLES_TRUE@ hdate_holydays_html$(EXEEXT)
211 @WITH_EXAMPLES_FALSE@bin_PROGRAMS =
212 PROGRAMS = $(bin_PROGRAMS)
213
214 am__hdate_holydays_html_SOURCES_DIST = hdate_holydays_html.c
215 @WITH_EXAMPLES_TRUE@am_hdate_holydays_html_OBJECTS = \
216 @WITH_EXAMPLES_TRUE@ hdate_holydays_html.$(OBJEXT)
217 hdate_holydays_html_OBJECTS = $(am_hdate_holydays_html_OBJECTS)
218 @WITH_EXAMPLES_FALSE@hdate_holydays_html_DEPENDENCIES =
219 am__hdate_reading_html_SOURCES_DIST = hdate_reading_html.c
220 @WITH_EXAMPLES_TRUE@am_hdate_reading_html_OBJECTS = \
221 @WITH_EXAMPLES_TRUE@ hdate_reading_html.$(OBJEXT)
222 hdate_reading_html_OBJECTS = $(am_hdate_reading_html_OBJECTS)
223 @WITH_EXAMPLES_FALSE@hdate_reading_html_DEPENDENCIES =
224
225 DEFAULT_INCLUDES = -I. -I$(srcdir)
226 depcomp = $(SHELL) $(top_srcdir)/depcomp
227 am__depfiles_maybe = depfiles
228 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/hdate_holydays_html.Po \
229 @AMDEP_TRUE@ ./$(DEPDIR)/hdate_reading_html.Po
230 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
231 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
232 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
233 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
150 CONFIG_CLEAN_FILES =
151 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_html$(EXEEXT) \
152 @WITH_EXAMPLES_TRUE@hdate_holydays_html$(EXEEXT)
153 PROGRAMS = $(bin_PROGRAMS)
154
155
156 DEFS = @DEFS@ -I. -I$(srcdir)
157 CPPFLAGS = @CPPFLAGS@
158 LDFLAGS = @LDFLAGS@
159 @WITH_EXAMPLES_TRUE@hdate_reading_html_OBJECTS = \
160 @WITH_EXAMPLES_TRUE@hdate_reading_html.$(OBJEXT)
161 @WITH_EXAMPLES_TRUE@hdate_holydays_html_OBJECTS = \
162 @WITH_EXAMPLES_TRUE@hdate_holydays_html.$(OBJEXT)
163 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
164 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
234165 CCLD = $(CC)
235 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
236 $(AM_LDFLAGS) $(LDFLAGS) -o $@
237 DIST_SOURCES = $(am__hdate_holydays_html_SOURCES_DIST) \
238 $(am__hdate_reading_html_SOURCES_DIST)
239 DATA = $(libhdatedoc_DATA)
240
241 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
242 SOURCES = $(hdate_holydays_html_SOURCES) $(hdate_reading_html_SOURCES)
243
244 all: all-am
245
166 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
167 DATA = $(libhdatedoc_DATA)
168
169 DIST_COMMON = Makefile.am Makefile.in
170
171
172 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
173
174 TAR = tar
175 GZIP_ENV = --best
176 SOURCES = $(hdate_reading_html_SOURCES) $(hdate_holydays_html_SOURCES)
177 OBJECTS = $(hdate_reading_html_OBJECTS) $(hdate_holydays_html_OBJECTS)
178
179 all: all-redirect
246180 .SUFFIXES:
247 .SUFFIXES: .c .lo .o .obj
248 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
249 cd $(top_srcdir) && \
250 $(AUTOMAKE) --gnu examples/html/Makefile
251 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
252 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
253 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
181 .SUFFIXES: .S .c .lo .o .obj .s
182 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
183 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/html/Makefile
184
185 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
186 cd $(top_builddir) \
187 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
188
189
190 mostlyclean-binPROGRAMS:
191
192 clean-binPROGRAMS:
193 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
194
195 distclean-binPROGRAMS:
196
197 maintainer-clean-binPROGRAMS:
198
254199 install-binPROGRAMS: $(bin_PROGRAMS)
255200 @$(NORMAL_INSTALL)
256201 $(mkinstalldirs) $(DESTDIR)$(bindir)
257202 @list='$(bin_PROGRAMS)'; for p in $$list; do \
258 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
259 if test -f $$p \
260 || test -f $$p1 \
261 ; then \
262 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
263 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
264 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
203 if test -f $$p; then \
204 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
205 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
265206 else :; fi; \
266207 done
267208
268209 uninstall-binPROGRAMS:
269210 @$(NORMAL_UNINSTALL)
270 @list='$(bin_PROGRAMS)'; for p in $$list; do \
271 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
272 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
273 rm -f $(DESTDIR)$(bindir)/$$f; \
211 list='$(bin_PROGRAMS)'; for p in $$list; do \
212 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
274213 done
275214
276 clean-binPROGRAMS:
277 @list='$(bin_PROGRAMS)'; for p in $$list; do \
278 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
279 echo " rm -f $$p $$f"; \
280 rm -f $$p $$f ; \
281 done
282 hdate_holydays_html$(EXEEXT): $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_DEPENDENCIES)
215 .c.o:
216 $(COMPILE) -c $<
217
218 # FIXME: We should only use cygpath when building on Windows,
219 # and only if it is available.
220 .c.obj:
221 $(COMPILE) -c `cygpath -w $<`
222
223 .s.o:
224 $(COMPILE) -c $<
225
226 .S.o:
227 $(COMPILE) -c $<
228
229 mostlyclean-compile:
230 -rm -f *.o core *.core
231 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234
235 distclean-compile:
236 -rm -f *.tab.c
237
238 maintainer-clean-compile:
239
240 .c.lo:
241 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
242
243 .s.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
245
246 .S.lo:
247 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
248
249 mostlyclean-libtool:
250 -rm -f *.lo
251
252 clean-libtool:
253 -rm -rf .libs _libs
254
255 distclean-libtool:
256
257 maintainer-clean-libtool:
258
259 hdate_reading_html$(EXEEXT): $(hdate_reading_html_OBJECTS) $(hdate_reading_html_DEPENDENCIES)
260 @rm -f hdate_reading_html$(EXEEXT)
261 $(LINK) $(hdate_reading_html_LDFLAGS) $(hdate_reading_html_OBJECTS) $(hdate_reading_html_LDADD) $(LIBS)
262
263 hdate_holydays_html$(EXEEXT): $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_DEPENDENCIES)
283264 @rm -f hdate_holydays_html$(EXEEXT)
284265 $(LINK) $(hdate_holydays_html_LDFLAGS) $(hdate_holydays_html_OBJECTS) $(hdate_holydays_html_LDADD) $(LIBS)
285 hdate_reading_html$(EXEEXT): $(hdate_reading_html_OBJECTS) $(hdate_reading_html_DEPENDENCIES)
286 @rm -f hdate_reading_html$(EXEEXT)
287 $(LINK) $(hdate_reading_html_LDFLAGS) $(hdate_reading_html_OBJECTS) $(hdate_reading_html_LDADD) $(LIBS)
288
289 mostlyclean-compile:
290 -rm -f *.$(OBJEXT) core *.core
291
292 distclean-compile:
293 -rm -f *.tab.c
294
295 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_holydays_html.Po@am__quote@
296 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_reading_html.Po@am__quote@
297
298 .c.o:
299 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
300 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
301 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
302 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
303 @am__fastdepCC_TRUE@ fi
304 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
305 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
306 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
307 @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
308
309 .c.obj:
310 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
311 @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
312 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
313 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
314 @am__fastdepCC_TRUE@ fi
315 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
316 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
317 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
318 @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
319
320 .c.lo:
321 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
322 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
323 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
324 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
325 @am__fastdepCC_TRUE@ fi
326 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
327 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
328 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
329 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
330
331 mostlyclean-libtool:
332 -rm -f *.lo
333
334 clean-libtool:
335 -rm -rf .libs _libs
336
337 distclean-libtool:
338 -rm -f libtool
339 uninstall-info-am:
340 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
266
341267 install-libhdatedocDATA: $(libhdatedoc_DATA)
342268 @$(NORMAL_INSTALL)
343269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
344270 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
345 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
346 f="`echo $$p | sed -e 's|^.*/||'`"; \
347 echo " $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f"; \
348 $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f; \
271 if test -f $(srcdir)/$$p; then \
272 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
273 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
274 else if test -f $$p; then \
275 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
276 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
277 fi; fi; \
349278 done
350279
351280 uninstall-libhdatedocDATA:
352281 @$(NORMAL_UNINSTALL)
353 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
354 f="`echo $$p | sed -e 's|^.*/||'`"; \
355 echo " rm -f $(DESTDIR)$(libhdatedocdir)/$$f"; \
356 rm -f $(DESTDIR)$(libhdatedocdir)/$$f; \
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
357284 done
358285
359 ETAGS = etags
360 ETAGSFLAGS =
361
362 CTAGS = ctags
363 CTAGSFLAGS =
364
365286 tags: TAGS
366287
367 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
368 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
369 unique=`for i in $$list; do \
370 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
371 done | \
372 $(AWK) ' { files[$$0] = 1; } \
288 ID: $(HEADERS) $(SOURCES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
373292 END { for (i in files) print i; }'`; \
374 mkid -fID $$unique
375
376 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
377 $(TAGS_FILES) $(LISP)
293 here=`pwd` && cd $(srcdir) \
294 && mkid -f$$here/ID $$unique $(LISP)
295
296 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
378297 tags=; \
379298 here=`pwd`; \
380 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
381 unique=`for i in $$list; do \
382 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
383 done | \
384 $(AWK) ' { files[$$0] = 1; } \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
385302 END { for (i in files) print i; }'`; \
386 test -z "$(ETAGS_ARGS)$$tags$$unique" \
387 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
388 $$tags $$unique
389
390 ctags: CTAGS
391 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
392 $(TAGS_FILES) $(LISP)
393 tags=; \
394 here=`pwd`; \
395 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
396 unique=`for i in $$list; do \
397 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
398 done | \
399 $(AWK) ' { files[$$0] = 1; } \
400 END { for (i in files) print i; }'`; \
401 test -z "$(CTAGS_ARGS)$$tags$$unique" \
402 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
403 $$tags $$unique
404
405 GTAGS:
406 here=`$(am__cd) $(top_builddir) && pwd` \
407 && cd $(top_srcdir) \
408 && gtags -i $(GTAGS_ARGS) $$here
303 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
304 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
305
306 mostlyclean-tags:
307
308 clean-tags:
409309
410310 distclean-tags:
411 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
412 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
413
414 top_distdir = ../..
415 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
311 -rm -f TAGS ID
312
313 maintainer-clean-tags:
314
315 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
316
317 subdir = examples/html
416318
417319 distdir: $(DISTFILES)
418 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
419 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
420 list='$(DISTFILES)'; for file in $$list; do \
421 case $$file in \
422 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
423 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
424 esac; \
425 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
426 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
427 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
428 dir="/$$dir"; \
429 $(mkinstalldirs) "$(distdir)$$dir"; \
430 else \
431 dir=''; \
432 fi; \
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
433322 if test -d $$d/$$file; then \
434 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
435 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
436 fi; \
437 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
323 cp -pr $$d/$$file $(distdir)/$$file; \
438324 else \
439325 test -f $(distdir)/$$file \
440 || cp -p $$d/$$file $(distdir)/$$file \
441 || exit 1; \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
442328 fi; \
443329 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
444335 check-am: all-am
445336 check: check-am
446 all-am: Makefile $(PROGRAMS) $(DATA)
447
448 installdirs:
449 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
450 install: install-am
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
451340 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
452343 install-data: install-data-am
453 uninstall: uninstall-am
454344
455345 install-am: all-am
456346 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
457
458 installcheck: installcheck-am
347 install: install-am
348 uninstall-am: uninstall-binPROGRAMS uninstall-libhdatedocDATA
349 uninstall: uninstall-am
350 all-am: Makefile $(PROGRAMS) $(DATA)
351 all-redirect: all-am
459352 install-strip:
460 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
461 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
462 `test -z '$(STRIP)' || \
463 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
464358 mostlyclean-generic:
465359
466360 clean-generic:
467361
468362 distclean-generic:
469 -rm -f $(CONFIG_CLEAN_FILES)
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
470365
471366 maintainer-clean-generic:
472 @echo "This command is intended for maintainers to use"
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
370
371 mostlyclean: mostlyclean-am
372
373 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
374 clean-generic mostlyclean-am
375
376 clean: clean-am
377
378 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
379 distclean-tags distclean-generic clean-am
380 -rm -f libtool
381
382 distclean: distclean-am
383
384 maintainer-clean-am: maintainer-clean-binPROGRAMS \
385 maintainer-clean-compile maintainer-clean-libtool \
386 maintainer-clean-tags maintainer-clean-generic \
387 distclean-am
388 @echo "This command is intended for maintainers to use;"
473389 @echo "it deletes files that may require special tools to rebuild."
474 clean: clean-am
475
476 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
477
478 distclean: distclean-am
479 -rm -rf ./$(DEPDIR)
480 -rm -f Makefile
481 distclean-am: clean-am distclean-compile distclean-generic \
482 distclean-libtool distclean-tags
483
484 dvi: dvi-am
485
486 dvi-am:
487
488 info: info-am
489
490 info-am:
491
492 install-data-am: install-libhdatedocDATA
493
494 install-exec-am: install-binPROGRAMS
495
496 install-info: install-info-am
497
498 install-man:
499
500 installcheck-am:
501390
502391 maintainer-clean: maintainer-clean-am
503 -rm -rf ./$(DEPDIR)
504 -rm -f Makefile
505 maintainer-clean-am: distclean-am maintainer-clean-generic
506
507 mostlyclean: mostlyclean-am
508
509 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
510 mostlyclean-libtool
511
512 pdf: pdf-am
513
514 pdf-am:
515
516 ps: ps-am
517
518 ps-am:
519
520 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
521 uninstall-libhdatedocDATA
522
523 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
524 clean-generic clean-libtool ctags distclean distclean-compile \
525 distclean-generic distclean-libtool distclean-tags distdir dvi \
526 dvi-am info info-am install install-am install-binPROGRAMS \
527 install-data install-data-am install-exec install-exec-am \
528 install-info install-info-am install-libhdatedocDATA \
529 install-man install-strip installcheck installcheck-am \
530 installdirs maintainer-clean maintainer-clean-generic \
531 mostlyclean mostlyclean-compile mostlyclean-generic \
532 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
533 uninstall-am uninstall-binPROGRAMS uninstall-info-am \
534 uninstall-libhdatedocDATA
392
393 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
394 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
395 mostlyclean-compile distclean-compile clean-compile \
396 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
397 clean-libtool maintainer-clean-libtool uninstall-libhdatedocDATA \
398 install-libhdatedocDATA tags mostlyclean-tags distclean-tags clean-tags \
399 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
400 installcheck-am installcheck install-exec-am install-exec \
401 install-data-am install-data install-am install uninstall-am uninstall \
402 all-redirect all-am all installdirs mostlyclean-generic \
403 distclean-generic clean-generic maintainer-clean-generic clean \
404 mostlyclean distclean maintainer-clean
405
535406
536407 # Tell versions [3.59,3.63) of GNU make to not export all variables.
537408 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ../..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
127
184128 EXTRA_DIST = hdate_reading_ical.c hdate_holydays_ical.c
185129
186130 @WITH_EXAMPLES_TRUE@INCLUDES = -I$(top_srcdir)/src
202146
203147 libhdatedocdir = ${prefix}/share/doc/libhdate0/examples/ical
204148 libhdatedoc_DATA = hdate_holydays_ical.c hdate_reading_ical.c
205 subdir = examples/ical
206 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
207149 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
208 CONFIG_CLEAN_FILES =
209 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_ical$(EXEEXT) \
210 @WITH_EXAMPLES_TRUE@ hdate_holydays_ical$(EXEEXT)
211 @WITH_EXAMPLES_FALSE@bin_PROGRAMS =
212 PROGRAMS = $(bin_PROGRAMS)
213
214 am__hdate_holydays_ical_SOURCES_DIST = hdate_holydays_ical.c
215 @WITH_EXAMPLES_TRUE@am_hdate_holydays_ical_OBJECTS = \
216 @WITH_EXAMPLES_TRUE@ hdate_holydays_ical.$(OBJEXT)
217 hdate_holydays_ical_OBJECTS = $(am_hdate_holydays_ical_OBJECTS)
218 @WITH_EXAMPLES_FALSE@hdate_holydays_ical_DEPENDENCIES =
219 am__hdate_reading_ical_SOURCES_DIST = hdate_reading_ical.c
220 @WITH_EXAMPLES_TRUE@am_hdate_reading_ical_OBJECTS = \
221 @WITH_EXAMPLES_TRUE@ hdate_reading_ical.$(OBJEXT)
222 hdate_reading_ical_OBJECTS = $(am_hdate_reading_ical_OBJECTS)
223 @WITH_EXAMPLES_FALSE@hdate_reading_ical_DEPENDENCIES =
224
225 DEFAULT_INCLUDES = -I. -I$(srcdir)
226 depcomp = $(SHELL) $(top_srcdir)/depcomp
227 am__depfiles_maybe = depfiles
228 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/hdate_holydays_ical.Po \
229 @AMDEP_TRUE@ ./$(DEPDIR)/hdate_reading_ical.Po
230 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
231 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
232 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
233 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
150 CONFIG_CLEAN_FILES =
151 @WITH_EXAMPLES_TRUE@bin_PROGRAMS = hdate_reading_ical$(EXEEXT) \
152 @WITH_EXAMPLES_TRUE@hdate_holydays_ical$(EXEEXT)
153 PROGRAMS = $(bin_PROGRAMS)
154
155
156 DEFS = @DEFS@ -I. -I$(srcdir)
157 CPPFLAGS = @CPPFLAGS@
158 LDFLAGS = @LDFLAGS@
159 @WITH_EXAMPLES_TRUE@hdate_reading_ical_OBJECTS = \
160 @WITH_EXAMPLES_TRUE@hdate_reading_ical.$(OBJEXT)
161 @WITH_EXAMPLES_TRUE@hdate_holydays_ical_OBJECTS = \
162 @WITH_EXAMPLES_TRUE@hdate_holydays_ical.$(OBJEXT)
163 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
164 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
234165 CCLD = $(CC)
235 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
236 $(AM_LDFLAGS) $(LDFLAGS) -o $@
237 DIST_SOURCES = $(am__hdate_holydays_ical_SOURCES_DIST) \
238 $(am__hdate_reading_ical_SOURCES_DIST)
239 DATA = $(libhdatedoc_DATA)
240
241 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
242 SOURCES = $(hdate_holydays_ical_SOURCES) $(hdate_reading_ical_SOURCES)
243
244 all: all-am
245
166 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
167 DATA = $(libhdatedoc_DATA)
168
169 DIST_COMMON = Makefile.am Makefile.in
170
171
172 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
173
174 TAR = tar
175 GZIP_ENV = --best
176 SOURCES = $(hdate_reading_ical_SOURCES) $(hdate_holydays_ical_SOURCES)
177 OBJECTS = $(hdate_reading_ical_OBJECTS) $(hdate_holydays_ical_OBJECTS)
178
179 all: all-redirect
246180 .SUFFIXES:
247 .SUFFIXES: .c .lo .o .obj
248 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
249 cd $(top_srcdir) && \
250 $(AUTOMAKE) --gnu examples/ical/Makefile
251 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
252 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
253 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
181 .SUFFIXES: .S .c .lo .o .obj .s
182 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
183 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/ical/Makefile
184
185 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
186 cd $(top_builddir) \
187 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
188
189
190 mostlyclean-binPROGRAMS:
191
192 clean-binPROGRAMS:
193 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
194
195 distclean-binPROGRAMS:
196
197 maintainer-clean-binPROGRAMS:
198
254199 install-binPROGRAMS: $(bin_PROGRAMS)
255200 @$(NORMAL_INSTALL)
256201 $(mkinstalldirs) $(DESTDIR)$(bindir)
257202 @list='$(bin_PROGRAMS)'; for p in $$list; do \
258 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
259 if test -f $$p \
260 || test -f $$p1 \
261 ; then \
262 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
263 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
264 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
203 if test -f $$p; then \
204 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
205 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
265206 else :; fi; \
266207 done
267208
268209 uninstall-binPROGRAMS:
269210 @$(NORMAL_UNINSTALL)
270 @list='$(bin_PROGRAMS)'; for p in $$list; do \
271 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
272 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
273 rm -f $(DESTDIR)$(bindir)/$$f; \
211 list='$(bin_PROGRAMS)'; for p in $$list; do \
212 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
274213 done
275214
276 clean-binPROGRAMS:
277 @list='$(bin_PROGRAMS)'; for p in $$list; do \
278 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
279 echo " rm -f $$p $$f"; \
280 rm -f $$p $$f ; \
281 done
282 hdate_holydays_ical$(EXEEXT): $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_DEPENDENCIES)
215 .c.o:
216 $(COMPILE) -c $<
217
218 # FIXME: We should only use cygpath when building on Windows,
219 # and only if it is available.
220 .c.obj:
221 $(COMPILE) -c `cygpath -w $<`
222
223 .s.o:
224 $(COMPILE) -c $<
225
226 .S.o:
227 $(COMPILE) -c $<
228
229 mostlyclean-compile:
230 -rm -f *.o core *.core
231 -rm -f *.$(OBJEXT)
232
233 clean-compile:
234
235 distclean-compile:
236 -rm -f *.tab.c
237
238 maintainer-clean-compile:
239
240 .c.lo:
241 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
242
243 .s.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
245
246 .S.lo:
247 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
248
249 mostlyclean-libtool:
250 -rm -f *.lo
251
252 clean-libtool:
253 -rm -rf .libs _libs
254
255 distclean-libtool:
256
257 maintainer-clean-libtool:
258
259 hdate_reading_ical$(EXEEXT): $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_DEPENDENCIES)
260 @rm -f hdate_reading_ical$(EXEEXT)
261 $(LINK) $(hdate_reading_ical_LDFLAGS) $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_LDADD) $(LIBS)
262
263 hdate_holydays_ical$(EXEEXT): $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_DEPENDENCIES)
283264 @rm -f hdate_holydays_ical$(EXEEXT)
284265 $(LINK) $(hdate_holydays_ical_LDFLAGS) $(hdate_holydays_ical_OBJECTS) $(hdate_holydays_ical_LDADD) $(LIBS)
285 hdate_reading_ical$(EXEEXT): $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_DEPENDENCIES)
286 @rm -f hdate_reading_ical$(EXEEXT)
287 $(LINK) $(hdate_reading_ical_LDFLAGS) $(hdate_reading_ical_OBJECTS) $(hdate_reading_ical_LDADD) $(LIBS)
288
289 mostlyclean-compile:
290 -rm -f *.$(OBJEXT) core *.core
291
292 distclean-compile:
293 -rm -f *.tab.c
294
295 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_holydays_ical.Po@am__quote@
296 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdate_reading_ical.Po@am__quote@
297
298 .c.o:
299 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
300 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
301 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
302 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
303 @am__fastdepCC_TRUE@ fi
304 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
305 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
306 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
307 @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
308
309 .c.obj:
310 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
311 @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
312 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
313 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
314 @am__fastdepCC_TRUE@ fi
315 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
316 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
317 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
318 @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
319
320 .c.lo:
321 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
322 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
323 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
324 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
325 @am__fastdepCC_TRUE@ fi
326 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
327 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
328 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
329 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
330
331 mostlyclean-libtool:
332 -rm -f *.lo
333
334 clean-libtool:
335 -rm -rf .libs _libs
336
337 distclean-libtool:
338 -rm -f libtool
339 uninstall-info-am:
340 libhdatedocDATA_INSTALL = $(INSTALL_DATA)
266
341267 install-libhdatedocDATA: $(libhdatedoc_DATA)
342268 @$(NORMAL_INSTALL)
343269 $(mkinstalldirs) $(DESTDIR)$(libhdatedocdir)
344270 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
345 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
346 f="`echo $$p | sed -e 's|^.*/||'`"; \
347 echo " $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f"; \
348 $(libhdatedocDATA_INSTALL) $$d$$p $(DESTDIR)$(libhdatedocdir)/$$f; \
271 if test -f $(srcdir)/$$p; then \
272 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
273 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(libhdatedocdir)/$$p; \
274 else if test -f $$p; then \
275 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p"; \
276 $(INSTALL_DATA) $$p $(DESTDIR)$(libhdatedocdir)/$$p; \
277 fi; fi; \
349278 done
350279
351280 uninstall-libhdatedocDATA:
352281 @$(NORMAL_UNINSTALL)
353 @list='$(libhdatedoc_DATA)'; for p in $$list; do \
354 f="`echo $$p | sed -e 's|^.*/||'`"; \
355 echo " rm -f $(DESTDIR)$(libhdatedocdir)/$$f"; \
356 rm -f $(DESTDIR)$(libhdatedocdir)/$$f; \
282 list='$(libhdatedoc_DATA)'; for p in $$list; do \
283 rm -f $(DESTDIR)$(libhdatedocdir)/$$p; \
357284 done
358285
359 ETAGS = etags
360 ETAGSFLAGS =
361
362 CTAGS = ctags
363 CTAGSFLAGS =
364
365286 tags: TAGS
366287
367 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
368 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
369 unique=`for i in $$list; do \
370 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
371 done | \
372 $(AWK) ' { files[$$0] = 1; } \
288 ID: $(HEADERS) $(SOURCES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
373292 END { for (i in files) print i; }'`; \
374 mkid -fID $$unique
375
376 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
377 $(TAGS_FILES) $(LISP)
293 here=`pwd` && cd $(srcdir) \
294 && mkid -f$$here/ID $$unique $(LISP)
295
296 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
378297 tags=; \
379298 here=`pwd`; \
380 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
381 unique=`for i in $$list; do \
382 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
383 done | \
384 $(AWK) ' { files[$$0] = 1; } \
299 list='$(SOURCES) $(HEADERS)'; \
300 unique=`for i in $$list; do echo $$i; done | \
301 awk ' { files[$$0] = 1; } \
385302 END { for (i in files) print i; }'`; \
386 test -z "$(ETAGS_ARGS)$$tags$$unique" \
387 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
388 $$tags $$unique
389
390 ctags: CTAGS
391 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
392 $(TAGS_FILES) $(LISP)
393 tags=; \
394 here=`pwd`; \
395 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
396 unique=`for i in $$list; do \
397 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
398 done | \
399 $(AWK) ' { files[$$0] = 1; } \
400 END { for (i in files) print i; }'`; \
401 test -z "$(CTAGS_ARGS)$$tags$$unique" \
402 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
403 $$tags $$unique
404
405 GTAGS:
406 here=`$(am__cd) $(top_builddir) && pwd` \
407 && cd $(top_srcdir) \
408 && gtags -i $(GTAGS_ARGS) $$here
303 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
304 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
305
306 mostlyclean-tags:
307
308 clean-tags:
409309
410310 distclean-tags:
411 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
412 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
413
414 top_distdir = ../..
415 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
311 -rm -f TAGS ID
312
313 maintainer-clean-tags:
314
315 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
316
317 subdir = examples/ical
416318
417319 distdir: $(DISTFILES)
418 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
419 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
420 list='$(DISTFILES)'; for file in $$list; do \
421 case $$file in \
422 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
423 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
424 esac; \
425 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
426 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
427 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
428 dir="/$$dir"; \
429 $(mkinstalldirs) "$(distdir)$$dir"; \
430 else \
431 dir=''; \
432 fi; \
320 @for file in $(DISTFILES); do \
321 d=$(srcdir); \
433322 if test -d $$d/$$file; then \
434 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
435 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
436 fi; \
437 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
323 cp -pr $$d/$$file $(distdir)/$$file; \
438324 else \
439325 test -f $(distdir)/$$file \
440 || cp -p $$d/$$file $(distdir)/$$file \
441 || exit 1; \
326 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
327 || cp -p $$d/$$file $(distdir)/$$file || :; \
442328 fi; \
443329 done
330
331 info-am:
332 info: info-am
333 dvi-am:
334 dvi: dvi-am
444335 check-am: all-am
445336 check: check-am
446 all-am: Makefile $(PROGRAMS) $(DATA)
447
448 installdirs:
449 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
450 install: install-am
337 installcheck-am:
338 installcheck: installcheck-am
339 install-exec-am: install-binPROGRAMS
451340 install-exec: install-exec-am
341
342 install-data-am: install-libhdatedocDATA
452343 install-data: install-data-am
453 uninstall: uninstall-am
454344
455345 install-am: all-am
456346 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
457
458 installcheck: installcheck-am
347 install: install-am
348 uninstall-am: uninstall-binPROGRAMS uninstall-libhdatedocDATA
349 uninstall: uninstall-am
350 all-am: Makefile $(PROGRAMS) $(DATA)
351 all-redirect: all-am
459352 install-strip:
460 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
461 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
462 `test -z '$(STRIP)' || \
463 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
353 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
354 installdirs:
355 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libhdatedocdir)
356
357
464358 mostlyclean-generic:
465359
466360 clean-generic:
467361
468362 distclean-generic:
469 -rm -f $(CONFIG_CLEAN_FILES)
363 -rm -f Makefile $(CONFIG_CLEAN_FILES)
364 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
470365
471366 maintainer-clean-generic:
472 @echo "This command is intended for maintainers to use"
367 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
368 mostlyclean-libtool mostlyclean-tags \
369 mostlyclean-generic
370
371 mostlyclean: mostlyclean-am
372
373 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
374 clean-generic mostlyclean-am
375
376 clean: clean-am
377
378 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
379 distclean-tags distclean-generic clean-am
380 -rm -f libtool
381
382 distclean: distclean-am
383
384 maintainer-clean-am: maintainer-clean-binPROGRAMS \
385 maintainer-clean-compile maintainer-clean-libtool \
386 maintainer-clean-tags maintainer-clean-generic \
387 distclean-am
388 @echo "This command is intended for maintainers to use;"
473389 @echo "it deletes files that may require special tools to rebuild."
474 clean: clean-am
475
476 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
477
478 distclean: distclean-am
479 -rm -rf ./$(DEPDIR)
480 -rm -f Makefile
481 distclean-am: clean-am distclean-compile distclean-generic \
482 distclean-libtool distclean-tags
483
484 dvi: dvi-am
485
486 dvi-am:
487
488 info: info-am
489
490 info-am:
491
492 install-data-am: install-libhdatedocDATA
493
494 install-exec-am: install-binPROGRAMS
495
496 install-info: install-info-am
497
498 install-man:
499
500 installcheck-am:
501390
502391 maintainer-clean: maintainer-clean-am
503 -rm -rf ./$(DEPDIR)
504 -rm -f Makefile
505 maintainer-clean-am: distclean-am maintainer-clean-generic
506
507 mostlyclean: mostlyclean-am
508
509 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
510 mostlyclean-libtool
511
512 pdf: pdf-am
513
514 pdf-am:
515
516 ps: ps-am
517
518 ps-am:
519
520 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
521 uninstall-libhdatedocDATA
522
523 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
524 clean-generic clean-libtool ctags distclean distclean-compile \
525 distclean-generic distclean-libtool distclean-tags distdir dvi \
526 dvi-am info info-am install install-am install-binPROGRAMS \
527 install-data install-data-am install-exec install-exec-am \
528 install-info install-info-am install-libhdatedocDATA \
529 install-man install-strip installcheck installcheck-am \
530 installdirs maintainer-clean maintainer-clean-generic \
531 mostlyclean mostlyclean-compile mostlyclean-generic \
532 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
533 uninstall-am uninstall-binPROGRAMS uninstall-info-am \
534 uninstall-libhdatedocDATA
392
393 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
394 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
395 mostlyclean-compile distclean-compile clean-compile \
396 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
397 clean-libtool maintainer-clean-libtool uninstall-libhdatedocDATA \
398 install-libhdatedocDATA tags mostlyclean-tags distclean-tags clean-tags \
399 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
400 installcheck-am installcheck install-exec-am install-exec \
401 install-data-am install-data install-am install uninstall-am uninstall \
402 all-redirect all-am all installdirs mostlyclean-generic \
403 distclean-generic clean-generic maintainer-clean-generic clean \
404 mostlyclean distclean maintainer-clean
405
535406
536407 # Tell versions [3.59,3.63) of GNU make to not export all variables.
537408 # Otherwise a system limit (for SysV at least) may be exceeded.
0 #!/bin/sh
1 #
2 # install - install a program, script, or datafile
3 #
4 # This originates from X11R5 (mit/util/scripts/install.sh), which was
5 # later released in X11R6 (xc/config/util/install.sh) with the
6 # following copyright and license.
7 #
8 # Copyright (C) 1994 X Consortium
9 #
10 # Permission is hereby granted, free of charge, to any person obtaining a copy
11 # of this software and associated documentation files (the "Software"), to
12 # deal in the Software without restriction, including without limitation the
13 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
14 # sell copies of the Software, and to permit persons to whom the Software is
15 # furnished to do so, subject to the following conditions:
16 #
17 # The above copyright notice and this permission notice shall be included in
18 # all copies or substantial portions of the Software.
19 #
20 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
24 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
25 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 #
27 # Except as contained in this notice, the name of the X Consortium shall not
28 # be used in advertising or otherwise to promote the sale, use or other deal-
29 # ings in this Software without prior written authorization from the X Consor-
30 # tium.
31 #
32 #
33 # FSF changes to this file are in the public domain.
34 #
35 # Calling this script install-sh is preferred over install.sh, to prevent
36 # `make' implicit rules from creating a file called install from it
37 # when there is no Makefile.
38 #
39 # This script is compatible with the BSD install script, but was written
40 # from scratch. It can only install one file at a time, a restriction
41 # shared with many OS's install programs.
42
43
44 # set DOITPROG to echo to test this script
45
46 # Don't use :- since 4.3BSD and earlier shells don't like it.
47 doit="${DOITPROG-}"
48
49
50 # put in absolute paths if you don't have them in your path; or use env. vars.
51
52 mvprog="${MVPROG-mv}"
53 cpprog="${CPPROG-cp}"
54 chmodprog="${CHMODPROG-chmod}"
55 chownprog="${CHOWNPROG-chown}"
56 chgrpprog="${CHGRPPROG-chgrp}"
57 stripprog="${STRIPPROG-strip}"
58 rmprog="${RMPROG-rm}"
59 mkdirprog="${MKDIRPROG-mkdir}"
60
61 transformbasename=""
62 transform_arg=""
63 instcmd="$mvprog"
64 chmodcmd="$chmodprog 0755"
65 chowncmd=""
66 chgrpcmd=""
67 stripcmd=""
68 rmcmd="$rmprog -f"
69 mvcmd="$mvprog"
70 src=""
71 dst=""
72 dir_arg=""
73
74 while [ x"$1" != x ]; do
75 case $1 in
76 -c) instcmd="$cpprog"
77 shift
78 continue;;
79
80 -d) dir_arg=true
81 shift
82 continue;;
83
84 -m) chmodcmd="$chmodprog $2"
85 shift
86 shift
87 continue;;
88
89 -o) chowncmd="$chownprog $2"
90 shift
91 shift
92 continue;;
93
94 -g) chgrpcmd="$chgrpprog $2"
95 shift
96 shift
97 continue;;
98
99 -s) stripcmd="$stripprog"
100 shift
101 continue;;
102
103 -t=*) transformarg=`echo $1 | sed 's/-t=//'`
104 shift
105 continue;;
106
107 -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
108 shift
109 continue;;
110
111 *) if [ x"$src" = x ]
112 then
113 src=$1
114 else
115 # this colon is to work around a 386BSD /bin/sh bug
116 :
117 dst=$1
118 fi
119 shift
120 continue;;
121 esac
122 done
123
124 if [ x"$src" = x ]
125 then
126 echo "install: no input file specified"
127 exit 1
128 else
129 true
130 fi
131
132 if [ x"$dir_arg" != x ]; then
133 dst=$src
134 src=""
135
136 if [ -d $dst ]; then
137 instcmd=:
138 chmodcmd=""
139 else
140 instcmd=mkdir
141 fi
142 else
143
144 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
145 # might cause directories to be created, which would be especially bad
146 # if $src (and thus $dsttmp) contains '*'.
147
148 if [ -f $src -o -d $src ]
149 then
150 true
151 else
152 echo "install: $src does not exist"
153 exit 1
154 fi
155
156 if [ x"$dst" = x ]
157 then
158 echo "install: no destination specified"
159 exit 1
160 else
161 true
162 fi
163
164 # If destination is a directory, append the input filename; if your system
165 # does not like double slashes in filenames, you may need to add some logic
166
167 if [ -d $dst ]
168 then
169 dst="$dst"/`basename $src`
170 else
171 true
172 fi
173 fi
174
175 ## this sed command emulates the dirname command
176 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
177
178 # Make sure that the destination directory exists.
179 # this part is taken from Noah Friedman's mkinstalldirs script
180
181 # Skip lots of stat calls in the usual case.
182 if [ ! -d "$dstdir" ]; then
183 defaultIFS='
184 '
185 IFS="${IFS-${defaultIFS}}"
186
187 oIFS="${IFS}"
188 # Some sh's can't handle IFS=/ for some reason.
189 IFS='%'
190 set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
191 IFS="${oIFS}"
192
193 pathcomp=''
194
195 while [ $# -ne 0 ] ; do
196 pathcomp="${pathcomp}${1}"
197 shift
198
199 if [ ! -d "${pathcomp}" ] ;
200 then
201 $mkdirprog "${pathcomp}"
202 else
203 true
204 fi
205
206 pathcomp="${pathcomp}/"
207 done
208 fi
209
210 if [ x"$dir_arg" != x ]
211 then
212 $doit $instcmd $dst &&
213
214 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
215 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
216 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
217 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
218 else
219
220 # If we're going to rename the final executable, determine the name now.
221
222 if [ x"$transformarg" = x ]
223 then
224 dstfile=`basename $dst`
225 else
226 dstfile=`basename $dst $transformbasename |
227 sed $transformarg`$transformbasename
228 fi
229
230 # don't allow the sed command to completely eliminate the filename
231
232 if [ x"$dstfile" = x ]
233 then
234 dstfile=`basename $dst`
235 else
236 true
237 fi
238
239 # Make a temp file name in the proper directory.
240
241 dsttmp=$dstdir/#inst.$$#
242
243 # Move or copy the file name to the temp name
244
245 $doit $instcmd $src $dsttmp &&
246
247 trap "rm -f ${dsttmp}" 0 &&
248
249 # and set any options; do chmod last to preserve setuid bits
250
251 # If any of these fail, we abort the whole thing. If we want to
252 # ignore errors from any of these, just make sure not to ignore
253 # errors from the above "$doit $instcmd $src $dsttmp" command.
254
255 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
256 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
257 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
258 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
259
260 # Now rename the file to the real destination.
261
262 $doit $rmcmd -f $dstdir/$dstfile &&
263 $doit $mvcmd $dsttmp $dstdir/$dstfile
264
265 fi &&
266
267
268 exit 0
0 Summary: A library that help use hebrew dates.
1 Name: libhdate
2 Version: 1.4.2
3 Release: 1
4 License: GPL
5 Group: System Environment/Libraries
6 Source: libhdate-%{version}.tar.gz
7
8 BuildRoot: /var/tmp/%{name}-buildroot
9
10 %description
11 LibHdate is a small C,C++ library for Hebrew dates,
12 holidays, and reading sequence (parasha). It is using
13 the source code from Amos Shapir's "hdate" package fixed and
14 patched by Nadav Har'El. The Torah reading sequence
15 is from tables by Zvi Har'El.
16
17 Install libhdate to use Hebrew dates,
18 or build applications that use them.
19
20 Yaacov Zamir <kzamir@walla.co.il>
21
22 %prep
23
24 %setup
25
26 %build
27 %configure --enable-python --enable-perl --enable-pascal --with-perl-sitelib-dir=/usr/lib/perl5/site_perl --with-python-sitelib-dir=/usr/lib/python2.3
28
29 %{__make} %{?_smp_mflags}
30
31 %install
32 %__make DESTDIR=$RPM_BUILD_ROOT install
33
34 # Remove duplicate docs (oron)
35 rm -rf $RPM_BUILD_ROOT/usr/doc
36 # Remove duplicate mans (kobi)
37 rm -rf $RPM_BUILD_ROOT/usr/man
38
39 %clean
40 %__rm -r $RPM_BUILD_ROOT
41
42 %files
43 %defattr(-,root,root)
44 %{_libdir}/libhdate.so*
45 %{_prefix}/share/locale/*
46 %{_bindir}/*
47 %{_prefix}/share/man/man1/*
48 %{_prefix}/share/doc/libhdate/README
49 %{_prefix}/share/doc/libhdate/hdate_README
50 %{_prefix}/share/doc/libhdate/COPYING
51 %{_prefix}/share/doc/libhdate/AUTHORS
52 %{_prefix}/share/doc/libhdate/ChangeLog
53 %{_prefix}/share/doc/libhdate/INSTALL
54 %{_prefix}/share/doc/libhdate/NEWS
55 %{_prefix}/share/doc/libhdate/TODO
56 %{_prefix}/share/doc/libhdate/USE
57 %{_prefix}/share/doc/libhdate/ABOUT-NLS
58
59 %doc hdate_README README AUTHORS NEWS USE ABOUT-NLS COPYING ChangeLog INSTALL TODO USE
60
61 %package devel
62 Summary: Development files for %{name}
63 Group: Development/Libraries
64 Requires: %{name} = %{version}
65
66 %description devel
67 This package contains headers and support files required
68 to build new applications with %{name}
69
70 %files devel
71 %{_libdir}/libhdate.a
72 %{_libdir}/libhdate.la
73 %{_includedir}/hdate.h
74 %{_includedir}/hdatepp.h
75 %{_libdir}/pkgconfig/*
76 %{_prefix}/share/man/man3/hdate.h.3.gz
77 %{_prefix}/share/man/man3/hdate_struct.3.gz
78 %{_prefix}/share/doc/libhdate/examples/*
79
80 %package python
81 Summary: Python binding for %{name}
82 Group: Development/Libraries
83 Requires: %{name} = %{version}
84
85 %description python
86 This package contains %{name} binding to python
87
88 %files python
89 %{_libdir}/python2.3/_hdate.so
90 %{_libdir}/python2.3/hdate.py
91
92 %package perl
93 Summary: Perl binding for %{name}
94 Group: Development/Libraries
95 Requires: %{name} = %{version}
96
97 %description perl
98 This package contains %{name} binding to perl
99
100 %files perl
101 %{_libdir}/perl5/site_perl/hdate.pm
102 %{_libdir}/perl5/site_perl/auto/hdate/hdate.so
103
104 %package pascal
105 Summary: free pascal binding for %{name}
106 Group: Development/Libraries
107 Requires: %{name} = %{version}
108
109 %description pascal
110 This package contains %{name} binding to free pascal
111
112 %files pascal
113 %{_libdir}/fpc/2.0.0/units/linux/hdate/*
114
115 %post
116 /sbin/ldconfig
117
118 %postun
119 /sbin/ldconfig
120
121 %changelog
122 * Thu Mar 4 2005 Yaacov Zamir
123 - Add python and perl packages
124 - Add manfiles
125
126 * Thu Feb 24 2005 Oron Peled <oron@actcom.co.il>
127 - Split to normal runtime and -devel packages (like most
128 libraries do)
129 - Run ldconfig in post install/uninstall
130 - Remove duplicate documentation in /usr/doc (bad location
131 anyway)
132 - Run configure macro, so all dirs get their default values
133 - Use smp_mflags macro for build
134 - Change tagname from Copyright (deprecated) to License
135 - Format header tags and spell correction in description
2424 %setup
2525
2626 %build
27 %configure --enable-python --enable-perl --enable-pascal --with-perl-sitelib-dir=/usr/lib/perl5/site_perl --with-python-sitelib-dir=/usr/lib/python2.3
27 %configure --enable-python --enable-perl --enable-pascal --with-perl-sitelib-dir=/usr/lib/perl5/site_perl --with-python-sitelib-dir=/usr/lib/python@PY_VERSION@
2828
2929 %{__make} %{?_smp_mflags}
3030
4545 %{_prefix}/share/locale/*
4646 %{_bindir}/*
4747 %{_prefix}/share/man/man1/*
48 %{_prefix}/share/doc/libhdate/README
49 %{_prefix}/share/doc/libhdate/hdate_README
50 %{_prefix}/share/doc/libhdate/COPYING
51 %{_prefix}/share/doc/libhdate/AUTHORS
52 %{_prefix}/share/doc/libhdate/ChangeLog
53 %{_prefix}/share/doc/libhdate/INSTALL
54 %{_prefix}/share/doc/libhdate/NEWS
55 %{_prefix}/share/doc/libhdate/TODO
56 %{_prefix}/share/doc/libhdate/USE
57 %{_prefix}/share/doc/libhdate/ABOUT-NLS
4858
4959 %doc hdate_README README AUTHORS NEWS USE ABOUT-NLS COPYING ChangeLog INSTALL TODO USE
5060
6575 %{_libdir}/pkgconfig/*
6676 %{_prefix}/share/man/man3/hdate.h.3.gz
6777 %{_prefix}/share/man/man3/hdate_struct.3.gz
78 %{_prefix}/share/doc/libhdate/examples/*
6879
6980 %package python
7081 Summary: Python binding for %{name}
7586 This package contains %{name} binding to python
7687
7788 %files python
78 %{_libdir}/python2.3/_hdate.so
79 %{_libdir}/python2.3/hdate.py
89 %{_libdir}/python@PY_VERSION@/_hdate.so
90 %{_libdir}/python@PY_VERSION@/hdate.py
8091
8192 %package perl
8293 Summary: Perl binding for %{name}
99110 This package contains %{name} binding to free pascal
100111
101112 %files pascal
102 %{_libdir}/fpc/1.9.4/units/linux/hdate/*
113 %{_libdir}/fpc/@PA_VERSION@/units/linux/hdate/*
103114
104115 %post
105116 /sbin/ldconfig
00 # ltmain.sh - Provide generalized library-building support services.
11 # NOTE: Changing this file will not affect anything until you rerun configure.
22 #
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
44 # Free Software Foundation, Inc.
55 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
66 #
1616 #
1717 # You should have received a copy of the GNU General Public License
1818 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2020 #
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
4242
4343 PROGRAM=ltmain.sh
4444 PACKAGE=libtool
45 VERSION=1.5.6
46 TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $"
47
45 VERSION="1.5.20 Debian 1.5.20-2"
46 TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)"
47
48 # See if we are running on zsh, and set the options which allow our
49 # commands through without removal of \ escapes.
50 if test -n "${ZSH_VERSION+set}" ; then
51 setopt NO_GLOB_SUBST
52 fi
4853
4954 # Check that we have a working $echo.
5055 if test "X$1" = X--no-reexec; then
8287 Xsed="${SED}"' -e 1s/^X//'
8388 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
8489 # test EBCDIC or ASCII
85 case `echo A|tr A '\301'` in
86 A) # EBCDIC based system
87 SP2NL="tr '\100' '\n'"
88 NL2SP="tr '\r\n' '\100\100'"
90 case `echo X|tr X '\101'` in
91 A) # ASCII based system
92 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
93 SP2NL='tr \040 \012'
94 NL2SP='tr \015\012 \040\040'
8995 ;;
90 *) # Assume ASCII based system
91 SP2NL="tr '\040' '\012'"
92 NL2SP="tr '\015\012' '\040\040'"
96 *) # EBCDIC based system
97 SP2NL='tr \100 \n'
98 NL2SP='tr \r\n \100\100'
9399 ;;
94100 esac
95101
106112 fi
107113
108114 # Make sure IFS has a sensible default
109 : ${IFS="
110 "}
115 lt_nl='
116 '
117 IFS=" $lt_nl"
111118
112119 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
113120 $echo "$modename: not configured to build any kind of library" 1>&2
137144 # Need a lot of goo to handle *both* DLLs and import libs
138145 # Has to be a shell function in order to 'eat' the argument
139146 # that is supplied when $file_magic_command is called.
140 func_win32_libid () {
147 func_win32_libid ()
148 {
141149 win32_libid_type="unknown"
142150 win32_fileres=`file -L $1 2>/dev/null`
143151 case $win32_fileres in
177185 # Only attempt this if the compiler in the base compile
178186 # command doesn't match the default compiler.
179187 # arg is usually of the form 'gcc ...'
180 func_infer_tag () {
188 func_infer_tag ()
189 {
181190 if test -n "$available_tags" && test -z "$tagname"; then
182191 CC_quoted=
183192 for arg in $CC; do
234243 esac
235244 fi
236245 }
246
247
248 # func_extract_an_archive dir oldlib
249 func_extract_an_archive ()
250 {
251 f_ex_an_ar_dir="$1"; shift
252 f_ex_an_ar_oldlib="$1"
253
254 $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
255 $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
256 if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
257 :
258 else
259 $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
260 exit $EXIT_FAILURE
261 fi
262 }
263
264 # func_extract_archives gentop oldlib ...
265 func_extract_archives ()
266 {
267 my_gentop="$1"; shift
268 my_oldlibs=${1+"$@"}
269 my_oldobjs=""
270 my_xlib=""
271 my_xabs=""
272 my_xdir=""
273 my_status=""
274
275 $show "${rm}r $my_gentop"
276 $run ${rm}r "$my_gentop"
277 $show "$mkdir $my_gentop"
278 $run $mkdir "$my_gentop"
279 my_status=$?
280 if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
281 exit $my_status
282 fi
283
284 for my_xlib in $my_oldlibs; do
285 # Extract the objects.
286 case $my_xlib in
287 [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
288 *) my_xabs=`pwd`"/$my_xlib" ;;
289 esac
290 my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
291 my_xdir="$my_gentop/$my_xlib"
292
293 $show "${rm}r $my_xdir"
294 $run ${rm}r "$my_xdir"
295 $show "$mkdir $my_xdir"
296 $run $mkdir "$my_xdir"
297 status=$?
298 if test "$status" -ne 0 && test ! -d "$my_xdir"; then
299 exit $status
300 fi
301 case $host in
302 *-darwin*)
303 $show "Extracting $my_xabs"
304 # Do not bother doing anything if just a dry run
305 if test -z "$run"; then
306 darwin_orig_dir=`pwd`
307 cd $my_xdir || exit $?
308 darwin_archive=$my_xabs
309 darwin_curdir=`pwd`
310 darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
311 darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
312 if test -n "$darwin_arches"; then
313 darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
314 darwin_arch=
315 $show "$darwin_base_archive has multiple architectures $darwin_arches"
316 for darwin_arch in $darwin_arches ; do
317 mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
318 lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
319 cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
320 func_extract_an_archive "`pwd`" "${darwin_base_archive}"
321 cd "$darwin_curdir"
322 $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
323 done # $darwin_arches
324 ## Okay now we have a bunch of thin objects, gotta fatten them up :)
325 darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
326 darwin_file=
327 darwin_files=
328 for darwin_file in $darwin_filelist; do
329 darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
330 lipo -create -output "$darwin_file" $darwin_files
331 done # $darwin_filelist
332 ${rm}r unfat-$$
333 cd "$darwin_orig_dir"
334 else
335 cd "$darwin_orig_dir"
336 func_extract_an_archive "$my_xdir" "$my_xabs"
337 fi # $darwin_arches
338 fi # $run
339 ;;
340 *)
341 func_extract_an_archive "$my_xdir" "$my_xabs"
342 ;;
343 esac
344 my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
345 done
346 func_extract_archives_result="$my_oldobjs"
347 }
237348 # End of Shell function definitions
238349 #####################################
239350
304415 --version)
305416 $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
306417 $echo
307 $echo "Copyright (C) 2003 Free Software Foundation, Inc."
418 $echo "Copyright (C) 2005 Free Software Foundation, Inc."
308419 $echo "This is free software; see the source for copying conditions. There is NO"
309420 $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
310 exit $EXIT_SUCCESS
421 exit $?
311422 ;;
312423
313424 --config)
316427 for tagname in $taglist; do
317428 ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
318429 done
319 exit $EXIT_SUCCESS
430 exit $?
320431 ;;
321432
322433 --debug)
341452 else
342453 $echo "disable static libraries"
343454 fi
344 exit $EXIT_SUCCESS
455 exit $?
345456 ;;
346457
347458 --finish) mode="finish" ;;
398509 # Infer the operation mode.
399510 if test -z "$mode"; then
400511 $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
401 $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
512 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
402513 case $nonopt in
403514 *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
404515 mode=link
464575
465576 for arg
466577 do
467 case "$arg_mode" in
578 case $arg_mode in
468579 arg )
469580 # do not "continue". Instead, add this to base_compile
470581 lastarg="$arg"
546657 case $lastarg in
547658 # Double-quote args containing other shell metacharacters.
548659 # Many Bourne shells cannot handle close brackets correctly
549 # in scan sets, so we specify it separately.
660 # in scan sets, and some SunOS ksh mistreat backslash-escaping
661 # in scan sets (worked around with variable expansion),
662 # and furthermore cannot handle '|' '&' '(' ')' in scan sets
663 # at all, so we specify them separately.
550664 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
551665 lastarg="\"$lastarg\""
552666 ;;
620734 esac
621735 done
622736
737 qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
738 case $qlibobj in
739 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
740 qlibobj="\"$qlibobj\"" ;;
741 esac
742 test "X$libobj" != "X$qlibobj" \
743 && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
744 && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
623745 objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
624746 xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
625747 if test "X$xdir" = "X$obj"; then
692814 $run $rm $removelist
693815 exit $EXIT_FAILURE
694816 fi
695 $echo $srcfile > "$lockfile"
817 $echo "$srcfile" > "$lockfile"
696818 fi
697819
698820 if test -n "$fix_srcfile_path"; then
699821 eval srcfile=\"$fix_srcfile_path\"
700822 fi
823 qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
824 case $qsrcfile in
825 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
826 qsrcfile="\"$qsrcfile\"" ;;
827 esac
701828
702829 $run $rm "$libobj" "${libobj}T"
703830
719846 fbsd_hideous_sh_bug=$base_compile
720847
721848 if test "$pic_mode" != no; then
722 command="$base_compile $srcfile $pic_flag"
849 command="$base_compile $qsrcfile $pic_flag"
723850 else
724851 # Don't build PIC code
725 command="$base_compile $srcfile"
852 command="$base_compile $qsrcfile"
726853 fi
727854
728855 if test ! -d "${xdir}$objdir"; then
802929 if test "$build_old_libs" = yes; then
803930 if test "$pic_mode" != yes; then
804931 # Don't build PIC code
805 command="$base_compile $srcfile"
932 command="$base_compile $qsrcfile"
806933 else
807 command="$base_compile $srcfile $pic_flag"
934 command="$base_compile $qsrcfile $pic_flag"
808935 fi
809936 if test "$compiler_c_o" = yes; then
810937 command="$command -o $obj"
12261353 prev=
12271354 continue
12281355 ;;
1356 darwin_framework)
1357 compiler_flags="$compiler_flags $arg"
1358 compile_command="$compile_command $arg"
1359 finalize_command="$finalize_command $arg"
1360 prev=
1361 continue
1362 ;;
12291363 *)
12301364 eval "$prev=\"\$arg\""
12311365 prev=
12831417 fi
12841418 continue
12851419 ;;
1420
1421 -framework|-arch)
1422 prev=darwin_framework
1423 compiler_flags="$compiler_flags $arg"
1424 compile_command="$compile_command $arg"
1425 finalize_command="$finalize_command $arg"
1426 continue
1427 ;;
12861428
12871429 -inst-prefix-dir)
12881430 prev=inst_prefix
13441486 # These systems don't actually have a C library (as such)
13451487 test "X$arg" = "X-lc" && continue
13461488 ;;
1347 *-*-openbsd* | *-*-freebsd*)
1489 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
13481490 # Do not include libc due to us having libc/libc_r.
13491491 test "X$arg" = "X-lc" && continue
13501492 ;;
13551497 esac
13561498 elif test "X$arg" = "X-lc_r"; then
13571499 case $host in
1358 *-*-openbsd* | *-*-freebsd*)
1500 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
13591501 # Do not include libc_r directly, use -pthread flag.
13601502 continue
13611503 ;;
13651507 continue
13661508 ;;
13671509
1510 # Tru64 UNIX uses -model [arg] to determine the layout of C++
1511 # classes, name mangling, and exception handling.
1512 -model)
1513 compile_command="$compile_command $arg"
1514 compiler_flags="$compiler_flags $arg"
1515 finalize_command="$finalize_command $arg"
1516 prev=xcompiler
1517 continue
1518 ;;
1519
13681520 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
1369 deplibs="$deplibs $arg"
1521 compiler_flags="$compiler_flags $arg"
1522 compile_command="$compile_command $arg"
1523 finalize_command="$finalize_command $arg"
13701524 continue
13711525 ;;
13721526
13751529 continue
13761530 ;;
13771531
1378 # gcc -m* arguments should be passed to the linker via $compiler_flags
1379 # in order to pass architecture information to the linker
1380 # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo
1381 # but this is not reliable with gcc because gcc may use -mfoo to
1382 # select a different linker, different libraries, etc, while
1383 # -Wl,-mfoo simply passes -mfoo to the linker.
1384 -m*)
1532 # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
1533 # -r[0-9][0-9]* specifies the processor on the SGI compiler
1534 # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
1535 # +DA*, +DD* enable 64-bit mode on the HP compiler
1536 # -q* pass through compiler args for the IBM compiler
1537 # -m* pass through architecture-specific compiler args for GCC
1538 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
1539
13851540 # Unknown arguments in both finalize_command and compile_command need
13861541 # to be aesthetically quoted because they are evaled later.
13871542 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
18572012 compile_deplibs="$deplib $compile_deplibs"
18582013 finalize_deplibs="$deplib $finalize_deplibs"
18592014 else
1860 deplibs="$deplib $deplibs"
2015 compiler_flags="$compiler_flags $deplib"
18612016 fi
18622017 continue
18632018 ;;
19762131 fi
19772132 case $linkmode in
19782133 lib)
1979 if test "$deplibs_check_method" != pass_all; then
2134 valid_a_lib=no
2135 case $deplibs_check_method in
2136 match_pattern*)
2137 set dummy $deplibs_check_method
2138 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
2139 if eval $echo \"$deplib\" 2>/dev/null \
2140 | $SED 10q \
2141 | $EGREP "$match_pattern_regex" > /dev/null; then
2142 valid_a_lib=yes
2143 fi
2144 ;;
2145 pass_all)
2146 valid_a_lib=yes
2147 ;;
2148 esac
2149 if test "$valid_a_lib" != yes; then
19802150 $echo
19812151 $echo "*** Warning: Trying to link with static lib archive $deplib."
19822152 $echo "*** I have the capability to make that library automatically link in when"
20502220 # it will not redefine variables installed, or shouldnotlink
20512221 installed=yes
20522222 shouldnotlink=no
2223 avoidtemprpath=
2224
20532225
20542226 # Read the .la file
20552227 case $lib in
21482320 dir="$libdir"
21492321 absdir="$libdir"
21502322 fi
2323 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
21512324 else
2152 dir="$ladir/$objdir"
2153 absdir="$abs_ladir/$objdir"
2154 # Remove this search path later
2155 notinst_path="$notinst_path $abs_ladir"
2325 if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
2326 dir="$ladir"
2327 absdir="$abs_ladir"
2328 # Remove this search path later
2329 notinst_path="$notinst_path $abs_ladir"
2330 else
2331 dir="$ladir/$objdir"
2332 absdir="$abs_ladir/$objdir"
2333 # Remove this search path later
2334 notinst_path="$notinst_path $abs_ladir"
2335 fi
21562336 fi # $installed = yes
21572337 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
21582338
22252405 if test -n "$library_names" &&
22262406 { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
22272407 # We need to hardcode the library path
2228 if test -n "$shlibpath_var"; then
2408 if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
22292409 # Make sure the rpath contains only unique directories.
22302410 case "$temp_rpath " in
22312411 *" $dir "*) ;;
22322412 *" $absdir "*) ;;
2233 *) temp_rpath="$temp_rpath $dir" ;;
2413 *) temp_rpath="$temp_rpath $absdir" ;;
22342414 esac
22352415 fi
22362416
24162596 add_dir="-L$dir"
24172597 # Try looking first in the location we're being installed to.
24182598 if test -n "$inst_prefix_dir"; then
2419 case "$libdir" in
2599 case $libdir in
24202600 [\\/]*)
24212601 add_dir="$add_dir -L$inst_prefix_dir$libdir"
24222602 ;;
24892669 add_dir="-L$libdir"
24902670 # Try looking first in the location we're being installed to.
24912671 if test -n "$inst_prefix_dir"; then
2492 case "$libdir" in
2672 case $libdir in
24932673 [\\/]*)
24942674 add_dir="$add_dir -L$inst_prefix_dir$libdir"
24952675 ;;
25502730 fi
25512731 fi
25522732 else
2553 convenience="$convenience $dir/$old_library"
2554 old_convenience="$old_convenience $dir/$old_library"
25552733 deplibs="$dir/$old_library $deplibs"
25562734 link_static=yes
25572735 fi
26692847 *) continue ;;
26702848 esac
26712849 case " $deplibs " in
2850 *" $path "*) ;;
2851 *) deplibs="$path $deplibs" ;;
2852 esac
2853 case " $deplibs " in
26722854 *" $depdepl "*) ;;
26732855 *) deplibs="$depdepl $deplibs" ;;
2674 esac
2675 case " $deplibs " in
2676 *" $path "*) ;;
2677 *) deplibs="$deplibs $path" ;;
26782856 esac
26792857 done
26802858 fi # link_all_deplibs != no
29463124 case $current in
29473125 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
29483126 *)
2949 $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
3127 $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
29503128 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
29513129 exit $EXIT_FAILURE
29523130 ;;
29553133 case $revision in
29563134 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
29573135 *)
2958 $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
3136 $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
29593137 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
29603138 exit $EXIT_FAILURE
29613139 ;;
29643142 case $age in
29653143 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
29663144 *)
2967 $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
3145 $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
29683146 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
29693147 exit $EXIT_FAILURE
29703148 ;;
29903168 versuffix="$major.$age.$revision"
29913169 # Darwin ld doesn't like 0 for these options...
29923170 minor_current=`expr $current + 1`
2993 verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
3171 verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
29943172 ;;
29953173
29963174 freebsd-aout)
31963374 *-*-netbsd*)
31973375 # Don't link with libc until the a.out ld.so is fixed.
31983376 ;;
3199 *-*-openbsd* | *-*-freebsd*)
3377 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
32003378 # Do not include libc due to us having libc/libc_r.
32013379 test "X$arg" = "X-lc" && continue
32023380 ;;
32463424 if test "$?" -eq 0 ; then
32473425 ldd_output=`ldd conftest`
32483426 for i in $deplibs; do
3249 name="`expr $i : '-l\(.*\)'`"
3427 name=`expr $i : '-l\(.*\)'`
32503428 # If $name is empty we are operating on a -L argument.
32513429 if test "$name" != "" && test "$name" -ne "0"; then
32523430 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
32833461 # Error occurred in the first compile. Let's try to salvage
32843462 # the situation: Compile a separate program for each library.
32853463 for i in $deplibs; do
3286 name="`expr $i : '-l\(.*\)'`"
3464 name=`expr $i : '-l\(.*\)'`
32873465 # If $name is empty we are operating on a -L argument.
32883466 if test "$name" != "" && test "$name" != "0"; then
32893467 $rm conftest
33353513 set dummy $deplibs_check_method
33363514 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
33373515 for a_deplib in $deplibs; do
3338 name="`expr $a_deplib : '-l\(.*\)'`"
3516 name=`expr $a_deplib : '-l\(.*\)'`
33393517 # If $name is empty we are operating on a -L argument.
33403518 if test "$name" != "" && test "$name" != "0"; then
33413519 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
34043582 set dummy $deplibs_check_method
34053583 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
34063584 for a_deplib in $deplibs; do
3407 name="`expr $a_deplib : '-l\(.*\)'`"
3585 name=`expr $a_deplib : '-l\(.*\)'`
34083586 # If $name is empty we are operating on a -L argument.
34093587 if test -n "$name" && test "$name" != "0"; then
34103588 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
36453823 # The command line is too long to execute in one step.
36463824 $show "using reloadable object file for export list..."
36473825 skipped_export=:
3826 # Break out early, otherwise skipped_export may be
3827 # set to false by a later but shorter cmd.
3828 break
36483829 fi
36493830 done
36503831 IFS="$save_ifs"
36783859 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
36793860 else
36803861 gentop="$output_objdir/${outputname}x"
3681 $show "${rm}r $gentop"
3682 $run ${rm}r "$gentop"
3683 $show "$mkdir $gentop"
3684 $run $mkdir "$gentop"
3685 status=$?
3686 if test "$status" -ne 0 && test ! -d "$gentop"; then
3687 exit $status
3688 fi
36893862 generated="$generated $gentop"
36903863
3691 for xlib in $convenience; do
3692 # Extract the objects.
3693 case $xlib in
3694 [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
3695 *) xabs=`pwd`"/$xlib" ;;
3696 esac
3697 xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
3698 xdir="$gentop/$xlib"
3699
3700 $show "${rm}r $xdir"
3701 $run ${rm}r "$xdir"
3702 $show "$mkdir $xdir"
3703 $run $mkdir "$xdir"
3704 status=$?
3705 if test "$status" -ne 0 && test ! -d "$xdir"; then
3706 exit $status
3707 fi
3708 # We will extract separately just the conflicting names and we will no
3709 # longer touch any unique names. It is faster to leave these extract
3710 # automatically by $AR in one run.
3711 $show "(cd $xdir && $AR x $xabs)"
3712 $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
3713 if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
3714 :
3715 else
3716 $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
3717 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
3718 $AR t "$xabs" | sort | uniq -cd | while read -r count name
3719 do
3720 i=1
3721 while test "$i" -le "$count"
3722 do
3723 # Put our $i before any first dot (extension)
3724 # Never overwrite any file
3725 name_to="$name"
3726 while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
3727 do
3728 name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
3729 done
3730 $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
3731 $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
3732 i=`expr $i + 1`
3733 done
3734 done
3735 fi
3736
3737 libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
3738 done
3739 fi
3740 fi
3741
3864 func_extract_archives $gentop $convenience
3865 libobjs="$libobjs $func_extract_archives_result"
3866 fi
3867 fi
3868
37423869 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
37433870 eval flag=\"$thread_safe_flag_spec\"
37443871 linker_flags="$linker_flags $flag"
37683895 fi
37693896 fi
37703897
3771 if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
3898 if test "X$skipped_export" != "X:" &&
3899 len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
37723900 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
37733901 :
37743902 else
37873915 save_libobjs=$libobjs
37883916 fi
37893917 save_output=$output
3918 output_la=`$echo "X$output" | $Xsed -e "$basename"`
37903919
37913920 # Clear the reloadable object creation command queue and
37923921 # initialize k to one.
37963925 delfiles=
37973926 last_robj=
37983927 k=1
3799 output=$output_objdir/$save_output-${k}.$objext
3928 output=$output_objdir/$output_la-${k}.$objext
38003929 # Loop over the list of objects to be linked.
38013930 for obj in $save_libobjs
38023931 do
38033932 eval test_cmds=\"$reload_cmds $objlist $last_robj\"
38043933 if test "X$objlist" = X ||
3805 { len=`expr "X$test_cmds" : ".*"` &&
3934 { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
38063935 test "$len" -le "$max_cmd_len"; }; then
38073936 objlist="$objlist $obj"
38083937 else
38163945 # the last one created.
38173946 eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
38183947 fi
3819 last_robj=$output_objdir/$save_output-${k}.$objext
3948 last_robj=$output_objdir/$output_la-${k}.$objext
38203949 k=`expr $k + 1`
3821 output=$output_objdir/$save_output-${k}.$objext
3950 output=$output_objdir/$output_la-${k}.$objext
38223951 objlist=$obj
38233952 len=1
38243953 fi
38383967 eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
38393968 fi
38403969
3841 # Set up a command to remove the reloadale object files
3970 # Set up a command to remove the reloadable object files
38423971 # after they are used.
38433972 i=0
38443973 while test "$i" -lt "$k"
38453974 do
38463975 i=`expr $i + 1`
3847 delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
3976 delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
38483977 done
38493978
38503979 $echo "creating a temporary reloadable object file: $output"
38924021 IFS="$save_ifs"
38934022 eval cmd=\"$cmd\"
38944023 $show "$cmd"
3895 $run eval "$cmd" || exit $?
4024 $run eval "$cmd" || {
4025 lt_exit=$?
4026
4027 # Restore the uninstalled library and exit
4028 if test "$mode" = relink; then
4029 $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
4030 fi
4031
4032 exit $lt_exit
4033 }
38964034 done
38974035 IFS="$save_ifs"
38984036
38994037 # Restore the uninstalled library and exit
39004038 if test "$mode" = relink; then
39014039 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
4040
4041 if test -n "$convenience"; then
4042 if test -z "$whole_archive_flag_spec"; then
4043 $show "${rm}r $gentop"
4044 $run ${rm}r "$gentop"
4045 fi
4046 fi
4047
39024048 exit $EXIT_SUCCESS
39034049 fi
39044050
39764122 eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
39774123 else
39784124 gentop="$output_objdir/${obj}x"
3979 $show "${rm}r $gentop"
3980 $run ${rm}r "$gentop"
3981 $show "$mkdir $gentop"
3982 $run $mkdir "$gentop"
3983 status=$?
3984 if test "$status" -ne 0 && test ! -d "$gentop"; then
3985 exit $status
3986 fi
39874125 generated="$generated $gentop"
39884126
3989 for xlib in $convenience; do
3990 # Extract the objects.
3991 case $xlib in
3992 [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
3993 *) xabs=`pwd`"/$xlib" ;;
3994 esac
3995 xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
3996 xdir="$gentop/$xlib"
3997
3998 $show "${rm}r $xdir"
3999 $run ${rm}r "$xdir"
4000 $show "$mkdir $xdir"
4001 $run $mkdir "$xdir"
4002 status=$?
4003 if test "$status" -ne 0 && test ! -d "$xdir"; then
4004 exit $status
4005 fi
4006 # We will extract separately just the conflicting names and we will no
4007 # longer touch any unique names. It is faster to leave these extract
4008 # automatically by $AR in one run.
4009 $show "(cd $xdir && $AR x $xabs)"
4010 $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
4011 if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
4012 :
4013 else
4014 $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
4015 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
4016 $AR t "$xabs" | sort | uniq -cd | while read -r count name
4017 do
4018 i=1
4019 while test "$i" -le "$count"
4020 do
4021 # Put our $i before any first dot (extension)
4022 # Never overwrite any file
4023 name_to="$name"
4024 while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
4025 do
4026 name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
4027 done
4028 $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
4029 $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
4030 i=`expr $i + 1`
4031 done
4032 done
4033 fi
4034
4035 reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
4036 done
4127 func_extract_archives $gentop $convenience
4128 reload_conv_objs="$reload_objs $func_extract_archives_result"
40374129 fi
40384130 fi
40394131
42954387
42964388 # Prepare the list of exported symbols
42974389 if test -z "$export_symbols"; then
4298 export_symbols="$output_objdir/$output.exp"
4390 export_symbols="$output_objdir/$outputname.exp"
42994391 $run $rm $export_symbols
4300 $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
4392 $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
43014393 else
4302 $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
4303 $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
4394 $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
4395 $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
43044396 $run eval 'mv "$nlist"T "$nlist"'
43054397 fi
43064398 fi
43524444 #endif
43534445
43544446 /* The mapping between symbol names and symbols. */
4447 "
4448
4449 case $host in
4450 *cygwin* | *mingw* )
4451 $echo >> "$output_objdir/$dlsyms" "\
4452 /* DATA imports from DLLs on WIN32 can't be const, because
4453 runtime relocations are performed -- see ld's documentation
4454 on pseudo-relocs */
4455 struct {
4456 "
4457 ;;
4458 * )
4459 $echo >> "$output_objdir/$dlsyms" "\
43554460 const struct {
4461 "
4462 ;;
4463 esac
4464
4465
4466 $echo >> "$output_objdir/$dlsyms" "\
43564467 const char *name;
43574468 lt_ptr address;
43584469 }
45814692 esac
45824693 case $host in
45834694 *cygwin* | *mingw* )
4584 cwrappersource=`$echo ${objdir}/lt-${output}.c`
4695 cwrappersource=`$echo ${objdir}/lt-${outputname}.c`
45854696 cwrapper=`$echo ${output}.exe`
45864697 $rm $cwrappersource $cwrapper
45874698 trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
46804791 EOF
46814792
46824793 cat >> $cwrappersource <<"EOF"
4794 return 127;
46834795 }
46844796
46854797 void *
48144926
48154927 # The HP-UX ksh and POSIX shell print the target directory to stdout
48164928 # if CDPATH is set.
4817 if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
4929 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
48184930
48194931 relink_command=\"$relink_command\"
48204932
49435055 # Backslashes separate directories on plain windows
49445056 *-*-mingw | *-*-os2*)
49455057 $echo >> $output "\
4946 exec \$progdir\\\\\$program \${1+\"\$@\"}
5058 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
49475059 "
49485060 ;;
49495061
49505062 *)
49515063 $echo >> $output "\
4952 exec \$progdir/\$program \${1+\"\$@\"}
5064 exec \"\$progdir/\$program\" \${1+\"\$@\"}
49535065 "
49545066 ;;
49555067 esac
49595071 fi
49605072 else
49615073 # The program doesn't exist.
4962 \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
5074 \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
49635075 \$echo \"This script is just a wrapper for \$program.\" 1>&2
49645076 $echo \"See the $PACKAGE documentation for more information.\" 1>&2
49655077 exit $EXIT_FAILURE
49915103
49925104 if test -n "$addlibs"; then
49935105 gentop="$output_objdir/${outputname}x"
4994 $show "${rm}r $gentop"
4995 $run ${rm}r "$gentop"
4996 $show "$mkdir $gentop"
4997 $run $mkdir "$gentop"
4998 status=$?
4999 if test "$status" -ne 0 && test ! -d "$gentop"; then
5000 exit $status
5001 fi
50025106 generated="$generated $gentop"
50035107
5004 # Add in members from convenience archives.
5005 for xlib in $addlibs; do
5006 # Extract the objects.
5007 case $xlib in
5008 [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
5009 *) xabs=`pwd`"/$xlib" ;;
5010 esac
5011 xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
5012 xdir="$gentop/$xlib"
5013
5014 $show "${rm}r $xdir"
5015 $run ${rm}r "$xdir"
5016 $show "$mkdir $xdir"
5017 $run $mkdir "$xdir"
5018 status=$?
5019 if test "$status" -ne 0 && test ! -d "$xdir"; then
5020 exit $status
5021 fi
5022 # We will extract separately just the conflicting names and we will no
5023 # longer touch any unique names. It is faster to leave these extract
5024 # automatically by $AR in one run.
5025 $show "(cd $xdir && $AR x $xabs)"
5026 $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
5027 if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
5028 :
5029 else
5030 $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
5031 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
5032 $AR t "$xabs" | sort | uniq -cd | while read -r count name
5033 do
5034 i=1
5035 while test "$i" -le "$count"
5036 do
5037 # Put our $i before any first dot (extension)
5038 # Never overwrite any file
5039 name_to="$name"
5040 while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
5041 do
5042 name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
5043 done
5044 $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
5045 $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
5046 i=`expr $i + 1`
5047 done
5048 done
5049 fi
5050
5051 oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
5052 done
5108 func_extract_archives $gentop $addlibs
5109 oldobjs="$oldobjs $func_extract_archives_result"
50535110 fi
50545111
50555112 # Do each command in the archive commands.
50565113 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
50575114 cmds=$old_archive_from_new_cmds
50585115 else
5116 # POSIX demands no paths to be encoded in archives. We have
5117 # to avoid creating archives with duplicate basenames if we
5118 # might have to extract them afterwards, e.g., when creating a
5119 # static archive out of a convenience library, or when linking
5120 # the entirety of a libtool archive into another (currently
5121 # not supported by libtool).
5122 if (for obj in $oldobjs
5123 do
5124 $echo "X$obj" | $Xsed -e 's%^.*/%%'
5125 done | sort | sort -uc >/dev/null 2>&1); then
5126 :
5127 else
5128 $echo "copying selected object files to avoid basename conflicts..."
5129
5130 if test -z "$gentop"; then
5131 gentop="$output_objdir/${outputname}x"
5132 generated="$generated $gentop"
5133
5134 $show "${rm}r $gentop"
5135 $run ${rm}r "$gentop"
5136 $show "$mkdir $gentop"
5137 $run $mkdir "$gentop"
5138 status=$?
5139 if test "$status" -ne 0 && test ! -d "$gentop"; then
5140 exit $status
5141 fi
5142 fi
5143
5144 save_oldobjs=$oldobjs
5145 oldobjs=
5146 counter=1
5147 for obj in $save_oldobjs
5148 do
5149 objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
5150 case " $oldobjs " in
5151 " ") oldobjs=$obj ;;
5152 *[\ /]"$objbase "*)
5153 while :; do
5154 # Make sure we don't pick an alternate name that also
5155 # overlaps.
5156 newobj=lt$counter-$objbase
5157 counter=`expr $counter + 1`
5158 case " $oldobjs " in
5159 *[\ /]"$newobj "*) ;;
5160 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
5161 esac
5162 done
5163 $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
5164 $run ln "$obj" "$gentop/$newobj" ||
5165 $run cp "$obj" "$gentop/$newobj"
5166 oldobjs="$oldobjs $gentop/$newobj"
5167 ;;
5168 *) oldobjs="$oldobjs $obj" ;;
5169 esac
5170 done
5171 fi
5172
50595173 eval cmds=\"$old_archive_cmds\"
50605174
50615175 if len=`expr "X$cmds" : ".*"` &&
50695183 objlist=
50705184 concat_cmds=
50715185 save_oldobjs=$oldobjs
5072 # GNU ar 2.10+ was changed to match POSIX; thus no paths are
5073 # encoded into archives. This makes 'ar r' malfunction in
5074 # this piecewise linking case whenever conflicting object
5075 # names appear in distinct ar calls; check, warn and compensate.
5076 if (for obj in $save_oldobjs
5077 do
5078 $echo "X$obj" | $Xsed -e 's%^.*/%%'
5079 done | sort | sort -uc >/dev/null 2>&1); then
5080 :
5081 else
5082 $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
5083 $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
5084 AR_FLAGS=cq
5085 fi
5186
50865187 # Is there a better way of finding the last object in the list?
50875188 for obj in $save_oldobjs
50885189 do
50935194 oldobjs="$objlist $obj"
50945195 objlist="$objlist $obj"
50955196 eval test_cmds=\"$old_archive_cmds\"
5096 if len=`expr "X$test_cmds" : ".*"` &&
5197 if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
50975198 test "$len" -le "$max_cmd_len"; then
50985199 :
50995200 else
52905391 # install_prog (especially on Windows NT).
52915392 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
52925393 # Allow the use of GNU shtool's install command.
5293 $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
5394 $echo "X$nonopt" | grep shtool > /dev/null; then
52945395 # Aesthetically quote it.
52955396 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
52965397 case $arg in
5297 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
5398 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
52985399 arg="\"$arg\""
52995400 ;;
53005401 esac
53035404 shift
53045405 else
53055406 install_prog=
5306 arg="$nonopt"
5407 arg=$nonopt
53075408 fi
53085409
53095410 # The real first argument should be the name of the installation program.
53105411 # Aesthetically quote it.
53115412 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
53125413 case $arg in
5313 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
5414 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
53145415 arg="\"$arg\""
53155416 ;;
53165417 esac
53285429 do
53295430 if test -n "$dest"; then
53305431 files="$files $dest"
5331 dest="$arg"
5432 dest=$arg
53325433 continue
53335434 fi
53345435
53355436 case $arg in
53365437 -d) isdir=yes ;;
5337 -f) prev="-f" ;;
5338 -g) prev="-g" ;;
5339 -m) prev="-m" ;;
5340 -o) prev="-o" ;;
5438 -f)
5439 case " $install_prog " in
5440 *[\\\ /]cp\ *) ;;
5441 *) prev=$arg ;;
5442 esac
5443 ;;
5444 -g | -m | -o) prev=$arg ;;
53415445 -s)
53425446 stripme=" -s"
53435447 continue
53445448 ;;
5345 -*) ;;
5346
5449 -*)
5450 ;;
53475451 *)
53485452 # If the previous option needed an argument, then skip it.
53495453 if test -n "$prev"; then
53505454 prev=
53515455 else
5352 dest="$arg"
5456 dest=$arg
53535457 continue
53545458 fi
53555459 ;;
53585462 # Aesthetically quote the argument.
53595463 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
53605464 case $arg in
5361 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
5465 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
53625466 arg="\"$arg\""
53635467 ;;
53645468 esac
55275631
55285632 if test "$#" -gt 0; then
55295633 # Delete the old symlinks, and create new ones.
5634 # Try `ln -sf' first, because the `ln' binary might depend on
5635 # the symlink we replace! Solaris /bin/ln does not understand -f,
5636 # so we also need to try rm && ln -s.
55305637 for linkname
55315638 do
55325639 if test "$linkname" != "$realname"; then
5533 $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
5534 $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
5640 $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
5641 $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
55355642 fi
55365643 done
55375644 fi
55445651 IFS="$save_ifs"
55455652 eval cmd=\"$cmd\"
55465653 $show "$cmd"
5547 $run eval "$cmd" || exit $?
5654 $run eval "$cmd" || {
5655 lt_exit=$?
5656
5657 # Restore the uninstalled library and exit
5658 if test "$mode" = relink; then
5659 $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
5660 fi
5661
5662 exit $lt_exit
5663 }
55485664 done
55495665 IFS="$save_ifs"
55505666 fi
56385754 notinst_deplibs=
56395755 relink_command=
56405756
5641 # To insure that "foo" is sourced, and not "foo.exe",
5642 # finese the cygwin/MSYS system by explicitly sourcing "foo."
5643 # which disallows the automatic-append-.exe behavior.
5644 case $build in
5645 *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
5646 *) wrapperdot=${wrapper} ;;
5647 esac
5757 # Note that it is not necessary on cygwin/mingw to append a dot to
5758 # foo even if both foo and FILE.exe exist: automatic-append-.exe
5759 # behavior happens only for exec(3), not for open(2)! Also, sourcing
5760 # `FILE.' does not work on cygwin managed mounts.
5761 #
56485762 # If there is no directory component, then add one.
5649 case $file in
5650 */* | *\\*) . ${wrapperdot} ;;
5651 *) . ./${wrapperdot} ;;
5763 case $wrapper in
5764 */* | *\\*) . ${wrapper} ;;
5765 *) . ./${wrapper} ;;
56525766 esac
56535767
56545768 # Check the variables that should have been set.
56765790 done
56775791
56785792 relink_command=
5679 # To insure that "foo" is sourced, and not "foo.exe",
5680 # finese the cygwin/MSYS system by explicitly sourcing "foo."
5681 # which disallows the automatic-append-.exe behavior.
5682 case $build in
5683 *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
5684 *) wrapperdot=${wrapper} ;;
5685 esac
5793 # Note that it is not necessary on cygwin/mingw to append a dot to
5794 # foo even if both foo and FILE.exe exist: automatic-append-.exe
5795 # behavior happens only for exec(3), not for open(2)! Also, sourcing
5796 # `FILE.' does not work on cygwin managed mounts.
5797 #
56865798 # If there is no directory component, then add one.
5687 case $file in
5688 */* | *\\*) . ${wrapperdot} ;;
5689 *) . ./${wrapperdot} ;;
5799 case $wrapper in
5800 */* | *\\*) . ${wrapper} ;;
5801 *) . ./${wrapper} ;;
56905802 esac
56915803
56925804 outputname=
57275839 fi
57285840
57295841 # remove .exe since cygwin /usr/bin/install will append another
5730 # one anyways
5842 # one anyway
57315843 case $install_prog,$host in
57325844 */usr/bin/install*,*cygwin*)
57335845 case $file:$destfile in
63976509 $echo
63986510 $echo "Try \`$modename --help' for more information about other modes."
63996511
6400 exit $EXIT_SUCCESS
6512 exit $?
64016513
64026514 # The TAGs below are defined such that we never get into a situation
64036515 # in which we disable both kinds of libraries. Given conflicting
0 #! /bin/sh
1 # Common stub for a few missing GNU programs while installing.
2 # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
3 # Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 # 02111-1307, USA.
19
20 if test $# -eq 0; then
21 echo 1>&2 "Try \`$0 --help' for more information"
22 exit 1
23 fi
24
25 # In the cases where this matters, `missing' is being run in the
26 # srcdir already.
27 if test -f configure.in; then
28 configure_ac=configure.ac
29 else
30 configure_ac=configure.in
31 fi
32
33 case "$1" in
34
35 -h|--h|--he|--hel|--help)
36 echo "\
37 $0 [OPTION]... PROGRAM [ARGUMENT]...
38
39 Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
40 error status if there is no known handling for PROGRAM.
41
42 Options:
43 -h, --help display this help and exit
44 -v, --version output version information and exit
45
46 Supported PROGRAM values:
47 aclocal touch file \`aclocal.m4'
48 autoconf touch file \`configure'
49 autoheader touch file \`config.h.in'
50 automake touch all \`Makefile.in' files
51 bison create \`y.tab.[ch]', if possible, from existing .[ch]
52 flex create \`lex.yy.c', if possible, from existing .c
53 lex create \`lex.yy.c', if possible, from existing .c
54 makeinfo touch the output file
55 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
56 ;;
57
58 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
59 echo "missing - GNU libit 0.0"
60 ;;
61
62 -*)
63 echo 1>&2 "$0: Unknown \`$1' option"
64 echo 1>&2 "Try \`$0 --help' for more information"
65 exit 1
66 ;;
67
68 aclocal*)
69 echo 1>&2 "\
70 WARNING: \`$1' is missing on your system. You should only need it if
71 you modified \`acinclude.m4' or \`$configure_ac'. You might want
72 to install the \`Automake' and \`Perl' packages. Grab them from
73 any GNU archive site."
74 touch aclocal.m4
75 ;;
76
77 autoconf)
78 echo 1>&2 "\
79 WARNING: \`$1' is missing on your system. You should only need it if
80 you modified \`$configure_ac'. You might want to install the
81 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
82 archive site."
83 touch configure
84 ;;
85
86 autoheader)
87 echo 1>&2 "\
88 WARNING: \`$1' is missing on your system. You should only need it if
89 you modified \`acconfig.h' or \`$configure_ac'. You might want
90 to install the \`Autoconf' and \`GNU m4' packages. Grab them
91 from any GNU archive site."
92 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
93 test -z "$files" && files="config.h"
94 touch_files=
95 for f in $files; do
96 case "$f" in
97 *:*) touch_files="$touch_files "`echo "$f" |
98 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
99 *) touch_files="$touch_files $f.in";;
100 esac
101 done
102 touch $touch_files
103 ;;
104
105 automake*)
106 echo 1>&2 "\
107 WARNING: \`$1' is missing on your system. You should only need it if
108 you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
109 You might want to install the \`Automake' and \`Perl' packages.
110 Grab them from any GNU archive site."
111 find . -type f -name Makefile.am -print |
112 sed 's/\.am$/.in/' |
113 while read f; do touch "$f"; done
114 ;;
115
116 bison|yacc)
117 echo 1>&2 "\
118 WARNING: \`$1' is missing on your system. You should only need it if
119 you modified a \`.y' file. You may need the \`Bison' package
120 in order for those modifications to take effect. You can get
121 \`Bison' from any GNU archive site."
122 rm -f y.tab.c y.tab.h
123 if [ $# -ne 1 ]; then
124 eval LASTARG="\${$#}"
125 case "$LASTARG" in
126 *.y)
127 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
128 if [ -f "$SRCFILE" ]; then
129 cp "$SRCFILE" y.tab.c
130 fi
131 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
132 if [ -f "$SRCFILE" ]; then
133 cp "$SRCFILE" y.tab.h
134 fi
135 ;;
136 esac
137 fi
138 if [ ! -f y.tab.h ]; then
139 echo >y.tab.h
140 fi
141 if [ ! -f y.tab.c ]; then
142 echo 'main() { return 0; }' >y.tab.c
143 fi
144 ;;
145
146 lex|flex)
147 echo 1>&2 "\
148 WARNING: \`$1' is missing on your system. You should only need it if
149 you modified a \`.l' file. You may need the \`Flex' package
150 in order for those modifications to take effect. You can get
151 \`Flex' from any GNU archive site."
152 rm -f lex.yy.c
153 if [ $# -ne 1 ]; then
154 eval LASTARG="\${$#}"
155 case "$LASTARG" in
156 *.l)
157 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
158 if [ -f "$SRCFILE" ]; then
159 cp "$SRCFILE" lex.yy.c
160 fi
161 ;;
162 esac
163 fi
164 if [ ! -f lex.yy.c ]; then
165 echo 'main() { return 0; }' >lex.yy.c
166 fi
167 ;;
168
169 makeinfo)
170 echo 1>&2 "\
171 WARNING: \`$1' is missing on your system. You should only need it if
172 you modified a \`.texi' or \`.texinfo' file, or any other file
173 indirectly affecting the aspect of the manual. The spurious
174 call might also be the consequence of using a buggy \`make' (AIX,
175 DU, IRIX). You might want to install the \`Texinfo' package or
176 the \`GNU make' package. Grab either from any GNU archive site."
177 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
178 if test -z "$file"; then
179 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
180 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
181 fi
182 touch $file
183 ;;
184
185 *)
186 echo 1>&2 "\
187 WARNING: \`$1' is needed, and you do not seem to have it handy on your
188 system. You might have modified some files without having the
189 proper tools for further handling them. Check the \`README' file,
190 it often tells you about the needed prerequirements for installing
191 this package. You may also peek at any GNU archive site, in case
192 some other package would contain this missing \`$1' program."
193 exit 1
194 ;;
195 esac
196
197 exit 0
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: es_MX\n"
88 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2005-07-27 19:20+0300\n"
9 "POT-Creation-Date: 2005-08-08 00:38+0300\n"
1010 "PO-Revision-Date: 2005-03-07 12:44+0200\n"
1111 "Last-Translator: Yaacov Zamir\n"
1212 "Language-Team: Franch\n"
220220 msgid "Adar II"
221221 msgstr "Adar II"
222222
223 #: src/hdate_strings.c:241 src/hdate_strings.c:272
223 #: src/hdate_strings.c:241 src/hdate_strings.c:274
224224 msgid "Rosh Hashana I"
225225 msgstr "Rosh Hashana I"
226226
227227 #. 1
228 #: src/hdate_strings.c:242 src/hdate_strings.c:273
228 #: src/hdate_strings.c:242 src/hdate_strings.c:275
229229 msgid "Rosh Hashana II"
230230 msgstr "Rosh Hashana II"
231231
232 #: src/hdate_strings.c:243 src/hdate_strings.c:274
232 #: src/hdate_strings.c:243 src/hdate_strings.c:276
233233 msgid "Tzom Gedaliah"
234234 msgstr "Ayuno de Gedaliah"
235235
236 #: src/hdate_strings.c:244 src/hdate_strings.c:275
236 #: src/hdate_strings.c:244 src/hdate_strings.c:277
237237 msgid "Yom Kippur"
238238 msgstr "Yom Kippur"
239239
240 #: src/hdate_strings.c:245 src/hdate_strings.c:276
240 #: src/hdate_strings.c:245 src/hdate_strings.c:278
241241 msgid "Sukkot"
242242 msgstr "Sukkot"
243243
244 #: src/hdate_strings.c:246 src/hdate_strings.c:277
244 #: src/hdate_strings.c:246 src/hdate_strings.c:279
245245 msgid "Hol hamoed Sukkot"
246246 msgstr "Hol hamoed Sukkot"
247247
248 #: src/hdate_strings.c:247 src/hdate_strings.c:278
248 #: src/hdate_strings.c:247 src/hdate_strings.c:280
249249 msgid "Hoshana raba"
250250 msgstr "Hoshana raba"
251251
252 #: src/hdate_strings.c:248 src/hdate_strings.c:279
252 #: src/hdate_strings.c:248 src/hdate_strings.c:281
253253 msgid "Simchat Torah"
254254 msgstr "Simjat Torah"
255255
256 #: src/hdate_strings.c:249 src/hdate_strings.c:280
256 #: src/hdate_strings.c:249 src/hdate_strings.c:282
257257 msgid "Chanukah"
258258 msgstr "Januka"
259259
260 #: src/hdate_strings.c:250 src/hdate_strings.c:281
260 #: src/hdate_strings.c:250 src/hdate_strings.c:283
261261 #, fuzzy
262262 msgid "Asara B'Tevet"
263263 msgstr "Asara B'Tevet"
264264
265265 #. 10
266 #: src/hdate_strings.c:251 src/hdate_strings.c:282
266 #: src/hdate_strings.c:251 src/hdate_strings.c:284
267267 msgid "Tu B'Shvat"
268268 msgstr "Tu B'Shvat"
269269
270 #: src/hdate_strings.c:252 src/hdate_strings.c:283
270 #: src/hdate_strings.c:252 src/hdate_strings.c:285
271271 #, fuzzy
272272 msgid "Ta'anit Esther"
273273 msgstr "Ta'anit Esther"
274274
275 #: src/hdate_strings.c:253 src/hdate_strings.c:284
275 #: src/hdate_strings.c:253 src/hdate_strings.c:286
276276 msgid "Purim"
277277 msgstr "Purim"
278278
279 #: src/hdate_strings.c:254 src/hdate_strings.c:285
279 #: src/hdate_strings.c:254 src/hdate_strings.c:287
280280 msgid "Shushan Purim"
281281 msgstr "Shushan Purim"
282282
283 #: src/hdate_strings.c:255 src/hdate_strings.c:286
283 #: src/hdate_strings.c:255 src/hdate_strings.c:288
284284 msgid "Pesach"
285285 msgstr "Pesaj"
286286
287 #: src/hdate_strings.c:256 src/hdate_strings.c:287
287 #: src/hdate_strings.c:256 src/hdate_strings.c:289
288288 msgid "Hol hamoed Pesach"
289289 msgstr "Jol hamoed Pesaj"
290290
291 #: src/hdate_strings.c:257 src/hdate_strings.c:288
291 #: src/hdate_strings.c:257 src/hdate_strings.c:290
292292 msgid "Yom HaAtzma'ut"
293293 msgstr "Yom HaAtzma'ut"
294294
295 #: src/hdate_strings.c:258 src/hdate_strings.c:289
295 #: src/hdate_strings.c:258 src/hdate_strings.c:291
296296 msgid "Lag B'Omer"
297297 msgstr "Lag B'Omer"
298298
299 #: src/hdate_strings.c:259 src/hdate_strings.c:290
299 #: src/hdate_strings.c:259 src/hdate_strings.c:292
300300 msgid "Erev Shavuot"
301301 msgstr "Víspera de Shavuot"
302302
303 #: src/hdate_strings.c:260 src/hdate_strings.c:291
303 #: src/hdate_strings.c:260 src/hdate_strings.c:293
304304 msgid "Shavuot"
305305 msgstr "Shavuot"
306306
307307 #. 20
308 #: src/hdate_strings.c:261 src/hdate_strings.c:292
308 #: src/hdate_strings.c:261 src/hdate_strings.c:294
309309 msgid "Tzom Tammuz"
310310 msgstr "Ayuno de Tammuz"
311311
312 #: src/hdate_strings.c:262 src/hdate_strings.c:293
312 #: src/hdate_strings.c:262 src/hdate_strings.c:295
313313 msgid "Tish'a B'Av"
314314 msgstr "Tish'a B'Av"
315315
316 #: src/hdate_strings.c:263 src/hdate_strings.c:294
316 #: src/hdate_strings.c:263 src/hdate_strings.c:296
317317 msgid "Tu B'Av"
318318 msgstr "Tu B'Av"
319319
320 #: src/hdate_strings.c:264 src/hdate_strings.c:295
320 #: src/hdate_strings.c:264 src/hdate_strings.c:297
321321 msgid "Yom HaShoah"
322322 msgstr "Día del Holocausto"
323323
324 #: src/hdate_strings.c:265 src/hdate_strings.c:296
324 #: src/hdate_strings.c:265 src/hdate_strings.c:298
325325 msgid "Yom HaZikaron"
326326 msgstr "Día del Recuerdo"
327327
328328 #. 25
329 #: src/hdate_strings.c:266 src/hdate_strings.c:297
329 #: src/hdate_strings.c:266 src/hdate_strings.c:299
330330 #, fuzzy
331331 msgid "Yom Yerushalayim"
332332 msgstr "Yom Yerushalayim"
333333
334 #: src/hdate_strings.c:267 src/hdate_strings.c:298
334 #: src/hdate_strings.c:267 src/hdate_strings.c:300
335335 msgid "Shmini Atzeret"
336336 msgstr "Shemini Atzeret"
337337
338 #: src/hdate_strings.c:268 src/hdate_strings.c:299
338 #: src/hdate_strings.c:268 src/hdate_strings.c:301
339339 msgid "Pesach VII"
340340 msgstr "Pesaj VII"
341341
342 #: src/hdate_strings.c:269 src/hdate_strings.c:300
342 #: src/hdate_strings.c:269 src/hdate_strings.c:302
343343 msgid "Pesach VIII"
344344 msgstr "Pesaj VIII"
345345
346 #: src/hdate_strings.c:270 src/hdate_strings.c:301
346 #: src/hdate_strings.c:270 src/hdate_strings.c:303
347347 msgid "Shavuot II"
348348 msgstr "Shavuot II"
349349
350 #: src/hdate_strings.c:334 src/hdate_strings.c:397
350 #: src/hdate_strings.c:271 src/hdate_strings.c:304
351 #, fuzzy
352 msgid "Sukkot II"
353 msgstr "Sukkot II"
354
355 #: src/hdate_strings.c:272 src/hdate_strings.c:305
356 #, fuzzy
357 msgid "Pesach II"
358 msgstr "Pesaj II"
359
360 #: src/hdate_strings.c:338 src/hdate_strings.c:401
351361 msgid "none"
352362 msgstr "ninguno"
353363
354 #: src/hdate_strings.c:335 src/hdate_strings.c:398
364 #: src/hdate_strings.c:339 src/hdate_strings.c:402
355365 msgid "Bereshit"
356366 msgstr "Bereshit"
357367
358368 #. 1
359 #: src/hdate_strings.c:336 src/hdate_strings.c:399
369 #: src/hdate_strings.c:340 src/hdate_strings.c:403
360370 msgid "Noach"
361371 msgstr "Noaj"
362372
363 #: src/hdate_strings.c:337 src/hdate_strings.c:400
373 #: src/hdate_strings.c:341 src/hdate_strings.c:404
364374 msgid "Lech-Lecha"
365375 msgstr "Lej-Lejá"
366376
367 #: src/hdate_strings.c:338 src/hdate_strings.c:401
377 #: src/hdate_strings.c:342 src/hdate_strings.c:405
368378 msgid "Vayera"
369379 msgstr "Vaira"
370380
371 #: src/hdate_strings.c:339 src/hdate_strings.c:402
381 #: src/hdate_strings.c:343 src/hdate_strings.c:406
372382 msgid "Chayei Sara"
373383 msgstr "Jayei Sará"
374384
375 #: src/hdate_strings.c:340 src/hdate_strings.c:403
385 #: src/hdate_strings.c:344 src/hdate_strings.c:407
376386 #, fuzzy
377387 msgid "Toldot"
378388 msgstr "Toldot"
379389
380 #: src/hdate_strings.c:341 src/hdate_strings.c:404
390 #: src/hdate_strings.c:345 src/hdate_strings.c:408
381391 #, fuzzy
382392 msgid "Vayetzei"
383393 msgstr "Vayetzei"
384394
385 #: src/hdate_strings.c:342 src/hdate_strings.c:405
395 #: src/hdate_strings.c:346 src/hdate_strings.c:409
386396 #, fuzzy
387397 msgid "Vayishlach"
388398 msgstr "Vayishalaj"
389399
390 #: src/hdate_strings.c:343 src/hdate_strings.c:406
400 #: src/hdate_strings.c:347 src/hdate_strings.c:410
391401 #, fuzzy
392402 msgid "Vayeshev"
393403 msgstr "Vayeshev"
394404
395 #: src/hdate_strings.c:344 src/hdate_strings.c:407
405 #: src/hdate_strings.c:348 src/hdate_strings.c:411
396406 #, fuzzy
397407 msgid "Miketz"
398408 msgstr "Miketz"
399409
400410 #. 10
401 #: src/hdate_strings.c:345 src/hdate_strings.c:408
411 #: src/hdate_strings.c:349 src/hdate_strings.c:412
402412 #, fuzzy
403413 msgid "Vayigash"
404414 msgstr "Vayigash"
405415
406 #: src/hdate_strings.c:346 src/hdate_strings.c:409
416 #: src/hdate_strings.c:350 src/hdate_strings.c:413
407417 #, fuzzy
408418 msgid "Vayechi"
409419 msgstr "Vayejí"
410420
411 #: src/hdate_strings.c:347 src/hdate_strings.c:410
421 #: src/hdate_strings.c:351 src/hdate_strings.c:414
412422 msgid "Shemot"
413423 msgstr "Shemot"
414424
415 #: src/hdate_strings.c:348 src/hdate_strings.c:411
425 #: src/hdate_strings.c:352 src/hdate_strings.c:415
416426 msgid "Vaera"
417427 msgstr "Vaerá"
418428
419 #: src/hdate_strings.c:349 src/hdate_strings.c:412
429 #: src/hdate_strings.c:353 src/hdate_strings.c:416
420430 msgid "Bo"
421431 msgstr "Bo"
422432
423 #: src/hdate_strings.c:350 src/hdate_strings.c:413
433 #: src/hdate_strings.c:354 src/hdate_strings.c:417
424434 msgid "Beshalach"
425435 msgstr "Beshalaj"
426436
427 #: src/hdate_strings.c:351 src/hdate_strings.c:414
437 #: src/hdate_strings.c:355 src/hdate_strings.c:418
428438 msgid "Yitro"
429439 msgstr "Yitro"
430440
431 #: src/hdate_strings.c:352 src/hdate_strings.c:415
441 #: src/hdate_strings.c:356 src/hdate_strings.c:419
432442 msgid "Mishpatim"
433443 msgstr "Mishpatim"
434444
435 #: src/hdate_strings.c:353 src/hdate_strings.c:416
445 #: src/hdate_strings.c:357 src/hdate_strings.c:420
436446 msgid "Terumah"
437447 msgstr "Terumá"
438448
439 #: src/hdate_strings.c:354 src/hdate_strings.c:417
449 #: src/hdate_strings.c:358 src/hdate_strings.c:421
440450 msgid "Tetzaveh"
441451 msgstr "Tetzavé"
442452
443453 #. 20
444 #: src/hdate_strings.c:355 src/hdate_strings.c:418
454 #: src/hdate_strings.c:359 src/hdate_strings.c:422
445455 msgid "Ki Tisa"
446456 msgstr "Ki Tisá"
447457
448 #: src/hdate_strings.c:356 src/hdate_strings.c:419
458 #: src/hdate_strings.c:360 src/hdate_strings.c:423
449459 msgid "Vayakhel"
450460 msgstr "Vayajel"
451461
452 #: src/hdate_strings.c:357 src/hdate_strings.c:420
462 #: src/hdate_strings.c:361 src/hdate_strings.c:424
453463 msgid "Pekudei"
454464 msgstr "Pekudei"
455465
456 #: src/hdate_strings.c:358 src/hdate_strings.c:421
466 #: src/hdate_strings.c:362 src/hdate_strings.c:425
457467 msgid "Vayikra"
458468 msgstr "Vayikrá"
459469
460 #: src/hdate_strings.c:359 src/hdate_strings.c:422
470 #: src/hdate_strings.c:363 src/hdate_strings.c:426
461471 msgid "Tzav"
462472 msgstr "Tzav"
463473
464 #: src/hdate_strings.c:360 src/hdate_strings.c:423
474 #: src/hdate_strings.c:364 src/hdate_strings.c:427
465475 msgid "Shmini"
466476 msgstr "Shemini"
467477
468 #: src/hdate_strings.c:361 src/hdate_strings.c:424
478 #: src/hdate_strings.c:365 src/hdate_strings.c:428
469479 msgid "Tazria"
470480 msgstr "Tazría"
471481
472 #: src/hdate_strings.c:362 src/hdate_strings.c:425
482 #: src/hdate_strings.c:366 src/hdate_strings.c:429
473483 msgid "Metzora"
474484 msgstr "Metzorá"
475485
476 #: src/hdate_strings.c:363 src/hdate_strings.c:426
486 #: src/hdate_strings.c:367 src/hdate_strings.c:430
477487 msgid "Achrei Mot"
478488 msgstr "Ajrei Mot"
479489
480 #: src/hdate_strings.c:364 src/hdate_strings.c:427
490 #: src/hdate_strings.c:368 src/hdate_strings.c:431
481491 msgid "Kedoshim"
482492 msgstr "Kedoshim"
483493
484494 #. 30
485 #: src/hdate_strings.c:365 src/hdate_strings.c:428
495 #: src/hdate_strings.c:369 src/hdate_strings.c:432
486496 msgid "Emor"
487497 msgstr "Emor"
488498
489 #: src/hdate_strings.c:366 src/hdate_strings.c:429
499 #: src/hdate_strings.c:370 src/hdate_strings.c:433
490500 msgid "Behar"
491501 msgstr "Bejar"
492502
493 #: src/hdate_strings.c:367 src/hdate_strings.c:430
503 #: src/hdate_strings.c:371 src/hdate_strings.c:434
494504 msgid "Bechukotai"
495505 msgstr "Bejukotai"
496506
497 #: src/hdate_strings.c:368 src/hdate_strings.c:431
507 #: src/hdate_strings.c:372 src/hdate_strings.c:435
498508 msgid "Bamidbar"
499509 msgstr "Bamidbar"
500510
501 #: src/hdate_strings.c:369 src/hdate_strings.c:432
511 #: src/hdate_strings.c:373 src/hdate_strings.c:436
502512 #, fuzzy
503513 msgid "Nasso"
504514 msgstr "Nasso"
505515
506 #: src/hdate_strings.c:370 src/hdate_strings.c:433
516 #: src/hdate_strings.c:374 src/hdate_strings.c:437
507517 msgid "Beha'alotcha"
508518 msgstr "Beha'alotja"
509519
510 #: src/hdate_strings.c:371 src/hdate_strings.c:434
520 #: src/hdate_strings.c:375 src/hdate_strings.c:438
511521 msgid "Sh'lach"
512522 msgstr "Shalaj"
513523
514 #: src/hdate_strings.c:372 src/hdate_strings.c:435
524 #: src/hdate_strings.c:376 src/hdate_strings.c:439
515525 msgid "Korach"
516526 msgstr "Koraj"
517527
518 #: src/hdate_strings.c:373 src/hdate_strings.c:436
528 #: src/hdate_strings.c:377 src/hdate_strings.c:440
519529 msgid "Chukat"
520530 msgstr "Jukat"
521531
522 #: src/hdate_strings.c:374 src/hdate_strings.c:437
532 #: src/hdate_strings.c:378 src/hdate_strings.c:441
523533 msgid "Balak"
524534 msgstr "Balak"
525535
526536 #. 40
527 #: src/hdate_strings.c:375 src/hdate_strings.c:438
537 #: src/hdate_strings.c:379 src/hdate_strings.c:442
528538 msgid "Pinchas"
529539 msgstr "Pinjas"
530540
531 #: src/hdate_strings.c:376 src/hdate_strings.c:439
541 #: src/hdate_strings.c:380 src/hdate_strings.c:443
532542 msgid "Matot"
533543 msgstr "Matot"
534544
535 #: src/hdate_strings.c:377 src/hdate_strings.c:440
545 #: src/hdate_strings.c:381 src/hdate_strings.c:444
536546 msgid "Masei"
537547 msgstr "Masei"
538548
539 #: src/hdate_strings.c:378 src/hdate_strings.c:441
549 #: src/hdate_strings.c:382 src/hdate_strings.c:445
540550 msgid "Devarim"
541551 msgstr "Devarim"
542552
543 #: src/hdate_strings.c:379 src/hdate_strings.c:442
553 #: src/hdate_strings.c:383 src/hdate_strings.c:446
544554 msgid "Vaetchanan"
545555 msgstr "Vaetjanan"
546556
547 #: src/hdate_strings.c:380 src/hdate_strings.c:443
557 #: src/hdate_strings.c:384 src/hdate_strings.c:447
548558 msgid "Eikev"
549559 msgstr "Eikev"
550560
551 #: src/hdate_strings.c:381 src/hdate_strings.c:444
561 #: src/hdate_strings.c:385 src/hdate_strings.c:448
552562 msgid "Re'eh"
553563 msgstr "Re'é"
554564
555 #: src/hdate_strings.c:382 src/hdate_strings.c:445
565 #: src/hdate_strings.c:386 src/hdate_strings.c:449
556566 msgid "Shoftim"
557567 msgstr "Shoftim"
558568
559 #: src/hdate_strings.c:383 src/hdate_strings.c:446
569 #: src/hdate_strings.c:387 src/hdate_strings.c:450
560570 msgid "Ki Teitzei"
561571 msgstr "Ki Teitzei"
562572
563 #: src/hdate_strings.c:384 src/hdate_strings.c:447
573 #: src/hdate_strings.c:388 src/hdate_strings.c:451
564574 msgid "Ki Tavo"
565575 msgstr "Ki Tavó"
566576
567577 #. 50
568 #: src/hdate_strings.c:385 src/hdate_strings.c:448
578 #: src/hdate_strings.c:389 src/hdate_strings.c:452
569579 msgid "Nitzavim"
570580 msgstr "Nitzavim"
571581
572 #: src/hdate_strings.c:386 src/hdate_strings.c:449
582 #: src/hdate_strings.c:390 src/hdate_strings.c:453
573583 msgid "Vayeilech"
574584 msgstr "Vayeilej"
575585
576 #: src/hdate_strings.c:387 src/hdate_strings.c:450
586 #: src/hdate_strings.c:391 src/hdate_strings.c:454
577587 msgid "Ha'Azinu"
578588 msgstr "Ha'Azinu"
579589
580 #: src/hdate_strings.c:388 src/hdate_strings.c:451
590 #: src/hdate_strings.c:392 src/hdate_strings.c:455
581591 msgid "Vezot Habracha"
582592 msgstr "Vezot Haberaja"
583593
584594 #. 54
585 #: src/hdate_strings.c:389 src/hdate_strings.c:452
595 #: src/hdate_strings.c:393 src/hdate_strings.c:456
586596 #, fuzzy
587597 msgid "Vayakhel-Pekudei"
588598 msgstr "Vayakhel-Pekudei"
589599
590 #: src/hdate_strings.c:390 src/hdate_strings.c:453
600 #: src/hdate_strings.c:394 src/hdate_strings.c:457
591601 msgid "Tazria-Metzora"
592602 msgstr "Tazría-Metzora"
593603
594 #: src/hdate_strings.c:391 src/hdate_strings.c:454
604 #: src/hdate_strings.c:395 src/hdate_strings.c:458
595605 msgid "Achrei Mot-Kedoshim"
596606 msgstr "Ajrei Mot-Kedoshim"
597607
598 #: src/hdate_strings.c:392 src/hdate_strings.c:455
608 #: src/hdate_strings.c:396 src/hdate_strings.c:459
599609 msgid "Behar-Bechukotai"
600610 msgstr "Bejar-Bejukotai"
601611
602 #: src/hdate_strings.c:393 src/hdate_strings.c:456
612 #: src/hdate_strings.c:397 src/hdate_strings.c:460
603613 msgid "Chukat-Balak"
604614 msgstr "Jukat-Balak"
605615
606 #: src/hdate_strings.c:394 src/hdate_strings.c:457
616 #: src/hdate_strings.c:398 src/hdate_strings.c:461
607617 msgid "Matot-Masei"
608618 msgstr "Matot-Masei"
609619
610 #: src/hdate_strings.c:395 src/hdate_strings.c:458
620 #: src/hdate_strings.c:399 src/hdate_strings.c:462
611621 #, fuzzy
612622 msgid "Nitzavim-Vayeilech"
613623 msgstr "Nitzavim-Vayeilej"
614624
615625 #. if untranslated return null
616626 #. return the translator name
617 #: src/hdate_strings.c:560 src/hdate_strings.c:564
627 #: src/hdate_strings.c:564 src/hdate_strings.c:568
618628 msgid "translator"
619629 msgstr "Esther Peled <esti@actcom.co.il>"
Binary diff not shown
66 msgstr ""
77 "Project-Id-Version: fr\n"
88 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2005-07-27 19:20+0300\n"
9 "POT-Creation-Date: 2005-08-08 00:38+0300\n"
1010 "PO-Revision-Date: 2005-03-07 12:44+0200\n"
1111 "Last-Translator: Yaacov Zamir\n"
1212 "Language-Team: Franch\n"
218218 msgid "Adar II"
219219 msgstr "Adar II"
220220
221 #: src/hdate_strings.c:241 src/hdate_strings.c:272
221 #: src/hdate_strings.c:241 src/hdate_strings.c:274
222222 msgid "Rosh Hashana I"
223223 msgstr "Rosh Hashana I"
224224
225225 #. 1
226 #: src/hdate_strings.c:242 src/hdate_strings.c:273
226 #: src/hdate_strings.c:242 src/hdate_strings.c:275
227227 msgid "Rosh Hashana II"
228228 msgstr "Rosh Hashana II"
229229
230 #: src/hdate_strings.c:243 src/hdate_strings.c:274
230 #: src/hdate_strings.c:243 src/hdate_strings.c:276
231231 msgid "Tzom Gedaliah"
232232 msgstr "Tzom Gedaliah"
233233
234 #: src/hdate_strings.c:244 src/hdate_strings.c:275
234 #: src/hdate_strings.c:244 src/hdate_strings.c:277
235235 msgid "Yom Kippur"
236236 msgstr "Yom Kippur"
237237
238 #: src/hdate_strings.c:245 src/hdate_strings.c:276
238 #: src/hdate_strings.c:245 src/hdate_strings.c:278
239239 msgid "Sukkot"
240240 msgstr "Sukkot"
241241
242 #: src/hdate_strings.c:246 src/hdate_strings.c:277
242 #: src/hdate_strings.c:246 src/hdate_strings.c:279
243243 msgid "Hol hamoed Sukkot"
244244 msgstr "Hol hamoed Sukkot"
245245
246 #: src/hdate_strings.c:247 src/hdate_strings.c:278
246 #: src/hdate_strings.c:247 src/hdate_strings.c:280
247247 msgid "Hoshana raba"
248248 msgstr "Hoshana raba"
249249
250 #: src/hdate_strings.c:248 src/hdate_strings.c:279
250 #: src/hdate_strings.c:248 src/hdate_strings.c:281
251251 msgid "Simchat Torah"
252252 msgstr "Simchat Torah"
253253
254 #: src/hdate_strings.c:249 src/hdate_strings.c:280
254 #: src/hdate_strings.c:249 src/hdate_strings.c:282
255255 msgid "Chanukah"
256256 msgstr "Chanuka"
257257
258 #: src/hdate_strings.c:250 src/hdate_strings.c:281
258 #: src/hdate_strings.c:250 src/hdate_strings.c:283
259259 msgid "Asara B'Tevet"
260260 msgstr "Asara B'Tevet"
261261
262262 #. 10
263 #: src/hdate_strings.c:251 src/hdate_strings.c:282
263 #: src/hdate_strings.c:251 src/hdate_strings.c:284
264264 msgid "Tu B'Shvat"
265265 msgstr "Tu B'Shvat"
266266
267 #: src/hdate_strings.c:252 src/hdate_strings.c:283
267 #: src/hdate_strings.c:252 src/hdate_strings.c:285
268268 msgid "Ta'anit Esther"
269269 msgstr "Ta'anit Esther"
270270
271 #: src/hdate_strings.c:253 src/hdate_strings.c:284
271 #: src/hdate_strings.c:253 src/hdate_strings.c:286
272272 msgid "Purim"
273273 msgstr "Purim"
274274
275 #: src/hdate_strings.c:254 src/hdate_strings.c:285
275 #: src/hdate_strings.c:254 src/hdate_strings.c:287
276276 msgid "Shushan Purim"
277277 msgstr "Shushan Purim"
278278
279 #: src/hdate_strings.c:255 src/hdate_strings.c:286
279 #: src/hdate_strings.c:255 src/hdate_strings.c:288
280280 msgid "Pesach"
281281 msgstr "Pesach"
282282
283 #: src/hdate_strings.c:256 src/hdate_strings.c:287
283 #: src/hdate_strings.c:256 src/hdate_strings.c:289
284284 msgid "Hol hamoed Pesach"
285285 msgstr "Chol hamoed Pesach"
286286
287 #: src/hdate_strings.c:257 src/hdate_strings.c:288
287 #: src/hdate_strings.c:257 src/hdate_strings.c:290
288288 msgid "Yom HaAtzma'ut"
289289 msgstr "Yom HaAtzma'ut"
290290
291 #: src/hdate_strings.c:258 src/hdate_strings.c:289
291 #: src/hdate_strings.c:258 src/hdate_strings.c:291
292292 msgid "Lag B'Omer"
293293 msgstr "Lag B'Omer"
294294
295 #: src/hdate_strings.c:259 src/hdate_strings.c:290
295 #: src/hdate_strings.c:259 src/hdate_strings.c:292
296296 msgid "Erev Shavuot"
297297 msgstr "veille de Shavuot"
298298
299 #: src/hdate_strings.c:260 src/hdate_strings.c:291
299 #: src/hdate_strings.c:260 src/hdate_strings.c:293
300300 msgid "Shavuot"
301301 msgstr "Shavuot"
302302
303303 #. 20
304 #: src/hdate_strings.c:261 src/hdate_strings.c:292
304 #: src/hdate_strings.c:261 src/hdate_strings.c:294
305305 msgid "Tzom Tammuz"
306306 msgstr "Tzom Tammuz"
307307
308 #: src/hdate_strings.c:262 src/hdate_strings.c:293
308 #: src/hdate_strings.c:262 src/hdate_strings.c:295
309309 msgid "Tish'a B'Av"
310310 msgstr "Tish'a B'Av"
311311
312 #: src/hdate_strings.c:263 src/hdate_strings.c:294
312 #: src/hdate_strings.c:263 src/hdate_strings.c:296
313313 msgid "Tu B'Av"
314314 msgstr "Tu B'Av"
315315
316 #: src/hdate_strings.c:264 src/hdate_strings.c:295
316 #: src/hdate_strings.c:264 src/hdate_strings.c:297
317317 msgid "Yom HaShoah"
318318 msgstr "Jour des Holocausto"
319319
320 #: src/hdate_strings.c:265 src/hdate_strings.c:296
320 #: src/hdate_strings.c:265 src/hdate_strings.c:298
321321 msgid "Yom HaZikaron"
322322 msgstr "Jour des Recuerdo"
323323
324324 #. 25
325 #: src/hdate_strings.c:266 src/hdate_strings.c:297
325 #: src/hdate_strings.c:266 src/hdate_strings.c:299
326326 #, fuzzy
327327 msgid "Yom Yerushalayim"
328328 msgstr "Jour des Yerushalayim"
329329
330 #: src/hdate_strings.c:267 src/hdate_strings.c:298
330 #: src/hdate_strings.c:267 src/hdate_strings.c:300
331331 msgid "Shmini Atzeret"
332332 msgstr "Shemini Atzeret"
333333
334 #: src/hdate_strings.c:268 src/hdate_strings.c:299
334 #: src/hdate_strings.c:268 src/hdate_strings.c:301
335335 msgid "Pesach VII"
336336 msgstr "Pesach VII"
337337
338 #: src/hdate_strings.c:269 src/hdate_strings.c:300
338 #: src/hdate_strings.c:269 src/hdate_strings.c:302
339339 msgid "Pesach VIII"
340340 msgstr "Pesach VIII"
341341
342 #: src/hdate_strings.c:270 src/hdate_strings.c:301
342 #: src/hdate_strings.c:270 src/hdate_strings.c:303
343343 msgid "Shavuot II"
344344 msgstr "Shavuot II"
345345
346 #: src/hdate_strings.c:334 src/hdate_strings.c:397
346 #: src/hdate_strings.c:271 src/hdate_strings.c:304
347 msgid "Sukkot II"
348 msgstr "Sukkot II"
349
350 #: src/hdate_strings.c:272 src/hdate_strings.c:305
351 msgid "Pesach II"
352 msgstr "Pesach II"
353
354 #: src/hdate_strings.c:338 src/hdate_strings.c:401
347355 msgid "none"
348356 msgstr "nulle"
349357
350 #: src/hdate_strings.c:335 src/hdate_strings.c:398
358 #: src/hdate_strings.c:339 src/hdate_strings.c:402
351359 msgid "Bereshit"
352360 msgstr "Bereshit"
353361
354362 #. 1
355 #: src/hdate_strings.c:336 src/hdate_strings.c:399
363 #: src/hdate_strings.c:340 src/hdate_strings.c:403
356364 msgid "Noach"
357365 msgstr "Noach"
358366
359 #: src/hdate_strings.c:337 src/hdate_strings.c:400
367 #: src/hdate_strings.c:341 src/hdate_strings.c:404
360368 msgid "Lech-Lecha"
361369 msgstr "Lech-Lecha"
362370
363 #: src/hdate_strings.c:338 src/hdate_strings.c:401
371 #: src/hdate_strings.c:342 src/hdate_strings.c:405
364372 msgid "Vayera"
365373 msgstr "Vaira"
366374
367 #: src/hdate_strings.c:339 src/hdate_strings.c:402
375 #: src/hdate_strings.c:343 src/hdate_strings.c:406
368376 msgid "Chayei Sara"
369377 msgstr "Chayei Sará"
370378
371 #: src/hdate_strings.c:340 src/hdate_strings.c:403
379 #: src/hdate_strings.c:344 src/hdate_strings.c:407
372380 msgid "Toldot"
373381 msgstr "Toldot"
374382
375 #: src/hdate_strings.c:341 src/hdate_strings.c:404
383 #: src/hdate_strings.c:345 src/hdate_strings.c:408
376384 msgid "Vayetzei"
377385 msgstr "Vayetzei"
378386
379 #: src/hdate_strings.c:342 src/hdate_strings.c:405
387 #: src/hdate_strings.c:346 src/hdate_strings.c:409
380388 msgid "Vayishlach"
381389 msgstr "Vayishlach"
382390
383 #: src/hdate_strings.c:343 src/hdate_strings.c:406
391 #: src/hdate_strings.c:347 src/hdate_strings.c:410
384392 msgid "Vayeshev"
385393 msgstr "Vayeshev"
386394
387 #: src/hdate_strings.c:344 src/hdate_strings.c:407
395 #: src/hdate_strings.c:348 src/hdate_strings.c:411
388396 msgid "Miketz"
389397 msgstr "Miketz"
390398
391399 #. 10
392 #: src/hdate_strings.c:345 src/hdate_strings.c:408
400 #: src/hdate_strings.c:349 src/hdate_strings.c:412
393401 msgid "Vayigash"
394402 msgstr "Vayigash"
395403
396 #: src/hdate_strings.c:346 src/hdate_strings.c:409
404 #: src/hdate_strings.c:350 src/hdate_strings.c:413
397405 msgid "Vayechi"
398406 msgstr "Vayechí"
399407
400 #: src/hdate_strings.c:347 src/hdate_strings.c:410
408 #: src/hdate_strings.c:351 src/hdate_strings.c:414
401409 msgid "Shemot"
402410 msgstr "Shemot"
403411
404 #: src/hdate_strings.c:348 src/hdate_strings.c:411
412 #: src/hdate_strings.c:352 src/hdate_strings.c:415
405413 msgid "Vaera"
406414 msgstr "Vaerá"
407415
408 #: src/hdate_strings.c:349 src/hdate_strings.c:412
416 #: src/hdate_strings.c:353 src/hdate_strings.c:416
409417 msgid "Bo"
410418 msgstr "Bo"
411419
412 #: src/hdate_strings.c:350 src/hdate_strings.c:413
420 #: src/hdate_strings.c:354 src/hdate_strings.c:417
413421 msgid "Beshalach"
414422 msgstr "Beshalach"
415423
416 #: src/hdate_strings.c:351 src/hdate_strings.c:414
424 #: src/hdate_strings.c:355 src/hdate_strings.c:418
417425 msgid "Yitro"
418426 msgstr "Yitro"
419427
420 #: src/hdate_strings.c:352 src/hdate_strings.c:415
428 #: src/hdate_strings.c:356 src/hdate_strings.c:419
421429 msgid "Mishpatim"
422430 msgstr "Mishpatim"
423431
424 #: src/hdate_strings.c:353 src/hdate_strings.c:416
432 #: src/hdate_strings.c:357 src/hdate_strings.c:420
425433 msgid "Terumah"
426434 msgstr "Terumá"
427435
428 #: src/hdate_strings.c:354 src/hdate_strings.c:417
436 #: src/hdate_strings.c:358 src/hdate_strings.c:421
429437 msgid "Tetzaveh"
430438 msgstr "Tetzavé"
431439
432440 #. 20
433 #: src/hdate_strings.c:355 src/hdate_strings.c:418
441 #: src/hdate_strings.c:359 src/hdate_strings.c:422
434442 msgid "Ki Tisa"
435443 msgstr "Ki Tisá"
436444
437 #: src/hdate_strings.c:356 src/hdate_strings.c:419
445 #: src/hdate_strings.c:360 src/hdate_strings.c:423
438446 msgid "Vayakhel"
439447 msgstr "Vayakhel"
440448
441 #: src/hdate_strings.c:357 src/hdate_strings.c:420
449 #: src/hdate_strings.c:361 src/hdate_strings.c:424
442450 msgid "Pekudei"
443451 msgstr "Pekudei"
444452
445 #: src/hdate_strings.c:358 src/hdate_strings.c:421
453 #: src/hdate_strings.c:362 src/hdate_strings.c:425
446454 msgid "Vayikra"
447455 msgstr "Vayikrá"
448456
449 #: src/hdate_strings.c:359 src/hdate_strings.c:422
457 #: src/hdate_strings.c:363 src/hdate_strings.c:426
450458 msgid "Tzav"
451459 msgstr "Tzav"
452460
453 #: src/hdate_strings.c:360 src/hdate_strings.c:423
461 #: src/hdate_strings.c:364 src/hdate_strings.c:427
454462 msgid "Shmini"
455463 msgstr "Shemini"
456464
457 #: src/hdate_strings.c:361 src/hdate_strings.c:424
465 #: src/hdate_strings.c:365 src/hdate_strings.c:428
458466 msgid "Tazria"
459467 msgstr "Tazría"
460468
461 #: src/hdate_strings.c:362 src/hdate_strings.c:425
469 #: src/hdate_strings.c:366 src/hdate_strings.c:429
462470 msgid "Metzora"
463471 msgstr "Metzorá"
464472
465 #: src/hdate_strings.c:363 src/hdate_strings.c:426
473 #: src/hdate_strings.c:367 src/hdate_strings.c:430
466474 msgid "Achrei Mot"
467475 msgstr "Achrei Mot"
468476
469 #: src/hdate_strings.c:364 src/hdate_strings.c:427
477 #: src/hdate_strings.c:368 src/hdate_strings.c:431
470478 msgid "Kedoshim"
471479 msgstr "Kedoshim"
472480
473481 #. 30
474 #: src/hdate_strings.c:365 src/hdate_strings.c:428
482 #: src/hdate_strings.c:369 src/hdate_strings.c:432
475483 msgid "Emor"
476484 msgstr "Emor"
477485
478 #: src/hdate_strings.c:366 src/hdate_strings.c:429
486 #: src/hdate_strings.c:370 src/hdate_strings.c:433
479487 msgid "Behar"
480488 msgstr "Bechar"
481489
482 #: src/hdate_strings.c:367 src/hdate_strings.c:430
490 #: src/hdate_strings.c:371 src/hdate_strings.c:434
483491 msgid "Bechukotai"
484492 msgstr "Bechukotai"
485493
486 #: src/hdate_strings.c:368 src/hdate_strings.c:431
494 #: src/hdate_strings.c:372 src/hdate_strings.c:435
487495 msgid "Bamidbar"
488496 msgstr "Bamidbar"
489497
490 #: src/hdate_strings.c:369 src/hdate_strings.c:432
498 #: src/hdate_strings.c:373 src/hdate_strings.c:436
491499 msgid "Nasso"
492500 msgstr "Nasso"
493501
494 #: src/hdate_strings.c:370 src/hdate_strings.c:433
502 #: src/hdate_strings.c:374 src/hdate_strings.c:437
495503 msgid "Beha'alotcha"
496504 msgstr "Beha'alotcha"
497505
498 #: src/hdate_strings.c:371 src/hdate_strings.c:434
506 #: src/hdate_strings.c:375 src/hdate_strings.c:438
499507 msgid "Sh'lach"
500508 msgstr "Shalach"
501509
502 #: src/hdate_strings.c:372 src/hdate_strings.c:435
510 #: src/hdate_strings.c:376 src/hdate_strings.c:439
503511 msgid "Korach"
504512 msgstr "Korach"
505513
506 #: src/hdate_strings.c:373 src/hdate_strings.c:436
514 #: src/hdate_strings.c:377 src/hdate_strings.c:440
507515 msgid "Chukat"
508516 msgstr "Chukat"
509517
510 #: src/hdate_strings.c:374 src/hdate_strings.c:437
518 #: src/hdate_strings.c:378 src/hdate_strings.c:441
511519 msgid "Balak"
512520 msgstr "Balak"
513521
514522 #. 40
515 #: src/hdate_strings.c:375 src/hdate_strings.c:438
523 #: src/hdate_strings.c:379 src/hdate_strings.c:442
516524 msgid "Pinchas"
517525 msgstr "Pinchas"
518526
519 #: src/hdate_strings.c:376 src/hdate_strings.c:439
527 #: src/hdate_strings.c:380 src/hdate_strings.c:443
520528 msgid "Matot"
521529 msgstr "Matot"
522530
523 #: src/hdate_strings.c:377 src/hdate_strings.c:440
531 #: src/hdate_strings.c:381 src/hdate_strings.c:444
524532 msgid "Masei"
525533 msgstr "Masei"
526534
527 #: src/hdate_strings.c:378 src/hdate_strings.c:441
535 #: src/hdate_strings.c:382 src/hdate_strings.c:445
528536 msgid "Devarim"
529537 msgstr "Devarim"
530538
531 #: src/hdate_strings.c:379 src/hdate_strings.c:442
539 #: src/hdate_strings.c:383 src/hdate_strings.c:446
532540 msgid "Vaetchanan"
533541 msgstr "Vaetchanan"
534542
535 #: src/hdate_strings.c:380 src/hdate_strings.c:443
543 #: src/hdate_strings.c:384 src/hdate_strings.c:447
536544 msgid "Eikev"
537545 msgstr "Eikev"
538546
539 #: src/hdate_strings.c:381 src/hdate_strings.c:444
547 #: src/hdate_strings.c:385 src/hdate_strings.c:448
540548 msgid "Re'eh"
541549 msgstr "Re'é"
542550
543 #: src/hdate_strings.c:382 src/hdate_strings.c:445
551 #: src/hdate_strings.c:386 src/hdate_strings.c:449
544552 msgid "Shoftim"
545553 msgstr "Shoftim"
546554
547 #: src/hdate_strings.c:383 src/hdate_strings.c:446
555 #: src/hdate_strings.c:387 src/hdate_strings.c:450
548556 msgid "Ki Teitzei"
549557 msgstr "Ki Teitzei"
550558
551 #: src/hdate_strings.c:384 src/hdate_strings.c:447
559 #: src/hdate_strings.c:388 src/hdate_strings.c:451
552560 msgid "Ki Tavo"
553561 msgstr "Ki Tavó"
554562
555563 #. 50
556 #: src/hdate_strings.c:385 src/hdate_strings.c:448
564 #: src/hdate_strings.c:389 src/hdate_strings.c:452
557565 msgid "Nitzavim"
558566 msgstr "Nitzavim"
559567
560 #: src/hdate_strings.c:386 src/hdate_strings.c:449
568 #: src/hdate_strings.c:390 src/hdate_strings.c:453
561569 msgid "Vayeilech"
562570 msgstr "Vayeilech"
563571
564 #: src/hdate_strings.c:387 src/hdate_strings.c:450
572 #: src/hdate_strings.c:391 src/hdate_strings.c:454
565573 msgid "Ha'Azinu"
566574 msgstr "Ha'Azinu"
567575
568 #: src/hdate_strings.c:388 src/hdate_strings.c:451
576 #: src/hdate_strings.c:392 src/hdate_strings.c:455
569577 msgid "Vezot Habracha"
570578 msgstr "Vezot Haberacha"
571579
572580 #. 54
573 #: src/hdate_strings.c:389 src/hdate_strings.c:452
581 #: src/hdate_strings.c:393 src/hdate_strings.c:456
574582 msgid "Vayakhel-Pekudei"
575583 msgstr "Vayakhel-Pekudei"
576584
577 #: src/hdate_strings.c:390 src/hdate_strings.c:453
585 #: src/hdate_strings.c:394 src/hdate_strings.c:457
578586 msgid "Tazria-Metzora"
579587 msgstr "Tazría-Metzora"
580588
581 #: src/hdate_strings.c:391 src/hdate_strings.c:454
589 #: src/hdate_strings.c:395 src/hdate_strings.c:458
582590 msgid "Achrei Mot-Kedoshim"
583591 msgstr "Achrei Mot-Kedoshim"
584592
585 #: src/hdate_strings.c:392 src/hdate_strings.c:455
593 #: src/hdate_strings.c:396 src/hdate_strings.c:459
586594 msgid "Behar-Bechukotai"
587595 msgstr "Bechar-Bechukotai"
588596
589 #: src/hdate_strings.c:393 src/hdate_strings.c:456
597 #: src/hdate_strings.c:397 src/hdate_strings.c:460
590598 msgid "Chukat-Balak"
591599 msgstr "Chukat-Balak"
592600
593 #: src/hdate_strings.c:394 src/hdate_strings.c:457
601 #: src/hdate_strings.c:398 src/hdate_strings.c:461
594602 msgid "Matot-Masei"
595603 msgstr "Matot-Masei"
596604
597 #: src/hdate_strings.c:395 src/hdate_strings.c:458
605 #: src/hdate_strings.c:399 src/hdate_strings.c:462
598606 msgid "Nitzavim-Vayeilech"
599607 msgstr "Nitzavim-Vayeilech"
600608
601609 #. if untranslated return null
602610 #. return the translator name
603 #: src/hdate_strings.c:560 src/hdate_strings.c:564
611 #: src/hdate_strings.c:564 src/hdate_strings.c:568
604612 msgid "translator"
605613 msgstr "Yaacov Zamir"
Binary diff not shown
77 msgstr ""
88 "Project-Id-Version: PACKAGE VERSION\n"
99 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2005-07-27 19:20+0300\n"
10 "POT-Creation-Date: 2005-08-08 00:38+0300\n"
1111 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313 "Language-Team: LANGUAGE <LL@li.org>\n"
219219 msgid "Adar II"
220220 msgstr "אדר ב"
221221
222 #: src/hdate_strings.c:241 src/hdate_strings.c:272
222 #: src/hdate_strings.c:241 src/hdate_strings.c:274
223223 msgid "Rosh Hashana I"
224224 msgstr "א ראש השנה"
225225
226226 #. 1
227 #: src/hdate_strings.c:242 src/hdate_strings.c:273
227 #: src/hdate_strings.c:242 src/hdate_strings.c:275
228228 msgid "Rosh Hashana II"
229229 msgstr "ב ראש השנה"
230230
231 #: src/hdate_strings.c:243 src/hdate_strings.c:274
231 #: src/hdate_strings.c:243 src/hdate_strings.c:276
232232 msgid "Tzom Gedaliah"
233233 msgstr "צום גדליה"
234234
235 #: src/hdate_strings.c:244 src/hdate_strings.c:275
235 #: src/hdate_strings.c:244 src/hdate_strings.c:277
236236 msgid "Yom Kippur"
237237 msgstr "יום כיפור"
238238
239 #: src/hdate_strings.c:245 src/hdate_strings.c:276
239 #: src/hdate_strings.c:245 src/hdate_strings.c:278
240240 msgid "Sukkot"
241241 msgstr "סוכות"
242242
243 #: src/hdate_strings.c:246 src/hdate_strings.c:277
243 #: src/hdate_strings.c:246 src/hdate_strings.c:279
244244 msgid "Hol hamoed Sukkot"
245245 msgstr "חול המועד סוכות"
246246
247 #: src/hdate_strings.c:247 src/hdate_strings.c:278
247 #: src/hdate_strings.c:247 src/hdate_strings.c:280
248248 msgid "Hoshana raba"
249249 msgstr "הושענה רבה"
250250
251 #: src/hdate_strings.c:248 src/hdate_strings.c:279
251 #: src/hdate_strings.c:248 src/hdate_strings.c:281
252252 msgid "Simchat Torah"
253253 msgstr "שמחת תורה"
254254
255 #: src/hdate_strings.c:249 src/hdate_strings.c:280
255 #: src/hdate_strings.c:249 src/hdate_strings.c:282
256256 msgid "Chanukah"
257257 msgstr "חנוכה"
258258
259 #: src/hdate_strings.c:250 src/hdate_strings.c:281
259 #: src/hdate_strings.c:250 src/hdate_strings.c:283
260260 msgid "Asara B'Tevet"
261261 msgstr "עשרה בטבת"
262262
263263 #. 10
264 #: src/hdate_strings.c:251 src/hdate_strings.c:282
264 #: src/hdate_strings.c:251 src/hdate_strings.c:284
265265 msgid "Tu B'Shvat"
266266 msgstr "טו בשבט"
267267
268 #: src/hdate_strings.c:252 src/hdate_strings.c:283
268 #: src/hdate_strings.c:252 src/hdate_strings.c:285
269269 msgid "Ta'anit Esther"
270270 msgstr "תענית אסתר"
271271
272 #: src/hdate_strings.c:253 src/hdate_strings.c:284
272 #: src/hdate_strings.c:253 src/hdate_strings.c:286
273273 msgid "Purim"
274274 msgstr "פורים"
275275
276 #: src/hdate_strings.c:254 src/hdate_strings.c:285
276 #: src/hdate_strings.c:254 src/hdate_strings.c:287
277277 msgid "Shushan Purim"
278278 msgstr "שושן פורים"
279279
280 #: src/hdate_strings.c:255 src/hdate_strings.c:286
280 #: src/hdate_strings.c:255 src/hdate_strings.c:288
281281 msgid "Pesach"
282282 msgstr "פסח"
283283
284 #: src/hdate_strings.c:256 src/hdate_strings.c:287
284 #: src/hdate_strings.c:256 src/hdate_strings.c:289
285285 msgid "Hol hamoed Pesach"
286286 msgstr "חול המועד פסח"
287287
288 #: src/hdate_strings.c:257 src/hdate_strings.c:288
288 #: src/hdate_strings.c:257 src/hdate_strings.c:290
289289 msgid "Yom HaAtzma'ut"
290290 msgstr "יום העצמאות"
291291
292 #: src/hdate_strings.c:258 src/hdate_strings.c:289
292 #: src/hdate_strings.c:258 src/hdate_strings.c:291
293293 msgid "Lag B'Omer"
294294 msgstr "לג בעומר"
295295
296 #: src/hdate_strings.c:259 src/hdate_strings.c:290
296 #: src/hdate_strings.c:259 src/hdate_strings.c:292
297297 msgid "Erev Shavuot"
298298 msgstr "ערב שבועות"
299299
300 #: src/hdate_strings.c:260 src/hdate_strings.c:291
300 #: src/hdate_strings.c:260 src/hdate_strings.c:293
301301 msgid "Shavuot"
302302 msgstr "שבועות"
303303
304304 #. 20
305 #: src/hdate_strings.c:261 src/hdate_strings.c:292
305 #: src/hdate_strings.c:261 src/hdate_strings.c:294
306306 msgid "Tzom Tammuz"
307307 msgstr "יז תמוז"
308308
309 #: src/hdate_strings.c:262 src/hdate_strings.c:293
309 #: src/hdate_strings.c:262 src/hdate_strings.c:295
310310 msgid "Tish'a B'Av"
311311 msgstr "תשעה באב"
312312
313 #: src/hdate_strings.c:263 src/hdate_strings.c:294
313 #: src/hdate_strings.c:263 src/hdate_strings.c:296
314314 msgid "Tu B'Av"
315315 msgstr "טו באב"
316316
317 #: src/hdate_strings.c:264 src/hdate_strings.c:295
317 #: src/hdate_strings.c:264 src/hdate_strings.c:297
318318 msgid "Yom HaShoah"
319319 msgstr "יום השואה"
320320
321 #: src/hdate_strings.c:265 src/hdate_strings.c:296
321 #: src/hdate_strings.c:265 src/hdate_strings.c:298
322322 msgid "Yom HaZikaron"
323323 msgstr "יום הזיכרון"
324324
325325 #. 25
326 #: src/hdate_strings.c:266 src/hdate_strings.c:297
326 #: src/hdate_strings.c:266 src/hdate_strings.c:299
327327 msgid "Yom Yerushalayim"
328328 msgstr "יום ירושלים"
329329
330 #: src/hdate_strings.c:267 src/hdate_strings.c:298
330 #: src/hdate_strings.c:267 src/hdate_strings.c:300
331331 msgid "Shmini Atzeret"
332332 msgstr "שמיני עצרת"
333333
334 #: src/hdate_strings.c:268 src/hdate_strings.c:299
334 #: src/hdate_strings.c:268 src/hdate_strings.c:301
335335 msgid "Pesach VII"
336336 msgstr "שביעי של פסח"
337337
338 #: src/hdate_strings.c:269 src/hdate_strings.c:300
338 #: src/hdate_strings.c:269 src/hdate_strings.c:302
339339 msgid "Pesach VIII"
340340 msgstr "שמיני של פסח"
341341
342 #: src/hdate_strings.c:270 src/hdate_strings.c:301
342 #: src/hdate_strings.c:270 src/hdate_strings.c:303
343343 msgid "Shavuot II"
344344 msgstr "שני של שבועות"
345345
346 #: src/hdate_strings.c:334 src/hdate_strings.c:397
346 #: src/hdate_strings.c:271 src/hdate_strings.c:304
347 msgid "Sukkot II"
348 msgstr "סוכות שני"
349
350 #: src/hdate_strings.c:272 src/hdate_strings.c:305
351 msgid "Pesach II"
352 msgstr "שמיני של פסח"
353
354 #: src/hdate_strings.c:338 src/hdate_strings.c:401
347355 msgid "none"
348356 msgstr "חסר"
349357
350 #: src/hdate_strings.c:335 src/hdate_strings.c:398
358 #: src/hdate_strings.c:339 src/hdate_strings.c:402
351359 msgid "Bereshit"
352360 msgstr "בראשית"
353361
354362 #. 1
355 #: src/hdate_strings.c:336 src/hdate_strings.c:399
363 #: src/hdate_strings.c:340 src/hdate_strings.c:403
356364 msgid "Noach"
357365 msgstr "נח"
358366
359 #: src/hdate_strings.c:337 src/hdate_strings.c:400
367 #: src/hdate_strings.c:341 src/hdate_strings.c:404
360368 msgid "Lech-Lecha"
361369 msgstr "לך לך"
362370
363 #: src/hdate_strings.c:338 src/hdate_strings.c:401
371 #: src/hdate_strings.c:342 src/hdate_strings.c:405
364372 msgid "Vayera"
365373 msgstr "וירא"
366374
367 #: src/hdate_strings.c:339 src/hdate_strings.c:402
375 #: src/hdate_strings.c:343 src/hdate_strings.c:406
368376 msgid "Chayei Sara"
369377 msgstr "חיי שרה"
370378
371 #: src/hdate_strings.c:340 src/hdate_strings.c:403
379 #: src/hdate_strings.c:344 src/hdate_strings.c:407
372380 msgid "Toldot"
373381 msgstr "תולדות"
374382
375 #: src/hdate_strings.c:341 src/hdate_strings.c:404
383 #: src/hdate_strings.c:345 src/hdate_strings.c:408
376384 msgid "Vayetzei"
377385 msgstr "ויצא"
378386
379 #: src/hdate_strings.c:342 src/hdate_strings.c:405
387 #: src/hdate_strings.c:346 src/hdate_strings.c:409
380388 msgid "Vayishlach"
381389 msgstr "וישלח"
382390
383 #: src/hdate_strings.c:343 src/hdate_strings.c:406
391 #: src/hdate_strings.c:347 src/hdate_strings.c:410
384392 msgid "Vayeshev"
385393 msgstr "וישב"
386394
387 #: src/hdate_strings.c:344 src/hdate_strings.c:407
395 #: src/hdate_strings.c:348 src/hdate_strings.c:411
388396 msgid "Miketz"
389397 msgstr "מקץ"
390398
391399 #. 10
392 #: src/hdate_strings.c:345 src/hdate_strings.c:408
400 #: src/hdate_strings.c:349 src/hdate_strings.c:412
393401 msgid "Vayigash"
394402 msgstr "ויגש"
395403
396 #: src/hdate_strings.c:346 src/hdate_strings.c:409
404 #: src/hdate_strings.c:350 src/hdate_strings.c:413
397405 msgid "Vayechi"
398406 msgstr "ויחי"
399407
400 #: src/hdate_strings.c:347 src/hdate_strings.c:410
408 #: src/hdate_strings.c:351 src/hdate_strings.c:414
401409 msgid "Shemot"
402410 msgstr "שמות"
403411
404 #: src/hdate_strings.c:348 src/hdate_strings.c:411
412 #: src/hdate_strings.c:352 src/hdate_strings.c:415
405413 msgid "Vaera"
406414 msgstr "וארא"
407415
408 #: src/hdate_strings.c:349 src/hdate_strings.c:412
416 #: src/hdate_strings.c:353 src/hdate_strings.c:416
409417 msgid "Bo"
410418 msgstr "בא"
411419
412 #: src/hdate_strings.c:350 src/hdate_strings.c:413
420 #: src/hdate_strings.c:354 src/hdate_strings.c:417
413421 msgid "Beshalach"
414422 msgstr "בשלח"
415423
416 #: src/hdate_strings.c:351 src/hdate_strings.c:414
424 #: src/hdate_strings.c:355 src/hdate_strings.c:418
417425 msgid "Yitro"
418426 msgstr "יתרו"
419427
420 #: src/hdate_strings.c:352 src/hdate_strings.c:415
428 #: src/hdate_strings.c:356 src/hdate_strings.c:419
421429 msgid "Mishpatim"
422430 msgstr "משפטים"
423431
424 #: src/hdate_strings.c:353 src/hdate_strings.c:416
432 #: src/hdate_strings.c:357 src/hdate_strings.c:420
425433 msgid "Terumah"
426434 msgstr "תרומה"
427435
428 #: src/hdate_strings.c:354 src/hdate_strings.c:417
436 #: src/hdate_strings.c:358 src/hdate_strings.c:421
429437 msgid "Tetzaveh"
430438 msgstr "תצווה"
431439
432440 #. 20
433 #: src/hdate_strings.c:355 src/hdate_strings.c:418
441 #: src/hdate_strings.c:359 src/hdate_strings.c:422
434442 msgid "Ki Tisa"
435443 msgstr "כי תשא"
436444
437 #: src/hdate_strings.c:356 src/hdate_strings.c:419
445 #: src/hdate_strings.c:360 src/hdate_strings.c:423
438446 msgid "Vayakhel"
439447 msgstr "ויקהל"
440448
441 #: src/hdate_strings.c:357 src/hdate_strings.c:420
449 #: src/hdate_strings.c:361 src/hdate_strings.c:424
442450 msgid "Pekudei"
443451 msgstr "פקודי"
444452
445 #: src/hdate_strings.c:358 src/hdate_strings.c:421
453 #: src/hdate_strings.c:362 src/hdate_strings.c:425
446454 msgid "Vayikra"
447455 msgstr "ויקרא"
448456
449 #: src/hdate_strings.c:359 src/hdate_strings.c:422
457 #: src/hdate_strings.c:363 src/hdate_strings.c:426
450458 msgid "Tzav"
451459 msgstr "צו"
452460
453 #: src/hdate_strings.c:360 src/hdate_strings.c:423
461 #: src/hdate_strings.c:364 src/hdate_strings.c:427
454462 msgid "Shmini"
455463 msgstr "שמיני"
456464
457 #: src/hdate_strings.c:361 src/hdate_strings.c:424
465 #: src/hdate_strings.c:365 src/hdate_strings.c:428
458466 msgid "Tazria"
459467 msgstr "תזריע"
460468
461 #: src/hdate_strings.c:362 src/hdate_strings.c:425
469 #: src/hdate_strings.c:366 src/hdate_strings.c:429
462470 msgid "Metzora"
463471 msgstr "מצורע"
464472
465 #: src/hdate_strings.c:363 src/hdate_strings.c:426
473 #: src/hdate_strings.c:367 src/hdate_strings.c:430
466474 msgid "Achrei Mot"
467475 msgstr "אחרי מות"
468476
469 #: src/hdate_strings.c:364 src/hdate_strings.c:427
477 #: src/hdate_strings.c:368 src/hdate_strings.c:431
470478 msgid "Kedoshim"
471479 msgstr "קדושים"
472480
473481 #. 30
474 #: src/hdate_strings.c:365 src/hdate_strings.c:428
482 #: src/hdate_strings.c:369 src/hdate_strings.c:432
475483 msgid "Emor"
476484 msgstr "אמור"
477485
478 #: src/hdate_strings.c:366 src/hdate_strings.c:429
486 #: src/hdate_strings.c:370 src/hdate_strings.c:433
479487 msgid "Behar"
480488 msgstr "בהר"
481489
482 #: src/hdate_strings.c:367 src/hdate_strings.c:430
490 #: src/hdate_strings.c:371 src/hdate_strings.c:434
483491 msgid "Bechukotai"
484492 msgstr "בחוקותי"
485493
486 #: src/hdate_strings.c:368 src/hdate_strings.c:431
494 #: src/hdate_strings.c:372 src/hdate_strings.c:435
487495 msgid "Bamidbar"
488496 msgstr "במדבר"
489497
490 #: src/hdate_strings.c:369 src/hdate_strings.c:432
498 #: src/hdate_strings.c:373 src/hdate_strings.c:436
491499 msgid "Nasso"
492500 msgstr "נשא"
493501
494 #: src/hdate_strings.c:370 src/hdate_strings.c:433
502 #: src/hdate_strings.c:374 src/hdate_strings.c:437
495503 msgid "Beha'alotcha"
496504 msgstr "בהעלותך"
497505
498 #: src/hdate_strings.c:371 src/hdate_strings.c:434
506 #: src/hdate_strings.c:375 src/hdate_strings.c:438
499507 msgid "Sh'lach"
500508 msgstr "שלח"
501509
502 #: src/hdate_strings.c:372 src/hdate_strings.c:435
510 #: src/hdate_strings.c:376 src/hdate_strings.c:439
503511 msgid "Korach"
504512 msgstr "קרח"
505513
506 #: src/hdate_strings.c:373 src/hdate_strings.c:436
514 #: src/hdate_strings.c:377 src/hdate_strings.c:440
507515 msgid "Chukat"
508516 msgstr "חוקת"
509517
510 #: src/hdate_strings.c:374 src/hdate_strings.c:437
518 #: src/hdate_strings.c:378 src/hdate_strings.c:441
511519 msgid "Balak"
512520 msgstr "בלק"
513521
514522 #. 40
515 #: src/hdate_strings.c:375 src/hdate_strings.c:438
523 #: src/hdate_strings.c:379 src/hdate_strings.c:442
516524 msgid "Pinchas"
517525 msgstr "פינחס"
518526
519 #: src/hdate_strings.c:376 src/hdate_strings.c:439
527 #: src/hdate_strings.c:380 src/hdate_strings.c:443
520528 msgid "Matot"
521529 msgstr "מטות"
522530
523 #: src/hdate_strings.c:377 src/hdate_strings.c:440
531 #: src/hdate_strings.c:381 src/hdate_strings.c:444
524532 msgid "Masei"
525533 msgstr "מסעי"
526534
527 #: src/hdate_strings.c:378 src/hdate_strings.c:441
535 #: src/hdate_strings.c:382 src/hdate_strings.c:445
528536 msgid "Devarim"
529537 msgstr "דברים"
530538
531 #: src/hdate_strings.c:379 src/hdate_strings.c:442
539 #: src/hdate_strings.c:383 src/hdate_strings.c:446
532540 msgid "Vaetchanan"
533541 msgstr "ואתחנן"
534542
535 #: src/hdate_strings.c:380 src/hdate_strings.c:443
543 #: src/hdate_strings.c:384 src/hdate_strings.c:447
536544 msgid "Eikev"
537545 msgstr "עקב"
538546
539 #: src/hdate_strings.c:381 src/hdate_strings.c:444
547 #: src/hdate_strings.c:385 src/hdate_strings.c:448
540548 msgid "Re'eh"
541549 msgstr "ראה"
542550
543 #: src/hdate_strings.c:382 src/hdate_strings.c:445
551 #: src/hdate_strings.c:386 src/hdate_strings.c:449
544552 msgid "Shoftim"
545553 msgstr "שופטים"
546554
547 #: src/hdate_strings.c:383 src/hdate_strings.c:446
555 #: src/hdate_strings.c:387 src/hdate_strings.c:450
548556 msgid "Ki Teitzei"
549557 msgstr "כי תצא"
550558
551 #: src/hdate_strings.c:384 src/hdate_strings.c:447
559 #: src/hdate_strings.c:388 src/hdate_strings.c:451
552560 msgid "Ki Tavo"
553561 msgstr "כי תבוא"
554562
555563 #. 50
556 #: src/hdate_strings.c:385 src/hdate_strings.c:448
564 #: src/hdate_strings.c:389 src/hdate_strings.c:452
557565 msgid "Nitzavim"
558566 msgstr "נצבים"
559567
560 #: src/hdate_strings.c:386 src/hdate_strings.c:449
568 #: src/hdate_strings.c:390 src/hdate_strings.c:453
561569 msgid "Vayeilech"
562570 msgstr "וילך"
563571
564 #: src/hdate_strings.c:387 src/hdate_strings.c:450
572 #: src/hdate_strings.c:391 src/hdate_strings.c:454
565573 msgid "Ha'Azinu"
566574 msgstr "האזינו"
567575
568 #: src/hdate_strings.c:388 src/hdate_strings.c:451
576 #: src/hdate_strings.c:392 src/hdate_strings.c:455
569577 msgid "Vezot Habracha"
570578 msgstr "וזאת הברכה"
571579
572580 #. 54
573 #: src/hdate_strings.c:389 src/hdate_strings.c:452
581 #: src/hdate_strings.c:393 src/hdate_strings.c:456
574582 msgid "Vayakhel-Pekudei"
575583 msgstr "ויקהל פקודי"
576584
577 #: src/hdate_strings.c:390 src/hdate_strings.c:453
585 #: src/hdate_strings.c:394 src/hdate_strings.c:457
578586 msgid "Tazria-Metzora"
579587 msgstr "תזריע מצורע"
580588
581 #: src/hdate_strings.c:391 src/hdate_strings.c:454
589 #: src/hdate_strings.c:395 src/hdate_strings.c:458
582590 msgid "Achrei Mot-Kedoshim"
583591 msgstr "אחרי מות קדושים"
584592
585 #: src/hdate_strings.c:392 src/hdate_strings.c:455
593 #: src/hdate_strings.c:396 src/hdate_strings.c:459
586594 msgid "Behar-Bechukotai"
587595 msgstr "בהר בחוקותי"
588596
589 #: src/hdate_strings.c:393 src/hdate_strings.c:456
597 #: src/hdate_strings.c:397 src/hdate_strings.c:460
590598 msgid "Chukat-Balak"
591599 msgstr "חוקת בלק"
592600
593 #: src/hdate_strings.c:394 src/hdate_strings.c:457
601 #: src/hdate_strings.c:398 src/hdate_strings.c:461
594602 msgid "Matot-Masei"
595603 msgstr "מטות מסעי"
596604
597 #: src/hdate_strings.c:395 src/hdate_strings.c:458
605 #: src/hdate_strings.c:399 src/hdate_strings.c:462
598606 msgid "Nitzavim-Vayeilech"
599607 msgstr "נצבים וילך"
600608
601609 #. if untranslated return null
602610 #. return the translator name
603 #: src/hdate_strings.c:560 src/hdate_strings.c:564
611 #: src/hdate_strings.c:564 src/hdate_strings.c:568
604612 msgid "translator"
605613 msgstr "יעקב זמיר"
77 msgstr ""
88 "Project-Id-Version: PACKAGE VERSION\n"
99 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2005-07-27 19:20+0300\n"
10 "POT-Creation-Date: 2005-08-08 00:38+0300\n"
1111 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313 "Language-Team: LANGUAGE <LL@li.org>\n"
219219 msgid "Adar II"
220220 msgstr ""
221221
222 #: src/hdate_strings.c:241 src/hdate_strings.c:272
222 #: src/hdate_strings.c:241 src/hdate_strings.c:274
223223 msgid "Rosh Hashana I"
224224 msgstr ""
225225
226226 #. 1
227 #: src/hdate_strings.c:242 src/hdate_strings.c:273
227 #: src/hdate_strings.c:242 src/hdate_strings.c:275
228228 msgid "Rosh Hashana II"
229229 msgstr ""
230230
231 #: src/hdate_strings.c:243 src/hdate_strings.c:274
231 #: src/hdate_strings.c:243 src/hdate_strings.c:276
232232 msgid "Tzom Gedaliah"
233233 msgstr ""
234234
235 #: src/hdate_strings.c:244 src/hdate_strings.c:275
235 #: src/hdate_strings.c:244 src/hdate_strings.c:277
236236 msgid "Yom Kippur"
237237 msgstr ""
238238
239 #: src/hdate_strings.c:245 src/hdate_strings.c:276
239 #: src/hdate_strings.c:245 src/hdate_strings.c:278
240240 msgid "Sukkot"
241241 msgstr ""
242242
243 #: src/hdate_strings.c:246 src/hdate_strings.c:277
243 #: src/hdate_strings.c:246 src/hdate_strings.c:279
244244 msgid "Hol hamoed Sukkot"
245245 msgstr ""
246246
247 #: src/hdate_strings.c:247 src/hdate_strings.c:278
247 #: src/hdate_strings.c:247 src/hdate_strings.c:280
248248 msgid "Hoshana raba"
249249 msgstr ""
250250
251 #: src/hdate_strings.c:248 src/hdate_strings.c:279
251 #: src/hdate_strings.c:248 src/hdate_strings.c:281
252252 msgid "Simchat Torah"
253253 msgstr ""
254254
255 #: src/hdate_strings.c:249 src/hdate_strings.c:280
255 #: src/hdate_strings.c:249 src/hdate_strings.c:282
256256 msgid "Chanukah"
257257 msgstr ""
258258
259 #: src/hdate_strings.c:250 src/hdate_strings.c:281
259 #: src/hdate_strings.c:250 src/hdate_strings.c:283
260260 msgid "Asara B'Tevet"
261261 msgstr ""
262262
263263 #. 10
264 #: src/hdate_strings.c:251 src/hdate_strings.c:282
264 #: src/hdate_strings.c:251 src/hdate_strings.c:284
265265 msgid "Tu B'Shvat"
266266 msgstr ""
267267
268 #: src/hdate_strings.c:252 src/hdate_strings.c:283
268 #: src/hdate_strings.c:252 src/hdate_strings.c:285
269269 msgid "Ta'anit Esther"
270270 msgstr ""
271271
272 #: src/hdate_strings.c:253 src/hdate_strings.c:284
272 #: src/hdate_strings.c:253 src/hdate_strings.c:286
273273 msgid "Purim"
274274 msgstr ""
275275
276 #: src/hdate_strings.c:254 src/hdate_strings.c:285
276 #: src/hdate_strings.c:254 src/hdate_strings.c:287
277277 msgid "Shushan Purim"
278278 msgstr ""
279279
280 #: src/hdate_strings.c:255 src/hdate_strings.c:286
280 #: src/hdate_strings.c:255 src/hdate_strings.c:288
281281 msgid "Pesach"
282282 msgstr ""
283283
284 #: src/hdate_strings.c:256 src/hdate_strings.c:287
284 #: src/hdate_strings.c:256 src/hdate_strings.c:289
285285 msgid "Hol hamoed Pesach"
286286 msgstr ""
287287
288 #: src/hdate_strings.c:257 src/hdate_strings.c:288
288 #: src/hdate_strings.c:257 src/hdate_strings.c:290
289289 msgid "Yom HaAtzma'ut"
290290 msgstr ""
291291
292 #: src/hdate_strings.c:258 src/hdate_strings.c:289
292 #: src/hdate_strings.c:258 src/hdate_strings.c:291
293293 msgid "Lag B'Omer"
294294 msgstr ""
295295
296 #: src/hdate_strings.c:259 src/hdate_strings.c:290
296 #: src/hdate_strings.c:259 src/hdate_strings.c:292
297297 msgid "Erev Shavuot"
298298 msgstr ""
299299
300 #: src/hdate_strings.c:260 src/hdate_strings.c:291
300 #: src/hdate_strings.c:260 src/hdate_strings.c:293
301301 msgid "Shavuot"
302302 msgstr ""
303303
304304 #. 20
305 #: src/hdate_strings.c:261 src/hdate_strings.c:292
305 #: src/hdate_strings.c:261 src/hdate_strings.c:294
306306 msgid "Tzom Tammuz"
307307 msgstr ""
308308
309 #: src/hdate_strings.c:262 src/hdate_strings.c:293
309 #: src/hdate_strings.c:262 src/hdate_strings.c:295
310310 msgid "Tish'a B'Av"
311311 msgstr ""
312312
313 #: src/hdate_strings.c:263 src/hdate_strings.c:294
313 #: src/hdate_strings.c:263 src/hdate_strings.c:296
314314 msgid "Tu B'Av"
315315 msgstr ""
316316
317 #: src/hdate_strings.c:264 src/hdate_strings.c:295
317 #: src/hdate_strings.c:264 src/hdate_strings.c:297
318318 msgid "Yom HaShoah"
319319 msgstr ""
320320
321 #: src/hdate_strings.c:265 src/hdate_strings.c:296
321 #: src/hdate_strings.c:265 src/hdate_strings.c:298
322322 msgid "Yom HaZikaron"
323323 msgstr ""
324324
325325 #. 25
326 #: src/hdate_strings.c:266 src/hdate_strings.c:297
326 #: src/hdate_strings.c:266 src/hdate_strings.c:299
327327 msgid "Yom Yerushalayim"
328328 msgstr ""
329329
330 #: src/hdate_strings.c:267 src/hdate_strings.c:298
330 #: src/hdate_strings.c:267 src/hdate_strings.c:300
331331 msgid "Shmini Atzeret"
332332 msgstr ""
333333
334 #: src/hdate_strings.c:268 src/hdate_strings.c:299
334 #: src/hdate_strings.c:268 src/hdate_strings.c:301
335335 msgid "Pesach VII"
336336 msgstr ""
337337
338 #: src/hdate_strings.c:269 src/hdate_strings.c:300
338 #: src/hdate_strings.c:269 src/hdate_strings.c:302
339339 msgid "Pesach VIII"
340340 msgstr ""
341341
342 #: src/hdate_strings.c:270 src/hdate_strings.c:301
342 #: src/hdate_strings.c:270 src/hdate_strings.c:303
343343 msgid "Shavuot II"
344344 msgstr ""
345345
346 #: src/hdate_strings.c:334 src/hdate_strings.c:397
346 #: src/hdate_strings.c:271 src/hdate_strings.c:304
347 msgid "Sukkot II"
348 msgstr ""
349
350 #: src/hdate_strings.c:272 src/hdate_strings.c:305
351 msgid "Pesach II"
352 msgstr ""
353
354 #: src/hdate_strings.c:338 src/hdate_strings.c:401
347355 msgid "none"
348356 msgstr ""
349357
350 #: src/hdate_strings.c:335 src/hdate_strings.c:398
358 #: src/hdate_strings.c:339 src/hdate_strings.c:402
351359 msgid "Bereshit"
352360 msgstr ""
353361
354362 #. 1
355 #: src/hdate_strings.c:336 src/hdate_strings.c:399
363 #: src/hdate_strings.c:340 src/hdate_strings.c:403
356364 msgid "Noach"
357365 msgstr ""
358366
359 #: src/hdate_strings.c:337 src/hdate_strings.c:400
367 #: src/hdate_strings.c:341 src/hdate_strings.c:404
360368 msgid "Lech-Lecha"
361369 msgstr ""
362370
363 #: src/hdate_strings.c:338 src/hdate_strings.c:401
371 #: src/hdate_strings.c:342 src/hdate_strings.c:405
364372 msgid "Vayera"
365373 msgstr ""
366374
367 #: src/hdate_strings.c:339 src/hdate_strings.c:402
375 #: src/hdate_strings.c:343 src/hdate_strings.c:406
368376 msgid "Chayei Sara"
369377 msgstr ""
370378
371 #: src/hdate_strings.c:340 src/hdate_strings.c:403
379 #: src/hdate_strings.c:344 src/hdate_strings.c:407
372380 msgid "Toldot"
373381 msgstr ""
374382
375 #: src/hdate_strings.c:341 src/hdate_strings.c:404
383 #: src/hdate_strings.c:345 src/hdate_strings.c:408
376384 msgid "Vayetzei"
377385 msgstr ""
378386
379 #: src/hdate_strings.c:342 src/hdate_strings.c:405
387 #: src/hdate_strings.c:346 src/hdate_strings.c:409
380388 msgid "Vayishlach"
381389 msgstr ""
382390
383 #: src/hdate_strings.c:343 src/hdate_strings.c:406
391 #: src/hdate_strings.c:347 src/hdate_strings.c:410
384392 msgid "Vayeshev"
385393 msgstr ""
386394
387 #: src/hdate_strings.c:344 src/hdate_strings.c:407
395 #: src/hdate_strings.c:348 src/hdate_strings.c:411
388396 msgid "Miketz"
389397 msgstr ""
390398
391399 #. 10
392 #: src/hdate_strings.c:345 src/hdate_strings.c:408
400 #: src/hdate_strings.c:349 src/hdate_strings.c:412
393401 msgid "Vayigash"
394402 msgstr ""
395403
396 #: src/hdate_strings.c:346 src/hdate_strings.c:409
404 #: src/hdate_strings.c:350 src/hdate_strings.c:413
397405 msgid "Vayechi"
398406 msgstr ""
399407
400 #: src/hdate_strings.c:347 src/hdate_strings.c:410
408 #: src/hdate_strings.c:351 src/hdate_strings.c:414
401409 msgid "Shemot"
402410 msgstr ""
403411
404 #: src/hdate_strings.c:348 src/hdate_strings.c:411
412 #: src/hdate_strings.c:352 src/hdate_strings.c:415
405413 msgid "Vaera"
406414 msgstr ""
407415
408 #: src/hdate_strings.c:349 src/hdate_strings.c:412
416 #: src/hdate_strings.c:353 src/hdate_strings.c:416
409417 msgid "Bo"
410418 msgstr ""
411419
412 #: src/hdate_strings.c:350 src/hdate_strings.c:413
420 #: src/hdate_strings.c:354 src/hdate_strings.c:417
413421 msgid "Beshalach"
414422 msgstr ""
415423
416 #: src/hdate_strings.c:351 src/hdate_strings.c:414
424 #: src/hdate_strings.c:355 src/hdate_strings.c:418
417425 msgid "Yitro"
418426 msgstr ""
419427
420 #: src/hdate_strings.c:352 src/hdate_strings.c:415
428 #: src/hdate_strings.c:356 src/hdate_strings.c:419
421429 msgid "Mishpatim"
422430 msgstr ""
423431
424 #: src/hdate_strings.c:353 src/hdate_strings.c:416
432 #: src/hdate_strings.c:357 src/hdate_strings.c:420
425433 msgid "Terumah"
426434 msgstr ""
427435
428 #: src/hdate_strings.c:354 src/hdate_strings.c:417
436 #: src/hdate_strings.c:358 src/hdate_strings.c:421
429437 msgid "Tetzaveh"
430438 msgstr ""
431439
432440 #. 20
433 #: src/hdate_strings.c:355 src/hdate_strings.c:418
441 #: src/hdate_strings.c:359 src/hdate_strings.c:422
434442 msgid "Ki Tisa"
435443 msgstr ""
436444
437 #: src/hdate_strings.c:356 src/hdate_strings.c:419
445 #: src/hdate_strings.c:360 src/hdate_strings.c:423
438446 msgid "Vayakhel"
439447 msgstr ""
440448
441 #: src/hdate_strings.c:357 src/hdate_strings.c:420
449 #: src/hdate_strings.c:361 src/hdate_strings.c:424
442450 msgid "Pekudei"
443451 msgstr ""
444452
445 #: src/hdate_strings.c:358 src/hdate_strings.c:421
453 #: src/hdate_strings.c:362 src/hdate_strings.c:425
446454 msgid "Vayikra"
447455 msgstr ""
448456
449 #: src/hdate_strings.c:359 src/hdate_strings.c:422
457 #: src/hdate_strings.c:363 src/hdate_strings.c:426
450458 msgid "Tzav"
451459 msgstr ""
452460
453 #: src/hdate_strings.c:360 src/hdate_strings.c:423
461 #: src/hdate_strings.c:364 src/hdate_strings.c:427
454462 msgid "Shmini"
455463 msgstr ""
456464
457 #: src/hdate_strings.c:361 src/hdate_strings.c:424
465 #: src/hdate_strings.c:365 src/hdate_strings.c:428
458466 msgid "Tazria"
459467 msgstr ""
460468
461 #: src/hdate_strings.c:362 src/hdate_strings.c:425
469 #: src/hdate_strings.c:366 src/hdate_strings.c:429
462470 msgid "Metzora"
463471 msgstr ""
464472
465 #: src/hdate_strings.c:363 src/hdate_strings.c:426
473 #: src/hdate_strings.c:367 src/hdate_strings.c:430
466474 msgid "Achrei Mot"
467475 msgstr ""
468476
469 #: src/hdate_strings.c:364 src/hdate_strings.c:427
477 #: src/hdate_strings.c:368 src/hdate_strings.c:431
470478 msgid "Kedoshim"
471479 msgstr ""
472480
473481 #. 30
474 #: src/hdate_strings.c:365 src/hdate_strings.c:428
482 #: src/hdate_strings.c:369 src/hdate_strings.c:432
475483 msgid "Emor"
476484 msgstr ""
477485
478 #: src/hdate_strings.c:366 src/hdate_strings.c:429
486 #: src/hdate_strings.c:370 src/hdate_strings.c:433
479487 msgid "Behar"
480488 msgstr ""
481489
482 #: src/hdate_strings.c:367 src/hdate_strings.c:430
490 #: src/hdate_strings.c:371 src/hdate_strings.c:434
483491 msgid "Bechukotai"
484492 msgstr ""
485493
486 #: src/hdate_strings.c:368 src/hdate_strings.c:431
494 #: src/hdate_strings.c:372 src/hdate_strings.c:435
487495 msgid "Bamidbar"
488496 msgstr ""
489497
490 #: src/hdate_strings.c:369 src/hdate_strings.c:432
498 #: src/hdate_strings.c:373 src/hdate_strings.c:436
491499 msgid "Nasso"
492500 msgstr ""
493501
494 #: src/hdate_strings.c:370 src/hdate_strings.c:433
502 #: src/hdate_strings.c:374 src/hdate_strings.c:437
495503 msgid "Beha'alotcha"
496504 msgstr ""
497505
498 #: src/hdate_strings.c:371 src/hdate_strings.c:434
506 #: src/hdate_strings.c:375 src/hdate_strings.c:438
499507 msgid "Sh'lach"
500508 msgstr ""
501509
502 #: src/hdate_strings.c:372 src/hdate_strings.c:435
510 #: src/hdate_strings.c:376 src/hdate_strings.c:439
503511 msgid "Korach"
504512 msgstr ""
505513
506 #: src/hdate_strings.c:373 src/hdate_strings.c:436
514 #: src/hdate_strings.c:377 src/hdate_strings.c:440
507515 msgid "Chukat"
508516 msgstr ""
509517
510 #: src/hdate_strings.c:374 src/hdate_strings.c:437
518 #: src/hdate_strings.c:378 src/hdate_strings.c:441
511519 msgid "Balak"
512520 msgstr ""
513521
514522 #. 40
515 #: src/hdate_strings.c:375 src/hdate_strings.c:438
523 #: src/hdate_strings.c:379 src/hdate_strings.c:442
516524 msgid "Pinchas"
517525 msgstr ""
518526
519 #: src/hdate_strings.c:376 src/hdate_strings.c:439
527 #: src/hdate_strings.c:380 src/hdate_strings.c:443
520528 msgid "Matot"
521529 msgstr ""
522530
523 #: src/hdate_strings.c:377 src/hdate_strings.c:440
531 #: src/hdate_strings.c:381 src/hdate_strings.c:444
524532 msgid "Masei"
525533 msgstr ""
526534
527 #: src/hdate_strings.c:378 src/hdate_strings.c:441
535 #: src/hdate_strings.c:382 src/hdate_strings.c:445
528536 msgid "Devarim"
529537 msgstr ""
530538
531 #: src/hdate_strings.c:379 src/hdate_strings.c:442
539 #: src/hdate_strings.c:383 src/hdate_strings.c:446
532540 msgid "Vaetchanan"
533541 msgstr ""
534542
535 #: src/hdate_strings.c:380 src/hdate_strings.c:443
543 #: src/hdate_strings.c:384 src/hdate_strings.c:447
536544 msgid "Eikev"
537545 msgstr ""
538546
539 #: src/hdate_strings.c:381 src/hdate_strings.c:444
547 #: src/hdate_strings.c:385 src/hdate_strings.c:448
540548 msgid "Re'eh"
541549 msgstr ""
542550
543 #: src/hdate_strings.c:382 src/hdate_strings.c:445
551 #: src/hdate_strings.c:386 src/hdate_strings.c:449
544552 msgid "Shoftim"
545553 msgstr ""
546554
547 #: src/hdate_strings.c:383 src/hdate_strings.c:446
555 #: src/hdate_strings.c:387 src/hdate_strings.c:450
548556 msgid "Ki Teitzei"
549557 msgstr ""
550558
551 #: src/hdate_strings.c:384 src/hdate_strings.c:447
559 #: src/hdate_strings.c:388 src/hdate_strings.c:451
552560 msgid "Ki Tavo"
553561 msgstr ""
554562
555563 #. 50
556 #: src/hdate_strings.c:385 src/hdate_strings.c:448
564 #: src/hdate_strings.c:389 src/hdate_strings.c:452
557565 msgid "Nitzavim"
558566 msgstr ""
559567
560 #: src/hdate_strings.c:386 src/hdate_strings.c:449
568 #: src/hdate_strings.c:390 src/hdate_strings.c:453
561569 msgid "Vayeilech"
562570 msgstr ""
563571
564 #: src/hdate_strings.c:387 src/hdate_strings.c:450
572 #: src/hdate_strings.c:391 src/hdate_strings.c:454
565573 msgid "Ha'Azinu"
566574 msgstr ""
567575
568 #: src/hdate_strings.c:388 src/hdate_strings.c:451
576 #: src/hdate_strings.c:392 src/hdate_strings.c:455
569577 msgid "Vezot Habracha"
570578 msgstr ""
571579
572580 #. 54
573 #: src/hdate_strings.c:389 src/hdate_strings.c:452
581 #: src/hdate_strings.c:393 src/hdate_strings.c:456
574582 msgid "Vayakhel-Pekudei"
575583 msgstr ""
576584
577 #: src/hdate_strings.c:390 src/hdate_strings.c:453
585 #: src/hdate_strings.c:394 src/hdate_strings.c:457
578586 msgid "Tazria-Metzora"
579587 msgstr ""
580588
581 #: src/hdate_strings.c:391 src/hdate_strings.c:454
589 #: src/hdate_strings.c:395 src/hdate_strings.c:458
582590 msgid "Achrei Mot-Kedoshim"
583591 msgstr ""
584592
585 #: src/hdate_strings.c:392 src/hdate_strings.c:455
593 #: src/hdate_strings.c:396 src/hdate_strings.c:459
586594 msgid "Behar-Bechukotai"
587595 msgstr ""
588596
589 #: src/hdate_strings.c:393 src/hdate_strings.c:456
597 #: src/hdate_strings.c:397 src/hdate_strings.c:460
590598 msgid "Chukat-Balak"
591599 msgstr ""
592600
593 #: src/hdate_strings.c:394 src/hdate_strings.c:457
601 #: src/hdate_strings.c:398 src/hdate_strings.c:461
594602 msgid "Matot-Masei"
595603 msgstr ""
596604
597 #: src/hdate_strings.c:395 src/hdate_strings.c:458
605 #: src/hdate_strings.c:399 src/hdate_strings.c:462
598606 msgid "Nitzavim-Vayeilech"
599607 msgstr ""
600608
601609 #. if untranslated return null
602610 #. return the translator name
603 #: src/hdate_strings.c:560 src/hdate_strings.c:564
611 #: src/hdate_strings.c:564 src/hdate_strings.c:568
604612 msgid "translator"
605613 msgstr ""
Binary diff not shown
77 msgstr ""
88 "Project-Id-Version: ru\n"
99 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2005-07-27 19:20+0300\n"
10 "POT-Creation-Date: 2005-08-08 00:38+0300\n"
1111 "PO-Revision-Date: 2005-03-08 22:44-0200\n"
1212 "Last-Translator: Boeis Peterberg\n"
1313 "Language-Team: Russian\n"
219219 msgid "Adar II"
220220 msgstr "Адар 2"
221221
222 #: src/hdate_strings.c:241 src/hdate_strings.c:272
222 #: src/hdate_strings.c:241 src/hdate_strings.c:274
223223 msgid "Rosh Hashana I"
224224 msgstr "Рош-а-Шана I"
225225
226226 #. 1
227 #: src/hdate_strings.c:242 src/hdate_strings.c:273
227 #: src/hdate_strings.c:242 src/hdate_strings.c:275
228228 msgid "Rosh Hashana II"
229229 msgstr "Рош-а-Шана II"
230230
231 #: src/hdate_strings.c:243 src/hdate_strings.c:274
231 #: src/hdate_strings.c:243 src/hdate_strings.c:276
232232 msgid "Tzom Gedaliah"
233233 msgstr "Цом гдаляа"
234234
235 #: src/hdate_strings.c:244 src/hdate_strings.c:275
235 #: src/hdate_strings.c:244 src/hdate_strings.c:277
236236 msgid "Yom Kippur"
237237 msgstr "Йом Кипур"
238238
239 #: src/hdate_strings.c:245 src/hdate_strings.c:276
239 #: src/hdate_strings.c:245 src/hdate_strings.c:278
240240 msgid "Sukkot"
241241 msgstr "Суккот I"
242242
243 #: src/hdate_strings.c:246 src/hdate_strings.c:277
243 #: src/hdate_strings.c:246 src/hdate_strings.c:279
244244 msgid "Hol hamoed Sukkot"
245245 msgstr "Суккот"
246246
247 #: src/hdate_strings.c:247 src/hdate_strings.c:278
247 #: src/hdate_strings.c:247 src/hdate_strings.c:280
248248 msgid "Hoshana raba"
249249 msgstr "hoшана Раба"
250250
251 #: src/hdate_strings.c:248 src/hdate_strings.c:279
251 #: src/hdate_strings.c:248 src/hdate_strings.c:281
252252 msgid "Simchat Torah"
253253 msgstr "Симхат-Тора"
254254
255 #: src/hdate_strings.c:249 src/hdate_strings.c:280
255 #: src/hdate_strings.c:249 src/hdate_strings.c:282
256256 msgid "Chanukah"
257257 msgstr "Ханука"
258258
259 #: src/hdate_strings.c:250 src/hdate_strings.c:281
259 #: src/hdate_strings.c:250 src/hdate_strings.c:283
260260 msgid "Asara B'Tevet"
261261 msgstr "Десятое Тевета"
262262
263263 #. 10
264 #: src/hdate_strings.c:251 src/hdate_strings.c:282
264 #: src/hdate_strings.c:251 src/hdate_strings.c:284
265265 msgid "Tu B'Shvat"
266266 msgstr "Ту би-Шват"
267267
268 #: src/hdate_strings.c:252 src/hdate_strings.c:283
268 #: src/hdate_strings.c:252 src/hdate_strings.c:285
269269 msgid "Ta'anit Esther"
270270 msgstr "Танйт зстер"
271271
272 #: src/hdate_strings.c:253 src/hdate_strings.c:284
272 #: src/hdate_strings.c:253 src/hdate_strings.c:286
273273 msgid "Purim"
274274 msgstr "Пурим"
275275
276 #: src/hdate_strings.c:254 src/hdate_strings.c:285
276 #: src/hdate_strings.c:254 src/hdate_strings.c:287
277277 msgid "Shushan Purim"
278278 msgstr "Ш. Пурим"
279279
280 #: src/hdate_strings.c:255 src/hdate_strings.c:286
280 #: src/hdate_strings.c:255 src/hdate_strings.c:288
281281 msgid "Pesach"
282282 msgstr "Пэсах I"
283283
284 #: src/hdate_strings.c:256 src/hdate_strings.c:287
284 #: src/hdate_strings.c:256 src/hdate_strings.c:289
285285 msgid "Hol hamoed Pesach"
286286 msgstr "Песах"
287287
288 #: src/hdate_strings.c:257 src/hdate_strings.c:288
288 #: src/hdate_strings.c:257 src/hdate_strings.c:290
289289 msgid "Yom HaAtzma'ut"
290290 msgstr "День Независимости"
291291
292 #: src/hdate_strings.c:258 src/hdate_strings.c:289
292 #: src/hdate_strings.c:258 src/hdate_strings.c:291
293293 msgid "Lag B'Omer"
294294 msgstr "Лаг ба-Омер"
295295
296 #: src/hdate_strings.c:259 src/hdate_strings.c:290
296 #: src/hdate_strings.c:259 src/hdate_strings.c:292
297297 msgid "Erev Shavuot"
298298 msgstr "Шавуот"
299299
300 #: src/hdate_strings.c:260 src/hdate_strings.c:291
300 #: src/hdate_strings.c:260 src/hdate_strings.c:293
301301 msgid "Shavuot"
302302 msgstr "Шавуот"
303303
304304 #. 20
305 #: src/hdate_strings.c:261 src/hdate_strings.c:292
305 #: src/hdate_strings.c:261 src/hdate_strings.c:294
306306 msgid "Tzom Tammuz"
307307 msgstr "17 Тамуза"
308308
309 #: src/hdate_strings.c:262 src/hdate_strings.c:293
309 #: src/hdate_strings.c:262 src/hdate_strings.c:295
310310 msgid "Tish'a B'Av"
311311 msgstr "9 Ава"
312312
313 #: src/hdate_strings.c:263 src/hdate_strings.c:294
313 #: src/hdate_strings.c:263 src/hdate_strings.c:296
314314 msgid "Tu B'Av"
315315 msgstr "15-ое Ава"
316316
317 #: src/hdate_strings.c:264 src/hdate_strings.c:295
317 #: src/hdate_strings.c:264 src/hdate_strings.c:297
318318 msgid "Yom HaShoah"
319319 msgstr "День Холокоста"
320320
321 #: src/hdate_strings.c:265 src/hdate_strings.c:296
321 #: src/hdate_strings.c:265 src/hdate_strings.c:298
322322 msgid "Yom HaZikaron"
323323 msgstr "День Памяти"
324324
325325 #. 25
326 #: src/hdate_strings.c:266 src/hdate_strings.c:297
326 #: src/hdate_strings.c:266 src/hdate_strings.c:299
327327 msgid "Yom Yerushalayim"
328328 msgstr "День Йерусалима"
329329
330 #: src/hdate_strings.c:267 src/hdate_strings.c:298
330 #: src/hdate_strings.c:267 src/hdate_strings.c:300
331331 msgid "Shmini Atzeret"
332332 msgstr "Шмини-Ацерет"
333333
334 #: src/hdate_strings.c:268 src/hdate_strings.c:299
334 #: src/hdate_strings.c:268 src/hdate_strings.c:301
335335 msgid "Pesach VII"
336336 msgstr "Песах VII"
337337
338 #: src/hdate_strings.c:269 src/hdate_strings.c:300
338 #: src/hdate_strings.c:269 src/hdate_strings.c:302
339339 msgid "Pesach VIII"
340340 msgstr "Песах VIII"
341341
342 #: src/hdate_strings.c:270 src/hdate_strings.c:301
342 #: src/hdate_strings.c:270 src/hdate_strings.c:303
343343 msgid "Shavuot II"
344344 msgstr "Шавуот II"
345345
346 #: src/hdate_strings.c:334 src/hdate_strings.c:397
346 #: src/hdate_strings.c:271 src/hdate_strings.c:304
347 #, fuzzy
348 msgid "Sukkot II"
349 msgstr "Суккот II"
350
351 #: src/hdate_strings.c:272 src/hdate_strings.c:305
352 #, fuzzy
353 msgid "Pesach II"
354 msgstr "Песах II"
355
356 #: src/hdate_strings.c:338 src/hdate_strings.c:401
347357 msgid "none"
348358 msgstr "Нет"
349359
350 #: src/hdate_strings.c:335 src/hdate_strings.c:398
360 #: src/hdate_strings.c:339 src/hdate_strings.c:402
351361 msgid "Bereshit"
352362 msgstr ""
353363
354364 #. 1
355 #: src/hdate_strings.c:336 src/hdate_strings.c:399
365 #: src/hdate_strings.c:340 src/hdate_strings.c:403
356366 msgid "Noach"
357367 msgstr "Ноах"
358368
359 #: src/hdate_strings.c:337 src/hdate_strings.c:400
369 #: src/hdate_strings.c:341 src/hdate_strings.c:404
360370 msgid "Lech-Lecha"
361371 msgstr ""
362372
363 #: src/hdate_strings.c:338 src/hdate_strings.c:401
373 #: src/hdate_strings.c:342 src/hdate_strings.c:405
364374 msgid "Vayera"
365375 msgstr ""
366376
367 #: src/hdate_strings.c:339 src/hdate_strings.c:402
377 #: src/hdate_strings.c:343 src/hdate_strings.c:406
368378 msgid "Chayei Sara"
369379 msgstr "Жизнь Сары"
370380
371 #: src/hdate_strings.c:340 src/hdate_strings.c:403
381 #: src/hdate_strings.c:344 src/hdate_strings.c:407
372382 msgid "Toldot"
373383 msgstr ""
374384
375 #: src/hdate_strings.c:341 src/hdate_strings.c:404
385 #: src/hdate_strings.c:345 src/hdate_strings.c:408
376386 msgid "Vayetzei"
377387 msgstr ""
378388
379 #: src/hdate_strings.c:342 src/hdate_strings.c:405
389 #: src/hdate_strings.c:346 src/hdate_strings.c:409
380390 msgid "Vayishlach"
381391 msgstr ""
382392
383 #: src/hdate_strings.c:343 src/hdate_strings.c:406
393 #: src/hdate_strings.c:347 src/hdate_strings.c:410
384394 msgid "Vayeshev"
385395 msgstr ""
386396
387 #: src/hdate_strings.c:344 src/hdate_strings.c:407
397 #: src/hdate_strings.c:348 src/hdate_strings.c:411
388398 msgid "Miketz"
389399 msgstr ""
390400
391401 #. 10
392 #: src/hdate_strings.c:345 src/hdate_strings.c:408
402 #: src/hdate_strings.c:349 src/hdate_strings.c:412
393403 msgid "Vayigash"
394404 msgstr ""
395405
396 #: src/hdate_strings.c:346 src/hdate_strings.c:409
406 #: src/hdate_strings.c:350 src/hdate_strings.c:413
397407 msgid "Vayechi"
398408 msgstr ""
399409
400 #: src/hdate_strings.c:347 src/hdate_strings.c:410
410 #: src/hdate_strings.c:351 src/hdate_strings.c:414
401411 msgid "Shemot"
402412 msgstr ""
403413
404 #: src/hdate_strings.c:348 src/hdate_strings.c:411
414 #: src/hdate_strings.c:352 src/hdate_strings.c:415
405415 msgid "Vaera"
406416 msgstr ""
407417
408 #: src/hdate_strings.c:349 src/hdate_strings.c:412
418 #: src/hdate_strings.c:353 src/hdate_strings.c:416
409419 msgid "Bo"
410420 msgstr ""
411421
412 #: src/hdate_strings.c:350 src/hdate_strings.c:413
422 #: src/hdate_strings.c:354 src/hdate_strings.c:417
413423 msgid "Beshalach"
414424 msgstr ""
415425
416 #: src/hdate_strings.c:351 src/hdate_strings.c:414
426 #: src/hdate_strings.c:355 src/hdate_strings.c:418
417427 msgid "Yitro"
418428 msgstr ""
419429
420 #: src/hdate_strings.c:352 src/hdate_strings.c:415
430 #: src/hdate_strings.c:356 src/hdate_strings.c:419
421431 msgid "Mishpatim"
422432 msgstr ""
423433
424 #: src/hdate_strings.c:353 src/hdate_strings.c:416
434 #: src/hdate_strings.c:357 src/hdate_strings.c:420
425435 msgid "Terumah"
426436 msgstr ""
427437
428 #: src/hdate_strings.c:354 src/hdate_strings.c:417
438 #: src/hdate_strings.c:358 src/hdate_strings.c:421
429439 msgid "Tetzaveh"
430440 msgstr ""
431441
432442 #. 20
433 #: src/hdate_strings.c:355 src/hdate_strings.c:418
443 #: src/hdate_strings.c:359 src/hdate_strings.c:422
434444 msgid "Ki Tisa"
435445 msgstr ""
436446
437 #: src/hdate_strings.c:356 src/hdate_strings.c:419
447 #: src/hdate_strings.c:360 src/hdate_strings.c:423
438448 msgid "Vayakhel"
439449 msgstr ""
440450
441 #: src/hdate_strings.c:357 src/hdate_strings.c:420
451 #: src/hdate_strings.c:361 src/hdate_strings.c:424
442452 msgid "Pekudei"
443453 msgstr ""
444454
445 #: src/hdate_strings.c:358 src/hdate_strings.c:421
455 #: src/hdate_strings.c:362 src/hdate_strings.c:425
446456 msgid "Vayikra"
447457 msgstr ""
448458
449 #: src/hdate_strings.c:359 src/hdate_strings.c:422
459 #: src/hdate_strings.c:363 src/hdate_strings.c:426
450460 msgid "Tzav"
451461 msgstr ""
452462
453 #: src/hdate_strings.c:360 src/hdate_strings.c:423
463 #: src/hdate_strings.c:364 src/hdate_strings.c:427
454464 msgid "Shmini"
455465 msgstr ""
456466
457 #: src/hdate_strings.c:361 src/hdate_strings.c:424
467 #: src/hdate_strings.c:365 src/hdate_strings.c:428
458468 msgid "Tazria"
459469 msgstr ""
460470
461 #: src/hdate_strings.c:362 src/hdate_strings.c:425
471 #: src/hdate_strings.c:366 src/hdate_strings.c:429
462472 msgid "Metzora"
463473 msgstr ""
464474
465 #: src/hdate_strings.c:363 src/hdate_strings.c:426
475 #: src/hdate_strings.c:367 src/hdate_strings.c:430
466476 msgid "Achrei Mot"
467477 msgstr ""
468478
469 #: src/hdate_strings.c:364 src/hdate_strings.c:427
479 #: src/hdate_strings.c:368 src/hdate_strings.c:431
470480 msgid "Kedoshim"
471481 msgstr ""
472482
473483 #. 30
474 #: src/hdate_strings.c:365 src/hdate_strings.c:428
484 #: src/hdate_strings.c:369 src/hdate_strings.c:432
475485 msgid "Emor"
476486 msgstr ""
477487
478 #: src/hdate_strings.c:366 src/hdate_strings.c:429
488 #: src/hdate_strings.c:370 src/hdate_strings.c:433
479489 msgid "Behar"
480490 msgstr ""
481491
482 #: src/hdate_strings.c:367 src/hdate_strings.c:430
492 #: src/hdate_strings.c:371 src/hdate_strings.c:434
483493 msgid "Bechukotai"
484494 msgstr ""
485495
486 #: src/hdate_strings.c:368 src/hdate_strings.c:431
496 #: src/hdate_strings.c:372 src/hdate_strings.c:435
487497 msgid "Bamidbar"
488498 msgstr ""
489499
490 #: src/hdate_strings.c:369 src/hdate_strings.c:432
500 #: src/hdate_strings.c:373 src/hdate_strings.c:436
491501 msgid "Nasso"
492502 msgstr ""
493503
494 #: src/hdate_strings.c:370 src/hdate_strings.c:433
504 #: src/hdate_strings.c:374 src/hdate_strings.c:437
495505 msgid "Beha'alotcha"
496506 msgstr ""
497507
498 #: src/hdate_strings.c:371 src/hdate_strings.c:434
508 #: src/hdate_strings.c:375 src/hdate_strings.c:438
499509 msgid "Sh'lach"
500510 msgstr ""
501511
502 #: src/hdate_strings.c:372 src/hdate_strings.c:435
512 #: src/hdate_strings.c:376 src/hdate_strings.c:439
503513 msgid "Korach"
504514 msgstr ""
505515
506 #: src/hdate_strings.c:373 src/hdate_strings.c:436
516 #: src/hdate_strings.c:377 src/hdate_strings.c:440
507517 msgid "Chukat"
508518 msgstr ""
509519
510 #: src/hdate_strings.c:374 src/hdate_strings.c:437
520 #: src/hdate_strings.c:378 src/hdate_strings.c:441
511521 msgid "Balak"
512522 msgstr ""
513523
514524 #. 40
515 #: src/hdate_strings.c:375 src/hdate_strings.c:438
525 #: src/hdate_strings.c:379 src/hdate_strings.c:442
516526 msgid "Pinchas"
517527 msgstr ""
518528
519 #: src/hdate_strings.c:376 src/hdate_strings.c:439
529 #: src/hdate_strings.c:380 src/hdate_strings.c:443
520530 msgid "Matot"
521531 msgstr ""
522532
523 #: src/hdate_strings.c:377 src/hdate_strings.c:440
533 #: src/hdate_strings.c:381 src/hdate_strings.c:444
524534 msgid "Masei"
525535 msgstr ""
526536
527 #: src/hdate_strings.c:378 src/hdate_strings.c:441
537 #: src/hdate_strings.c:382 src/hdate_strings.c:445
528538 msgid "Devarim"
529539 msgstr ""
530540
531 #: src/hdate_strings.c:379 src/hdate_strings.c:442
541 #: src/hdate_strings.c:383 src/hdate_strings.c:446
532542 msgid "Vaetchanan"
533543 msgstr ""
534544
535 #: src/hdate_strings.c:380 src/hdate_strings.c:443
545 #: src/hdate_strings.c:384 src/hdate_strings.c:447
536546 msgid "Eikev"
537547 msgstr ""
538548
539 #: src/hdate_strings.c:381 src/hdate_strings.c:444
549 #: src/hdate_strings.c:385 src/hdate_strings.c:448
540550 msgid "Re'eh"
541551 msgstr ""
542552
543 #: src/hdate_strings.c:382 src/hdate_strings.c:445
553 #: src/hdate_strings.c:386 src/hdate_strings.c:449
544554 msgid "Shoftim"
545555 msgstr ""
546556
547 #: src/hdate_strings.c:383 src/hdate_strings.c:446
557 #: src/hdate_strings.c:387 src/hdate_strings.c:450
548558 msgid "Ki Teitzei"
549559 msgstr ""
550560
551 #: src/hdate_strings.c:384 src/hdate_strings.c:447
561 #: src/hdate_strings.c:388 src/hdate_strings.c:451
552562 msgid "Ki Tavo"
553563 msgstr ""
554564
555565 #. 50
556 #: src/hdate_strings.c:385 src/hdate_strings.c:448
566 #: src/hdate_strings.c:389 src/hdate_strings.c:452
557567 msgid "Nitzavim"
558568 msgstr ""
559569
560 #: src/hdate_strings.c:386 src/hdate_strings.c:449
570 #: src/hdate_strings.c:390 src/hdate_strings.c:453
561571 msgid "Vayeilech"
562572 msgstr ""
563573
564 #: src/hdate_strings.c:387 src/hdate_strings.c:450
574 #: src/hdate_strings.c:391 src/hdate_strings.c:454
565575 msgid "Ha'Azinu"
566576 msgstr ""
567577
568 #: src/hdate_strings.c:388 src/hdate_strings.c:451
578 #: src/hdate_strings.c:392 src/hdate_strings.c:455
569579 msgid "Vezot Habracha"
570580 msgstr ""
571581
572582 #. 54
573 #: src/hdate_strings.c:389 src/hdate_strings.c:452
583 #: src/hdate_strings.c:393 src/hdate_strings.c:456
574584 msgid "Vayakhel-Pekudei"
575585 msgstr ""
576586
577 #: src/hdate_strings.c:390 src/hdate_strings.c:453
587 #: src/hdate_strings.c:394 src/hdate_strings.c:457
578588 msgid "Tazria-Metzora"
579589 msgstr ""
580590
581 #: src/hdate_strings.c:391 src/hdate_strings.c:454
591 #: src/hdate_strings.c:395 src/hdate_strings.c:458
582592 msgid "Achrei Mot-Kedoshim"
583593 msgstr ""
584594
585 #: src/hdate_strings.c:392 src/hdate_strings.c:455
595 #: src/hdate_strings.c:396 src/hdate_strings.c:459
586596 msgid "Behar-Bechukotai"
587597 msgstr ""
588598
589 #: src/hdate_strings.c:393 src/hdate_strings.c:456
599 #: src/hdate_strings.c:397 src/hdate_strings.c:460
590600 msgid "Chukat-Balak"
591601 msgstr ""
592602
593 #: src/hdate_strings.c:394 src/hdate_strings.c:457
603 #: src/hdate_strings.c:398 src/hdate_strings.c:461
594604 msgid "Matot-Masei"
595605 msgstr ""
596606
597 #: src/hdate_strings.c:395 src/hdate_strings.c:458
607 #: src/hdate_strings.c:399 src/hdate_strings.c:462
598608 msgid "Nitzavim-Vayeilech"
599609 msgstr ""
600610
601611 #. if untranslated return null
602612 #. return the translator name
603 #: src/hdate_strings.c:560 src/hdate_strings.c:564
613 #: src/hdate_strings.c:564 src/hdate_strings.c:568
604614 msgid "translator"
605615 msgstr "Борис Петербарг"
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # Free Software Foundation, Inc.
0 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
1
2 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
53 # This Makefile.in is free software; the Free Software Foundation
64 # gives unlimited permission to copy and/or distribute it,
75 # with or without modifications, as long as this notice is preserved.
119 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1210 # PARTICULAR PURPOSE.
1311
14 @SET_MAKE@
12
13 SHELL = @SHELL@
1514
1615 srcdir = @srcdir@
1716 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
39
2240 top_builddir = ..
2341
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
2547 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
3153 NORMAL_INSTALL = :
3254 PRE_INSTALL = :
3355 POST_INSTALL = :
3456 NORMAL_UNINSTALL = :
3557 PRE_UNINSTALL = :
3658 POST_UNINSTALL = :
59 host_alias = @host_alias@
3760 host_triplet = @host@
38 ACLOCAL = @ACLOCAL@
39 ALLOCA = @ALLOCA@
40 AMDEP_FALSE = @AMDEP_FALSE@
41 AMDEP_TRUE = @AMDEP_TRUE@
42 AMTAR = @AMTAR@
4361 AR = @AR@
44 AUTOCONF = @AUTOCONF@
45 AUTOHEADER = @AUTOHEADER@
46 AUTOMAKE = @AUTOMAKE@
47 AWK = @AWK@
62 AS = @AS@
4863 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
4964 CATOBJEXT = @CATOBJEXT@
5065 CC = @CC@
51 CCDEPMODE = @CCDEPMODE@
5266 CFLAGS = @CFLAGS@
53 CPP = @CPP@
54 CPPFLAGS = @CPPFLAGS@
5567 CXX = @CXX@
5668 CXXCPP = @CXXCPP@
57 CXXDEPMODE = @CXXDEPMODE@
58 CXXFLAGS = @CXXFLAGS@
59 CYGPATH_W = @CYGPATH_W@
6069 DATADIRNAME = @DATADIRNAME@
61 DEFS = @DEFS@
62 DEPDIR = @DEPDIR@
70 DLLTOOL = @DLLTOOL@
6371 ECHO = @ECHO@
64 ECHO_C = @ECHO_C@
65 ECHO_N = @ECHO_N@
66 ECHO_T = @ECHO_T@
6772 EGREP = @EGREP@
6873 EXEEXT = @EXEEXT@
6974 F77 = @F77@
70 FFLAGS = @FFLAGS@
75 GCJ = @GCJ@
76 GCJFLAGS = @GCJFLAGS@
7177 GENCAT = @GENCAT@
7278 GLIBC2 = @GLIBC2@
7379 GLIBC21 = @GLIBC21@
7480 GMSGFMT = @GMSGFMT@
7581 HAVE_ASPRINTF = @HAVE_ASPRINTF@
82 HAVE_LIB = @HAVE_LIB@
7683 HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
7784 HAVE_SNPRINTF = @HAVE_SNPRINTF@
7885 HAVE_WPRINTF = @HAVE_WPRINTF@
79 INSTALL_DATA = @INSTALL_DATA@
80 INSTALL_PROGRAM = @INSTALL_PROGRAM@
81 INSTALL_SCRIPT = @INSTALL_SCRIPT@
82 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8386 INSTOBJEXT = @INSTOBJEXT@
8487 INTLBISON = @INTLBISON@
8588 INTLLIBS = @INTLLIBS@
8689 INTLOBJS = @INTLOBJS@
8790 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
8891 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
89 LDFLAGS = @LDFLAGS@
92 LIB = @LIB@
9093 LIBICONV = @LIBICONV@
9194 LIBINTL = @LIBINTL@
92 LIBOBJS = @LIBOBJS@
9395 LIBS = @LIBS@
9496 LIBTOOL = @LIBTOOL@
9597 LN_S = @LN_S@
98 LTLIB = @LTLIB@
9699 LTLIBICONV = @LTLIBICONV@
97100 LTLIBINTL = @LTLIBINTL@
98 LTLIBOBJS = @LTLIBOBJS@
99101 MAINT = @MAINT@
100 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
101 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
102102 MAKEINFO = @MAKEINFO@
103103 MKINSTALLDIRS = @MKINSTALLDIRS@
104 MSGFMT = @MSGFMT@
105 MSGMERGE = @MSGMERGE@
104 OBJDUMP = @OBJDUMP@
106105 OBJEXT = @OBJEXT@
107106 PACKAGE = @PACKAGE@
108 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
109 PACKAGE_NAME = @PACKAGE_NAME@
110 PACKAGE_STRING = @PACKAGE_STRING@
111 PACKAGE_TARNAME = @PACKAGE_TARNAME@
112 PACKAGE_VERSION = @PACKAGE_VERSION@
113 PATH_SEPARATOR = @PATH_SEPARATOR@
114107 PA_MODULES_PATH = @PA_MODULES_PATH@
108 PA_VERSION = @PA_VERSION@
115109 PE_CFLAGS = @PE_CFLAGS@
116110 PE_MODULES_PATH = @PE_MODULES_PATH@
117111 PKG_CONFIG = @PKG_CONFIG@
118112 POSUB = @POSUB@
119113 PY_CFLAGS = @PY_CFLAGS@
120114 PY_MODULES_PATH = @PY_MODULES_PATH@
115 PY_VERSION = @PY_VERSION@
121116 RANLIB = @RANLIB@
122 SET_MAKE = @SET_MAKE@
123 SHELL = @SHELL@
117 RC = @RC@
124118 STRIP = @STRIP@
125119 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
126120 USE_NLS = @USE_NLS@
127121 VERSION = @VERSION@
128122 VERSION_INFO = @VERSION_INFO@
129 WITH_EXAMPLES_FALSE = @WITH_EXAMPLES_FALSE@
130 WITH_EXAMPLES_TRUE = @WITH_EXAMPLES_TRUE@
131 WITH_HCAL_FALSE = @WITH_HCAL_FALSE@
132 WITH_HCAL_TRUE = @WITH_HCAL_TRUE@
133 WITH_PASCAL_FALSE = @WITH_PASCAL_FALSE@
134 WITH_PASCAL_TRUE = @WITH_PASCAL_TRUE@
135 WITH_PERL_FALSE = @WITH_PERL_FALSE@
136 WITH_PERL_TRUE = @WITH_PERL_TRUE@
137 WITH_PYTHON_FALSE = @WITH_PYTHON_FALSE@
138 WITH_PYTHON_TRUE = @WITH_PYTHON_TRUE@
139 XGETTEXT = @XGETTEXT@
140 ac_ct_AR = @ac_ct_AR@
141 ac_ct_CC = @ac_ct_CC@
142 ac_ct_CXX = @ac_ct_CXX@
143 ac_ct_F77 = @ac_ct_F77@
144 ac_ct_RANLIB = @ac_ct_RANLIB@
145 ac_ct_STRIP = @ac_ct_STRIP@
146 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
147 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
148 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
149 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
150 am__include = @am__include@
151 am__leading_dot = @am__leading_dot@
152 am__quote = @am__quote@
153 bindir = @bindir@
154 build = @build@
155 build_alias = @build_alias@
156 build_cpu = @build_cpu@
157 build_os = @build_os@
158 build_vendor = @build_vendor@
159 datadir = @datadir@
160 exec_prefix = @exec_prefix@
161123 have_pascal = @have_pascal@
162124 have_perl = @have_perl@
163125 have_python = @have_python@
164126 have_swig = @have_swig@
165 host = @host@
166 host_alias = @host_alias@
167 host_cpu = @host_cpu@
168 host_os = @host_os@
169 host_vendor = @host_vendor@
170 includedir = @includedir@
171 infodir = @infodir@
172 install_sh = @install_sh@
173 libdir = @libdir@
174 libexecdir = @libexecdir@
175 localstatedir = @localstatedir@
176 mandir = @mandir@
177 oldincludedir = @oldincludedir@
178 prefix = @prefix@
179 program_transform_name = @program_transform_name@
180 sbindir = @sbindir@
181 sharedstatedir = @sharedstatedir@
182 sysconfdir = @sysconfdir@
183 target_alias = @target_alias@
127
184128 EXTRA_DIST = hdate.h.3 hdate_struct.3
185129
186 libhdate_la_CFLAGS = \
187 -Wall\
188 -g
130 libhdate_la_CFLAGS = -Wall -g
189131
190132
191133 lib_LTLIBRARIES = libhdate.la
192134
193 libhdate_la_SOURCES = \
194 hdate_strings.c\
195 hdate_julian.c\
196 hdate_holyday.c\
197 hdate_parasha.c\
198 hdate_sun_time.c\
199 hdate.h\
200 support.h
135 libhdate_la_SOURCES = hdate_strings.c hdate_julian.c hdate_holyday.c hdate_parasha.c hdate_sun_time.c hdate.h support.h
201136
202137
203138 libhdate_la_LDFLAGS = -version-info $(VERSION_INFO)
207142 include_HEADERS = hdate.h hdatepp.h
208143
209144 man_MANS = hdate.h.3 hdate_struct.3
210 subdir = src
211 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
212145 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
213 CONFIG_CLEAN_FILES =
214 LTLIBRARIES = $(lib_LTLIBRARIES)
215
216 libhdate_la_DEPENDENCIES =
217 am_libhdate_la_OBJECTS = libhdate_la-hdate_strings.lo \
218 libhdate_la-hdate_julian.lo libhdate_la-hdate_holyday.lo \
219 libhdate_la-hdate_parasha.lo libhdate_la-hdate_sun_time.lo
220 libhdate_la_OBJECTS = $(am_libhdate_la_OBJECTS)
221
222 DEFAULT_INCLUDES = -I. -I$(srcdir)
223 depcomp = $(SHELL) $(top_srcdir)/depcomp
224 am__depfiles_maybe = depfiles
225 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libhdate_la-hdate_holyday.Plo \
226 @AMDEP_TRUE@ ./$(DEPDIR)/libhdate_la-hdate_julian.Plo \
227 @AMDEP_TRUE@ ./$(DEPDIR)/libhdate_la-hdate_parasha.Plo \
228 @AMDEP_TRUE@ ./$(DEPDIR)/libhdate_la-hdate_strings.Plo \
229 @AMDEP_TRUE@ ./$(DEPDIR)/libhdate_la-hdate_sun_time.Plo
230 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
231 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
232 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
233 $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
146 CONFIG_CLEAN_FILES =
147 LTLIBRARIES = $(lib_LTLIBRARIES)
148
149
150 DEFS = @DEFS@ -I. -I$(srcdir)
151 CPPFLAGS = @CPPFLAGS@
152 LDFLAGS = @LDFLAGS@
153 libhdate_la_DEPENDENCIES =
154 libhdate_la_OBJECTS = hdate_strings.lo hdate_julian.lo hdate_holyday.lo \
155 hdate_parasha.lo hdate_sun_time.lo
156 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
157 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
234158 CCLD = $(CC)
235 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
236 $(AM_LDFLAGS) $(LDFLAGS) -o $@
237 DIST_SOURCES = $(libhdate_la_SOURCES)
159 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
160 man3dir = $(mandir)/man3
161 MANS = $(man_MANS)
238162
239163 NROFF = nroff
240 MANS = $(man_MANS)
241 HEADERS = $(include_HEADERS)
242
243 DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.in Makefile.am
164 HEADERS = $(include_HEADERS)
165
166 DIST_COMMON = Makefile.am Makefile.in
167
168
169 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
170
171 TAR = tar
172 GZIP_ENV = --best
244173 SOURCES = $(libhdate_la_SOURCES)
245
246 all: all-am
247
174 OBJECTS = $(libhdate_la_OBJECTS)
175
176 all: all-redirect
248177 .SUFFIXES:
249 .SUFFIXES: .c .lo .o .obj
250 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
251 cd $(top_srcdir) && \
252 $(AUTOMAKE) --gnu src/Makefile
253 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
254 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
255 libLTLIBRARIES_INSTALL = $(INSTALL)
178 .SUFFIXES: .S .c .lo .o .obj .s
179 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
180 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
181
182 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
183 cd $(top_builddir) \
184 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
185
186
187 mostlyclean-libLTLIBRARIES:
188
189 clean-libLTLIBRARIES:
190 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
191
192 distclean-libLTLIBRARIES:
193
194 maintainer-clean-libLTLIBRARIES:
195
256196 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
257197 @$(NORMAL_INSTALL)
258198 $(mkinstalldirs) $(DESTDIR)$(libdir)
259199 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
260200 if test -f $$p; then \
261 f="`echo $$p | sed -e 's|^.*/||'`"; \
262 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
263 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
201 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
202 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
264203 else :; fi; \
265204 done
266205
267206 uninstall-libLTLIBRARIES:
268207 @$(NORMAL_UNINSTALL)
269 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
270 p="`echo $$p | sed -e 's|^.*/||'`"; \
271 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
272 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
273 done
274
275 clean-libLTLIBRARIES:
276 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
277 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
278 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
279 test "$$dir" = "$$p" && dir=.; \
280 echo "rm -f \"$${dir}/so_locations\""; \
281 rm -f "$${dir}/so_locations"; \
282 done
283 libhdate.la: $(libhdate_la_OBJECTS) $(libhdate_la_DEPENDENCIES)
284 $(LINK) -rpath $(libdir) $(libhdate_la_LDFLAGS) $(libhdate_la_OBJECTS) $(libhdate_la_LIBADD) $(LIBS)
208 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
209 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
210 done
211
212 .c.o:
213 $(COMPILE) -c $<
214
215 # FIXME: We should only use cygpath when building on Windows,
216 # and only if it is available.
217 .c.obj:
218 $(COMPILE) -c `cygpath -w $<`
219
220 .s.o:
221 $(COMPILE) -c $<
222
223 .S.o:
224 $(COMPILE) -c $<
285225
286226 mostlyclean-compile:
287 -rm -f *.$(OBJEXT) core *.core
227 -rm -f *.o core *.core
228 -rm -f *.$(OBJEXT)
229
230 clean-compile:
288231
289232 distclean-compile:
290233 -rm -f *.tab.c
291234
292 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_holyday.Plo@am__quote@
293 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_julian.Plo@am__quote@
294 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_parasha.Plo@am__quote@
295 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_strings.Plo@am__quote@
296 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhdate_la-hdate_sun_time.Plo@am__quote@
297
298 .c.o:
299 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
300 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
301 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
302 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
303 @am__fastdepCC_TRUE@ fi
304 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
305 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
306 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
307 @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
308
309 .c.obj:
310 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
311 @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
312 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
313 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
314 @am__fastdepCC_TRUE@ fi
315 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
316 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
317 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
318 @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
235 maintainer-clean-compile:
319236
320237 .c.lo:
321 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
322 @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
323 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
324 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
325 @am__fastdepCC_TRUE@ fi
326 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
327 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
328 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
329 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
330
331 libhdate_la-hdate_strings.o: hdate_strings.c
332 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_strings.o -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" \
333 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_strings.o `test -f 'hdate_strings.c' || echo '$(srcdir)/'`hdate_strings.c; \
334 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" "$(DEPDIR)/libhdate_la-hdate_strings.Po"; \
335 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo"; exit 1; \
336 @am__fastdepCC_TRUE@ fi
337 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_strings.c' object='libhdate_la-hdate_strings.o' libtool=no @AMDEPBACKSLASH@
338 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_strings.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_strings.TPo' @AMDEPBACKSLASH@
339 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
340 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_strings.o `test -f 'hdate_strings.c' || echo '$(srcdir)/'`hdate_strings.c
341
342 libhdate_la-hdate_strings.obj: hdate_strings.c
343 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_strings.obj -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" \
344 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_strings.obj `if test -f 'hdate_strings.c'; then $(CYGPATH_W) 'hdate_strings.c'; else $(CYGPATH_W) '$(srcdir)/hdate_strings.c'; fi`; \
345 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" "$(DEPDIR)/libhdate_la-hdate_strings.Po"; \
346 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo"; exit 1; \
347 @am__fastdepCC_TRUE@ fi
348 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_strings.c' object='libhdate_la-hdate_strings.obj' libtool=no @AMDEPBACKSLASH@
349 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_strings.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_strings.TPo' @AMDEPBACKSLASH@
350 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
351 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_strings.obj `if test -f 'hdate_strings.c'; then $(CYGPATH_W) 'hdate_strings.c'; else $(CYGPATH_W) '$(srcdir)/hdate_strings.c'; fi`
352
353 libhdate_la-hdate_strings.lo: hdate_strings.c
354 @am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_strings.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" \
355 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_strings.lo `test -f 'hdate_strings.c' || echo '$(srcdir)/'`hdate_strings.c; \
356 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo" "$(DEPDIR)/libhdate_la-hdate_strings.Plo"; \
357 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_strings.Tpo"; exit 1; \
358 @am__fastdepCC_TRUE@ fi
359 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_strings.c' object='libhdate_la-hdate_strings.lo' libtool=yes @AMDEPBACKSLASH@
360 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_strings.Plo' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_strings.TPlo' @AMDEPBACKSLASH@
361 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
362 @am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_strings.lo `test -f 'hdate_strings.c' || echo '$(srcdir)/'`hdate_strings.c
363
364 libhdate_la-hdate_julian.o: hdate_julian.c
365 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_julian.o -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" \
366 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_julian.o `test -f 'hdate_julian.c' || echo '$(srcdir)/'`hdate_julian.c; \
367 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" "$(DEPDIR)/libhdate_la-hdate_julian.Po"; \
368 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo"; exit 1; \
369 @am__fastdepCC_TRUE@ fi
370 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_julian.c' object='libhdate_la-hdate_julian.o' libtool=no @AMDEPBACKSLASH@
371 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_julian.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_julian.TPo' @AMDEPBACKSLASH@
372 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
373 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_julian.o `test -f 'hdate_julian.c' || echo '$(srcdir)/'`hdate_julian.c
374
375 libhdate_la-hdate_julian.obj: hdate_julian.c
376 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_julian.obj -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" \
377 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_julian.obj `if test -f 'hdate_julian.c'; then $(CYGPATH_W) 'hdate_julian.c'; else $(CYGPATH_W) '$(srcdir)/hdate_julian.c'; fi`; \
378 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" "$(DEPDIR)/libhdate_la-hdate_julian.Po"; \
379 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo"; exit 1; \
380 @am__fastdepCC_TRUE@ fi
381 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_julian.c' object='libhdate_la-hdate_julian.obj' libtool=no @AMDEPBACKSLASH@
382 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_julian.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_julian.TPo' @AMDEPBACKSLASH@
383 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
384 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_julian.obj `if test -f 'hdate_julian.c'; then $(CYGPATH_W) 'hdate_julian.c'; else $(CYGPATH_W) '$(srcdir)/hdate_julian.c'; fi`
385
386 libhdate_la-hdate_julian.lo: hdate_julian.c
387 @am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_julian.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" \
388 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_julian.lo `test -f 'hdate_julian.c' || echo '$(srcdir)/'`hdate_julian.c; \
389 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo" "$(DEPDIR)/libhdate_la-hdate_julian.Plo"; \
390 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_julian.Tpo"; exit 1; \
391 @am__fastdepCC_TRUE@ fi
392 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_julian.c' object='libhdate_la-hdate_julian.lo' libtool=yes @AMDEPBACKSLASH@
393 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_julian.Plo' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_julian.TPlo' @AMDEPBACKSLASH@
394 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
395 @am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_julian.lo `test -f 'hdate_julian.c' || echo '$(srcdir)/'`hdate_julian.c
396
397 libhdate_la-hdate_holyday.o: hdate_holyday.c
398 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_holyday.o -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" \
399 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_holyday.o `test -f 'hdate_holyday.c' || echo '$(srcdir)/'`hdate_holyday.c; \
400 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" "$(DEPDIR)/libhdate_la-hdate_holyday.Po"; \
401 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo"; exit 1; \
402 @am__fastdepCC_TRUE@ fi
403 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_holyday.c' object='libhdate_la-hdate_holyday.o' libtool=no @AMDEPBACKSLASH@
404 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_holyday.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_holyday.TPo' @AMDEPBACKSLASH@
405 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
406 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_holyday.o `test -f 'hdate_holyday.c' || echo '$(srcdir)/'`hdate_holyday.c
407
408 libhdate_la-hdate_holyday.obj: hdate_holyday.c
409 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_holyday.obj -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" \
410 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_holyday.obj `if test -f 'hdate_holyday.c'; then $(CYGPATH_W) 'hdate_holyday.c'; else $(CYGPATH_W) '$(srcdir)/hdate_holyday.c'; fi`; \
411 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" "$(DEPDIR)/libhdate_la-hdate_holyday.Po"; \
412 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo"; exit 1; \
413 @am__fastdepCC_TRUE@ fi
414 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_holyday.c' object='libhdate_la-hdate_holyday.obj' libtool=no @AMDEPBACKSLASH@
415 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_holyday.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_holyday.TPo' @AMDEPBACKSLASH@
416 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
417 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_holyday.obj `if test -f 'hdate_holyday.c'; then $(CYGPATH_W) 'hdate_holyday.c'; else $(CYGPATH_W) '$(srcdir)/hdate_holyday.c'; fi`
418
419 libhdate_la-hdate_holyday.lo: hdate_holyday.c
420 @am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_holyday.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" \
421 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_holyday.lo `test -f 'hdate_holyday.c' || echo '$(srcdir)/'`hdate_holyday.c; \
422 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo" "$(DEPDIR)/libhdate_la-hdate_holyday.Plo"; \
423 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_holyday.Tpo"; exit 1; \
424 @am__fastdepCC_TRUE@ fi
425 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_holyday.c' object='libhdate_la-hdate_holyday.lo' libtool=yes @AMDEPBACKSLASH@
426 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_holyday.Plo' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_holyday.TPlo' @AMDEPBACKSLASH@
427 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
428 @am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_holyday.lo `test -f 'hdate_holyday.c' || echo '$(srcdir)/'`hdate_holyday.c
429
430 libhdate_la-hdate_parasha.o: hdate_parasha.c
431 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_parasha.o -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" \
432 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_parasha.o `test -f 'hdate_parasha.c' || echo '$(srcdir)/'`hdate_parasha.c; \
433 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" "$(DEPDIR)/libhdate_la-hdate_parasha.Po"; \
434 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo"; exit 1; \
435 @am__fastdepCC_TRUE@ fi
436 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_parasha.c' object='libhdate_la-hdate_parasha.o' libtool=no @AMDEPBACKSLASH@
437 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_parasha.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_parasha.TPo' @AMDEPBACKSLASH@
438 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
439 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_parasha.o `test -f 'hdate_parasha.c' || echo '$(srcdir)/'`hdate_parasha.c
440
441 libhdate_la-hdate_parasha.obj: hdate_parasha.c
442 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_parasha.obj -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" \
443 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_parasha.obj `if test -f 'hdate_parasha.c'; then $(CYGPATH_W) 'hdate_parasha.c'; else $(CYGPATH_W) '$(srcdir)/hdate_parasha.c'; fi`; \
444 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" "$(DEPDIR)/libhdate_la-hdate_parasha.Po"; \
445 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo"; exit 1; \
446 @am__fastdepCC_TRUE@ fi
447 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_parasha.c' object='libhdate_la-hdate_parasha.obj' libtool=no @AMDEPBACKSLASH@
448 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_parasha.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_parasha.TPo' @AMDEPBACKSLASH@
449 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
450 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_parasha.obj `if test -f 'hdate_parasha.c'; then $(CYGPATH_W) 'hdate_parasha.c'; else $(CYGPATH_W) '$(srcdir)/hdate_parasha.c'; fi`
451
452 libhdate_la-hdate_parasha.lo: hdate_parasha.c
453 @am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_parasha.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" \
454 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_parasha.lo `test -f 'hdate_parasha.c' || echo '$(srcdir)/'`hdate_parasha.c; \
455 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo" "$(DEPDIR)/libhdate_la-hdate_parasha.Plo"; \
456 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_parasha.Tpo"; exit 1; \
457 @am__fastdepCC_TRUE@ fi
458 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_parasha.c' object='libhdate_la-hdate_parasha.lo' libtool=yes @AMDEPBACKSLASH@
459 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_parasha.Plo' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_parasha.TPlo' @AMDEPBACKSLASH@
460 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
461 @am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_parasha.lo `test -f 'hdate_parasha.c' || echo '$(srcdir)/'`hdate_parasha.c
462
463 libhdate_la-hdate_sun_time.o: hdate_sun_time.c
464 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_sun_time.o -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" \
465 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_sun_time.o `test -f 'hdate_sun_time.c' || echo '$(srcdir)/'`hdate_sun_time.c; \
466 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" "$(DEPDIR)/libhdate_la-hdate_sun_time.Po"; \
467 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo"; exit 1; \
468 @am__fastdepCC_TRUE@ fi
469 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_sun_time.c' object='libhdate_la-hdate_sun_time.o' libtool=no @AMDEPBACKSLASH@
470 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_sun_time.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_sun_time.TPo' @AMDEPBACKSLASH@
471 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
472 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_sun_time.o `test -f 'hdate_sun_time.c' || echo '$(srcdir)/'`hdate_sun_time.c
473
474 libhdate_la-hdate_sun_time.obj: hdate_sun_time.c
475 @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_sun_time.obj -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" \
476 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_sun_time.obj `if test -f 'hdate_sun_time.c'; then $(CYGPATH_W) 'hdate_sun_time.c'; else $(CYGPATH_W) '$(srcdir)/hdate_sun_time.c'; fi`; \
477 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" "$(DEPDIR)/libhdate_la-hdate_sun_time.Po"; \
478 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo"; exit 1; \
479 @am__fastdepCC_TRUE@ fi
480 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_sun_time.c' object='libhdate_la-hdate_sun_time.obj' libtool=no @AMDEPBACKSLASH@
481 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_sun_time.Po' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_sun_time.TPo' @AMDEPBACKSLASH@
482 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
483 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_sun_time.obj `if test -f 'hdate_sun_time.c'; then $(CYGPATH_W) 'hdate_sun_time.c'; else $(CYGPATH_W) '$(srcdir)/hdate_sun_time.c'; fi`
484
485 libhdate_la-hdate_sun_time.lo: hdate_sun_time.c
486 @am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -MT libhdate_la-hdate_sun_time.lo -MD -MP -MF "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" \
487 @am__fastdepCC_TRUE@ -c -o libhdate_la-hdate_sun_time.lo `test -f 'hdate_sun_time.c' || echo '$(srcdir)/'`hdate_sun_time.c; \
488 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo" "$(DEPDIR)/libhdate_la-hdate_sun_time.Plo"; \
489 @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libhdate_la-hdate_sun_time.Tpo"; exit 1; \
490 @am__fastdepCC_TRUE@ fi
491 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hdate_sun_time.c' object='libhdate_la-hdate_sun_time.lo' libtool=yes @AMDEPBACKSLASH@
492 @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libhdate_la-hdate_sun_time.Plo' tmpdepfile='$(DEPDIR)/libhdate_la-hdate_sun_time.TPlo' @AMDEPBACKSLASH@
493 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
494 @am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libhdate_la_CFLAGS) $(CFLAGS) -c -o libhdate_la-hdate_sun_time.lo `test -f 'hdate_sun_time.c' || echo '$(srcdir)/'`hdate_sun_time.c
238 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
239
240 .s.lo:
241 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
242
243 .S.lo:
244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
495245
496246 mostlyclean-libtool:
497247 -rm -f *.lo
500250 -rm -rf .libs _libs
501251
502252 distclean-libtool:
503 -rm -f libtool
504 uninstall-info-am:
505
506 man3dir = $(mandir)/man3
507 install-man3: $(man3_MANS) $(man_MANS)
508 @$(NORMAL_INSTALL)
253
254 maintainer-clean-libtool:
255
256 libhdate.la: $(libhdate_la_OBJECTS) $(libhdate_la_DEPENDENCIES)
257 $(LINK) -rpath $(libdir) $(libhdate_la_LDFLAGS) $(libhdate_la_OBJECTS) $(libhdate_la_LIBADD) $(LIBS)
258
259 install-man3:
509260 $(mkinstalldirs) $(DESTDIR)$(man3dir)
510 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
511 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
512 for i in $$l2; do \
261 @list='$(man3_MANS)'; \
262 l2='$(man_MANS)'; for i in $$l2; do \
513263 case "$$i" in \
514264 *.3*) list="$$list $$i" ;; \
515265 esac; \
518268 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
519269 else file=$$i; fi; \
520270 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
521 case "$$ext" in \
522 3*) ;; \
523 *) ext='3' ;; \
524 esac; \
525271 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
526 inst=`echo $$inst | sed -e 's/^.*\///'`; \
527272 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
528273 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
529274 $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
530275 done
276
531277 uninstall-man3:
532 @$(NORMAL_UNINSTALL)
533 @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
534 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
535 for i in $$l2; do \
278 @list='$(man3_MANS)'; \
279 l2='$(man_MANS)'; for i in $$l2; do \
536280 case "$$i" in \
537281 *.3*) list="$$list $$i" ;; \
538282 esac; \
539283 done; \
540284 for i in $$list; do \
541285 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
542 case "$$ext" in \
543 3*) ;; \
544 *) ext='3' ;; \
545 esac; \
546286 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
547 inst=`echo $$inst | sed -e 's/^.*\///'`; \
548287 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
549288 echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
550289 rm -f $(DESTDIR)$(man3dir)/$$inst; \
551290 done
552 includeHEADERS_INSTALL = $(INSTALL_HEADER)
291 install-man: $(MANS)
292 @$(NORMAL_INSTALL)
293 $(MAKE) $(AM_MAKEFLAGS) install-man3
294 uninstall-man:
295 @$(NORMAL_UNINSTALL)
296 $(MAKE) $(AM_MAKEFLAGS) uninstall-man3
297
553298 install-includeHEADERS: $(include_HEADERS)
554299 @$(NORMAL_INSTALL)
555300 $(mkinstalldirs) $(DESTDIR)$(includedir)
556301 @list='$(include_HEADERS)'; for p in $$list; do \
557 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
558 f="`echo $$p | sed -e 's|^.*/||'`"; \
559 echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
560 $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
302 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
303 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
304 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
561305 done
562306
563307 uninstall-includeHEADERS:
564308 @$(NORMAL_UNINSTALL)
565 @list='$(include_HEADERS)'; for p in $$list; do \
566 f="`echo $$p | sed -e 's|^.*/||'`"; \
567 echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
568 rm -f $(DESTDIR)$(includedir)/$$f; \
569 done
570
571 ETAGS = etags
572 ETAGSFLAGS =
573
574 CTAGS = ctags
575 CTAGSFLAGS =
309 list='$(include_HEADERS)'; for p in $$list; do \
310 rm -f $(DESTDIR)$(includedir)/$$p; \
311 done
576312
577313 tags: TAGS
578314
579 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
580 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
581 unique=`for i in $$list; do \
582 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
583 done | \
584 $(AWK) ' { files[$$0] = 1; } \
315 ID: $(HEADERS) $(SOURCES) $(LISP)
316 list='$(SOURCES) $(HEADERS)'; \
317 unique=`for i in $$list; do echo $$i; done | \
318 awk ' { files[$$0] = 1; } \
585319 END { for (i in files) print i; }'`; \
586 mkid -fID $$unique
587
588 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
589 $(TAGS_FILES) $(LISP)
320 here=`pwd` && cd $(srcdir) \
321 && mkid -f$$here/ID $$unique $(LISP)
322
323 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
590324 tags=; \
591325 here=`pwd`; \
592 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
593 unique=`for i in $$list; do \
594 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
595 done | \
596 $(AWK) ' { files[$$0] = 1; } \
326 list='$(SOURCES) $(HEADERS)'; \
327 unique=`for i in $$list; do echo $$i; done | \
328 awk ' { files[$$0] = 1; } \
597329 END { for (i in files) print i; }'`; \
598 test -z "$(ETAGS_ARGS)$$tags$$unique" \
599 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
600 $$tags $$unique
601
602 ctags: CTAGS
603 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
604 $(TAGS_FILES) $(LISP)
605 tags=; \
606 here=`pwd`; \
607 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
608 unique=`for i in $$list; do \
609 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
610 done | \
611 $(AWK) ' { files[$$0] = 1; } \
612 END { for (i in files) print i; }'`; \
613 test -z "$(CTAGS_ARGS)$$tags$$unique" \
614 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
615 $$tags $$unique
616
617 GTAGS:
618 here=`$(am__cd) $(top_builddir) && pwd` \
619 && cd $(top_srcdir) \
620 && gtags -i $(GTAGS_ARGS) $$here
330 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
331 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
332
333 mostlyclean-tags:
334
335 clean-tags:
621336
622337 distclean-tags:
623 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
624 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
625
626 top_distdir = ..
627 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
338 -rm -f TAGS ID
339
340 maintainer-clean-tags:
341
342 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
343
344 subdir = src
628345
629346 distdir: $(DISTFILES)
630 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
631 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
632 list='$(DISTFILES)'; for file in $$list; do \
633 case $$file in \
634 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
635 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
636 esac; \
637 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
638 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
639 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
640 dir="/$$dir"; \
641 $(mkinstalldirs) "$(distdir)$$dir"; \
642 else \
643 dir=''; \
644 fi; \
347 @for file in $(DISTFILES); do \
348 d=$(srcdir); \
645349 if test -d $$d/$$file; then \
646 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
647 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
648 fi; \
649 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
350 cp -pr $$d/$$file $(distdir)/$$file; \
650351 else \
651352 test -f $(distdir)/$$file \
652 || cp -p $$d/$$file $(distdir)/$$file \
653 || exit 1; \
353 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
354 || cp -p $$d/$$file $(distdir)/$$file || :; \
654355 fi; \
655356 done
357 hdate_holyday.lo hdate_holyday.o : hdate_holyday.c hdate.h support.h
358 hdate_julian.lo hdate_julian.o : hdate_julian.c hdate.h support.h
359 hdate_parasha.lo hdate_parasha.o : hdate_parasha.c hdate.h support.h
360 hdate_strings.lo hdate_strings.o : hdate_strings.c hdate.h support.h
361 hdate_sun_time.lo hdate_sun_time.o : hdate_sun_time.c hdate.h support.h
362
363 info-am:
364 info: info-am
365 dvi-am:
366 dvi: dvi-am
656367 check-am: all-am
657368 check: check-am
658 all-am: Makefile $(LTLIBRARIES) $(MANS) $(HEADERS)
659
660 installdirs:
661 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
662 install: install-am
369 installcheck-am:
370 installcheck: installcheck-am
371 install-exec-am: install-libLTLIBRARIES
663372 install-exec: install-exec-am
373
374 install-data-am: install-man install-includeHEADERS
664375 install-data: install-data-am
665 uninstall: uninstall-am
666376
667377 install-am: all-am
668378 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
669
670 installcheck: installcheck-am
379 install: install-am
380 uninstall-am: uninstall-libLTLIBRARIES uninstall-man \
381 uninstall-includeHEADERS
382 uninstall: uninstall-am
383 all-am: Makefile $(LTLIBRARIES) $(MANS) $(HEADERS)
384 all-redirect: all-am
671385 install-strip:
672 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
673 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
674 `test -z '$(STRIP)' || \
675 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
386 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
387 installdirs:
388 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man3 \
389 $(DESTDIR)$(includedir)
390
391
676392 mostlyclean-generic:
677393
678394 clean-generic:
679395
680396 distclean-generic:
681 -rm -f $(CONFIG_CLEAN_FILES)
397 -rm -f Makefile $(CONFIG_CLEAN_FILES)
398 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
682399
683400 maintainer-clean-generic:
684 @echo "This command is intended for maintainers to use"
401 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
402 mostlyclean-libtool mostlyclean-tags \
403 mostlyclean-generic
404
405 mostlyclean: mostlyclean-am
406
407 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
408 clean-generic mostlyclean-am
409
410 clean: clean-am
411
412 distclean-am: distclean-libLTLIBRARIES distclean-compile \
413 distclean-libtool distclean-tags distclean-generic \
414 clean-am
415 -rm -f libtool
416
417 distclean: distclean-am
418
419 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
420 maintainer-clean-compile maintainer-clean-libtool \
421 maintainer-clean-tags maintainer-clean-generic \
422 distclean-am
423 @echo "This command is intended for maintainers to use;"
685424 @echo "it deletes files that may require special tools to rebuild."
686 clean: clean-am
687
688 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
689 mostlyclean-am
690
691 distclean: distclean-am
692 -rm -rf ./$(DEPDIR)
693 -rm -f Makefile
694 distclean-am: clean-am distclean-compile distclean-generic \
695 distclean-libtool distclean-tags
696
697 dvi: dvi-am
698
699 dvi-am:
700
701 info: info-am
702
703 info-am:
704
705 install-data-am: install-includeHEADERS install-man
706
707 install-exec-am: install-libLTLIBRARIES
708
709 install-info: install-info-am
710
711 install-man: install-man3
712
713 installcheck-am:
714425
715426 maintainer-clean: maintainer-clean-am
716 -rm -rf ./$(DEPDIR)
717 -rm -f Makefile
718 maintainer-clean-am: distclean-am maintainer-clean-generic
719
720 mostlyclean: mostlyclean-am
721
722 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
723 mostlyclean-libtool
724
725 pdf: pdf-am
726
727 pdf-am:
728
729 ps: ps-am
730
731 ps-am:
732
733 uninstall-am: uninstall-includeHEADERS uninstall-info-am \
734 uninstall-libLTLIBRARIES uninstall-man
735
736 uninstall-man: uninstall-man3
737
738 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
739 clean-libLTLIBRARIES clean-libtool ctags distclean \
740 distclean-compile distclean-generic distclean-libtool \
741 distclean-tags distdir dvi dvi-am info info-am install \
742 install-am install-data install-data-am install-exec \
743 install-exec-am install-includeHEADERS install-info \
744 install-info-am install-libLTLIBRARIES install-man install-man3 \
745 install-strip installcheck installcheck-am installdirs \
746 maintainer-clean maintainer-clean-generic mostlyclean \
747 mostlyclean-compile mostlyclean-generic mostlyclean-libtool pdf \
748 pdf-am ps ps-am tags uninstall uninstall-am \
749 uninstall-includeHEADERS uninstall-info-am \
750 uninstall-libLTLIBRARIES uninstall-man uninstall-man3
427
428 .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
429 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
430 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
431 distclean-compile clean-compile maintainer-clean-compile \
432 mostlyclean-libtool distclean-libtool clean-libtool \
433 maintainer-clean-libtool install-man3 uninstall-man3 install-man \
434 uninstall-man uninstall-includeHEADERS install-includeHEADERS tags \
435 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
436 distdir info-am info dvi-am dvi check check-am installcheck-am \
437 installcheck install-exec-am install-exec install-data-am install-data \
438 install-am install uninstall-am uninstall all-redirect all-am all \
439 installdirs mostlyclean-generic distclean-generic clean-generic \
440 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
441
751442
752443 # Tell versions [3.59,3.63) of GNU make to not export all variables.
753444 # Otherwise a system limit (for SysV at least) may be exceeded.
2727 extern "C"
2828 {
2929 #endif
30
31 /** @def HDATA_DIASPORA_FLAG
32 @brief use diaspora dates and holydays flag
33 */
34 #define HDATA_DIASPORA_FLAG -1
35
36 /** @def HDATA_ISRAEL_FLAG
37 @brief use israel dates and holydays flag
38 */
39 #define HDATA_ISRAEL_FLAG 0
40
41 /** @def HDATA_SHORT_FLAG
42 @brief use short strings flag
43 */
44 #define HDATA_SHORT_FLAG -1
45
46 /** @def HDATA_LONG_FLAG
47 @brief use long strings flag
48 */
49 #define HDATA_LONG_FLAG 0
3050
3151 /** Base structore for hebrew dates
3252
6181 int hd_weeks;
6282 } hdate_struct;
6383
64 /********************************************************************************/
65 /********************************************************************************/
84 /*************************************************************/
85 /*************************************************************/
6686
6787 /**
6888 @brief compute date structure from the Gregorian date
6989
7090 @param h pointer this hdate struct.
7191 @param d Day of month 1..31
72 @param m Month 1..12 , if m or d is 0 return current date.
92 @param m Month 1..12
93 if m or d is 0 return current date.
7394 @param y Year in 4 digits e.g. 2001
7495 @return pointer to this hdate struct
7596 */
81102
82103 @param h pointer this hdate struct.
83104 @param d Day of month 1..31
84 @param m Month 1..14 , if m or d is 0 return current date.
105 @param m Month 1..14 ,(13 - Adar 1, 14 - Adar 2)
106 if m or d is 0 return current date.
85107 @param y Year in 4 digits e.g. 5731
86108 @return pointer to this hdate struct
87109 */
113135 @return a static string of foramted date
114136 */
115137 char *
116 hdate_get_format_date (hdate_struct * h, int diaspora, int s);
138 hdate_get_format_date (hdate_struct const * h, int diaspora, int s);
117139
118140 /**
119141 @brief get the number of hebrew parasha.
124146 (55 trow 61 are joined strings e.g. Vayakhel Pekudei)
125147 */
126148 int
127 hdate_get_parasha (hdate_struct * h, int diaspora);
149 hdate_get_parasha (hdate_struct const * h, int diaspora);
128150
129151 /**
130152 @brief get the number of hebrew holyday.
134156 @return the number of holyday.
135157 */
136158 int
137 hdate_get_holyday (hdate_struct * h, int diaspora);
159 hdate_get_holyday (hdate_struct const * h, int diaspora);
138160
139161 /*************************************************************/
140162 /*************************************************************/
269291 @param month Month 1..14 (13 - Adar 1, 14 - Adar 2)
270292 @param year Hebrew year in 4 digits e.g. 5753
271293 @param jd_tishrey1 return the julian number of 1 Tishrey this year
272 @param jd_tishrey1 return the julian number of 1 Tishrey next year
294 @param jd_tishrey1_next_year return the julian number of 1 Tishrey next year
273295 @return the julian day number
274296 */
275297 int
281303 @author Yaacov Zamir (Algorithm, Henry F. Fliegel and Thomas C. Van Flandern ,1968)
282304
283305 @param jd Julian day
284 @param d return Day of month 1..31
285 @param m return Month 1..12
286 @param y return Year in 4 digits e.g. 2001
306 @param day return Day of month 1..31
307 @param month return Month 1..12
308 @param year return Year in 4 digits e.g. 2001
287309 */
288310 void
289311 hdate_jd_to_gdate (int jd, int *day, int *month, int *year);
298320 @param month return Month 1..14 (13 - Adar 1, 14 - Adar 2)
299321 @param year return Year in 4 digits e.g. 2001
300322 @param jd_tishrey1 return the julian number of 1 Tishrey this year
301 @param jd_tishrey1 return the julian number of 1 Tishrey next year
323 @param jd_tishrey1_next_year return the julian number of 1 Tishrey next year
302324 */
303325 void
304326 hdate_jd_to_hdate (int jd, int *day, int *month, int *year, int *jd_tishrey1, int *jd_tishrey1_next_year);
343365 @return the Gregorian day of the month, 1..31.
344366 */
345367 int
346 hdate_get_gday (hdate_struct *h);
368 hdate_get_gday (hdate_struct const * h);
347369
348370 /**
349371 @brief get the Gregorian month
352374 @return the Gregorian month, jan = 1.
353375 */
354376 int
355 hdate_get_gmonth (hdate_struct *h);
377 hdate_get_gmonth (hdate_struct const * h);
356378
357379 /**
358380 @brief get the Gregorian year
361383 @return the Gregorian year.
362384 */
363385 int
364 hdate_get_gyear (hdate_struct *h);
386 hdate_get_gyear (hdate_struct const * h);
365387
366388 /**
367389 @brief get the Hebrew day of the month
370392 @return the Hebrew day of the month, 1..30.
371393 */
372394 int
373 hdate_get_hday (hdate_struct *h);
395 hdate_get_hday (hdate_struct const * h);
374396
375397 /**
376398 @brief get the Hebrew month
379401 @return the Hebrew month, Tishery = 1 .. Adar I =13, Adar II = 14.
380402 */
381403 int
382 hdate_get_hmonth (hdate_struct *h);
404 hdate_get_hmonth (hdate_struct const * h);
383405
384406 /**
385407 @brief get the Hebrew year
388410 @return the Hebrew year.
389411 */
390412 int
391 hdate_get_hyear (hdate_struct *h);
413 hdate_get_hyear (hdate_struct const * h);
392414
393415 /**
394416 @brief get the day of the week
397419 @return the the day of the week.
398420 */
399421 int
400 hdate_get_day_of_the_week (hdate_struct *h);
422 hdate_get_day_of_the_week (hdate_struct const * h);
401423
402424 /**
403425 @brief get the size of the hebrew year
406428 @return the the size of the hebrew year.
407429 */
408430 int
409 hdate_get_size_of_year (hdate_struct *h);
431 hdate_get_size_of_year (hdate_struct const * h);
410432
411433 /**
412434 @brief get the new year day of the week
415437 @return the the new year day of the week.
416438 */
417439 int
418 hdate_get_new_year_day_of_the_week (hdate_struct *h);
440 hdate_get_new_year_day_of_the_week (hdate_struct const * h);
419441
420442 /**
421443 @brief get the Julian day number
424446 @return the Julian day number.
425447 */
426448 int
427 hdate_get_julian (hdate_struct *h);
449 hdate_get_julian (hdate_struct const * h);
428450
429451 /**
430452 @brief get the number of days passed since 1 tishrey
433455 @return the number of days passed since 1 tishrey.
434456 */
435457 int
436 hdate_get_days (hdate_struct *h);
458 hdate_get_days (hdate_struct const * h);
437459
438460 /**
439461 @brief get the number of weeks passed since 1 tishrey
442464 @return the number of weeks passed since 1 tishrey.
443465 */
444466 int
445 hdate_get_weeks (hdate_struct *h);
467 hdate_get_weeks (hdate_struct const * h);
446468
447469 /*************************************************************/
448470 /*************************************************************/
0 .\" src/hdate.h File Reference.TH "src/hdate.h" 3 "2 Mar 2005" "Version 1.0" "libhdate" \" -*- nroff -*-
1 .\" .ad l
2 .\" .nh
3 .TH "hdate.h" "3" "2 Mar 2005" "Yaacov Zamir" "libhdate"
4 .SH "NAME"
5 hdate.h \- header file for libhdate, a library that help use hebrew dates.
0 .TH "src/hdate.h" 3 "11 Nov 2005" "Version 1.4" "libhdate C language" \" -*- nroff -*-
1 .ad l
2 .nh
3 .SH NAME
4 src/hdate.h \-
5 .SH SYNOPSIS
6 .br
7 .PP
8 .SS "Data Structures"
9
10 .in +1c
11 .ti -1c
12 .RI "struct \fBhdate_struct\fP"
13 .br
14 .in -1c
15 .SS "Defines"
16
17 .in +1c
18 .ti -1c
19 .RI "#define \fBHDATA_DIASPORA_FLAG\fP -1"
20 .br
21 .RI "\fIuse diaspora dates and holydays flag \fP"
22 .ti -1c
23 .RI "#define \fBHDATA_ISRAEL_FLAG\fP 0"
24 .br
25 .RI "\fIuse israel dates and holydays flag \fP"
26 .ti -1c
27 .RI "#define \fBHDATA_SHORT_FLAG\fP -1"
28 .br
29 .RI "\fIuse short strings flag \fP"
30 .ti -1c
31 .RI "#define \fBHDATA_LONG_FLAG\fP 0"
32 .br
33 .RI "\fIuse long strings flag \fP"
34 .in -1c
35 .SS "Functions"
36
37 .in +1c
38 .ti -1c
39 .RI "\fBhdate_struct\fP * \fBhdate_set_gdate\fP (\fBhdate_struct\fP *h, int d, int m, int y)"
40 .br
41 .RI "\fIcompute date structure from the Gregorian date \fP"
42 .ti -1c
43 .RI "\fBhdate_struct\fP * \fBhdate_set_hdate\fP (\fBhdate_struct\fP *h, int d, int m, int y)"
44 .br
45 .RI "\fIcompute date structure from the Hebrew date \fP"
46 .ti -1c
47 .RI "\fBhdate_struct\fP * \fBhdate_set_jd\fP (\fBhdate_struct\fP *h, int jd)"
48 .br
49 .RI "\fIcompute date structure from the Julian day \fP"
50 .ti -1c
51 .RI "char * \fBhdate_get_format_date\fP (\fBhdate_struct\fP const *h, int diaspora, int s)"
52 .br
53 .RI "\fIget formated hebrew date. \fP"
54 .ti -1c
55 .RI "int \fBhdate_get_parasha\fP (\fBhdate_struct\fP const *h, int diaspora)"
56 .br
57 .RI "\fIget the number of hebrew parasha. \fP"
58 .ti -1c
59 .RI "int \fBhdate_get_holyday\fP (\fBhdate_struct\fP const *h, int diaspora)"
60 .br
61 .RI "\fIget the number of hebrew holyday. \fP"
62 .ti -1c
63 .RI "char * \fBhdate_get_int_string\fP (int n)"
64 .br
65 .RI "\fIconvert an integer to hebrew string. \fP"
66 .ti -1c
67 .RI "char * \fBhdate_get_day_string\fP (int day, int s)"
68 .br
69 .RI "\fIget name of week day. \fP"
70 .ti -1c
71 .RI "char * \fBhdate_get_month_string\fP (int month, int s)"
72 .br
73 .RI "\fIname of month. \fP"
74 .ti -1c
75 .RI "char * \fBhdate_get_hebrew_month_string\fP (int month, int s)"
76 .br
77 .RI "\fIname of hebrew month. \fP"
78 .ti -1c
79 .RI "char * \fBhdate_get_holyday_string\fP (int holyday, int s)"
80 .br
81 .RI "\fIname of hebrew holyday. \fP"
82 .ti -1c
83 .RI "char * \fBhdate_get_parasha_string\fP (int parasha, int s)"
84 .br
85 .RI "\fIname of parasha \fP"
86 .ti -1c
87 .RI "int \fBhdate_get_holyday_type\fP (int holyday)"
88 .br
89 .RI "\fIget the hebrew holyday type. \fP"
90 .ti -1c
91 .RI "int \fBhdate_get_size_of_hebrew_year\fP (int hebrew_year)"
92 .br
93 .RI "\fIsize of hebrew year in days. \fP"
94 .ti -1c
95 .RI "int \fBhdate_days_from_3744\fP (int hebrew_year)"
96 .br
97 .RI "\fIDays since Tishrey 3744. \fP"
98 .ti -1c
99 .RI "int \fBhdate_get_year_type\fP (int size_of_year, int new_year_dw)"
100 .br
101 .RI "\fIReturn Hebrew year type based on size and first week day of year. \fP"
102 .ti -1c
103 .RI "int \fBhdate_gdate_to_jd\fP (int day, int month, int year)"
104 .br
105 .RI "\fICompute Julian day from Gregorian date. \fP"
106 .ti -1c
107 .RI "int \fBhdate_hdate_to_jd\fP (int day, int month, int year, int *jd_tishrey1, int *jd_tishrey1_next_year)"
108 .br
109 .RI "\fICompute Julian day from Hebrew day, month and year. \fP"
110 .ti -1c
111 .RI "void \fBhdate_jd_to_gdate\fP (int jd, int *day, int *month, int *year)"
112 .br
113 .RI "\fIConverting from the Julian day to the Gregorian date. \fP"
114 .ti -1c
115 .RI "void \fBhdate_jd_to_hdate\fP (int jd, int *day, int *month, int *year, int *jd_tishrey1, int *jd_tishrey1_next_year)"
116 .br
117 .RI "\fIConverting from the Julian day to the Hebrew day. \fP"
118 .ti -1c
119 .RI "int \fBhdate_get_day_of_year\fP (int day, int month, int year)"
120 .br
121 .RI "\fIdays from 1 january \fP"
122 .ti -1c
123 .RI "void \fBhdate_get_utc_sun_time\fP (int day, int month, int year, double latitude, double longitude, int *sunrise, int *sunset)"
124 .br
125 .RI "\fIutc sunrise/set time for a gregorian date \fP"
126 .ti -1c
127 .RI "int \fBhdate_get_gday\fP (\fBhdate_struct\fP const *h)"
128 .br
129 .RI "\fIget the Gregorian day of the month \fP"
130 .ti -1c
131 .RI "int \fBhdate_get_gmonth\fP (\fBhdate_struct\fP const *h)"
132 .br
133 .RI "\fIget the Gregorian month \fP"
134 .ti -1c
135 .RI "int \fBhdate_get_gyear\fP (\fBhdate_struct\fP const *h)"
136 .br
137 .RI "\fIget the Gregorian year \fP"
138 .ti -1c
139 .RI "int \fBhdate_get_hday\fP (\fBhdate_struct\fP const *h)"
140 .br
141 .RI "\fIget the Hebrew day of the month \fP"
142 .ti -1c
143 .RI "int \fBhdate_get_hmonth\fP (\fBhdate_struct\fP const *h)"
144 .br
145 .RI "\fIget the Hebrew month \fP"
146 .ti -1c
147 .RI "int \fBhdate_get_hyear\fP (\fBhdate_struct\fP const *h)"
148 .br
149 .RI "\fIget the Hebrew year \fP"
150 .ti -1c
151 .RI "int \fBhdate_get_day_of_the_week\fP (\fBhdate_struct\fP const *h)"
152 .br
153 .RI "\fIget the day of the week \fP"
154 .ti -1c
155 .RI "int \fBhdate_get_size_of_year\fP (\fBhdate_struct\fP const *h)"
156 .br
157 .RI "\fIget the size of the hebrew year \fP"
158 .ti -1c
159 .RI "int \fBhdate_get_new_year_day_of_the_week\fP (\fBhdate_struct\fP const *h)"
160 .br
161 .RI "\fIget the new year day of the week \fP"
162 .ti -1c
163 .RI "int \fBhdate_get_julian\fP (\fBhdate_struct\fP const *h)"
164 .br
165 .RI "\fIget the Julian day number \fP"
166 .ti -1c
167 .RI "int \fBhdate_get_days\fP (\fBhdate_struct\fP const *h)"
168 .br
169 .RI "\fIget the number of days passed since 1 tishrey \fP"
170 .ti -1c
171 .RI "int \fBhdate_get_weeks\fP (\fBhdate_struct\fP const *h)"
172 .br
173 .RI "\fIget the number of weeks passed since 1 tishrey \fP"
174 .ti -1c
175 .RI "\fBhdate_struct\fP * \fBnew_hdate\fP ()"
176 .br
177 .RI "\fIcreat a new hdate struct object, must be deleted using delete_hdate. \fP"
178 .ti -1c
179 .RI "\fBhdate_struct\fP * \fBdelete_hdate\fP (\fBhdate_struct\fP *h)"
180 .br
181 .RI "\fIdelete an hdate struct object. \fP"
182 .ti -1c
183 .RI "char * \fBhdate_get_version_string\fP ()"
184 .br
185 .RI "\fIReturn a static string, with the package name and version. \fP"
186 .ti -1c
187 .RI "char * \fBhdate_get_translator_string\fP ()"
188 .br
189 .RI "\fIname of translator \fP"
190 .in -1c
191 .SH "Define Documentation"
6192 .PP
7 LibHdate is a small C,C++ library for Hebrew dates,
8 holidays, and reading sequence (parasha). It is using
9 the source code from Amos Shapir's "hdate" package fixed and
10 patched by Nadav Har'El. The Torah reading sequence
11 is from tables by Zvi Har'El.
12 .SH "SYNOPSIS"
13 .br
14 .PP
15 .SS "Functions"
16
17 .in +1c
18 .ti \-1c
19 .RI "\fBhdate_struct\fP * \fBhdate_set_gdate\fP (\fBhdate_struct\fP *h, int d, int m, int y)"
20 .br
21 .RI "\fIcompute date structure from the Gregorian date \fP"
22 .ti \-1c
23 .RI "\fBhdate_struct\fP * \fBhdate_set_hdate\fP (\fBhdate_struct\fP *h, int d, int m, int y)"
24 .br
25 .RI "\fIcompute date structure from the Hebrew date \fP"
26 .ti \-1c
27 .RI "\fBhdate_struct\fP * \fBhdate_set_jd\fP (\fBhdate_struct\fP *h, int jd)"
28 .br
29 .RI "\fIcompute date structure from the Julian day \fP"
30 .ti \-1c
31 .RI "char * \fBhdate_get_format_date\fP (\fBhdate_struct\fP *h, int diaspora, int s)"
32 .br
33 .RI "\fIget formated hebrew date. \fP"
34 .ti \-1c
35 .RI "int \fBhdate_get_parasha\fP (\fBhdate_struct\fP *h, int diaspora)"
36 .br
37 .RI "\fIget the number of hebrew parasha. \fP"
38 .ti \-1c
39 .RI "int \fBhdate_get_holyday\fP (\fBhdate_struct\fP *h, int diaspora)"
40 .br
41 .RI "\fIget the number of hebrew holyday. \fP"
42 .ti \-1c
43 .RI "char * \fBhdate_get_int_string\fP (int n)"
44 .br
45 .RI "\fIconvert an integer to hebrew string. \fP"
46 .ti \-1c
47 .RI "char * \fBhdate_get_day_string\fP (int day, int s)"
48 .br
49 .RI "\fIget name of week day. \fP"
50 .ti \-1c
51 .RI "char * \fBhdate_get_month_string\fP (int month, int s)"
52 .br
53 .RI "\fIname of month. \fP"
54 .ti \-1c
55 .RI "char * \fBhdate_get_hebrew_month_string\fP (int month, int s)"
56 .br
57 .RI "\fIname of hebrew month. \fP"
58 .ti \-1c
59 .RI "char * \fBhdate_get_holyday_string\fP (int holyday, int s)"
60 .br
61 .RI "\fIname of hebrew holyday. \fP"
62 .ti \-1c
63 .RI "char * \fBhdate_get_parasha_string\fP (int parasha, int s)"
64 .br
65 .RI "\fIname of parasha \fP"
66 .ti \-1c
67 .RI "int \fBhdate_get_holyday_type\fP (int holyday)"
68 .br
69 .RI "\fIget the hebrew holyday type. \fP"
70 .ti \-1c
71 .RI "int \fBhdate_get_size_of_hebrew_year\fP (int hebrew_year)"
72 .br
73 .RI "\fIsize of hebrew year in days. \fP"
74 .ti \-1c
75 .RI "int \fBhdate_days_from_3744\fP (int hebrew_year)"
76 .br
77 .RI "\fIDays since Tishrey 3744. \fP"
78 .ti \-1c
79 .RI "int \fBhdate_get_year_type\fP (int size_of_year, int new_year_dw)"
80 .br
81 .RI "\fIReturn Hebrew year type based on size and first week day of year. \fP"
82 .ti \-1c
83 .RI "int \fBhdate_gdate_to_jd\fP (int day, int month, int year)"
84 .br
85 .RI "\fICompute Julian day from Gregorian date. \fP"
86 .ti \-1c
87 .RI "int \fBhdate_hdate_to_jd\fP (int day, int month, int year, int *jd_tishrey1, int *jd_tishrey1_next_year)"
88 .br
89 .RI "\fICompute Julian day from Hebrew day, month and year. \fP"
90 .ti \-1c
91 .RI "void \fBhdate_jd_to_gdate\fP (int jd, int *day, int *month, int *year)"
92 .br
93 .RI "\fIConverting from the Julian day to the Gregorian date. \fP"
94 .ti \-1c
95 .RI "void \fBhdate_jd_to_hdate\fP (int jd, int *day, int *month, int *year, int *jd_tishrey1, int *jd_tishrey1_next_year)"
96 .br
97 .RI "\fIConverting from the Julian day to the Hebrew day. \fP"
98 .ti \-1c
99 .RI "int \fBhdate_get_day_of_year\fP (int day, int month, int year)"
100 .br
101 .RI "\fIdays from 1 january \fP"
102 .ti \-1c
103 .RI "void \fBhdate_get_utc_sun_time\fP (int day, int month, int year, double latitude, double longitude, int *sunrise, int *sunset)"
104 .br
105 .RI "\fIutc sunrise/set time for a gregorian date \fP"
106 .in \-1c
193 .SS "#define HDATA_DIASPORA_FLAG -1"
194 .PP
195 use diaspora dates and holydays flag
196 .PP
197 .SS "#define HDATA_ISRAEL_FLAG 0"
198 .PP
199 use israel dates and holydays flag
200 .PP
201 .SS "#define HDATA_SHORT_FLAG -1"
202 .PP
203 use short strings flag
204 .PP
205 .SS "#define HDATA_LONG_FLAG 0"
206 .PP
207 use long strings flag
208 .PP
107209 .SH "Function Documentation"
108210 .PP
109211 .SS "\fBhdate_struct\fP* hdate_set_gdate (\fBhdate_struct\fP * h, int d, int m, int y)"
110 .PP
212 .PP
111213 compute date structure from the Gregorian date
112 .PP
113 \fBParameters:\fP
114 .RS 4
115 \fIh\fP pointer this hdate struct.
116 .br
214 .PP
215 \fBParameters:\fP
216 .RS 4
217 \fIh\fP pointer this hdate struct.
218 .br
117219 \fId\fP Day of month 1..31
118 .br
119 \fIm\fP Month 1..12 , if m or d is 0 return current date.
120 .br
220 .br
221 \fIm\fP Month 1..12 if m or d is 0 return current date.
222 .br
121223 \fIy\fP Year in 4 digits e.g. 2001
122224 .RE
123 .PP
225 .PP
124226 \fBReturns:\fP
125227 .RS 4
126228 pointer to this hdate struct
127229 .RE
128 .PP
230 .PP
129231
130232 .SS "\fBhdate_struct\fP* hdate_set_hdate (\fBhdate_struct\fP * h, int d, int m, int y)"
131 .PP
233 .PP
132234 compute date structure from the Hebrew date
133 .PP
134 \fBParameters:\fP
135 .RS 4
136 \fIh\fP pointer this hdate struct.
137 .br
235 .PP
236 \fBParameters:\fP
237 .RS 4
238 \fIh\fP pointer this hdate struct.
239 .br
138240 \fId\fP Day of month 1..31
139 .br
140 \fIm\fP Month 1..14 , if m or d is 0 return current date.
141 .br
241 .br
242 \fIm\fP Month 1..14 ,(13 - Adar 1, 14 - Adar 2) if m or d is 0 return current date.
243 .br
142244 \fIy\fP Year in 4 digits e.g. 5731
143245 .RE
144 .PP
246 .PP
145247 \fBReturns:\fP
146248 .RS 4
147249 pointer to this hdate struct
148250 .RE
149 .PP
251 .PP
150252
151253 .SS "\fBhdate_struct\fP* hdate_set_jd (\fBhdate_struct\fP * h, int jd)"
152 .PP
254 .PP
153255 compute date structure from the Julian day
154 .PP
155 \fBParameters:\fP
156 .RS 4
157 \fIh\fP pointer this hdate struct.
158 .br
256 .PP
257 \fBParameters:\fP
258 .RS 4
259 \fIh\fP pointer this hdate struct.
260 .br
159261 \fIjd\fP the julian day number.
160262 .RE
161 .PP
263 .PP
162264 \fBReturns:\fP
163265 .RS 4
164266 pointer to this hdate struct
165267 .RE
166 .PP
167
168 .SS "char* hdate_get_format_date (\fBhdate_struct\fP * h, int diaspora, int s)"
169 .PP
268 .PP
269
270 .SS "char* hdate_get_format_date (\fBhdate_struct\fP const * h, int diaspora, int s)"
271 .PP
170272 get formated hebrew date.
171 .PP
273 .PP
172274 return the short ( e.g. '1 Tishrey' ) or long (e.g. 'Tuesday 18 Tishrey 5763 Hol hamoed Sukot' ) formated date.
173 .PP
174 \fBParameters:\fP
175 .RS 4
176 \fIh\fP pointer this hdate struct.
177 .br
275 .PP
276 \fBParameters:\fP
277 .RS 4
278 \fIh\fP pointer this hdate struct.
279 .br
178280 \fIdiaspora\fP if true give diaspora holydays.
179 .br
281 .br
180282 \fIs\fP short flag.
181283 .RE
182 .PP
284 .PP
183285 \fBReturns:\fP
184286 .RS 4
185287 a static string of foramted date
186288 .RE
187 .PP
188
189 .SS "int hdate_get_parasha (\fBhdate_struct\fP * h, int diaspora)"
190 .PP
289 .PP
290
291 .SS "int hdate_get_parasha (\fBhdate_struct\fP const * h, int diaspora)"
292 .PP
191293 get the number of hebrew parasha.
192 .PP
193 \fBParameters:\fP
194 .RS 4
195 \fIh\fP pointer this hdate struct.
196 .br
294 .PP
295 \fBParameters:\fP
296 .RS 4
297 \fIh\fP pointer this hdate struct.
298 .br
197299 \fIdiaspora\fP if true give diaspora readings
198300 .RE
199 .PP
301 .PP
200302 \fBReturns:\fP
201303 .RS 4
202304 the number of parasha 1. Bereshit etc.. (55 trow 61 are joined strings e.g. Vayakhel Pekudei)
203305 .RE
204 .PP
205
206 .SS "int hdate_get_holyday (\fBhdate_struct\fP * h, int diaspora)"
207 .PP
306 .PP
307
308 .SS "int hdate_get_holyday (\fBhdate_struct\fP const * h, int diaspora)"
309 .PP
208310 get the number of hebrew holyday.
209 .PP
210 \fBParameters:\fP
211 .RS 4
212 \fIh\fP pointer this hdate struct.
213 .br
311 .PP
312 \fBParameters:\fP
313 .RS 4
314 \fIh\fP pointer this hdate struct.
315 .br
214316 \fIdiaspora\fP if true give diaspora holydays
215317 .RE
216 .PP
318 .PP
217319 \fBReturns:\fP
218320 .RS 4
219321 the number of holyday.
220322 .RE
221 .PP
323 .PP
222324
223325 .SS "char* hdate_get_int_string (int n)"
224 .PP
326 .PP
225327 convert an integer to hebrew string.
226 .PP
328 .PP
227329 \fBParameters:\fP
228330 .RS 4
229331 \fIn\fP The int to convert
230332 .RE
231 .PP
232 \fBReturns:\fP
233 .RS 4
234 a static string of the hebrew number UTF\-8 (logical)
235 .RE
236 .PP
333 .PP
334 \fBReturns:\fP
335 .RS 4
336 a static string of the hebrew number UTF-8 (logical)
337 .RE
338 .PP
237339 \fBAttention:\fP
238340 .RS 4
239341 ( 0 < n < 10000)
240342 .RE
241 .PP
343 .PP
242344
243345 .SS "char* hdate_get_day_string (int day, int s)"
244 .PP
346 .PP
245347 get name of week day.
246 .PP
247 \fBParameters:\fP
248 .RS 4
249 \fIday\fP The number of the day 1..7 (1 \- sun).
250 .br
251 \fIs\fP short flag true \- returns a short string: sun, false returns: sunday.
252 .RE
253 .PP
348 .PP
349 \fBParameters:\fP
350 .RS 4
351 \fIday\fP The number of the day 1..7 (1 - sun).
352 .br
353 \fIs\fP short flag true - returns a short string: sun, false returns: sunday.
354 .RE
355 .PP
254356 \fBReturns:\fP
255357 .RS 4
256358 a static string of the day of the week
257359 .RE
258 .PP
360 .PP
259361
260362 .SS "char* hdate_get_month_string (int month, int s)"
261 .PP
363 .PP
262364 name of month.
263 .PP
264 \fBParameters:\fP
265 .RS 4
266 \fImonth\fP the number of the month 1..12 (1 \- jan).
267 .br
365 .PP
366 \fBParameters:\fP
367 .RS 4
368 \fImonth\fP the number of the month 1..12 (1 - jan).
369 .br
268370 \fIs\fP short flag.
269371 .RE
270 .PP
372 .PP
271373 \fBReturns:\fP
272374 .RS 4
273375 a static string of month name
274376 .RE
275 .PP
377 .PP
276378
277379 .SS "char* hdate_get_hebrew_month_string (int month, int s)"
278 .PP
380 .PP
279381 name of hebrew month.
280 .PP
281 \fBParameters:\fP
282 .RS 4
283 \fImonth\fP the number of the month 1..14 (1 \- tishre, 13 \- adar 1, 14 \- adar 2).
284 .br
382 .PP
383 \fBParameters:\fP
384 .RS 4
385 \fImonth\fP the number of the month 1..14 (1 - tishre, 13 - adar 1, 14 - adar 2).
386 .br
285387 \fIs\fP short flag.
286388 .RE
287 .PP
389 .PP
288390 \fBReturns:\fP
289391 .RS 4
290392 a static string of month name
291393 .RE
292 .PP
394 .PP
293395
294396 .SS "char* hdate_get_holyday_string (int holyday, int s)"
295 .PP
397 .PP
296398 name of hebrew holyday.
297 .PP
399 .PP
298400 \fBParameters:\fP
299401 .RS 4
300402 \fIholyday\fP the holyday number.
301 .br
403 .br
302404 \fIs\fP short flag.
303405 .RE
304 .PP
406 .PP
305407 \fBReturns:\fP
306408 .RS 4
307409 a static string of holyday name
308410 .RE
309 .PP
411 .PP
310412
311413 .SS "char* hdate_get_parasha_string (int parasha, int s)"
312 .PP
414 .PP
313415 name of parasha
314 .PP
315 \fBParameters:\fP
316 .RS 4
317 \fIparasha\fP the number of parasha 1\-Bereshit (55 trow 61 are joined strings e.g. Vayakhel Pekudei)
318 .br
416 .PP
417 \fBParameters:\fP
418 .RS 4
419 \fIparasha\fP the number of parasha 1-Bereshit (55 trow 61 are joined strings e.g. Vayakhel Pekudei)
420 .br
319421 \fIs\fP short flag.
320422 .RE
321 .PP
423 .PP
322424 \fBReturns:\fP
323425 .RS 4
324426 a static string of parasha name
325427 .RE
326 .PP
428 .PP
327429
328430 .SS "int hdate_get_holyday_type (int holyday)"
329 .PP
431 .PP
330432 get the hebrew holyday type.
331 .PP
433 .PP
332434 \fBParameters:\fP
333435 .RS 4
334436 \fIholyday\fP the holyday number.
335437 .RE
336 .PP
438 .PP
337439 \fBReturns:\fP
338440 .RS 4
339441 the number of holyday type.
340442 .RE
341 .PP
443 .PP
342444
343445 .SS "int hdate_get_size_of_hebrew_year (int hebrew_year)"
344 .PP
446 .PP
345447 size of hebrew year in days.
346 .PP
448 .PP
347449 \fBParameters:\fP
348450 .RS 4
349451 \fIhebrew_year\fP the hebrew year.
350452 .RE
351 .PP
453 .PP
352454 \fBReturns:\fP
353455 .RS 4
354456 size of Hebrew year
355457 .RE
356 .PP
458 .PP
357459
358460 .SS "int hdate_days_from_3744 (int hebrew_year)"
359 .PP
461 .PP
360462 Days since Tishrey 3744.
361 .PP
463 .PP
362464 \fBAuthor:\fP
363465 .RS 4
364 Amos Shapir 1984 (rev. 1985, 1992) Yaacov Zamir 2003\-2005
365 .RE
366 .PP
466 Amos Shapir 1984 (rev. 1985, 1992) Yaacov Zamir 2003-2005
467 .RE
468 .PP
367469 \fBParameters:\fP
368470 .RS 4
369471 \fIhebrew_year\fP The Hebrew year
370472 .RE
371 .PP
473 .PP
372474 \fBReturns:\fP
373475 .RS 4
374476 Number of days since 3,1,3744
375477 .RE
376 .PP
478 .PP
377479
378480 .SS "int hdate_get_year_type (int size_of_year, int new_year_dw)"
379 .PP
481 .PP
380482 Return Hebrew year type based on size and first week day of year.
381 .PP
483 .PP
382484 \fBParameters:\fP
383485 .RS 4
384486 \fIsize_of_year\fP Length of year in days
385 .br
487 .br
386488 \fInew_year_dw\fP First week day of year
387489 .RE
388 .PP
490 .PP
389491 \fBReturns:\fP
390492 .RS 4
391493 the number for year type (1..14)
392494 .RE
393 .PP
495 .PP
394496
395497 .SS "int hdate_gdate_to_jd (int day, int month, int year)"
396 .PP
498 .PP
397499 Compute Julian day from Gregorian date.
398 .PP
500 .PP
399501 \fBAuthor:\fP
400502 .RS 4
401503 Yaacov Zamir (algorithm from Henry F. Fliegel and Thomas C. Van Flandern ,1968)
402504 .RE
403 .PP
505 .PP
404506 \fBParameters:\fP
405507 .RS 4
406508 \fIday\fP Day of month 1..31
407 .br
509 .br
408510 \fImonth\fP Month 1..12
409 .br
511 .br
410512 \fIyear\fP Year in 4 digits e.g. 2001
411513 .RE
412 .PP
514 .PP
413515 \fBReturns:\fP
414516 .RS 4
415517 the julian day number
416518 .RE
417 .PP
519 .PP
418520
419521 .SS "int hdate_hdate_to_jd (int day, int month, int year, int * jd_tishrey1, int * jd_tishrey1_next_year)"
420 .PP
522 .PP
421523 Compute Julian day from Hebrew day, month and year.
422 .PP
524 .PP
423525 \fBAuthor:\fP
424526 .RS 4
425 Amos Shapir 1984 (rev. 1985, 1992) Yaacov Zamir 2003\-2005
426 .RE
427 .PP
527 Amos Shapir 1984 (rev. 1985, 1992) Yaacov Zamir 2003-2005
528 .RE
529 .PP
428530 \fBParameters:\fP
429531 .RS 4
430532 \fIday\fP Day of month 1..31
431 .br
432 \fImonth\fP Month 1..14 (13 \- Adar 1, 14 \- Adar 2)
433 .br
533 .br
534 \fImonth\fP Month 1..14 (13 - Adar 1, 14 - Adar 2)
535 .br
434536 \fIyear\fP Hebrew year in 4 digits e.g. 5753
435 .br
537 .br
436538 \fIjd_tishrey1\fP return the julian number of 1 Tishrey this year
437 .br
438 \fIjd_tishrey1\fP return the julian number of 1 Tishrey next year
439 .RE
440 .PP
539 .br
540 \fIjd_tishrey1_next_year\fP return the julian number of 1 Tishrey next year
541 .RE
542 .PP
441543 \fBReturns:\fP
442544 .RS 4
443545 the julian day number
444546 .RE
445 .PP
547 .PP
446548
447549 .SS "void hdate_jd_to_gdate (int jd, int * day, int * month, int * year)"
448 .PP
550 .PP
449551 Converting from the Julian day to the Gregorian date.
450 .PP
552 .PP
451553 \fBAuthor:\fP
452554 .RS 4
453555 Yaacov Zamir (Algorithm, Henry F. Fliegel and Thomas C. Van Flandern ,1968)
454556 .RE
455 .PP
557 .PP
456558 \fBParameters:\fP
457559 .RS 4
458560 \fIjd\fP Julian day
459 .br
460 \fId\fP return Day of month 1..31
461 .br
462 \fIm\fP return Month 1..12
463 .br
464 \fIy\fP return Year in 4 digits e.g. 2001
465 .RE
466 .PP
561 .br
562 \fIday\fP return Day of month 1..31
563 .br
564 \fImonth\fP return Month 1..12
565 .br
566 \fIyear\fP return Year in 4 digits e.g. 2001
567 .RE
568 .PP
467569
468570 .SS "void hdate_jd_to_hdate (int jd, int * day, int * month, int * year, int * jd_tishrey1, int * jd_tishrey1_next_year)"
469 .PP
571 .PP
470572 Converting from the Julian day to the Hebrew day.
471 .PP
573 .PP
472574 \fBAuthor:\fP
473575 .RS 4
474576 Yaacov Zamir 2005
475577 .RE
476 .PP
578 .PP
477579 \fBParameters:\fP
478580 .RS 4
479581 \fIjd\fP Julian day
480 .br
582 .br
481583 \fIday\fP return Day of month 1..31
482 .br
483 \fImonth\fP return Month 1..14 (13 \- Adar 1, 14 \- Adar 2)
484 .br
584 .br
585 \fImonth\fP return Month 1..14 (13 - Adar 1, 14 - Adar 2)
586 .br
485587 \fIyear\fP return Year in 4 digits e.g. 2001
486 .br
588 .br
487589 \fIjd_tishrey1\fP return the julian number of 1 Tishrey this year
488 .br
489 \fIjd_tishrey1\fP return the julian number of 1 Tishrey next year
490 .RE
491 .PP
590 .br
591 \fIjd_tishrey1_next_year\fP return the julian number of 1 Tishrey next year
592 .RE
593 .PP
492594
493595 .SS "int hdate_get_day_of_year (int day, int month, int year)"
494 .PP
596 .PP
495597 days from 1 january
496 .PP
598 .PP
497599 \fBParameters:\fP
498600 .RS 4
499601 \fIday\fP this day of month
500 .br
602 .br
501603 \fImonth\fP this month
502 .br
604 .br
503605 \fIyear\fP this year
504606 .RE
505 .PP
607 .PP
506608 \fBReturns:\fP
507609 .RS 4
508610 the days from 1 jan
509611 .RE
510 .PP
612 .PP
511613
512614 .SS "void hdate_get_utc_sun_time (int day, int month, int year, double latitude, double longitude, int * sunrise, int * sunset)"
513 .PP
615 .PP
514616 utc sunrise/set time for a gregorian date
515 .PP
617 .PP
516618 \fBParameters:\fP
517619 .RS 4
518620 \fIday\fP this day of month
519 .br
621 .br
520622 \fImonth\fP this month
521 .br
623 .br
522624 \fIyear\fP this year
523 .br
524 \fIlongitude\fP longitude to use in calculations
525 .br
526 \fIlatitude\fP latitude to use in calculations
527 .br
528 \fIsunrise\fP return the utc sunrise in minutes
529 .br
530 \fIsunset\fP return the utc sunset in minutes
531 .RE
532 .PP
533
534 .SH "SEE ALSO"
535 hdate_struct(3), hcal(1), hdate(1)
625 .br
626 \fIlongitude\fP longitude to use in calculations degrees, negative values are east
627 .br
628 \fIlatitude\fP latitude to use in calculations degrees, negative values are south
629 .br
630 \fIsunrise\fP return the utc sunrise in minutes after midnight (00:00)
631 .br
632 \fIsunset\fP return the utc sunset in minutes after midnight (00:00)
633 .RE
634 .PP
635
636 .SS "int hdate_get_gday (\fBhdate_struct\fP const * h)"
637 .PP
638 get the Gregorian day of the month
639 .PP
640 \fBParameters:\fP
641 .RS 4
642 \fIh\fP pointer this hdate struct.
643 .RE
644 .PP
645 \fBReturns:\fP
646 .RS 4
647 the Gregorian day of the month, 1..31.
648 .RE
649 .PP
650
651 .SS "int hdate_get_gmonth (\fBhdate_struct\fP const * h)"
652 .PP
653 get the Gregorian month
654 .PP
655 \fBParameters:\fP
656 .RS 4
657 \fIh\fP pointer this hdate struct.
658 .RE
659 .PP
660 \fBReturns:\fP
661 .RS 4
662 the Gregorian month, jan = 1.
663 .RE
664 .PP
665
666 .SS "int hdate_get_gyear (\fBhdate_struct\fP const * h)"
667 .PP
668 get the Gregorian year
669 .PP
670 \fBParameters:\fP
671 .RS 4
672 \fIh\fP pointer this hdate struct.
673 .RE
674 .PP
675 \fBReturns:\fP
676 .RS 4
677 the Gregorian year.
678 .RE
679 .PP
680
681 .SS "int hdate_get_hday (\fBhdate_struct\fP const * h)"
682 .PP
683 get the Hebrew day of the month
684 .PP
685 \fBParameters:\fP
686 .RS 4
687 \fIh\fP pointer this hdate struct.
688 .RE
689 .PP
690 \fBReturns:\fP
691 .RS 4
692 the Hebrew day of the month, 1..30.
693 .RE
694 .PP
695
696 .SS "int hdate_get_hmonth (\fBhdate_struct\fP const * h)"
697 .PP
698 get the Hebrew month
699 .PP
700 \fBParameters:\fP
701 .RS 4
702 \fIh\fP pointer this hdate struct.
703 .RE
704 .PP
705 \fBReturns:\fP
706 .RS 4
707 the Hebrew month, Tishery = 1 .. Adar I =13, Adar II = 14.
708 .RE
709 .PP
710
711 .SS "int hdate_get_hyear (\fBhdate_struct\fP const * h)"
712 .PP
713 get the Hebrew year
714 .PP
715 \fBParameters:\fP
716 .RS 4
717 \fIh\fP pointer this hdate struct.
718 .RE
719 .PP
720 \fBReturns:\fP
721 .RS 4
722 the Hebrew year.
723 .RE
724 .PP
725
726 .SS "int hdate_get_day_of_the_week (\fBhdate_struct\fP const * h)"
727 .PP
728 get the day of the week
729 .PP
730 \fBParameters:\fP
731 .RS 4
732 \fIh\fP pointer this hdate struct.
733 .RE
734 .PP
735 \fBReturns:\fP
736 .RS 4
737 the the day of the week.
738 .RE
739 .PP
740
741 .SS "int hdate_get_size_of_year (\fBhdate_struct\fP const * h)"
742 .PP
743 get the size of the hebrew year
744 .PP
745 \fBParameters:\fP
746 .RS 4
747 \fIh\fP pointer this hdate struct.
748 .RE
749 .PP
750 \fBReturns:\fP
751 .RS 4
752 the the size of the hebrew year.
753 .RE
754 .PP
755
756 .SS "int hdate_get_new_year_day_of_the_week (\fBhdate_struct\fP const * h)"
757 .PP
758 get the new year day of the week
759 .PP
760 \fBParameters:\fP
761 .RS 4
762 \fIh\fP pointer this hdate struct.
763 .RE
764 .PP
765 \fBReturns:\fP
766 .RS 4
767 the the new year day of the week.
768 .RE
769 .PP
770
771 .SS "int hdate_get_julian (\fBhdate_struct\fP const * h)"
772 .PP
773 get the Julian day number
774 .PP
775 \fBParameters:\fP
776 .RS 4
777 \fIh\fP pointer this hdate struct.
778 .RE
779 .PP
780 \fBReturns:\fP
781 .RS 4
782 the Julian day number.
783 .RE
784 .PP
785
786 .SS "int hdate_get_days (\fBhdate_struct\fP const * h)"
787 .PP
788 get the number of days passed since 1 tishrey
789 .PP
790 \fBParameters:\fP
791 .RS 4
792 \fIh\fP pointer this hdate struct.
793 .RE
794 .PP
795 \fBReturns:\fP
796 .RS 4
797 the number of days passed since 1 tishrey.
798 .RE
799 .PP
800
801 .SS "int hdate_get_weeks (\fBhdate_struct\fP const * h)"
802 .PP
803 get the number of weeks passed since 1 tishrey
804 .PP
805 \fBParameters:\fP
806 .RS 4
807 \fIh\fP pointer this hdate struct.
808 .RE
809 .PP
810 \fBReturns:\fP
811 .RS 4
812 the number of weeks passed since 1 tishrey.
813 .RE
814 .PP
815
816 .SS "\fBhdate_struct\fP* new_hdate ()"
817 .PP
818 creat a new hdate struct object, must be deleted using delete_hdate.
819 .PP
820 \fBReturns:\fP
821 .RS 4
822 a new hdate object
823 .RE
824 .PP
825
826 .SS "\fBhdate_struct\fP* delete_hdate (\fBhdate_struct\fP * h)"
827 .PP
828 delete an hdate struct object.
829 .PP
830 \fBParameters:\fP
831 .RS 4
832 \fIh\fP pointer this hdate struct.
833 .RE
834 .PP
835
836 .SS "char* hdate_get_version_string ()"
837 .PP
838 Return a static string, with the package name and version.
839 .PP
840 \fBReturns:\fP
841 .RS 4
842 a static string, with the package name and version
843 .RE
844 .PP
845
846 .SS "char* hdate_get_translator_string ()"
847 .PP
848 name of translator
849 .PP
850 \fBReturns:\fP
851 .RS 4
852 a static string with name of translator, or NULL if none.
853 .RE
854 .PP
855
536856 .SH "Author"
537857 .PP
538 2005 Yaacov Zmair
539 Generated automatically by Doxygen for libhdate from the source code.
858 Generated automatically by Doxygen for libhdate C language from the source code.
2626 @return the number of holyday.
2727 */
2828 int
29 hdate_get_holyday (hdate_struct * h, int diaspora)
29 hdate_get_holyday (hdate_struct const * h, int diaspora)
3030 {
3131 int holyday;
3232
3535 {
3636 { /* Tishrey */
3737 1, 2, 3, 3, 0, 0, 0, 0, 0, 4,
38 0, 0, 0, 0, 5, 6, 6, 6, 6, 6,
38 0, 0, 0, 0, 5, 31, 6, 6, 6, 6,
3939 7, 27, 8, 0, 0, 0, 0, 0, 0, 0},
4040 { /* Heshvan */
4141 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
5959 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
6060 { /* Nisan */
6161 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
62 0, 0, 0, 0, 15, 16, 16, 16, 16, 16,
62 0, 0, 0, 0, 15, 32, 16, 16, 16, 16,
6363 28, 29, 0, 0, 0, 24, 24, 24, 0, 0},
6464 { /* Iyar */
6565 0, 17, 17, 17, 17, 17, 0, 0, 0, 0,
190190 if (holyday == 8 && !diaspora)
191191 holyday = 0;
192192
193 /* FIXME: no diff to sukkut and pesach I in diaspora ? */
193 /* sukkot II holiday only in diaspora */
194 if (holyday == 31 && !diaspora)
195 holyday = 6;
196
197 /* pesach II holiday only in diaspora */
198 if (holyday == 32 && !diaspora)
199 holyday = 16;
194200
195201 /* shavot II holiday only in diaspora */
196202 if (holyday == 30 && !diaspora)
349349 @param y Year in 4 digits e.g. 2001
350350 */
351351 hdate_struct *
352 hdate_set_gdate (hdate_struct *h, int d, int m, int y)
352 hdate_set_gdate (hdate_struct * h, int d, int m, int y)
353353 {
354354 int jd;
355355 int jd_tishrey1, jd_tishrey1_next_year;
395395 @param y Year in 4 digits e.g. 5731
396396 */
397397 hdate_struct *
398 hdate_set_hdate (hdate_struct *h, int d, int m, int y)
398 hdate_set_hdate (hdate_struct * h, int d, int m, int y)
399399 {
400400 int jd;
401401 int jd_tishrey1, jd_tishrey1_next_year;
426426 @param jd the julian day number.
427427 */
428428 hdate_struct *
429 hdate_set_jd (hdate_struct *h, int jd)
429 hdate_set_jd (hdate_struct * h, int jd)
430430 {
431431 int jd_tishrey1, jd_tishrey1_next_year;
432432
456456 @return the Gregorian day of the month, 1..31.
457457 */
458458 int
459 hdate_get_gday (hdate_struct *h)
459 hdate_get_gday (hdate_struct const * h)
460460 {
461461 return h->gd_day;
462462 }
468468 @return the Gregorian month, jan = 1.
469469 */
470470 int
471 hdate_get_gmonth (hdate_struct *h)
471 hdate_get_gmonth (hdate_struct const * h)
472472 {
473473 return h->gd_mon;
474474 }
480480 @return the Gregorian year.
481481 */
482482 int
483 hdate_get_gyear (hdate_struct *h)
483 hdate_get_gyear (hdate_struct const * h)
484484 {
485485 return h->gd_year;
486486 }
492492 @return the Hebrew day of the month, 1..30.
493493 */
494494 int
495 hdate_get_hday (hdate_struct *h)
495 hdate_get_hday (hdate_struct const * h)
496496 {
497497 return h->hd_day;
498498 }
504504 @return the Hebrew month, Tishery = 1 .. Adar I =13, Adar II = 14.
505505 */
506506 int
507 hdate_get_hmonth (hdate_struct *h)
507 hdate_get_hmonth (hdate_struct const * h)
508508 {
509509 return h->hd_mon;
510510 }
516516 @return the Hebrew year.
517517 */
518518 int
519 hdate_get_hyear (hdate_struct *h)
519 hdate_get_hyear (hdate_struct const * h)
520520 {
521521 return h->hd_year;
522522 }
528528 @return the the day of the week.
529529 */
530530 int
531 hdate_get_day_of_the_week (hdate_struct *h)
531 hdate_get_day_of_the_week (hdate_struct const * h)
532532 {
533533 return h->hd_dw;
534534 }
540540 @return the the size of the hebrew year.
541541 */
542542 int
543 hdate_get_size_of_year (hdate_struct *h)
543 hdate_get_size_of_year (hdate_struct const * h)
544544 {
545545 return h->hd_size_of_year;
546546 }
552552 @return the the new year day of the week.
553553 */
554554 int
555 hdate_get_new_year_day_of_the_week (hdate_struct *h)
555 hdate_get_new_year_day_of_the_week (hdate_struct const * h)
556556 {
557557 return h->hd_new_year_dw;
558558 }
564564 @return the Julian day number.
565565 */
566566 int
567 hdate_get_julian (hdate_struct *h)
567 hdate_get_julian (hdate_struct const * h)
568568 {
569569 return h->hd_jd;
570570 }
576576 @return the number of days passed since 1 tishrey.
577577 */
578578 int
579 hdate_get_days (hdate_struct *h)
579 hdate_get_days (hdate_struct const * h)
580580 {
581581 return h->hd_days;
582582 }
588588 @return the number of weeks passed since 1 tishrey.
589589 */
590590 int
591 hdate_get_weeks (hdate_struct *h)
591 hdate_get_weeks (hdate_struct const * h)
592592 {
593593 return h->hd_weeks;
594594 }
607607 /* allocate memory for a new hdate object */
608608 hdate_struct *h = (hdate_struct *) malloc (sizeof (hdate_struct));
609609
610 /* check for out of memory */
611 if (!h)
612 return NULL;
613
610614 /* get todays date */
611615 hdate_set_gdate (h, 0, 0, 0);
612616
2929 (55 trow 61 are joined strings e.g. Vayakhel Pekudei)
3030 */
3131 int
32 hdate_get_parasha (hdate_struct * h, int diaspora)
32 hdate_get_parasha (hdate_struct const * h, int diaspora)
3333 {
3434 static int join_flags[2][14][7] =
3535 {
235235 hdate_get_holyday_string (int holyday, int s)
236236 {
237237 /* holyday strings */
238 static char *holydays[2][30] = {
238 static char *holydays[2][32] = {
239239 {
240240 N_("Rosh Hashana I"), /* 1 */
241241 N_("Rosh Hashana II"),
266266 N_("Shmini Atzeret"),
267267 N_("Pesach VII"),
268268 N_("Pesach VIII"),
269 N_("Shavuot II")},
269 N_("Shavuot II"),
270 N_("Sukkot II"),
271 N_("Pesach II")},
270272 {
271273 N_("Rosh Hashana I"),
272274 N_("Rosh Hashana II"),
297299 N_("Shmini Atzeret"),
298300 N_("Pesach VII"),
299301 N_("Pesach VIII"),
300 N_("Shavuot II")}
302 N_("Shavuot II"),
303 N_("Sukkot II"),
304 N_("Pesach II")}
301305 };
302306
303307 #ifdef ENABLE_NLS
308312 /* make sure s is 0 or 1 */
309313 s = s ? 0 : 1;
310314
311 if (holyday >= 1 && holyday <= 30)
315 if (holyday >= 1 && holyday <= 32)
312316 {
313317 return _(holydays[s][holyday - 1]);
314318 }
485489 @param s A short flag (true - returns a short string, false returns a long string. ).
486490 */
487491 char *
488 hdate_get_format_date (hdate_struct * h, int diaspora, int s)
492 hdate_get_format_date (hdate_struct const * h, int diaspora, int s)
489493 {
490494 static char format_date[500];
491495 static char temp[500];
0 .\" .ad l
1 .\" .nh
2 .TH "hdate_struct" "3" "2 Mar 2005" "Yaacov Zamir" "libhdate"
3 .SH "NAME"
4 hdate_struct \- base struct for libhdate, a library that help use hebrew dates.
5 .PP
6 LibHdate is a small C,C++ library for Hebrew dates,
7 holidays, and reading sequence (parasha). It is using
8 the source code from Amos Shapir's "hdate" package fixed and
9 patched by Nadav Har'El. The Torah reading sequence
10 is from tables by Zvi Har'El.
11
12 .SH "SYNOPSIS"
13 .br
14 .PP
0 .TH "hdate_struct" 3 "11 Nov 2005" "Version 1.4" "libhdate C language" \" -*- nroff -*-
1 .ad l
2 .nh
3 .SH NAME
4 hdate_struct \-
5 .SH SYNOPSIS
6 .br
7 .PP
158 \fC#include <hdate.h>\fP
16 .PP
9 .PP
1710 .SS "Data Fields"
1811
1912 .in +1c
20 .ti \-1c
13 .ti -1c
2114 .RI "int \fBhd_day\fP"
22 .br
23 .ti \-1c
15 .br
16 .ti -1c
2417 .RI "int \fBhd_mon\fP"
25 .br
26 .ti \-1c
18 .br
19 .ti -1c
2720 .RI "int \fBhd_year\fP"
28 .br
29 .ti \-1c
21 .br
22 .ti -1c
3023 .RI "int \fBgd_day\fP"
31 .br
32 .ti \-1c
24 .br
25 .ti -1c
3326 .RI "int \fBgd_mon\fP"
34 .br
35 .ti \-1c
27 .br
28 .ti -1c
3629 .RI "int \fBgd_year\fP"
37 .br
38 .ti \-1c
30 .br
31 .ti -1c
3932 .RI "int \fBhd_dw\fP"
40 .br
41 .ti \-1c
33 .br
34 .ti -1c
4235 .RI "int \fBhd_size_of_year\fP"
43 .br
44 .ti \-1c
36 .br
37 .ti -1c
4538 .RI "int \fBhd_new_year_dw\fP"
46 .br
47 .ti \-1c
39 .br
40 .ti -1c
4841 .RI "int \fBhd_year_type\fP"
49 .br
50 .ti \-1c
42 .br
43 .ti -1c
5144 .RI "int \fBhd_jd\fP"
52 .br
53 .ti \-1c
45 .br
46 .ti -1c
5447 .RI "int \fBhd_days\fP"
55 .br
56 .ti \-1c
48 .br
49 .ti -1c
5750 .RI "int \fBhd_weeks\fP"
58 .br
59 .in \-1c
51 .br
52 .in -1c
6053 .SH "Detailed Description"
6154 .PP
6255 Base structore for hebrew dates
63 .PP
56 .PP
6457 .SH "Field Documentation"
6558 .PP
6659 .SS "int \fBhdate_struct::hd_day\fP"
67 .PP
60 .PP
6861 The number of day in the hebrew month (1..31).
6962 .SS "int \fBhdate_struct::hd_mon\fP"
70 .PP
71 The number of the hebrew month 1..14 (1 \- tishre, 13 \- adar 1, 14 \- adar 2).
63 .PP
64 The number of the hebrew month 1..14 (1 - tishre, 13 - adar 1, 14 - adar 2).
7265 .SS "int \fBhdate_struct::hd_year\fP"
73 .PP
66 .PP
7467 The number of the hebrew year.
7568 .SS "int \fBhdate_struct::gd_day\fP"
76 .PP
69 .PP
7770 The number of the day in the month. (1..31)
7871 .SS "int \fBhdate_struct::gd_mon\fP"
79 .PP
80 The number of the month 1..12 (1 \- jan).
72 .PP
73 The number of the month 1..12 (1 - jan).
8174 .SS "int \fBhdate_struct::gd_year\fP"
82 .PP
75 .PP
8376 The number of the year.
8477 .SS "int \fBhdate_struct::hd_dw\fP"
85 .PP
86 The day of the week 1..7 (1 \- sunday).
78 .PP
79 The day of the week 1..7 (1 - sunday).
8780 .SS "int \fBhdate_struct::hd_size_of_year\fP"
88 .PP
81 .PP
8982 The length of the year in days.
9083 .SS "int \fBhdate_struct::hd_new_year_dw\fP"
91 .PP
84 .PP
9285 The week day of Hebrew new year.
9386 .SS "int \fBhdate_struct::hd_year_type\fP"
94 .PP
87 .PP
9588 The number type of year.
9689 .SS "int \fBhdate_struct::hd_jd\fP"
97 .PP
90 .PP
9891 The Julian day number
9992 .SS "int \fBhdate_struct::hd_days\fP"
100 .PP
93 .PP
10194 The number of days passed since 1 tishrey
10295 .SS "int \fBhdate_struct::hd_weeks\fP"
103 .PP
96 .PP
10497 The number of weeks passed since 1 tishrey
10598
106 .SH "SEE ALSO"
107 hdate.h(3), hcal(1), hdate(1)
10899 .SH "Author"
109100 .PP
110 2005 Yaacov Zmair
111 Generated automatically by Doxygen for libhdate from the source code.
101 Generated automatically by Doxygen for libhdate C language from the source code.
5454 */
5555 Hdate()
5656 {
57 /* default is this day */
5758 h = new_hdate();
59
60 /* default is in israel */
61 diaspora = HDATA_ISRAEL_FLAG;
62
63 /* default localeconv is Tel-Aviv winter time */
64 latitude = 32.0;
65 longitude = -34.0;
66 tz = 2;
5867 }
5968
6069 /**
114123 return the short ( e.g. "1 Tishrey" ) or
115124 long (e.g. "Tuesday 18 Tishrey 5763 Hol hamoed Sukot" ) formated date.
116125
117 @param diaspora if true give diaspora holydays.
118126 @param s short flag.
119127 @return a static string of foramted date
120128 */
121129 char *
122 get_format_date (int diaspora, int s)
130 get_format_date (int s)
123131 {
124132 return hdate_get_format_date (h, diaspora, s);
125133 }
171179 @return a static string of hebrew holiday name
172180 */
173181 char *
174 get_holyday_string (int diaspora, int s)
182 get_holyday_string (int s)
175183 {
176184 int holyday;
177185
186194 (1- regular holyday, 2- three regels, 3- tzom, 0- no holiday)
187195 */
188196 int
189 get_holyday_type (int diaspora)
197 get_holyday_type ()
190198 {
191199 int holyday;
192200
197205 /**
198206 @brief get name hebrew parasha.
199207
200 @param diaspora if true give diaspora parashot.
201208 @param s short flag
202209 true - returns a short string.
203210 @return a static string of hebrew parash name
204211 */
205212 char *
206 get_parasha_string (int diaspora, int s)
213 get_parasha_string (int s)
207214 {
208215 int parasha;
209216
238245
239246 /**
240247 @brief get parash number
241
242 @param diaspora if true give diaspora parashot.
243 @return the hebrew parasha number
244 */
245 int
246 get_parasha (int diaspora)
248
249 @return the hebrew parasha number
250 */
251 int
252 get_parasha ()
247253 {
248254 return hdate_get_parasha (h, diaspora);
249255 }
250256
251257 /**
252258 @brief get holiday number
253
254 @param diaspora if true give diaspora holidays.
255259 @return the hebrew holiday number
256260 */
257261 int
258 get_holyday (int diaspora)
262 get_holyday ()
259263 {
260264 return hdate_get_holyday (h, diaspora);
261265 }
396400 ////////////////////////////////////////
397401
398402 /**
403 @brief set location
404
405 @param in_longitude longitude to use in calculations
406 degrees, negative values are east
407 @param in_latitude latitude to use in calculations
408 degrees, negative values are south
409 @param in_tz time zone
410 */
411 void
412 set_location (double in_latitude, double in_longitude, int in_tz)
413 {
414 latitude = in_latitude;
415 longitude = in_longitude;
416 tz = in_tz;
417 }
418
419 /**
399420 @brief sunrise time
400421
401 @param longitude longitude to use in calculations
402 degrees, negative values are east
403 @param latitude latitude to use in calculations
404 degrees, negative values are south
405 @param tz time zone
406422 @return sunrise in minutes after midnight (00:00)
407423 */
408424 int
409 get_sunrise (double latitude, double longitude, int tz)
425 get_sunrise ()
410426 {
411427 int sunrise;
412428 int sunset;
421437 /**
422438 @brief sunset time
423439
424 @param longitude longitude to use in calculations
425 degrees, negative values are east
426 @param latitude latitude to use in calculations
427 degrees, negative values are south
428 @param tz time zone
429440 @return sunset in minutes after midnight (00:00)
430441 */
431442 int
432 get_sunset (double latitude, double longitude, int tz)
443 get_sunset ()
433444 {
434445 int sunrise;
435446 int sunset;
455466 return hdate_get_translator_string ();
456467 }
457468
469 /**
470 @brief set this hdate object to use diaspora holidays and dates
471 */
472 void
473 set_diaspora ()
474 {
475 diaspora = HDATA_DIASPORA_FLAG;
476 }
477
478 /**
479 @brief set this hdate object to use israel holidays and dates
480 */
481 void
482 set_israel ()
483 {
484 diaspora = HDATA_ISRAEL_FLAG;
485 }
486
458487 private:
459488
489 int diaspora;
490 double latitude;
491 double longitude;
492 int tz;
460493 hdate_struct *h;
461494
462495 };