Merge lp:~jamesodhunt/ubuntu/precise/upstart/1.4 into lp:ubuntu/precise/upstart

Proposed by James Hunt
Status: Merged
Merged at revision: 1348
Proposed branch: lp:~jamesodhunt/ubuntu/precise/upstart/1.4
Merge into: lp:ubuntu/precise/upstart
Diff against target: 28731 lines (+13104/-4330)
61 files modified
ChangeLog (+224/-0)
Makefile.am (+1/-1)
Makefile.in (+4/-2)
NEWS (+13/-1)
aclocal.m4 (+2/-2)
conf/Makefile.in (+3/-1)
config.guess (+120/-105)
config.sub (+101/-55)
configure (+1878/-1044)
configure.ac (+1/-1)
contrib/Makefile.in (+3/-1)
contrib/vim/syntax/upstart.vim (+16/-5)
dbus/Makefile.in (+3/-1)
debian/changelog (+20/-0)
debian/manpages/upstart-events.7 (+9/-2)
debian/upstart.dirs (+1/-0)
debian/upstart.logrotate (+7/-0)
doc/Makefile.in (+3/-1)
extra/Makefile.in (+3/-1)
extra/man/upstart-udev-bridge.8 (+37/-1)
extra/upstart-udev-bridge.c (+142/-29)
init/Makefile.am (+26/-11)
init/Makefile.in (+79/-32)
init/errors.h (+4/-0)
init/job.c (+2/-0)
init/job.h (+4/-1)
init/job_class.c (+37/-46)
init/job_class.h (+72/-5)
init/job_process.c (+393/-22)
init/job_process.h (+37/-3)
init/log.c (+506/-0)
init/log.h (+72/-0)
init/main.c (+133/-10)
init/man/init.5 (+170/-15)
init/man/init.8 (+25/-0)
init/parse_job.c (+88/-8)
init/paths.h (+23/-0)
init/session.c (+26/-0)
init/system.c (+2/-0)
init/tests/test_conf.c (+7/-5)
init/tests/test_event.c (+25/-0)
init/tests/test_job.c (+3/-0)
init/tests/test_job_class.c (+56/-1)
init/tests/test_job_process.c (+2675/-28)
init/tests/test_log.c (+1119/-0)
init/tests/test_parse_job.c (+266/-0)
ltmain.sh (+2619/-1390)
m4/libtool.m4 (+1256/-782)
m4/ltoptions.m4 (+7/-6)
m4/ltversion.m4 (+6/-6)
m4/lt~obsolete.m4 (+9/-3)
m4/pkg.m4 (+8/-6)
po/POTFILES.in (+3/-0)
po/en@boldquot.po (+253/-119)
po/en@quot.po (+253/-119)
po/upstart.pot (+243/-111)
scripts/Makefile.am (+0/-25)
scripts/Makefile.in (+3/-1)
scripts/init-checkconf.sh (+0/-248)
scripts/man/init-checkconf.8 (+0/-73)
util/Makefile.in (+3/-1)
To merge this branch: bzr merge lp:~jamesodhunt/ubuntu/precise/upstart/1.4
Reviewer Review Type Date Requested Status
Colin Watson Approve
Review via email: mp+85826@code.launchpad.net

Description of the change

- Update to Upstart 1.4 which introduces system job logging to /var/log/upstart/. Includes logrotate script.
  This release also includes the fix for bug 829980.

- upstart-events(7) man page fixes: bug 889047, bug 904175.

Notes:

- code merged into lp:ubuntu/upstart using 'bzr merge-upstream' so includes tags for '1.4' and 'upstart-1.4'
  which should (?) resolve the long outstanding broken importer issue:

    http://package-import.ubuntu.com/status/upstart.html

- Original code for Upstart 1.4 is here: http://launchpad.net/upstart/1.x/1.4/+download/upstart-1.4.tar.gz

- Tested on precise in physical + virtual environments.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) wrote :

-syn keyword upstartStatement umask nice oom chroot chdir exec
+syn keyword upstartStatement umask nice oom chroot chdir exec setiud setgid

Typo: setiud -> setuid.

+but with the
+.B --debug
+option.

\-\-debug here (it's correct elsewhere).

                var = NIH_MUST (nih_sprintf (NULL, "%s=%s", key,
- udev_list_entry_get_value (list_entry)));
+ copy_string (NULL, udev_list_entry_get_value (list_entry))));

Isn't this a memory leak? Since copy_string is called with a NULL parent, it will (as I understand it) need to be freed either by calling nih_free explicitly or by assigning it to something that's nih_local. That doesn't seem to be done in this case. Admittedly, this is a bit less important in the udev bridge than in the init daemon proper.

+ /* If substitutions were necessary, shrink the string */
+ return i == j ? cleaned : nih_realloc (cleaned, parent, j + 1);

I'm surprised that it's worth the effort to realloc, given that the returned string is fairly short-lived.

(I'll continue after lunch.)

Revision history for this message
Colin Watson (cjwatson) wrote :

+ /* Save old handler as grantpt disallows child handler
+ * to be in effect
+ */
+ if (sigaction (SIGCHLD, NULL, &act) < 0) {
+ close (pty_master);
+ job_process_error_abort (fds[1], JOB_PROCESS_ERROR_OPENPT_MASTER, 0);
+ }

You can probably make this code (and similar following) easier to read by dropping the explicit close; after all, you're about to exit via job_process_error_abort anyway. (I had to explicitly check that you didn't need to clean up anything else, such as the SIGCHLD handler; I think it would be clearer to either clean up everything or nothing, and all other things being equal then shortest code should probably win.)

This code only queries the current setting of the SIGCHLD handler, but doesn't actually uninstall the handler; judging from your comment and the documentation of grantpt(3), this isn't what you meant. The reason for the restriction on grantpt is that it forks a helper process and waits for it. I think, therefore, that you should call 'sigaction (SIGCHLD, SIG_IGN, &act)'.

+ errno = 0;
+ struct passwd *pwd = getpwnam (class->setuid);

I think it's standard in Upstart to have declarations at the top of a block (although it's true that C99 allows this). So local style would probably be:

  struct passwd *pwd;

  errno = 0;
  pwd = getpwnam (class->setuid);

... and likewise for the group name.

The log file writing code looks like it has the right kind of structure, although I must admit I haven't sat down to exhaustively verify it. As a minor point, I did notice that you aren't consistently casting wlen to (size_t) when passing it to nih_io_buffer_shrink; it should be either always casted or never casted. (I realise that len is size_t already.)

+/**
+ * NihOption setter function to handle selection of default console
+ * type.
+ *
+ * Returns 1 on success, -1 on invalid console type.
+ **/
+static int
+console_type_setter (NihOption *option, const char *arg)

Aren't NihOptionSetter functions supposed to return 0 on success rather than 1? nih_option_handle and nih_option_handle_arg pass through their return value, and both those functions document that they return 0 on success.

 .SH SYNOPSIS
+.TP
 .B /etc/init/
-
+Default location of system job configuration files.
+.\"
+.TP
 .B $HOME/.init/
+Default location of user job configuration files.
+.RE
 .\"
 .SH DESCRIPTION

I feel a bit uncomfortable at seeing .RE without a preceding .RS. I'd just omit that macro; the following .SH should restore the left margin for you.

+If this stanza is unspecified, the job will run as root in the case of
+system jobs, and as the user in the case of User Jobs.
+
+Note that System jobs using the setuid stanza are still system jobs,
+and can not be controlled by an unprivileged user, even if the setuid
+stanza specifies that user.

This description and the description of setgid both seem to have Random capitalisation Syndrome. :-)

Revision history for this message
Colin Watson (cjwatson) wrote :

TESTING.sessions doesn't seem to be in the upstream tarball, so it shows up in the packaging diff. For the next upstream release, I would suggest adding it to EXTRA_DIST in Makefile.am.

init/tests/test_job_process.c should have #include <fnmatch.h>.

Finally, a thought on log rotation: there appears to be nothing in place for logrotate to tell the init daemon that it's rotated a given log file. I appreciate that it may be tricky to set this up. Would it be worth at least using the delaycompress directive, which is documented as being useful in this kind of situation?

In general, this looks very good, thank you. Most of my comments are nits which you can address at your leisure, although it would be good to make sure they get cleaned up. The only ones that I think need to be either fixed or explained before upload are:

 * uninstall SIGCHLD properly before grantpt
 * console_type_setter return value
 * possibly the memory leak in upstart-udev-bridge

review: Needs Fixing
Revision history for this message
Colin Watson (cjwatson) wrote :

Incidentally, I should confess that I didn't review the test code very closely, as I hit branch fatigue somewhat before that. From the sheer volume I'm happy to trust that you've been unit-testing diligently! :-)

Revision history for this message
James Hunt (jamesodhunt) wrote :

Hi Colin,

Thanks for the ace review! I've made all the changes upstream and am about to re-push lp:~jamesodhunt/ubuntu/precise/upstart/1.4.

*HOWEVER*: Can I ask that you hold off re-reviewing/landing this for the time being? I am out all next week so the new plan is for me to publish the code to a PPA for community feedback such that we can land this first thing in January 2012.

Thanks very much. Cheers,

James.

1346. By James Hunt

* debian/changelog: reformat

1347. By James Hunt

releasing version 1.4-0ubuntu1

1348. By James Hunt

Merge of upstream fix for running tests in environment not
supporting full POSIX SIGCHLD semantics.

Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2011-07-26 01:09:47 +0000
+++ ChangeLog 2011-12-22 16:57:26 +0000
@@ -1,3 +1,227 @@
12011-12-22 James Hunt <james.hunt@ubuntu.com>
2
3 * init/job_process.c: job_process_spawn():
4 - Set child handler to default rather than explicit ignore
5 to avoid test failures in environments that disallow
6 ignoring SIGCHLD.
7 * init/tests/test_job_process.c: test_run():
8 - Changed timeout for test feature "ensure that no log
9 file written for CONSOLE_NONE".
10
112011-12-15 James Hunt <james.hunt@ubuntu.com>
12
13 * Makefile.am: Add missing TESTING.sessions to distribution.
14 * contrib/vim/syntax/upstart.vim: Meta-data update and addition
15 of more standard (Ubuntu Upstart) events.
16 * extra/man/upstart-udev-bridge.8: Ensure literal dashes used
17 for all command-line options.
18 * extra/upstart-udev-bridge.c:
19 - udev_monitor_watcher(): Fix leak when obtaining udev value.
20 - make_safe_string(): Don't realloc since overhead too high
21 considering size of strings.
22 * init/job_class.c: Typo.
23 * init/job_process.c: job_process_spawn():
24 - Correct ignoring of SIGCHLD prior to grantpt(3) call.
25 - Removed redundant close(2) calls.
26 - Move declarations to top of block for
27 getpwnam(3)/getgrnam(3).
28 * init/log.c:
29 - log_file_open(): Comments.
30 - log_file_write(): Added missing cast on
31 nih_io_buffer_shrink() call.
32 * init/main.c: console_type_setter(): NihOptionSetter's should
33 return 0 on success.
34 * init/man/init.5: lower-case all references to system jobs
35 and user jobs.
36 * init/tests/test_job_process.c: Add missing include for
37 fnmatch.h.
38
392011-12-15 James Hunt <james.hunt@ubuntu.com>
40
41 * init/tests/test_job_process.c: test_run():
42 - Ensure process group killed for multi-process shell scripts.
43 - Change 'command-not-found' tests to use regex matching rather
44 than literal to allow for minor differences in /bin/sh variants
45 error output.
46
472011-12-13 James Hunt <james.hunt@ubuntu.com>
48
49 * NEWS: Release 1.4
50 * configure.ac (NIH_COPYRIGHT): Update
51
522011-12-12 James Hunt <james.hunt@ubuntu.com>
53
54 Simplify logfile name encoding.
55
56 * init/job_process.c: job_process_log_path(): Ditch D-Bus job name
57 encoding in path names for saner approach that simply remaps slash
58 characters (minimal surprises for users).
59 * init/job_process.h: Addition of macros:
60 - JOB_PROCESS_LOG_FILE_EXT
61 - JOB_PROCESS_LOG_REMAP_FROM_CHAR
62 - JOB_PROCESS_LOG_REMAP_TO_CHAR
63 * init/man/init.5: Update console section for simplified log filename
64 encoding approach.
65 * init/test_job_process.c: test_log_path(): Updates for simplified
66 logfile name encoding.
67 * util/tests/test_user_sessions.sh: Updates for simplified
68 logfile name encoding: removed dbus_encode() and replaced with
69 upstart_encode().
70
712011-12-12 James Hunt <james.hunt@ubuntu.com>
72
73 * extra/man/upstart-udev-bridge.8:
74 - Added new '--no-strip' option.
75 - Added missing '--daemon', '--debug' and '--help' options.
76 * extra/upstart-udev-bridge.c:
77 XXX: Behavioural change: non-printable bytes are now removed
78 by default from all udev message data to handle buggy
79 hardware devices which expose this data to userland (the
80 kernel simply passes it through verbatim). To revert to old
81 behaviour (where no udev message data is modified), specify
82 the new '--no-strip' option (LP: #829980).
83 - make_safe_string(): New function to cleanse udev data.
84 - udev_monitor_watcher():
85 - Cleanse udev data unless '--no-strip' specified.
86 - Fixed possible crash should 'action' not be set.
87 - Fixed possible crash should 'devname' not be set
88 and '--debug' specified.
89
902011-12-09 James Hunt <james.hunt@ubuntu.com>
91
92 * Merge of 'setuid' + 'setgid' stanzas from
93 Evan Broder (lp:~broder/upstart/drop-privileges).
94
952011-12-09 James Hunt <james.hunt@ubuntu.com>
96
97 Introduction of 'log' argument to 'console' stanza allowing
98 system job output only to be captured.
99
100 * contrib/vim/syntax/upstart.vim: Added 'log' and missing
101 'none'.
102 * init/Makefile.am: Update for log.c, log.h and test_log.c.
103 * init/job.c: job_new(): Initialize log.
104 * init/job.h: Add Log pointer to Job.
105 * init/job_class.c:
106 - XXX: behaviour change: Default for 'console'
107 is now CONSOLE_LOG rather than CONSOLE_NONE.
108 Rationale is that if a job does produce output, you want to see
109 it since the chances are it will contain useful error details.
110 - Added default_console variable.
111 - job_class_console_type(): New function to parse console type
112 string.
113 * init/job_class.h:
114 - Added CONSOLE_LOG to ConsoleType and updated documentation
115 for ConsoleType.
116 - Added prototype for job_class_console_type().
117 * init/job_process.c:
118 - New log_dir and disable_job_logging variables.
119 - job_process_run(): Updated to reflect new parameter for
120 job_process_spawn().
121 - job_process_spawn(): Now accepts a Job rather than a
122 JobClass to allow job->log and class->console to be handled
123 appropriately. Now creates pty master and slave fds for
124 console logging. Simplified code for file descriptor
125 switching by using new job_process_remap_fd().
126 - job_process_error_read(): Added entries for:
127 - JOB_PROCESS_ERROR_OPENPT_MASTER
128 - JOB_PROCESS_ERROR_OPENPT_UNLOCKPT
129 - JOB_PROCESS_ERROR_PTSNAME
130 - JOB_PROCESS_ERROR_OPENPT_SLAVE
131 - job_process_log_path(): New function that returns full path to log
132 file for specified Job.
133 - job_process_remap_fd(): New function to ensure file
134 descriptors do not collide.
135 * init/job_process.h:
136 - Updated JobProcessErrorType with new entries:
137 - JOB_PROCESS_ERROR_OPENPT_MASTER
138 - JOB_PROCESS_ERROR_OPENPT_UNLOCKPT
139 - JOB_PROCESS_ERROR_PTSNAME
140 - JOB_PROCESS_ERROR_OPENPT_SLAVE
141 - job_process_spawn(): Updated prototype.
142 - job_process_log_path(): Added prototype.
143 * init/main.c:
144 - handle_logdir(): New function for overriding log directory.
145 - console_type_setter(): New Function to handle selection of
146 default console value.
147 - Added following command-line options:
148 - '--default-console'
149 - '--logdir'
150 - '--no-log'
151 * init/man/init.5:
152 - Update and restructure of section on 'console' stanza.
153 - Added a FILES section.
154 * init/man/init.8: Updated with details of new options:
155 - '--default-console'
156 - '--logdir'
157 - '--no-log'
158 * init/parse_job.c: stanza_console(): Updated for "log".
159 * init/paths.h: Added defines for JOB_LOGDIR and LOGDIR_ENV.
160 * init/session.c:
161 - Added missing function headers.
162 * init/system.c: system_setup_console(): Update for CONSOLE_LOG.
163 * init/test_conf.c:
164 - TEST_FORCE_WATCH_UPDATE(): Removed debug.
165 - test_override(): Removed erroneous comment.
166 - test_select_job(): Added variable attributes to keep gcc 4.6 happy.
167 * init/test_event.c: Explicitly set console type to CONSOLE_NONE to
168 retain behaviour of existing tests.
169 * init/test_job.c:
170 - test_job_new(): Ensure log object not created on Job instantiation.
171 - test_change_state(): Explicitly set console type to CONSOLE_NONE to
172 retain behaviour of existing tests.
173 * init/test_job_class.c:
174 - test_new(): Ensure console type now defaults to CONSOLE_LOG.
175 - Explicitly set console type to CONSOLE_NONE to retain behaviour of
176 existing tests.
177 * init/test_job_process.c:
178 - Added various new macros to simplify test code.
179 - child(): New child_tests added for TEST_OUTPUT and TEST_SIGNALS.
180 - get_available_pty_count(): New function.
181 - Explicitly set console type to CONSOLE_NONE to retain behaviour of
182 existing tests.
183 - test_run(): Added new tests for CONSOLE_LOG.
184 - test_spawn(): Added new tests for CONSOLE_LOG.
185 - test_log_path(): New function.
186 - test_handler(): Added UPSTART_LOGDIR support to
187 - main():
188 - Update to allow number of forks to be specified when run as a child
189 process.
190 - Added call to test_log_path().
191 - initialize various subsystems since before, functions run from
192 main() had to be run in the order specified and exactly as listed
193 (certain tests relied on previous tests initializing a subsystem
194 which gives unexpected results and thus confusing behaviour
195 if the order of tests is changed).
196 * init/test_parse_job.c: Added new test to test_stanza_console() for
197 "console log".
198 * util/tests/test_user_sessions.sh: Added tests for job logging
199 to ensure no unexpected output recorded for user jobs.
200
2012011-08-11 Scott James Remnant <keybuk@google.com>
202
203 * init/job_process.c (job_process_spawn): Can't return on
204 dup2() error, we're in the child. Return an error back to
205 the child properly.
206
207 * init/job_process.c (job_process_spawn), init/main.c: error
208 should be ENOENT
209
210 * init/job_class.c, init/job_class.h: Move constants into the
211 header file so they can be found from other source files.
212 * init/job_process.c (job_process_spawn): Only adjust the OOM
213 score if it isn't the default
214 * init/main.c: Apply the default OOM score to the init process
215 itself.
216
217 * init/main.c: Deal with failure to setup the system console by
218 falling back to /dev/null, so we don't end up without default fds
219 and castrate the process.
220
2212011-08-10 Scott James Remnant <keybuk@google.com>
222
223 * init/job_class.c (job_class_new): nit, use #defines for the default
224 nice level and oom score adjustment.
12011-07-25 James Hunt <james.hunt@ubuntu.com>2252011-07-25 James Hunt <james.hunt@ubuntu.com>
2226
3 * init/job_process.c: job_process_spawn():227 * init/job_process.c: job_process_spawn():
4228
=== modified file 'Makefile.am'
--- Makefile.am 2011-06-16 14:39:55 +0000
+++ Makefile.am 2011-12-22 16:57:26 +0000
@@ -2,6 +2,6 @@
22
3SUBDIRS = intl dbus init util extra conf doc contrib po scripts3SUBDIRS = intl dbus init util extra conf doc contrib po scripts
44
5EXTRA_DIST = HACKING5EXTRA_DIST = HACKING TESTING.sessions
66
7ACLOCAL_AMFLAGS = --install -I m47ACLOCAL_AMFLAGS = --install -I m4
88
=== modified file 'Makefile.in'
--- Makefile.in 2011-05-25 19:25:11 +0000
+++ Makefile.in 2011-12-22 16:57:26 +0000
@@ -150,6 +150,7 @@
150DBUS_LIBS = @DBUS_LIBS@150DBUS_LIBS = @DBUS_LIBS@
151DEFS = @DEFS@151DEFS = @DEFS@
152DEPDIR = @DEPDIR@152DEPDIR = @DEPDIR@
153DLLTOOL = @DLLTOOL@
153DSYMUTIL = @DSYMUTIL@154DSYMUTIL = @DSYMUTIL@
154DUMPBIN = @DUMPBIN@155DUMPBIN = @DUMPBIN@
155ECHO_C = @ECHO_C@156ECHO_C = @ECHO_C@
@@ -203,6 +204,7 @@
203LTLIBTHREAD = @LTLIBTHREAD@204LTLIBTHREAD = @LTLIBTHREAD@
204MAINT = @MAINT@205MAINT = @MAINT@
205MAKEINFO = @MAKEINFO@206MAKEINFO = @MAKEINFO@
207MANIFEST_TOOL = @MANIFEST_TOOL@
206MKDIR_P = @MKDIR_P@208MKDIR_P = @MKDIR_P@
207MSGFMT = @MSGFMT@209MSGFMT = @MSGFMT@
208MSGFMT_015 = @MSGFMT_015@210MSGFMT_015 = @MSGFMT_015@
@@ -252,6 +254,7 @@
252abs_srcdir = @abs_srcdir@254abs_srcdir = @abs_srcdir@
253abs_top_builddir = @abs_top_builddir@255abs_top_builddir = @abs_top_builddir@
254abs_top_srcdir = @abs_top_srcdir@256abs_top_srcdir = @abs_top_srcdir@
257ac_ct_AR = @ac_ct_AR@
255ac_ct_CC = @ac_ct_CC@258ac_ct_CC = @ac_ct_CC@
256ac_ct_DUMPBIN = @ac_ct_DUMPBIN@259ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
257am__include = @am__include@260am__include = @am__include@
@@ -284,7 +287,6 @@
284libexecdir = @libexecdir@287libexecdir = @libexecdir@
285localedir = @localedir@288localedir = @localedir@
286localstatedir = @localstatedir@289localstatedir = @localstatedir@
287lt_ECHO = @lt_ECHO@
288mandir = @mandir@290mandir = @mandir@
289mkdir_p = @mkdir_p@291mkdir_p = @mkdir_p@
290oldincludedir = @oldincludedir@292oldincludedir = @oldincludedir@
@@ -301,7 +303,7 @@
301top_builddir = @top_builddir@303top_builddir = @top_builddir@
302top_srcdir = @top_srcdir@304top_srcdir = @top_srcdir@
303SUBDIRS = intl dbus init util extra conf doc contrib po scripts305SUBDIRS = intl dbus init util extra conf doc contrib po scripts
304EXTRA_DIST = HACKING306EXTRA_DIST = HACKING TESTING.sessions
305ACLOCAL_AMFLAGS = --install -I m4307ACLOCAL_AMFLAGS = --install -I m4
306all: config.h308all: config.h
307 $(MAKE) $(AM_MAKEFLAGS) all-recursive309 $(MAKE) $(AM_MAKEFLAGS) all-recursive
308310
=== modified file 'NEWS'
--- NEWS 2011-08-10 21:47:03 +0000
+++ NEWS 2011-12-22 16:57:26 +0000
@@ -1,4 +1,16 @@
11.4 xxxx-xx-xx11.4 2011-12-13 "Let them speak"
2
3 * Improved console setting.
4 * New "log" argument to console stanza allowing a system jobs
5 stdout/stderr to be captured to a file. New options added to
6 support this feature: '--default-console', '--logdir',
7 '--no-log'. This feature only currently applies to system jobs:
8 user jobs which specify "console log" will be treated as if they
9 had specified "console none".
10 * New "setuid" and "setgid" stanzas to allow system jobs to be run
11 under the specified uid/gid corresponding to the given name/group.
12 * Improvements to upstart-udev-bridge to handle problematic hardware
13 (such as some batteries) which pass non-printable bytes to userspace.
214
31.3 2011-06-14 "Concordia"151.3 2011-06-14 "Concordia"
416
517
=== modified file 'aclocal.m4'
--- aclocal.m4 2010-12-14 17:15:57 +0000
+++ aclocal.m4 2011-12-22 16:57:26 +0000
@@ -13,8 +13,8 @@
1313
14m4_ifndef([AC_AUTOCONF_VERSION],14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17[m4_warning([this file was generated for autoconf 2.67.17[m4_warning([this file was generated for autoconf 2.68.
18You have another version of autoconf. It may work, but is not guaranteed to.18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])20To do so, use the procedure documented by the package, typically `autoreconf'.])])
2121
=== modified file 'conf/Makefile.in'
--- conf/Makefile.in 2011-05-25 19:25:11 +0000
+++ conf/Makefile.in 2011-12-22 16:57:26 +0000
@@ -118,6 +118,7 @@
118DBUS_LIBS = @DBUS_LIBS@118DBUS_LIBS = @DBUS_LIBS@
119DEFS = @DEFS@119DEFS = @DEFS@
120DEPDIR = @DEPDIR@120DEPDIR = @DEPDIR@
121DLLTOOL = @DLLTOOL@
121DSYMUTIL = @DSYMUTIL@122DSYMUTIL = @DSYMUTIL@
122DUMPBIN = @DUMPBIN@123DUMPBIN = @DUMPBIN@
123ECHO_C = @ECHO_C@124ECHO_C = @ECHO_C@
@@ -171,6 +172,7 @@
171LTLIBTHREAD = @LTLIBTHREAD@172LTLIBTHREAD = @LTLIBTHREAD@
172MAINT = @MAINT@173MAINT = @MAINT@
173MAKEINFO = @MAKEINFO@174MAKEINFO = @MAKEINFO@
175MANIFEST_TOOL = @MANIFEST_TOOL@
174MKDIR_P = @MKDIR_P@176MKDIR_P = @MKDIR_P@
175MSGFMT = @MSGFMT@177MSGFMT = @MSGFMT@
176MSGFMT_015 = @MSGFMT_015@178MSGFMT_015 = @MSGFMT_015@
@@ -220,6 +222,7 @@
220abs_srcdir = @abs_srcdir@222abs_srcdir = @abs_srcdir@
221abs_top_builddir = @abs_top_builddir@223abs_top_builddir = @abs_top_builddir@
222abs_top_srcdir = @abs_top_srcdir@224abs_top_srcdir = @abs_top_srcdir@
225ac_ct_AR = @ac_ct_AR@
223ac_ct_CC = @ac_ct_CC@226ac_ct_CC = @ac_ct_CC@
224ac_ct_DUMPBIN = @ac_ct_DUMPBIN@227ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
225am__include = @am__include@228am__include = @am__include@
@@ -252,7 +255,6 @@
252libexecdir = @libexecdir@255libexecdir = @libexecdir@
253localedir = @localedir@256localedir = @localedir@
254localstatedir = @localstatedir@257localstatedir = @localstatedir@
255lt_ECHO = @lt_ECHO@
256mandir = @mandir@258mandir = @mandir@
257mkdir_p = @mkdir_p@259mkdir_p = @mkdir_p@
258oldincludedir = @oldincludedir@260oldincludedir = @oldincludedir@
259261
=== modified file 'config.guess'
--- config.guess 2010-12-14 17:02:22 +0000
+++ config.guess 2011-12-22 16:57:26 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 20104# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# Free Software Foundation, Inc.5# 2011 Free Software Foundation, Inc.
66
7timestamp='2009-12-30'7timestamp='2011-05-11'
88
9# This file is free software; you can redistribute it and/or modify it9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by10# under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@
5757
58Originally written by Per Bothner.58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
61Software Foundation, Inc.61Software Foundation, Inc.
6262
63This is free software; see the source for copying conditions. There is NO63This is free software; see the source for copying conditions. There is NO
@@ -181,7 +181,7 @@
181 fi181 fi
182 ;;182 ;;
183 *)183 *)
184 os=netbsd184 os=netbsd
185 ;;185 ;;
186 esac186 esac
187 # The OS release187 # The OS release
@@ -224,7 +224,7 @@
224 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`224 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225 ;;225 ;;
226 *5.*)226 *5.*)
227 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`227 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
228 ;;228 ;;
229 esac229 esac
230 # According to Compaq, /usr/sbin/psrinfo has been available on230 # According to Compaq, /usr/sbin/psrinfo has been available on
@@ -270,7 +270,10 @@
270 # A Xn.n version is an unreleased experimental baselevel.270 # A Xn.n version is an unreleased experimental baselevel.
271 # 1.2 uses "1.2" for uname -r.271 # 1.2 uses "1.2" for uname -r.
272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
273 exit ;;273 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
274 exitcode=$?
275 trap '' 0
276 exit $exitcode ;;
274 Alpha\ *:Windows_NT*:*)277 Alpha\ *:Windows_NT*:*)
275 # How do we know it's Interix rather than the generic POSIX subsystem?278 # How do we know it's Interix rather than the generic POSIX subsystem?
276 # Should we change UNAME_MACHINE based on the output of uname instead279 # Should we change UNAME_MACHINE based on the output of uname instead
@@ -296,7 +299,7 @@
296 echo s390-ibm-zvmoe299 echo s390-ibm-zvmoe
297 exit ;;300 exit ;;
298 *:OS400:*:*)301 *:OS400:*:*)
299 echo powerpc-ibm-os400302 echo powerpc-ibm-os400
300 exit ;;303 exit ;;
301 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)304 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
302 echo arm-acorn-riscix${UNAME_RELEASE}305 echo arm-acorn-riscix${UNAME_RELEASE}
@@ -395,23 +398,23 @@
395 # MiNT. But MiNT is downward compatible to TOS, so this should398 # MiNT. But MiNT is downward compatible to TOS, so this should
396 # be no problem.399 # be no problem.
397 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)400 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
398 echo m68k-atari-mint${UNAME_RELEASE}401 echo m68k-atari-mint${UNAME_RELEASE}
399 exit ;;402 exit ;;
400 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)403 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
401 echo m68k-atari-mint${UNAME_RELEASE}404 echo m68k-atari-mint${UNAME_RELEASE}
402 exit ;;405 exit ;;
403 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)406 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
404 echo m68k-atari-mint${UNAME_RELEASE}407 echo m68k-atari-mint${UNAME_RELEASE}
405 exit ;;408 exit ;;
406 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)409 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
407 echo m68k-milan-mint${UNAME_RELEASE}410 echo m68k-milan-mint${UNAME_RELEASE}
408 exit ;;411 exit ;;
409 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)412 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
410 echo m68k-hades-mint${UNAME_RELEASE}413 echo m68k-hades-mint${UNAME_RELEASE}
411 exit ;;414 exit ;;
412 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)415 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
413 echo m68k-unknown-mint${UNAME_RELEASE}416 echo m68k-unknown-mint${UNAME_RELEASE}
414 exit ;;417 exit ;;
415 m68k:machten:*:*)418 m68k:machten:*:*)
416 echo m68k-apple-machten${UNAME_RELEASE}419 echo m68k-apple-machten${UNAME_RELEASE}
417 exit ;;420 exit ;;
@@ -481,8 +484,8 @@
481 echo m88k-motorola-sysv3484 echo m88k-motorola-sysv3
482 exit ;;485 exit ;;
483 AViiON:dgux:*:*)486 AViiON:dgux:*:*)
484 # DG/UX returns AViiON for all architectures487 # DG/UX returns AViiON for all architectures
485 UNAME_PROCESSOR=`/usr/bin/uname -p`488 UNAME_PROCESSOR=`/usr/bin/uname -p`
486 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]489 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
487 then490 then
488 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \491 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -495,7 +498,7 @@
495 else498 else
496 echo i586-dg-dgux${UNAME_RELEASE}499 echo i586-dg-dgux${UNAME_RELEASE}
497 fi500 fi
498 exit ;;501 exit ;;
499 M88*:DolphinOS:*:*) # DolphinOS (SVR3)502 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
500 echo m88k-dolphin-sysv3503 echo m88k-dolphin-sysv3
501 exit ;;504 exit ;;
@@ -552,7 +555,7 @@
552 echo rs6000-ibm-aix3.2555 echo rs6000-ibm-aix3.2
553 fi556 fi
554 exit ;;557 exit ;;
555 *:AIX:*:[456])558 *:AIX:*:[4567])
556 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`559 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
557 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then560 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
558 IBM_ARCH=rs6000561 IBM_ARCH=rs6000
@@ -595,52 +598,52 @@
595 9000/[678][0-9][0-9])598 9000/[678][0-9][0-9])
596 if [ -x /usr/bin/getconf ]; then599 if [ -x /usr/bin/getconf ]; then
597 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`600 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
598 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`601 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
599 case "${sc_cpu_version}" in602 case "${sc_cpu_version}" in
600 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0603 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
601 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1604 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
602 532) # CPU_PA_RISC2_0605 532) # CPU_PA_RISC2_0
603 case "${sc_kernel_bits}" in606 case "${sc_kernel_bits}" in
604 32) HP_ARCH="hppa2.0n" ;;607 32) HP_ARCH="hppa2.0n" ;;
605 64) HP_ARCH="hppa2.0w" ;;608 64) HP_ARCH="hppa2.0w" ;;
606 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20609 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
607 esac ;;610 esac ;;
608 esac611 esac
609 fi612 fi
610 if [ "${HP_ARCH}" = "" ]; then613 if [ "${HP_ARCH}" = "" ]; then
611 eval $set_cc_for_build614 eval $set_cc_for_build
612 sed 's/^ //' << EOF >$dummy.c615 sed 's/^ //' << EOF >$dummy.c
613616
614 #define _HPUX_SOURCE617 #define _HPUX_SOURCE
615 #include <stdlib.h>618 #include <stdlib.h>
616 #include <unistd.h>619 #include <unistd.h>
617620
618 int main ()621 int main ()
619 {622 {
620 #if defined(_SC_KERNEL_BITS)623 #if defined(_SC_KERNEL_BITS)
621 long bits = sysconf(_SC_KERNEL_BITS);624 long bits = sysconf(_SC_KERNEL_BITS);
622 #endif625 #endif
623 long cpu = sysconf (_SC_CPU_VERSION);626 long cpu = sysconf (_SC_CPU_VERSION);
624627
625 switch (cpu)628 switch (cpu)
626 {629 {
627 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;630 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
628 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;631 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
629 case CPU_PA_RISC2_0:632 case CPU_PA_RISC2_0:
630 #if defined(_SC_KERNEL_BITS)633 #if defined(_SC_KERNEL_BITS)
631 switch (bits)634 switch (bits)
632 {635 {
633 case 64: puts ("hppa2.0w"); break;636 case 64: puts ("hppa2.0w"); break;
634 case 32: puts ("hppa2.0n"); break;637 case 32: puts ("hppa2.0n"); break;
635 default: puts ("hppa2.0"); break;638 default: puts ("hppa2.0"); break;
636 } break;639 } break;
637 #else /* !defined(_SC_KERNEL_BITS) */640 #else /* !defined(_SC_KERNEL_BITS) */
638 puts ("hppa2.0"); break;641 puts ("hppa2.0"); break;
639 #endif642 #endif
640 default: puts ("hppa1.0"); break;643 default: puts ("hppa1.0"); break;
641 }644 }
642 exit (0);645 exit (0);
643 }646 }
644EOF647EOF
645 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`648 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
646 test -z "$HP_ARCH" && HP_ARCH=hppa649 test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -731,22 +734,22 @@
731 exit ;;734 exit ;;
732 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)735 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
733 echo c1-convex-bsd736 echo c1-convex-bsd
734 exit ;;737 exit ;;
735 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)738 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
736 if getsysinfo -f scalar_acc739 if getsysinfo -f scalar_acc
737 then echo c32-convex-bsd740 then echo c32-convex-bsd
738 else echo c2-convex-bsd741 else echo c2-convex-bsd
739 fi742 fi
740 exit ;;743 exit ;;
741 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)744 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
742 echo c34-convex-bsd745 echo c34-convex-bsd
743 exit ;;746 exit ;;
744 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)747 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
745 echo c38-convex-bsd748 echo c38-convex-bsd
746 exit ;;749 exit ;;
747 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)750 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
748 echo c4-convex-bsd751 echo c4-convex-bsd
749 exit ;;752 exit ;;
750 CRAY*Y-MP:*:*:*)753 CRAY*Y-MP:*:*:*)
751 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'754 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
752 exit ;;755 exit ;;
@@ -770,14 +773,14 @@
770 exit ;;773 exit ;;
771 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)774 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
772 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`775 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
773 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`776 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
774 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`777 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
775 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"778 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
776 exit ;;779 exit ;;
777 5000:UNIX_System_V:4.*:*)780 5000:UNIX_System_V:4.*:*)
778 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`781 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
779 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`782 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
780 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"783 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
781 exit ;;784 exit ;;
782 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)785 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
783 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}786 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -805,14 +808,14 @@
805 echo ${UNAME_MACHINE}-pc-mingw32808 echo ${UNAME_MACHINE}-pc-mingw32
806 exit ;;809 exit ;;
807 i*:windows32*:*)810 i*:windows32*:*)
808 # uname -m includes "-pc" on this system.811 # uname -m includes "-pc" on this system.
809 echo ${UNAME_MACHINE}-mingw32812 echo ${UNAME_MACHINE}-mingw32
810 exit ;;813 exit ;;
811 i*:PW*:*)814 i*:PW*:*)
812 echo ${UNAME_MACHINE}-pc-pw32815 echo ${UNAME_MACHINE}-pc-pw32
813 exit ;;816 exit ;;
814 *:Interix*:*)817 *:Interix*:*)
815 case ${UNAME_MACHINE} in818 case ${UNAME_MACHINE} in
816 x86)819 x86)
817 echo i586-pc-interix${UNAME_RELEASE}820 echo i586-pc-interix${UNAME_RELEASE}
818 exit ;;821 exit ;;
@@ -867,7 +870,7 @@
867 EV6) UNAME_MACHINE=alphaev6 ;;870 EV6) UNAME_MACHINE=alphaev6 ;;
868 EV67) UNAME_MACHINE=alphaev67 ;;871 EV67) UNAME_MACHINE=alphaev67 ;;
869 EV68*) UNAME_MACHINE=alphaev68 ;;872 EV68*) UNAME_MACHINE=alphaev68 ;;
870 esac873 esac
871 objdump --private-headers /bin/sh | grep -q ld.so.1874 objdump --private-headers /bin/sh | grep -q ld.so.1
872 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi875 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
873 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}876 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
@@ -879,7 +882,13 @@
879 then882 then
880 echo ${UNAME_MACHINE}-unknown-linux-gnu883 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 else884 else
882 echo ${UNAME_MACHINE}-unknown-linux-gnueabi885 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
886 | grep -q __ARM_PCS_VFP
887 then
888 echo ${UNAME_MACHINE}-unknown-linux-gnueabi
889 else
890 echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
891 fi
883 fi892 fi
884 exit ;;893 exit ;;
885 avr32*:Linux:*:*)894 avr32*:Linux:*:*)
@@ -892,7 +901,7 @@
892 echo crisv32-axis-linux-gnu901 echo crisv32-axis-linux-gnu
893 exit ;;902 exit ;;
894 frv:Linux:*:*)903 frv:Linux:*:*)
895 echo frv-unknown-linux-gnu904 echo frv-unknown-linux-gnu
896 exit ;;905 exit ;;
897 i*86:Linux:*:*)906 i*86:Linux:*:*)
898 LIBC=gnu907 LIBC=gnu
@@ -960,7 +969,7 @@
960 echo ${UNAME_MACHINE}-ibm-linux969 echo ${UNAME_MACHINE}-ibm-linux
961 exit ;;970 exit ;;
962 sh64*:Linux:*:*)971 sh64*:Linux:*:*)
963 echo ${UNAME_MACHINE}-unknown-linux-gnu972 echo ${UNAME_MACHINE}-unknown-linux-gnu
964 exit ;;973 exit ;;
965 sh*:Linux:*:*)974 sh*:Linux:*:*)
966 echo ${UNAME_MACHINE}-unknown-linux-gnu975 echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -968,6 +977,9 @@
968 sparc:Linux:*:* | sparc64:Linux:*:*)977 sparc:Linux:*:* | sparc64:Linux:*:*)
969 echo ${UNAME_MACHINE}-unknown-linux-gnu978 echo ${UNAME_MACHINE}-unknown-linux-gnu
970 exit ;;979 exit ;;
980 tile*:Linux:*:*)
981 echo ${UNAME_MACHINE}-tilera-linux-gnu
982 exit ;;
971 vax:Linux:*:*)983 vax:Linux:*:*)
972 echo ${UNAME_MACHINE}-dec-linux-gnu984 echo ${UNAME_MACHINE}-dec-linux-gnu
973 exit ;;985 exit ;;
@@ -975,7 +987,7 @@
975 echo x86_64-unknown-linux-gnu987 echo x86_64-unknown-linux-gnu
976 exit ;;988 exit ;;
977 xtensa*:Linux:*:*)989 xtensa*:Linux:*:*)
978 echo ${UNAME_MACHINE}-unknown-linux-gnu990 echo ${UNAME_MACHINE}-unknown-linux-gnu
979 exit ;;991 exit ;;
980 i*86:DYNIX/ptx:4*:*)992 i*86:DYNIX/ptx:4*:*)
981 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.993 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -984,11 +996,11 @@
984 echo i386-sequent-sysv4996 echo i386-sequent-sysv4
985 exit ;;997 exit ;;
986 i*86:UNIX_SV:4.2MP:2.*)998 i*86:UNIX_SV:4.2MP:2.*)
987 # Unixware is an offshoot of SVR4, but it has its own version999 # Unixware is an offshoot of SVR4, but it has its own version
988 # number series starting with 2...1000 # number series starting with 2...
989 # I am not positive that other SVR4 systems won't match this,1001 # I am not positive that other SVR4 systems won't match this,
990 # I just have to hope. -- rms.1002 # I just have to hope. -- rms.
991 # Use sysv4.2uw... so that sysv4* matches it.1003 # Use sysv4.2uw... so that sysv4* matches it.
992 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}1004 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
993 exit ;;1005 exit ;;
994 i*86:OS/2:*:*)1006 i*86:OS/2:*:*)
@@ -1020,7 +1032,7 @@
1020 fi1032 fi
1021 exit ;;1033 exit ;;
1022 i*86:*:5:[678]*)1034 i*86:*:5:[678]*)
1023 # UnixWare 7.x, OpenUNIX and OpenServer 6.1035 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1024 case `/bin/uname -X | grep "^Machine"` in1036 case `/bin/uname -X | grep "^Machine"` in
1025 *486*) UNAME_MACHINE=i486 ;;1037 *486*) UNAME_MACHINE=i486 ;;
1026 *Pentium) UNAME_MACHINE=i586 ;;1038 *Pentium) UNAME_MACHINE=i586 ;;
@@ -1048,13 +1060,13 @@
1048 exit ;;1060 exit ;;
1049 pc:*:*:*)1061 pc:*:*:*)
1050 # Left here for compatibility:1062 # Left here for compatibility:
1051 # uname -m prints for DJGPP always 'pc', but it prints nothing about1063 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1052 # the processor, so we play safe by assuming i586.1064 # the processor, so we play safe by assuming i586.
1053 # Note: whatever this is, it MUST be the same as what config.sub1065 # Note: whatever this is, it MUST be the same as what config.sub
1054 # prints for the "djgpp" host, or else GDB configury will decide that1066 # prints for the "djgpp" host, or else GDB configury will decide that
1055 # this is a cross-build.1067 # this is a cross-build.
1056 echo i586-pc-msdosdjgpp1068 echo i586-pc-msdosdjgpp
1057 exit ;;1069 exit ;;
1058 Intel:Mach:3*:*)1070 Intel:Mach:3*:*)
1059 echo i386-pc-mach31071 echo i386-pc-mach3
1060 exit ;;1072 exit ;;
@@ -1089,8 +1101,8 @@
1089 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \1101 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1090 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;1102 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1091 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)1103 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1092 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \1104 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1093 && { echo i486-ncr-sysv4; exit; } ;;1105 && { echo i486-ncr-sysv4; exit; } ;;
1094 NCR*:*:4.2:* | MPRAS*:*:4.2:*)1106 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1095 OS_REL='.3'1107 OS_REL='.3'
1096 test -r /etc/.relid \1108 test -r /etc/.relid \
@@ -1133,10 +1145,10 @@
1133 echo ns32k-sni-sysv1145 echo ns32k-sni-sysv
1134 fi1146 fi
1135 exit ;;1147 exit ;;
1136 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort1148 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1137 # says <Richard.M.Bartel@ccMail.Census.GOV>1149 # says <Richard.M.Bartel@ccMail.Census.GOV>
1138 echo i586-unisys-sysv41150 echo i586-unisys-sysv4
1139 exit ;;1151 exit ;;
1140 *:UNIX_System_V:4*:FTX*)1152 *:UNIX_System_V:4*:FTX*)
1141 # From Gerald Hewes <hewes@openmarket.com>.1153 # From Gerald Hewes <hewes@openmarket.com>.
1142 # How about differentiating between stratus architectures? -djm1154 # How about differentiating between stratus architectures? -djm
@@ -1162,11 +1174,11 @@
1162 exit ;;1174 exit ;;
1163 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)1175 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1164 if [ -d /usr/nec ]; then1176 if [ -d /usr/nec ]; then
1165 echo mips-nec-sysv${UNAME_RELEASE}1177 echo mips-nec-sysv${UNAME_RELEASE}
1166 else1178 else
1167 echo mips-unknown-sysv${UNAME_RELEASE}1179 echo mips-unknown-sysv${UNAME_RELEASE}
1168 fi1180 fi
1169 exit ;;1181 exit ;;
1170 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.1182 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1171 echo powerpc-be-beos1183 echo powerpc-be-beos
1172 exit ;;1184 exit ;;
@@ -1231,6 +1243,9 @@
1231 *:QNX:*:4*)1243 *:QNX:*:4*)
1232 echo i386-pc-qnx1244 echo i386-pc-qnx
1233 exit ;;1245 exit ;;
1246 NEO-?:NONSTOP_KERNEL:*:*)
1247 echo neo-tandem-nsk${UNAME_RELEASE}
1248 exit ;;
1234 NSE-?:NONSTOP_KERNEL:*:*)1249 NSE-?:NONSTOP_KERNEL:*:*)
1235 echo nse-tandem-nsk${UNAME_RELEASE}1250 echo nse-tandem-nsk${UNAME_RELEASE}
1236 exit ;;1251 exit ;;
@@ -1276,13 +1291,13 @@
1276 echo pdp10-unknown-its1291 echo pdp10-unknown-its
1277 exit ;;1292 exit ;;
1278 SEI:*:*:SEIUX)1293 SEI:*:*:SEIUX)
1279 echo mips-sei-seiux${UNAME_RELEASE}1294 echo mips-sei-seiux${UNAME_RELEASE}
1280 exit ;;1295 exit ;;
1281 *:DragonFly:*:*)1296 *:DragonFly:*:*)
1282 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`1297 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1283 exit ;;1298 exit ;;
1284 *:*VMS:*:*)1299 *:*VMS:*:*)
1285 UNAME_MACHINE=`(uname -p) 2>/dev/null`1300 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1286 case "${UNAME_MACHINE}" in1301 case "${UNAME_MACHINE}" in
1287 A*) echo alpha-dec-vms ; exit ;;1302 A*) echo alpha-dec-vms ; exit ;;
1288 I*) echo ia64-dec-vms ; exit ;;1303 I*) echo ia64-dec-vms ; exit ;;
@@ -1322,11 +1337,11 @@
1322#include <sys/param.h>1337#include <sys/param.h>
1323 printf ("m68k-sony-newsos%s\n",1338 printf ("m68k-sony-newsos%s\n",
1324#ifdef NEWSOS41339#ifdef NEWSOS4
1325 "4"1340 "4"
1326#else1341#else
1327 ""1342 ""
1328#endif1343#endif
1329 ); exit (0);1344 ); exit (0);
1330#endif1345#endif
1331#endif1346#endif
13321347
13331348
=== modified file 'config.sub'
--- config.sub 2010-12-14 17:02:22 +0000
+++ config.sub 2011-12-22 16:57:26 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 20104# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# Free Software Foundation, Inc.5# 2011 Free Software Foundation, Inc.
66
7timestamp='2010-01-22'7timestamp='2011-03-23'
88
9# This file is (in principle) common to ALL GNU software.9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software10# The presence of a machine in this file suggests that SOME GNU software
@@ -76,7 +76,7 @@
76GNU config.sub ($timestamp)76GNU config.sub ($timestamp)
7777
78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
80Software Foundation, Inc.80Software Foundation, Inc.
8181
82This is free software; see the source for copying conditions. There is NO82This is free software; see the source for copying conditions. There is NO
@@ -124,8 +124,9 @@
124# Here we must recognize all the valid KERNEL-OS combinations.124# Here we must recognize all the valid KERNEL-OS combinations.
125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`125maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
126case $maybe_os in126case $maybe_os in
127 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
128 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129 knetbsd*-gnu* | netbsd*-gnu* | \
129 kopensolaris*-gnu* | \130 kopensolaris*-gnu* | \
130 storm-chaos* | os2-emx* | rtmk-nova*)131 storm-chaos* | os2-emx* | rtmk-nova*)
131 os=-$maybe_os132 os=-$maybe_os
@@ -157,8 +158,8 @@
157 os=158 os=
158 basic_machine=$1159 basic_machine=$1
159 ;;160 ;;
160 -bluegene*)161 -bluegene*)
161 os=-cnk162 os=-cnk
162 ;;163 ;;
163 -sim | -cisco | -oki | -wec | -winbond)164 -sim | -cisco | -oki | -wec | -winbond)
164 os=165 os=
@@ -174,10 +175,10 @@
174 os=-chorusos175 os=-chorusos
175 basic_machine=$1176 basic_machine=$1
176 ;;177 ;;
177 -chorusrdb)178 -chorusrdb)
178 os=-chorusrdb179 os=-chorusrdb
179 basic_machine=$1180 basic_machine=$1
180 ;;181 ;;
181 -hiux*)182 -hiux*)
182 os=-hiuxwe2183 os=-hiuxwe2
183 ;;184 ;;
@@ -282,11 +283,13 @@
282 | moxie \283 | moxie \
283 | mt \284 | mt \
284 | msp430 \285 | msp430 \
286 | nds32 | nds32le | nds32be \
285 | nios | nios2 \287 | nios | nios2 \
286 | ns16k | ns32k \288 | ns16k | ns32k \
289 | open8 \
287 | or32 \290 | or32 \
288 | pdp10 | pdp11 | pj | pjl \291 | pdp10 | pdp11 | pj | pjl \
289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \292 | powerpc | powerpc64 | powerpc64le | powerpcle \
290 | pyramid \293 | pyramid \
291 | rx \294 | rx \
292 | score \295 | score \
@@ -294,15 +297,24 @@
294 | sh64 | sh64le \297 | sh64 | sh64le \
295 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \298 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \299 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
297 | spu | strongarm \300 | spu \
298 | tahoe | thumb | tic4x | tic80 | tron \301 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
299 | ubicom32 \302 | ubicom32 \
300 | v850 | v850e \303 | v850 | v850e \
301 | we32k \304 | we32k \
302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \305 | x86 | xc16x | xstormy16 | xtensa \
303 | z8k | z80)306 | z8k | z80)
304 basic_machine=$basic_machine-unknown307 basic_machine=$basic_machine-unknown
305 ;;308 ;;
309 c54x)
310 basic_machine=tic54x-unknown
311 ;;
312 c55x)
313 basic_machine=tic55x-unknown
314 ;;
315 c6x)
316 basic_machine=tic6x-unknown
317 ;;
306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)318 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
307 # Motorola 68HC11/12.319 # Motorola 68HC11/12.
308 basic_machine=$basic_machine-unknown320 basic_machine=$basic_machine-unknown
@@ -314,6 +326,18 @@
314 basic_machine=mt-unknown326 basic_machine=mt-unknown
315 ;;327 ;;
316328
329 strongarm | thumb | xscale)
330 basic_machine=arm-unknown
331 ;;
332
333 xscaleeb)
334 basic_machine=armeb-unknown
335 ;;
336
337 xscaleel)
338 basic_machine=armel-unknown
339 ;;
340
317 # We use `pc' rather than `unknown'341 # We use `pc' rather than `unknown'
318 # because (1) that's what they normally are, and342 # because (1) that's what they normally are, and
319 # (2) the word "unknown" tends to confuse beginning users.343 # (2) the word "unknown" tends to confuse beginning users.
@@ -334,7 +358,7 @@
334 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \358 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
335 | avr-* | avr32-* \359 | avr-* | avr32-* \
336 | bfin-* | bs2000-* \360 | bfin-* | bs2000-* \
337 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \361 | c[123]* | c30-* | [cjt]90-* | c4x-* \
338 | clipper-* | craynv-* | cydra-* \362 | clipper-* | craynv-* | cydra-* \
339 | d10v-* | d30v-* | dlx-* \363 | d10v-* | d30v-* | dlx-* \
340 | elxsi-* \364 | elxsi-* \
@@ -368,26 +392,28 @@
368 | mmix-* \392 | mmix-* \
369 | mt-* \393 | mt-* \
370 | msp430-* \394 | msp430-* \
395 | nds32-* | nds32le-* | nds32be-* \
371 | nios-* | nios2-* \396 | nios-* | nios2-* \
372 | none-* | np1-* | ns16k-* | ns32k-* \397 | none-* | np1-* | ns16k-* | ns32k-* \
398 | open8-* \
373 | orion-* \399 | orion-* \
374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \400 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \401 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
376 | pyramid-* \402 | pyramid-* \
377 | romp-* | rs6000-* | rx-* \403 | romp-* | rs6000-* | rx-* \
378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \404 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \405 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \406 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
381 | sparclite-* \407 | sparclite-* \
382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \408 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
383 | tahoe-* | thumb-* \409 | tahoe-* \
384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \410 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \411 | tile-* | tilegx-* \
386 | tron-* \412 | tron-* \
387 | ubicom32-* \413 | ubicom32-* \
388 | v850-* | v850e-* | vax-* \414 | v850-* | v850e-* | vax-* \
389 | we32k-* \415 | we32k-* \
390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \416 | x86-* | x86_64-* | xc16x-* | xps100-* \
391 | xstormy16-* | xtensa*-* \417 | xstormy16-* | xtensa*-* \
392 | ymp-* \418 | ymp-* \
393 | z8k-* | z80-*)419 | z8k-* | z80-*)
@@ -412,7 +438,7 @@
412 basic_machine=a29k-amd438 basic_machine=a29k-amd
413 os=-udi439 os=-udi
414 ;;440 ;;
415 abacus)441 abacus)
416 basic_machine=abacus-unknown442 basic_machine=abacus-unknown
417 ;;443 ;;
418 adobe68k)444 adobe68k)
@@ -482,11 +508,20 @@
482 basic_machine=powerpc-ibm508 basic_machine=powerpc-ibm
483 os=-cnk509 os=-cnk
484 ;;510 ;;
511 c54x-*)
512 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
513 ;;
514 c55x-*)
515 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
516 ;;
517 c6x-*)
518 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
519 ;;
485 c90)520 c90)
486 basic_machine=c90-cray521 basic_machine=c90-cray
487 os=-unicos522 os=-unicos
488 ;;523 ;;
489 cegcc)524 cegcc)
490 basic_machine=arm-unknown525 basic_machine=arm-unknown
491 os=-cegcc526 os=-cegcc
492 ;;527 ;;
@@ -518,7 +553,7 @@
518 basic_machine=craynv-cray553 basic_machine=craynv-cray
519 os=-unicosmp554 os=-unicosmp
520 ;;555 ;;
521 cr16)556 cr16 | cr16-*)
522 basic_machine=cr16-unknown557 basic_machine=cr16-unknown
523 os=-elf558 os=-elf
524 ;;559 ;;
@@ -734,7 +769,7 @@
734 basic_machine=ns32k-utek769 basic_machine=ns32k-utek
735 os=-sysv770 os=-sysv
736 ;;771 ;;
737 microblaze)772 microblaze)
738 basic_machine=microblaze-xilinx773 basic_machine=microblaze-xilinx
739 ;;774 ;;
740 mingw32)775 mingw32)
@@ -841,6 +876,12 @@
841 np1)876 np1)
842 basic_machine=np1-gould877 basic_machine=np1-gould
843 ;;878 ;;
879 neo-tandem)
880 basic_machine=neo-tandem
881 ;;
882 nse-tandem)
883 basic_machine=nse-tandem
884 ;;
844 nsr-tandem)885 nsr-tandem)
845 basic_machine=nsr-tandem886 basic_machine=nsr-tandem
846 ;;887 ;;
@@ -923,9 +964,10 @@
923 ;;964 ;;
924 power) basic_machine=power-ibm965 power) basic_machine=power-ibm
925 ;;966 ;;
926 ppc) basic_machine=powerpc-unknown967 ppc | ppcbe) basic_machine=powerpc-unknown
927 ;;968 ;;
928 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`969 ppc-* | ppcbe-*)
970 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
929 ;;971 ;;
930 ppcle | powerpclittle | ppc-le | powerpc-little)972 ppcle | powerpclittle | ppc-le | powerpc-little)
931 basic_machine=powerpcle-unknown973 basic_machine=powerpcle-unknown
@@ -1019,6 +1061,9 @@
1019 basic_machine=i860-stratus1061 basic_machine=i860-stratus
1020 os=-sysv41062 os=-sysv4
1021 ;;1063 ;;
1064 strongarm-* | thumb-*)
1065 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1066 ;;
1022 sun2)1067 sun2)
1023 basic_machine=m68000-sun1068 basic_machine=m68000-sun
1024 ;;1069 ;;
@@ -1075,20 +1120,8 @@
1075 basic_machine=t90-cray1120 basic_machine=t90-cray
1076 os=-unicos1121 os=-unicos
1077 ;;1122 ;;
1078 tic54x | c54x*)1123 # This must be matched before tile*.
1079 basic_machine=tic54x-unknown1124 tilegx*)
1080 os=-coff
1081 ;;
1082 tic55x | c55x*)
1083 basic_machine=tic55x-unknown
1084 os=-coff
1085 ;;
1086 tic6x | c6x*)
1087 basic_machine=tic6x-unknown
1088 os=-coff
1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown1125 basic_machine=tilegx-unknown
1093 os=-linux-gnu1126 os=-linux-gnu
1094 ;;1127 ;;
@@ -1163,6 +1196,9 @@
1163 xps | xps100)1196 xps | xps100)
1164 basic_machine=xps100-honeywell1197 basic_machine=xps100-honeywell
1165 ;;1198 ;;
1199 xscale-* | xscalee[bl]-*)
1200 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1201 ;;
1166 ymp)1202 ymp)
1167 basic_machine=ymp-cray1203 basic_machine=ymp-cray
1168 os=-unicos1204 os=-unicos
@@ -1260,11 +1296,11 @@
1260if [ x"$os" != x"" ]1296if [ x"$os" != x"" ]
1261then1297then
1262case $os in1298case $os in
1263 # First match some system type aliases1299 # First match some system type aliases
1264 # that might get confused with valid system types.1300 # that might get confused with valid system types.
1265 # -solaris* is a basic system type, with this one exception.1301 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)1302 -auroraux)
1267 os=-auroraux1303 os=-auroraux
1268 ;;1304 ;;
1269 -solaris1 | -solaris1.*)1305 -solaris1 | -solaris1.*)
1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`1306 os=`echo $os | sed -e 's|solaris1|sunos4|'`
@@ -1301,7 +1337,8 @@
1301 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \1337 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1302 | -chorusos* | -chorusrdb* | -cegcc* \1338 | -chorusos* | -chorusrdb* | -cegcc* \
1303 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \1339 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1304 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \1340 | -mingw32* | -linux-gnu* | -linux-android* \
1341 | -linux-newlib* | -linux-uclibc* \
1305 | -uxpv* | -beos* | -mpeix* | -udk* \1342 | -uxpv* | -beos* | -mpeix* | -udk* \
1306 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \1343 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1307 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \1344 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1348,7 +1385,7 @@
1348 -opened*)1385 -opened*)
1349 os=-openedition1386 os=-openedition
1350 ;;1387 ;;
1351 -os400*)1388 -os400*)
1352 os=-os4001389 os=-os400
1353 ;;1390 ;;
1354 -wince*)1391 -wince*)
@@ -1397,7 +1434,7 @@
1397 -sinix*)1434 -sinix*)
1398 os=-sysv41435 os=-sysv4
1399 ;;1436 ;;
1400 -tpf*)1437 -tpf*)
1401 os=-tpf1438 os=-tpf
1402 ;;1439 ;;
1403 -triton*)1440 -triton*)
@@ -1442,8 +1479,8 @@
1442 -dicos*)1479 -dicos*)
1443 os=-dicos1480 os=-dicos
1444 ;;1481 ;;
1445 -nacl*)1482 -nacl*)
1446 ;;1483 ;;
1447 -none)1484 -none)
1448 ;;1485 ;;
1449 *)1486 *)
@@ -1466,10 +1503,10 @@
1466# system, and we'll never get to this point.1503# system, and we'll never get to this point.
14671504
1468case $basic_machine in1505case $basic_machine in
1469 score-*)1506 score-*)
1470 os=-elf1507 os=-elf
1471 ;;1508 ;;
1472 spu-*)1509 spu-*)
1473 os=-elf1510 os=-elf
1474 ;;1511 ;;
1475 *-acorn)1512 *-acorn)
@@ -1481,8 +1518,17 @@
1481 arm*-semi)1518 arm*-semi)
1482 os=-aout1519 os=-aout
1483 ;;1520 ;;
1484 c4x-* | tic4x-*)1521 c4x-* | tic4x-*)
1485 os=-coff1522 os=-coff
1523 ;;
1524 tic54x-*)
1525 os=-coff
1526 ;;
1527 tic55x-*)
1528 os=-coff
1529 ;;
1530 tic6x-*)
1531 os=-coff
1486 ;;1532 ;;
1487 # This must come before the *-dec entry.1533 # This must come before the *-dec entry.
1488 pdp10-*)1534 pdp10-*)
@@ -1509,7 +1555,7 @@
1509 m68*-cisco)1555 m68*-cisco)
1510 os=-aout1556 os=-aout
1511 ;;1557 ;;
1512 mep-*)1558 mep-*)
1513 os=-elf1559 os=-elf
1514 ;;1560 ;;
1515 mips*-cisco)1561 mips*-cisco)
@@ -1536,7 +1582,7 @@
1536 *-ibm)1582 *-ibm)
1537 os=-aix1583 os=-aix
1538 ;;1584 ;;
1539 *-knuth)1585 *-knuth)
1540 os=-mmixware1586 os=-mmixware
1541 ;;1587 ;;
1542 *-wec)1588 *-wec)
15431589
=== modified file 'configure'
--- configure 2011-08-10 21:47:03 +0000
+++ configure 2011-12-22 16:57:26 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for upstart 1.3.3# Generated by GNU Autoconf 2.68 for upstart 1.4.
4#4#
5# Report bugs to <upstart-devel@lists.ubuntu.com>.5# Report bugs to <upstart-devel@lists.ubuntu.com>.
6#6#
@@ -93,6 +93,7 @@
93IFS=" "" $as_nl"93IFS=" "" $as_nl"
9494
95# Find who we are. Look in the path if we contain no directory separator.95# Find who we are. Look in the path if we contain no directory separator.
96as_myself=
96case $0 in #((97case $0 in #((
97 *[\\/]* ) as_myself=$0 ;;98 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -175,7 +176,15 @@
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO176 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&177 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1178 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178test \$(( 1 + 1 )) = 2 || exit 1"179test \$(( 1 + 1 )) = 2 || exit 1
180
181 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
182 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
183 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
184 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
185 PATH=/empty FPATH=/empty; export PATH FPATH
186 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
187 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
179 if (eval "$as_required") 2>/dev/null; then :188 if (eval "$as_required") 2>/dev/null; then :
180 as_have_required=yes189 as_have_required=yes
181else190else
@@ -218,11 +227,18 @@
218 # We cannot yet assume a decent shell, so we have to provide a227 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also228 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.229 # works around shells that cannot unset nonexistent variables.
230 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null231 BASH_ENV=/dev/null
222 ENV=/dev/null232 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV233 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL234 export CONFIG_SHELL
225 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}235 case $- in # ((((
236 *v*x* | *x*v* ) as_opts=-vx ;;
237 *v* ) as_opts=-v ;;
238 *x* ) as_opts=-x ;;
239 * ) as_opts= ;;
240 esac
241 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
226fi242fi
227243
228 if test x$as_have_required = xno; then :244 if test x$as_have_required = xno; then :
@@ -530,155 +546,8 @@
530# Sed expression to map a string onto a valid variable name.546# Sed expression to map a string onto a valid variable name.
531as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"547as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532548
533
534
535# Check that we are running under the correct shell.
536SHELL=${CONFIG_SHELL-/bin/sh}549SHELL=${CONFIG_SHELL-/bin/sh}
537550
538case X$lt_ECHO in
539X*--fallback-echo)
540 # Remove one level of quotation (which was required for Make).
541 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
542 ;;
543esac
544
545ECHO=${lt_ECHO-echo}
546if test "X$1" = X--no-reexec; then
547 # Discard the --no-reexec flag, and continue.
548 shift
549elif test "X$1" = X--fallback-echo; then
550 # Avoid inline document here, it may be left over
551 :
552elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
553 # Yippee, $ECHO works!
554 :
555else
556 # Restart under the correct shell.
557 exec $SHELL "$0" --no-reexec ${1+"$@"}
558fi
559
560if test "X$1" = X--fallback-echo; then
561 # used as fallback echo
562 shift
563 cat <<_LT_EOF
564$*
565_LT_EOF
566 exit 0
567fi
568
569# The HP-UX ksh and POSIX shell print the target directory to stdout
570# if CDPATH is set.
571(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572
573if test -z "$lt_ECHO"; then
574 if test "X${echo_test_string+set}" != Xset; then
575 # find a string as large as possible, as long as the shell can cope with it
576 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
577 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
578 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
579 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
580 then
581 break
582 fi
583 done
584 fi
585
586 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
587 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
588 test "X$echo_testing_string" = "X$echo_test_string"; then
589 :
590 else
591 # The Solaris, AIX, and Digital Unix default echo programs unquote
592 # backslashes. This makes it impossible to quote backslashes using
593 # echo "$something" | sed 's/\\/\\\\/g'
594 #
595 # So, first we look for a working echo in the user's PATH.
596
597 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
598 for dir in $PATH /usr/ucb; do
599 IFS="$lt_save_ifs"
600 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
601 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
602 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
603 test "X$echo_testing_string" = "X$echo_test_string"; then
604 ECHO="$dir/echo"
605 break
606 fi
607 done
608 IFS="$lt_save_ifs"
609
610 if test "X$ECHO" = Xecho; then
611 # We didn't find a better echo, so look for alternatives.
612 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
613 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
614 test "X$echo_testing_string" = "X$echo_test_string"; then
615 # This shell has a builtin print -r that does the trick.
616 ECHO='print -r'
617 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
618 test "X$CONFIG_SHELL" != X/bin/ksh; then
619 # If we have ksh, try running configure again with it.
620 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
621 export ORIGINAL_CONFIG_SHELL
622 CONFIG_SHELL=/bin/ksh
623 export CONFIG_SHELL
624 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
625 else
626 # Try using printf.
627 ECHO='printf %s\n'
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # Cool, printf works
632 :
633 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
634 test "X$echo_testing_string" = 'X\t' &&
635 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 export CONFIG_SHELL
639 SHELL="$CONFIG_SHELL"
640 export SHELL
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
642 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
643 test "X$echo_testing_string" = 'X\t' &&
644 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
646 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 else
648 # maybe with a smaller string...
649 prev=:
650
651 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
652 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
653 then
654 break
655 fi
656 prev="$cmd"
657 done
658
659 if test "$prev" != 'sed 50q "$0"'; then
660 echo_test_string=`eval $prev`
661 export echo_test_string
662 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 else
664 # Oops. We lost completely, so just stick with echo.
665 ECHO=echo
666 fi
667 fi
668 fi
669 fi
670 fi
671fi
672
673# Copy echo and quote the copy suitably for passing to libtool from
674# the Makefile, instead of quoting the original, which is used later.
675lt_ECHO=$ECHO
676if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
677 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678fi
679
680
681
682551
683test -n "$DJDIR" || exec 7<&0 </dev/null552test -n "$DJDIR" || exec 7<&0 </dev/null
684exec 6>&1553exec 6>&1
@@ -703,8 +572,8 @@
703# Identity of this package.572# Identity of this package.
704PACKAGE_NAME='upstart'573PACKAGE_NAME='upstart'
705PACKAGE_TARNAME='upstart'574PACKAGE_TARNAME='upstart'
706PACKAGE_VERSION='1.3'575PACKAGE_VERSION='1.4'
707PACKAGE_STRING='upstart 1.3'576PACKAGE_STRING='upstart 1.4'
708PACKAGE_BUGREPORT='upstart-devel@lists.ubuntu.com'577PACKAGE_BUGREPORT='upstart-devel@lists.ubuntu.com'
709PACKAGE_URL=''578PACKAGE_URL=''
710579
@@ -817,9 +686,11 @@
817LIPO686LIPO
818NMEDIT687NMEDIT
819DSYMUTIL688DSYMUTIL
820lt_ECHO689MANIFEST_TOOL
821RANLIB690RANLIB
691ac_ct_AR
822AR692AR
693DLLTOOL
823OBJDUMP694OBJDUMP
824LN_S695LN_S
825NM696NM
@@ -934,6 +805,7 @@
934with_pic805with_pic
935enable_fast_install806enable_fast_install
936with_gnu_ld807with_gnu_ld
808with_sysroot
937enable_libtool_lock809enable_libtool_lock
938enable_nls810enable_nls
939enable_threads811enable_threads
@@ -1373,7 +1245,7 @@
1373 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1374 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1376 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1248 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1377 ;;1249 ;;
13781250
1379 esac1251 esac
@@ -1511,7 +1383,7 @@
1511 # Omit some internal or obsolete options to make the list less imposing.1383 # Omit some internal or obsolete options to make the list less imposing.
1512 # This message is too long to be a string in the A/UX 3.1 sh.1384 # This message is too long to be a string in the A/UX 3.1 sh.
1513 cat <<_ACEOF1385 cat <<_ACEOF
1514\`configure' configures upstart 1.3 to adapt to many kinds of systems.1386\`configure' configures upstart 1.4 to adapt to many kinds of systems.
15151387
1516Usage: $0 [OPTION]... [VAR=VALUE]...1388Usage: $0 [OPTION]... [VAR=VALUE]...
15171389
@@ -1581,7 +1453,7 @@
15811453
1582if test -n "$ac_init_help"; then1454if test -n "$ac_init_help"; then
1583 case $ac_init_help in1455 case $ac_init_help in
1584 short | recursive ) echo "Configuration of upstart 1.3:";;1456 short | recursive ) echo "Configuration of upstart 1.4:";;
1585 esac1457 esac
1586 cat <<\_ACEOF1458 cat <<\_ACEOF
15871459
@@ -1621,6 +1493,8 @@
1621 --with-pic try to use only PIC/non-PIC objects [default=use1493 --with-pic try to use only PIC/non-PIC objects [default=use
1622 both]1494 both]
1623 --with-gnu-ld assume the C compiler uses GNU ld [default=no]1495 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1496 --with-sysroot=DIR Search for dependent libraries within DIR
1497 (or the compiler's sysroot if not specified).
1624 --with-gnu-ld assume the C compiler uses GNU ld default=no1498 --with-gnu-ld assume the C compiler uses GNU ld default=no
1625 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib1499 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
1626 --without-libpth-prefix don't search for libpth in includedir and libdir1500 --without-libpth-prefix don't search for libpth in includedir and libdir
@@ -1723,8 +1597,8 @@
1723test -n "$ac_init_help" && exit $ac_status1597test -n "$ac_init_help" && exit $ac_status
1724if $ac_init_version; then1598if $ac_init_version; then
1725 cat <<\_ACEOF1599 cat <<\_ACEOF
1726upstart configure 1.31600upstart configure 1.4
1727generated by GNU Autoconf 2.671601generated by GNU Autoconf 2.68
17281602
1729Copyright (C) 2010 Free Software Foundation, Inc.1603Copyright (C) 2010 Free Software Foundation, Inc.
1730This configure script is free software; the Free Software Foundation1604This configure script is free software; the Free Software Foundation
@@ -1772,7 +1646,7 @@
17721646
1773 ac_retval=11647 ac_retval=1
1774fi1648fi
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 as_fn_set_status $ac_retval1650 as_fn_set_status $ac_retval
17771651
1778} # ac_fn_c_try_compile1652} # ac_fn_c_try_compile
@@ -1809,7 +1683,7 @@
18091683
1810 ac_retval=11684 ac_retval=1
1811fi1685fi
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status $ac_retval1687 as_fn_set_status $ac_retval
18141688
1815} # ac_fn_c_try_cpp1689} # ac_fn_c_try_cpp
@@ -1822,10 +1696,10 @@
1822ac_fn_c_check_header_mongrel ()1696ac_fn_c_check_header_mongrel ()
1823{1697{
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 if eval "test \"\${$3+set}\"" = set; then :1699 if eval \${$3+:} false; then :
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1827$as_echo_n "checking for $2... " >&6; }1701$as_echo_n "checking for $2... " >&6; }
1828if eval "test \"\${$3+set}\"" = set; then :1702if eval \${$3+:} false; then :
1829 $as_echo_n "(cached) " >&61703 $as_echo_n "(cached) " >&6
1830fi1704fi
1831eval ac_res=\$$31705eval ac_res=\$$3
@@ -1892,7 +1766,7 @@
1892esac1766esac
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894$as_echo_n "checking for $2... " >&6; }1768$as_echo_n "checking for $2... " >&6; }
1895if eval "test \"\${$3+set}\"" = set; then :1769if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&61770 $as_echo_n "(cached) " >&6
1897else1771else
1898 eval "$3=\$ac_header_compiler"1772 eval "$3=\$ac_header_compiler"
@@ -1901,7 +1775,7 @@
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902$as_echo "$ac_res" >&6; }1776$as_echo "$ac_res" >&6; }
1903fi1777fi
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
19051779
1906} # ac_fn_c_check_header_mongrel1780} # ac_fn_c_check_header_mongrel
19071781
@@ -1942,7 +1816,7 @@
1942 ac_retval=$ac_status1816 ac_retval=$ac_status
1943fi1817fi
1944 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 as_fn_set_status $ac_retval1820 as_fn_set_status $ac_retval
19471821
1948} # ac_fn_c_try_run1822} # ac_fn_c_try_run
@@ -1956,7 +1830,7 @@
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958$as_echo_n "checking for $2... " >&6; }1832$as_echo_n "checking for $2... " >&6; }
1959if eval "test \"\${$3+set}\"" = set; then :1833if eval \${$3+:} false; then :
1960 $as_echo_n "(cached) " >&61834 $as_echo_n "(cached) " >&6
1961else1835else
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1974,7 +1848,7 @@
1974eval ac_res=\$$31848eval ac_res=\$$3
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976$as_echo "$ac_res" >&6; }1850$as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
19781852
1979} # ac_fn_c_check_header_compile1853} # ac_fn_c_check_header_compile
19801854
@@ -2019,7 +1893,7 @@
2019 # interfere with the next link command; also delete a directory that is1893 # interfere with the next link command; also delete a directory that is
2020 # left behind by Apple's compiler. We do this before executing the actions.1894 # left behind by Apple's compiler. We do this before executing the actions.
2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status $ac_retval1897 as_fn_set_status $ac_retval
20241898
2025} # ac_fn_c_try_link1899} # ac_fn_c_try_link
@@ -2032,7 +1906,7 @@
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2034$as_echo_n "checking for $2... " >&6; }1908$as_echo_n "checking for $2... " >&6; }
2035if eval "test \"\${$3+set}\"" = set; then :1909if eval \${$3+:} false; then :
2036 $as_echo_n "(cached) " >&61910 $as_echo_n "(cached) " >&6
2037else1911else
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2087,7 +1961,7 @@
2087eval ac_res=\$$31961eval ac_res=\$$3
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089$as_echo "$ac_res" >&6; }1963$as_echo "$ac_res" >&6; }
2090 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
20911965
2092} # ac_fn_c_check_func1966} # ac_fn_c_check_func
20931967
@@ -2100,7 +1974,7 @@
2100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2102$as_echo_n "checking for $2... " >&6; }1976$as_echo_n "checking for $2... " >&6; }
2103if eval "test \"\${$3+set}\"" = set; then :1977if eval \${$3+:} false; then :
2104 $as_echo_n "(cached) " >&61978 $as_echo_n "(cached) " >&6
2105else1979else
2106 eval "$3=no"1980 eval "$3=no"
@@ -2141,7 +2015,7 @@
2141eval ac_res=\$$32015eval ac_res=\$$3
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2143$as_echo "$ac_res" >&6; }2017$as_echo "$ac_res" >&6; }
2144 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
21452019
2146} # ac_fn_c_check_type2020} # ac_fn_c_check_type
21472021
@@ -2318,7 +2192,7 @@
2318rm -f conftest.val2192rm -f conftest.val
23192193
2320 fi2194 fi
2321 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 as_fn_set_status $ac_retval2196 as_fn_set_status $ac_retval
23232197
2324} # ac_fn_c_compute_int2198} # ac_fn_c_compute_int
@@ -2326,8 +2200,8 @@
2326This file contains any messages produced by compilers while2200This file contains any messages produced by compilers while
2327running configure, to aid debugging if configure makes a mistake.2201running configure, to aid debugging if configure makes a mistake.
23282202
2329It was created by upstart $as_me 1.3, which was2203It was created by upstart $as_me 1.4, which was
2330generated by GNU Autoconf 2.67. Invocation command line was2204generated by GNU Autoconf 2.68. Invocation command line was
23312205
2332 $ $0 $@2206 $ $0 $@
23332207
@@ -2585,7 +2459,7 @@
2585 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52459 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587as_fn_error $? "failed to load site script $ac_site_file2461as_fn_error $? "failed to load site script $ac_site_file
2588See \`config.log' for more details" "$LINENO" 5 ; }2462See \`config.log' for more details" "$LINENO" 5; }
2589 fi2463 fi
2590done2464done
25912465
@@ -2699,7 +2573,7 @@
2699set dummy ${ac_tool_prefix}gcc; ac_word=$22573set dummy ${ac_tool_prefix}gcc; ac_word=$2
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701$as_echo_n "checking for $ac_word... " >&6; }2575$as_echo_n "checking for $ac_word... " >&6; }
2702if test "${ac_cv_prog_CC+set}" = set; then :2576if ${ac_cv_prog_CC+:} false; then :
2703 $as_echo_n "(cached) " >&62577 $as_echo_n "(cached) " >&6
2704else2578else
2705 if test -n "$CC"; then2579 if test -n "$CC"; then
@@ -2739,7 +2613,7 @@
2739set dummy gcc; ac_word=$22613set dummy gcc; ac_word=$2
2740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741$as_echo_n "checking for $ac_word... " >&6; }2615$as_echo_n "checking for $ac_word... " >&6; }
2742if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2616if ${ac_cv_prog_ac_ct_CC+:} false; then :
2743 $as_echo_n "(cached) " >&62617 $as_echo_n "(cached) " >&6
2744else2618else
2745 if test -n "$ac_ct_CC"; then2619 if test -n "$ac_ct_CC"; then
@@ -2792,7 +2666,7 @@
2792set dummy ${ac_tool_prefix}cc; ac_word=$22666set dummy ${ac_tool_prefix}cc; ac_word=$2
2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794$as_echo_n "checking for $ac_word... " >&6; }2668$as_echo_n "checking for $ac_word... " >&6; }
2795if test "${ac_cv_prog_CC+set}" = set; then :2669if ${ac_cv_prog_CC+:} false; then :
2796 $as_echo_n "(cached) " >&62670 $as_echo_n "(cached) " >&6
2797else2671else
2798 if test -n "$CC"; then2672 if test -n "$CC"; then
@@ -2832,7 +2706,7 @@
2832set dummy cc; ac_word=$22706set dummy cc; ac_word=$2
2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834$as_echo_n "checking for $ac_word... " >&6; }2708$as_echo_n "checking for $ac_word... " >&6; }
2835if test "${ac_cv_prog_CC+set}" = set; then :2709if ${ac_cv_prog_CC+:} false; then :
2836 $as_echo_n "(cached) " >&62710 $as_echo_n "(cached) " >&6
2837else2711else
2838 if test -n "$CC"; then2712 if test -n "$CC"; then
@@ -2891,7 +2765,7 @@
2891set dummy $ac_tool_prefix$ac_prog; ac_word=$22765set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2893$as_echo_n "checking for $ac_word... " >&6; }2767$as_echo_n "checking for $ac_word... " >&6; }
2894if test "${ac_cv_prog_CC+set}" = set; then :2768if ${ac_cv_prog_CC+:} false; then :
2895 $as_echo_n "(cached) " >&62769 $as_echo_n "(cached) " >&6
2896else2770else
2897 if test -n "$CC"; then2771 if test -n "$CC"; then
@@ -2935,7 +2809,7 @@
2935set dummy $ac_prog; ac_word=$22809set dummy $ac_prog; ac_word=$2
2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937$as_echo_n "checking for $ac_word... " >&6; }2811$as_echo_n "checking for $ac_word... " >&6; }
2938if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2812if ${ac_cv_prog_ac_ct_CC+:} false; then :
2939 $as_echo_n "(cached) " >&62813 $as_echo_n "(cached) " >&6
2940else2814else
2941 if test -n "$ac_ct_CC"; then2815 if test -n "$ac_ct_CC"; then
@@ -2990,7 +2864,7 @@
2990test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52864test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2991$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2865$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992as_fn_error $? "no acceptable C compiler found in \$PATH2866as_fn_error $? "no acceptable C compiler found in \$PATH
2993See \`config.log' for more details" "$LINENO" 5 ; }2867See \`config.log' for more details" "$LINENO" 5; }
29942868
2995# Provide some information about the compiler.2869# Provide some information about the compiler.
2996$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&52870$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3105,7 +2979,7 @@
3105{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52979{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107as_fn_error 77 "C compiler cannot create executables2981as_fn_error 77 "C compiler cannot create executables
3108See \`config.log' for more details" "$LINENO" 5 ; }2982See \`config.log' for more details" "$LINENO" 5; }
3109else2983else
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3111$as_echo "yes" >&6; }2985$as_echo "yes" >&6; }
@@ -3148,7 +3022,7 @@
3148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3150as_fn_error $? "cannot compute suffix of executables: cannot compile and link3024as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3151See \`config.log' for more details" "$LINENO" 5 ; }3025See \`config.log' for more details" "$LINENO" 5; }
3152fi3026fi
3153rm -f conftest conftest$ac_cv_exeext3027rm -f conftest conftest$ac_cv_exeext
3154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&53028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3207,7 +3081,7 @@
3207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3081$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3208as_fn_error $? "cannot run C compiled programs.3082as_fn_error $? "cannot run C compiled programs.
3209If you meant to cross compile, use \`--host'.3083If you meant to cross compile, use \`--host'.
3210See \`config.log' for more details" "$LINENO" 5 ; }3084See \`config.log' for more details" "$LINENO" 5; }
3211 fi3085 fi
3212 fi3086 fi
3213fi3087fi
@@ -3218,7 +3092,7 @@
3218ac_clean_files=$ac_clean_files_save3092ac_clean_files=$ac_clean_files_save
3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&53093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3220$as_echo_n "checking for suffix of object files... " >&6; }3094$as_echo_n "checking for suffix of object files... " >&6; }
3221if test "${ac_cv_objext+set}" = set; then :3095if ${ac_cv_objext+:} false; then :
3222 $as_echo_n "(cached) " >&63096 $as_echo_n "(cached) " >&6
3223else3097else
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3259,7 +3133,7 @@
3259{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53133{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3134$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261as_fn_error $? "cannot compute suffix of object files: cannot compile3135as_fn_error $? "cannot compute suffix of object files: cannot compile
3262See \`config.log' for more details" "$LINENO" 5 ; }3136See \`config.log' for more details" "$LINENO" 5; }
3263fi3137fi
3264rm -f conftest.$ac_cv_objext conftest.$ac_ext3138rm -f conftest.$ac_cv_objext conftest.$ac_ext
3265fi3139fi
@@ -3269,7 +3143,7 @@
3269ac_objext=$OBJEXT3143ac_objext=$OBJEXT
3270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&53144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3271$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }3145$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3272if test "${ac_cv_c_compiler_gnu+set}" = set; then :3146if ${ac_cv_c_compiler_gnu+:} false; then :
3273 $as_echo_n "(cached) " >&63147 $as_echo_n "(cached) " >&6
3274else3148else
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3306,7 +3180,7 @@
3306ac_save_CFLAGS=$CFLAGS3180ac_save_CFLAGS=$CFLAGS
3307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&53181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3308$as_echo_n "checking whether $CC accepts -g... " >&6; }3182$as_echo_n "checking whether $CC accepts -g... " >&6; }
3309if test "${ac_cv_prog_cc_g+set}" = set; then :3183if ${ac_cv_prog_cc_g+:} false; then :
3310 $as_echo_n "(cached) " >&63184 $as_echo_n "(cached) " >&6
3311else3185else
3312 ac_save_c_werror_flag=$ac_c_werror_flag3186 ac_save_c_werror_flag=$ac_c_werror_flag
@@ -3384,7 +3258,7 @@
3384fi3258fi
3385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3386$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }3260$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3387if test "${ac_cv_prog_cc_c89+set}" = set; then :3261if ${ac_cv_prog_cc_c89+:} false; then :
3388 $as_echo_n "(cached) " >&63262 $as_echo_n "(cached) " >&6
3389else3263else
3390 ac_cv_prog_cc_c89=no3264 ac_cv_prog_cc_c89=no
@@ -3492,7 +3366,7 @@
3492 CPP=3366 CPP=
3493fi3367fi
3494if test -z "$CPP"; then3368if test -z "$CPP"; then
3495 if test "${ac_cv_prog_CPP+set}" = set; then :3369 if ${ac_cv_prog_CPP+:} false; then :
3496 $as_echo_n "(cached) " >&63370 $as_echo_n "(cached) " >&6
3497else3371else
3498 # Double quotes because CPP needs to be expanded3372 # Double quotes because CPP needs to be expanded
@@ -3608,7 +3482,7 @@
3608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3483$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610as_fn_error $? "C preprocessor \"$CPP\" fails sanity check3484as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3611See \`config.log' for more details" "$LINENO" 5 ; }3485See \`config.log' for more details" "$LINENO" 5; }
3612fi3486fi
36133487
3614ac_ext=c3488ac_ext=c
@@ -3620,7 +3494,7 @@
36203494
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3622$as_echo_n "checking for grep that handles long lines and -e... " >&6; }3496$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3623if test "${ac_cv_path_GREP+set}" = set; then :3497if ${ac_cv_path_GREP+:} false; then :
3624 $as_echo_n "(cached) " >&63498 $as_echo_n "(cached) " >&6
3625else3499else
3626 if test -z "$GREP"; then3500 if test -z "$GREP"; then
@@ -3683,7 +3557,7 @@
36833557
3684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&53558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3685$as_echo_n "checking for egrep... " >&6; }3559$as_echo_n "checking for egrep... " >&6; }
3686if test "${ac_cv_path_EGREP+set}" = set; then :3560if ${ac_cv_path_EGREP+:} false; then :
3687 $as_echo_n "(cached) " >&63561 $as_echo_n "(cached) " >&6
3688else3562else
3689 if echo a | $GREP -E '(a|b)' >/dev/null 2>&13563 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -3750,7 +3624,7 @@
37503624
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&53625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3752$as_echo_n "checking for ANSI C header files... " >&6; }3626$as_echo_n "checking for ANSI C header files... " >&6; }
3753if test "${ac_cv_header_stdc+set}" = set; then :3627if ${ac_cv_header_stdc+:} false; then :
3754 $as_echo_n "(cached) " >&63628 $as_echo_n "(cached) " >&6
3755else3629else
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3879,7 +3753,7 @@
38793753
38803754
3881 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"3755 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3882if test "x$ac_cv_header_minix_config_h" = x""yes; then :3756if test "x$ac_cv_header_minix_config_h" = xyes; then :
3883 MINIX=yes3757 MINIX=yes
3884else3758else
3885 MINIX=3759 MINIX=
@@ -3901,7 +3775,7 @@
39013775
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&53776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3903$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }3777$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3904if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :3778if ${ac_cv_safe_to_define___extensions__+:} false; then :
3905 $as_echo_n "(cached) " >&63779 $as_echo_n "(cached) " >&6
3906else3780else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3988,7 +3862,7 @@
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&53862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3989$as_echo_n "checking for a BSD-compatible install... " >&6; }3863$as_echo_n "checking for a BSD-compatible install... " >&6; }
3990if test -z "$INSTALL"; then3864if test -z "$INSTALL"; then
3991if test "${ac_cv_path_install+set}" = set; then :3865if ${ac_cv_path_install+:} false; then :
3992 $as_echo_n "(cached) " >&63866 $as_echo_n "(cached) " >&6
3993else3867else
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4075,11 +3949,11 @@
4075'3949'
4076case `pwd` in3950case `pwd` in
4077 *[\\\"\#\$\&\'\`$am_lf]*)3951 *[\\\"\#\$\&\'\`$am_lf]*)
4078 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;3952 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4079esac3953esac
4080case $srcdir in3954case $srcdir in
4081 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)3955 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4082 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;3956 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4083esac3957esac
40843958
4085# Do `set' in a subshell so we don't clobber the current shell's3959# Do `set' in a subshell so we don't clobber the current shell's
@@ -4165,7 +4039,7 @@
4165set dummy ${ac_tool_prefix}strip; ac_word=$24039set dummy ${ac_tool_prefix}strip; ac_word=$2
4166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167$as_echo_n "checking for $ac_word... " >&6; }4041$as_echo_n "checking for $ac_word... " >&6; }
4168if test "${ac_cv_prog_STRIP+set}" = set; then :4042if ${ac_cv_prog_STRIP+:} false; then :
4169 $as_echo_n "(cached) " >&64043 $as_echo_n "(cached) " >&6
4170else4044else
4171 if test -n "$STRIP"; then4045 if test -n "$STRIP"; then
@@ -4205,7 +4079,7 @@
4205set dummy strip; ac_word=$24079set dummy strip; ac_word=$2
4206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207$as_echo_n "checking for $ac_word... " >&6; }4081$as_echo_n "checking for $ac_word... " >&6; }
4208if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :4082if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4209 $as_echo_n "(cached) " >&64083 $as_echo_n "(cached) " >&6
4210else4084else
4211 if test -n "$ac_ct_STRIP"; then4085 if test -n "$ac_ct_STRIP"; then
@@ -4258,7 +4132,7 @@
4258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&54132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4259$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }4133$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4260if test -z "$MKDIR_P"; then4134if test -z "$MKDIR_P"; then
4261 if test "${ac_cv_path_mkdir+set}" = set; then :4135 if ${ac_cv_path_mkdir+:} false; then :
4262 $as_echo_n "(cached) " >&64136 $as_echo_n "(cached) " >&6
4263else4137else
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4309,7 +4183,7 @@
4309set dummy $ac_prog; ac_word=$24183set dummy $ac_prog; ac_word=$2
4310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311$as_echo_n "checking for $ac_word... " >&6; }4185$as_echo_n "checking for $ac_word... " >&6; }
4312if test "${ac_cv_prog_AWK+set}" = set; then :4186if ${ac_cv_prog_AWK+:} false; then :
4313 $as_echo_n "(cached) " >&64187 $as_echo_n "(cached) " >&6
4314else4188else
4315 if test -n "$AWK"; then4189 if test -n "$AWK"; then
@@ -4349,7 +4223,7 @@
4349$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }4223$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4350set x ${MAKE-make}4224set x ${MAKE-make}
4351ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`4225ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4352if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :4226if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4353 $as_echo_n "(cached) " >&64227 $as_echo_n "(cached) " >&6
4354else4228else
4355 cat >conftest.make <<\_ACEOF4229 cat >conftest.make <<\_ACEOF
@@ -4481,7 +4355,7 @@
44814355
4482# Define the identity of the package.4356# Define the identity of the package.
4483 PACKAGE='upstart'4357 PACKAGE='upstart'
4484 VERSION='1.3'4358 VERSION='1.4'
44854359
44864360
4487cat >>confdefs.h <<_ACEOF4361cat >>confdefs.h <<_ACEOF
@@ -4524,7 +4398,7 @@
45244398
4525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&54399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4526$as_echo_n "checking dependency style of $depcc... " >&6; }4400$as_echo_n "checking dependency style of $depcc... " >&6; }
4527if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :4401if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4528 $as_echo_n "(cached) " >&64402 $as_echo_n "(cached) " >&6
4529else4403else
4530 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then4404 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -4693,8 +4567,8 @@
46934567
46944568
46954569
4696macro_version='2.2.6b'4570macro_version='2.4'
4697macro_revision='1.3017'4571macro_revision='1.3293'
46984572
46994573
47004574
@@ -4716,7 +4590,7 @@
47164590
4717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&54591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4718$as_echo_n "checking build system type... " >&6; }4592$as_echo_n "checking build system type... " >&6; }
4719if test "${ac_cv_build+set}" = set; then :4593if ${ac_cv_build+:} false; then :
4720 $as_echo_n "(cached) " >&64594 $as_echo_n "(cached) " >&6
4721else4595else
4722 ac_build_alias=$build_alias4596 ac_build_alias=$build_alias
@@ -4732,7 +4606,7 @@
4732$as_echo "$ac_cv_build" >&6; }4606$as_echo "$ac_cv_build" >&6; }
4733case $ac_cv_build in4607case $ac_cv_build in
4734*-*-*) ;;4608*-*-*) ;;
4735*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;4609*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4736esac4610esac
4737build=$ac_cv_build4611build=$ac_cv_build
4738ac_save_IFS=$IFS; IFS='-'4612ac_save_IFS=$IFS; IFS='-'
@@ -4750,7 +4624,7 @@
47504624
4751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&54625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4752$as_echo_n "checking host system type... " >&6; }4626$as_echo_n "checking host system type... " >&6; }
4753if test "${ac_cv_host+set}" = set; then :4627if ${ac_cv_host+:} false; then :
4754 $as_echo_n "(cached) " >&64628 $as_echo_n "(cached) " >&6
4755else4629else
4756 if test "x$host_alias" = x; then4630 if test "x$host_alias" = x; then
@@ -4765,7 +4639,7 @@
4765$as_echo "$ac_cv_host" >&6; }4639$as_echo "$ac_cv_host" >&6; }
4766case $ac_cv_host in4640case $ac_cv_host in
4767*-*-*) ;;4641*-*-*) ;;
4768*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;4642*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4769esac4643esac
4770host=$ac_cv_host4644host=$ac_cv_host
4771ac_save_IFS=$IFS; IFS='-'4645ac_save_IFS=$IFS; IFS='-'
@@ -4781,9 +4655,78 @@
4781case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac4655case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
47824656
47834657
4658# Backslashify metacharacters that are still active within
4659# double-quoted strings.
4660sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4661
4662# Same as above, but do not quote variable references.
4663double_quote_subst='s/\(["`\\]\)/\\\1/g'
4664
4665# Sed substitution to delay expansion of an escaped shell variable in a
4666# double_quote_subst'ed string.
4667delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4668
4669# Sed substitution to delay expansion of an escaped single quote.
4670delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4671
4672# Sed substitution to avoid accidental globbing in evaled expressions
4673no_glob_subst='s/\*/\\\*/g'
4674
4675ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4676ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4677ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4678
4679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4680$as_echo_n "checking how to print strings... " >&6; }
4681# Test print first, because it will be a builtin if present.
4682if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4683 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4684 ECHO='print -r --'
4685elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4686 ECHO='printf %s\n'
4687else
4688 # Use this function as a fallback that always works.
4689 func_fallback_echo ()
4690 {
4691 eval 'cat <<_LTECHO_EOF
4692$1
4693_LTECHO_EOF'
4694 }
4695 ECHO='func_fallback_echo'
4696fi
4697
4698# func_echo_all arg...
4699# Invoke $ECHO with all args, space-separated.
4700func_echo_all ()
4701{
4702 $ECHO ""
4703}
4704
4705case "$ECHO" in
4706 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4707$as_echo "printf" >&6; } ;;
4708 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4709$as_echo "print -r" >&6; } ;;
4710 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4711$as_echo "cat" >&6; } ;;
4712esac
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&54727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4785$as_echo_n "checking for a sed that does not truncate output... " >&6; }4728$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4786if test "${ac_cv_path_SED+set}" = set; then :4729if ${ac_cv_path_SED+:} false; then :
4787 $as_echo_n "(cached) " >&64730 $as_echo_n "(cached) " >&6
4788else4731else
4789 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/4732 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -4865,7 +4808,7 @@
48654808
4866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&54809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4867$as_echo_n "checking for fgrep... " >&6; }4810$as_echo_n "checking for fgrep... " >&6; }
4868if test "${ac_cv_path_FGREP+set}" = set; then :4811if ${ac_cv_path_FGREP+:} false; then :
4869 $as_echo_n "(cached) " >&64812 $as_echo_n "(cached) " >&6
4870else4813else
4871 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&14814 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
@@ -4996,7 +4939,7 @@
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&54939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4997$as_echo_n "checking for non-GNU ld... " >&6; }4940$as_echo_n "checking for non-GNU ld... " >&6; }
4998fi4941fi
4999if test "${lt_cv_path_LD+set}" = set; then :4942if ${lt_cv_path_LD+:} false; then :
5000 $as_echo_n "(cached) " >&64943 $as_echo_n "(cached) " >&6
5001else4944else
5002 if test -z "$LD"; then4945 if test -z "$LD"; then
@@ -5036,7 +4979,7 @@
5036test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 54979test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&54980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5038$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }4981$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5039if test "${lt_cv_prog_gnu_ld+set}" = set; then :4982if ${lt_cv_prog_gnu_ld+:} false; then :
5040 $as_echo_n "(cached) " >&64983 $as_echo_n "(cached) " >&6
5041else4984else
5042 # I'd rather use --version here, but apparently some GNU lds only accept -v.4985 # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -5063,7 +5006,7 @@
50635006
5064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&55007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5065$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }5008$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5066if test "${lt_cv_path_NM+set}" = set; then :5009if ${lt_cv_path_NM+:} false; then :
5067 $as_echo_n "(cached) " >&65010 $as_echo_n "(cached) " >&6
5068else5011else
5069 if test -n "$NM"; then5012 if test -n "$NM"; then
@@ -5116,14 +5059,17 @@
5116 NM="$lt_cv_path_NM"5059 NM="$lt_cv_path_NM"
5117else5060else
5118 # Didn't find any BSD compatible name lister, look for dumpbin.5061 # Didn't find any BSD compatible name lister, look for dumpbin.
5119 if test -n "$ac_tool_prefix"; then5062 if test -n "$DUMPBIN"; then :
5120 for ac_prog in "dumpbin -symbols" "link -dump -symbols"5063 # Let the user override the test.
5064 else
5065 if test -n "$ac_tool_prefix"; then
5066 for ac_prog in dumpbin "link -dump"
5121 do5067 do
5122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.5068 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5123set dummy $ac_tool_prefix$ac_prog; ac_word=$25069set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5125$as_echo_n "checking for $ac_word... " >&6; }5071$as_echo_n "checking for $ac_word... " >&6; }
5126if test "${ac_cv_prog_DUMPBIN+set}" = set; then :5072if ${ac_cv_prog_DUMPBIN+:} false; then :
5127 $as_echo_n "(cached) " >&65073 $as_echo_n "(cached) " >&6
5128else5074else
5129 if test -n "$DUMPBIN"; then5075 if test -n "$DUMPBIN"; then
@@ -5161,13 +5107,13 @@
5161fi5107fi
5162if test -z "$DUMPBIN"; then5108if test -z "$DUMPBIN"; then
5163 ac_ct_DUMPBIN=$DUMPBIN5109 ac_ct_DUMPBIN=$DUMPBIN
5164 for ac_prog in "dumpbin -symbols" "link -dump -symbols"5110 for ac_prog in dumpbin "link -dump"
5165do5111do
5166 # Extract the first word of "$ac_prog", so it can be a program name with args.5112 # Extract the first word of "$ac_prog", so it can be a program name with args.
5167set dummy $ac_prog; ac_word=$25113set dummy $ac_prog; ac_word=$2
5168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169$as_echo_n "checking for $ac_word... " >&6; }5115$as_echo_n "checking for $ac_word... " >&6; }
5170if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :5116if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5171 $as_echo_n "(cached) " >&65117 $as_echo_n "(cached) " >&6
5172else5118else
5173 if test -n "$ac_ct_DUMPBIN"; then5119 if test -n "$ac_ct_DUMPBIN"; then
@@ -5216,6 +5162,15 @@
5216 fi5162 fi
5217fi5163fi
52185164
5165 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5166 *COFF*)
5167 DUMPBIN="$DUMPBIN -symbols"
5168 ;;
5169 *)
5170 DUMPBIN=:
5171 ;;
5172 esac
5173 fi
52195174
5220 if test "$DUMPBIN" != ":"; then5175 if test "$DUMPBIN" != ":"; then
5221 NM="$DUMPBIN"5176 NM="$DUMPBIN"
@@ -5230,18 +5185,18 @@
52305185
5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&55186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5232$as_echo_n "checking the name lister ($NM) interface... " >&6; }5187$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5233if test "${lt_cv_nm_interface+set}" = set; then :5188if ${lt_cv_nm_interface+:} false; then :
5234 $as_echo_n "(cached) " >&65189 $as_echo_n "(cached) " >&6
5235else5190else
5236 lt_cv_nm_interface="BSD nm"5191 lt_cv_nm_interface="BSD nm"
5237 echo "int some_variable = 0;" > conftest.$ac_ext5192 echo "int some_variable = 0;" > conftest.$ac_ext
5238 (eval echo "\"\$as_me:5238: $ac_compile\"" >&5)5193 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5239 (eval "$ac_compile" 2>conftest.err)5194 (eval "$ac_compile" 2>conftest.err)
5240 cat conftest.err >&55195 cat conftest.err >&5
5241 (eval echo "\"\$as_me:5241: $NM \\\"conftest.$ac_objext\\\"\"" >&5)5196 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5242 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)5197 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5243 cat conftest.err >&55198 cat conftest.err >&5
5244 (eval echo "\"\$as_me:5244: output\"" >&5)5199 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5245 cat conftest.out >&55200 cat conftest.out >&5
5246 if $GREP 'External.*some_variable' conftest.out > /dev/null; then5201 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5247 lt_cv_nm_interface="MS dumpbin"5202 lt_cv_nm_interface="MS dumpbin"
@@ -5265,7 +5220,7 @@
5265# find the maximum length of command line arguments5220# find the maximum length of command line arguments
5266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&55221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5267$as_echo_n "checking the maximum length of command line arguments... " >&6; }5222$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5268if test "${lt_cv_sys_max_cmd_len+set}" = set; then :5223if ${lt_cv_sys_max_cmd_len+:} false; then :
5269 $as_echo_n "(cached) " >&65224 $as_echo_n "(cached) " >&6
5270else5225else
5271 i=05226 i=0
@@ -5298,6 +5253,11 @@
5298 lt_cv_sys_max_cmd_len=8192;5253 lt_cv_sys_max_cmd_len=8192;
5299 ;;5254 ;;
53005255
5256 mint*)
5257 # On MiNT this can take a long time and run out of memory.
5258 lt_cv_sys_max_cmd_len=8192;
5259 ;;
5260
5301 amigaos*)5261 amigaos*)
5302 # On AmigaOS with pdksh, this test takes hours, literally.5262 # On AmigaOS with pdksh, this test takes hours, literally.
5303 # So we just punt and use a minimum line length of 8192.5263 # So we just punt and use a minimum line length of 8192.
@@ -5362,8 +5322,8 @@
5362 # If test is not a shell built-in, we'll probably end up computing a5322 # If test is not a shell built-in, we'll probably end up computing a
5363 # maximum length that is only half of the actual maximum length, but5323 # maximum length that is only half of the actual maximum length, but
5364 # we can't tell.5324 # we can't tell.
5365 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \5325 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5366 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&5326 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5367 test $i != 17 # 1/2 MB should be enough5327 test $i != 17 # 1/2 MB should be enough
5368 do5328 do
5369 i=`expr $i + 1`5329 i=`expr $i + 1`
@@ -5405,8 +5365,8 @@
5405# Try some XSI features5365# Try some XSI features
5406xsi_shell=no5366xsi_shell=no
5407( _lt_dummy="a/b/c"5367( _lt_dummy="a/b/c"
5408 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \5368 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5409 = c,a/b,, \5369 = c,a/b,b/c, \
5410 && eval 'test $(( 1 + 1 )) -eq 2 \5370 && eval 'test $(( 1 + 1 )) -eq 2 \
5411 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \5371 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5412 && xsi_shell=yes5372 && xsi_shell=yes
@@ -5455,9 +5415,83 @@
54555415
54565416
54575417
5418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5419$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5420if ${lt_cv_to_host_file_cmd+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422else
5423 case $host in
5424 *-*-mingw* )
5425 case $build in
5426 *-*-mingw* ) # actually msys
5427 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5428 ;;
5429 *-*-cygwin* )
5430 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5431 ;;
5432 * ) # otherwise, assume *nix
5433 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5434 ;;
5435 esac
5436 ;;
5437 *-*-cygwin* )
5438 case $build in
5439 *-*-mingw* ) # actually msys
5440 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5441 ;;
5442 *-*-cygwin* )
5443 lt_cv_to_host_file_cmd=func_convert_file_noop
5444 ;;
5445 * ) # otherwise, assume *nix
5446 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5447 ;;
5448 esac
5449 ;;
5450 * ) # unhandled hosts (and "normal" native builds)
5451 lt_cv_to_host_file_cmd=func_convert_file_noop
5452 ;;
5453esac
5454
5455fi
5456
5457to_host_file_cmd=$lt_cv_to_host_file_cmd
5458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5459$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5460
5461
5462
5463
5464
5465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5466$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5467if ${lt_cv_to_tool_file_cmd+:} false; then :
5468 $as_echo_n "(cached) " >&6
5469else
5470 #assume ordinary cross tools, or native build.
5471lt_cv_to_tool_file_cmd=func_convert_file_noop
5472case $host in
5473 *-*-mingw* )
5474 case $build in
5475 *-*-mingw* ) # actually msys
5476 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5477 ;;
5478 esac
5479 ;;
5480esac
5481
5482fi
5483
5484to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5486$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5487
5488
5489
5490
5491
5458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&55492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5459$as_echo_n "checking for $LD option to reload object files... " >&6; }5493$as_echo_n "checking for $LD option to reload object files... " >&6; }
5460if test "${lt_cv_ld_reload_flag+set}" = set; then :5494if ${lt_cv_ld_reload_flag+:} false; then :
5461 $as_echo_n "(cached) " >&65495 $as_echo_n "(cached) " >&6
5462else5496else
5463 lt_cv_ld_reload_flag='-r'5497 lt_cv_ld_reload_flag='-r'
@@ -5471,6 +5505,11 @@
5471esac5505esac
5472reload_cmds='$LD$reload_flag -o $output$reload_objs'5506reload_cmds='$LD$reload_flag -o $output$reload_objs'
5473case $host_os in5507case $host_os in
5508 cygwin* | mingw* | pw32* | cegcc*)
5509 if test "$GCC" != yes; then
5510 reload_cmds=false
5511 fi
5512 ;;
5474 darwin*)5513 darwin*)
5475 if test "$GCC" = yes; then5514 if test "$GCC" = yes; then
5476 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'5515 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
@@ -5493,7 +5532,7 @@
5493set dummy ${ac_tool_prefix}objdump; ac_word=$25532set dummy ${ac_tool_prefix}objdump; ac_word=$2
5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495$as_echo_n "checking for $ac_word... " >&6; }5534$as_echo_n "checking for $ac_word... " >&6; }
5496if test "${ac_cv_prog_OBJDUMP+set}" = set; then :5535if ${ac_cv_prog_OBJDUMP+:} false; then :
5497 $as_echo_n "(cached) " >&65536 $as_echo_n "(cached) " >&6
5498else5537else
5499 if test -n "$OBJDUMP"; then5538 if test -n "$OBJDUMP"; then
@@ -5533,7 +5572,7 @@
5533set dummy objdump; ac_word=$25572set dummy objdump; ac_word=$2
5534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5535$as_echo_n "checking for $ac_word... " >&6; }5574$as_echo_n "checking for $ac_word... " >&6; }
5536if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :5575if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5537 $as_echo_n "(cached) " >&65576 $as_echo_n "(cached) " >&6
5538else5577else
5539 if test -n "$ac_ct_OBJDUMP"; then5578 if test -n "$ac_ct_OBJDUMP"; then
@@ -5592,7 +5631,7 @@
55925631
5593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&55632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5594$as_echo_n "checking how to recognize dependent libraries... " >&6; }5633$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5595if test "${lt_cv_deplibs_check_method+set}" = set; then :5634if ${lt_cv_deplibs_check_method+:} false; then :
5596 $as_echo_n "(cached) " >&65635 $as_echo_n "(cached) " >&6
5597else5636else
5598 lt_cv_file_magic_cmd='$MAGIC_CMD'5637 lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -5634,16 +5673,18 @@
5634 # Base MSYS/MinGW do not provide the 'file' command needed by5673 # Base MSYS/MinGW do not provide the 'file' command needed by
5635 # func_win32_libid shell function, so use a weaker test based on 'objdump',5674 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5636 # unless we find 'file', for example because we are cross-compiling.5675 # unless we find 'file', for example because we are cross-compiling.
5637 if ( file / ) >/dev/null 2>&1; then5676 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5677 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5638 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'5678 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5639 lt_cv_file_magic_cmd='func_win32_libid'5679 lt_cv_file_magic_cmd='func_win32_libid'
5640 else5680 else
5641 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'5681 # Keep this pattern in sync with the one in func_win32_libid.
5682 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5642 lt_cv_file_magic_cmd='$OBJDUMP -f'5683 lt_cv_file_magic_cmd='$OBJDUMP -f'
5643 fi5684 fi
5644 ;;5685 ;;
56455686
5646cegcc)5687cegcc*)
5647 # use the weaker test based on 'objdump'. See mingw*.5688 # use the weaker test based on 'objdump'. See mingw*.
5648 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'5689 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5649 lt_cv_file_magic_cmd='$OBJDUMP -f'5690 lt_cv_file_magic_cmd='$OBJDUMP -f'
@@ -5673,6 +5714,10 @@
5673 lt_cv_deplibs_check_method=pass_all5714 lt_cv_deplibs_check_method=pass_all
5674 ;;5715 ;;
56755716
5717haiku*)
5718 lt_cv_deplibs_check_method=pass_all
5719 ;;
5720
5676hpux10.20* | hpux11*)5721hpux10.20* | hpux11*)
5677 lt_cv_file_magic_cmd=/usr/bin/file5722 lt_cv_file_magic_cmd=/usr/bin/file
5678 case $host_cpu in5723 case $host_cpu in
@@ -5681,11 +5726,11 @@
5681 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so5726 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5682 ;;5727 ;;
5683 hppa*64*)5728 hppa*64*)
5684 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]'5729 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5685 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl5730 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5686 ;;5731 ;;
5687 *)5732 *)
5688 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'5733 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5689 lt_cv_file_magic_test_file=/usr/lib/libc.sl5734 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5690 ;;5735 ;;
5691 esac5736 esac
@@ -5788,6 +5833,21 @@
5788fi5833fi
5789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&55834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5790$as_echo "$lt_cv_deplibs_check_method" >&6; }5835$as_echo "$lt_cv_deplibs_check_method" >&6; }
5836
5837file_magic_glob=
5838want_nocaseglob=no
5839if test "$build" = "$host"; then
5840 case $host_os in
5841 mingw* | pw32*)
5842 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5843 want_nocaseglob=yes
5844 else
5845 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5846 fi
5847 ;;
5848 esac
5849fi
5850
5791file_magic_cmd=$lt_cv_file_magic_cmd5851file_magic_cmd=$lt_cv_file_magic_cmd
5792deplibs_check_method=$lt_cv_deplibs_check_method5852deplibs_check_method=$lt_cv_deplibs_check_method
5793test -z "$deplibs_check_method" && deplibs_check_method=unknown5853test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -5803,12 +5863,165 @@
58035863
58045864
58055865
5806if test -n "$ac_tool_prefix"; then5866
5807 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.5867
5808set dummy ${ac_tool_prefix}ar; ac_word=$25868
5809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55869
5810$as_echo_n "checking for $ac_word... " >&6; }5870
5811if test "${ac_cv_prog_AR+set}" = set; then :5871
5872
5873
5874
5875
5876if test -n "$ac_tool_prefix"; then
5877 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5878set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880$as_echo_n "checking for $ac_word... " >&6; }
5881if ${ac_cv_prog_DLLTOOL+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883else
5884 if test -n "$DLLTOOL"; then
5885 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5886else
5887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888for as_dir in $PATH
5889do
5890 IFS=$as_save_IFS
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5894 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 break 2
5897 fi
5898done
5899 done
5900IFS=$as_save_IFS
5901
5902fi
5903fi
5904DLLTOOL=$ac_cv_prog_DLLTOOL
5905if test -n "$DLLTOOL"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5907$as_echo "$DLLTOOL" >&6; }
5908else
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910$as_echo "no" >&6; }
5911fi
5912
5913
5914fi
5915if test -z "$ac_cv_prog_DLLTOOL"; then
5916 ac_ct_DLLTOOL=$DLLTOOL
5917 # Extract the first word of "dlltool", so it can be a program name with args.
5918set dummy dlltool; ac_word=$2
5919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920$as_echo_n "checking for $ac_word... " >&6; }
5921if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5922 $as_echo_n "(cached) " >&6
5923else
5924 if test -n "$ac_ct_DLLTOOL"; then
5925 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5926else
5927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928for as_dir in $PATH
5929do
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5934 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 break 2
5937 fi
5938done
5939 done
5940IFS=$as_save_IFS
5941
5942fi
5943fi
5944ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5945if test -n "$ac_ct_DLLTOOL"; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5947$as_echo "$ac_ct_DLLTOOL" >&6; }
5948else
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950$as_echo "no" >&6; }
5951fi
5952
5953 if test "x$ac_ct_DLLTOOL" = x; then
5954 DLLTOOL="false"
5955 else
5956 case $cross_compiling:$ac_tool_warned in
5957yes:)
5958{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5959$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5960ac_tool_warned=yes ;;
5961esac
5962 DLLTOOL=$ac_ct_DLLTOOL
5963 fi
5964else
5965 DLLTOOL="$ac_cv_prog_DLLTOOL"
5966fi
5967
5968test -z "$DLLTOOL" && DLLTOOL=dlltool
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5980$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5981if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983else
5984 lt_cv_sharedlib_from_linklib_cmd='unknown'
5985
5986case $host_os in
5987cygwin* | mingw* | pw32* | cegcc*)
5988 # two different shell functions defined in ltmain.sh
5989 # decide which to use based on capabilities of $DLLTOOL
5990 case `$DLLTOOL --help 2>&1` in
5991 *--identify-strict*)
5992 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5993 ;;
5994 *)
5995 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5996 ;;
5997 esac
5998 ;;
5999*)
6000 # fallback: assume linklib IS sharedlib
6001 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6002 ;;
6003esac
6004
6005fi
6006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6007$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6008sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6009test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6010
6011
6012
6013
6014
6015
6016
6017if test -n "$ac_tool_prefix"; then
6018 for ac_prog in ar
6019 do
6020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6021set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023$as_echo_n "checking for $ac_word... " >&6; }
6024if ${ac_cv_prog_AR+:} false; then :
5812 $as_echo_n "(cached) " >&66025 $as_echo_n "(cached) " >&6
5813else6026else
5814 if test -n "$AR"; then6027 if test -n "$AR"; then
@@ -5821,7 +6034,7 @@
5821 test -z "$as_dir" && as_dir=.6034 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do6035 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_AR="${ac_tool_prefix}ar"6037 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 26039 break 2
5827 fi6040 fi
@@ -5841,14 +6054,18 @@
5841fi6054fi
58426055
58436056
6057 test -n "$AR" && break
6058 done
5844fi6059fi
5845if test -z "$ac_cv_prog_AR"; then6060if test -z "$AR"; then
5846 ac_ct_AR=$AR6061 ac_ct_AR=$AR
5847 # Extract the first word of "ar", so it can be a program name with args.6062 for ac_prog in ar
5848set dummy ar; ac_word=$26063do
6064 # Extract the first word of "$ac_prog", so it can be a program name with args.
6065set dummy $ac_prog; ac_word=$2
5849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850$as_echo_n "checking for $ac_word... " >&6; }6067$as_echo_n "checking for $ac_word... " >&6; }
5851if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :6068if ${ac_cv_prog_ac_ct_AR+:} false; then :
5852 $as_echo_n "(cached) " >&66069 $as_echo_n "(cached) " >&6
5853else6070else
5854 if test -n "$ac_ct_AR"; then6071 if test -n "$ac_ct_AR"; then
@@ -5861,7 +6078,7 @@
5861 test -z "$as_dir" && as_dir=.6078 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do6079 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_ac_ct_AR="ar"6081 ac_cv_prog_ac_ct_AR="$ac_prog"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 break 26083 break 2
5867 fi6084 fi
@@ -5880,6 +6097,10 @@
5880$as_echo "no" >&6; }6097$as_echo "no" >&6; }
5881fi6098fi
58826099
6100
6101 test -n "$ac_ct_AR" && break
6102done
6103
5883 if test "x$ac_ct_AR" = x; then6104 if test "x$ac_ct_AR" = x; then
5884 AR="false"6105 AR="false"
5885 else6106 else
@@ -5891,16 +6112,72 @@
5891esac6112esac
5892 AR=$ac_ct_AR6113 AR=$ac_ct_AR
5893 fi6114 fi
5894else6115fi
5895 AR="$ac_cv_prog_AR"6116
5896fi6117: ${AR=ar}
58976118: ${AR_FLAGS=cru}
5898test -z "$AR" && AR=ar6119
5899test -z "$AR_FLAGS" && AR_FLAGS=cru6120
59006121
59016122
59026123
59036124
6125
6126
6127
6128
6129
6130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6131$as_echo_n "checking for archiver @FILE support... " >&6; }
6132if ${lt_cv_ar_at_file+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134else
6135 lt_cv_ar_at_file=no
6136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6137/* end confdefs.h. */
6138
6139int
6140main ()
6141{
6142
6143 ;
6144 return 0;
6145}
6146_ACEOF
6147if ac_fn_c_try_compile "$LINENO"; then :
6148 echo conftest.$ac_objext > conftest.lst
6149 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6150 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6151 (eval $lt_ar_try) 2>&5
6152 ac_status=$?
6153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6154 test $ac_status = 0; }
6155 if test "$ac_status" -eq 0; then
6156 # Ensure the archiver fails upon bogus file names.
6157 rm -f conftest.$ac_objext libconftest.a
6158 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6159 (eval $lt_ar_try) 2>&5
6160 ac_status=$?
6161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6162 test $ac_status = 0; }
6163 if test "$ac_status" -ne 0; then
6164 lt_cv_ar_at_file=@
6165 fi
6166 fi
6167 rm -f conftest.* libconftest.a
6168
6169fi
6170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6171
6172fi
6173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6174$as_echo "$lt_cv_ar_at_file" >&6; }
6175
6176if test "x$lt_cv_ar_at_file" = xno; then
6177 archiver_list_spec=
6178else
6179 archiver_list_spec=$lt_cv_ar_at_file
6180fi
59046181
59056182
59066183
@@ -5913,7 +6190,7 @@
5913set dummy ${ac_tool_prefix}strip; ac_word=$26190set dummy ${ac_tool_prefix}strip; ac_word=$2
5914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915$as_echo_n "checking for $ac_word... " >&6; }6192$as_echo_n "checking for $ac_word... " >&6; }
5916if test "${ac_cv_prog_STRIP+set}" = set; then :6193if ${ac_cv_prog_STRIP+:} false; then :
5917 $as_echo_n "(cached) " >&66194 $as_echo_n "(cached) " >&6
5918else6195else
5919 if test -n "$STRIP"; then6196 if test -n "$STRIP"; then
@@ -5953,7 +6230,7 @@
5953set dummy strip; ac_word=$26230set dummy strip; ac_word=$2
5954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955$as_echo_n "checking for $ac_word... " >&6; }6232$as_echo_n "checking for $ac_word... " >&6; }
5956if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :6233if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5957 $as_echo_n "(cached) " >&66234 $as_echo_n "(cached) " >&6
5958else6235else
5959 if test -n "$ac_ct_STRIP"; then6236 if test -n "$ac_ct_STRIP"; then
@@ -6012,7 +6289,7 @@
6012set dummy ${ac_tool_prefix}ranlib; ac_word=$26289set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014$as_echo_n "checking for $ac_word... " >&6; }6291$as_echo_n "checking for $ac_word... " >&6; }
6015if test "${ac_cv_prog_RANLIB+set}" = set; then :6292if ${ac_cv_prog_RANLIB+:} false; then :
6016 $as_echo_n "(cached) " >&66293 $as_echo_n "(cached) " >&6
6017else6294else
6018 if test -n "$RANLIB"; then6295 if test -n "$RANLIB"; then
@@ -6052,7 +6329,7 @@
6052set dummy ranlib; ac_word=$26329set dummy ranlib; ac_word=$2
6053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054$as_echo_n "checking for $ac_word... " >&6; }6331$as_echo_n "checking for $ac_word... " >&6; }
6055if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :6332if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6056 $as_echo_n "(cached) " >&66333 $as_echo_n "(cached) " >&6
6057else6334else
6058 if test -n "$ac_ct_RANLIB"; then6335 if test -n "$ac_ct_RANLIB"; then
@@ -6123,6 +6400,18 @@
6123 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"6400 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6124fi6401fi
61256402
6403case $host_os in
6404 darwin*)
6405 lock_old_archive_extraction=yes ;;
6406 *)
6407 lock_old_archive_extraction=no ;;
6408esac
6409
6410
6411
6412
6413
6414
61266415
61276416
61286417
@@ -6169,7 +6458,7 @@
6169# Check for command to grab the raw symbol name followed by C symbol from nm.6458# Check for command to grab the raw symbol name followed by C symbol from nm.
6170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&56459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6171$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }6460$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6172if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :6461if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6173 $as_echo_n "(cached) " >&66462 $as_echo_n "(cached) " >&6
6174else6463else
61756464
@@ -6230,8 +6519,8 @@
6230lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"6519lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
62316520
6232# Transform an extracted symbol line into symbol name and symbol address6521# Transform an extracted symbol line into symbol name and symbol address
6233lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"6522lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6234lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"6523lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
62356524
6236# Handle CRLF in mingw tool chain6525# Handle CRLF in mingw tool chain
6237opt_cr=6526opt_cr=
@@ -6267,6 +6556,7 @@
6267 else6556 else
6268 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"6557 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6269 fi6558 fi
6559 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
62706560
6271 # Check to see that the pipe works correctly.6561 # Check to see that the pipe works correctly.
6272 pipe_works=no6562 pipe_works=no
@@ -6292,8 +6582,8 @@
6292 test $ac_status = 0; }; then6582 test $ac_status = 0; }; then
6293 # Now try to grab the symbols.6583 # Now try to grab the symbols.
6294 nlist=conftest.nm6584 nlist=conftest.nm
6295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&56585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6296 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&56586 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6297 ac_status=$?6587 ac_status=$?
6298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6299 test $ac_status = 0; } && test -s "$nlist"; then6589 test $ac_status = 0; } && test -s "$nlist"; then
@@ -6308,6 +6598,18 @@
6308 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then6598 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6309 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then6599 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6310 cat <<_LT_EOF > conftest.$ac_ext6600 cat <<_LT_EOF > conftest.$ac_ext
6601/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6602#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6603/* DATA imports from DLLs on WIN32 con't be const, because runtime
6604 relocations are performed -- see ld's documentation on pseudo-relocs. */
6605# define LT_DLSYM_CONST
6606#elif defined(__osf__)
6607/* This system does not cope well with relocations in const data. */
6608# define LT_DLSYM_CONST
6609#else
6610# define LT_DLSYM_CONST const
6611#endif
6612
6311#ifdef __cplusplus6613#ifdef __cplusplus
6312extern "C" {6614extern "C" {
6313#endif6615#endif
@@ -6319,7 +6621,7 @@
6319 cat <<_LT_EOF >> conftest.$ac_ext6621 cat <<_LT_EOF >> conftest.$ac_ext
63206622
6321/* The mapping between symbol names and symbols. */6623/* The mapping between symbol names and symbols. */
6322const struct {6624LT_DLSYM_CONST struct {
6323 const char *name;6625 const char *name;
6324 void *address;6626 void *address;
6325}6627}
@@ -6345,8 +6647,8 @@
6345_LT_EOF6647_LT_EOF
6346 # Now try linking the two files.6648 # Now try linking the two files.
6347 mv conftest.$ac_objext conftstm.$ac_objext6649 mv conftest.$ac_objext conftstm.$ac_objext
6348 lt_save_LIBS="$LIBS"6650 lt_globsym_save_LIBS=$LIBS
6349 lt_save_CFLAGS="$CFLAGS"6651 lt_globsym_save_CFLAGS=$CFLAGS
6350 LIBS="conftstm.$ac_objext"6652 LIBS="conftstm.$ac_objext"
6351 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"6653 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&56654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
@@ -6356,8 +6658,8 @@
6356 test $ac_status = 0; } && test -s conftest${ac_exeext}; then6658 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6357 pipe_works=yes6659 pipe_works=yes
6358 fi6660 fi
6359 LIBS="$lt_save_LIBS"6661 LIBS=$lt_globsym_save_LIBS
6360 CFLAGS="$lt_save_CFLAGS"6662 CFLAGS=$lt_globsym_save_CFLAGS
6361 else6663 else
6362 echo "cannot find nm_test_func in $nlist" >&56664 echo "cannot find nm_test_func in $nlist" >&5
6363 fi6665 fi
@@ -6394,22 +6696,71 @@
6394$as_echo "ok" >&6; }6696$as_echo "ok" >&6; }
6395fi6697fi
63966698
63976699# Response file support.
63986700if test "$lt_cv_nm_interface" = "MS dumpbin"; then
63996701 nm_file_list_spec='@'
64006702elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
64016703 nm_file_list_spec='@'
64026704fi
64036705
64046706
64056707
64066708
64076709
64086710
64096711
64106712
64116713
64126714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6733$as_echo_n "checking for sysroot... " >&6; }
6734
6735# Check whether --with-sysroot was given.
6736if test "${with_sysroot+set}" = set; then :
6737 withval=$with_sysroot;
6738else
6739 with_sysroot=no
6740fi
6741
6742
6743lt_sysroot=
6744case ${with_sysroot} in #(
6745 yes)
6746 if test "$GCC" = yes; then
6747 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6748 fi
6749 ;; #(
6750 /*)
6751 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6752 ;; #(
6753 no|'')
6754 ;; #(
6755 *)
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6757$as_echo "${with_sysroot}" >&6; }
6758 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6759 ;;
6760esac
6761
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6763$as_echo "${lt_sysroot:-no}" >&6; }
64136764
64146765
64156766
@@ -6446,7 +6797,7 @@
6446 ;;6797 ;;
6447*-*-irix6*)6798*-*-irix6*)
6448 # Find out which ABI we are using.6799 # Find out which ABI we are using.
6449 echo '#line 6449 "configure"' > conftest.$ac_ext6800 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6451 (eval $ac_compile) 2>&56802 (eval $ac_compile) 2>&5
6452 ac_status=$?6803 ac_status=$?
@@ -6540,7 +6891,7 @@
6540 CFLAGS="$CFLAGS -belf"6891 CFLAGS="$CFLAGS -belf"
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&56892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6542$as_echo_n "checking whether the C compiler needs -belf... " >&6; }6893$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6543if test "${lt_cv_cc_needs_belf+set}" = set; then :6894if ${lt_cv_cc_needs_belf+:} false; then :
6544 $as_echo_n "(cached) " >&66895 $as_echo_n "(cached) " >&6
6545else6896else
6546 ac_ext=c6897 ac_ext=c
@@ -6608,6 +6959,123 @@
66086959
6609need_locks="$enable_libtool_lock"6960need_locks="$enable_libtool_lock"
66106961
6962if test -n "$ac_tool_prefix"; then
6963 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6964set dummy ${ac_tool_prefix}mt; ac_word=$2
6965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966$as_echo_n "checking for $ac_word... " >&6; }
6967if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6968 $as_echo_n "(cached) " >&6
6969else
6970 if test -n "$MANIFEST_TOOL"; then
6971 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6972else
6973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974for as_dir in $PATH
6975do
6976 IFS=$as_save_IFS
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6980 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 break 2
6983 fi
6984done
6985 done
6986IFS=$as_save_IFS
6987
6988fi
6989fi
6990MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6991if test -n "$MANIFEST_TOOL"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6993$as_echo "$MANIFEST_TOOL" >&6; }
6994else
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996$as_echo "no" >&6; }
6997fi
6998
6999
7000fi
7001if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7002 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7003 # Extract the first word of "mt", so it can be a program name with args.
7004set dummy mt; ac_word=$2
7005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006$as_echo_n "checking for $ac_word... " >&6; }
7007if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7008 $as_echo_n "(cached) " >&6
7009else
7010 if test -n "$ac_ct_MANIFEST_TOOL"; then
7011 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7012else
7013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014for as_dir in $PATH
7015do
7016 IFS=$as_save_IFS
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7020 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7022 break 2
7023 fi
7024done
7025 done
7026IFS=$as_save_IFS
7027
7028fi
7029fi
7030ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7031if test -n "$ac_ct_MANIFEST_TOOL"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7033$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7034else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036$as_echo "no" >&6; }
7037fi
7038
7039 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7040 MANIFEST_TOOL=":"
7041 else
7042 case $cross_compiling:$ac_tool_warned in
7043yes:)
7044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046ac_tool_warned=yes ;;
7047esac
7048 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7049 fi
7050else
7051 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7052fi
7053
7054test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7056$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7057if ${lt_cv_path_mainfest_tool+:} false; then :
7058 $as_echo_n "(cached) " >&6
7059else
7060 lt_cv_path_mainfest_tool=no
7061 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7062 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7063 cat conftest.err >&5
7064 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7065 lt_cv_path_mainfest_tool=yes
7066 fi
7067 rm -f conftest*
7068fi
7069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7070$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7071if test "x$lt_cv_path_mainfest_tool" != xyes; then
7072 MANIFEST_TOOL=:
7073fi
7074
7075
7076
7077
7078
66117079
6612 case $host_os in7080 case $host_os in
6613 rhapsody* | darwin*)7081 rhapsody* | darwin*)
@@ -6616,7 +7084,7 @@
6616set dummy ${ac_tool_prefix}dsymutil; ac_word=$27084set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618$as_echo_n "checking for $ac_word... " >&6; }7086$as_echo_n "checking for $ac_word... " >&6; }
6619if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :7087if ${ac_cv_prog_DSYMUTIL+:} false; then :
6620 $as_echo_n "(cached) " >&67088 $as_echo_n "(cached) " >&6
6621else7089else
6622 if test -n "$DSYMUTIL"; then7090 if test -n "$DSYMUTIL"; then
@@ -6656,7 +7124,7 @@
6656set dummy dsymutil; ac_word=$27124set dummy dsymutil; ac_word=$2
6657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658$as_echo_n "checking for $ac_word... " >&6; }7126$as_echo_n "checking for $ac_word... " >&6; }
6659if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :7127if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6660 $as_echo_n "(cached) " >&67128 $as_echo_n "(cached) " >&6
6661else7129else
6662 if test -n "$ac_ct_DSYMUTIL"; then7130 if test -n "$ac_ct_DSYMUTIL"; then
@@ -6708,7 +7176,7 @@
6708set dummy ${ac_tool_prefix}nmedit; ac_word=$27176set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710$as_echo_n "checking for $ac_word... " >&6; }7178$as_echo_n "checking for $ac_word... " >&6; }
6711if test "${ac_cv_prog_NMEDIT+set}" = set; then :7179if ${ac_cv_prog_NMEDIT+:} false; then :
6712 $as_echo_n "(cached) " >&67180 $as_echo_n "(cached) " >&6
6713else7181else
6714 if test -n "$NMEDIT"; then7182 if test -n "$NMEDIT"; then
@@ -6748,7 +7216,7 @@
6748set dummy nmedit; ac_word=$27216set dummy nmedit; ac_word=$2
6749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750$as_echo_n "checking for $ac_word... " >&6; }7218$as_echo_n "checking for $ac_word... " >&6; }
6751if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :7219if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6752 $as_echo_n "(cached) " >&67220 $as_echo_n "(cached) " >&6
6753else7221else
6754 if test -n "$ac_ct_NMEDIT"; then7222 if test -n "$ac_ct_NMEDIT"; then
@@ -6800,7 +7268,7 @@
6800set dummy ${ac_tool_prefix}lipo; ac_word=$27268set dummy ${ac_tool_prefix}lipo; ac_word=$2
6801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802$as_echo_n "checking for $ac_word... " >&6; }7270$as_echo_n "checking for $ac_word... " >&6; }
6803if test "${ac_cv_prog_LIPO+set}" = set; then :7271if ${ac_cv_prog_LIPO+:} false; then :
6804 $as_echo_n "(cached) " >&67272 $as_echo_n "(cached) " >&6
6805else7273else
6806 if test -n "$LIPO"; then7274 if test -n "$LIPO"; then
@@ -6840,7 +7308,7 @@
6840set dummy lipo; ac_word=$27308set dummy lipo; ac_word=$2
6841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842$as_echo_n "checking for $ac_word... " >&6; }7310$as_echo_n "checking for $ac_word... " >&6; }
6843if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :7311if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6844 $as_echo_n "(cached) " >&67312 $as_echo_n "(cached) " >&6
6845else7313else
6846 if test -n "$ac_ct_LIPO"; then7314 if test -n "$ac_ct_LIPO"; then
@@ -6892,7 +7360,7 @@
6892set dummy ${ac_tool_prefix}otool; ac_word=$27360set dummy ${ac_tool_prefix}otool; ac_word=$2
6893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894$as_echo_n "checking for $ac_word... " >&6; }7362$as_echo_n "checking for $ac_word... " >&6; }
6895if test "${ac_cv_prog_OTOOL+set}" = set; then :7363if ${ac_cv_prog_OTOOL+:} false; then :
6896 $as_echo_n "(cached) " >&67364 $as_echo_n "(cached) " >&6
6897else7365else
6898 if test -n "$OTOOL"; then7366 if test -n "$OTOOL"; then
@@ -6932,7 +7400,7 @@
6932set dummy otool; ac_word=$27400set dummy otool; ac_word=$2
6933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934$as_echo_n "checking for $ac_word... " >&6; }7402$as_echo_n "checking for $ac_word... " >&6; }
6935if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :7403if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6936 $as_echo_n "(cached) " >&67404 $as_echo_n "(cached) " >&6
6937else7405else
6938 if test -n "$ac_ct_OTOOL"; then7406 if test -n "$ac_ct_OTOOL"; then
@@ -6984,7 +7452,7 @@
6984set dummy ${ac_tool_prefix}otool64; ac_word=$27452set dummy ${ac_tool_prefix}otool64; ac_word=$2
6985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986$as_echo_n "checking for $ac_word... " >&6; }7454$as_echo_n "checking for $ac_word... " >&6; }
6987if test "${ac_cv_prog_OTOOL64+set}" = set; then :7455if ${ac_cv_prog_OTOOL64+:} false; then :
6988 $as_echo_n "(cached) " >&67456 $as_echo_n "(cached) " >&6
6989else7457else
6990 if test -n "$OTOOL64"; then7458 if test -n "$OTOOL64"; then
@@ -7024,7 +7492,7 @@
7024set dummy otool64; ac_word=$27492set dummy otool64; ac_word=$2
7025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026$as_echo_n "checking for $ac_word... " >&6; }7494$as_echo_n "checking for $ac_word... " >&6; }
7027if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :7495if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7028 $as_echo_n "(cached) " >&67496 $as_echo_n "(cached) " >&6
7029else7497else
7030 if test -n "$ac_ct_OTOOL64"; then7498 if test -n "$ac_ct_OTOOL64"; then
@@ -7099,7 +7567,7 @@
70997567
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&57568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7101$as_echo_n "checking for -single_module linker flag... " >&6; }7569$as_echo_n "checking for -single_module linker flag... " >&6; }
7102if test "${lt_cv_apple_cc_single_mod+set}" = set; then :7570if ${lt_cv_apple_cc_single_mod+:} false; then :
7103 $as_echo_n "(cached) " >&67571 $as_echo_n "(cached) " >&6
7104else7572else
7105 lt_cv_apple_cc_single_mod=no7573 lt_cv_apple_cc_single_mod=no
@@ -7128,7 +7596,7 @@
7128$as_echo "$lt_cv_apple_cc_single_mod" >&6; }7596$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&57597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7130$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }7598$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7131if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :7599if ${lt_cv_ld_exported_symbols_list+:} false; then :
7132 $as_echo_n "(cached) " >&67600 $as_echo_n "(cached) " >&6
7133else7601else
7134 lt_cv_ld_exported_symbols_list=no7602 lt_cv_ld_exported_symbols_list=no
@@ -7158,6 +7626,38 @@
7158fi7626fi
7159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&57627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7160$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }7628$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7630$as_echo_n "checking for -force_load linker flag... " >&6; }
7631if ${lt_cv_ld_force_load+:} false; then :
7632 $as_echo_n "(cached) " >&6
7633else
7634 lt_cv_ld_force_load=no
7635 cat > conftest.c << _LT_EOF
7636int forced_loaded() { return 2;}
7637_LT_EOF
7638 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7639 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7640 echo "$AR cru libconftest.a conftest.o" >&5
7641 $AR cru libconftest.a conftest.o 2>&5
7642 echo "$RANLIB libconftest.a" >&5
7643 $RANLIB libconftest.a 2>&5
7644 cat > conftest.c << _LT_EOF
7645int main() { return 0;}
7646_LT_EOF
7647 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7648 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7649 _lt_result=$?
7650 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7651 lt_cv_ld_force_load=yes
7652 else
7653 cat conftest.err >&5
7654 fi
7655 rm -f conftest.err libconftest.a conftest conftest.c
7656 rm -rf conftest.dSYM
7657
7658fi
7659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7660$as_echo "$lt_cv_ld_force_load" >&6; }
7161 case $host_os in7661 case $host_os in
7162 rhapsody* | darwin1.[012])7662 rhapsody* | darwin1.[012])
7163 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;7663 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
@@ -7185,7 +7685,7 @@
7185 else7685 else
7186 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'7686 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7187 fi7687 fi
7188 if test "$DSYMUTIL" != ":"; then7688 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7189 _lt_dsymutil='~$DSYMUTIL $lib || :'7689 _lt_dsymutil='~$DSYMUTIL $lib || :'
7190 else7690 else
7191 _lt_dsymutil=7691 _lt_dsymutil=
@@ -7197,7 +7697,7 @@
7197do :7697do :
7198 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default7698 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7199"7699"
7200if test "x$ac_cv_header_dlfcn_h" = x""yes; then :7700if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7201 cat >>confdefs.h <<_ACEOF7701 cat >>confdefs.h <<_ACEOF
7202#define HAVE_DLFCN_H 17702#define HAVE_DLFCN_H 1
7203_ACEOF7703_ACEOF
@@ -7208,6 +7708,8 @@
72087708
72097709
72107710
7711
7712
7211# Set options7713# Set options
72127714
72137715
@@ -7360,6 +7862,7 @@
73607862
73617863
73627864
7865
7363test -z "$LN_S" && LN_S="ln -s"7866test -z "$LN_S" && LN_S="ln -s"
73647867
73657868
@@ -7381,7 +7884,7 @@
73817884
7382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&57885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7383$as_echo_n "checking for objdir... " >&6; }7886$as_echo_n "checking for objdir... " >&6; }
7384if test "${lt_cv_objdir+set}" = set; then :7887if ${lt_cv_objdir+:} false; then :
7385 $as_echo_n "(cached) " >&67888 $as_echo_n "(cached) " >&6
7386else7889else
7387 rm -f .libs 2>/dev/null7890 rm -f .libs 2>/dev/null
@@ -7409,19 +7912,6 @@
74097912
74107913
74117914
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425case $host_os in7915case $host_os in
7426aix3*)7916aix3*)
7427 # AIX sometimes has problems with the GCC collect2 program. For some7917 # AIX sometimes has problems with the GCC collect2 program. For some
@@ -7434,23 +7924,6 @@
7434 ;;7924 ;;
7435esac7925esac
74367926
7437# Sed substitution that helps us do robust quoting. It backslashifies
7438# metacharacters that are still active within double-quoted strings.
7439sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7440
7441# Same as above, but do not quote variable references.
7442double_quote_subst='s/\(["`\\]\)/\\\1/g'
7443
7444# Sed substitution to delay expansion of an escaped shell variable in a
7445# double_quote_subst'ed string.
7446delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7447
7448# Sed substitution to delay expansion of an escaped single quote.
7449delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7450
7451# Sed substitution to avoid accidental globbing in evaled expressions
7452no_glob_subst='s/\*/\\\*/g'
7453
7454# Global variables:7927# Global variables:
7455ofile=libtool7928ofile=libtool
7456can_build_shared=yes7929can_build_shared=yes
@@ -7479,7 +7952,7 @@
7479 *) break;;7952 *) break;;
7480 esac7953 esac
7481done7954done
7482cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`7955cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
74837956
74847957
7485# Only perform the check for file, if the check method requires it7958# Only perform the check for file, if the check method requires it
@@ -7489,7 +7962,7 @@
7489 if test "$file_magic_cmd" = '$MAGIC_CMD'; then7962 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&57963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7491$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }7964$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7492if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :7965if ${lt_cv_path_MAGIC_CMD+:} false; then :
7493 $as_echo_n "(cached) " >&67966 $as_echo_n "(cached) " >&6
7494else7967else
7495 case $MAGIC_CMD in7968 case $MAGIC_CMD in
@@ -7555,7 +8028,7 @@
7555 if test -n "$ac_tool_prefix"; then8028 if test -n "$ac_tool_prefix"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&58029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7557$as_echo_n "checking for file... " >&6; }8030$as_echo_n "checking for file... " >&6; }
7558if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :8031if ${lt_cv_path_MAGIC_CMD+:} false; then :
7559 $as_echo_n "(cached) " >&68032 $as_echo_n "(cached) " >&6
7560else8033else
7561 case $MAGIC_CMD in8034 case $MAGIC_CMD in
@@ -7688,11 +8161,16 @@
7688lt_prog_compiler_no_builtin_flag=8161lt_prog_compiler_no_builtin_flag=
76898162
7690if test "$GCC" = yes; then8163if test "$GCC" = yes; then
7691 lt_prog_compiler_no_builtin_flag=' -fno-builtin'8164 case $cc_basename in
8165 nvcc*)
8166 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8167 *)
8168 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8169 esac
76928170
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&58171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7694$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }8172$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7695if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :8173if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7696 $as_echo_n "(cached) " >&68174 $as_echo_n "(cached) " >&6
7697else8175else
7698 lt_cv_prog_compiler_rtti_exceptions=no8176 lt_cv_prog_compiler_rtti_exceptions=no
@@ -7708,15 +8186,15 @@
7708 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7709 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7710 -e 's:$: $lt_compiler_flag:'`8188 -e 's:$: $lt_compiler_flag:'`
7711 (eval echo "\"\$as_me:7711: $lt_compile\"" >&5)8189 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7712 (eval "$lt_compile" 2>conftest.err)8190 (eval "$lt_compile" 2>conftest.err)
7713 ac_status=$?8191 ac_status=$?
7714 cat conftest.err >&58192 cat conftest.err >&5
7715 echo "$as_me:7715: \$? = $ac_status" >&58193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 if (exit $ac_status) && test -s "$ac_outfile"; then8194 if (exit $ac_status) && test -s "$ac_outfile"; then
7717 # The compiler can only warn and ignore the option if not recognized8195 # The compiler can only warn and ignore the option if not recognized
7718 # So say no if there are warnings other than the usual output.8196 # So say no if there are warnings other than the usual output.
7719 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp8197 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7720 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28198 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7721 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then8199 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7722 lt_cv_prog_compiler_rtti_exceptions=yes8200 lt_cv_prog_compiler_rtti_exceptions=yes
@@ -7745,8 +8223,6 @@
7745lt_prog_compiler_pic=8223lt_prog_compiler_pic=
7746lt_prog_compiler_static=8224lt_prog_compiler_static=
77478225
7748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7749$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
77508226
7751 if test "$GCC" = yes; then8227 if test "$GCC" = yes; then
7752 lt_prog_compiler_wl='-Wl,'8228 lt_prog_compiler_wl='-Wl,'
@@ -7794,6 +8270,12 @@
7794 lt_prog_compiler_pic='-fno-common'8270 lt_prog_compiler_pic='-fno-common'
7795 ;;8271 ;;
77968272
8273 haiku*)
8274 # PIC is the default for Haiku.
8275 # The "-static" flag exists, but is broken.
8276 lt_prog_compiler_static=
8277 ;;
8278
7797 hpux*)8279 hpux*)
7798 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit8280 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7799 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag8281 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
@@ -7836,6 +8318,13 @@
7836 lt_prog_compiler_pic='-fPIC'8318 lt_prog_compiler_pic='-fPIC'
7837 ;;8319 ;;
7838 esac8320 esac
8321
8322 case $cc_basename in
8323 nvcc*) # Cuda Compiler Driver 2.2
8324 lt_prog_compiler_wl='-Xlinker '
8325 lt_prog_compiler_pic='-Xcompiler -fPIC'
8326 ;;
8327 esac
7839 else8328 else
7840 # PORTME Check for flag to pass linker flags through the system compiler.8329 # PORTME Check for flag to pass linker flags through the system compiler.
7841 case $host_os in8330 case $host_os in
@@ -7898,7 +8387,13 @@
7898 lt_prog_compiler_pic='--shared'8387 lt_prog_compiler_pic='--shared'
7899 lt_prog_compiler_static='--static'8388 lt_prog_compiler_static='--static'
7900 ;;8389 ;;
7901 pgcc* | pgf77* | pgf90* | pgf95*)8390 nagfor*)
8391 # NAG Fortran compiler
8392 lt_prog_compiler_wl='-Wl,-Wl,,'
8393 lt_prog_compiler_pic='-PIC'
8394 lt_prog_compiler_static='-Bstatic'
8395 ;;
8396 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7902 # Portland Group compilers (*not* the Pentium gcc compiler,8397 # Portland Group compilers (*not* the Pentium gcc compiler,
7903 # which looks to be a dead project)8398 # which looks to be a dead project)
7904 lt_prog_compiler_wl='-Wl,'8399 lt_prog_compiler_wl='-Wl,'
@@ -7910,26 +8405,26 @@
7910 # All Alpha code is PIC.8405 # All Alpha code is PIC.
7911 lt_prog_compiler_static='-non_shared'8406 lt_prog_compiler_static='-non_shared'
7912 ;;8407 ;;
7913 xl*)8408 xl* | bgxl* | bgf* | mpixl*)
7914 # IBM XL C 8.0/Fortran 10.1 on PPC8409 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7915 lt_prog_compiler_wl='-Wl,'8410 lt_prog_compiler_wl='-Wl,'
7916 lt_prog_compiler_pic='-qpic'8411 lt_prog_compiler_pic='-qpic'
7917 lt_prog_compiler_static='-qstaticlink'8412 lt_prog_compiler_static='-qstaticlink'
7918 ;;8413 ;;
7919 *)8414 *)
7920 case `$CC -V 2>&1 | sed 5q` in8415 case `$CC -V 2>&1 | sed 5q` in
8416 *Sun\ F* | *Sun*Fortran*)
8417 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8418 lt_prog_compiler_pic='-KPIC'
8419 lt_prog_compiler_static='-Bstatic'
8420 lt_prog_compiler_wl=''
8421 ;;
7921 *Sun\ C*)8422 *Sun\ C*)
7922 # Sun C 5.98423 # Sun C 5.9
7923 lt_prog_compiler_pic='-KPIC'8424 lt_prog_compiler_pic='-KPIC'
7924 lt_prog_compiler_static='-Bstatic'8425 lt_prog_compiler_static='-Bstatic'
7925 lt_prog_compiler_wl='-Wl,'8426 lt_prog_compiler_wl='-Wl,'
7926 ;;8427 ;;
7927 *Sun\ F*)
7928 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7929 lt_prog_compiler_pic='-KPIC'
7930 lt_prog_compiler_static='-Bstatic'
7931 lt_prog_compiler_wl=''
7932 ;;
7933 esac8428 esac
7934 ;;8429 ;;
7935 esac8430 esac
@@ -7960,7 +8455,7 @@
7960 lt_prog_compiler_pic='-KPIC'8455 lt_prog_compiler_pic='-KPIC'
7961 lt_prog_compiler_static='-Bstatic'8456 lt_prog_compiler_static='-Bstatic'
7962 case $cc_basename in8457 case $cc_basename in
7963 f77* | f90* | f95*)8458 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7964 lt_prog_compiler_wl='-Qoption ld ';;8459 lt_prog_compiler_wl='-Qoption ld ';;
7965 *)8460 *)
7966 lt_prog_compiler_wl='-Wl,';;8461 lt_prog_compiler_wl='-Wl,';;
@@ -8017,13 +8512,17 @@
8017 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"8512 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8018 ;;8513 ;;
8019esac8514esac
8020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&58515
8021$as_echo "$lt_prog_compiler_pic" >&6; }8516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
80228517$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
80238518if ${lt_cv_prog_compiler_pic+:} false; then :
80248519 $as_echo_n "(cached) " >&6
80258520else
80268521 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8522fi
8523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8524$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8525lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
80278526
8028#8527#
8029# Check to make sure the PIC flag actually works.8528# Check to make sure the PIC flag actually works.
@@ -8031,7 +8530,7 @@
8031if test -n "$lt_prog_compiler_pic"; then8530if test -n "$lt_prog_compiler_pic"; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&58531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8033$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }8532$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8034if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :8533if ${lt_cv_prog_compiler_pic_works+:} false; then :
8035 $as_echo_n "(cached) " >&68534 $as_echo_n "(cached) " >&6
8036else8535else
8037 lt_cv_prog_compiler_pic_works=no8536 lt_cv_prog_compiler_pic_works=no
@@ -8047,15 +8546,15 @@
8047 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8049 -e 's:$: $lt_compiler_flag:'`8548 -e 's:$: $lt_compiler_flag:'`
8050 (eval echo "\"\$as_me:8050: $lt_compile\"" >&5)8549 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8051 (eval "$lt_compile" 2>conftest.err)8550 (eval "$lt_compile" 2>conftest.err)
8052 ac_status=$?8551 ac_status=$?
8053 cat conftest.err >&58552 cat conftest.err >&5
8054 echo "$as_me:8054: \$? = $ac_status" >&58553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 if (exit $ac_status) && test -s "$ac_outfile"; then8554 if (exit $ac_status) && test -s "$ac_outfile"; then
8056 # The compiler can only warn and ignore the option if not recognized8555 # The compiler can only warn and ignore the option if not recognized
8057 # So say no if there are warnings other than the usual output.8556 # So say no if there are warnings other than the usual output.
8058 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp8557 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8059 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28558 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8060 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then8559 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8061 lt_cv_prog_compiler_pic_works=yes8560 lt_cv_prog_compiler_pic_works=yes
@@ -8084,13 +8583,18 @@
80848583
80858584
80868585
8586
8587
8588
8589
8590
8087#8591#
8088# Check to make sure the static flag actually works.8592# Check to make sure the static flag actually works.
8089#8593#
8090wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"8594wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&58595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8092$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }8596$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8093if test "${lt_cv_prog_compiler_static_works+set}" = set; then :8597if ${lt_cv_prog_compiler_static_works+:} false; then :
8094 $as_echo_n "(cached) " >&68598 $as_echo_n "(cached) " >&6
8095else8599else
8096 lt_cv_prog_compiler_static_works=no8600 lt_cv_prog_compiler_static_works=no
@@ -8103,7 +8607,7 @@
8103 if test -s conftest.err; then8607 if test -s conftest.err; then
8104 # Append any errors to the config.log.8608 # Append any errors to the config.log.
8105 cat conftest.err 1>&58609 cat conftest.err 1>&5
8106 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp8610 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8107 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28611 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8108 if diff conftest.exp conftest.er2 >/dev/null; then8612 if diff conftest.exp conftest.er2 >/dev/null; then
8109 lt_cv_prog_compiler_static_works=yes8613 lt_cv_prog_compiler_static_works=yes
@@ -8133,7 +8637,7 @@
81338637
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&58638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8135$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }8639$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8136if test "${lt_cv_prog_compiler_c_o+set}" = set; then :8640if ${lt_cv_prog_compiler_c_o+:} false; then :
8137 $as_echo_n "(cached) " >&68641 $as_echo_n "(cached) " >&6
8138else8642else
8139 lt_cv_prog_compiler_c_o=no8643 lt_cv_prog_compiler_c_o=no
@@ -8152,16 +8656,16 @@
8152 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8656 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8153 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8154 -e 's:$: $lt_compiler_flag:'`8658 -e 's:$: $lt_compiler_flag:'`
8155 (eval echo "\"\$as_me:8155: $lt_compile\"" >&5)8659 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8156 (eval "$lt_compile" 2>out/conftest.err)8660 (eval "$lt_compile" 2>out/conftest.err)
8157 ac_status=$?8661 ac_status=$?
8158 cat out/conftest.err >&58662 cat out/conftest.err >&5
8159 echo "$as_me:8159: \$? = $ac_status" >&58663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 if (exit $ac_status) && test -s out/conftest2.$ac_objext8664 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8161 then8665 then
8162 # The compiler can only warn and ignore the option if not recognized8666 # The compiler can only warn and ignore the option if not recognized
8163 # So say no if there are warnings8667 # So say no if there are warnings
8164 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp8668 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8165 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er28669 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8166 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then8670 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8167 lt_cv_prog_compiler_c_o=yes8671 lt_cv_prog_compiler_c_o=yes
@@ -8188,7 +8692,7 @@
81888692
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&58693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8190$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }8694$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8191if test "${lt_cv_prog_compiler_c_o+set}" = set; then :8695if ${lt_cv_prog_compiler_c_o+:} false; then :
8192 $as_echo_n "(cached) " >&68696 $as_echo_n "(cached) " >&6
8193else8697else
8194 lt_cv_prog_compiler_c_o=no8698 lt_cv_prog_compiler_c_o=no
@@ -8207,16 +8711,16 @@
8207 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8711 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8208 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8209 -e 's:$: $lt_compiler_flag:'`8713 -e 's:$: $lt_compiler_flag:'`
8210 (eval echo "\"\$as_me:8210: $lt_compile\"" >&5)8714 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8211 (eval "$lt_compile" 2>out/conftest.err)8715 (eval "$lt_compile" 2>out/conftest.err)
8212 ac_status=$?8716 ac_status=$?
8213 cat out/conftest.err >&58717 cat out/conftest.err >&5
8214 echo "$as_me:8214: \$? = $ac_status" >&58718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 if (exit $ac_status) && test -s out/conftest2.$ac_objext8719 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8216 then8720 then
8217 # The compiler can only warn and ignore the option if not recognized8721 # The compiler can only warn and ignore the option if not recognized
8218 # So say no if there are warnings8722 # So say no if there are warnings
8219 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp8723 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8220 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er28724 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8221 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then8725 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8222 lt_cv_prog_compiler_c_o=yes8726 lt_cv_prog_compiler_c_o=yes
@@ -8326,13 +8830,39 @@
8326 openbsd*)8830 openbsd*)
8327 with_gnu_ld=no8831 with_gnu_ld=no
8328 ;;8832 ;;
8329 linux* | k*bsd*-gnu)8833 linux* | k*bsd*-gnu | gnu*)
8330 link_all_deplibs=no8834 link_all_deplibs=no
8331 ;;8835 ;;
8332 esac8836 esac
83338837
8334 ld_shlibs=yes8838 ld_shlibs=yes
8839
8840 # On some targets, GNU ld is compatible enough with the native linker
8841 # that we're better off using the native interface for both.
8842 lt_use_gnu_ld_interface=no
8335 if test "$with_gnu_ld" = yes; then8843 if test "$with_gnu_ld" = yes; then
8844 case $host_os in
8845 aix*)
8846 # The AIX port of GNU ld has always aspired to compatibility
8847 # with the native linker. However, as the warning in the GNU ld
8848 # block says, versions before 2.19.5* couldn't really create working
8849 # shared libraries, regardless of the interface used.
8850 case `$LD -v 2>&1` in
8851 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8852 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8853 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8854 *)
8855 lt_use_gnu_ld_interface=yes
8856 ;;
8857 esac
8858 ;;
8859 *)
8860 lt_use_gnu_ld_interface=yes
8861 ;;
8862 esac
8863 fi
8864
8865 if test "$lt_use_gnu_ld_interface" = yes; then
8336 # If archive_cmds runs LD, not CC, wlarc should be empty8866 # If archive_cmds runs LD, not CC, wlarc should be empty
8337 wlarc='${wl}'8867 wlarc='${wl}'
83388868
@@ -8366,11 +8896,12 @@
8366 ld_shlibs=no8896 ld_shlibs=no
8367 cat <<_LT_EOF 1>&28897 cat <<_LT_EOF 1>&2
83688898
8369*** Warning: the GNU linker, at least up to release 2.9.1, is reported8899*** Warning: the GNU linker, at least up to release 2.19, is reported
8370*** to be unable to reliably create shared libraries on AIX.8900*** to be unable to reliably create shared libraries on AIX.
8371*** Therefore, libtool is disabling shared libraries support. If you8901*** Therefore, libtool is disabling shared libraries support. If you
8372*** really care for shared libraries, you may want to modify your PATH8902*** really care for shared libraries, you may want to install binutils
8373*** so that a non-GNU linker is found, and then restart.8903*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8904*** You will then need to restart the configuration process.
83748905
8375_LT_EOF8906_LT_EOF
8376 fi8907 fi
@@ -8406,10 +8937,12 @@
8406 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,8937 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8407 # as there is no search path for DLLs.8938 # as there is no search path for DLLs.
8408 hardcode_libdir_flag_spec='-L$libdir'8939 hardcode_libdir_flag_spec='-L$libdir'
8940 export_dynamic_flag_spec='${wl}--export-all-symbols'
8409 allow_undefined_flag=unsupported8941 allow_undefined_flag=unsupported
8410 always_export_symbols=no8942 always_export_symbols=no
8411 enable_shared_with_static_runtimes=yes8943 enable_shared_with_static_runtimes=yes
8412 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'8944 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8945 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
84138946
8414 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then8947 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'8948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
@@ -8427,6 +8960,11 @@
8427 fi8960 fi
8428 ;;8961 ;;
84298962
8963 haiku*)
8964 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8965 link_all_deplibs=yes
8966 ;;
8967
8430 interix[3-9]*)8968 interix[3-9]*)
8431 hardcode_direct=no8969 hardcode_direct=no
8432 hardcode_shlibpath_var=no8970 hardcode_shlibpath_var=no
@@ -8452,15 +8990,16 @@
8452 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \8990 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8453 && test "$tmp_diet" = no8991 && test "$tmp_diet" = no
8454 then8992 then
8455 tmp_addflag=8993 tmp_addflag=' $pic_flag'
8456 tmp_sharedflag='-shared'8994 tmp_sharedflag='-shared'
8457 case $cc_basename,$host_cpu in8995 case $cc_basename,$host_cpu in
8458 pgcc*) # Portland Group C compiler8996 pgcc*) # Portland Group C compiler
8459 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'8997 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8460 tmp_addflag=' $pic_flag'8998 tmp_addflag=' $pic_flag'
8461 ;;8999 ;;
8462 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers9000 pgf77* | pgf90* | pgf95* | pgfortran*)
8463 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'9001 # Portland Group f77 and f90 compilers
9002 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8464 tmp_addflag=' $pic_flag -Mnomain' ;;9003 tmp_addflag=' $pic_flag -Mnomain' ;;
8465 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia649004 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8466 tmp_addflag=' -i_dynamic' ;;9005 tmp_addflag=' -i_dynamic' ;;
@@ -8471,13 +9010,17 @@
8471 lf95*) # Lahey Fortran 8.19010 lf95*) # Lahey Fortran 8.1
8472 whole_archive_flag_spec=9011 whole_archive_flag_spec=
8473 tmp_sharedflag='--shared' ;;9012 tmp_sharedflag='--shared' ;;
8474 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)9013 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8475 tmp_sharedflag='-qmkshrobj'9014 tmp_sharedflag='-qmkshrobj'
8476 tmp_addflag= ;;9015 tmp_addflag= ;;
9016 nvcc*) # Cuda Compiler Driver 2.2
9017 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9018 compiler_needs_object=yes
9019 ;;
8477 esac9020 esac
8478 case `$CC -V 2>&1 | sed 5q` in9021 case `$CC -V 2>&1 | sed 5q` in
8479 *Sun\ C*) # Sun C 5.99022 *Sun\ C*) # Sun C 5.9
8480 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'9023 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8481 compiler_needs_object=yes9024 compiler_needs_object=yes
8482 tmp_sharedflag='-G' ;;9025 tmp_sharedflag='-G' ;;
8483 *Sun\ F*) # Sun Fortran 8.39026 *Sun\ F*) # Sun Fortran 8.3
@@ -8493,17 +9036,17 @@
8493 fi9036 fi
84949037
8495 case $cc_basename in9038 case $cc_basename in
8496 xlf*)9039 xlf* | bgf* | bgxlf* | mpixlf*)
8497 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself9040 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8498 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'9041 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8499 hardcode_libdir_flag_spec=9042 hardcode_libdir_flag_spec=
8500 hardcode_libdir_flag_spec_ld='-rpath $libdir'9043 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8501 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'9044 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8502 if test "x$supports_anon_versioning" = xyes; then9045 if test "x$supports_anon_versioning" = xyes; then
8503 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~9046 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8504 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~9047 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8505 echo "local: *; };" >> $output_objdir/$libname.ver~9048 echo "local: *; };" >> $output_objdir/$libname.ver~
8506 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'9049 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8507 fi9050 fi
8508 ;;9051 ;;
8509 esac9052 esac
@@ -8517,8 +9060,8 @@
8517 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'9060 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8518 wlarc=9061 wlarc=
8519 else9062 else
8520 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'9063 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8521 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'9064 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8522 fi9065 fi
8523 ;;9066 ;;
85249067
@@ -8536,8 +9079,8 @@
85369079
8537_LT_EOF9080_LT_EOF
8538 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9081 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'9082 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8540 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'9083 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8541 else9084 else
8542 ld_shlibs=no9085 ld_shlibs=no
8543 fi9086 fi
@@ -8583,8 +9126,8 @@
85839126
8584 *)9127 *)
8585 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9128 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8586 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'9129 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8587 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'9130 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8588 else9131 else
8589 ld_shlibs=no9132 ld_shlibs=no
8590 fi9133 fi
@@ -8624,8 +9167,10 @@
8624 else9167 else
8625 # If we're using GNU nm, then we don't want the "-C" option.9168 # If we're using GNU nm, then we don't want the "-C" option.
8626 # -C means demangle to AIX nm, but means don't demangle with GNU nm9169 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9170 # Also, AIX nm treats weak defined symbols like other global
9171 # defined symbols, whereas GNU nm marks them as "W".
8627 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then9172 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8628 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'9173 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8629 else9174 else
8630 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'9175 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8631 fi9176 fi
@@ -8713,7 +9258,13 @@
8713 allow_undefined_flag='-berok'9258 allow_undefined_flag='-berok'
8714 # Determine the default libpath from the value encoded in an9259 # Determine the default libpath from the value encoded in an
8715 # empty executable.9260 # empty executable.
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9261 if test "${lt_cv_aix_libpath+set}" = set; then
9262 aix_libpath=$lt_cv_aix_libpath
9263else
9264 if ${lt_cv_aix_libpath_+:} false; then :
9265 $as_echo_n "(cached) " >&6
9266else
9267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717/* end confdefs.h. */9268/* end confdefs.h. */
87189269
8719int9270int
@@ -8726,25 +9277,32 @@
8726_ACEOF9277_ACEOF
8727if ac_fn_c_try_link "$LINENO"; then :9278if ac_fn_c_try_link "$LINENO"; then :
87289279
8729lt_aix_libpath_sed='9280 lt_aix_libpath_sed='
8730 /Import File Strings/,/^$/ {9281 /Import File Strings/,/^$/ {
8731 /^0/ {9282 /^0/ {
8732 s/^0 *\(.*\)$/\1/9283 s/^0 *\([^ ]*\) *$/\1/
8733 p9284 p
8734 }9285 }
8735 }'9286 }'
8736aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9287 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8737# Check for a 64-bit object if we didn't find anything.9288 # Check for a 64-bit object if we didn't find anything.
8738if test -z "$aix_libpath"; then9289 if test -z "$lt_cv_aix_libpath_"; then
8739 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9290 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8740fi9291 fi
8741fi9292fi
8742rm -f core conftest.err conftest.$ac_objext \9293rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext9294 conftest$ac_exeext conftest.$ac_ext
8744if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi9295 if test -z "$lt_cv_aix_libpath_"; then
9296 lt_cv_aix_libpath_="/usr/lib:/lib"
9297 fi
9298
9299fi
9300
9301 aix_libpath=$lt_cv_aix_libpath_
9302fi
87459303
8746 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"9304 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8747 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"9305 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8748 else9306 else
8749 if test "$host_cpu" = ia64; then9307 if test "$host_cpu" = ia64; then
8750 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'9308 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
@@ -8753,7 +9311,13 @@
8753 else9311 else
8754 # Determine the default libpath from the value encoded in an9312 # Determine the default libpath from the value encoded in an
8755 # empty executable.9313 # empty executable.
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9314 if test "${lt_cv_aix_libpath+set}" = set; then
9315 aix_libpath=$lt_cv_aix_libpath
9316else
9317 if ${lt_cv_aix_libpath_+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319else
9320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757/* end confdefs.h. */9321/* end confdefs.h. */
87589322
8759int9323int
@@ -8766,30 +9330,42 @@
8766_ACEOF9330_ACEOF
8767if ac_fn_c_try_link "$LINENO"; then :9331if ac_fn_c_try_link "$LINENO"; then :
87689332
8769lt_aix_libpath_sed='9333 lt_aix_libpath_sed='
8770 /Import File Strings/,/^$/ {9334 /Import File Strings/,/^$/ {
8771 /^0/ {9335 /^0/ {
8772 s/^0 *\(.*\)$/\1/9336 s/^0 *\([^ ]*\) *$/\1/
8773 p9337 p
8774 }9338 }
8775 }'9339 }'
8776aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9340 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8777# Check for a 64-bit object if we didn't find anything.9341 # Check for a 64-bit object if we didn't find anything.
8778if test -z "$aix_libpath"; then9342 if test -z "$lt_cv_aix_libpath_"; then
8779 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9343 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8780fi9344 fi
8781fi9345fi
8782rm -f core conftest.err conftest.$ac_objext \9346rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext9347 conftest$ac_exeext conftest.$ac_ext
8784if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi9348 if test -z "$lt_cv_aix_libpath_"; then
9349 lt_cv_aix_libpath_="/usr/lib:/lib"
9350 fi
9351
9352fi
9353
9354 aix_libpath=$lt_cv_aix_libpath_
9355fi
87859356
8786 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"9357 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8787 # Warning - without using the other run time loading flags,9358 # Warning - without using the other run time loading flags,
8788 # -berok will link without error, but may produce a broken library.9359 # -berok will link without error, but may produce a broken library.
8789 no_undefined_flag=' ${wl}-bernotok'9360 no_undefined_flag=' ${wl}-bernotok'
8790 allow_undefined_flag=' ${wl}-berok'9361 allow_undefined_flag=' ${wl}-berok'
8791 # Exported symbols can be pulled into shared objects from archives9362 if test "$with_gnu_ld" = yes; then
8792 whole_archive_flag_spec='$convenience'9363 # We only use this code for GNU lds that support --whole-archive.
9364 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9365 else
9366 # Exported symbols can be pulled into shared objects from archives
9367 whole_archive_flag_spec='$convenience'
9368 fi
8793 archive_cmds_need_lc=yes9369 archive_cmds_need_lc=yes
8794 # This is similar to how AIX traditionally builds its shared libraries.9370 # This is similar to how AIX traditionally builds its shared libraries.
8795 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'9371 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
@@ -8821,20 +9397,63 @@
8821 # Microsoft Visual C++.9397 # Microsoft Visual C++.
8822 # hardcode_libdir_flag_spec is actually meaningless, as there is9398 # hardcode_libdir_flag_spec is actually meaningless, as there is
8823 # no search path for DLLs.9399 # no search path for DLLs.
8824 hardcode_libdir_flag_spec=' '9400 case $cc_basename in
8825 allow_undefined_flag=unsupported9401 cl*)
8826 # Tell ltmain to make .lib files, not .a files.9402 # Native MSVC
8827 libext=lib9403 hardcode_libdir_flag_spec=' '
8828 # Tell ltmain to make .dll files, not .so files.9404 allow_undefined_flag=unsupported
8829 shrext_cmds=".dll"9405 always_export_symbols=yes
8830 # FIXME: Setting linknames here is a bad hack.9406 file_list_spec='@'
8831 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='9407 # Tell ltmain to make .lib files, not .a files.
8832 # The linker will automatically build a .lib file if we build a DLL.9408 libext=lib
8833 old_archive_from_new_cmds='true'9409 # Tell ltmain to make .dll files, not .so files.
8834 # FIXME: Should let the user specify the lib program.9410 shrext_cmds=".dll"
8835 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'9411 # FIXME: Setting linknames here is a bad hack.
8836 fix_srcfile_path='`cygpath -w "$srcfile"`'9412 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8837 enable_shared_with_static_runtimes=yes9413 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9414 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9415 else
9416 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9417 fi~
9418 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9419 linknames='
9420 # The linker will not automatically build a static lib if we build a DLL.
9421 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9422 enable_shared_with_static_runtimes=yes
9423 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9424 # Don't use ranlib
9425 old_postinstall_cmds='chmod 644 $oldlib'
9426 postlink_cmds='lt_outputfile="@OUTPUT@"~
9427 lt_tool_outputfile="@TOOL_OUTPUT@"~
9428 case $lt_outputfile in
9429 *.exe|*.EXE) ;;
9430 *)
9431 lt_outputfile="$lt_outputfile.exe"
9432 lt_tool_outputfile="$lt_tool_outputfile.exe"
9433 ;;
9434 esac~
9435 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9436 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9437 $RM "$lt_outputfile.manifest";
9438 fi'
9439 ;;
9440 *)
9441 # Assume MSVC wrapper
9442 hardcode_libdir_flag_spec=' '
9443 allow_undefined_flag=unsupported
9444 # Tell ltmain to make .lib files, not .a files.
9445 libext=lib
9446 # Tell ltmain to make .dll files, not .so files.
9447 shrext_cmds=".dll"
9448 # FIXME: Setting linknames here is a bad hack.
9449 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9450 # The linker will automatically build a .lib file if we build a DLL.
9451 old_archive_from_new_cmds='true'
9452 # FIXME: Should let the user specify the lib program.
9453 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9454 enable_shared_with_static_runtimes=yes
9455 ;;
9456 esac
8838 ;;9457 ;;
88399458
8840 darwin* | rhapsody*)9459 darwin* | rhapsody*)
@@ -8844,7 +9463,11 @@
8844 hardcode_direct=no9463 hardcode_direct=no
8845 hardcode_automatic=yes9464 hardcode_automatic=yes
8846 hardcode_shlibpath_var=unsupported9465 hardcode_shlibpath_var=unsupported
8847 whole_archive_flag_spec=''9466 if test "$lt_cv_ld_force_load" = "yes"; then
9467 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9468 else
9469 whole_archive_flag_spec=''
9470 fi
8848 link_all_deplibs=yes9471 link_all_deplibs=yes
8849 allow_undefined_flag="$_lt_dar_allow_undefined"9472 allow_undefined_flag="$_lt_dar_allow_undefined"
8850 case $cc_basename in9473 case $cc_basename in
@@ -8852,7 +9475,7 @@
8852 *) _lt_dar_can_shared=$GCC ;;9475 *) _lt_dar_can_shared=$GCC ;;
8853 esac9476 esac
8854 if test "$_lt_dar_can_shared" = "yes"; then9477 if test "$_lt_dar_can_shared" = "yes"; then
8855 output_verbose_link_cmd=echo9478 output_verbose_link_cmd=func_echo_all
8856 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"9479 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8857 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"9480 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8858 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"9481 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
@@ -8895,7 +9518,7 @@
88959518
8896 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.9519 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8897 freebsd* | dragonfly*)9520 freebsd* | dragonfly*)
8898 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'9521 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8899 hardcode_libdir_flag_spec='-R$libdir'9522 hardcode_libdir_flag_spec='-R$libdir'
8900 hardcode_direct=yes9523 hardcode_direct=yes
8901 hardcode_shlibpath_var=no9524 hardcode_shlibpath_var=no
@@ -8903,7 +9526,7 @@
89039526
8904 hpux9*)9527 hpux9*)
8905 if test "$GCC" = yes; then9528 if test "$GCC" = yes; then
8906 archive_cmds='$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'9529 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8907 else9530 else
8908 archive_cmds='$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'9531 archive_cmds='$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'
8909 fi9532 fi
@@ -8918,8 +9541,8 @@
8918 ;;9541 ;;
89199542
8920 hpux10*)9543 hpux10*)
8921 if test "$GCC" = yes -a "$with_gnu_ld" = no; then9544 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8922 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9545 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8923 else9546 else
8924 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'9547 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8925 fi9548 fi
@@ -8937,16 +9560,16 @@
8937 ;;9560 ;;
89389561
8939 hpux11*)9562 hpux11*)
8940 if test "$GCC" = yes -a "$with_gnu_ld" = no; then9563 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8941 case $host_cpu in9564 case $host_cpu in
8942 hppa*64*)9565 hppa*64*)
8943 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'9566 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8944 ;;9567 ;;
8945 ia64*)9568 ia64*)
8946 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9569 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8947 ;;9570 ;;
8948 *)9571 *)
8949 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9572 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8950 ;;9573 ;;
8951 esac9574 esac
8952 else9575 else
@@ -8958,7 +9581,46 @@
8958 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9581 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8959 ;;9582 ;;
8960 *)9583 *)
8961 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9584
9585 # Older versions of the 11.00 compiler do not understand -b yet
9586 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9588$as_echo_n "checking if $CC understands -b... " >&6; }
9589if ${lt_cv_prog_compiler__b+:} false; then :
9590 $as_echo_n "(cached) " >&6
9591else
9592 lt_cv_prog_compiler__b=no
9593 save_LDFLAGS="$LDFLAGS"
9594 LDFLAGS="$LDFLAGS -b"
9595 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9596 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9597 # The linker can only warn and ignore the option if not recognized
9598 # So say no if there are warnings
9599 if test -s conftest.err; then
9600 # Append any errors to the config.log.
9601 cat conftest.err 1>&5
9602 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9603 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9604 if diff conftest.exp conftest.er2 >/dev/null; then
9605 lt_cv_prog_compiler__b=yes
9606 fi
9607 else
9608 lt_cv_prog_compiler__b=yes
9609 fi
9610 fi
9611 $RM -r conftest*
9612 LDFLAGS="$save_LDFLAGS"
9613
9614fi
9615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9616$as_echo "$lt_cv_prog_compiler__b" >&6; }
9617
9618if test x"$lt_cv_prog_compiler__b" = xyes; then
9619 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9620else
9621 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9622fi
9623
8962 ;;9624 ;;
8963 esac9625 esac
8964 fi9626 fi
@@ -8986,26 +9648,39 @@
89869648
8987 irix5* | irix6* | nonstopux*)9649 irix5* | irix6* | nonstopux*)
8988 if test "$GCC" = yes; then9650 if test "$GCC" = yes; then
8989 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'9651 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8990 # Try to use the -exported_symbol ld option, if it does not9652 # Try to use the -exported_symbol ld option, if it does not
8991 # work, assume that -exports_file does not work either and9653 # work, assume that -exports_file does not work either and
8992 # implicitly export all symbols.9654 # implicitly export all symbols.
8993 save_LDFLAGS="$LDFLAGS"9655 # This should be the same for all languages, so no per-tag cache variable.
8994 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9657$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9658if ${lt_cv_irix_exported_symbol+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660else
9661 save_LDFLAGS="$LDFLAGS"
9662 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8996/* end confdefs.h. */9664/* end confdefs.h. */
8997int foo(void) {}9665int foo (void) { return 0; }
8998_ACEOF9666_ACEOF
8999if ac_fn_c_try_link "$LINENO"; then :9667if ac_fn_c_try_link "$LINENO"; then :
9000 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'9668 lt_cv_irix_exported_symbol=yes
90019669else
9670 lt_cv_irix_exported_symbol=no
9002fi9671fi
9003rm -f core conftest.err conftest.$ac_objext \9672rm -f core conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext9673 conftest$ac_exeext conftest.$ac_ext
9005 LDFLAGS="$save_LDFLAGS"9674 LDFLAGS="$save_LDFLAGS"
9675fi
9676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9677$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9678 if test "$lt_cv_irix_exported_symbol" = yes; then
9679 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9680 fi
9006 else9681 else
9007 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'9682 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9008 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'9683 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9009 fi9684 fi
9010 archive_cmds_need_lc='no'9685 archive_cmds_need_lc='no'
9011 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'9686 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
@@ -9067,17 +9742,17 @@
9067 hardcode_libdir_flag_spec='-L$libdir'9742 hardcode_libdir_flag_spec='-L$libdir'
9068 hardcode_minus_L=yes9743 hardcode_minus_L=yes
9069 allow_undefined_flag=unsupported9744 allow_undefined_flag=unsupported
9070 archive_cmds='$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'9745 archive_cmds='$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'
9071 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'9746 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9072 ;;9747 ;;
90739748
9074 osf3*)9749 osf3*)
9075 if test "$GCC" = yes; then9750 if test "$GCC" = yes; then
9076 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'9751 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9077 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'9752 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9078 else9753 else
9079 allow_undefined_flag=' -expect_unresolved \*'9754 allow_undefined_flag=' -expect_unresolved \*'
9080 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'9755 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9081 fi9756 fi
9082 archive_cmds_need_lc='no'9757 archive_cmds_need_lc='no'
9083 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'9758 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
@@ -9087,13 +9762,13 @@
9087 osf4* | osf5*) # as osf3* with the addition of -msym flag9762 osf4* | osf5*) # as osf3* with the addition of -msym flag
9088 if test "$GCC" = yes; then9763 if test "$GCC" = yes; then
9089 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'9764 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9090 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'9765 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9091 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'9766 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9092 else9767 else
9093 allow_undefined_flag=' -expect_unresolved \*'9768 allow_undefined_flag=' -expect_unresolved \*'
9094 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'9769 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9095 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~9770 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9096 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'9771 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
90979772
9098 # Both c and cxx compiler support -rpath directly9773 # Both c and cxx compiler support -rpath directly
9099 hardcode_libdir_flag_spec='-rpath $libdir'9774 hardcode_libdir_flag_spec='-rpath $libdir'
@@ -9106,9 +9781,9 @@
9106 no_undefined_flag=' -z defs'9781 no_undefined_flag=' -z defs'
9107 if test "$GCC" = yes; then9782 if test "$GCC" = yes; then
9108 wlarc='${wl}'9783 wlarc='${wl}'
9109 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'9784 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9110 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~9785 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9111 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'9786 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9112 else9787 else
9113 case `$CC -V 2>&1` in9788 case `$CC -V 2>&1` in
9114 *"Compilers 5.0"*)9789 *"Compilers 5.0"*)
@@ -9296,44 +9971,50 @@
9296 # to ld, don't add -lc before -lgcc.9971 # to ld, don't add -lc before -lgcc.
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&59972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9298$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }9973$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9299 $RM conftest*9974if ${lt_cv_archive_cmds_need_lc+:} false; then :
9300 echo "$lt_simple_compile_test_code" > conftest.$ac_ext9975 $as_echo_n "(cached) " >&6
9976else
9977 $RM conftest*
9978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
93019979
9302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&59980 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9303 (eval $ac_compile) 2>&59981 (eval $ac_compile) 2>&5
9304 ac_status=$?9982 ac_status=$?
9305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&59983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9306 test $ac_status = 0; } 2>conftest.err; then9984 test $ac_status = 0; } 2>conftest.err; then
9307 soname=conftest9985 soname=conftest
9308 lib=conftest9986 lib=conftest
9309 libobjs=conftest.$ac_objext9987 libobjs=conftest.$ac_objext
9310 deplibs=9988 deplibs=
9311 wl=$lt_prog_compiler_wl9989 wl=$lt_prog_compiler_wl
9312 pic_flag=$lt_prog_compiler_pic9990 pic_flag=$lt_prog_compiler_pic
9313 compiler_flags=-v9991 compiler_flags=-v
9314 linker_flags=-v9992 linker_flags=-v
9315 verstring=9993 verstring=
9316 output_objdir=.9994 output_objdir=.
9317 libname=conftest9995 libname=conftest
9318 lt_save_allow_undefined_flag=$allow_undefined_flag9996 lt_save_allow_undefined_flag=$allow_undefined_flag
9319 allow_undefined_flag=9997 allow_undefined_flag=
9320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&59998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9321 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&59999 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9322 ac_status=$?10000 ac_status=$?
9323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&510001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9324 test $ac_status = 0; }10002 test $ac_status = 0; }
9325 then10003 then
9326 archive_cmds_need_lc=no10004 lt_cv_archive_cmds_need_lc=no
9327 else10005 else
9328 archive_cmds_need_lc=yes10006 lt_cv_archive_cmds_need_lc=yes
9329 fi10007 fi
9330 allow_undefined_flag=$lt_save_allow_undefined_flag10008 allow_undefined_flag=$lt_save_allow_undefined_flag
9331 else10009 else
9332 cat conftest.err 1>&510010 cat conftest.err 1>&5
9333 fi10011 fi
9334 $RM conftest*10012 $RM conftest*
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&510013
9336$as_echo "$archive_cmds_need_lc" >&6; }10014fi
10015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10016$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10017 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9337 ;;10018 ;;
9338 esac10019 esac
9339 fi10020 fi
@@ -9504,16 +10185,23 @@
9504 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;10185 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9505 *) lt_awk_arg="/^libraries:/" ;;10186 *) lt_awk_arg="/^libraries:/" ;;
9506 esac10187 esac
9507 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`10188 case $host_os in
9508 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then10189 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10190 *) lt_sed_strip_eq="s,=/,/,g" ;;
10191 esac
10192 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10193 case $lt_search_path_spec in
10194 *\;*)
9509 # if the path contains ";" then we assume it to be the separator10195 # if the path contains ";" then we assume it to be the separator
9510 # otherwise default to the standard path separator (i.e. ":") - it is10196 # otherwise default to the standard path separator (i.e. ":") - it is
9511 # assumed that no part of a normal pathname contains ";" but that should10197 # assumed that no part of a normal pathname contains ";" but that should
9512 # okay in the real world where ";" in dirpaths is itself problematic.10198 # okay in the real world where ";" in dirpaths is itself problematic.
9513 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`10199 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9514 else10200 ;;
9515 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`10201 *)
9516 fi10202 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10203 ;;
10204 esac
9517 # Ok, now we have the path, separated by spaces, we can step through it10205 # Ok, now we have the path, separated by spaces, we can step through it
9518 # and add multilib dir if necessary.10206 # and add multilib dir if necessary.
9519 lt_tmp_lt_search_path_spec=10207 lt_tmp_lt_search_path_spec=
@@ -9526,7 +10214,7 @@
9526 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"10214 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9527 fi10215 fi
9528 done10216 done
9529 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '10217 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9530BEGIN {RS=" "; FS="/|\n";} {10218BEGIN {RS=" "; FS="/|\n";} {
9531 lt_foo="";10219 lt_foo="";
9532 lt_count=0;10220 lt_count=0;
@@ -9546,7 +10234,13 @@
9546 if (lt_foo != "") { lt_freq[lt_foo]++; }10234 if (lt_foo != "") { lt_freq[lt_foo]++; }
9547 if (lt_freq[lt_foo] == 1) { print lt_foo; }10235 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9548}'`10236}'`
9549 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`10237 # AWK program above erroneously prepends '/' to C:/dos/paths
10238 # for these hosts.
10239 case $host_os in
10240 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10241 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10242 esac
10243 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9550else10244else
9551 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"10245 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9552fi10246fi
@@ -9634,7 +10328,7 @@
9634 m68k)10328 m68k)
9635 library_names_spec='$libname.ixlibrary $libname.a'10329 library_names_spec='$libname.ixlibrary $libname.a'
9636 # Create ${libname}_ixlibrary.a entries in /sys/libs.10330 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9637 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'10331 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
9638 ;;10332 ;;
9639 esac10333 esac
9640 ;;10334 ;;
@@ -9665,8 +10359,9 @@
9665 need_version=no10359 need_version=no
9666 need_lib_prefix=no10360 need_lib_prefix=no
966710361
9668 case $GCC,$host_os in10362 case $GCC,$cc_basename in
9669 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)10363 yes,*)
10364 # gcc
9670 library_names_spec='$libname.dll.a'10365 library_names_spec='$libname.dll.a'
9671 # DLL is installed to $(libdir)/../bin by postinstall_cmds10366 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9672 postinstall_cmds='base_file=`basename \${file}`~10367 postinstall_cmds='base_file=`basename \${file}`~
@@ -9687,36 +10382,83 @@
9687 cygwin*)10382 cygwin*)
9688 # Cygwin DLLs use 'cyg' prefix rather than 'lib'10383 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9689 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10384 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9690 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"10385
10386 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9691 ;;10387 ;;
9692 mingw* | cegcc*)10388 mingw* | cegcc*)
9693 # MinGW DLLs use traditional 'lib' prefix10389 # MinGW DLLs use traditional 'lib' prefix
9694 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10390 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9695 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9696 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9697 # It is most probably a Windows format PATH printed by
9698 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9699 # path with ; separators, and with drive letters. We can handle the
9700 # drive letters (cygwin fileutils understands them), so leave them,
9701 # especially as we might pass files found there to a mingw objdump,
9702 # which wouldn't understand a cygwinified path. Ahh.
9703 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9704 else
9705 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9706 fi
9707 ;;10391 ;;
9708 pw32*)10392 pw32*)
9709 # pw32 DLLs use 'pw' prefix rather than 'lib'10393 # pw32 DLLs use 'pw' prefix rather than 'lib'
9710 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10394 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9711 ;;10395 ;;
9712 esac10396 esac
10397 dynamic_linker='Win32 ld.exe'
10398 ;;
10399
10400 *,cl*)
10401 # Native MSVC
10402 libname_spec='$name'
10403 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10404 library_names_spec='${libname}.dll.lib'
10405
10406 case $build_os in
10407 mingw*)
10408 sys_lib_search_path_spec=
10409 lt_save_ifs=$IFS
10410 IFS=';'
10411 for lt_path in $LIB
10412 do
10413 IFS=$lt_save_ifs
10414 # Let DOS variable expansion print the short 8.3 style file name.
10415 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10416 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10417 done
10418 IFS=$lt_save_ifs
10419 # Convert to MSYS style.
10420 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10421 ;;
10422 cygwin*)
10423 # Convert to unix form, then to dos form, then back to unix form
10424 # but this time dos style (no spaces!) so that the unix form looks
10425 # like /cygdrive/c/PROGRA~1:/cygdr...
10426 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10427 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10428 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10429 ;;
10430 *)
10431 sys_lib_search_path_spec="$LIB"
10432 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10433 # It is most probably a Windows format PATH.
10434 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10435 else
10436 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10437 fi
10438 # FIXME: find the short name or the path components, as spaces are
10439 # common. (e.g. "Program Files" -> "PROGRA~1")
10440 ;;
10441 esac
10442
10443 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10444 postinstall_cmds='base_file=`basename \${file}`~
10445 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10446 dldir=$destdir/`dirname \$dlpath`~
10447 test -d \$dldir || mkdir -p \$dldir~
10448 $install_prog $dir/$dlname \$dldir/$dlname'
10449 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10450 dlpath=$dir/\$dldll~
10451 $RM \$dlpath'
10452 shlibpath_overrides_runpath=yes
10453 dynamic_linker='Win32 link.exe'
9713 ;;10454 ;;
971410455
9715 *)10456 *)
10457 # Assume MSVC wrapper
9716 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'10458 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10459 dynamic_linker='Win32 ld.exe'
9717 ;;10460 ;;
9718 esac10461 esac
9719 dynamic_linker='Win32 ld.exe'
9720 # FIXME: first we should search . and the directory the executable is in10462 # FIXME: first we should search . and the directory the executable is in
9721 shlibpath_var=PATH10463 shlibpath_var=PATH
9722 ;;10464 ;;
@@ -9800,6 +10542,20 @@
9800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9801 soname_spec='${libname}${release}${shared_ext}$major'10543 soname_spec='${libname}${release}${shared_ext}$major'
9802 shlibpath_var=LD_LIBRARY_PATH10544 shlibpath_var=LD_LIBRARY_PATH
10545 shlibpath_overrides_runpath=no
10546 hardcode_into_libs=yes
10547 ;;
10548
10549haiku*)
10550 version_type=linux
10551 need_lib_prefix=no
10552 need_version=no
10553 dynamic_linker="$host_os runtime_loader"
10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10555 soname_spec='${libname}${release}${shared_ext}$major'
10556 shlibpath_var=LIBRARY_PATH
10557 shlibpath_overrides_runpath=yes
10558 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9803 hardcode_into_libs=yes10559 hardcode_into_libs=yes
9804 ;;10560 ;;
980510561
@@ -9845,8 +10601,10 @@
9845 soname_spec='${libname}${release}${shared_ext}$major'10601 soname_spec='${libname}${release}${shared_ext}$major'
9846 ;;10602 ;;
9847 esac10603 esac
9848 # HP-UX runs *really* slowly unless shared libraries are mode 555.10604 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9849 postinstall_cmds='chmod 555 $lib'10605 postinstall_cmds='chmod 555 $lib'
10606 # or fails outright, so override atomically:
10607 install_override_mode=555
9850 ;;10608 ;;
985110609
9852interix[3-9]*)10610interix[3-9]*)
@@ -9913,12 +10671,17 @@
9913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'10671 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9914 shlibpath_var=LD_LIBRARY_PATH10672 shlibpath_var=LD_LIBRARY_PATH
9915 shlibpath_overrides_runpath=no10673 shlibpath_overrides_runpath=no
10674
9916 # Some binutils ld are patched to set DT_RUNPATH10675 # Some binutils ld are patched to set DT_RUNPATH
9917 save_LDFLAGS=$LDFLAGS10676 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
9918 save_libdir=$libdir10677 $as_echo_n "(cached) " >&6
9919 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \10678else
9920 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""10679 lt_cv_shlibpath_overrides_runpath=no
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext10680 save_LDFLAGS=$LDFLAGS
10681 save_libdir=$libdir
10682 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10683 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922/* end confdefs.h. */10685/* end confdefs.h. */
992310686
9924int10687int
@@ -9931,13 +10694,17 @@
9931_ACEOF10694_ACEOF
9932if ac_fn_c_try_link "$LINENO"; then :10695if ac_fn_c_try_link "$LINENO"; then :
9933 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :10696 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9934 shlibpath_overrides_runpath=yes10697 lt_cv_shlibpath_overrides_runpath=yes
9935fi10698fi
9936fi10699fi
9937rm -f core conftest.err conftest.$ac_objext \10700rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext10701 conftest$ac_exeext conftest.$ac_ext
9939 LDFLAGS=$save_LDFLAGS10702 LDFLAGS=$save_LDFLAGS
9940 libdir=$save_libdir10703 libdir=$save_libdir
10704
10705fi
10706
10707 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
994110708
9942 # This implies no fast_install, which is unacceptable.10709 # This implies no fast_install, which is unacceptable.
9943 # Some rework will be needed to allow for fast_install10710 # Some rework will be needed to allow for fast_install
@@ -9946,7 +10713,7 @@
994610713
9947 # Append ld.so.conf contents to the search path10714 # Append ld.so.conf contents to the search path
9948 if test -f /etc/ld.so.conf; then10715 if test -f /etc/ld.so.conf; then
9949 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`10716 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
9950 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"10717 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9951 fi10718 fi
995210719
@@ -10261,6 +11028,11 @@
1026111028
1026211029
1026311030
11031
11032
11033
11034
11035
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&511036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10265$as_echo_n "checking how to hardcode library paths into programs... " >&6; }11037$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10266hardcode_action=11038hardcode_action=
@@ -10333,7 +11105,7 @@
10333 # if libdl is installed we need to link against it11105 # if libdl is installed we need to link against it
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&511106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10335$as_echo_n "checking for dlopen in -ldl... " >&6; }11107$as_echo_n "checking for dlopen in -ldl... " >&6; }
10336if test "${ac_cv_lib_dl_dlopen+set}" = set; then :11108if ${ac_cv_lib_dl_dlopen+:} false; then :
10337 $as_echo_n "(cached) " >&611109 $as_echo_n "(cached) " >&6
10338else11110else
10339 ac_check_lib_save_LIBS=$LIBS11111 ac_check_lib_save_LIBS=$LIBS
@@ -10367,7 +11139,7 @@
10367fi11139fi
10368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&511140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10369$as_echo "$ac_cv_lib_dl_dlopen" >&6; }11141$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10370if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :11142if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"11143 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10372else11144else
1037311145
@@ -10381,12 +11153,12 @@
1038111153
10382 *)11154 *)
10383 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"11155 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10384if test "x$ac_cv_func_shl_load" = x""yes; then :11156if test "x$ac_cv_func_shl_load" = xyes; then :
10385 lt_cv_dlopen="shl_load"11157 lt_cv_dlopen="shl_load"
10386else11158else
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&511159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10388$as_echo_n "checking for shl_load in -ldld... " >&6; }11160$as_echo_n "checking for shl_load in -ldld... " >&6; }
10389if test "${ac_cv_lib_dld_shl_load+set}" = set; then :11161if ${ac_cv_lib_dld_shl_load+:} false; then :
10390 $as_echo_n "(cached) " >&611162 $as_echo_n "(cached) " >&6
10391else11163else
10392 ac_check_lib_save_LIBS=$LIBS11164 ac_check_lib_save_LIBS=$LIBS
@@ -10420,16 +11192,16 @@
10420fi11192fi
10421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&511193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10422$as_echo "$ac_cv_lib_dld_shl_load" >&6; }11194$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10423if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :11195if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10424 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"11196 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10425else11197else
10426 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"11198 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10427if test "x$ac_cv_func_dlopen" = x""yes; then :11199if test "x$ac_cv_func_dlopen" = xyes; then :
10428 lt_cv_dlopen="dlopen"11200 lt_cv_dlopen="dlopen"
10429else11201else
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&511202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10431$as_echo_n "checking for dlopen in -ldl... " >&6; }11203$as_echo_n "checking for dlopen in -ldl... " >&6; }
10432if test "${ac_cv_lib_dl_dlopen+set}" = set; then :11204if ${ac_cv_lib_dl_dlopen+:} false; then :
10433 $as_echo_n "(cached) " >&611205 $as_echo_n "(cached) " >&6
10434else11206else
10435 ac_check_lib_save_LIBS=$LIBS11207 ac_check_lib_save_LIBS=$LIBS
@@ -10463,12 +11235,12 @@
10463fi11235fi
10464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&511236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10465$as_echo "$ac_cv_lib_dl_dlopen" >&6; }11237$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10466if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :11238if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10467 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"11239 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10468else11240else
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&511241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10470$as_echo_n "checking for dlopen in -lsvld... " >&6; }11242$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10471if test "${ac_cv_lib_svld_dlopen+set}" = set; then :11243if ${ac_cv_lib_svld_dlopen+:} false; then :
10472 $as_echo_n "(cached) " >&611244 $as_echo_n "(cached) " >&6
10473else11245else
10474 ac_check_lib_save_LIBS=$LIBS11246 ac_check_lib_save_LIBS=$LIBS
@@ -10502,12 +11274,12 @@
10502fi11274fi
10503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&511275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10504$as_echo "$ac_cv_lib_svld_dlopen" >&6; }11276$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10505if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :11277if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"11278 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10507else11279else
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&511280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10509$as_echo_n "checking for dld_link in -ldld... " >&6; }11281$as_echo_n "checking for dld_link in -ldld... " >&6; }
10510if test "${ac_cv_lib_dld_dld_link+set}" = set; then :11282if ${ac_cv_lib_dld_dld_link+:} false; then :
10511 $as_echo_n "(cached) " >&611283 $as_echo_n "(cached) " >&6
10512else11284else
10513 ac_check_lib_save_LIBS=$LIBS11285 ac_check_lib_save_LIBS=$LIBS
@@ -10541,7 +11313,7 @@
10541fi11313fi
10542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&511314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10543$as_echo "$ac_cv_lib_dld_dld_link" >&6; }11315$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10544if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :11316if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10545 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"11317 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10546fi11318fi
1054711319
@@ -10582,7 +11354,7 @@
1058211354
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&511355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10584$as_echo_n "checking whether a program can dlopen itself... " >&6; }11356$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10585if test "${lt_cv_dlopen_self+set}" = set; then :11357if ${lt_cv_dlopen_self+:} false; then :
10586 $as_echo_n "(cached) " >&611358 $as_echo_n "(cached) " >&6
10587else11359else
10588 if test "$cross_compiling" = yes; then :11360 if test "$cross_compiling" = yes; then :
@@ -10591,7 +11363,7 @@
10591 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211363 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10592 lt_status=$lt_dlunknown11364 lt_status=$lt_dlunknown
10593 cat > conftest.$ac_ext <<_LT_EOF11365 cat > conftest.$ac_ext <<_LT_EOF
10594#line 10594 "configure"11366#line $LINENO "configure"
10595#include "confdefs.h"11367#include "confdefs.h"
1059611368
10597#if HAVE_DLFCN_H11369#if HAVE_DLFCN_H
@@ -10632,7 +11404,13 @@
10632# endif11404# endif
10633#endif11405#endif
1063411406
10635void fnord() { int i=42;}11407/* When -fvisbility=hidden is used, assume the code has been annotated
11408 correspondingly for the symbols needed. */
11409#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11410int fnord () __attribute__((visibility("default")));
11411#endif
11412
11413int fnord () { return 42; }
10636int main ()11414int main ()
10637{11415{
10638 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);11416 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -10641,7 +11419,11 @@
10641 if (self)11419 if (self)
10642 {11420 {
10643 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;11421 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10644 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;11422 else
11423 {
11424 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11425 else puts (dlerror ());
11426 }
10645 /* dlclose (self); */11427 /* dlclose (self); */
10646 }11428 }
10647 else11429 else
@@ -10678,7 +11460,7 @@
10678 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"11460 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&511461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10680$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }11462$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10681if test "${lt_cv_dlopen_self_static+set}" = set; then :11463if ${lt_cv_dlopen_self_static+:} false; then :
10682 $as_echo_n "(cached) " >&611464 $as_echo_n "(cached) " >&6
10683else11465else
10684 if test "$cross_compiling" = yes; then :11466 if test "$cross_compiling" = yes; then :
@@ -10687,7 +11469,7 @@
10687 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211469 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10688 lt_status=$lt_dlunknown11470 lt_status=$lt_dlunknown
10689 cat > conftest.$ac_ext <<_LT_EOF11471 cat > conftest.$ac_ext <<_LT_EOF
10690#line 10690 "configure"11472#line $LINENO "configure"
10691#include "confdefs.h"11473#include "confdefs.h"
1069211474
10693#if HAVE_DLFCN_H11475#if HAVE_DLFCN_H
@@ -10728,7 +11510,13 @@
10728# endif11510# endif
10729#endif11511#endif
1073011512
10731void fnord() { int i=42;}11513/* When -fvisbility=hidden is used, assume the code has been annotated
11514 correspondingly for the symbols needed. */
11515#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11516int fnord () __attribute__((visibility("default")));
11517#endif
11518
11519int fnord () { return 42; }
10732int main ()11520int main ()
10733{11521{
10734 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);11522 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
@@ -10737,7 +11525,11 @@
10737 if (self)11525 if (self)
10738 {11526 {
10739 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;11527 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10740 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;11528 else
11529 {
11530 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11531 else puts (dlerror ());
11532 }
10741 /* dlclose (self); */11533 /* dlclose (self); */
10742 }11534 }
10743 else11535 else
@@ -10969,7 +11761,7 @@
10969set dummy msgfmt; ac_word=$211761set dummy msgfmt; ac_word=$2
10970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10971$as_echo_n "checking for $ac_word... " >&6; }11763$as_echo_n "checking for $ac_word... " >&6; }
10972if test "${ac_cv_path_MSGFMT+set}" = set; then :11764if ${ac_cv_path_MSGFMT+:} false; then :
10973 $as_echo_n "(cached) " >&611765 $as_echo_n "(cached) " >&6
10974else11766else
10975 case "$MSGFMT" in11767 case "$MSGFMT" in
@@ -11010,7 +11802,7 @@
11010set dummy gmsgfmt; ac_word=$211802set dummy gmsgfmt; ac_word=$2
11011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11012$as_echo_n "checking for $ac_word... " >&6; }11804$as_echo_n "checking for $ac_word... " >&6; }
11013if test "${ac_cv_path_GMSGFMT+set}" = set; then :11805if ${ac_cv_path_GMSGFMT+:} false; then :
11014 $as_echo_n "(cached) " >&611806 $as_echo_n "(cached) " >&6
11015else11807else
11016 case $GMSGFMT in11808 case $GMSGFMT in
@@ -11092,7 +11884,7 @@
11092set dummy xgettext; ac_word=$211884set dummy xgettext; ac_word=$2
11093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11094$as_echo_n "checking for $ac_word... " >&6; }11886$as_echo_n "checking for $ac_word... " >&6; }
11095if test "${ac_cv_path_XGETTEXT+set}" = set; then :11887if ${ac_cv_path_XGETTEXT+:} false; then :
11096 $as_echo_n "(cached) " >&611888 $as_echo_n "(cached) " >&6
11097else11889else
11098 case "$XGETTEXT" in11890 case "$XGETTEXT" in
@@ -11170,7 +11962,7 @@
11170set dummy msgmerge; ac_word=$211962set dummy msgmerge; ac_word=$2
11171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&511963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11172$as_echo_n "checking for $ac_word... " >&6; }11964$as_echo_n "checking for $ac_word... " >&6; }
11173if test "${ac_cv_path_MSGMERGE+set}" = set; then :11965if ${ac_cv_path_MSGMERGE+:} false; then :
11174 $as_echo_n "(cached) " >&611966 $as_echo_n "(cached) " >&6
11175else11967else
11176 case "$MSGMERGE" in11968 case "$MSGMERGE" in
@@ -11219,7 +12011,7 @@
1121912011
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&512012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5
11221$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }12013$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
11222if test "${ac_cv_gnu_library_2+set}" = set; then :12014if ${ac_cv_gnu_library_2+:} false; then :
11223 $as_echo_n "(cached) " >&612015 $as_echo_n "(cached) " >&6
11224else12016else
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11255,7 +12047,7 @@
11255set dummy ${ac_tool_prefix}ranlib; ac_word=$212047set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&512048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11257$as_echo_n "checking for $ac_word... " >&6; }12049$as_echo_n "checking for $ac_word... " >&6; }
11258if test "${ac_cv_prog_RANLIB+set}" = set; then :12050if ${ac_cv_prog_RANLIB+:} false; then :
11259 $as_echo_n "(cached) " >&612051 $as_echo_n "(cached) " >&6
11260else12052else
11261 if test -n "$RANLIB"; then12053 if test -n "$RANLIB"; then
@@ -11295,7 +12087,7 @@
11295set dummy ranlib; ac_word=$212087set dummy ranlib; ac_word=$2
11296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&512088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11297$as_echo_n "checking for $ac_word... " >&6; }12089$as_echo_n "checking for $ac_word... " >&6; }
11298if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :12090if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
11299 $as_echo_n "(cached) " >&612091 $as_echo_n "(cached) " >&6
11300else12092else
11301 if test -n "$ac_ct_RANLIB"; then12093 if test -n "$ac_ct_RANLIB"; then
@@ -11349,7 +12141,7 @@
11349 if test -n "$GCC"; then12141 if test -n "$GCC"; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&512142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
11351$as_echo_n "checking for simple visibility declarations... " >&6; }12143$as_echo_n "checking for simple visibility declarations... " >&6; }
11352 if test "${gl_cv_cc_visibility+set}" = set; then :12144 if ${gl_cv_cc_visibility+:} false; then :
11353 $as_echo_n "(cached) " >&612145 $as_echo_n "(cached) " >&6
11354else12146else
1135512147
@@ -11395,7 +12187,7 @@
1139512187
11396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&512188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11397$as_echo_n "checking for inline... " >&6; }12189$as_echo_n "checking for inline... " >&6; }
11398if test "${ac_cv_c_inline+set}" = set; then :12190if ${ac_cv_c_inline+:} false; then :
11399 $as_echo_n "(cached) " >&612191 $as_echo_n "(cached) " >&6
11400else12192else
11401 ac_cv_c_inline=no12193 ac_cv_c_inline=no
@@ -11436,7 +12228,7 @@
11436esac12228esac
1143712229
11438ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"12230ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11439if test "x$ac_cv_type_size_t" = x""yes; then :12231if test "x$ac_cv_type_size_t" = xyes; then :
1144012232
11441else12233else
1144212234
@@ -11449,7 +12241,7 @@
1144912241
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&512242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
11451$as_echo_n "checking for stdint.h... " >&6; }12243$as_echo_n "checking for stdint.h... " >&6; }
11452if test "${gl_cv_header_stdint_h+set}" = set; then :12244if ${gl_cv_header_stdint_h+:} false; then :
11453 $as_echo_n "(cached) " >&612245 $as_echo_n "(cached) " >&6
11454else12246else
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11485,7 +12277,7 @@
11485# for constant arguments. Useless!12277# for constant arguments. Useless!
11486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&512278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11487$as_echo_n "checking for working alloca.h... " >&6; }12279$as_echo_n "checking for working alloca.h... " >&6; }
11488if test "${ac_cv_working_alloca_h+set}" = set; then :12280if ${ac_cv_working_alloca_h+:} false; then :
11489 $as_echo_n "(cached) " >&612281 $as_echo_n "(cached) " >&6
11490else12282else
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11518,7 +12310,7 @@
1151812310
11519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&512311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
11520$as_echo_n "checking for alloca... " >&6; }12312$as_echo_n "checking for alloca... " >&6; }
11521if test "${ac_cv_func_alloca_works+set}" = set; then :12313if ${ac_cv_func_alloca_works+:} false; then :
11522 $as_echo_n "(cached) " >&612314 $as_echo_n "(cached) " >&6
11523else12315else
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11537,7 +12329,7 @@
11537 #pragma alloca12329 #pragma alloca
11538# else12330# else
11539# ifndef alloca /* predefined by HP cc +Olibcalls */12331# ifndef alloca /* predefined by HP cc +Olibcalls */
11540char *alloca ();12332void *alloca (size_t);
11541# endif12333# endif
11542# endif12334# endif
11543# endif12335# endif
@@ -11581,7 +12373,7 @@
1158112373
11582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&512374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
11583$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }12375$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
11584if test "${ac_cv_os_cray+set}" = set; then :12376if ${ac_cv_os_cray+:} false; then :
11585 $as_echo_n "(cached) " >&612377 $as_echo_n "(cached) " >&6
11586else12378else
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -11622,7 +12414,7 @@
1162212414
11623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&512415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
11624$as_echo_n "checking stack direction for C alloca... " >&6; }12416$as_echo_n "checking stack direction for C alloca... " >&6; }
11625if test "${ac_cv_c_stack_direction+set}" = set; then :12417if ${ac_cv_c_stack_direction+:} false; then :
11626 $as_echo_n "(cached) " >&612418 $as_echo_n "(cached) " >&6
11627else12419else
11628 if test "$cross_compiling" = yes; then :12420 if test "$cross_compiling" = yes; then :
@@ -11697,7 +12489,7 @@
11697for ac_func in getpagesize12489for ac_func in getpagesize
11698do :12490do :
11699 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"12491 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11700if test "x$ac_cv_func_getpagesize" = x""yes; then :12492if test "x$ac_cv_func_getpagesize" = xyes; then :
11701 cat >>confdefs.h <<_ACEOF12493 cat >>confdefs.h <<_ACEOF
11702#define HAVE_GETPAGESIZE 112494#define HAVE_GETPAGESIZE 1
11703_ACEOF12495_ACEOF
@@ -11707,7 +12499,7 @@
1170712499
11708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&512500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11709$as_echo_n "checking for working mmap... " >&6; }12501$as_echo_n "checking for working mmap... " >&6; }
11710if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :12502if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
11711 $as_echo_n "(cached) " >&612503 $as_echo_n "(cached) " >&6
11712else12504else
11713 if test "$cross_compiling" = yes; then :12505 if test "$cross_compiling" = yes; then :
@@ -11875,7 +12667,7 @@
1187512667
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&512668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
11877$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }12669$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
11878if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :12670if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
11879 $as_echo_n "(cached) " >&612671 $as_echo_n "(cached) " >&6
11880else12672else
1188112673
@@ -11966,7 +12758,7 @@
1196612758
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&512759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
11968$as_echo_n "checking for inttypes.h... " >&6; }12760$as_echo_n "checking for inttypes.h... " >&6; }
11969if test "${gl_cv_header_inttypes_h+set}" = set; then :12761if ${gl_cv_header_inttypes_h+:} false; then :
11970 $as_echo_n "(cached) " >&612762 $as_echo_n "(cached) " >&6
11971else12763else
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12001,7 +12793,7 @@
1200112793
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&512794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
12003$as_echo_n "checking for unsigned long long int... " >&6; }12795$as_echo_n "checking for unsigned long long int... " >&6; }
12004if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :12796if ${ac_cv_type_unsigned_long_long_int+:} false; then :
12005 $as_echo_n "(cached) " >&612797 $as_echo_n "(cached) " >&6
12006else12798else
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -12078,7 +12870,7 @@
12078 for ac_header in inttypes.h12870 for ac_header in inttypes.h
12079do :12871do :
12080 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"12872 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
12081if test "x$ac_cv_header_inttypes_h" = x""yes; then :12873if test "x$ac_cv_header_inttypes_h" = xyes; then :
12082 cat >>confdefs.h <<_ACEOF12874 cat >>confdefs.h <<_ACEOF
12083#define HAVE_INTTYPES_H 112875#define HAVE_INTTYPES_H 1
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: