~ubuntu-branches/ubuntu/oneiric/muse/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-11-17 21:43:38 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101117214338-1hvfl7oo2dsqnvrb
Tags: 1.1-0ubuntu1
* New upstream release (LP: #668631)
* Switch to dpkg-source 3.0 (quilt) format
* Switch to dh7 short form
* debian/rules:
  - added --enable-dssi and --enable-osc to conf flags for dssi support
  - added -ljackserver to LDFLAGS to fix a FTBFS because of --as-needed
* debian/control:
  - added build build dependency on liblo-dev and dssi-dev for dssi support
  - bump Standards-version to 3.9.1. No changes required.
* debian/muse.desktop, debian/muse.xpm: dropped as desktop file and icon is
  now shipped upstream.
* fix-desktop-categories.patch: fix Categories tag in upstream desktop file
* 10_es_locale_fix.dpatch: refreshed and converted to quilt as
  fix_es_locale.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for MusE 1.0.1.
 
3
# Generated by GNU Autoconf 2.64 for MusE 1.1.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
 
8
#
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
12
14
 
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
18
  emulate sh
17
19
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
21
  # is contrary to our usage.  Disable this feature.
20
22
  alias -g '${1+"$@"}'='"$@"'
21
23
  setopt NO_GLOB_SUBST
22
24
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
25
30
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
31
fi
 
32
 
 
33
 
 
34
as_nl='
 
35
'
 
36
export as_nl
 
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in #(
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
39
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
58
79
fi
59
80
 
60
81
 
63
84
# there to prevent editors from complaining about space-tab.
64
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
86
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
87
IFS=" ""        $as_nl"
69
88
 
70
89
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
 
90
case $0 in #((
72
91
  *[\\/]* ) as_myself=$0 ;;
73
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
93
for as_dir in $PATH
75
94
do
76
95
  IFS=$as_save_IFS
77
96
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
80
99
IFS=$as_save_IFS
81
100
 
82
101
     ;;
87
106
  as_myself=$0
88
107
fi
89
108
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
 
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
110
  exit 1
92
111
fi
93
112
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97
120
done
98
121
PS1='$ '
99
122
PS2='> '
100
123
PS4='+ '
101
124
 
102
125
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
 
126
LC_ALL=C
 
127
export LC_ALL
 
128
LANGUAGE=C
 
129
export LANGUAGE
149
130
 
150
131
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
153
133
 
154
134
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in #(
 
144
  *posix*) :
 
145
    set -o posix ;; #(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
 
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
 
173
  if (eval "$as_required") 2>/dev/null; then :
156
174
  as_have_required=yes
157
175
else
158
176
  as_have_required=no
159
177
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
179
 
 
180
else
 
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
as_found=false
222
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
184
do
224
185
  IFS=$as_save_IFS
225
186
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
187
  as_found=:
 
188
  case $as_dir in #(
227
189
         /*)
228
190
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
191
             # Try only shells that exist, to save several forks.
 
192
             as_shell=$as_dir/$as_base
 
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
 
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  break 2
 
198
fi
 
199
fi
230
200
           done;;
231
201
       esac
 
202
  as_found=false
232
203
done
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
 
207
fi; }
233
208
IFS=$as_save_IFS
234
209
 
235
210
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
211
      if test "x$CONFIG_SHELL" != x; then :
 
212
  # We cannot yet assume a decent shell, so we have to provide a
 
213
        # neutralization value for shells without unset; and this also
 
214
        # works around shells that cannot unset nonexistent variables.
 
215
        BASH_ENV=/dev/null
 
216
        ENV=/dev/null
 
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
218
        export CONFIG_SHELL
 
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
220
fi
 
221
 
 
222
    if test x$as_have_required = xno; then :
 
223
  $as_echo "$0: This script requires a shell more modern than all"
 
224
  $as_echo "$0: the shells that I found on your system."
 
225
  if test x${ZSH_VERSION+set} = xset ; then
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
228
  else
 
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
230
$0: including any error possibly output before this
 
231
$0: message. Then install a modern shell, or manually run
 
232
$0: the script under such a shell if you do have one."
 
233
  fi
 
234
  exit 1
 
235
fi
 
236
fi
 
237
fi
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
export SHELL
 
240
# Unset more variables known to interfere with behavior of common tools.
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
 
243
 
 
244
## --------------------- ##
 
245
## M4sh Shell Functions. ##
 
246
## --------------------- ##
 
247
# as_fn_unset VAR
 
248
# ---------------
 
249
# Portably unset VAR.
 
250
as_fn_unset ()
 
251
{
 
252
  { eval $1=; unset $1;}
 
253
}
 
254
as_unset=as_fn_unset
 
255
 
 
256
# as_fn_set_status STATUS
 
257
# -----------------------
 
258
# Set $? to STATUS, without forking.
 
259
as_fn_set_status ()
 
260
{
 
261
  return $1
 
262
} # as_fn_set_status
 
263
 
 
264
# as_fn_exit STATUS
 
265
# -----------------
 
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
267
as_fn_exit ()
 
268
{
 
269
  set +e
 
270
  as_fn_set_status $1
 
271
  exit $1
 
272
} # as_fn_exit
 
273
 
 
274
# as_fn_mkdir_p
 
275
# -------------
 
276
# Create "$as_dir" as a directory, including parents if necessary.
 
277
as_fn_mkdir_p ()
 
278
{
 
279
 
 
280
  case $as_dir in #(
 
281
  -*) as_dir=./$as_dir;;
 
282
  esac
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
 
284
    as_dirs=
 
285
    while :; do
 
286
      case $as_dir in #(
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
288
      *) as_qdir=$as_dir;;
 
289
      esac
 
290
      as_dirs="'$as_qdir' $as_dirs"
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
294
         X"$as_dir" : 'X\(//\)$' \| \
 
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
296
$as_echo X"$as_dir" |
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
298
            s//\1/
 
299
            q
 
300
          }
 
301
          /^X\(\/\/\)[^/].*/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)$/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\).*/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          s/.*/./; q'`
 
314
      test -d "$as_dir" && break
 
315
    done
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
318
 
 
319
 
 
320
} # as_fn_mkdir_p
 
321
# as_fn_append VAR VALUE
 
322
# ----------------------
 
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
324
# advantage of any shell optimizations that allow amortized linear growth over
 
325
# repeated appends, instead of the typical quadratic growth present in naive
 
326
# implementations.
 
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
328
  eval 'as_fn_append ()
 
329
  {
 
330
    eval $1+=\$2
 
331
  }'
 
332
else
 
333
  as_fn_append ()
 
334
  {
 
335
    eval $1=\$$1\$2
 
336
  }
 
337
fi # as_fn_append
 
338
 
 
339
# as_fn_arith ARG...
 
340
# ------------------
 
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
343
# must be portable across $(()) and expr.
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
345
  eval 'as_fn_arith ()
 
346
  {
 
347
    as_val=$(( $* ))
 
348
  }'
 
349
else
 
350
  as_fn_arith ()
 
351
  {
 
352
    as_val=`expr "$@" || test $? -eq 1`
 
353
  }
 
354
fi # as_fn_arith
 
355
 
 
356
 
 
357
# as_fn_error ERROR [LINENO LOG_FD]
 
358
# ---------------------------------
 
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
361
# script with status $?, using 1 if that was 0.
 
362
as_fn_error ()
 
363
{
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
365
  if test "$3"; then
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  fi
 
369
  $as_echo "$as_me: error: $1" >&2
 
370
  as_fn_exit $as_status
 
371
} # as_fn_error
 
372
 
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
375
  as_expr=expr
 
376
else
 
377
  as_expr=false
 
378
fi
 
379
 
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
381
  as_basename=basename
 
382
else
 
383
  as_basename=false
 
384
fi
 
385
 
 
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
387
  as_dirname=dirname
 
388
else
 
389
  as_dirname=false
 
390
fi
 
391
 
 
392
as_me=`$as_basename -- "$0" ||
 
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
394
         X"$0" : 'X\(//\)$' \| \
 
395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
396
$as_echo X/"$0" |
 
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
398
            s//\1/
 
399
            q
 
400
          }
 
401
          /^X\/\(\/\/\)$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\).*/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          s/.*/./; q'`
 
410
 
 
411
# Avoid depending upon Character Ranges.
 
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
415
as_cr_digits='0123456789'
 
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438
424
  sed -n '
439
425
    p
440
426
    /[$]LINENO/=
451
437
      s/-\n.*//
452
438
    ' >$as_me.lineno &&
453
439
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
 
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456
441
 
457
442
  # Don't try to exec as it changes $[0], causing all sort of problems
458
443
  # (the dirname of $[0] is not the place where we might find the
462
447
  exit
463
448
}
464
449
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
450
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
 
451
case `echo -n x` in #(((((
474
452
-n*)
475
 
  case `echo 'x\c'` in
 
453
  case `echo 'xy\c'` in
476
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
 
455
  xy)  ECHO_C='\c';;
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
457
       ECHO_T=' ';;
478
458
  esac;;
479
459
*)
480
460
  ECHO_N='-n';;
481
461
esac
482
462
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
463
rm -f conf$$ conf$$.exe conf$$.file
491
464
if test -d conf$$.dir; then
492
465
  rm -f conf$$.dir/conf$$.file
493
466
else
494
467
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
468
  mkdir conf$$.dir 2>/dev/null
496
469
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
470
if (echo >conf$$.file) 2>/dev/null; then
 
471
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
472
    as_ln_s='ln -s'
 
473
    # ... but there are two gotchas:
 
474
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
475
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
476
    # In both cases, we have to default to `cp -p'.
 
477
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
478
      as_ln_s='cp -p'
 
479
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
480
    as_ln_s=ln
 
481
  else
505
482
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
483
  fi
508
484
else
509
485
  as_ln_s='cp -p'
510
486
fi
512
488
rmdir conf$$.dir 2>/dev/null
513
489
 
514
490
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
 
491
  as_mkdir_p='mkdir -p "$as_dir"'
516
492
else
517
493
  test -d ./-p && rmdir ./-p
518
494
  as_mkdir_p=false
529
505
  as_test_x='
530
506
    eval sh -c '\''
531
507
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
508
        test -d "$1/.";
533
509
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
 
510
        case $1 in #(
 
511
        -*)set "./$1";;
536
512
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538
514
        ???[sx]*):;;*)false;;esac;fi
539
515
    '\'' sh
540
516
  '
549
525
 
550
526
 
551
527
 
552
 
 
553
528
# Check that we are running under the correct shell.
554
529
SHELL=${CONFIG_SHELL-/bin/sh}
555
530
 
556
 
case X$ECHO in
 
531
case X$lt_ECHO in
557
532
X*--fallback-echo)
558
533
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
534
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
535
  ;;
561
536
esac
562
537
 
563
 
echo=${ECHO-echo}
 
538
ECHO=${lt_ECHO-echo}
564
539
if test "X$1" = X--no-reexec; then
565
540
  # Discard the --no-reexec flag, and continue.
566
541
  shift
567
542
elif test "X$1" = X--fallback-echo; then
568
543
  # Avoid inline document here, it may be left over
569
544
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
545
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
546
  # Yippee, $ECHO works!
572
547
  :
573
548
else
574
549
  # Restart under the correct shell.
578
553
if test "X$1" = X--fallback-echo; then
579
554
  # used as fallback echo
580
555
  shift
581
 
  cat <<EOF
 
556
  cat <<_LT_EOF
582
557
$*
583
 
EOF
 
558
_LT_EOF
584
559
  exit 0
585
560
fi
586
561
 
588
563
# if CDPATH is set.
589
564
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
565
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
566
if test -z "$lt_ECHO"; then
 
567
  if test "X${echo_test_string+set}" != Xset; then
 
568
    # find a string as large as possible, as long as the shell can cope with it
 
569
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
570
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
571
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
572
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
573
      then
 
574
        break
 
575
      fi
 
576
    done
 
577
  fi
 
578
 
 
579
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
580
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
581
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
582
    :
 
583
  else
 
584
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
585
    # backslashes.  This makes it impossible to quote backslashes using
 
586
    #   echo "$something" | sed 's/\\/\\\\/g'
 
587
    #
 
588
    # So, first we look for a working echo in the user's PATH.
 
589
 
 
590
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
591
    for dir in $PATH /usr/ucb; do
 
592
      IFS="$lt_save_ifs"
 
593
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
594
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
595
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
596
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
597
        ECHO="$dir/echo"
 
598
        break
 
599
      fi
 
600
    done
618
601
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
602
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
603
    if test "X$ECHO" = Xecho; then
 
604
      # We didn't find a better echo, so look for alternatives.
 
605
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
606
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
607
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
608
        # This shell has a builtin print -r that does the trick.
 
609
        ECHO='print -r'
 
610
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
611
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
612
        # If we have ksh, try running configure again with it.
 
613
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
614
        export ORIGINAL_CONFIG_SHELL
 
615
        CONFIG_SHELL=/bin/ksh
 
616
        export CONFIG_SHELL
 
617
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
618
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
619
        # Try using printf.
 
620
        ECHO='printf %s\n'
 
621
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
622
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
623
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
624
          # Cool, printf works
 
625
          :
 
626
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
627
             test "X$echo_testing_string" = 'X\t' &&
 
628
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
629
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
630
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
631
          export CONFIG_SHELL
 
632
          SHELL="$CONFIG_SHELL"
 
633
          export SHELL
 
634
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
635
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
636
             test "X$echo_testing_string" = 'X\t' &&
 
637
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
638
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
639
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
640
        else
 
641
          # maybe with a smaller string...
 
642
          prev=:
 
643
 
 
644
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
645
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
646
            then
 
647
              break
 
648
            fi
 
649
            prev="$cmd"
 
650
          done
 
651
 
 
652
          if test "$prev" != 'sed 50q "$0"'; then
 
653
            echo_test_string=`eval $prev`
 
654
            export echo_test_string
 
655
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
656
          else
 
657
            # Oops.  We lost completely, so just stick with echo.
 
658
            ECHO=echo
674
659
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
660
        fi
686
661
      fi
687
662
    fi
688
663
  fi
689
664
fi
690
 
fi
691
665
 
692
666
# Copy echo and quote the copy suitably for passing to libtool from
693
667
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
668
lt_ECHO=$ECHO
 
669
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
670
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
671
fi
698
672
 
699
673
 
700
674
 
701
675
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
676
exec 7<&0 </dev/null 6>&1
707
677
 
708
678
# Name of the host.
721
691
subdirs=
722
692
MFLAGS=
723
693
MAKEFLAGS=
724
 
SHELL=${CONFIG_SHELL-/bin/sh}
725
694
 
726
695
# Identity of this package.
727
696
PACKAGE_NAME='MusE'
728
697
PACKAGE_TARNAME='muse'
729
 
PACKAGE_VERSION='1.0.1'
730
 
PACKAGE_STRING='MusE 1.0.1'
 
698
PACKAGE_VERSION='1.1'
 
699
PACKAGE_STRING='MusE 1.1'
731
700
PACKAGE_BUGREPORT=''
 
701
PACKAGE_URL=''
732
702
 
733
703
ac_unique_file="muse/app.cpp"
734
704
# Factoring default headers for most tests.
767
737
# include <unistd.h>
768
738
#endif"
769
739
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
INSTALL_PROGRAM
808
 
INSTALL_SCRIPT
809
 
INSTALL_DATA
810
 
CYGPATH_W
811
 
PACKAGE
812
 
VERSION
813
 
ACLOCAL
814
 
AUTOCONF
815
 
AUTOMAKE
816
 
AUTOHEADER
817
 
MAKEINFO
818
 
install_sh
819
 
STRIP
820
 
INSTALL_STRIP_PROGRAM
821
 
mkdir_p
822
 
AWK
823
 
SET_MAKE
824
 
am__leading_dot
825
 
AMTAR
826
 
am__tar
827
 
am__untar
828
 
INSIDE_GNOME_COMMON_TRUE
829
 
INSIDE_GNOME_COMMON_FALSE
830
 
CXX
831
 
CXXFLAGS
832
 
LDFLAGS
833
 
CPPFLAGS
834
 
ac_ct_CXX
835
 
EXEEXT
836
 
OBJEXT
837
 
DEPDIR
838
 
am__include
839
 
am__quote
840
 
AMDEP_TRUE
841
 
AMDEP_FALSE
842
 
AMDEPBACKSLASH
843
 
CXXDEPMODE
844
 
am__fastdepCXX_TRUE
845
 
am__fastdepCXX_FALSE
 
740
ac_subst_vars='am__EXEEXT_FALSE
 
741
am__EXEEXT_TRUE
 
742
LTLIBOBJS
 
743
LIBOBJS
 
744
MUSECXXFLAGS
 
745
HAVE_AUDIO_FALSE
 
746
HAVE_AUDIO_TRUE
 
747
DSSI_SUPPORT_FALSE
 
748
DSSI_SUPPORT_TRUE
 
749
OSC_SUPPORT_FALSE
 
750
OSC_SUPPORT_TRUE
 
751
LO_LIBS
 
752
LO_CFLAGS
 
753
VST_SUPPORT_FALSE
 
754
VST_SUPPORT_TRUE
 
755
FST_LIBS
 
756
FST_CFLAGS
 
757
PYTHON_LIB
 
758
PYTHON_INCLUDES
 
759
ENABLE_PYTHON_FALSE
 
760
ENABLE_PYTHON_TRUE
 
761
pkgpyexecdir
 
762
pyexecdir
 
763
pkgpythondir
 
764
pythondir
 
765
PYTHON_PLATFORM
 
766
PYTHON_EXEC_PREFIX
 
767
PYTHON_PREFIX
 
768
PYTHON_VERSION
 
769
PYTHON
 
770
USE_SSE_FALSE
 
771
USE_SSE_TRUE
 
772
USE_SSE
 
773
PCH_FALSE
 
774
PCH_TRUE
 
775
PCH
 
776
DOXYGEN_TREEVIEW
 
777
SUIDBUILD
 
778
SUIDINSTALL
 
779
GIVERTCAP
 
780
RTCAP_FALSE
 
781
RTCAP_TRUE
 
782
HAVE_LASH_FALSE
 
783
HAVE_LASH_TRUE
 
784
LASH_LIBS
 
785
LASH_CFLAGS
 
786
JACK_LIBS
 
787
JACK_CFLAGS
 
788
UUID_LIBS
 
789
UUID_CFLAGS
 
790
SAMPLERATE_LIBS
 
791
SAMPLERATE_CFLAGS
 
792
SNDFILE_LIBS
 
793
SNDFILE_CFLAGS
 
794
synth_fluid
 
795
synth_fluidsynth
 
796
FLUIDSYNTHDIRS
 
797
Fluidsynth_LIBS
 
798
Fluidsynth_CFLAGS
 
799
PKG_CONFIG
 
800
ENABLEFLUIDSYNTH_FALSE
 
801
ENABLEFLUIDSYNTH_TRUE
 
802
ALSA_LIBS
 
803
ALSA_CFLAGS
 
804
UIC
 
805
MOC
 
806
QT_LIBS
 
807
QT_CFLAGS
 
808
X_EXTRA_LIBS
 
809
X_LIBS
 
810
X_PRE_LIBS
 
811
X_CFLAGS
 
812
XMKMF
 
813
PERL
 
814
DOTPATH
 
815
HAVEDOT
 
816
DOT
 
817
DOXYGEN
 
818
DOCBOOKTARGETS
 
819
DOCBOOKSTYLE
 
820
have_docbook
 
821
NSGMLS
 
822
JADE
 
823
CXXCPP
 
824
CPP
 
825
OTOOL64
 
826
OTOOL
 
827
LIPO
 
828
NMEDIT
 
829
DSYMUTIL
 
830
lt_ECHO
 
831
RANLIB
 
832
AR
 
833
OBJDUMP
 
834
LN_S
 
835
NM
 
836
ac_ct_DUMPBIN
 
837
DUMPBIN
 
838
LD
 
839
FGREP
 
840
EGREP
 
841
GREP
 
842
SED
 
843
am__fastdepCC_FALSE
 
844
am__fastdepCC_TRUE
 
845
CCDEPMODE
 
846
ac_ct_CC
 
847
CFLAGS
 
848
CC
 
849
host_os
 
850
host_vendor
 
851
host_cpu
 
852
host
 
853
build_os
 
854
build_vendor
 
855
build_cpu
846
856
build
847
 
build_cpu
848
 
build_vendor
849
 
build_os
850
 
host
851
 
host_cpu
852
 
host_vendor
853
 
host_os
854
 
CC
855
 
CFLAGS
856
 
ac_ct_CC
857
 
CCDEPMODE
858
 
am__fastdepCC_TRUE
859
 
am__fastdepCC_FALSE
860
 
GREP
861
 
EGREP
862
 
LN_S
863
 
ECHO
864
 
AR
865
 
RANLIB
866
 
CPP
867
 
CXXCPP
868
 
F77
869
 
FFLAGS
870
 
ac_ct_F77
871
857
LIBTOOL
872
 
JADE
873
 
NSGMLS
874
 
have_docbook
875
 
DOCBOOKSTYLE
876
 
DOCBOOKTARGETS
877
 
DOXYGEN
878
 
DOT
879
 
HAVEDOT
880
 
DOTPATH
881
 
PERL
882
 
XMKMF
883
 
X_CFLAGS
884
 
X_PRE_LIBS
885
 
X_LIBS
886
 
X_EXTRA_LIBS
887
 
QT_CFLAGS
888
 
QT_LIBS
889
 
MOC
890
 
UIC
891
 
ALSA_CFLAGS
892
 
ALSA_LIBS
893
 
ENABLEFLUIDSYNTH_TRUE
894
 
ENABLEFLUIDSYNTH_FALSE
895
 
PKG_CONFIG
896
 
Fluidsynth_CFLAGS
897
 
Fluidsynth_LIBS
898
 
FLUIDSYNTHDIRS
899
 
synth_fluidsynth
900
 
synth_fluid
901
 
SNDFILE_CFLAGS
902
 
SNDFILE_LIBS
903
 
SAMPLERATE_CFLAGS
904
 
SAMPLERATE_LIBS
905
 
UUID_CFLAGS
906
 
UUID_LIBS
907
 
JACK_CFLAGS
908
 
JACK_LIBS
909
 
LASH_CFLAGS
910
 
LASH_LIBS
911
 
HAVE_LASH_TRUE
912
 
HAVE_LASH_FALSE
913
 
RTCAP_TRUE
914
 
RTCAP_FALSE
915
 
GIVERTCAP
916
 
SUIDINSTALL
917
 
SUIDBUILD
918
 
DOXYGEN_TREEVIEW
919
 
PCH
920
 
PCH_TRUE
921
 
PCH_FALSE
922
 
USE_SSE
923
 
USE_SSE_TRUE
924
 
USE_SSE_FALSE
925
 
PYTHON
926
 
PYTHON_VERSION
927
 
PYTHON_PREFIX
928
 
PYTHON_EXEC_PREFIX
929
 
PYTHON_PLATFORM
930
 
pythondir
931
 
pkgpythondir
932
 
pyexecdir
933
 
pkgpyexecdir
934
 
ENABLE_PYTHON_TRUE
935
 
ENABLE_PYTHON_FALSE
936
 
PYTHON_INCLUDES
937
 
PYTHON_LIB
938
 
FST_CFLAGS
939
 
FST_LIBS
940
 
VST_SUPPORT_TRUE
941
 
VST_SUPPORT_FALSE
942
 
LO_CFLAGS
943
 
LO_LIBS
944
 
DSSI_SUPPORT_TRUE
945
 
DSSI_SUPPORT_FALSE
946
 
HAVE_AUDIO_TRUE
947
 
HAVE_AUDIO_FALSE
948
 
MUSECXXFLAGS
949
 
LIBOBJS
950
 
LTLIBOBJS'
 
858
am__fastdepCXX_FALSE
 
859
am__fastdepCXX_TRUE
 
860
CXXDEPMODE
 
861
AMDEPBACKSLASH
 
862
AMDEP_FALSE
 
863
AMDEP_TRUE
 
864
am__quote
 
865
am__include
 
866
DEPDIR
 
867
OBJEXT
 
868
EXEEXT
 
869
ac_ct_CXX
 
870
CPPFLAGS
 
871
LDFLAGS
 
872
CXXFLAGS
 
873
CXX
 
874
INSIDE_GNOME_COMMON_FALSE
 
875
INSIDE_GNOME_COMMON_TRUE
 
876
am__untar
 
877
am__tar
 
878
AMTAR
 
879
am__leading_dot
 
880
SET_MAKE
 
881
AWK
 
882
mkdir_p
 
883
MKDIR_P
 
884
INSTALL_STRIP_PROGRAM
 
885
STRIP
 
886
install_sh
 
887
MAKEINFO
 
888
AUTOHEADER
 
889
AUTOMAKE
 
890
AUTOCONF
 
891
ACLOCAL
 
892
VERSION
 
893
PACKAGE
 
894
CYGPATH_W
 
895
am__isrc
 
896
INSTALL_DATA
 
897
INSTALL_SCRIPT
 
898
INSTALL_PROGRAM
 
899
target_alias
 
900
host_alias
 
901
build_alias
 
902
LIBS
 
903
ECHO_T
 
904
ECHO_N
 
905
ECHO_C
 
906
DEFS
 
907
mandir
 
908
localedir
 
909
libdir
 
910
psdir
 
911
pdfdir
 
912
dvidir
 
913
htmldir
 
914
infodir
 
915
docdir
 
916
oldincludedir
 
917
includedir
 
918
localstatedir
 
919
sharedstatedir
 
920
sysconfdir
 
921
datadir
 
922
datarootdir
 
923
libexecdir
 
924
sbindir
 
925
bindir
 
926
program_transform_name
 
927
prefix
 
928
exec_prefix
 
929
PACKAGE_URL
 
930
PACKAGE_BUGREPORT
 
931
PACKAGE_STRING
 
932
PACKAGE_VERSION
 
933
PACKAGE_TARNAME
 
934
PACKAGE_NAME
 
935
PATH_SEPARATOR
 
936
SHELL'
951
937
ac_subst_files=''
 
938
ac_user_opts='
 
939
enable_option_checking
 
940
enable_dependency_tracking
 
941
enable_shared
 
942
enable_static
 
943
with_pic
 
944
enable_fast_install
 
945
with_gnu_ld
 
946
enable_libtool_lock
 
947
with_docbook_stylesheets
 
948
with_x
 
949
enable_qttest
 
950
with_qt_prefix
 
951
with_qt_includes
 
952
with_qt_libraries
 
953
with_qt_binaries
 
954
with_qt_moc
 
955
with_qt_uic
 
956
with_alsa_prefix
 
957
with_alsa_inc_prefix
 
958
enable_alsatest
 
959
enable_fluidsynth
 
960
enable_lash
 
961
enable_rtcap
 
962
enable_suid_install
 
963
enable_suid_build
 
964
enable_doxy_treeview
 
965
enable_optimize
 
966
enable_debug
 
967
enable_pch
 
968
enable_arch
 
969
enable_sse
 
970
with_python
 
971
enable_vst
 
972
enable_osc
 
973
enable_dssi
 
974
'
952
975
      ac_precious_vars='build_alias
953
976
host_alias
954
977
target_alias
962
985
CFLAGS
963
986
CPP
964
987
CXXCPP
965
 
F77
966
 
FFLAGS
967
988
DOXYGEN
968
989
DOT
969
990
PERL
988
1009
# Initialize some variables set by options.
989
1010
ac_init_help=
990
1011
ac_init_version=false
 
1012
ac_unrecognized_opts=
 
1013
ac_unrecognized_sep=
991
1014
# The variables have the same names as the options, with
992
1015
# dashes changed to underlines.
993
1016
cache_file=/dev/null
1086
1109
    datarootdir=$ac_optarg ;;
1087
1110
 
1088
1111
  -disable-* | --disable-*)
1089
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1112
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1090
1113
    # Reject names that are not valid shell variable names.
1091
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1092
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1093
 
   { (exit 1); exit 1; }; }
1094
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1095
 
    eval enable_$ac_feature=no ;;
 
1114
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1115
      as_fn_error "invalid feature name: $ac_useropt"
 
1116
    ac_useropt_orig=$ac_useropt
 
1117
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1118
    case $ac_user_opts in
 
1119
      *"
 
1120
"enable_$ac_useropt"
 
1121
"*) ;;
 
1122
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1123
         ac_unrecognized_sep=', ';;
 
1124
    esac
 
1125
    eval enable_$ac_useropt=no ;;
1096
1126
 
1097
1127
  -docdir | --docdir | --docdi | --doc | --do)
1098
1128
    ac_prev=docdir ;;
1105
1135
    dvidir=$ac_optarg ;;
1106
1136
 
1107
1137
  -enable-* | --enable-*)
1108
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1138
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1109
1139
    # Reject names that are not valid shell variable names.
1110
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1112
 
   { (exit 1); exit 1; }; }
1113
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1114
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1140
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1141
      as_fn_error "invalid feature name: $ac_useropt"
 
1142
    ac_useropt_orig=$ac_useropt
 
1143
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1144
    case $ac_user_opts in
 
1145
      *"
 
1146
"enable_$ac_useropt"
 
1147
"*) ;;
 
1148
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1149
         ac_unrecognized_sep=', ';;
 
1150
    esac
 
1151
    eval enable_$ac_useropt=\$ac_optarg ;;
1115
1152
 
1116
1153
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117
1154
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1302
1339
    ac_init_version=: ;;
1303
1340
 
1304
1341
  -with-* | --with-*)
1305
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1342
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306
1343
    # Reject names that are not valid shell variable names.
1307
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1308
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1309
 
   { (exit 1); exit 1; }; }
1310
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1311
 
    eval with_$ac_package=\$ac_optarg ;;
 
1344
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1345
      as_fn_error "invalid package name: $ac_useropt"
 
1346
    ac_useropt_orig=$ac_useropt
 
1347
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1348
    case $ac_user_opts in
 
1349
      *"
 
1350
"with_$ac_useropt"
 
1351
"*) ;;
 
1352
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1353
         ac_unrecognized_sep=', ';;
 
1354
    esac
 
1355
    eval with_$ac_useropt=\$ac_optarg ;;
1312
1356
 
1313
1357
  -without-* | --without-*)
1314
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1358
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1315
1359
    # Reject names that are not valid shell variable names.
1316
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1318
 
   { (exit 1); exit 1; }; }
1319
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1320
 
    eval with_$ac_package=no ;;
 
1360
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1361
      as_fn_error "invalid package name: $ac_useropt"
 
1362
    ac_useropt_orig=$ac_useropt
 
1363
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1364
    case $ac_user_opts in
 
1365
      *"
 
1366
"with_$ac_useropt"
 
1367
"*) ;;
 
1368
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1369
         ac_unrecognized_sep=', ';;
 
1370
    esac
 
1371
    eval with_$ac_useropt=no ;;
1321
1372
 
1322
1373
  --x)
1323
1374
    # Obsolete; use --with-x.
1337
1388
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1338
1389
    x_libraries=$ac_optarg ;;
1339
1390
 
1340
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1341
 
Try \`$0 --help' for more information." >&2
1342
 
   { (exit 1); exit 1; }; }
 
1391
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1392
Try \`$0 --help' for more information."
1343
1393
    ;;
1344
1394
 
1345
1395
  *=*)
1346
1396
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1347
1397
    # Reject names that are not valid shell variable names.
1348
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1349
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1350
 
   { (exit 1); exit 1; }; }
 
1398
    case $ac_envvar in #(
 
1399
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1400
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1401
    esac
1351
1402
    eval $ac_envvar=\$ac_optarg
1352
1403
    export $ac_envvar ;;
1353
1404
 
1354
1405
  *)
1355
1406
    # FIXME: should be removed in autoconf 3.0.
1356
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1407
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1357
1408
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1358
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1409
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1359
1410
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1360
1411
    ;;
1361
1412
 
1364
1415
 
1365
1416
if test -n "$ac_prev"; then
1366
1417
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1367
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1368
 
   { (exit 1); exit 1; }; }
1369
 
fi
1370
 
 
1371
 
# Be sure to have absolute directory names.
 
1418
  as_fn_error "missing argument to $ac_option"
 
1419
fi
 
1420
 
 
1421
if test -n "$ac_unrecognized_opts"; then
 
1422
  case $enable_option_checking in
 
1423
    no) ;;
 
1424
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1425
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1426
  esac
 
1427
fi
 
1428
 
 
1429
# Check all directory arguments for consistency.
1372
1430
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1373
1431
                datadir sysconfdir sharedstatedir localstatedir includedir \
1374
1432
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1375
1433
                libdir localedir mandir
1376
1434
do
1377
1435
  eval ac_val=\$$ac_var
 
1436
  # Remove trailing slashes.
 
1437
  case $ac_val in
 
1438
    */ )
 
1439
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1440
      eval $ac_var=\$ac_val;;
 
1441
  esac
 
1442
  # Be sure to have absolute directory names.
1378
1443
  case $ac_val in
1379
1444
    [\\/$]* | ?:[\\/]* )  continue;;
1380
1445
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1381
1446
  esac
1382
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1383
 
   { (exit 1); exit 1; }; }
 
1447
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1384
1448
done
1385
1449
 
1386
1450
# There might be people who depend on the old broken behavior: `$host'
1394
1458
if test "x$host_alias" != x; then
1395
1459
  if test "x$build_alias" = x; then
1396
1460
    cross_compiling=maybe
1397
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1461
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1398
1462
    If a cross compiler is detected then cross compile mode will be used." >&2
1399
1463
  elif test "x$build_alias" != "x$host_alias"; then
1400
1464
    cross_compiling=yes
1410
1474
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1411
1475
ac_ls_di=`ls -di .` &&
1412
1476
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1413
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1414
 
   { (exit 1); exit 1; }; }
 
1477
  as_fn_error "working directory cannot be determined"
1415
1478
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1417
 
   { (exit 1); exit 1; }; }
 
1479
  as_fn_error "pwd does not report name of working directory"
1418
1480
 
1419
1481
 
1420
1482
# Find the source files, if location was not specified.
1421
1483
if test -z "$srcdir"; then
1422
1484
  ac_srcdir_defaulted=yes
1423
1485
  # Try the directory containing this script, then the parent directory.
1424
 
  ac_confdir=`$as_dirname -- "$0" ||
1425
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1426
 
         X"$0" : 'X\(//\)[^/]' \| \
1427
 
         X"$0" : 'X\(//\)$' \| \
1428
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1429
 
echo X"$0" |
 
1486
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1487
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1488
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1489
         X"$as_myself" : 'X\(//\)$' \| \
 
1490
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1491
$as_echo X"$as_myself" |
1430
1492
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1431
1493
            s//\1/
1432
1494
            q
1453
1515
fi
1454
1516
if test ! -r "$srcdir/$ac_unique_file"; then
1455
1517
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1456
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1457
 
   { (exit 1); exit 1; }; }
 
1518
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1458
1519
fi
1459
1520
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1460
1521
ac_abs_confdir=`(
1461
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1462
 
   { (exit 1); exit 1; }; }
 
1522
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1463
1523
        pwd)`
1464
1524
# When building in place, set srcdir=.
1465
1525
if test "$ac_abs_confdir" = "$ac_pwd"; then
1485
1545
  # Omit some internal or obsolete options to make the list less imposing.
1486
1546
  # This message is too long to be a string in the A/UX 3.1 sh.
1487
1547
  cat <<_ACEOF
1488
 
\`configure' configures MusE 1.0.1 to adapt to many kinds of systems.
 
1548
\`configure' configures MusE 1.1 to adapt to many kinds of systems.
1489
1549
 
1490
1550
Usage: $0 [OPTION]... [VAR=VALUE]...
1491
1551
 
1507
1567
 
1508
1568
Installation directories:
1509
1569
  --prefix=PREFIX         install architecture-independent files in PREFIX
1510
 
                          [$ac_default_prefix]
 
1570
                          [$ac_default_prefix]
1511
1571
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1512
 
                          [PREFIX]
 
1572
                          [PREFIX]
1513
1573
 
1514
1574
By default, \`make install' will install all the files in
1515
1575
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1519
1579
For better control, use the options below.
1520
1580
 
1521
1581
Fine tuning of the installation directories:
1522
 
  --bindir=DIR           user executables [EPREFIX/bin]
1523
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1524
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1525
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1526
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1527
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1528
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1529
 
  --includedir=DIR       C header files [PREFIX/include]
1530
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1531
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1532
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1533
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1534
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1535
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1536
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/muse]
1537
 
  --htmldir=DIR          html documentation [DOCDIR]
1538
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1539
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1540
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1582
  --bindir=DIR            user executables [EPREFIX/bin]
 
1583
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1584
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1585
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1586
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1587
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1588
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1589
  --includedir=DIR        C header files [PREFIX/include]
 
1590
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1591
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1592
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1593
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1594
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1595
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1596
  --docdir=DIR            documentation root [DATAROOTDIR/doc/muse]
 
1597
  --htmldir=DIR           html documentation [DOCDIR]
 
1598
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1599
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1600
  --psdir=DIR             ps documentation [DOCDIR]
1541
1601
_ACEOF
1542
1602
 
1543
1603
  cat <<\_ACEOF
1559
1619
 
1560
1620
if test -n "$ac_init_help"; then
1561
1621
  case $ac_init_help in
1562
 
     short | recursive ) echo "Configuration of MusE 1.0.1:";;
 
1622
     short | recursive ) echo "Configuration of MusE 1.1:";;
1563
1623
   esac
1564
1624
  cat <<\_ACEOF
1565
1625
 
1566
1626
Optional Features:
 
1627
  --disable-option-checking  ignore unrecognized --enable/--with options
1567
1628
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1568
1629
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1569
1630
  --disable-dependency-tracking  speeds up one-time build
1591
1652
                          386, 486, 586, 686, pentium, pentiumpro, k6, athlon...
1592
1653
  --enable-sse            enable SSE optimizations
1593
1654
  --enable-vst (deprecated, use dssi) build VST/win support. (disabled by default)
 
1655
  --enable-osc            build OSC support. (disabled by default)
 
1656
                                             --enable-dssi is also recommended!
1594
1657
  --enable-dssi           build DSSI + DSSI-Vst support. (disabled by default)
 
1658
                                              --enable-osc is also recommended!
1595
1659
 
1596
1660
Optional Packages:
1597
1661
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1598
1662
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1599
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1600
1663
  --with-pic              try to use only PIC/non-PIC objects [default=use
1601
1664
                          both]
1602
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1665
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1603
1666
  --with-docbook-stylesheets=DIR  use DIR/html/docbook.dsl
1604
1667
  --with-x                use the X Window System
1605
1668
  --with-qt-prefix=PFX    where the root of Qt is installed
1624
1687
  CFLAGS      C compiler flags
1625
1688
  CPP         C preprocessor
1626
1689
  CXXCPP      C++ preprocessor
1627
 
  F77         Fortran 77 compiler command
1628
 
  FFLAGS      Fortran 77 compiler flags
1629
1690
  DOXYGEN     Doxygen
1630
1691
  DOT         The "dot" program from graphviz
1631
1692
  PERL        Perl
1655
1716
Use these variables to override the choices made by `configure' or to help
1656
1717
it to find libraries and programs with nonstandard names/locations.
1657
1718
 
 
1719
Report bugs to the package provider.
1658
1720
_ACEOF
1659
1721
ac_status=$?
1660
1722
fi
1662
1724
if test "$ac_init_help" = "recursive"; then
1663
1725
  # If there are subdirs, report their specific --help.
1664
1726
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1665
 
    test -d "$ac_dir" || continue
 
1727
    test -d "$ac_dir" ||
 
1728
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1729
      continue
1666
1730
    ac_builddir=.
1667
1731
 
1668
1732
case "$ac_dir" in
1669
1733
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1670
1734
*)
1671
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1735
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1672
1736
  # A ".." for each directory in $ac_dir_suffix.
1673
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1737
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1674
1738
  case $ac_top_builddir_sub in
1675
1739
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1676
1740
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1706
1770
      echo &&
1707
1771
      $SHELL "$ac_srcdir/configure" --help=recursive
1708
1772
    else
1709
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1773
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1710
1774
    fi || ac_status=$?
1711
1775
    cd "$ac_pwd" || { ac_status=$?; break; }
1712
1776
  done
1715
1779
test -n "$ac_init_help" && exit $ac_status
1716
1780
if $ac_init_version; then
1717
1781
  cat <<\_ACEOF
1718
 
MusE configure 1.0.1
1719
 
generated by GNU Autoconf 2.61
 
1782
MusE configure 1.1
 
1783
generated by GNU Autoconf 2.64
1720
1784
 
1721
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1722
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1785
Copyright (C) 2009 Free Software Foundation, Inc.
1723
1786
This configure script is free software; the Free Software Foundation
1724
1787
gives unlimited permission to copy, distribute and modify it.
1725
1788
_ACEOF
1726
1789
  exit
1727
1790
fi
 
1791
 
 
1792
## ------------------------ ##
 
1793
## Autoconf initialization. ##
 
1794
## ------------------------ ##
 
1795
 
 
1796
# ac_fn_cxx_try_compile LINENO
 
1797
# ----------------------------
 
1798
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1799
ac_fn_cxx_try_compile ()
 
1800
{
 
1801
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1802
  rm -f conftest.$ac_objext
 
1803
  if { { ac_try="$ac_compile"
 
1804
case "(($ac_try" in
 
1805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1806
  *) ac_try_echo=$ac_try;;
 
1807
esac
 
1808
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1809
$as_echo "$ac_try_echo"; } >&5
 
1810
  (eval "$ac_compile") 2>conftest.err
 
1811
  ac_status=$?
 
1812
  if test -s conftest.err; then
 
1813
    grep -v '^ *+' conftest.err >conftest.er1
 
1814
    cat conftest.er1 >&5
 
1815
    mv -f conftest.er1 conftest.err
 
1816
  fi
 
1817
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1818
  test $ac_status = 0; } && {
 
1819
         test -z "$ac_cxx_werror_flag" ||
 
1820
         test ! -s conftest.err
 
1821
       } && test -s conftest.$ac_objext; then :
 
1822
  ac_retval=0
 
1823
else
 
1824
  $as_echo "$as_me: failed program was:" >&5
 
1825
sed 's/^/| /' conftest.$ac_ext >&5
 
1826
 
 
1827
        ac_retval=1
 
1828
fi
 
1829
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1830
  return $ac_retval
 
1831
 
 
1832
} # ac_fn_cxx_try_compile
 
1833
 
 
1834
# ac_fn_c_try_compile LINENO
 
1835
# --------------------------
 
1836
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1837
ac_fn_c_try_compile ()
 
1838
{
 
1839
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1840
  rm -f conftest.$ac_objext
 
1841
  if { { ac_try="$ac_compile"
 
1842
case "(($ac_try" in
 
1843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1844
  *) ac_try_echo=$ac_try;;
 
1845
esac
 
1846
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1847
$as_echo "$ac_try_echo"; } >&5
 
1848
  (eval "$ac_compile") 2>conftest.err
 
1849
  ac_status=$?
 
1850
  if test -s conftest.err; then
 
1851
    grep -v '^ *+' conftest.err >conftest.er1
 
1852
    cat conftest.er1 >&5
 
1853
    mv -f conftest.er1 conftest.err
 
1854
  fi
 
1855
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1856
  test $ac_status = 0; } && {
 
1857
         test -z "$ac_c_werror_flag" ||
 
1858
         test ! -s conftest.err
 
1859
       } && test -s conftest.$ac_objext; then :
 
1860
  ac_retval=0
 
1861
else
 
1862
  $as_echo "$as_me: failed program was:" >&5
 
1863
sed 's/^/| /' conftest.$ac_ext >&5
 
1864
 
 
1865
        ac_retval=1
 
1866
fi
 
1867
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1868
  return $ac_retval
 
1869
 
 
1870
} # ac_fn_c_try_compile
 
1871
 
 
1872
# ac_fn_c_try_link LINENO
 
1873
# -----------------------
 
1874
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1875
ac_fn_c_try_link ()
 
1876
{
 
1877
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1878
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1879
  if { { ac_try="$ac_link"
 
1880
case "(($ac_try" in
 
1881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1882
  *) ac_try_echo=$ac_try;;
 
1883
esac
 
1884
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1885
$as_echo "$ac_try_echo"; } >&5
 
1886
  (eval "$ac_link") 2>conftest.err
 
1887
  ac_status=$?
 
1888
  if test -s conftest.err; then
 
1889
    grep -v '^ *+' conftest.err >conftest.er1
 
1890
    cat conftest.er1 >&5
 
1891
    mv -f conftest.er1 conftest.err
 
1892
  fi
 
1893
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1894
  test $ac_status = 0; } && {
 
1895
         test -z "$ac_c_werror_flag" ||
 
1896
         test ! -s conftest.err
 
1897
       } && test -s conftest$ac_exeext && {
 
1898
         test "$cross_compiling" = yes ||
 
1899
         $as_test_x conftest$ac_exeext
 
1900
       }; then :
 
1901
  ac_retval=0
 
1902
else
 
1903
  $as_echo "$as_me: failed program was:" >&5
 
1904
sed 's/^/| /' conftest.$ac_ext >&5
 
1905
 
 
1906
        ac_retval=1
 
1907
fi
 
1908
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1909
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1910
  # interfere with the next link command; also delete a directory that is
 
1911
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1912
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1913
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1914
  return $ac_retval
 
1915
 
 
1916
} # ac_fn_c_try_link
 
1917
 
 
1918
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1919
# -------------------------------------------------------
 
1920
# Tests whether HEADER exists and can be compiled using the include files in
 
1921
# INCLUDES, setting the cache variable VAR accordingly.
 
1922
ac_fn_c_check_header_compile ()
 
1923
{
 
1924
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1925
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1926
$as_echo_n "checking for $2... " >&6; }
 
1927
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1928
  $as_echo_n "(cached) " >&6
 
1929
else
 
1930
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1931
/* end confdefs.h.  */
 
1932
$4
 
1933
#include <$2>
 
1934
_ACEOF
 
1935
if ac_fn_c_try_compile "$LINENO"; then :
 
1936
  eval "$3=yes"
 
1937
else
 
1938
  eval "$3=no"
 
1939
fi
 
1940
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1941
fi
 
1942
eval ac_res=\$$3
 
1943
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1944
$as_echo "$ac_res" >&6; }
 
1945
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1946
 
 
1947
} # ac_fn_c_check_header_compile
 
1948
 
 
1949
# ac_fn_c_try_cpp LINENO
 
1950
# ----------------------
 
1951
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1952
ac_fn_c_try_cpp ()
 
1953
{
 
1954
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1955
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1956
case "(($ac_try" in
 
1957
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1958
  *) ac_try_echo=$ac_try;;
 
1959
esac
 
1960
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1961
$as_echo "$ac_try_echo"; } >&5
 
1962
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1963
  ac_status=$?
 
1964
  if test -s conftest.err; then
 
1965
    grep -v '^ *+' conftest.err >conftest.er1
 
1966
    cat conftest.er1 >&5
 
1967
    mv -f conftest.er1 conftest.err
 
1968
  fi
 
1969
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1970
  test $ac_status = 0; } >/dev/null && {
 
1971
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1972
         test ! -s conftest.err
 
1973
       }; then :
 
1974
  ac_retval=0
 
1975
else
 
1976
  $as_echo "$as_me: failed program was:" >&5
 
1977
sed 's/^/| /' conftest.$ac_ext >&5
 
1978
 
 
1979
    ac_retval=1
 
1980
fi
 
1981
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1982
  return $ac_retval
 
1983
 
 
1984
} # ac_fn_c_try_cpp
 
1985
 
 
1986
# ac_fn_c_try_run LINENO
 
1987
# ----------------------
 
1988
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1989
# that executables *can* be run.
 
1990
ac_fn_c_try_run ()
 
1991
{
 
1992
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1993
  if { { ac_try="$ac_link"
 
1994
case "(($ac_try" in
 
1995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1996
  *) ac_try_echo=$ac_try;;
 
1997
esac
 
1998
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1999
$as_echo "$ac_try_echo"; } >&5
 
2000
  (eval "$ac_link") 2>&5
 
2001
  ac_status=$?
 
2002
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2003
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2004
  { { case "(($ac_try" in
 
2005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2006
  *) ac_try_echo=$ac_try;;
 
2007
esac
 
2008
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2009
$as_echo "$ac_try_echo"; } >&5
 
2010
  (eval "$ac_try") 2>&5
 
2011
  ac_status=$?
 
2012
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2013
  test $ac_status = 0; }; }; then :
 
2014
  ac_retval=0
 
2015
else
 
2016
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2017
       $as_echo "$as_me: failed program was:" >&5
 
2018
sed 's/^/| /' conftest.$ac_ext >&5
 
2019
 
 
2020
       ac_retval=$ac_status
 
2021
fi
 
2022
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2023
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2024
  return $ac_retval
 
2025
 
 
2026
} # ac_fn_c_try_run
 
2027
 
 
2028
# ac_fn_c_check_func LINENO FUNC VAR
 
2029
# ----------------------------------
 
2030
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2031
ac_fn_c_check_func ()
 
2032
{
 
2033
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2035
$as_echo_n "checking for $2... " >&6; }
 
2036
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2037
  $as_echo_n "(cached) " >&6
 
2038
else
 
2039
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2040
/* end confdefs.h.  */
 
2041
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2042
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2043
#define $2 innocuous_$2
 
2044
 
 
2045
/* System header to define __stub macros and hopefully few prototypes,
 
2046
    which can conflict with char $2 (); below.
 
2047
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2048
    <limits.h> exists even on freestanding compilers.  */
 
2049
 
 
2050
#ifdef __STDC__
 
2051
# include <limits.h>
 
2052
#else
 
2053
# include <assert.h>
 
2054
#endif
 
2055
 
 
2056
#undef $2
 
2057
 
 
2058
/* Override any GCC internal prototype to avoid an error.
 
2059
   Use char because int might match the return type of a GCC
 
2060
   builtin and then its argument prototype would still apply.  */
 
2061
#ifdef __cplusplus
 
2062
extern "C"
 
2063
#endif
 
2064
char $2 ();
 
2065
/* The GNU C library defines this for functions which it implements
 
2066
    to always fail with ENOSYS.  Some functions are actually named
 
2067
    something starting with __ and the normal name is an alias.  */
 
2068
#if defined __stub_$2 || defined __stub___$2
 
2069
choke me
 
2070
#endif
 
2071
 
 
2072
int
 
2073
main ()
 
2074
{
 
2075
return $2 ();
 
2076
  ;
 
2077
  return 0;
 
2078
}
 
2079
_ACEOF
 
2080
if ac_fn_c_try_link "$LINENO"; then :
 
2081
  eval "$3=yes"
 
2082
else
 
2083
  eval "$3=no"
 
2084
fi
 
2085
rm -f core conftest.err conftest.$ac_objext \
 
2086
    conftest$ac_exeext conftest.$ac_ext
 
2087
fi
 
2088
eval ac_res=\$$3
 
2089
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2090
$as_echo "$ac_res" >&6; }
 
2091
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2092
 
 
2093
} # ac_fn_c_check_func
 
2094
 
 
2095
# ac_fn_cxx_try_cpp LINENO
 
2096
# ------------------------
 
2097
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2098
ac_fn_cxx_try_cpp ()
 
2099
{
 
2100
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2101
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2102
case "(($ac_try" in
 
2103
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2104
  *) ac_try_echo=$ac_try;;
 
2105
esac
 
2106
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2107
$as_echo "$ac_try_echo"; } >&5
 
2108
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2109
  ac_status=$?
 
2110
  if test -s conftest.err; then
 
2111
    grep -v '^ *+' conftest.err >conftest.er1
 
2112
    cat conftest.er1 >&5
 
2113
    mv -f conftest.er1 conftest.err
 
2114
  fi
 
2115
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2116
  test $ac_status = 0; } >/dev/null && {
 
2117
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2118
         test ! -s conftest.err
 
2119
       }; then :
 
2120
  ac_retval=0
 
2121
else
 
2122
  $as_echo "$as_me: failed program was:" >&5
 
2123
sed 's/^/| /' conftest.$ac_ext >&5
 
2124
 
 
2125
    ac_retval=1
 
2126
fi
 
2127
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2128
  return $ac_retval
 
2129
 
 
2130
} # ac_fn_cxx_try_cpp
 
2131
 
 
2132
# ac_fn_cxx_try_link LINENO
 
2133
# -------------------------
 
2134
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2135
ac_fn_cxx_try_link ()
 
2136
{
 
2137
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2138
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2139
  if { { ac_try="$ac_link"
 
2140
case "(($ac_try" in
 
2141
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2142
  *) ac_try_echo=$ac_try;;
 
2143
esac
 
2144
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2145
$as_echo "$ac_try_echo"; } >&5
 
2146
  (eval "$ac_link") 2>conftest.err
 
2147
  ac_status=$?
 
2148
  if test -s conftest.err; then
 
2149
    grep -v '^ *+' conftest.err >conftest.er1
 
2150
    cat conftest.er1 >&5
 
2151
    mv -f conftest.er1 conftest.err
 
2152
  fi
 
2153
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2154
  test $ac_status = 0; } && {
 
2155
         test -z "$ac_cxx_werror_flag" ||
 
2156
         test ! -s conftest.err
 
2157
       } && test -s conftest$ac_exeext && {
 
2158
         test "$cross_compiling" = yes ||
 
2159
         $as_test_x conftest$ac_exeext
 
2160
       }; then :
 
2161
  ac_retval=0
 
2162
else
 
2163
  $as_echo "$as_me: failed program was:" >&5
 
2164
sed 's/^/| /' conftest.$ac_ext >&5
 
2165
 
 
2166
        ac_retval=1
 
2167
fi
 
2168
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2169
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2170
  # interfere with the next link command; also delete a directory that is
 
2171
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2172
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2173
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2174
  return $ac_retval
 
2175
 
 
2176
} # ac_fn_cxx_try_link
 
2177
 
 
2178
# ac_fn_cxx_try_run LINENO
 
2179
# ------------------------
 
2180
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2181
# that executables *can* be run.
 
2182
ac_fn_cxx_try_run ()
 
2183
{
 
2184
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2185
  if { { ac_try="$ac_link"
 
2186
case "(($ac_try" in
 
2187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2188
  *) ac_try_echo=$ac_try;;
 
2189
esac
 
2190
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2191
$as_echo "$ac_try_echo"; } >&5
 
2192
  (eval "$ac_link") 2>&5
 
2193
  ac_status=$?
 
2194
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2195
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2196
  { { case "(($ac_try" in
 
2197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2198
  *) ac_try_echo=$ac_try;;
 
2199
esac
 
2200
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2201
$as_echo "$ac_try_echo"; } >&5
 
2202
  (eval "$ac_try") 2>&5
 
2203
  ac_status=$?
 
2204
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2205
  test $ac_status = 0; }; }; then :
 
2206
  ac_retval=0
 
2207
else
 
2208
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2209
       $as_echo "$as_me: failed program was:" >&5
 
2210
sed 's/^/| /' conftest.$ac_ext >&5
 
2211
 
 
2212
       ac_retval=$ac_status
 
2213
fi
 
2214
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2215
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2216
  return $ac_retval
 
2217
 
 
2218
} # ac_fn_cxx_try_run
 
2219
 
 
2220
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2221
# -------------------------------------------------------
 
2222
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2223
# the include files in INCLUDES and setting the cache variable VAR
 
2224
# accordingly.
 
2225
ac_fn_c_check_header_mongrel ()
 
2226
{
 
2227
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2228
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2230
$as_echo_n "checking for $2... " >&6; }
 
2231
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2232
  $as_echo_n "(cached) " >&6
 
2233
fi
 
2234
eval ac_res=\$$3
 
2235
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2236
$as_echo "$ac_res" >&6; }
 
2237
else
 
2238
  # Is the header compilable?
 
2239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2240
$as_echo_n "checking $2 usability... " >&6; }
 
2241
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2242
/* end confdefs.h.  */
 
2243
$4
 
2244
#include <$2>
 
2245
_ACEOF
 
2246
if ac_fn_c_try_compile "$LINENO"; then :
 
2247
  ac_header_compiler=yes
 
2248
else
 
2249
  ac_header_compiler=no
 
2250
fi
 
2251
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2253
$as_echo "$ac_header_compiler" >&6; }
 
2254
 
 
2255
# Is the header present?
 
2256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2257
$as_echo_n "checking $2 presence... " >&6; }
 
2258
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2259
/* end confdefs.h.  */
 
2260
#include <$2>
 
2261
_ACEOF
 
2262
if ac_fn_c_try_cpp "$LINENO"; then :
 
2263
  ac_header_preproc=yes
 
2264
else
 
2265
  ac_header_preproc=no
 
2266
fi
 
2267
rm -f conftest.err conftest.$ac_ext
 
2268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2269
$as_echo "$ac_header_preproc" >&6; }
 
2270
 
 
2271
# So?  What about this header?
 
2272
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2273
  yes:no: )
 
2274
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2275
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2276
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2277
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2278
    ;;
 
2279
  no:yes:* )
 
2280
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2281
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2282
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2283
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2284
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2285
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2286
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2287
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2288
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2289
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2290
    ;;
 
2291
esac
 
2292
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2293
$as_echo_n "checking for $2... " >&6; }
 
2294
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2295
  $as_echo_n "(cached) " >&6
 
2296
else
 
2297
  eval "$3=\$ac_header_compiler"
 
2298
fi
 
2299
eval ac_res=\$$3
 
2300
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2301
$as_echo "$ac_res" >&6; }
 
2302
fi
 
2303
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2304
 
 
2305
} # ac_fn_c_check_header_mongrel
1728
2306
cat >config.log <<_ACEOF
1729
2307
This file contains any messages produced by compilers while
1730
2308
running configure, to aid debugging if configure makes a mistake.
1731
2309
 
1732
 
It was created by MusE $as_me 1.0.1, which was
1733
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2310
It was created by MusE $as_me 1.1, which was
 
2311
generated by GNU Autoconf 2.64.  Invocation command line was
1734
2312
 
1735
2313
  $ $0 $@
1736
2314
 
1766
2344
do
1767
2345
  IFS=$as_save_IFS
1768
2346
  test -z "$as_dir" && as_dir=.
1769
 
  echo "PATH: $as_dir"
1770
 
done
 
2347
    $as_echo "PATH: $as_dir"
 
2348
  done
1771
2349
IFS=$as_save_IFS
1772
2350
 
1773
2351
} >&5
1801
2379
    | -silent | --silent | --silen | --sile | --sil)
1802
2380
      continue ;;
1803
2381
    *\'*)
1804
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2382
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1805
2383
    esac
1806
2384
    case $ac_pass in
1807
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2385
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1808
2386
    2)
1809
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2387
      as_fn_append ac_configure_args1 " '$ac_arg'"
1810
2388
      if test $ac_must_keep_next = true; then
1811
2389
        ac_must_keep_next=false # Got value, back to normal.
1812
2390
      else
1822
2400
          -* ) ac_must_keep_next=true ;;
1823
2401
        esac
1824
2402
      fi
1825
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2403
      as_fn_append ac_configure_args " '$ac_arg'"
1826
2404
      ;;
1827
2405
    esac
1828
2406
  done
1829
2407
done
1830
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1831
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2408
{ ac_configure_args0=; unset ac_configure_args0;}
 
2409
{ ac_configure_args1=; unset ac_configure_args1;}
1832
2410
 
1833
2411
# When interrupted or exit'd, cleanup temporary files, and complete
1834
2412
# config.log.  We remove comments because anyway the quotes in there
1853
2431
    case $ac_val in #(
1854
2432
    *${as_nl}*)
1855
2433
      case $ac_var in #(
1856
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1857
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2434
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2435
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1858
2436
      esac
1859
2437
      case $ac_var in #(
1860
2438
      _ | IFS | as_nl) ;; #(
1861
 
      *) $as_unset $ac_var ;;
 
2439
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2440
      *) { eval $ac_var=; unset $ac_var;} ;;
1862
2441
      esac ;;
1863
2442
    esac
1864
2443
  done
1887
2466
    do
1888
2467
      eval ac_val=\$$ac_var
1889
2468
      case $ac_val in
1890
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2469
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1891
2470
      esac
1892
 
      echo "$ac_var='\''$ac_val'\''"
 
2471
      $as_echo "$ac_var='\''$ac_val'\''"
1893
2472
    done | sort
1894
2473
    echo
1895
2474
 
1904
2483
      do
1905
2484
        eval ac_val=\$$ac_var
1906
2485
        case $ac_val in
1907
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2486
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1908
2487
        esac
1909
 
        echo "$ac_var='\''$ac_val'\''"
 
2488
        $as_echo "$ac_var='\''$ac_val'\''"
1910
2489
      done | sort
1911
2490
      echo
1912
2491
    fi
1922
2501
      echo
1923
2502
    fi
1924
2503
    test "$ac_signal" != 0 &&
1925
 
      echo "$as_me: caught signal $ac_signal"
1926
 
    echo "$as_me: exit $exit_status"
 
2504
      $as_echo "$as_me: caught signal $ac_signal"
 
2505
    $as_echo "$as_me: exit $exit_status"
1927
2506
  } >&5
1928
2507
  rm -f core *.core core.conftest.* &&
1929
2508
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1930
2509
    exit $exit_status
1931
2510
' 0
1932
2511
for ac_signal in 1 2 13 15; do
1933
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2512
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1934
2513
done
1935
2514
ac_signal=0
1936
2515
 
1937
2516
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1938
2517
rm -f -r conftest* confdefs.h
1939
2518
 
 
2519
$as_echo "/* confdefs.h */" > confdefs.h
 
2520
 
1940
2521
# Predefined preprocessor variables.
1941
2522
 
1942
2523
cat >>confdefs.h <<_ACEOF
1943
2524
#define PACKAGE_NAME "$PACKAGE_NAME"
1944
2525
_ACEOF
1945
2526
 
1946
 
 
1947
2527
cat >>confdefs.h <<_ACEOF
1948
2528
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1949
2529
_ACEOF
1950
2530
 
1951
 
 
1952
2531
cat >>confdefs.h <<_ACEOF
1953
2532
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1954
2533
_ACEOF
1955
2534
 
1956
 
 
1957
2535
cat >>confdefs.h <<_ACEOF
1958
2536
#define PACKAGE_STRING "$PACKAGE_STRING"
1959
2537
_ACEOF
1960
2538
 
1961
 
 
1962
2539
cat >>confdefs.h <<_ACEOF
1963
2540
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1964
2541
_ACEOF
1965
2542
 
 
2543
cat >>confdefs.h <<_ACEOF
 
2544
#define PACKAGE_URL "$PACKAGE_URL"
 
2545
_ACEOF
 
2546
 
1966
2547
 
1967
2548
# Let the site file select an alternate cache file if it wants to.
1968
 
# Prefer explicitly selected file to automatically selected ones.
 
2549
# Prefer an explicitly selected file to automatically selected ones.
 
2550
ac_site_file1=NONE
 
2551
ac_site_file2=NONE
1969
2552
if test -n "$CONFIG_SITE"; then
1970
 
  set x "$CONFIG_SITE"
 
2553
  ac_site_file1=$CONFIG_SITE
1971
2554
elif test "x$prefix" != xNONE; then
1972
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2555
  ac_site_file1=$prefix/share/config.site
 
2556
  ac_site_file2=$prefix/etc/config.site
1973
2557
else
1974
 
  set x "$ac_default_prefix/share/config.site" \
1975
 
        "$ac_default_prefix/etc/config.site"
 
2558
  ac_site_file1=$ac_default_prefix/share/config.site
 
2559
  ac_site_file2=$ac_default_prefix/etc/config.site
1976
2560
fi
1977
 
shift
1978
 
for ac_site_file
 
2561
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1979
2562
do
 
2563
  test "x$ac_site_file" = xNONE && continue
1980
2564
  if test -r "$ac_site_file"; then
1981
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1982
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2565
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2566
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1983
2567
    sed 's/^/| /' "$ac_site_file" >&5
1984
2568
    . "$ac_site_file"
1985
2569
  fi
1989
2573
  # Some versions of bash will fail to source /dev/null (special
1990
2574
  # files actually), so we avoid doing that.
1991
2575
  if test -f "$cache_file"; then
1992
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1993
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2576
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2577
$as_echo "$as_me: loading cache $cache_file" >&6;}
1994
2578
    case $cache_file in
1995
2579
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1996
2580
      *)                      . "./$cache_file";;
1997
2581
    esac
1998
2582
  fi
1999
2583
else
2000
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2001
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2584
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2585
$as_echo "$as_me: creating cache $cache_file" >&6;}
2002
2586
  >$cache_file
2003
2587
fi
2004
2588
 
2012
2596
  eval ac_new_val=\$ac_env_${ac_var}_value
2013
2597
  case $ac_old_set,$ac_new_set in
2014
2598
    set,)
2015
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2016
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2599
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2600
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2017
2601
      ac_cache_corrupted=: ;;
2018
2602
    ,set)
2019
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2020
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2603
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2604
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2021
2605
      ac_cache_corrupted=: ;;
2022
2606
    ,);;
2023
2607
    *)
2024
2608
      if test "x$ac_old_val" != "x$ac_new_val"; then
2025
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2026
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2027
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2028
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2029
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2030
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2031
 
        ac_cache_corrupted=:
 
2609
        # differences in whitespace do not lead to failure.
 
2610
        ac_old_val_w=`echo x $ac_old_val`
 
2611
        ac_new_val_w=`echo x $ac_new_val`
 
2612
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2613
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2614
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2615
          ac_cache_corrupted=:
 
2616
        else
 
2617
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2618
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2619
          eval $ac_var=\$ac_old_val
 
2620
        fi
 
2621
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2622
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2623
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2624
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2032
2625
      fi;;
2033
2626
  esac
2034
2627
  # Pass precious variables to config.status.
2035
2628
  if test "$ac_new_set" = set; then
2036
2629
    case $ac_new_val in
2037
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2630
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2038
2631
    *) ac_arg=$ac_var=$ac_new_val ;;
2039
2632
    esac
2040
2633
    case " $ac_configure_args " in
2041
2634
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2042
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2635
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2043
2636
    esac
2044
2637
  fi
2045
2638
done
2046
2639
if $ac_cache_corrupted; then
2047
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2048
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2049
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2050
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2051
 
   { (exit 1); exit 1; }; }
 
2640
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2641
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2642
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2643
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2644
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2052
2645
fi
2053
 
 
2054
 
 
2055
 
 
2056
 
 
2057
 
 
2058
 
 
2059
 
 
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
 
2646
## -------------------- ##
 
2647
## Main body of script. ##
 
2648
## -------------------- ##
2077
2649
 
2078
2650
ac_ext=c
2079
2651
ac_cpp='$CPP $CPPFLAGS'
2083
2655
 
2084
2656
 
2085
2657
 
2086
 
am__api_version="1.9"
 
2658
am__api_version='1.11'
 
2659
 
2087
2660
ac_aux_dir=
2088
2661
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2089
 
  if test -f "$ac_dir/install-sh"; then
2090
 
    ac_aux_dir=$ac_dir
2091
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2092
 
    break
2093
 
  elif test -f "$ac_dir/install.sh"; then
2094
 
    ac_aux_dir=$ac_dir
2095
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2096
 
    break
2097
 
  elif test -f "$ac_dir/shtool"; then
2098
 
    ac_aux_dir=$ac_dir
2099
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2100
 
    break
2101
 
  fi
 
2662
  for ac_t in install-sh install.sh shtool; do
 
2663
    if test -f "$ac_dir/$ac_t"; then
 
2664
      ac_aux_dir=$ac_dir
 
2665
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2666
      break 2
 
2667
    fi
 
2668
  done
2102
2669
done
2103
2670
if test -z "$ac_aux_dir"; then
2104
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2105
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2106
 
   { (exit 1); exit 1; }; }
 
2671
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2107
2672
fi
2108
2673
 
2109
2674
# These three variables are undocumented and unsupported,
2128
2693
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2129
2694
# OS/2's system install, which has a completely different semantic
2130
2695
# ./install, which can be erroneously created by make from ./install.sh.
2131
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2132
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2696
# Reject install programs that cannot install multiple files.
 
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2698
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2133
2699
if test -z "$INSTALL"; then
2134
 
if test "${ac_cv_path_install+set}" = set; then
2135
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2700
if test "${ac_cv_path_install+set}" = set; then :
 
2701
  $as_echo_n "(cached) " >&6
2136
2702
else
2137
2703
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138
2704
for as_dir in $PATH
2139
2705
do
2140
2706
  IFS=$as_save_IFS
2141
2707
  test -z "$as_dir" && as_dir=.
2142
 
  # Account for people who put trailing slashes in PATH elements.
2143
 
case $as_dir/ in
2144
 
  ./ | .// | /cC/* | \
 
2708
    # Account for people who put trailing slashes in PATH elements.
 
2709
case $as_dir/ in #((
 
2710
  ./ | .// | /[cC]/* | \
2145
2711
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2146
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2712
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2147
2713
  /usr/ucb/* ) ;;
2148
2714
  *)
2149
2715
    # OSF1 and SCO ODT 3.0 have their own names for install.
2161
2727
            # program-specific install script used by HP pwplus--don't use.
2162
2728
            :
2163
2729
          else
2164
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2165
 
            break 3
 
2730
            rm -rf conftest.one conftest.two conftest.dir
 
2731
            echo one > conftest.one
 
2732
            echo two > conftest.two
 
2733
            mkdir conftest.dir
 
2734
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2735
              test -s conftest.one && test -s conftest.two &&
 
2736
              test -s conftest.dir/conftest.one &&
 
2737
              test -s conftest.dir/conftest.two
 
2738
            then
 
2739
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2740
              break 3
 
2741
            fi
2166
2742
          fi
2167
2743
        fi
2168
2744
      done
2169
2745
    done
2170
2746
    ;;
2171
2747
esac
2172
 
done
 
2748
 
 
2749
  done
2173
2750
IFS=$as_save_IFS
2174
2751
 
 
2752
rm -rf conftest.one conftest.two conftest.dir
2175
2753
 
2176
2754
fi
2177
2755
  if test "${ac_cv_path_install+set}" = set; then
2184
2762
    INSTALL=$ac_install_sh
2185
2763
  fi
2186
2764
fi
2187
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2188
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2766
$as_echo "$INSTALL" >&6; }
2189
2767
 
2190
2768
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2191
2769
# It thinks the first close brace ends the variable substitution.
2195
2773
 
2196
2774
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2197
2775
 
2198
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2199
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2777
$as_echo_n "checking whether build environment is sane... " >&6; }
2200
2778
# Just in case
2201
2779
sleep 1
2202
2780
echo timestamp > conftest.file
 
2781
# Reject unsafe characters in $srcdir or the absolute working directory
 
2782
# name.  Accept space and tab only in the latter.
 
2783
am_lf='
 
2784
'
 
2785
case `pwd` in
 
2786
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2787
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2788
esac
 
2789
case $srcdir in
 
2790
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2791
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2792
esac
 
2793
 
2203
2794
# Do `set' in a subshell so we don't clobber the current shell's
2204
2795
# arguments.  Must try -L first in case configure is actually a
2205
2796
# symlink; some systems play weird games with the mod time of symlinks
2206
2797
# (eg FreeBSD returns the mod time of the symlink's containing
2207
2798
# directory).
2208
2799
if (
2209
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2800
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2210
2801
   if test "$*" = "X"; then
2211
2802
      # -L didn't work.
2212
 
      set X `ls -t $srcdir/configure conftest.file`
 
2803
      set X `ls -t "$srcdir/configure" conftest.file`
2213
2804
   fi
2214
2805
   rm -f conftest.file
2215
2806
   if test "$*" != "X $srcdir/configure conftest.file" \
2219
2810
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2220
2811
      # broken ls alias from the environment.  This has actually
2221
2812
      # happened.  Such a system could not be considered "sane".
2222
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2223
 
alias in your environment" >&5
2224
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2225
 
alias in your environment" >&2;}
2226
 
   { (exit 1); exit 1; }; }
 
2813
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2814
alias in your environment" "$LINENO" 5
2227
2815
   fi
2228
2816
 
2229
2817
   test "$2" = conftest.file
2232
2820
   # Ok.
2233
2821
   :
2234
2822
else
2235
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2236
 
Check your system clock" >&5
2237
 
echo "$as_me: error: newly created file is older than distributed files!
2238
 
Check your system clock" >&2;}
2239
 
   { (exit 1); exit 1; }; }
 
2823
   as_fn_error "newly created file is older than distributed files!
 
2824
Check your system clock" "$LINENO" 5
2240
2825
fi
2241
 
{ echo "$as_me:$LINENO: result: yes" >&5
2242
 
echo "${ECHO_T}yes" >&6; }
 
2826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2827
$as_echo "yes" >&6; }
2243
2828
test "$program_prefix" != NONE &&
2244
2829
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2245
2830
# Use a double $ so make ignores it.
2246
2831
test "$program_suffix" != NONE &&
2247
2832
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2248
 
# Double any \ or $.  echo might interpret backslashes.
 
2833
# Double any \ or $.
2249
2834
# By default was `s,x,x', remove it if useless.
2250
 
cat <<\_ACEOF >conftest.sed
2251
 
s/[\\$]/&&/g;s/;s,x,x,$//
2252
 
_ACEOF
2253
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2254
 
rm -f conftest.sed
 
2835
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2836
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2255
2837
 
2256
2838
# expand $ac_aux_dir to an absolute path
2257
2839
am_aux_dir=`cd $ac_aux_dir && pwd`
2258
2840
 
2259
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2841
if test x"${MISSING+set}" != xset; then
 
2842
  case $am_aux_dir in
 
2843
  *\ * | *\     *)
 
2844
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2845
  *)
 
2846
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2847
  esac
 
2848
fi
2260
2849
# Use eval to expand $SHELL
2261
2850
if eval "$MISSING --run true"; then
2262
2851
  am_missing_run="$MISSING --run "
2263
2852
else
2264
2853
  am_missing_run=
2265
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2266
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2267
 
fi
2268
 
 
2269
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2270
 
  # We used to keeping the `.' as first argument, in order to
2271
 
  # allow $(mkdir_p) to be used without argument.  As in
2272
 
  #   $(mkdir_p) $(somedir)
2273
 
  # where $(somedir) is conditionally defined.  However this is wrong
2274
 
  # for two reasons:
2275
 
  #  1. if the package is installed by a user who cannot write `.'
2276
 
  #     make install will fail,
2277
 
  #  2. the above comment should most certainly read
2278
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2279
 
  #     so it does not work when $(somedir) is undefined and
2280
 
  #     $(DESTDIR) is not.
2281
 
  #  To support the latter case, we have to write
2282
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2283
 
  #  so the `.' trick is pointless.
2284
 
  mkdir_p='mkdir -p --'
2285
 
else
2286
 
  # On NextStep and OpenStep, the `mkdir' command does not
2287
 
  # recognize any option.  It will interpret all options as
2288
 
  # directories to create, and then abort because `.' already
2289
 
  # exists.
2290
 
  for d in ./-p ./--version;
2291
 
  do
2292
 
    test -d $d && rmdir $d
2293
 
  done
2294
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2295
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2296
 
    mkdir_p='$(mkinstalldirs)'
2297
 
  else
2298
 
    mkdir_p='$(install_sh) -d'
2299
 
  fi
2300
 
fi
 
2854
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2855
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2856
fi
 
2857
 
 
2858
if test x"${install_sh}" != xset; then
 
2859
  case $am_aux_dir in
 
2860
  *\ * | *\     *)
 
2861
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2862
  *)
 
2863
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2864
  esac
 
2865
fi
 
2866
 
 
2867
# Installed binaries are usually stripped using `strip' when the user
 
2868
# run `make install-strip'.  However `strip' might not be the right
 
2869
# tool to use in cross-compilation environments, therefore Automake
 
2870
# will honor the `STRIP' environment variable to overrule this program.
 
2871
if test "$cross_compiling" != no; then
 
2872
  if test -n "$ac_tool_prefix"; then
 
2873
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2874
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2876
$as_echo_n "checking for $ac_word... " >&6; }
 
2877
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2878
  $as_echo_n "(cached) " >&6
 
2879
else
 
2880
  if test -n "$STRIP"; then
 
2881
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2882
else
 
2883
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2884
for as_dir in $PATH
 
2885
do
 
2886
  IFS=$as_save_IFS
 
2887
  test -z "$as_dir" && as_dir=.
 
2888
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2889
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2890
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2891
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2892
    break 2
 
2893
  fi
 
2894
done
 
2895
  done
 
2896
IFS=$as_save_IFS
 
2897
 
 
2898
fi
 
2899
fi
 
2900
STRIP=$ac_cv_prog_STRIP
 
2901
if test -n "$STRIP"; then
 
2902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2903
$as_echo "$STRIP" >&6; }
 
2904
else
 
2905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2906
$as_echo "no" >&6; }
 
2907
fi
 
2908
 
 
2909
 
 
2910
fi
 
2911
if test -z "$ac_cv_prog_STRIP"; then
 
2912
  ac_ct_STRIP=$STRIP
 
2913
  # Extract the first word of "strip", so it can be a program name with args.
 
2914
set dummy strip; ac_word=$2
 
2915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2916
$as_echo_n "checking for $ac_word... " >&6; }
 
2917
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2918
  $as_echo_n "(cached) " >&6
 
2919
else
 
2920
  if test -n "$ac_ct_STRIP"; then
 
2921
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2922
else
 
2923
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2924
for as_dir in $PATH
 
2925
do
 
2926
  IFS=$as_save_IFS
 
2927
  test -z "$as_dir" && as_dir=.
 
2928
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2929
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2930
    ac_cv_prog_ac_ct_STRIP="strip"
 
2931
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2932
    break 2
 
2933
  fi
 
2934
done
 
2935
  done
 
2936
IFS=$as_save_IFS
 
2937
 
 
2938
fi
 
2939
fi
 
2940
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2941
if test -n "$ac_ct_STRIP"; then
 
2942
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2943
$as_echo "$ac_ct_STRIP" >&6; }
 
2944
else
 
2945
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2946
$as_echo "no" >&6; }
 
2947
fi
 
2948
 
 
2949
  if test "x$ac_ct_STRIP" = x; then
 
2950
    STRIP=":"
 
2951
  else
 
2952
    case $cross_compiling:$ac_tool_warned in
 
2953
yes:)
 
2954
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2955
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2956
ac_tool_warned=yes ;;
 
2957
esac
 
2958
    STRIP=$ac_ct_STRIP
 
2959
  fi
 
2960
else
 
2961
  STRIP="$ac_cv_prog_STRIP"
 
2962
fi
 
2963
 
 
2964
fi
 
2965
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2966
 
 
2967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2968
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2969
if test -z "$MKDIR_P"; then
 
2970
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2971
  $as_echo_n "(cached) " >&6
 
2972
else
 
2973
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2974
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2975
do
 
2976
  IFS=$as_save_IFS
 
2977
  test -z "$as_dir" && as_dir=.
 
2978
    for ac_prog in mkdir gmkdir; do
 
2979
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2980
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2981
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2982
             'mkdir (GNU coreutils) '* | \
 
2983
             'mkdir (coreutils) '* | \
 
2984
             'mkdir (fileutils) '4.1*)
 
2985
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2986
               break 3;;
 
2987
           esac
 
2988
         done
 
2989
       done
 
2990
  done
 
2991
IFS=$as_save_IFS
 
2992
 
 
2993
fi
 
2994
 
 
2995
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2996
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2997
  else
 
2998
    # As a last resort, use the slow shell script.  Don't cache a
 
2999
    # value for MKDIR_P within a source directory, because that will
 
3000
    # break other packages using the cache if that directory is
 
3001
    # removed, or if the value is a relative name.
 
3002
    test -d ./--version && rmdir ./--version
 
3003
    MKDIR_P="$ac_install_sh -d"
 
3004
  fi
 
3005
fi
 
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3007
$as_echo "$MKDIR_P" >&6; }
 
3008
 
 
3009
mkdir_p="$MKDIR_P"
 
3010
case $mkdir_p in
 
3011
  [\\/$]* | ?:[\\/]*) ;;
 
3012
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
3013
esac
2301
3014
 
2302
3015
for ac_prog in gawk mawk nawk awk
2303
3016
do
2304
3017
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2305
3018
set dummy $ac_prog; ac_word=$2
2306
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2307
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308
 
if test "${ac_cv_prog_AWK+set}" = set; then
2309
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3020
$as_echo_n "checking for $ac_word... " >&6; }
 
3021
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3022
  $as_echo_n "(cached) " >&6
2310
3023
else
2311
3024
  if test -n "$AWK"; then
2312
3025
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2316
3029
do
2317
3030
  IFS=$as_save_IFS
2318
3031
  test -z "$as_dir" && as_dir=.
2319
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3032
    for ac_exec_ext in '' $ac_executable_extensions; do
2320
3033
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321
3034
    ac_cv_prog_AWK="$ac_prog"
2322
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3035
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323
3036
    break 2
2324
3037
  fi
2325
3038
done
2326
 
done
 
3039
  done
2327
3040
IFS=$as_save_IFS
2328
3041
 
2329
3042
fi
2330
3043
fi
2331
3044
AWK=$ac_cv_prog_AWK
2332
3045
if test -n "$AWK"; then
2333
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2334
 
echo "${ECHO_T}$AWK" >&6; }
 
3046
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3047
$as_echo "$AWK" >&6; }
2335
3048
else
2336
 
  { echo "$as_me:$LINENO: result: no" >&5
2337
 
echo "${ECHO_T}no" >&6; }
 
3049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3050
$as_echo "no" >&6; }
2338
3051
fi
2339
3052
 
2340
3053
 
2341
3054
  test -n "$AWK" && break
2342
3055
done
2343
3056
 
2344
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2345
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2346
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2347
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2348
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3058
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3059
set x ${MAKE-make}
 
3060
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3061
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3062
  $as_echo_n "(cached) " >&6
2349
3063
else
2350
3064
  cat >conftest.make <<\_ACEOF
2351
3065
SHELL = /bin/sh
2362
3076
rm -f conftest.make
2363
3077
fi
2364
3078
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2365
 
  { echo "$as_me:$LINENO: result: yes" >&5
2366
 
echo "${ECHO_T}yes" >&6; }
 
3079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3080
$as_echo "yes" >&6; }
2367
3081
  SET_MAKE=
2368
3082
else
2369
 
  { echo "$as_me:$LINENO: result: no" >&5
2370
 
echo "${ECHO_T}no" >&6; }
 
3083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3084
$as_echo "no" >&6; }
2371
3085
  SET_MAKE="MAKE=${MAKE-make}"
2372
3086
fi
2373
3087
 
2380
3094
fi
2381
3095
rmdir .tst 2>/dev/null
2382
3096
 
2383
 
# test to see if srcdir already configured
2384
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2385
 
   test -f $srcdir/config.status; then
2386
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2387
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2388
 
   { (exit 1); exit 1; }; }
 
3097
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3098
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3099
  # is not polluted with repeated "-I."
 
3100
  am__isrc=' -I$(srcdir)'
 
3101
  # test to see if srcdir already configured
 
3102
  if test -f $srcdir/config.status; then
 
3103
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3104
  fi
2389
3105
fi
2390
3106
 
2391
3107
# test whether we have cygpath
2400
3116
 
2401
3117
# Define the identity of the package.
2402
3118
 PACKAGE='muse'
2403
 
 VERSION='1.0.1'
 
3119
 VERSION='1.1'
2404
3120
 
2405
3121
 
2406
3122
cat >>confdefs.h <<_ACEOF
2428
3144
 
2429
3145
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2430
3146
 
2431
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2432
 
 
2433
 
# Installed binaries are usually stripped using `strip' when the user
2434
 
# run `make install-strip'.  However `strip' might not be the right
2435
 
# tool to use in cross-compilation environments, therefore Automake
2436
 
# will honor the `STRIP' environment variable to overrule this program.
2437
 
if test "$cross_compiling" != no; then
2438
 
  if test -n "$ac_tool_prefix"; then
2439
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2440
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2441
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2442
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2443
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2444
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2445
 
else
2446
 
  if test -n "$STRIP"; then
2447
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2448
 
else
2449
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450
 
for as_dir in $PATH
2451
 
do
2452
 
  IFS=$as_save_IFS
2453
 
  test -z "$as_dir" && as_dir=.
2454
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2455
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2456
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2457
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458
 
    break 2
2459
 
  fi
2460
 
done
2461
 
done
2462
 
IFS=$as_save_IFS
2463
 
 
2464
 
fi
2465
 
fi
2466
 
STRIP=$ac_cv_prog_STRIP
2467
 
if test -n "$STRIP"; then
2468
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2469
 
echo "${ECHO_T}$STRIP" >&6; }
2470
 
else
2471
 
  { echo "$as_me:$LINENO: result: no" >&5
2472
 
echo "${ECHO_T}no" >&6; }
2473
 
fi
2474
 
 
2475
 
 
2476
 
fi
2477
 
if test -z "$ac_cv_prog_STRIP"; then
2478
 
  ac_ct_STRIP=$STRIP
2479
 
  # Extract the first word of "strip", so it can be a program name with args.
2480
 
set dummy strip; ac_word=$2
2481
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2482
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2483
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2485
 
else
2486
 
  if test -n "$ac_ct_STRIP"; then
2487
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2488
 
else
2489
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490
 
for as_dir in $PATH
2491
 
do
2492
 
  IFS=$as_save_IFS
2493
 
  test -z "$as_dir" && as_dir=.
2494
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2495
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2496
 
    ac_cv_prog_ac_ct_STRIP="strip"
2497
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2498
 
    break 2
2499
 
  fi
2500
 
done
2501
 
done
2502
 
IFS=$as_save_IFS
2503
 
 
2504
 
fi
2505
 
fi
2506
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2507
 
if test -n "$ac_ct_STRIP"; then
2508
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2509
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2510
 
else
2511
 
  { echo "$as_me:$LINENO: result: no" >&5
2512
 
echo "${ECHO_T}no" >&6; }
2513
 
fi
2514
 
 
2515
 
  if test "x$ac_ct_STRIP" = x; then
2516
 
    STRIP=":"
2517
 
  else
2518
 
    case $cross_compiling:$ac_tool_warned in
2519
 
yes:)
2520
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2521
 
whose name does not start with the host triplet.  If you think this
2522
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2523
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2524
 
whose name does not start with the host triplet.  If you think this
2525
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2526
 
ac_tool_warned=yes ;;
2527
 
esac
2528
 
    STRIP=$ac_ct_STRIP
2529
 
  fi
2530
 
else
2531
 
  STRIP="$ac_cv_prog_STRIP"
2532
 
fi
2533
 
 
2534
 
fi
2535
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2536
 
 
2537
3147
# We need awk for the "check" target.  The system "awk" is bad on
2538
3148
# some platforms.
2539
3149
# Always define AMTAR for backward compatibility.
2550
3160
 
2551
3161
### AM_MAINTAINER_MODE
2552
3162
 
2553
 
 
2554
 
 
2555
 
if test x = y; then
 
3163
         if test x = y; then
2556
3164
  INSIDE_GNOME_COMMON_TRUE=
2557
3165
  INSIDE_GNOME_COMMON_FALSE='#'
2558
3166
else
2580
3188
  do
2581
3189
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2582
3190
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2583
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2584
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2585
 
if test "${ac_cv_prog_CXX+set}" = set; then
2586
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3192
$as_echo_n "checking for $ac_word... " >&6; }
 
3193
if test "${ac_cv_prog_CXX+set}" = set; then :
 
3194
  $as_echo_n "(cached) " >&6
2587
3195
else
2588
3196
  if test -n "$CXX"; then
2589
3197
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2593
3201
do
2594
3202
  IFS=$as_save_IFS
2595
3203
  test -z "$as_dir" && as_dir=.
2596
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3204
    for ac_exec_ext in '' $ac_executable_extensions; do
2597
3205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598
3206
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2599
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600
3208
    break 2
2601
3209
  fi
2602
3210
done
2603
 
done
 
3211
  done
2604
3212
IFS=$as_save_IFS
2605
3213
 
2606
3214
fi
2607
3215
fi
2608
3216
CXX=$ac_cv_prog_CXX
2609
3217
if test -n "$CXX"; then
2610
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
2611
 
echo "${ECHO_T}$CXX" >&6; }
 
3218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
3219
$as_echo "$CXX" >&6; }
2612
3220
else
2613
 
  { echo "$as_me:$LINENO: result: no" >&5
2614
 
echo "${ECHO_T}no" >&6; }
 
3221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3222
$as_echo "no" >&6; }
2615
3223
fi
2616
3224
 
2617
3225
 
2624
3232
do
2625
3233
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2626
3234
set dummy $ac_prog; ac_word=$2
2627
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2628
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2629
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2630
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3236
$as_echo_n "checking for $ac_word... " >&6; }
 
3237
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
3238
  $as_echo_n "(cached) " >&6
2631
3239
else
2632
3240
  if test -n "$ac_ct_CXX"; then
2633
3241
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2637
3245
do
2638
3246
  IFS=$as_save_IFS
2639
3247
  test -z "$as_dir" && as_dir=.
2640
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3248
    for ac_exec_ext in '' $ac_executable_extensions; do
2641
3249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642
3250
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2643
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644
3252
    break 2
2645
3253
  fi
2646
3254
done
2647
 
done
 
3255
  done
2648
3256
IFS=$as_save_IFS
2649
3257
 
2650
3258
fi
2651
3259
fi
2652
3260
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2653
3261
if test -n "$ac_ct_CXX"; then
2654
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2655
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
3262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
3263
$as_echo "$ac_ct_CXX" >&6; }
2656
3264
else
2657
 
  { echo "$as_me:$LINENO: result: no" >&5
2658
 
echo "${ECHO_T}no" >&6; }
 
3265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3266
$as_echo "no" >&6; }
2659
3267
fi
2660
3268
 
2661
3269
 
2667
3275
  else
2668
3276
    case $cross_compiling:$ac_tool_warned in
2669
3277
yes:)
2670
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2671
 
whose name does not start with the host triplet.  If you think this
2672
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2673
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2674
 
whose name does not start with the host triplet.  If you think this
2675
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3278
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3279
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2676
3280
ac_tool_warned=yes ;;
2677
3281
esac
2678
3282
    CXX=$ac_ct_CXX
2682
3286
  fi
2683
3287
fi
2684
3288
# Provide some information about the compiler.
2685
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2686
 
ac_compiler=`set X $ac_compile; echo $2`
2687
 
{ (ac_try="$ac_compiler --version >&5"
2688
 
case "(($ac_try" in
2689
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690
 
  *) ac_try_echo=$ac_try;;
2691
 
esac
2692
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2693
 
  (eval "$ac_compiler --version >&5") 2>&5
2694
 
  ac_status=$?
2695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696
 
  (exit $ac_status); }
2697
 
{ (ac_try="$ac_compiler -v >&5"
2698
 
case "(($ac_try" in
2699
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700
 
  *) ac_try_echo=$ac_try;;
2701
 
esac
2702
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703
 
  (eval "$ac_compiler -v >&5") 2>&5
2704
 
  ac_status=$?
2705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706
 
  (exit $ac_status); }
2707
 
{ (ac_try="$ac_compiler -V >&5"
2708
 
case "(($ac_try" in
2709
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710
 
  *) ac_try_echo=$ac_try;;
2711
 
esac
2712
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713
 
  (eval "$ac_compiler -V >&5") 2>&5
2714
 
  ac_status=$?
2715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716
 
  (exit $ac_status); }
 
3289
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
3290
set X $ac_compile
 
3291
ac_compiler=$2
 
3292
for ac_option in --version -v -V -qversion; do
 
3293
  { { ac_try="$ac_compiler $ac_option >&5"
 
3294
case "(($ac_try" in
 
3295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3296
  *) ac_try_echo=$ac_try;;
 
3297
esac
 
3298
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3299
$as_echo "$ac_try_echo"; } >&5
 
3300
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3301
  ac_status=$?
 
3302
  if test -s conftest.err; then
 
3303
    sed '10a\
 
3304
... rest of stderr output deleted ...
 
3305
         10q' conftest.err >conftest.er1
 
3306
    cat conftest.er1 >&5
 
3307
    rm -f conftest.er1 conftest.err
 
3308
  fi
 
3309
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3310
  test $ac_status = 0; }
 
3311
done
2717
3312
 
2718
 
cat >conftest.$ac_ext <<_ACEOF
2719
 
/* confdefs.h.  */
2720
 
_ACEOF
2721
 
cat confdefs.h >>conftest.$ac_ext
2722
 
cat >>conftest.$ac_ext <<_ACEOF
 
3313
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723
3314
/* end confdefs.h.  */
2724
 
 
 
3315
#include <stdio.h>
2725
3316
int
2726
3317
main ()
2727
3318
{
 
3319
FILE *f = fopen ("conftest.out", "w");
 
3320
 return ferror (f) || fclose (f) != 0;
2728
3321
 
2729
3322
  ;
2730
3323
  return 0;
2731
3324
}
2732
3325
_ACEOF
2733
3326
ac_clean_files_save=$ac_clean_files
2734
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3327
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2735
3328
# Try to create an executable without -o first, disregard a.out.
2736
3329
# It will help us diagnose broken compilers, and finding out an intuition
2737
3330
# of exeext.
2738
 
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2739
 
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2740
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2741
 
#
2742
 
# List of possible output files, starting from the most likely.
2743
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2744
 
# only as a last resort.  b.out is created by i960 compilers.
2745
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2746
 
#
2747
 
# The IRIX 6 linker writes into existing files which may not be
2748
 
# executable, retaining their permissions.  Remove them first so a
2749
 
# subsequent execution test works.
 
3331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
3332
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
3333
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3334
 
 
3335
# The possible output files:
 
3336
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3337
 
2750
3338
ac_rmfiles=
2751
3339
for ac_file in $ac_files
2752
3340
do
2753
3341
  case $ac_file in
2754
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3342
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2755
3343
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2756
3344
  esac
2757
3345
done
2758
3346
rm -f $ac_rmfiles
2759
3347
 
2760
 
if { (ac_try="$ac_link_default"
 
3348
if { { ac_try="$ac_link_default"
2761
3349
case "(($ac_try" in
2762
3350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763
3351
  *) ac_try_echo=$ac_try;;
2764
3352
esac
2765
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3353
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3354
$as_echo "$ac_try_echo"; } >&5
2766
3355
  (eval "$ac_link_default") 2>&5
2767
3356
  ac_status=$?
2768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769
 
  (exit $ac_status); }; then
 
3357
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3358
  test $ac_status = 0; }; then :
2770
3359
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2771
3360
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2772
3361
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2776
3365
do
2777
3366
  test -f "$ac_file" || continue
2778
3367
  case $ac_file in
2779
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3368
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2780
3369
        ;;
2781
3370
    [ab].out )
2782
3371
        # We found the default executable, but exeext='' is most
2783
3372
        # certainly right.
2784
3373
        break;;
2785
3374
    *.* )
2786
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3375
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2787
3376
        then :; else
2788
3377
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2789
3378
        fi
2802
3391
else
2803
3392
  ac_file=''
2804
3393
fi
2805
 
 
2806
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2807
 
echo "${ECHO_T}$ac_file" >&6; }
2808
 
if test -z "$ac_file"; then
2809
 
  echo "$as_me: failed program was:" >&5
 
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3395
$as_echo "$ac_file" >&6; }
 
3396
if test -z "$ac_file"; then :
 
3397
  $as_echo "$as_me: failed program was:" >&5
2810
3398
sed 's/^/| /' conftest.$ac_ext >&5
2811
3399
 
2812
 
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2813
 
See \`config.log' for more details." >&5
2814
 
echo "$as_me: error: C++ compiler cannot create executables
2815
 
See \`config.log' for more details." >&2;}
2816
 
   { (exit 77); exit 77; }; }
 
3400
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3401
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3402
{ as_fn_set_status 77
 
3403
as_fn_error "C++ compiler cannot create executables
 
3404
See \`config.log' for more details." "$LINENO" 5; }; }
2817
3405
fi
2818
 
 
2819
3406
ac_exeext=$ac_cv_exeext
2820
3407
 
2821
3408
# Check that the compiler produces executables we can run.  If not, either
2822
3409
# the compiler is broken, or we cross compile.
2823
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2824
 
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2825
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
3411
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2826
3412
# If not cross compiling, check that we can run a simple program.
2827
3413
if test "$cross_compiling" != yes; then
2828
3414
  if { ac_try='./$ac_file'
2829
 
  { (case "(($ac_try" in
 
3415
  { { case "(($ac_try" in
2830
3416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831
3417
  *) ac_try_echo=$ac_try;;
2832
3418
esac
2833
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3419
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3420
$as_echo "$ac_try_echo"; } >&5
2834
3421
  (eval "$ac_try") 2>&5
2835
3422
  ac_status=$?
2836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837
 
  (exit $ac_status); }; }; then
 
3423
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3424
  test $ac_status = 0; }; }; then
2838
3425
    cross_compiling=no
2839
3426
  else
2840
3427
    if test "$cross_compiling" = maybe; then
2841
3428
        cross_compiling=yes
2842
3429
    else
2843
 
        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2844
 
If you meant to cross compile, use \`--host'.
2845
 
See \`config.log' for more details." >&5
2846
 
echo "$as_me: error: cannot run C++ compiled programs.
2847
 
If you meant to cross compile, use \`--host'.
2848
 
See \`config.log' for more details." >&2;}
2849
 
   { (exit 1); exit 1; }; }
 
3430
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3431
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3432
as_fn_error "cannot run C++ compiled programs.
 
3433
If you meant to cross compile, use \`--host'.
 
3434
See \`config.log' for more details." "$LINENO" 5; }
2850
3435
    fi
2851
3436
  fi
2852
3437
fi
2853
 
{ echo "$as_me:$LINENO: result: yes" >&5
2854
 
echo "${ECHO_T}yes" >&6; }
 
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3439
$as_echo "yes" >&6; }
2855
3440
 
2856
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3441
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2857
3442
ac_clean_files=$ac_clean_files_save
2858
3443
# Check that the compiler produces executables we can run.  If not, either
2859
3444
# the compiler is broken, or we cross compile.
2860
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2861
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2862
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2863
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3446
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3448
$as_echo "$cross_compiling" >&6; }
2864
3449
 
2865
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2866
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2867
 
if { (ac_try="$ac_link"
 
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3451
$as_echo_n "checking for suffix of executables... " >&6; }
 
3452
if { { ac_try="$ac_link"
2868
3453
case "(($ac_try" in
2869
3454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870
3455
  *) ac_try_echo=$ac_try;;
2871
3456
esac
2872
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3458
$as_echo "$ac_try_echo"; } >&5
2873
3459
  (eval "$ac_link") 2>&5
2874
3460
  ac_status=$?
2875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
 
  (exit $ac_status); }; then
 
3461
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3462
  test $ac_status = 0; }; then :
2877
3463
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2878
3464
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2879
3465
# work properly (i.e., refer to `conftest.exe'), while it won't with
2881
3467
for ac_file in conftest.exe conftest conftest.*; do
2882
3468
  test -f "$ac_file" || continue
2883
3469
  case $ac_file in
2884
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3470
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2885
3471
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2886
3472
          break;;
2887
3473
    * ) break;;
2888
3474
  esac
2889
3475
done
2890
3476
else
2891
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2892
 
See \`config.log' for more details." >&5
2893
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2894
 
See \`config.log' for more details." >&2;}
2895
 
   { (exit 1); exit 1; }; }
 
3477
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3478
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3479
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3480
See \`config.log' for more details." "$LINENO" 5; }
2896
3481
fi
2897
 
 
2898
3482
rm -f conftest$ac_cv_exeext
2899
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2900
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3484
$as_echo "$ac_cv_exeext" >&6; }
2901
3485
 
2902
3486
rm -f conftest.$ac_ext
2903
3487
EXEEXT=$ac_cv_exeext
2904
3488
ac_exeext=$EXEEXT
2905
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2906
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2907
 
if test "${ac_cv_objext+set}" = set; then
2908
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3490
$as_echo_n "checking for suffix of object files... " >&6; }
 
3491
if test "${ac_cv_objext+set}" = set; then :
 
3492
  $as_echo_n "(cached) " >&6
2909
3493
else
2910
 
  cat >conftest.$ac_ext <<_ACEOF
2911
 
/* confdefs.h.  */
2912
 
_ACEOF
2913
 
cat confdefs.h >>conftest.$ac_ext
2914
 
cat >>conftest.$ac_ext <<_ACEOF
 
3494
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915
3495
/* end confdefs.h.  */
2916
3496
 
2917
3497
int
2923
3503
}
2924
3504
_ACEOF
2925
3505
rm -f conftest.o conftest.obj
2926
 
if { (ac_try="$ac_compile"
 
3506
if { { ac_try="$ac_compile"
2927
3507
case "(($ac_try" in
2928
3508
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929
3509
  *) ac_try_echo=$ac_try;;
2930
3510
esac
2931
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3511
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3512
$as_echo "$ac_try_echo"; } >&5
2932
3513
  (eval "$ac_compile") 2>&5
2933
3514
  ac_status=$?
2934
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935
 
  (exit $ac_status); }; then
 
3515
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3516
  test $ac_status = 0; }; then :
2936
3517
  for ac_file in conftest.o conftest.obj conftest.*; do
2937
3518
  test -f "$ac_file" || continue;
2938
3519
  case $ac_file in
2939
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3520
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2940
3521
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2941
3522
       break;;
2942
3523
  esac
2943
3524
done
2944
3525
else
2945
 
  echo "$as_me: failed program was:" >&5
 
3526
  $as_echo "$as_me: failed program was:" >&5
2946
3527
sed 's/^/| /' conftest.$ac_ext >&5
2947
3528
 
2948
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2949
 
See \`config.log' for more details." >&5
2950
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2951
 
See \`config.log' for more details." >&2;}
2952
 
   { (exit 1); exit 1; }; }
 
3529
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3530
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3531
as_fn_error "cannot compute suffix of object files: cannot compile
 
3532
See \`config.log' for more details." "$LINENO" 5; }
2953
3533
fi
2954
 
 
2955
3534
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2956
3535
fi
2957
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2958
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3537
$as_echo "$ac_cv_objext" >&6; }
2959
3538
OBJEXT=$ac_cv_objext
2960
3539
ac_objext=$OBJEXT
2961
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2962
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2963
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2964
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
3541
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
3542
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
3543
  $as_echo_n "(cached) " >&6
2965
3544
else
2966
 
  cat >conftest.$ac_ext <<_ACEOF
2967
 
/* confdefs.h.  */
2968
 
_ACEOF
2969
 
cat confdefs.h >>conftest.$ac_ext
2970
 
cat >>conftest.$ac_ext <<_ACEOF
 
3545
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971
3546
/* end confdefs.h.  */
2972
3547
 
2973
3548
int
2981
3556
  return 0;
2982
3557
}
2983
3558
_ACEOF
2984
 
rm -f conftest.$ac_objext
2985
 
if { (ac_try="$ac_compile"
2986
 
case "(($ac_try" in
2987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988
 
  *) ac_try_echo=$ac_try;;
2989
 
esac
2990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991
 
  (eval "$ac_compile") 2>conftest.er1
2992
 
  ac_status=$?
2993
 
  grep -v '^ *+' conftest.er1 >conftest.err
2994
 
  rm -f conftest.er1
2995
 
  cat conftest.err >&5
2996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997
 
  (exit $ac_status); } && {
2998
 
         test -z "$ac_cxx_werror_flag" ||
2999
 
         test ! -s conftest.err
3000
 
       } && test -s conftest.$ac_objext; then
 
3559
if ac_fn_cxx_try_compile "$LINENO"; then :
3001
3560
  ac_compiler_gnu=yes
3002
3561
else
3003
 
  echo "$as_me: failed program was:" >&5
3004
 
sed 's/^/| /' conftest.$ac_ext >&5
3005
 
 
3006
 
        ac_compiler_gnu=no
 
3562
  ac_compiler_gnu=no
3007
3563
fi
3008
 
 
3009
3564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010
3565
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3011
3566
 
3012
3567
fi
3013
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3014
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3015
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
3569
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3570
if test $ac_compiler_gnu = yes; then
 
3571
  GXX=yes
 
3572
else
 
3573
  GXX=
 
3574
fi
3016
3575
ac_test_CXXFLAGS=${CXXFLAGS+set}
3017
3576
ac_save_CXXFLAGS=$CXXFLAGS
3018
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3019
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3020
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3021
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
3578
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
3579
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
3580
  $as_echo_n "(cached) " >&6
3022
3581
else
3023
3582
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3024
3583
   ac_cxx_werror_flag=yes
3025
3584
   ac_cv_prog_cxx_g=no
3026
3585
   CXXFLAGS="-g"
3027
 
   cat >conftest.$ac_ext <<_ACEOF
3028
 
/* confdefs.h.  */
3029
 
_ACEOF
3030
 
cat confdefs.h >>conftest.$ac_ext
3031
 
cat >>conftest.$ac_ext <<_ACEOF
 
3586
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032
3587
/* end confdefs.h.  */
3033
3588
 
3034
3589
int
3039
3594
  return 0;
3040
3595
}
3041
3596
_ACEOF
3042
 
rm -f conftest.$ac_objext
3043
 
if { (ac_try="$ac_compile"
3044
 
case "(($ac_try" in
3045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046
 
  *) ac_try_echo=$ac_try;;
3047
 
esac
3048
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3049
 
  (eval "$ac_compile") 2>conftest.er1
3050
 
  ac_status=$?
3051
 
  grep -v '^ *+' conftest.er1 >conftest.err
3052
 
  rm -f conftest.er1
3053
 
  cat conftest.err >&5
3054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055
 
  (exit $ac_status); } && {
3056
 
         test -z "$ac_cxx_werror_flag" ||
3057
 
         test ! -s conftest.err
3058
 
       } && test -s conftest.$ac_objext; then
 
3597
if ac_fn_cxx_try_compile "$LINENO"; then :
3059
3598
  ac_cv_prog_cxx_g=yes
3060
3599
else
3061
 
  echo "$as_me: failed program was:" >&5
3062
 
sed 's/^/| /' conftest.$ac_ext >&5
3063
 
 
3064
 
        CXXFLAGS=""
3065
 
      cat >conftest.$ac_ext <<_ACEOF
3066
 
/* confdefs.h.  */
3067
 
_ACEOF
3068
 
cat confdefs.h >>conftest.$ac_ext
3069
 
cat >>conftest.$ac_ext <<_ACEOF
 
3600
  CXXFLAGS=""
 
3601
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070
3602
/* end confdefs.h.  */
3071
3603
 
3072
3604
int
3077
3609
  return 0;
3078
3610
}
3079
3611
_ACEOF
3080
 
rm -f conftest.$ac_objext
3081
 
if { (ac_try="$ac_compile"
3082
 
case "(($ac_try" in
3083
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084
 
  *) ac_try_echo=$ac_try;;
3085
 
esac
3086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087
 
  (eval "$ac_compile") 2>conftest.er1
3088
 
  ac_status=$?
3089
 
  grep -v '^ *+' conftest.er1 >conftest.err
3090
 
  rm -f conftest.er1
3091
 
  cat conftest.err >&5
3092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093
 
  (exit $ac_status); } && {
3094
 
         test -z "$ac_cxx_werror_flag" ||
3095
 
         test ! -s conftest.err
3096
 
       } && test -s conftest.$ac_objext; then
3097
 
  :
 
3612
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3613
 
3098
3614
else
3099
 
  echo "$as_me: failed program was:" >&5
3100
 
sed 's/^/| /' conftest.$ac_ext >&5
3101
 
 
3102
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3615
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3103
3616
         CXXFLAGS="-g"
3104
 
         cat >conftest.$ac_ext <<_ACEOF
3105
 
/* confdefs.h.  */
3106
 
_ACEOF
3107
 
cat confdefs.h >>conftest.$ac_ext
3108
 
cat >>conftest.$ac_ext <<_ACEOF
 
3617
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109
3618
/* end confdefs.h.  */
3110
3619
 
3111
3620
int
3116
3625
  return 0;
3117
3626
}
3118
3627
_ACEOF
3119
 
rm -f conftest.$ac_objext
3120
 
if { (ac_try="$ac_compile"
3121
 
case "(($ac_try" in
3122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123
 
  *) ac_try_echo=$ac_try;;
3124
 
esac
3125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3126
 
  (eval "$ac_compile") 2>conftest.er1
3127
 
  ac_status=$?
3128
 
  grep -v '^ *+' conftest.er1 >conftest.err
3129
 
  rm -f conftest.er1
3130
 
  cat conftest.err >&5
3131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132
 
  (exit $ac_status); } && {
3133
 
         test -z "$ac_cxx_werror_flag" ||
3134
 
         test ! -s conftest.err
3135
 
       } && test -s conftest.$ac_objext; then
 
3628
if ac_fn_cxx_try_compile "$LINENO"; then :
3136
3629
  ac_cv_prog_cxx_g=yes
3137
 
else
3138
 
  echo "$as_me: failed program was:" >&5
3139
 
sed 's/^/| /' conftest.$ac_ext >&5
3140
 
 
3141
 
 
3142
 
fi
3143
 
 
3144
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145
 
fi
3146
 
 
3147
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148
 
fi
3149
 
 
 
3630
fi
 
3631
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3632
fi
 
3633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3634
fi
3150
3635
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151
3636
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3152
3637
fi
3153
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3154
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
3638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
3639
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3155
3640
if test "$ac_test_CXXFLAGS" = set; then
3156
3641
  CXXFLAGS=$ac_save_CXXFLAGS
3157
3642
elif test $ac_cv_prog_cxx_g = yes; then
3180
3665
am_make=${MAKE-make}
3181
3666
cat > confinc << 'END'
3182
3667
am__doit:
3183
 
        @echo done
 
3668
        @echo this is the am__doit target
3184
3669
.PHONY: am__doit
3185
3670
END
3186
3671
# If we don't find an include directive, just comment out the code.
3187
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3188
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3673
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3189
3674
am__include="#"
3190
3675
am__quote=
3191
3676
_am_result=none
3192
3677
# First try GNU make style include.
3193
3678
echo "include confinc" > confmf
3194
 
# We grep out `Entering directory' and `Leaving directory'
3195
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3196
 
# In particular we don't look at `^make:' because GNU make might
3197
 
# be invoked under some other name (usually "gmake"), in which
3198
 
# case it prints its new name instead of `make'.
3199
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3200
 
   am__include=include
3201
 
   am__quote=
3202
 
   _am_result=GNU
3203
 
fi
 
3679
# Ignore all kinds of additional output from `make'.
 
3680
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3681
*the\ am__doit\ target*)
 
3682
  am__include=include
 
3683
  am__quote=
 
3684
  _am_result=GNU
 
3685
  ;;
 
3686
esac
3204
3687
# Now try BSD make style include.
3205
3688
if test "$am__include" = "#"; then
3206
3689
   echo '.include "confinc"' > confmf
3207
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3208
 
      am__include=.include
3209
 
      am__quote="\""
3210
 
      _am_result=BSD
3211
 
   fi
 
3690
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3691
   *the\ am__doit\ target*)
 
3692
     am__include=.include
 
3693
     am__quote="\""
 
3694
     _am_result=BSD
 
3695
     ;;
 
3696
   esac
3212
3697
fi
3213
3698
 
3214
3699
 
3215
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3216
 
echo "${ECHO_T}$_am_result" >&6; }
 
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3701
$as_echo "$_am_result" >&6; }
3217
3702
rm -f confinc confmf
3218
3703
 
3219
3704
# Check whether --enable-dependency-tracking was given.
3220
 
if test "${enable_dependency_tracking+set}" = set; then
 
3705
if test "${enable_dependency_tracking+set}" = set; then :
3221
3706
  enableval=$enable_dependency_tracking;
3222
3707
fi
3223
3708
 
3225
3710
  am_depcomp="$ac_aux_dir/depcomp"
3226
3711
  AMDEPBACKSLASH='\'
3227
3712
fi
3228
 
 
3229
 
 
3230
 
if test "x$enable_dependency_tracking" != xno; then
 
3713
 if test "x$enable_dependency_tracking" != xno; then
3231
3714
  AMDEP_TRUE=
3232
3715
  AMDEP_FALSE='#'
3233
3716
else
3237
3720
 
3238
3721
 
3239
3722
 
3240
 
 
3241
3723
depcc="$CXX"  am_compiler_list=
3242
3724
 
3243
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3244
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3245
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3726
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3727
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
3728
  $as_echo_n "(cached) " >&6
3247
3729
else
3248
3730
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3249
3731
  # We make a subdir and do the tests there.  Otherwise we can end up
3268
3750
  if test "$am_compiler_list" = ""; then
3269
3751
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3270
3752
  fi
 
3753
  am__universal=false
 
3754
  case " $depcc " in #(
 
3755
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3756
     esac
 
3757
 
3271
3758
  for depmode in $am_compiler_list; do
3272
3759
    # Setup a source with many dependencies, because some compilers
3273
3760
    # like to wrap large dependency lists on column 80 (with \), and
3285
3772
    done
3286
3773
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3287
3774
 
 
3775
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3776
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3777
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3778
    # versions had trouble with output in subdirs
 
3779
    am__obj=sub/conftest.${OBJEXT-o}
 
3780
    am__minus_obj="-o $am__obj"
3288
3781
    case $depmode in
 
3782
    gcc)
 
3783
      # This depmode causes a compiler race in universal mode.
 
3784
      test "$am__universal" = false || continue
 
3785
      ;;
3289
3786
    nosideeffect)
3290
3787
      # after this tag, mechanisms are not by side-effect, so they'll
3291
3788
      # only be used when explicitly requested
3295
3792
        break
3296
3793
      fi
3297
3794
      ;;
 
3795
    msvisualcpp | msvcmsys)
 
3796
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3797
      # not run yet.  These depmodes are late enough in the game, and
 
3798
      # so weak that their functioning should not be impacted.
 
3799
      am__obj=conftest.${OBJEXT-o}
 
3800
      am__minus_obj=
 
3801
      ;;
3298
3802
    none) break ;;
3299
3803
    esac
3300
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3301
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3302
 
    # handle `-M -o', and we need to detect this.
3303
3804
    if depmode=$depmode \
3304
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3805
       source=sub/conftest.c object=$am__obj \
3305
3806
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3306
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3807
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3307
3808
         >/dev/null 2>conftest.err &&
 
3809
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3308
3810
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3309
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3811
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3310
3812
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3311
3813
      # icc doesn't choke on unknown options, it will just issue warnings
3312
3814
      # or remarks (even with -Werror).  So we grep stderr for any message
3330
3832
fi
3331
3833
 
3332
3834
fi
3333
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3334
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
3835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3836
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3335
3837
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3336
3838
 
3337
 
 
3338
 
 
3339
 
if
 
3839
 if
3340
3840
  test "x$enable_dependency_tracking" != xno \
3341
3841
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3342
3842
  am__fastdepCXX_TRUE=
3347
3847
fi
3348
3848
 
3349
3849
 
3350
 
# Check whether --enable-shared was given.
3351
 
if test "${enable_shared+set}" = set; then
3352
 
  enableval=$enable_shared; p=${PACKAGE-default}
3353
 
    case $enableval in
3354
 
    yes) enable_shared=yes ;;
3355
 
    no) enable_shared=no ;;
3356
 
    *)
3357
 
      enable_shared=no
3358
 
      # Look at the argument we got.  We use all the common list separators.
3359
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3360
 
      for pkg in $enableval; do
3361
 
        IFS="$lt_save_ifs"
3362
 
        if test "X$pkg" = "X$p"; then
3363
 
          enable_shared=yes
3364
 
        fi
3365
 
      done
3366
 
      IFS="$lt_save_ifs"
3367
 
      ;;
3368
 
    esac
3369
 
else
3370
 
  enable_shared=yes
3371
 
fi
3372
 
 
3373
 
 
3374
 
# Check whether --enable-static was given.
3375
 
if test "${enable_static+set}" = set; then
3376
 
  enableval=$enable_static; p=${PACKAGE-default}
3377
 
    case $enableval in
3378
 
    yes) enable_static=yes ;;
3379
 
    no) enable_static=no ;;
3380
 
    *)
3381
 
     enable_static=no
3382
 
      # Look at the argument we got.  We use all the common list separators.
3383
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3384
 
      for pkg in $enableval; do
3385
 
        IFS="$lt_save_ifs"
3386
 
        if test "X$pkg" = "X$p"; then
3387
 
          enable_static=yes
3388
 
        fi
3389
 
      done
3390
 
      IFS="$lt_save_ifs"
3391
 
      ;;
3392
 
    esac
3393
 
else
3394
 
  enable_static=yes
3395
 
fi
3396
 
 
3397
 
 
3398
 
# Check whether --enable-fast-install was given.
3399
 
if test "${enable_fast_install+set}" = set; then
3400
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
3401
 
    case $enableval in
3402
 
    yes) enable_fast_install=yes ;;
3403
 
    no) enable_fast_install=no ;;
3404
 
    *)
3405
 
      enable_fast_install=no
3406
 
      # Look at the argument we got.  We use all the common list separators.
3407
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3408
 
      for pkg in $enableval; do
3409
 
        IFS="$lt_save_ifs"
3410
 
        if test "X$pkg" = "X$p"; then
3411
 
          enable_fast_install=yes
3412
 
        fi
3413
 
      done
3414
 
      IFS="$lt_save_ifs"
3415
 
      ;;
3416
 
    esac
3417
 
else
3418
 
  enable_fast_install=yes
3419
 
fi
3420
 
 
 
3850
case `pwd` in
 
3851
  *\ * | *\     *)
 
3852
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3853
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3854
esac
 
3855
 
 
3856
 
 
3857
 
 
3858
macro_version='2.2.6'
 
3859
macro_revision='1.3012'
 
3860
 
 
3861
 
 
3862
 
 
3863
 
 
3864
 
 
3865
 
 
3866
 
 
3867
 
 
3868
 
 
3869
 
 
3870
 
 
3871
 
 
3872
 
 
3873
ltmain="$ac_aux_dir/ltmain.sh"
3421
3874
 
3422
3875
# Make sure we can run config.sub.
3423
3876
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3424
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3425
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3426
 
   { (exit 1); exit 1; }; }
 
3877
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3427
3878
 
3428
 
{ echo "$as_me:$LINENO: checking build system type" >&5
3429
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3430
 
if test "${ac_cv_build+set}" = set; then
3431
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
3880
$as_echo_n "checking build system type... " >&6; }
 
3881
if test "${ac_cv_build+set}" = set; then :
 
3882
  $as_echo_n "(cached) " >&6
3432
3883
else
3433
3884
  ac_build_alias=$build_alias
3434
3885
test "x$ac_build_alias" = x &&
3435
3886
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3436
3887
test "x$ac_build_alias" = x &&
3437
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3438
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3439
 
   { (exit 1); exit 1; }; }
 
3888
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3440
3889
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3441
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3442
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3443
 
   { (exit 1); exit 1; }; }
 
3890
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3444
3891
 
3445
3892
fi
3446
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3447
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
3894
$as_echo "$ac_cv_build" >&6; }
3448
3895
case $ac_cv_build in
3449
3896
*-*-*) ;;
3450
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3451
 
echo "$as_me: error: invalid value of canonical build" >&2;}
3452
 
   { (exit 1); exit 1; }; };;
 
3897
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3453
3898
esac
3454
3899
build=$ac_cv_build
3455
3900
ac_save_IFS=$IFS; IFS='-'
3465
3910
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3466
3911
 
3467
3912
 
3468
 
{ echo "$as_me:$LINENO: checking host system type" >&5
3469
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3470
 
if test "${ac_cv_host+set}" = set; then
3471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
3914
$as_echo_n "checking host system type... " >&6; }
 
3915
if test "${ac_cv_host+set}" = set; then :
 
3916
  $as_echo_n "(cached) " >&6
3472
3917
else
3473
3918
  if test "x$host_alias" = x; then
3474
3919
  ac_cv_host=$ac_cv_build
3475
3920
else
3476
3921
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3477
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3478
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3479
 
   { (exit 1); exit 1; }; }
 
3922
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3480
3923
fi
3481
3924
 
3482
3925
fi
3483
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3484
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
3927
$as_echo "$ac_cv_host" >&6; }
3485
3928
case $ac_cv_host in
3486
3929
*-*-*) ;;
3487
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3488
 
echo "$as_me: error: invalid value of canonical host" >&2;}
3489
 
   { (exit 1); exit 1; }; };;
 
3930
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3490
3931
esac
3491
3932
host=$ac_cv_host
3492
3933
ac_save_IFS=$IFS; IFS='-'
3510
3951
if test -n "$ac_tool_prefix"; then
3511
3952
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3512
3953
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3513
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3514
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3515
 
if test "${ac_cv_prog_CC+set}" = set; then
3516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3955
$as_echo_n "checking for $ac_word... " >&6; }
 
3956
if test "${ac_cv_prog_CC+set}" = set; then :
 
3957
  $as_echo_n "(cached) " >&6
3517
3958
else
3518
3959
  if test -n "$CC"; then
3519
3960
  ac_cv_prog_CC="$CC" # Let the user override the test.
3523
3964
do
3524
3965
  IFS=$as_save_IFS
3525
3966
  test -z "$as_dir" && as_dir=.
3526
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3967
    for ac_exec_ext in '' $ac_executable_extensions; do
3527
3968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3528
3969
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3529
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3970
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530
3971
    break 2
3531
3972
  fi
3532
3973
done
3533
 
done
 
3974
  done
3534
3975
IFS=$as_save_IFS
3535
3976
 
3536
3977
fi
3537
3978
fi
3538
3979
CC=$ac_cv_prog_CC
3539
3980
if test -n "$CC"; then
3540
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3541
 
echo "${ECHO_T}$CC" >&6; }
 
3981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3982
$as_echo "$CC" >&6; }
3542
3983
else
3543
 
  { echo "$as_me:$LINENO: result: no" >&5
3544
 
echo "${ECHO_T}no" >&6; }
 
3984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3985
$as_echo "no" >&6; }
3545
3986
fi
3546
3987
 
3547
3988
 
3550
3991
  ac_ct_CC=$CC
3551
3992
  # Extract the first word of "gcc", so it can be a program name with args.
3552
3993
set dummy gcc; ac_word=$2
3553
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3554
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3555
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3556
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3995
$as_echo_n "checking for $ac_word... " >&6; }
 
3996
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3997
  $as_echo_n "(cached) " >&6
3557
3998
else
3558
3999
  if test -n "$ac_ct_CC"; then
3559
4000
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3563
4004
do
3564
4005
  IFS=$as_save_IFS
3565
4006
  test -z "$as_dir" && as_dir=.
3566
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4007
    for ac_exec_ext in '' $ac_executable_extensions; do
3567
4008
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3568
4009
    ac_cv_prog_ac_ct_CC="gcc"
3569
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4010
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570
4011
    break 2
3571
4012
  fi
3572
4013
done
3573
 
done
 
4014
  done
3574
4015
IFS=$as_save_IFS
3575
4016
 
3576
4017
fi
3577
4018
fi
3578
4019
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3579
4020
if test -n "$ac_ct_CC"; then
3580
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3581
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4022
$as_echo "$ac_ct_CC" >&6; }
3582
4023
else
3583
 
  { echo "$as_me:$LINENO: result: no" >&5
3584
 
echo "${ECHO_T}no" >&6; }
 
4024
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4025
$as_echo "no" >&6; }
3585
4026
fi
3586
4027
 
3587
4028
  if test "x$ac_ct_CC" = x; then
3589
4030
  else
3590
4031
    case $cross_compiling:$ac_tool_warned in
3591
4032
yes:)
3592
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3593
 
whose name does not start with the host triplet.  If you think this
3594
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3595
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3596
 
whose name does not start with the host triplet.  If you think this
3597
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4033
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4034
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598
4035
ac_tool_warned=yes ;;
3599
4036
esac
3600
4037
    CC=$ac_ct_CC
3607
4044
          if test -n "$ac_tool_prefix"; then
3608
4045
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3609
4046
set dummy ${ac_tool_prefix}cc; ac_word=$2
3610
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3611
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3612
 
if test "${ac_cv_prog_CC+set}" = set; then
3613
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4048
$as_echo_n "checking for $ac_word... " >&6; }
 
4049
if test "${ac_cv_prog_CC+set}" = set; then :
 
4050
  $as_echo_n "(cached) " >&6
3614
4051
else
3615
4052
  if test -n "$CC"; then
3616
4053
  ac_cv_prog_CC="$CC" # Let the user override the test.
3620
4057
do
3621
4058
  IFS=$as_save_IFS
3622
4059
  test -z "$as_dir" && as_dir=.
3623
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4060
    for ac_exec_ext in '' $ac_executable_extensions; do
3624
4061
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625
4062
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3626
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4063
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627
4064
    break 2
3628
4065
  fi
3629
4066
done
3630
 
done
 
4067
  done
3631
4068
IFS=$as_save_IFS
3632
4069
 
3633
4070
fi
3634
4071
fi
3635
4072
CC=$ac_cv_prog_CC
3636
4073
if test -n "$CC"; then
3637
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3638
 
echo "${ECHO_T}$CC" >&6; }
 
4074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4075
$as_echo "$CC" >&6; }
3639
4076
else
3640
 
  { echo "$as_me:$LINENO: result: no" >&5
3641
 
echo "${ECHO_T}no" >&6; }
 
4077
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4078
$as_echo "no" >&6; }
3642
4079
fi
3643
4080
 
3644
4081
 
3647
4084
if test -z "$CC"; then
3648
4085
  # Extract the first word of "cc", so it can be a program name with args.
3649
4086
set dummy cc; ac_word=$2
3650
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3651
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3652
 
if test "${ac_cv_prog_CC+set}" = set; then
3653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4088
$as_echo_n "checking for $ac_word... " >&6; }
 
4089
if test "${ac_cv_prog_CC+set}" = set; then :
 
4090
  $as_echo_n "(cached) " >&6
3654
4091
else
3655
4092
  if test -n "$CC"; then
3656
4093
  ac_cv_prog_CC="$CC" # Let the user override the test.
3661
4098
do
3662
4099
  IFS=$as_save_IFS
3663
4100
  test -z "$as_dir" && as_dir=.
3664
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4101
    for ac_exec_ext in '' $ac_executable_extensions; do
3665
4102
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666
4103
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3667
4104
       ac_prog_rejected=yes
3668
4105
       continue
3669
4106
     fi
3670
4107
    ac_cv_prog_CC="cc"
3671
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4108
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672
4109
    break 2
3673
4110
  fi
3674
4111
done
3675
 
done
 
4112
  done
3676
4113
IFS=$as_save_IFS
3677
4114
 
3678
4115
if test $ac_prog_rejected = yes; then
3691
4128
fi
3692
4129
CC=$ac_cv_prog_CC
3693
4130
if test -n "$CC"; then
3694
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3695
 
echo "${ECHO_T}$CC" >&6; }
 
4131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4132
$as_echo "$CC" >&6; }
3696
4133
else
3697
 
  { echo "$as_me:$LINENO: result: no" >&5
3698
 
echo "${ECHO_T}no" >&6; }
 
4134
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4135
$as_echo "no" >&6; }
3699
4136
fi
3700
4137
 
3701
4138
 
3706
4143
  do
3707
4144
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3708
4145
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3709
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3710
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3711
 
if test "${ac_cv_prog_CC+set}" = set; then
3712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4147
$as_echo_n "checking for $ac_word... " >&6; }
 
4148
if test "${ac_cv_prog_CC+set}" = set; then :
 
4149
  $as_echo_n "(cached) " >&6
3713
4150
else
3714
4151
  if test -n "$CC"; then
3715
4152
  ac_cv_prog_CC="$CC" # Let the user override the test.
3719
4156
do
3720
4157
  IFS=$as_save_IFS
3721
4158
  test -z "$as_dir" && as_dir=.
3722
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4159
    for ac_exec_ext in '' $ac_executable_extensions; do
3723
4160
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3724
4161
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3725
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4162
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726
4163
    break 2
3727
4164
  fi
3728
4165
done
3729
 
done
 
4166
  done
3730
4167
IFS=$as_save_IFS
3731
4168
 
3732
4169
fi
3733
4170
fi
3734
4171
CC=$ac_cv_prog_CC
3735
4172
if test -n "$CC"; then
3736
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3737
 
echo "${ECHO_T}$CC" >&6; }
 
4173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4174
$as_echo "$CC" >&6; }
3738
4175
else
3739
 
  { echo "$as_me:$LINENO: result: no" >&5
3740
 
echo "${ECHO_T}no" >&6; }
 
4176
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4177
$as_echo "no" >&6; }
3741
4178
fi
3742
4179
 
3743
4180
 
3750
4187
do
3751
4188
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3752
4189
set dummy $ac_prog; ac_word=$2
3753
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3754
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3755
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3756
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4191
$as_echo_n "checking for $ac_word... " >&6; }
 
4192
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4193
  $as_echo_n "(cached) " >&6
3757
4194
else
3758
4195
  if test -n "$ac_ct_CC"; then
3759
4196
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3763
4200
do
3764
4201
  IFS=$as_save_IFS
3765
4202
  test -z "$as_dir" && as_dir=.
3766
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4203
    for ac_exec_ext in '' $ac_executable_extensions; do
3767
4204
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3768
4205
    ac_cv_prog_ac_ct_CC="$ac_prog"
3769
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4206
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770
4207
    break 2
3771
4208
  fi
3772
4209
done
3773
 
done
 
4210
  done
3774
4211
IFS=$as_save_IFS
3775
4212
 
3776
4213
fi
3777
4214
fi
3778
4215
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3779
4216
if test -n "$ac_ct_CC"; then
3780
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3781
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4218
$as_echo "$ac_ct_CC" >&6; }
3782
4219
else
3783
 
  { echo "$as_me:$LINENO: result: no" >&5
3784
 
echo "${ECHO_T}no" >&6; }
 
4220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4221
$as_echo "no" >&6; }
3785
4222
fi
3786
4223
 
3787
4224
 
3793
4230
  else
3794
4231
    case $cross_compiling:$ac_tool_warned in
3795
4232
yes:)
3796
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3797
 
whose name does not start with the host triplet.  If you think this
3798
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3799
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3800
 
whose name does not start with the host triplet.  If you think this
3801
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4233
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4234
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3802
4235
ac_tool_warned=yes ;;
3803
4236
esac
3804
4237
    CC=$ac_ct_CC
3808
4241
fi
3809
4242
 
3810
4243
 
3811
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3812
 
See \`config.log' for more details." >&5
3813
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3814
 
See \`config.log' for more details." >&2;}
3815
 
   { (exit 1); exit 1; }; }
 
4244
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4245
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4246
as_fn_error "no acceptable C compiler found in \$PATH
 
4247
See \`config.log' for more details." "$LINENO" 5; }
3816
4248
 
3817
4249
# Provide some information about the compiler.
3818
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3819
 
ac_compiler=`set X $ac_compile; echo $2`
3820
 
{ (ac_try="$ac_compiler --version >&5"
3821
 
case "(($ac_try" in
3822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823
 
  *) ac_try_echo=$ac_try;;
3824
 
esac
3825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826
 
  (eval "$ac_compiler --version >&5") 2>&5
3827
 
  ac_status=$?
3828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829
 
  (exit $ac_status); }
3830
 
{ (ac_try="$ac_compiler -v >&5"
3831
 
case "(($ac_try" in
3832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833
 
  *) ac_try_echo=$ac_try;;
3834
 
esac
3835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3836
 
  (eval "$ac_compiler -v >&5") 2>&5
3837
 
  ac_status=$?
3838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839
 
  (exit $ac_status); }
3840
 
{ (ac_try="$ac_compiler -V >&5"
3841
 
case "(($ac_try" in
3842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843
 
  *) ac_try_echo=$ac_try;;
3844
 
esac
3845
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846
 
  (eval "$ac_compiler -V >&5") 2>&5
3847
 
  ac_status=$?
3848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849
 
  (exit $ac_status); }
 
4250
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4251
set X $ac_compile
 
4252
ac_compiler=$2
 
4253
for ac_option in --version -v -V -qversion; do
 
4254
  { { ac_try="$ac_compiler $ac_option >&5"
 
4255
case "(($ac_try" in
 
4256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4257
  *) ac_try_echo=$ac_try;;
 
4258
esac
 
4259
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4260
$as_echo "$ac_try_echo"; } >&5
 
4261
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4262
  ac_status=$?
 
4263
  if test -s conftest.err; then
 
4264
    sed '10a\
 
4265
... rest of stderr output deleted ...
 
4266
         10q' conftest.err >conftest.er1
 
4267
    cat conftest.er1 >&5
 
4268
    rm -f conftest.er1 conftest.err
 
4269
  fi
 
4270
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4271
  test $ac_status = 0; }
 
4272
done
3850
4273
 
3851
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3852
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3853
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3854
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4275
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4276
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4277
  $as_echo_n "(cached) " >&6
3855
4278
else
3856
 
  cat >conftest.$ac_ext <<_ACEOF
3857
 
/* confdefs.h.  */
3858
 
_ACEOF
3859
 
cat confdefs.h >>conftest.$ac_ext
3860
 
cat >>conftest.$ac_ext <<_ACEOF
 
4279
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861
4280
/* end confdefs.h.  */
3862
4281
 
3863
4282
int
3871
4290
  return 0;
3872
4291
}
3873
4292
_ACEOF
3874
 
rm -f conftest.$ac_objext
3875
 
if { (ac_try="$ac_compile"
3876
 
case "(($ac_try" in
3877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878
 
  *) ac_try_echo=$ac_try;;
3879
 
esac
3880
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3881
 
  (eval "$ac_compile") 2>conftest.er1
3882
 
  ac_status=$?
3883
 
  grep -v '^ *+' conftest.er1 >conftest.err
3884
 
  rm -f conftest.er1
3885
 
  cat conftest.err >&5
3886
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887
 
  (exit $ac_status); } && {
3888
 
         test -z "$ac_c_werror_flag" ||
3889
 
         test ! -s conftest.err
3890
 
       } && test -s conftest.$ac_objext; then
 
4293
if ac_fn_c_try_compile "$LINENO"; then :
3891
4294
  ac_compiler_gnu=yes
3892
4295
else
3893
 
  echo "$as_me: failed program was:" >&5
3894
 
sed 's/^/| /' conftest.$ac_ext >&5
3895
 
 
3896
 
        ac_compiler_gnu=no
 
4296
  ac_compiler_gnu=no
3897
4297
fi
3898
 
 
3899
4298
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900
4299
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3901
4300
 
3902
4301
fi
3903
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3904
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3905
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4303
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4304
if test $ac_compiler_gnu = yes; then
 
4305
  GCC=yes
 
4306
else
 
4307
  GCC=
 
4308
fi
3906
4309
ac_test_CFLAGS=${CFLAGS+set}
3907
4310
ac_save_CFLAGS=$CFLAGS
3908
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3909
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3910
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3911
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4312
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4313
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4314
  $as_echo_n "(cached) " >&6
3912
4315
else
3913
4316
  ac_save_c_werror_flag=$ac_c_werror_flag
3914
4317
   ac_c_werror_flag=yes
3915
4318
   ac_cv_prog_cc_g=no
3916
4319
   CFLAGS="-g"
3917
 
   cat >conftest.$ac_ext <<_ACEOF
3918
 
/* confdefs.h.  */
3919
 
_ACEOF
3920
 
cat confdefs.h >>conftest.$ac_ext
3921
 
cat >>conftest.$ac_ext <<_ACEOF
 
4320
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922
4321
/* end confdefs.h.  */
3923
4322
 
3924
4323
int
3929
4328
  return 0;
3930
4329
}
3931
4330
_ACEOF
3932
 
rm -f conftest.$ac_objext
3933
 
if { (ac_try="$ac_compile"
3934
 
case "(($ac_try" in
3935
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936
 
  *) ac_try_echo=$ac_try;;
3937
 
esac
3938
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3939
 
  (eval "$ac_compile") 2>conftest.er1
3940
 
  ac_status=$?
3941
 
  grep -v '^ *+' conftest.er1 >conftest.err
3942
 
  rm -f conftest.er1
3943
 
  cat conftest.err >&5
3944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945
 
  (exit $ac_status); } && {
3946
 
         test -z "$ac_c_werror_flag" ||
3947
 
         test ! -s conftest.err
3948
 
       } && test -s conftest.$ac_objext; then
 
4331
if ac_fn_c_try_compile "$LINENO"; then :
3949
4332
  ac_cv_prog_cc_g=yes
3950
4333
else
3951
 
  echo "$as_me: failed program was:" >&5
3952
 
sed 's/^/| /' conftest.$ac_ext >&5
3953
 
 
3954
 
        CFLAGS=""
3955
 
      cat >conftest.$ac_ext <<_ACEOF
3956
 
/* confdefs.h.  */
3957
 
_ACEOF
3958
 
cat confdefs.h >>conftest.$ac_ext
3959
 
cat >>conftest.$ac_ext <<_ACEOF
 
4334
  CFLAGS=""
 
4335
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960
4336
/* end confdefs.h.  */
3961
4337
 
3962
4338
int
3967
4343
  return 0;
3968
4344
}
3969
4345
_ACEOF
3970
 
rm -f conftest.$ac_objext
3971
 
if { (ac_try="$ac_compile"
3972
 
case "(($ac_try" in
3973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974
 
  *) ac_try_echo=$ac_try;;
3975
 
esac
3976
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3977
 
  (eval "$ac_compile") 2>conftest.er1
3978
 
  ac_status=$?
3979
 
  grep -v '^ *+' conftest.er1 >conftest.err
3980
 
  rm -f conftest.er1
3981
 
  cat conftest.err >&5
3982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983
 
  (exit $ac_status); } && {
3984
 
         test -z "$ac_c_werror_flag" ||
3985
 
         test ! -s conftest.err
3986
 
       } && test -s conftest.$ac_objext; then
3987
 
  :
 
4346
if ac_fn_c_try_compile "$LINENO"; then :
 
4347
 
3988
4348
else
3989
 
  echo "$as_me: failed program was:" >&5
3990
 
sed 's/^/| /' conftest.$ac_ext >&5
3991
 
 
3992
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4349
  ac_c_werror_flag=$ac_save_c_werror_flag
3993
4350
         CFLAGS="-g"
3994
 
         cat >conftest.$ac_ext <<_ACEOF
3995
 
/* confdefs.h.  */
3996
 
_ACEOF
3997
 
cat confdefs.h >>conftest.$ac_ext
3998
 
cat >>conftest.$ac_ext <<_ACEOF
 
4351
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999
4352
/* end confdefs.h.  */
4000
4353
 
4001
4354
int
4006
4359
  return 0;
4007
4360
}
4008
4361
_ACEOF
4009
 
rm -f conftest.$ac_objext
4010
 
if { (ac_try="$ac_compile"
4011
 
case "(($ac_try" in
4012
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013
 
  *) ac_try_echo=$ac_try;;
4014
 
esac
4015
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4016
 
  (eval "$ac_compile") 2>conftest.er1
4017
 
  ac_status=$?
4018
 
  grep -v '^ *+' conftest.er1 >conftest.err
4019
 
  rm -f conftest.er1
4020
 
  cat conftest.err >&5
4021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022
 
  (exit $ac_status); } && {
4023
 
         test -z "$ac_c_werror_flag" ||
4024
 
         test ! -s conftest.err
4025
 
       } && test -s conftest.$ac_objext; then
 
4362
if ac_fn_c_try_compile "$LINENO"; then :
4026
4363
  ac_cv_prog_cc_g=yes
4027
 
else
4028
 
  echo "$as_me: failed program was:" >&5
4029
 
sed 's/^/| /' conftest.$ac_ext >&5
4030
 
 
4031
 
 
4032
 
fi
4033
 
 
4034
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035
 
fi
4036
 
 
4037
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4038
 
fi
4039
 
 
 
4364
fi
 
4365
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4366
fi
 
4367
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4368
fi
4040
4369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041
4370
   ac_c_werror_flag=$ac_save_c_werror_flag
4042
4371
fi
4043
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4044
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
4372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4373
$as_echo "$ac_cv_prog_cc_g" >&6; }
4045
4374
if test "$ac_test_CFLAGS" = set; then
4046
4375
  CFLAGS=$ac_save_CFLAGS
4047
4376
elif test $ac_cv_prog_cc_g = yes; then
4057
4386
    CFLAGS=
4058
4387
  fi
4059
4388
fi
4060
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4061
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4062
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
4063
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4390
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4391
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4392
  $as_echo_n "(cached) " >&6
4064
4393
else
4065
4394
  ac_cv_prog_cc_c89=no
4066
4395
ac_save_CC=$CC
4067
 
cat >conftest.$ac_ext <<_ACEOF
4068
 
/* confdefs.h.  */
4069
 
_ACEOF
4070
 
cat confdefs.h >>conftest.$ac_ext
4071
 
cat >>conftest.$ac_ext <<_ACEOF
 
4396
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072
4397
/* end confdefs.h.  */
4073
4398
#include <stdarg.h>
4074
4399
#include <stdio.h>
4125
4450
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4126
4451
do
4127
4452
  CC="$ac_save_CC $ac_arg"
4128
 
  rm -f conftest.$ac_objext
4129
 
if { (ac_try="$ac_compile"
4130
 
case "(($ac_try" in
4131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132
 
  *) ac_try_echo=$ac_try;;
4133
 
esac
4134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4135
 
  (eval "$ac_compile") 2>conftest.er1
4136
 
  ac_status=$?
4137
 
  grep -v '^ *+' conftest.er1 >conftest.err
4138
 
  rm -f conftest.er1
4139
 
  cat conftest.err >&5
4140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141
 
  (exit $ac_status); } && {
4142
 
         test -z "$ac_c_werror_flag" ||
4143
 
         test ! -s conftest.err
4144
 
       } && test -s conftest.$ac_objext; then
 
4453
  if ac_fn_c_try_compile "$LINENO"; then :
4145
4454
  ac_cv_prog_cc_c89=$ac_arg
4146
 
else
4147
 
  echo "$as_me: failed program was:" >&5
4148
 
sed 's/^/| /' conftest.$ac_ext >&5
4149
 
 
4150
 
 
4151
4455
fi
4152
 
 
4153
4456
rm -f core conftest.err conftest.$ac_objext
4154
4457
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4155
4458
done
4160
4463
# AC_CACHE_VAL
4161
4464
case "x$ac_cv_prog_cc_c89" in
4162
4465
  x)
4163
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4164
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4466
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4467
$as_echo "none needed" >&6; } ;;
4165
4468
  xno)
4166
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4167
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4469
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4470
$as_echo "unsupported" >&6; } ;;
4168
4471
  *)
4169
4472
    CC="$CC $ac_cv_prog_cc_c89"
4170
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4171
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4473
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4474
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4172
4475
esac
 
4476
if test "x$ac_cv_prog_cc_c89" != xno; then :
4173
4477
 
 
4478
fi
4174
4479
 
4175
4480
ac_ext=c
4176
4481
ac_cpp='$CPP $CPPFLAGS'
4180
4485
 
4181
4486
depcc="$CC"   am_compiler_list=
4182
4487
 
4183
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4184
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4185
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4489
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4490
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4491
  $as_echo_n "(cached) " >&6
4187
4492
else
4188
4493
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4189
4494
  # We make a subdir and do the tests there.  Otherwise we can end up
4208
4513
  if test "$am_compiler_list" = ""; then
4209
4514
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4210
4515
  fi
 
4516
  am__universal=false
 
4517
  case " $depcc " in #(
 
4518
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4519
     esac
 
4520
 
4211
4521
  for depmode in $am_compiler_list; do
4212
4522
    # Setup a source with many dependencies, because some compilers
4213
4523
    # like to wrap large dependency lists on column 80 (with \), and
4225
4535
    done
4226
4536
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4227
4537
 
 
4538
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4539
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4540
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4541
    # versions had trouble with output in subdirs
 
4542
    am__obj=sub/conftest.${OBJEXT-o}
 
4543
    am__minus_obj="-o $am__obj"
4228
4544
    case $depmode in
 
4545
    gcc)
 
4546
      # This depmode causes a compiler race in universal mode.
 
4547
      test "$am__universal" = false || continue
 
4548
      ;;
4229
4549
    nosideeffect)
4230
4550
      # after this tag, mechanisms are not by side-effect, so they'll
4231
4551
      # only be used when explicitly requested
4235
4555
        break
4236
4556
      fi
4237
4557
      ;;
 
4558
    msvisualcpp | msvcmsys)
 
4559
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4560
      # not run yet.  These depmodes are late enough in the game, and
 
4561
      # so weak that their functioning should not be impacted.
 
4562
      am__obj=conftest.${OBJEXT-o}
 
4563
      am__minus_obj=
 
4564
      ;;
4238
4565
    none) break ;;
4239
4566
    esac
4240
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4241
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4242
 
    # handle `-M -o', and we need to detect this.
4243
4567
    if depmode=$depmode \
4244
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4568
       source=sub/conftest.c object=$am__obj \
4245
4569
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4246
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4570
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4247
4571
         >/dev/null 2>conftest.err &&
 
4572
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4248
4573
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4249
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4574
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4250
4575
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4251
4576
      # icc doesn't choke on unknown options, it will just issue warnings
4252
4577
      # or remarks (even with -Werror).  So we grep stderr for any message
4270
4595
fi
4271
4596
 
4272
4597
fi
4273
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4274
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4599
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4275
4600
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4276
4601
 
4277
 
 
4278
 
 
4279
 
if
 
4602
 if
4280
4603
  test "x$enable_dependency_tracking" != xno \
4281
4604
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4282
4605
  am__fastdepCC_TRUE=
4287
4610
fi
4288
4611
 
4289
4612
 
4290
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4291
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4292
 
if test "${lt_cv_path_SED+set}" = set; then
4293
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4614
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4615
if test "${ac_cv_path_SED+set}" = set; then :
 
4616
  $as_echo_n "(cached) " >&6
4294
4617
else
4295
 
  # Loop through the user's path and test for sed and gsed.
4296
 
# Then use that list of sed's as ones to test for truncation.
4297
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4618
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4619
     for ac_i in 1 2 3 4 5 6 7; do
 
4620
       ac_script="$ac_script$as_nl$ac_script"
 
4621
     done
 
4622
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4623
     { ac_script=; unset ac_script;}
 
4624
     if test -z "$SED"; then
 
4625
  ac_path_SED_found=false
 
4626
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4627
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298
4628
for as_dir in $PATH
4299
4629
do
4300
4630
  IFS=$as_save_IFS
4301
4631
  test -z "$as_dir" && as_dir=.
4302
 
  for lt_ac_prog in sed gsed; do
 
4632
    for ac_prog in sed gsed; do
4303
4633
    for ac_exec_ext in '' $ac_executable_extensions; do
4304
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4305
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4306
 
      fi
 
4634
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4635
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4636
# Check for GNU ac_path_SED and select it if it is found.
 
4637
  # Check for GNU $ac_path_SED
 
4638
case `"$ac_path_SED" --version 2>&1` in
 
4639
*GNU*)
 
4640
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4641
*)
 
4642
  ac_count=0
 
4643
  $as_echo_n 0123456789 >"conftest.in"
 
4644
  while :
 
4645
  do
 
4646
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4647
    mv "conftest.tmp" "conftest.in"
 
4648
    cp "conftest.in" "conftest.nl"
 
4649
    $as_echo '' >> "conftest.nl"
 
4650
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4651
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4652
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4653
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4654
      # Best one so far, save it but keep looking for a better one
 
4655
      ac_cv_path_SED="$ac_path_SED"
 
4656
      ac_path_SED_max=$ac_count
 
4657
    fi
 
4658
    # 10*(2^10) chars as input seems more than enough
 
4659
    test $ac_count -gt 10 && break
 
4660
  done
 
4661
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4662
esac
 
4663
 
 
4664
      $ac_path_SED_found && break 3
4307
4665
    done
4308
4666
  done
4309
 
done
4310
 
lt_ac_max=0
4311
 
lt_ac_count=0
4312
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4313
 
# along with /bin/sed that truncates output.
4314
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4315
 
  test ! -f $lt_ac_sed && continue
4316
 
  cat /dev/null > conftest.in
4317
 
  lt_ac_count=0
4318
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4319
 
  # Check for GNU sed and select it if it is found.
4320
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4321
 
    lt_cv_path_SED=$lt_ac_sed
4322
 
    break
 
4667
  done
 
4668
IFS=$as_save_IFS
 
4669
  if test -z "$ac_cv_path_SED"; then
 
4670
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4323
4671
  fi
4324
 
  while true; do
4325
 
    cat conftest.in conftest.in >conftest.tmp
4326
 
    mv conftest.tmp conftest.in
4327
 
    cp conftest.in conftest.nl
4328
 
    echo >>conftest.nl
4329
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4330
 
    cmp -s conftest.out conftest.nl || break
4331
 
    # 10000 chars as input seems more than enough
4332
 
    test $lt_ac_count -gt 10 && break
4333
 
    lt_ac_count=`expr $lt_ac_count + 1`
4334
 
    if test $lt_ac_count -gt $lt_ac_max; then
4335
 
      lt_ac_max=$lt_ac_count
4336
 
      lt_cv_path_SED=$lt_ac_sed
4337
 
    fi
4338
 
  done
4339
 
done
4340
 
 
4341
 
fi
4342
 
 
4343
 
SED=$lt_cv_path_SED
4344
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4345
 
echo "${ECHO_T}$SED" >&6; }
4346
 
 
4347
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4348
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4349
 
if test "${ac_cv_path_GREP+set}" = set; then
4350
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4351
 
else
4352
 
  # Extract the first word of "grep ggrep" to use in msg output
4353
 
if test -z "$GREP"; then
4354
 
set dummy grep ggrep; ac_prog_name=$2
4355
 
if test "${ac_cv_path_GREP+set}" = set; then
4356
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4357
 
else
 
4672
else
 
4673
  ac_cv_path_SED=$SED
 
4674
fi
 
4675
 
 
4676
fi
 
4677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4678
$as_echo "$ac_cv_path_SED" >&6; }
 
4679
 SED="$ac_cv_path_SED"
 
4680
  rm -f conftest.sed
 
4681
 
 
4682
test -z "$SED" && SED=sed
 
4683
Xsed="$SED -e 1s/^X//"
 
4684
 
 
4685
 
 
4686
 
 
4687
 
 
4688
 
 
4689
 
 
4690
 
 
4691
 
 
4692
 
 
4693
 
 
4694
 
 
4695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4696
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4697
if test "${ac_cv_path_GREP+set}" = set; then :
 
4698
  $as_echo_n "(cached) " >&6
 
4699
else
 
4700
  if test -z "$GREP"; then
4358
4701
  ac_path_GREP_found=false
4359
 
# Loop through the user's path and test for each of PROGNAME-LIST
4360
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4702
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4703
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361
4704
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4362
4705
do
4363
4706
  IFS=$as_save_IFS
4364
4707
  test -z "$as_dir" && as_dir=.
4365
 
  for ac_prog in grep ggrep; do
4366
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4367
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4368
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4369
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4708
    for ac_prog in grep ggrep; do
 
4709
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4710
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4711
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4712
# Check for GNU ac_path_GREP and select it if it is found.
4370
4713
  # Check for GNU $ac_path_GREP
4371
4714
case `"$ac_path_GREP" --version 2>&1` in
4372
4715
*GNU*)
4373
4716
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4374
4717
*)
4375
4718
  ac_count=0
4376
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4719
  $as_echo_n 0123456789 >"conftest.in"
4377
4720
  while :
4378
4721
  do
4379
4722
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4380
4723
    mv "conftest.tmp" "conftest.in"
4381
4724
    cp "conftest.in" "conftest.nl"
4382
 
    echo 'GREP' >> "conftest.nl"
 
4725
    $as_echo 'GREP' >> "conftest.nl"
4383
4726
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4384
4727
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4385
 
    ac_count=`expr $ac_count + 1`
 
4728
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4386
4729
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4387
4730
      # Best one so far, save it but keep looking for a better one
4388
4731
      ac_cv_path_GREP="$ac_path_GREP"
4394
4737
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4395
4738
esac
4396
4739
 
4397
 
 
4398
 
    $ac_path_GREP_found && break 3
4399
 
  done
4400
 
done
4401
 
 
4402
 
done
 
4740
      $ac_path_GREP_found && break 3
 
4741
    done
 
4742
  done
 
4743
  done
4403
4744
IFS=$as_save_IFS
4404
 
 
4405
 
 
4406
 
fi
4407
 
 
4408
 
GREP="$ac_cv_path_GREP"
4409
 
if test -z "$GREP"; then
4410
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4411
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4412
 
   { (exit 1); exit 1; }; }
4413
 
fi
4414
 
 
 
4745
  if test -z "$ac_cv_path_GREP"; then
 
4746
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4747
  fi
4415
4748
else
4416
4749
  ac_cv_path_GREP=$GREP
4417
4750
fi
4418
4751
 
4419
 
 
4420
4752
fi
4421
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4422
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4754
$as_echo "$ac_cv_path_GREP" >&6; }
4423
4755
 GREP="$ac_cv_path_GREP"
4424
4756
 
4425
4757
 
4426
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4427
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4428
 
if test "${ac_cv_path_EGREP+set}" = set; then
4429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4759
$as_echo_n "checking for egrep... " >&6; }
 
4760
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4761
  $as_echo_n "(cached) " >&6
4430
4762
else
4431
4763
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4432
4764
   then ac_cv_path_EGREP="$GREP -E"
4433
4765
   else
4434
 
     # Extract the first word of "egrep" to use in msg output
4435
 
if test -z "$EGREP"; then
4436
 
set dummy egrep; ac_prog_name=$2
4437
 
if test "${ac_cv_path_EGREP+set}" = set; then
4438
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4439
 
else
 
4766
     if test -z "$EGREP"; then
4440
4767
  ac_path_EGREP_found=false
4441
 
# Loop through the user's path and test for each of PROGNAME-LIST
4442
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4768
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4769
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443
4770
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4444
4771
do
4445
4772
  IFS=$as_save_IFS
4446
4773
  test -z "$as_dir" && as_dir=.
4447
 
  for ac_prog in egrep; do
4448
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4449
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4450
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4451
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4774
    for ac_prog in egrep; do
 
4775
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4776
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4777
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4778
# Check for GNU ac_path_EGREP and select it if it is found.
4452
4779
  # Check for GNU $ac_path_EGREP
4453
4780
case `"$ac_path_EGREP" --version 2>&1` in
4454
4781
*GNU*)
4455
4782
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4456
4783
*)
4457
4784
  ac_count=0
4458
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4785
  $as_echo_n 0123456789 >"conftest.in"
4459
4786
  while :
4460
4787
  do
4461
4788
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4462
4789
    mv "conftest.tmp" "conftest.in"
4463
4790
    cp "conftest.in" "conftest.nl"
4464
 
    echo 'EGREP' >> "conftest.nl"
 
4791
    $as_echo 'EGREP' >> "conftest.nl"
4465
4792
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466
4793
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467
 
    ac_count=`expr $ac_count + 1`
 
4794
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4468
4795
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4469
4796
      # Best one so far, save it but keep looking for a better one
4470
4797
      ac_cv_path_EGREP="$ac_path_EGREP"
4476
4803
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4477
4804
esac
4478
4805
 
4479
 
 
4480
 
    $ac_path_EGREP_found && break 3
4481
 
  done
4482
 
done
4483
 
 
4484
 
done
 
4806
      $ac_path_EGREP_found && break 3
 
4807
    done
 
4808
  done
 
4809
  done
4485
4810
IFS=$as_save_IFS
4486
 
 
4487
 
 
4488
 
fi
4489
 
 
4490
 
EGREP="$ac_cv_path_EGREP"
4491
 
if test -z "$EGREP"; then
4492
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4493
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4494
 
   { (exit 1); exit 1; }; }
4495
 
fi
4496
 
 
 
4811
  if test -z "$ac_cv_path_EGREP"; then
 
4812
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4813
  fi
4497
4814
else
4498
4815
  ac_cv_path_EGREP=$EGREP
4499
4816
fi
4500
4817
 
4501
 
 
4502
4818
   fi
4503
4819
fi
4504
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4505
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4821
$as_echo "$ac_cv_path_EGREP" >&6; }
4506
4822
 EGREP="$ac_cv_path_EGREP"
4507
4823
 
4508
4824
 
 
4825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4826
$as_echo_n "checking for fgrep... " >&6; }
 
4827
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4828
  $as_echo_n "(cached) " >&6
 
4829
else
 
4830
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4831
   then ac_cv_path_FGREP="$GREP -F"
 
4832
   else
 
4833
     if test -z "$FGREP"; then
 
4834
  ac_path_FGREP_found=false
 
4835
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4836
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4837
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4838
do
 
4839
  IFS=$as_save_IFS
 
4840
  test -z "$as_dir" && as_dir=.
 
4841
    for ac_prog in fgrep; do
 
4842
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4843
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4844
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4845
# Check for GNU ac_path_FGREP and select it if it is found.
 
4846
  # Check for GNU $ac_path_FGREP
 
4847
case `"$ac_path_FGREP" --version 2>&1` in
 
4848
*GNU*)
 
4849
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4850
*)
 
4851
  ac_count=0
 
4852
  $as_echo_n 0123456789 >"conftest.in"
 
4853
  while :
 
4854
  do
 
4855
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4856
    mv "conftest.tmp" "conftest.in"
 
4857
    cp "conftest.in" "conftest.nl"
 
4858
    $as_echo 'FGREP' >> "conftest.nl"
 
4859
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4860
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4861
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4862
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4863
      # Best one so far, save it but keep looking for a better one
 
4864
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4865
      ac_path_FGREP_max=$ac_count
 
4866
    fi
 
4867
    # 10*(2^10) chars as input seems more than enough
 
4868
    test $ac_count -gt 10 && break
 
4869
  done
 
4870
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4871
esac
 
4872
 
 
4873
      $ac_path_FGREP_found && break 3
 
4874
    done
 
4875
  done
 
4876
  done
 
4877
IFS=$as_save_IFS
 
4878
  if test -z "$ac_cv_path_FGREP"; then
 
4879
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4880
  fi
 
4881
else
 
4882
  ac_cv_path_FGREP=$FGREP
 
4883
fi
 
4884
 
 
4885
   fi
 
4886
fi
 
4887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4888
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4889
 FGREP="$ac_cv_path_FGREP"
 
4890
 
 
4891
 
 
4892
test -z "$GREP" && GREP=grep
 
4893
 
 
4894
 
 
4895
 
 
4896
 
 
4897
 
 
4898
 
 
4899
 
 
4900
 
 
4901
 
 
4902
 
 
4903
 
 
4904
 
 
4905
 
 
4906
 
 
4907
 
 
4908
 
 
4909
 
 
4910
 
4509
4911
 
4510
4912
# Check whether --with-gnu-ld was given.
4511
 
if test "${with_gnu_ld+set}" = set; then
 
4913
if test "${with_gnu_ld+set}" = set; then :
4512
4914
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4513
4915
else
4514
4916
  with_gnu_ld=no
4517
4919
ac_prog=ld
4518
4920
if test "$GCC" = yes; then
4519
4921
  # Check if gcc -print-prog-name=ld gives a path.
4520
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4521
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4922
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4923
$as_echo_n "checking for ld used by $CC... " >&6; }
4522
4924
  case $host in
4523
4925
  *-*-mingw*)
4524
4926
    # gcc leaves a trailing carriage return which upsets mingw
4531
4933
    [\\/]* | ?:[\\/]*)
4532
4934
      re_direlt='/[^/][^/]*/\.\./'
4533
4935
      # Canonicalize the pathname of ld
4534
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4535
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4536
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4936
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4937
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4938
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4537
4939
      done
4538
4940
      test -z "$LD" && LD="$ac_prog"
4539
4941
      ;;
4547
4949
    ;;
4548
4950
  esac
4549
4951
elif test "$with_gnu_ld" = yes; then
4550
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4551
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4952
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4953
$as_echo_n "checking for GNU ld... " >&6; }
4552
4954
else
4553
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4554
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4955
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4956
$as_echo_n "checking for non-GNU ld... " >&6; }
4555
4957
fi
4556
 
if test "${lt_cv_path_LD+set}" = set; then
4557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4958
if test "${lt_cv_path_LD+set}" = set; then :
 
4959
  $as_echo_n "(cached) " >&6
4558
4960
else
4559
4961
  if test -z "$LD"; then
4560
4962
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4584
4986
 
4585
4987
LD="$lt_cv_path_LD"
4586
4988
if test -n "$LD"; then
4587
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4588
 
echo "${ECHO_T}$LD" >&6; }
 
4989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4990
$as_echo "$LD" >&6; }
4589
4991
else
4590
 
  { echo "$as_me:$LINENO: result: no" >&5
4591
 
echo "${ECHO_T}no" >&6; }
 
4992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4993
$as_echo "no" >&6; }
4592
4994
fi
4593
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4594
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4595
 
   { (exit 1); exit 1; }; }
4596
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4597
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4598
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4995
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4997
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4998
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4999
  $as_echo_n "(cached) " >&6
4600
5000
else
4601
5001
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4602
5002
case `$LD -v 2>&1 </dev/null` in
4608
5008
  ;;
4609
5009
esac
4610
5010
fi
4611
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4612
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
5011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5012
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4613
5013
with_gnu_ld=$lt_cv_prog_gnu_ld
4614
5014
 
4615
5015
 
4616
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4617
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4618
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4619
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4620
 
else
4621
 
  lt_cv_ld_reload_flag='-r'
4622
 
fi
4623
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4624
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4625
 
reload_flag=$lt_cv_ld_reload_flag
4626
 
case $reload_flag in
4627
 
"" | " "*) ;;
4628
 
*) reload_flag=" $reload_flag" ;;
4629
 
esac
4630
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4631
 
case $host_os in
4632
 
  darwin*)
4633
 
    if test "$GCC" = yes; then
4634
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4635
 
    else
4636
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4637
 
    fi
4638
 
    ;;
4639
 
esac
4640
 
 
4641
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4642
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4643
 
if test "${lt_cv_path_NM+set}" = set; then
4644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5016
 
 
5017
 
 
5018
 
 
5019
 
 
5020
 
 
5021
 
 
5022
 
 
5023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5024
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5025
if test "${lt_cv_path_NM+set}" = set; then :
 
5026
  $as_echo_n "(cached) " >&6
4645
5027
else
4646
5028
  if test -n "$NM"; then
4647
5029
  # Let the user override the test.
4684
5066
    done
4685
5067
    IFS="$lt_save_ifs"
4686
5068
  done
4687
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4688
 
fi
4689
 
fi
4690
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4691
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4692
 
NM="$lt_cv_path_NM"
4693
 
 
4694
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4695
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5069
  : ${lt_cv_path_NM=no}
 
5070
fi
 
5071
fi
 
5072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5073
$as_echo "$lt_cv_path_NM" >&6; }
 
5074
if test "$lt_cv_path_NM" != "no"; then
 
5075
  NM="$lt_cv_path_NM"
 
5076
else
 
5077
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5078
  if test -n "$ac_tool_prefix"; then
 
5079
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5080
  do
 
5081
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5082
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5084
$as_echo_n "checking for $ac_word... " >&6; }
 
5085
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5086
  $as_echo_n "(cached) " >&6
 
5087
else
 
5088
  if test -n "$DUMPBIN"; then
 
5089
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5090
else
 
5091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5092
for as_dir in $PATH
 
5093
do
 
5094
  IFS=$as_save_IFS
 
5095
  test -z "$as_dir" && as_dir=.
 
5096
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5097
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5098
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5099
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5100
    break 2
 
5101
  fi
 
5102
done
 
5103
  done
 
5104
IFS=$as_save_IFS
 
5105
 
 
5106
fi
 
5107
fi
 
5108
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5109
if test -n "$DUMPBIN"; then
 
5110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5111
$as_echo "$DUMPBIN" >&6; }
 
5112
else
 
5113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5114
$as_echo "no" >&6; }
 
5115
fi
 
5116
 
 
5117
 
 
5118
    test -n "$DUMPBIN" && break
 
5119
  done
 
5120
fi
 
5121
if test -z "$DUMPBIN"; then
 
5122
  ac_ct_DUMPBIN=$DUMPBIN
 
5123
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5124
do
 
5125
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5126
set dummy $ac_prog; ac_word=$2
 
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5128
$as_echo_n "checking for $ac_word... " >&6; }
 
5129
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5130
  $as_echo_n "(cached) " >&6
 
5131
else
 
5132
  if test -n "$ac_ct_DUMPBIN"; then
 
5133
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5134
else
 
5135
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5136
for as_dir in $PATH
 
5137
do
 
5138
  IFS=$as_save_IFS
 
5139
  test -z "$as_dir" && as_dir=.
 
5140
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5141
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5142
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5143
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5144
    break 2
 
5145
  fi
 
5146
done
 
5147
  done
 
5148
IFS=$as_save_IFS
 
5149
 
 
5150
fi
 
5151
fi
 
5152
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5153
if test -n "$ac_ct_DUMPBIN"; then
 
5154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5155
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5156
else
 
5157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5158
$as_echo "no" >&6; }
 
5159
fi
 
5160
 
 
5161
 
 
5162
  test -n "$ac_ct_DUMPBIN" && break
 
5163
done
 
5164
 
 
5165
  if test "x$ac_ct_DUMPBIN" = x; then
 
5166
    DUMPBIN=":"
 
5167
  else
 
5168
    case $cross_compiling:$ac_tool_warned in
 
5169
yes:)
 
5170
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5171
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5172
ac_tool_warned=yes ;;
 
5173
esac
 
5174
    DUMPBIN=$ac_ct_DUMPBIN
 
5175
  fi
 
5176
fi
 
5177
 
 
5178
 
 
5179
  if test "$DUMPBIN" != ":"; then
 
5180
    NM="$DUMPBIN"
 
5181
  fi
 
5182
fi
 
5183
test -z "$NM" && NM=nm
 
5184
 
 
5185
 
 
5186
 
 
5187
 
 
5188
 
 
5189
 
 
5190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5191
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5192
if test "${lt_cv_nm_interface+set}" = set; then :
 
5193
  $as_echo_n "(cached) " >&6
 
5194
else
 
5195
  lt_cv_nm_interface="BSD nm"
 
5196
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5197
  (eval echo "\"\$as_me:5197: $ac_compile\"" >&5)
 
5198
  (eval "$ac_compile" 2>conftest.err)
 
5199
  cat conftest.err >&5
 
5200
  (eval echo "\"\$as_me:5200: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5201
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5202
  cat conftest.err >&5
 
5203
  (eval echo "\"\$as_me:5203: output\"" >&5)
 
5204
  cat conftest.out >&5
 
5205
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5206
    lt_cv_nm_interface="MS dumpbin"
 
5207
  fi
 
5208
  rm -f conftest*
 
5209
fi
 
5210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5211
$as_echo "$lt_cv_nm_interface" >&6; }
 
5212
 
 
5213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5214
$as_echo_n "checking whether ln -s works... " >&6; }
4696
5215
LN_S=$as_ln_s
4697
5216
if test "$LN_S" = "ln -s"; then
4698
 
  { echo "$as_me:$LINENO: result: yes" >&5
4699
 
echo "${ECHO_T}yes" >&6; }
4700
 
else
4701
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4702
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4703
 
fi
4704
 
 
4705
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4706
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4707
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4708
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5218
$as_echo "yes" >&6; }
 
5219
else
 
5220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5221
$as_echo "no, using $LN_S" >&6; }
 
5222
fi
 
5223
 
 
5224
# find the maximum length of command line arguments
 
5225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5226
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5227
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5228
  $as_echo_n "(cached) " >&6
 
5229
else
 
5230
    i=0
 
5231
  teststring="ABCD"
 
5232
 
 
5233
  case $build_os in
 
5234
  msdosdjgpp*)
 
5235
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5236
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5237
    # during glob expansion).  Even if it were fixed, the result of this
 
5238
    # check would be larger than it should be.
 
5239
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5240
    ;;
 
5241
 
 
5242
  gnu*)
 
5243
    # Under GNU Hurd, this test is not required because there is
 
5244
    # no limit to the length of command line arguments.
 
5245
    # Libtool will interpret -1 as no limit whatsoever
 
5246
    lt_cv_sys_max_cmd_len=-1;
 
5247
    ;;
 
5248
 
 
5249
  cygwin* | mingw* | cegcc*)
 
5250
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5251
    # about 5 minutes as the teststring grows exponentially.
 
5252
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5253
    # you end up with a "frozen" computer, even though with patience
 
5254
    # the test eventually succeeds (with a max line length of 256k).
 
5255
    # Instead, let's just punt: use the minimum linelength reported by
 
5256
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5257
    lt_cv_sys_max_cmd_len=8192;
 
5258
    ;;
 
5259
 
 
5260
  amigaos*)
 
5261
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5262
    # So we just punt and use a minimum line length of 8192.
 
5263
    lt_cv_sys_max_cmd_len=8192;
 
5264
    ;;
 
5265
 
 
5266
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5267
    # This has been around since 386BSD, at least.  Likely further.
 
5268
    if test -x /sbin/sysctl; then
 
5269
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5270
    elif test -x /usr/sbin/sysctl; then
 
5271
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5272
    else
 
5273
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5274
    fi
 
5275
    # And add a safety zone
 
5276
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5277
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5278
    ;;
 
5279
 
 
5280
  interix*)
 
5281
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5282
    lt_cv_sys_max_cmd_len=196608
 
5283
    ;;
 
5284
 
 
5285
  osf*)
 
5286
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5287
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5288
    # nice to cause kernel panics so lets avoid the loop below.
 
5289
    # First set a reasonable default.
 
5290
    lt_cv_sys_max_cmd_len=16384
 
5291
    #
 
5292
    if test -x /sbin/sysconfig; then
 
5293
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5294
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5295
      esac
 
5296
    fi
 
5297
    ;;
 
5298
  sco3.2v5*)
 
5299
    lt_cv_sys_max_cmd_len=102400
 
5300
    ;;
 
5301
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5302
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5303
    if test -n "$kargmax"; then
 
5304
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5305
    else
 
5306
      lt_cv_sys_max_cmd_len=32768
 
5307
    fi
 
5308
    ;;
 
5309
  *)
 
5310
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5311
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5312
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5313
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5314
    else
 
5315
      # Make teststring a little bigger before we do anything with it.
 
5316
      # a 1K string should be a reasonable start.
 
5317
      for i in 1 2 3 4 5 6 7 8 ; do
 
5318
        teststring=$teststring$teststring
 
5319
      done
 
5320
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5321
      # If test is not a shell built-in, we'll probably end up computing a
 
5322
      # maximum length that is only half of the actual maximum length, but
 
5323
      # we can't tell.
 
5324
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5325
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5326
              test $i != 17 # 1/2 MB should be enough
 
5327
      do
 
5328
        i=`expr $i + 1`
 
5329
        teststring=$teststring$teststring
 
5330
      done
 
5331
      # Only check the string length outside the loop.
 
5332
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5333
      teststring=
 
5334
      # Add a significant safety factor because C++ compilers can tack on
 
5335
      # massive amounts of additional arguments before passing them to the
 
5336
      # linker.  It appears as though 1/2 is a usable value.
 
5337
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5338
    fi
 
5339
    ;;
 
5340
  esac
 
5341
 
 
5342
fi
 
5343
 
 
5344
if test -n $lt_cv_sys_max_cmd_len ; then
 
5345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5346
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5347
else
 
5348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5349
$as_echo "none" >&6; }
 
5350
fi
 
5351
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5352
 
 
5353
 
 
5354
 
 
5355
 
 
5356
 
 
5357
 
 
5358
: ${CP="cp -f"}
 
5359
: ${MV="mv -f"}
 
5360
: ${RM="rm -f"}
 
5361
 
 
5362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5363
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5364
# Try some XSI features
 
5365
xsi_shell=no
 
5366
( _lt_dummy="a/b/c"
 
5367
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5368
      = c,a/b,, \
 
5369
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5370
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5371
  && xsi_shell=yes
 
5372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5373
$as_echo "$xsi_shell" >&6; }
 
5374
 
 
5375
 
 
5376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5377
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5378
lt_shell_append=no
 
5379
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5380
    >/dev/null 2>&1 \
 
5381
  && lt_shell_append=yes
 
5382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5383
$as_echo "$lt_shell_append" >&6; }
 
5384
 
 
5385
 
 
5386
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5387
  lt_unset=unset
 
5388
else
 
5389
  lt_unset=false
 
5390
fi
 
5391
 
 
5392
 
 
5393
 
 
5394
 
 
5395
 
 
5396
# test EBCDIC or ASCII
 
5397
case `echo X|tr X '\101'` in
 
5398
 A) # ASCII based system
 
5399
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5400
  lt_SP2NL='tr \040 \012'
 
5401
  lt_NL2SP='tr \015\012 \040\040'
 
5402
  ;;
 
5403
 *) # EBCDIC based system
 
5404
  lt_SP2NL='tr \100 \n'
 
5405
  lt_NL2SP='tr \r\n \100\100'
 
5406
  ;;
 
5407
esac
 
5408
 
 
5409
 
 
5410
 
 
5411
 
 
5412
 
 
5413
 
 
5414
 
 
5415
 
 
5416
 
 
5417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5418
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5419
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5420
  $as_echo_n "(cached) " >&6
 
5421
else
 
5422
  lt_cv_ld_reload_flag='-r'
 
5423
fi
 
5424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5425
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5426
reload_flag=$lt_cv_ld_reload_flag
 
5427
case $reload_flag in
 
5428
"" | " "*) ;;
 
5429
*) reload_flag=" $reload_flag" ;;
 
5430
esac
 
5431
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5432
case $host_os in
 
5433
  darwin*)
 
5434
    if test "$GCC" = yes; then
 
5435
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5436
    else
 
5437
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5438
    fi
 
5439
    ;;
 
5440
esac
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
 
 
5447
 
 
5448
 
 
5449
 
 
5450
if test -n "$ac_tool_prefix"; then
 
5451
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5452
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5454
$as_echo_n "checking for $ac_word... " >&6; }
 
5455
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5456
  $as_echo_n "(cached) " >&6
 
5457
else
 
5458
  if test -n "$OBJDUMP"; then
 
5459
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5460
else
 
5461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5462
for as_dir in $PATH
 
5463
do
 
5464
  IFS=$as_save_IFS
 
5465
  test -z "$as_dir" && as_dir=.
 
5466
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5468
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5469
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5470
    break 2
 
5471
  fi
 
5472
done
 
5473
  done
 
5474
IFS=$as_save_IFS
 
5475
 
 
5476
fi
 
5477
fi
 
5478
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5479
if test -n "$OBJDUMP"; then
 
5480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5481
$as_echo "$OBJDUMP" >&6; }
 
5482
else
 
5483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5484
$as_echo "no" >&6; }
 
5485
fi
 
5486
 
 
5487
 
 
5488
fi
 
5489
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5490
  ac_ct_OBJDUMP=$OBJDUMP
 
5491
  # Extract the first word of "objdump", so it can be a program name with args.
 
5492
set dummy objdump; ac_word=$2
 
5493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5494
$as_echo_n "checking for $ac_word... " >&6; }
 
5495
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5496
  $as_echo_n "(cached) " >&6
 
5497
else
 
5498
  if test -n "$ac_ct_OBJDUMP"; then
 
5499
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5500
else
 
5501
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5502
for as_dir in $PATH
 
5503
do
 
5504
  IFS=$as_save_IFS
 
5505
  test -z "$as_dir" && as_dir=.
 
5506
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5507
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5508
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5509
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5510
    break 2
 
5511
  fi
 
5512
done
 
5513
  done
 
5514
IFS=$as_save_IFS
 
5515
 
 
5516
fi
 
5517
fi
 
5518
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5519
if test -n "$ac_ct_OBJDUMP"; then
 
5520
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5521
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5522
else
 
5523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5524
$as_echo "no" >&6; }
 
5525
fi
 
5526
 
 
5527
  if test "x$ac_ct_OBJDUMP" = x; then
 
5528
    OBJDUMP="false"
 
5529
  else
 
5530
    case $cross_compiling:$ac_tool_warned in
 
5531
yes:)
 
5532
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5533
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5534
ac_tool_warned=yes ;;
 
5535
esac
 
5536
    OBJDUMP=$ac_ct_OBJDUMP
 
5537
  fi
 
5538
else
 
5539
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5540
fi
 
5541
 
 
5542
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
 
5549
 
 
5550
 
 
5551
 
 
5552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5553
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5554
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5555
  $as_echo_n "(cached) " >&6
4709
5556
else
4710
5557
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4711
5558
lt_cv_file_magic_test_file=
4722
5569
# whether `pass_all' will *always* work, you probably want this one.
4723
5570
 
4724
5571
case $host_os in
4725
 
aix4* | aix5*)
 
5572
aix[4-9]*)
4726
5573
  lt_cv_deplibs_check_method=pass_all
4727
5574
  ;;
4728
5575
 
4744
5591
 
4745
5592
mingw* | pw32*)
4746
5593
  # Base MSYS/MinGW do not provide the 'file' command needed by
4747
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4748
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5594
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5595
  # unless we find 'file', for example because we are cross-compiling.
 
5596
  if ( file / ) >/dev/null 2>&1; then
 
5597
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5598
    lt_cv_file_magic_cmd='func_win32_libid'
 
5599
  else
 
5600
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5601
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5602
  fi
 
5603
  ;;
 
5604
 
 
5605
cegcc)
 
5606
  # use the weaker test based on 'objdump'. See mingw*.
 
5607
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4749
5608
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4750
5609
  ;;
4751
5610
 
4754
5613
  ;;
4755
5614
 
4756
5615
freebsd* | dragonfly*)
4757
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5616
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4758
5617
    case $host_cpu in
4759
5618
    i*86 )
4760
5619
      # Not sure whether the presence of OpenBSD here was a mistake.
4791
5650
  esac
4792
5651
  ;;
4793
5652
 
4794
 
interix3*)
 
5653
interix[3-9]*)
4795
5654
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4796
5655
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4797
5656
  ;;
4812
5671
  ;;
4813
5672
 
4814
5673
netbsd* | netbsdelf*-gnu)
4815
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5674
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4816
5675
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4817
5676
  else
4818
5677
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4825
5684
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4826
5685
  ;;
4827
5686
 
4828
 
nto-qnx*)
4829
 
  lt_cv_deplibs_check_method=unknown
 
5687
*nto* | *qnx*)
 
5688
  lt_cv_deplibs_check_method=pass_all
4830
5689
  ;;
4831
5690
 
4832
5691
openbsd*)
4833
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5692
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4834
5693
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4835
5694
  else
4836
5695
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4841
5700
  lt_cv_deplibs_check_method=pass_all
4842
5701
  ;;
4843
5702
 
 
5703
rdos*)
 
5704
  lt_cv_deplibs_check_method=pass_all
 
5705
  ;;
 
5706
 
4844
5707
solaris*)
4845
5708
  lt_cv_deplibs_check_method=pass_all
4846
5709
  ;;
4847
5710
 
 
5711
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5712
  lt_cv_deplibs_check_method=pass_all
 
5713
  ;;
 
5714
 
4848
5715
sysv4 | sysv4.3*)
4849
5716
  case $host_vendor in
4850
5717
  motorola)
4872
5739
  esac
4873
5740
  ;;
4874
5741
 
4875
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5742
tpf*)
4876
5743
  lt_cv_deplibs_check_method=pass_all
4877
5744
  ;;
4878
5745
esac
4879
5746
 
4880
5747
fi
4881
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4882
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
5748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5749
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4883
5750
file_magic_cmd=$lt_cv_file_magic_cmd
4884
5751
deplibs_check_method=$lt_cv_deplibs_check_method
4885
5752
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4887
5754
 
4888
5755
 
4889
5756
 
 
5757
 
 
5758
 
 
5759
 
 
5760
 
 
5761
 
 
5762
 
 
5763
 
 
5764
 
 
5765
if test -n "$ac_tool_prefix"; then
 
5766
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5767
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5769
$as_echo_n "checking for $ac_word... " >&6; }
 
5770
if test "${ac_cv_prog_AR+set}" = set; then :
 
5771
  $as_echo_n "(cached) " >&6
 
5772
else
 
5773
  if test -n "$AR"; then
 
5774
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5775
else
 
5776
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5777
for as_dir in $PATH
 
5778
do
 
5779
  IFS=$as_save_IFS
 
5780
  test -z "$as_dir" && as_dir=.
 
5781
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5782
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5783
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5784
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5785
    break 2
 
5786
  fi
 
5787
done
 
5788
  done
 
5789
IFS=$as_save_IFS
 
5790
 
 
5791
fi
 
5792
fi
 
5793
AR=$ac_cv_prog_AR
 
5794
if test -n "$AR"; then
 
5795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5796
$as_echo "$AR" >&6; }
 
5797
else
 
5798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5799
$as_echo "no" >&6; }
 
5800
fi
 
5801
 
 
5802
 
 
5803
fi
 
5804
if test -z "$ac_cv_prog_AR"; then
 
5805
  ac_ct_AR=$AR
 
5806
  # Extract the first word of "ar", so it can be a program name with args.
 
5807
set dummy ar; ac_word=$2
 
5808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5809
$as_echo_n "checking for $ac_word... " >&6; }
 
5810
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5811
  $as_echo_n "(cached) " >&6
 
5812
else
 
5813
  if test -n "$ac_ct_AR"; then
 
5814
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5815
else
 
5816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5817
for as_dir in $PATH
 
5818
do
 
5819
  IFS=$as_save_IFS
 
5820
  test -z "$as_dir" && as_dir=.
 
5821
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5823
    ac_cv_prog_ac_ct_AR="ar"
 
5824
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5825
    break 2
 
5826
  fi
 
5827
done
 
5828
  done
 
5829
IFS=$as_save_IFS
 
5830
 
 
5831
fi
 
5832
fi
 
5833
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5834
if test -n "$ac_ct_AR"; then
 
5835
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5836
$as_echo "$ac_ct_AR" >&6; }
 
5837
else
 
5838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5839
$as_echo "no" >&6; }
 
5840
fi
 
5841
 
 
5842
  if test "x$ac_ct_AR" = x; then
 
5843
    AR="false"
 
5844
  else
 
5845
    case $cross_compiling:$ac_tool_warned in
 
5846
yes:)
 
5847
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5848
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5849
ac_tool_warned=yes ;;
 
5850
esac
 
5851
    AR=$ac_ct_AR
 
5852
  fi
 
5853
else
 
5854
  AR="$ac_cv_prog_AR"
 
5855
fi
 
5856
 
 
5857
test -z "$AR" && AR=ar
 
5858
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5859
 
 
5860
 
 
5861
 
 
5862
 
 
5863
 
 
5864
 
 
5865
 
 
5866
 
 
5867
 
 
5868
 
 
5869
 
 
5870
if test -n "$ac_tool_prefix"; then
 
5871
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5872
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5874
$as_echo_n "checking for $ac_word... " >&6; }
 
5875
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5876
  $as_echo_n "(cached) " >&6
 
5877
else
 
5878
  if test -n "$STRIP"; then
 
5879
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5880
else
 
5881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5882
for as_dir in $PATH
 
5883
do
 
5884
  IFS=$as_save_IFS
 
5885
  test -z "$as_dir" && as_dir=.
 
5886
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5888
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5889
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5890
    break 2
 
5891
  fi
 
5892
done
 
5893
  done
 
5894
IFS=$as_save_IFS
 
5895
 
 
5896
fi
 
5897
fi
 
5898
STRIP=$ac_cv_prog_STRIP
 
5899
if test -n "$STRIP"; then
 
5900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5901
$as_echo "$STRIP" >&6; }
 
5902
else
 
5903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5904
$as_echo "no" >&6; }
 
5905
fi
 
5906
 
 
5907
 
 
5908
fi
 
5909
if test -z "$ac_cv_prog_STRIP"; then
 
5910
  ac_ct_STRIP=$STRIP
 
5911
  # Extract the first word of "strip", so it can be a program name with args.
 
5912
set dummy strip; ac_word=$2
 
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5914
$as_echo_n "checking for $ac_word... " >&6; }
 
5915
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5916
  $as_echo_n "(cached) " >&6
 
5917
else
 
5918
  if test -n "$ac_ct_STRIP"; then
 
5919
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5920
else
 
5921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5922
for as_dir in $PATH
 
5923
do
 
5924
  IFS=$as_save_IFS
 
5925
  test -z "$as_dir" && as_dir=.
 
5926
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5928
    ac_cv_prog_ac_ct_STRIP="strip"
 
5929
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5930
    break 2
 
5931
  fi
 
5932
done
 
5933
  done
 
5934
IFS=$as_save_IFS
 
5935
 
 
5936
fi
 
5937
fi
 
5938
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5939
if test -n "$ac_ct_STRIP"; then
 
5940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5941
$as_echo "$ac_ct_STRIP" >&6; }
 
5942
else
 
5943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5944
$as_echo "no" >&6; }
 
5945
fi
 
5946
 
 
5947
  if test "x$ac_ct_STRIP" = x; then
 
5948
    STRIP=":"
 
5949
  else
 
5950
    case $cross_compiling:$ac_tool_warned in
 
5951
yes:)
 
5952
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5953
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5954
ac_tool_warned=yes ;;
 
5955
esac
 
5956
    STRIP=$ac_ct_STRIP
 
5957
  fi
 
5958
else
 
5959
  STRIP="$ac_cv_prog_STRIP"
 
5960
fi
 
5961
 
 
5962
test -z "$STRIP" && STRIP=:
 
5963
 
 
5964
 
 
5965
 
 
5966
 
 
5967
 
 
5968
 
 
5969
if test -n "$ac_tool_prefix"; then
 
5970
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5971
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5973
$as_echo_n "checking for $ac_word... " >&6; }
 
5974
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5975
  $as_echo_n "(cached) " >&6
 
5976
else
 
5977
  if test -n "$RANLIB"; then
 
5978
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5979
else
 
5980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5981
for as_dir in $PATH
 
5982
do
 
5983
  IFS=$as_save_IFS
 
5984
  test -z "$as_dir" && as_dir=.
 
5985
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5986
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5987
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5989
    break 2
 
5990
  fi
 
5991
done
 
5992
  done
 
5993
IFS=$as_save_IFS
 
5994
 
 
5995
fi
 
5996
fi
 
5997
RANLIB=$ac_cv_prog_RANLIB
 
5998
if test -n "$RANLIB"; then
 
5999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6000
$as_echo "$RANLIB" >&6; }
 
6001
else
 
6002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6003
$as_echo "no" >&6; }
 
6004
fi
 
6005
 
 
6006
 
 
6007
fi
 
6008
if test -z "$ac_cv_prog_RANLIB"; then
 
6009
  ac_ct_RANLIB=$RANLIB
 
6010
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6011
set dummy ranlib; ac_word=$2
 
6012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6013
$as_echo_n "checking for $ac_word... " >&6; }
 
6014
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6015
  $as_echo_n "(cached) " >&6
 
6016
else
 
6017
  if test -n "$ac_ct_RANLIB"; then
 
6018
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6019
else
 
6020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6021
for as_dir in $PATH
 
6022
do
 
6023
  IFS=$as_save_IFS
 
6024
  test -z "$as_dir" && as_dir=.
 
6025
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6027
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6029
    break 2
 
6030
  fi
 
6031
done
 
6032
  done
 
6033
IFS=$as_save_IFS
 
6034
 
 
6035
fi
 
6036
fi
 
6037
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6038
if test -n "$ac_ct_RANLIB"; then
 
6039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6040
$as_echo "$ac_ct_RANLIB" >&6; }
 
6041
else
 
6042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6043
$as_echo "no" >&6; }
 
6044
fi
 
6045
 
 
6046
  if test "x$ac_ct_RANLIB" = x; then
 
6047
    RANLIB=":"
 
6048
  else
 
6049
    case $cross_compiling:$ac_tool_warned in
 
6050
yes:)
 
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6052
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6053
ac_tool_warned=yes ;;
 
6054
esac
 
6055
    RANLIB=$ac_ct_RANLIB
 
6056
  fi
 
6057
else
 
6058
  RANLIB="$ac_cv_prog_RANLIB"
 
6059
fi
 
6060
 
 
6061
test -z "$RANLIB" && RANLIB=:
 
6062
 
 
6063
 
 
6064
 
 
6065
 
 
6066
 
 
6067
 
 
6068
# Determine commands to create old-style static archives.
 
6069
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6070
old_postinstall_cmds='chmod 644 $oldlib'
 
6071
old_postuninstall_cmds=
 
6072
 
 
6073
if test -n "$RANLIB"; then
 
6074
  case $host_os in
 
6075
  openbsd*)
 
6076
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6077
    ;;
 
6078
  *)
 
6079
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6080
    ;;
 
6081
  esac
 
6082
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6083
fi
 
6084
 
 
6085
 
 
6086
 
 
6087
 
 
6088
 
 
6089
 
 
6090
 
 
6091
 
 
6092
 
 
6093
 
 
6094
 
 
6095
 
 
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
 
 
6114
 
 
6115
 
 
6116
 
 
6117
 
4890
6118
# If no C compiler was specified, use CC.
4891
6119
LTCC=${LTCC-"$CC"}
4892
6120
 
4897
6125
compiler=$CC
4898
6126
 
4899
6127
 
4900
 
# Check whether --enable-libtool-lock was given.
4901
 
if test "${enable_libtool_lock+set}" = set; then
4902
 
  enableval=$enable_libtool_lock;
4903
 
fi
4904
 
 
4905
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4906
 
 
4907
 
# Some flags need to be propagated to the compiler or linker for good
4908
 
# libtool support.
4909
 
case $host in
4910
 
ia64-*-hpux*)
4911
 
  # Find out which ABI we are using.
4912
 
  echo 'int i;' > conftest.$ac_ext
4913
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914
 
  (eval $ac_compile) 2>&5
4915
 
  ac_status=$?
4916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917
 
  (exit $ac_status); }; then
4918
 
    case `/usr/bin/file conftest.$ac_objext` in
4919
 
    *ELF-32*)
4920
 
      HPUX_IA64_MODE="32"
4921
 
      ;;
4922
 
    *ELF-64*)
4923
 
      HPUX_IA64_MODE="64"
4924
 
      ;;
4925
 
    esac
4926
 
  fi
4927
 
  rm -rf conftest*
4928
 
  ;;
4929
 
*-*-irix6*)
4930
 
  # Find out which ABI we are using.
4931
 
  echo '#line 4931 "configure"' > conftest.$ac_ext
4932
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933
 
  (eval $ac_compile) 2>&5
4934
 
  ac_status=$?
4935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936
 
  (exit $ac_status); }; then
4937
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4938
 
    case `/usr/bin/file conftest.$ac_objext` in
4939
 
    *32-bit*)
4940
 
      LD="${LD-ld} -melf32bsmip"
4941
 
      ;;
4942
 
    *N32*)
4943
 
      LD="${LD-ld} -melf32bmipn32"
4944
 
      ;;
4945
 
    *64-bit*)
4946
 
      LD="${LD-ld} -melf64bmip"
4947
 
      ;;
4948
 
    esac
4949
 
   else
4950
 
    case `/usr/bin/file conftest.$ac_objext` in
4951
 
    *32-bit*)
4952
 
      LD="${LD-ld} -32"
4953
 
      ;;
4954
 
    *N32*)
4955
 
      LD="${LD-ld} -n32"
4956
 
      ;;
4957
 
    *64-bit*)
4958
 
      LD="${LD-ld} -64"
4959
 
      ;;
4960
 
    esac
4961
 
   fi
4962
 
  fi
4963
 
  rm -rf conftest*
4964
 
  ;;
4965
 
 
4966
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4967
 
  # Find out which ABI we are using.
4968
 
  echo 'int i;' > conftest.$ac_ext
4969
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4970
 
  (eval $ac_compile) 2>&5
4971
 
  ac_status=$?
4972
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973
 
  (exit $ac_status); }; then
4974
 
    case `/usr/bin/file conftest.o` in
4975
 
    *32-bit*)
4976
 
      case $host in
4977
 
        x86_64-*linux*)
4978
 
          LD="${LD-ld} -m elf_i386"
4979
 
          ;;
4980
 
        ppc64-*linux*|powerpc64-*linux*)
4981
 
          LD="${LD-ld} -m elf32ppclinux"
4982
 
          ;;
4983
 
        s390x-*linux*)
4984
 
          LD="${LD-ld} -m elf_s390"
4985
 
          ;;
4986
 
        sparc64-*linux*)
4987
 
          LD="${LD-ld} -m elf32_sparc"
4988
 
          ;;
4989
 
      esac
4990
 
      ;;
4991
 
    *64-bit*)
4992
 
      case $host in
4993
 
        x86_64-*linux*)
4994
 
          LD="${LD-ld} -m elf_x86_64"
4995
 
          ;;
4996
 
        ppc*-*linux*|powerpc*-*linux*)
4997
 
          LD="${LD-ld} -m elf64ppc"
4998
 
          ;;
4999
 
        s390*-*linux*)
5000
 
          LD="${LD-ld} -m elf64_s390"
5001
 
          ;;
5002
 
        sparc*-*linux*)
5003
 
          LD="${LD-ld} -m elf64_sparc"
5004
 
          ;;
5005
 
      esac
5006
 
      ;;
5007
 
    esac
5008
 
  fi
5009
 
  rm -rf conftest*
5010
 
  ;;
5011
 
 
5012
 
*-*-sco3.2v5*)
5013
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5014
 
  SAVE_CFLAGS="$CFLAGS"
5015
 
  CFLAGS="$CFLAGS -belf"
5016
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5017
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5018
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5019
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5020
 
else
5021
 
  ac_ext=c
5022
 
ac_cpp='$CPP $CPPFLAGS'
5023
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5026
 
 
5027
 
     cat >conftest.$ac_ext <<_ACEOF
5028
 
/* confdefs.h.  */
5029
 
_ACEOF
5030
 
cat confdefs.h >>conftest.$ac_ext
5031
 
cat >>conftest.$ac_ext <<_ACEOF
5032
 
/* end confdefs.h.  */
5033
 
 
5034
 
int
5035
 
main ()
5036
 
{
5037
 
 
5038
 
  ;
5039
 
  return 0;
5040
 
}
5041
 
_ACEOF
5042
 
rm -f conftest.$ac_objext conftest$ac_exeext
5043
 
if { (ac_try="$ac_link"
5044
 
case "(($ac_try" in
5045
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046
 
  *) ac_try_echo=$ac_try;;
5047
 
esac
5048
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5049
 
  (eval "$ac_link") 2>conftest.er1
5050
 
  ac_status=$?
5051
 
  grep -v '^ *+' conftest.er1 >conftest.err
5052
 
  rm -f conftest.er1
5053
 
  cat conftest.err >&5
5054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055
 
  (exit $ac_status); } && {
5056
 
         test -z "$ac_c_werror_flag" ||
5057
 
         test ! -s conftest.err
5058
 
       } && test -s conftest$ac_exeext &&
5059
 
       $as_test_x conftest$ac_exeext; then
5060
 
  lt_cv_cc_needs_belf=yes
5061
 
else
5062
 
  echo "$as_me: failed program was:" >&5
5063
 
sed 's/^/| /' conftest.$ac_ext >&5
5064
 
 
5065
 
        lt_cv_cc_needs_belf=no
5066
 
fi
5067
 
 
5068
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5069
 
      conftest$ac_exeext conftest.$ac_ext
5070
 
     ac_ext=c
5071
 
ac_cpp='$CPP $CPPFLAGS'
5072
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5073
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5074
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5075
 
 
5076
 
fi
5077
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5078
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5079
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5080
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5081
 
    CFLAGS="$SAVE_CFLAGS"
5082
 
  fi
5083
 
  ;;
5084
 
sparc*-*solaris*)
5085
 
  # Find out which ABI we are using.
5086
 
  echo 'int i;' > conftest.$ac_ext
5087
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5088
 
  (eval $ac_compile) 2>&5
5089
 
  ac_status=$?
5090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091
 
  (exit $ac_status); }; then
5092
 
    case `/usr/bin/file conftest.o` in
5093
 
    *64-bit*)
5094
 
      case $lt_cv_prog_gnu_ld in
5095
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5096
 
      *)    LD="${LD-ld} -64" ;;
5097
 
      esac
5098
 
      ;;
5099
 
    esac
5100
 
  fi
5101
 
  rm -rf conftest*
5102
 
  ;;
5103
 
 
5104
 
 
5105
 
esac
5106
 
 
5107
 
need_locks="$enable_libtool_lock"
5108
 
 
5109
 
 
5110
 
ac_ext=c
5111
 
ac_cpp='$CPP $CPPFLAGS'
5112
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5115
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5116
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5117
 
# On Suns, sometimes $CPP names a directory.
5118
 
if test -n "$CPP" && test -d "$CPP"; then
5119
 
  CPP=
5120
 
fi
5121
 
if test -z "$CPP"; then
5122
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5124
 
else
5125
 
      # Double quotes because CPP needs to be expanded
5126
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5127
 
    do
5128
 
      ac_preproc_ok=false
5129
 
for ac_c_preproc_warn_flag in '' yes
5130
 
do
5131
 
  # Use a header file that comes with gcc, so configuring glibc
5132
 
  # with a fresh cross-compiler works.
5133
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5134
 
  # <limits.h> exists even on freestanding compilers.
5135
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5136
 
  # not just through cpp. "Syntax error" is here to catch this case.
5137
 
  cat >conftest.$ac_ext <<_ACEOF
5138
 
/* confdefs.h.  */
5139
 
_ACEOF
5140
 
cat confdefs.h >>conftest.$ac_ext
5141
 
cat >>conftest.$ac_ext <<_ACEOF
5142
 
/* end confdefs.h.  */
5143
 
#ifdef __STDC__
5144
 
# include <limits.h>
5145
 
#else
5146
 
# include <assert.h>
5147
 
#endif
5148
 
                     Syntax error
5149
 
_ACEOF
5150
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5151
 
case "(($ac_try" in
5152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5153
 
  *) ac_try_echo=$ac_try;;
5154
 
esac
5155
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5156
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5157
 
  ac_status=$?
5158
 
  grep -v '^ *+' conftest.er1 >conftest.err
5159
 
  rm -f conftest.er1
5160
 
  cat conftest.err >&5
5161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162
 
  (exit $ac_status); } >/dev/null && {
5163
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5164
 
         test ! -s conftest.err
5165
 
       }; then
5166
 
  :
5167
 
else
5168
 
  echo "$as_me: failed program was:" >&5
5169
 
sed 's/^/| /' conftest.$ac_ext >&5
5170
 
 
5171
 
  # Broken: fails on valid input.
5172
 
continue
5173
 
fi
5174
 
 
5175
 
rm -f conftest.err conftest.$ac_ext
5176
 
 
5177
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5178
 
  # can be detected and how.
5179
 
  cat >conftest.$ac_ext <<_ACEOF
5180
 
/* confdefs.h.  */
5181
 
_ACEOF
5182
 
cat confdefs.h >>conftest.$ac_ext
5183
 
cat >>conftest.$ac_ext <<_ACEOF
5184
 
/* end confdefs.h.  */
5185
 
#include <ac_nonexistent.h>
5186
 
_ACEOF
5187
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5188
 
case "(($ac_try" in
5189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5190
 
  *) ac_try_echo=$ac_try;;
5191
 
esac
5192
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5193
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5194
 
  ac_status=$?
5195
 
  grep -v '^ *+' conftest.er1 >conftest.err
5196
 
  rm -f conftest.er1
5197
 
  cat conftest.err >&5
5198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199
 
  (exit $ac_status); } >/dev/null && {
5200
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5201
 
         test ! -s conftest.err
5202
 
       }; then
5203
 
  # Broken: success on invalid input.
5204
 
continue
5205
 
else
5206
 
  echo "$as_me: failed program was:" >&5
5207
 
sed 's/^/| /' conftest.$ac_ext >&5
5208
 
 
5209
 
  # Passes both tests.
5210
 
ac_preproc_ok=:
5211
 
break
5212
 
fi
5213
 
 
5214
 
rm -f conftest.err conftest.$ac_ext
5215
 
 
5216
 
done
5217
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5218
 
rm -f conftest.err conftest.$ac_ext
5219
 
if $ac_preproc_ok; then
5220
 
  break
5221
 
fi
5222
 
 
5223
 
    done
5224
 
    ac_cv_prog_CPP=$CPP
5225
 
 
5226
 
fi
5227
 
  CPP=$ac_cv_prog_CPP
5228
 
else
5229
 
  ac_cv_prog_CPP=$CPP
5230
 
fi
5231
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5232
 
echo "${ECHO_T}$CPP" >&6; }
5233
 
ac_preproc_ok=false
5234
 
for ac_c_preproc_warn_flag in '' yes
5235
 
do
5236
 
  # Use a header file that comes with gcc, so configuring glibc
5237
 
  # with a fresh cross-compiler works.
5238
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5239
 
  # <limits.h> exists even on freestanding compilers.
5240
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5241
 
  # not just through cpp. "Syntax error" is here to catch this case.
5242
 
  cat >conftest.$ac_ext <<_ACEOF
5243
 
/* confdefs.h.  */
5244
 
_ACEOF
5245
 
cat confdefs.h >>conftest.$ac_ext
5246
 
cat >>conftest.$ac_ext <<_ACEOF
5247
 
/* end confdefs.h.  */
5248
 
#ifdef __STDC__
5249
 
# include <limits.h>
5250
 
#else
5251
 
# include <assert.h>
5252
 
#endif
5253
 
                     Syntax error
5254
 
_ACEOF
5255
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5256
 
case "(($ac_try" in
5257
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5258
 
  *) ac_try_echo=$ac_try;;
5259
 
esac
5260
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5261
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5262
 
  ac_status=$?
5263
 
  grep -v '^ *+' conftest.er1 >conftest.err
5264
 
  rm -f conftest.er1
5265
 
  cat conftest.err >&5
5266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267
 
  (exit $ac_status); } >/dev/null && {
5268
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5269
 
         test ! -s conftest.err
5270
 
       }; then
5271
 
  :
5272
 
else
5273
 
  echo "$as_me: failed program was:" >&5
5274
 
sed 's/^/| /' conftest.$ac_ext >&5
5275
 
 
5276
 
  # Broken: fails on valid input.
5277
 
continue
5278
 
fi
5279
 
 
5280
 
rm -f conftest.err conftest.$ac_ext
5281
 
 
5282
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5283
 
  # can be detected and how.
5284
 
  cat >conftest.$ac_ext <<_ACEOF
5285
 
/* confdefs.h.  */
5286
 
_ACEOF
5287
 
cat confdefs.h >>conftest.$ac_ext
5288
 
cat >>conftest.$ac_ext <<_ACEOF
5289
 
/* end confdefs.h.  */
5290
 
#include <ac_nonexistent.h>
5291
 
_ACEOF
5292
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5293
 
case "(($ac_try" in
5294
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295
 
  *) ac_try_echo=$ac_try;;
5296
 
esac
5297
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5299
 
  ac_status=$?
5300
 
  grep -v '^ *+' conftest.er1 >conftest.err
5301
 
  rm -f conftest.er1
5302
 
  cat conftest.err >&5
5303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304
 
  (exit $ac_status); } >/dev/null && {
5305
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5306
 
         test ! -s conftest.err
5307
 
       }; then
5308
 
  # Broken: success on invalid input.
5309
 
continue
5310
 
else
5311
 
  echo "$as_me: failed program was:" >&5
5312
 
sed 's/^/| /' conftest.$ac_ext >&5
5313
 
 
5314
 
  # Passes both tests.
5315
 
ac_preproc_ok=:
5316
 
break
5317
 
fi
5318
 
 
5319
 
rm -f conftest.err conftest.$ac_ext
5320
 
 
5321
 
done
5322
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5323
 
rm -f conftest.err conftest.$ac_ext
5324
 
if $ac_preproc_ok; then
5325
 
  :
5326
 
else
5327
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5328
 
See \`config.log' for more details." >&5
5329
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5330
 
See \`config.log' for more details." >&2;}
5331
 
   { (exit 1); exit 1; }; }
5332
 
fi
5333
 
 
5334
 
ac_ext=c
5335
 
ac_cpp='$CPP $CPPFLAGS'
5336
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5337
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5338
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5339
 
 
5340
 
 
5341
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5342
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5343
 
if test "${ac_cv_header_stdc+set}" = set; then
5344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5345
 
else
5346
 
  cat >conftest.$ac_ext <<_ACEOF
5347
 
/* confdefs.h.  */
5348
 
_ACEOF
5349
 
cat confdefs.h >>conftest.$ac_ext
5350
 
cat >>conftest.$ac_ext <<_ACEOF
5351
 
/* end confdefs.h.  */
5352
 
#include <stdlib.h>
5353
 
#include <stdarg.h>
5354
 
#include <string.h>
5355
 
#include <float.h>
5356
 
 
5357
 
int
5358
 
main ()
5359
 
{
5360
 
 
5361
 
  ;
5362
 
  return 0;
5363
 
}
5364
 
_ACEOF
5365
 
rm -f conftest.$ac_objext
5366
 
if { (ac_try="$ac_compile"
5367
 
case "(($ac_try" in
5368
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5369
 
  *) ac_try_echo=$ac_try;;
5370
 
esac
5371
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372
 
  (eval "$ac_compile") 2>conftest.er1
5373
 
  ac_status=$?
5374
 
  grep -v '^ *+' conftest.er1 >conftest.err
5375
 
  rm -f conftest.er1
5376
 
  cat conftest.err >&5
5377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378
 
  (exit $ac_status); } && {
5379
 
         test -z "$ac_c_werror_flag" ||
5380
 
         test ! -s conftest.err
5381
 
       } && test -s conftest.$ac_objext; then
5382
 
  ac_cv_header_stdc=yes
5383
 
else
5384
 
  echo "$as_me: failed program was:" >&5
5385
 
sed 's/^/| /' conftest.$ac_ext >&5
5386
 
 
5387
 
        ac_cv_header_stdc=no
5388
 
fi
5389
 
 
5390
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391
 
 
5392
 
if test $ac_cv_header_stdc = yes; then
5393
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5394
 
  cat >conftest.$ac_ext <<_ACEOF
5395
 
/* confdefs.h.  */
5396
 
_ACEOF
5397
 
cat confdefs.h >>conftest.$ac_ext
5398
 
cat >>conftest.$ac_ext <<_ACEOF
5399
 
/* end confdefs.h.  */
5400
 
#include <string.h>
5401
 
 
5402
 
_ACEOF
5403
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5404
 
  $EGREP "memchr" >/dev/null 2>&1; then
5405
 
  :
5406
 
else
5407
 
  ac_cv_header_stdc=no
5408
 
fi
5409
 
rm -f conftest*
5410
 
 
5411
 
fi
5412
 
 
5413
 
if test $ac_cv_header_stdc = yes; then
5414
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5415
 
  cat >conftest.$ac_ext <<_ACEOF
5416
 
/* confdefs.h.  */
5417
 
_ACEOF
5418
 
cat confdefs.h >>conftest.$ac_ext
5419
 
cat >>conftest.$ac_ext <<_ACEOF
5420
 
/* end confdefs.h.  */
5421
 
#include <stdlib.h>
5422
 
 
5423
 
_ACEOF
5424
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5425
 
  $EGREP "free" >/dev/null 2>&1; then
5426
 
  :
5427
 
else
5428
 
  ac_cv_header_stdc=no
5429
 
fi
5430
 
rm -f conftest*
5431
 
 
5432
 
fi
5433
 
 
5434
 
if test $ac_cv_header_stdc = yes; then
5435
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5436
 
  if test "$cross_compiling" = yes; then
5437
 
  :
5438
 
else
5439
 
  cat >conftest.$ac_ext <<_ACEOF
5440
 
/* confdefs.h.  */
5441
 
_ACEOF
5442
 
cat confdefs.h >>conftest.$ac_ext
5443
 
cat >>conftest.$ac_ext <<_ACEOF
5444
 
/* end confdefs.h.  */
5445
 
#include <ctype.h>
5446
 
#include <stdlib.h>
5447
 
#if ((' ' & 0x0FF) == 0x020)
5448
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5449
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5450
 
#else
5451
 
# define ISLOWER(c) \
5452
 
                   (('a' <= (c) && (c) <= 'i') \
5453
 
                     || ('j' <= (c) && (c) <= 'r') \
5454
 
                     || ('s' <= (c) && (c) <= 'z'))
5455
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5456
 
#endif
5457
 
 
5458
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5459
 
int
5460
 
main ()
5461
 
{
5462
 
  int i;
5463
 
  for (i = 0; i < 256; i++)
5464
 
    if (XOR (islower (i), ISLOWER (i))
5465
 
        || toupper (i) != TOUPPER (i))
5466
 
      return 2;
5467
 
  return 0;
5468
 
}
5469
 
_ACEOF
5470
 
rm -f conftest$ac_exeext
5471
 
if { (ac_try="$ac_link"
5472
 
case "(($ac_try" in
5473
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5474
 
  *) ac_try_echo=$ac_try;;
5475
 
esac
5476
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5477
 
  (eval "$ac_link") 2>&5
5478
 
  ac_status=$?
5479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5481
 
  { (case "(($ac_try" in
5482
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5483
 
  *) ac_try_echo=$ac_try;;
5484
 
esac
5485
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486
 
  (eval "$ac_try") 2>&5
5487
 
  ac_status=$?
5488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489
 
  (exit $ac_status); }; }; then
5490
 
  :
5491
 
else
5492
 
  echo "$as_me: program exited with status $ac_status" >&5
5493
 
echo "$as_me: failed program was:" >&5
5494
 
sed 's/^/| /' conftest.$ac_ext >&5
5495
 
 
5496
 
( exit $ac_status )
5497
 
ac_cv_header_stdc=no
5498
 
fi
5499
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5500
 
fi
5501
 
 
5502
 
 
5503
 
fi
5504
 
fi
5505
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5506
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5507
 
if test $ac_cv_header_stdc = yes; then
5508
 
 
5509
 
cat >>confdefs.h <<\_ACEOF
5510
 
#define STDC_HEADERS 1
5511
 
_ACEOF
5512
 
 
5513
 
fi
5514
 
 
5515
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5526
 
                  inttypes.h stdint.h unistd.h
5527
 
do
5528
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5529
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5530
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5531
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5532
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5533
 
else
5534
 
  cat >conftest.$ac_ext <<_ACEOF
5535
 
/* confdefs.h.  */
5536
 
_ACEOF
5537
 
cat confdefs.h >>conftest.$ac_ext
5538
 
cat >>conftest.$ac_ext <<_ACEOF
5539
 
/* end confdefs.h.  */
5540
 
$ac_includes_default
5541
 
 
5542
 
#include <$ac_header>
5543
 
_ACEOF
5544
 
rm -f conftest.$ac_objext
5545
 
if { (ac_try="$ac_compile"
5546
 
case "(($ac_try" in
5547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5548
 
  *) ac_try_echo=$ac_try;;
5549
 
esac
5550
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551
 
  (eval "$ac_compile") 2>conftest.er1
5552
 
  ac_status=$?
5553
 
  grep -v '^ *+' conftest.er1 >conftest.err
5554
 
  rm -f conftest.er1
5555
 
  cat conftest.err >&5
5556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557
 
  (exit $ac_status); } && {
5558
 
         test -z "$ac_c_werror_flag" ||
5559
 
         test ! -s conftest.err
5560
 
       } && test -s conftest.$ac_objext; then
5561
 
  eval "$as_ac_Header=yes"
5562
 
else
5563
 
  echo "$as_me: failed program was:" >&5
5564
 
sed 's/^/| /' conftest.$ac_ext >&5
5565
 
 
5566
 
        eval "$as_ac_Header=no"
5567
 
fi
5568
 
 
5569
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5570
 
fi
5571
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5572
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5573
 
echo "${ECHO_T}$ac_res" >&6; }
5574
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5575
 
  cat >>confdefs.h <<_ACEOF
5576
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5577
 
_ACEOF
5578
 
 
5579
 
fi
5580
 
 
5581
 
done
5582
 
 
5583
 
 
5584
 
 
5585
 
for ac_header in dlfcn.h
5586
 
do
5587
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5588
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5589
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5590
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5591
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5592
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5593
 
fi
5594
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5595
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5596
 
echo "${ECHO_T}$ac_res" >&6; }
5597
 
else
5598
 
  # Is the header compilable?
5599
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5600
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5601
 
cat >conftest.$ac_ext <<_ACEOF
5602
 
/* confdefs.h.  */
5603
 
_ACEOF
5604
 
cat confdefs.h >>conftest.$ac_ext
5605
 
cat >>conftest.$ac_ext <<_ACEOF
5606
 
/* end confdefs.h.  */
5607
 
$ac_includes_default
5608
 
#include <$ac_header>
5609
 
_ACEOF
5610
 
rm -f conftest.$ac_objext
5611
 
if { (ac_try="$ac_compile"
5612
 
case "(($ac_try" in
5613
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5614
 
  *) ac_try_echo=$ac_try;;
5615
 
esac
5616
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5617
 
  (eval "$ac_compile") 2>conftest.er1
5618
 
  ac_status=$?
5619
 
  grep -v '^ *+' conftest.er1 >conftest.err
5620
 
  rm -f conftest.er1
5621
 
  cat conftest.err >&5
5622
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623
 
  (exit $ac_status); } && {
5624
 
         test -z "$ac_c_werror_flag" ||
5625
 
         test ! -s conftest.err
5626
 
       } && test -s conftest.$ac_objext; then
5627
 
  ac_header_compiler=yes
5628
 
else
5629
 
  echo "$as_me: failed program was:" >&5
5630
 
sed 's/^/| /' conftest.$ac_ext >&5
5631
 
 
5632
 
        ac_header_compiler=no
5633
 
fi
5634
 
 
5635
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5636
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5637
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5638
 
 
5639
 
# Is the header present?
5640
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5641
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5642
 
cat >conftest.$ac_ext <<_ACEOF
5643
 
/* confdefs.h.  */
5644
 
_ACEOF
5645
 
cat confdefs.h >>conftest.$ac_ext
5646
 
cat >>conftest.$ac_ext <<_ACEOF
5647
 
/* end confdefs.h.  */
5648
 
#include <$ac_header>
5649
 
_ACEOF
5650
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5651
 
case "(($ac_try" in
5652
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5653
 
  *) ac_try_echo=$ac_try;;
5654
 
esac
5655
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5656
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5657
 
  ac_status=$?
5658
 
  grep -v '^ *+' conftest.er1 >conftest.err
5659
 
  rm -f conftest.er1
5660
 
  cat conftest.err >&5
5661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662
 
  (exit $ac_status); } >/dev/null && {
5663
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5664
 
         test ! -s conftest.err
5665
 
       }; then
5666
 
  ac_header_preproc=yes
5667
 
else
5668
 
  echo "$as_me: failed program was:" >&5
5669
 
sed 's/^/| /' conftest.$ac_ext >&5
5670
 
 
5671
 
  ac_header_preproc=no
5672
 
fi
5673
 
 
5674
 
rm -f conftest.err conftest.$ac_ext
5675
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5676
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5677
 
 
5678
 
# So?  What about this header?
5679
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5680
 
  yes:no: )
5681
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5682
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5683
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5684
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5685
 
    ac_header_preproc=yes
5686
 
    ;;
5687
 
  no:yes:* )
5688
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5689
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5690
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5691
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5692
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5693
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5694
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5695
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5696
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5697
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5698
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5699
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5700
 
 
5701
 
    ;;
5702
 
esac
5703
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5704
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5705
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5707
 
else
5708
 
  eval "$as_ac_Header=\$ac_header_preproc"
5709
 
fi
5710
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5711
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5712
 
echo "${ECHO_T}$ac_res" >&6; }
5713
 
 
5714
 
fi
5715
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5716
 
  cat >>confdefs.h <<_ACEOF
5717
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5718
 
_ACEOF
5719
 
 
5720
 
fi
5721
 
 
5722
 
done
5723
 
 
5724
 
 
5725
 
 
5726
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5727
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5728
 
    (test "X$CXX" != "Xg++"))) ; then
5729
 
  ac_ext=cpp
5730
 
ac_cpp='$CXXCPP $CPPFLAGS'
5731
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5732
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5733
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5734
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5735
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5736
 
if test -z "$CXXCPP"; then
5737
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5739
 
else
5740
 
      # Double quotes because CXXCPP needs to be expanded
5741
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5742
 
    do
5743
 
      ac_preproc_ok=false
5744
 
for ac_cxx_preproc_warn_flag in '' yes
5745
 
do
5746
 
  # Use a header file that comes with gcc, so configuring glibc
5747
 
  # with a fresh cross-compiler works.
5748
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5749
 
  # <limits.h> exists even on freestanding compilers.
5750
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5751
 
  # not just through cpp. "Syntax error" is here to catch this case.
5752
 
  cat >conftest.$ac_ext <<_ACEOF
5753
 
/* confdefs.h.  */
5754
 
_ACEOF
5755
 
cat confdefs.h >>conftest.$ac_ext
5756
 
cat >>conftest.$ac_ext <<_ACEOF
5757
 
/* end confdefs.h.  */
5758
 
#ifdef __STDC__
5759
 
# include <limits.h>
5760
 
#else
5761
 
# include <assert.h>
5762
 
#endif
5763
 
                     Syntax error
5764
 
_ACEOF
5765
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5766
 
case "(($ac_try" in
5767
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5768
 
  *) ac_try_echo=$ac_try;;
5769
 
esac
5770
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5771
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5772
 
  ac_status=$?
5773
 
  grep -v '^ *+' conftest.er1 >conftest.err
5774
 
  rm -f conftest.er1
5775
 
  cat conftest.err >&5
5776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777
 
  (exit $ac_status); } >/dev/null && {
5778
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5779
 
         test ! -s conftest.err
5780
 
       }; then
5781
 
  :
5782
 
else
5783
 
  echo "$as_me: failed program was:" >&5
5784
 
sed 's/^/| /' conftest.$ac_ext >&5
5785
 
 
5786
 
  # Broken: fails on valid input.
5787
 
continue
5788
 
fi
5789
 
 
5790
 
rm -f conftest.err conftest.$ac_ext
5791
 
 
5792
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5793
 
  # can be detected and how.
5794
 
  cat >conftest.$ac_ext <<_ACEOF
5795
 
/* confdefs.h.  */
5796
 
_ACEOF
5797
 
cat confdefs.h >>conftest.$ac_ext
5798
 
cat >>conftest.$ac_ext <<_ACEOF
5799
 
/* end confdefs.h.  */
5800
 
#include <ac_nonexistent.h>
5801
 
_ACEOF
5802
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5803
 
case "(($ac_try" in
5804
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5805
 
  *) ac_try_echo=$ac_try;;
5806
 
esac
5807
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5808
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5809
 
  ac_status=$?
5810
 
  grep -v '^ *+' conftest.er1 >conftest.err
5811
 
  rm -f conftest.er1
5812
 
  cat conftest.err >&5
5813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814
 
  (exit $ac_status); } >/dev/null && {
5815
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5816
 
         test ! -s conftest.err
5817
 
       }; then
5818
 
  # Broken: success on invalid input.
5819
 
continue
5820
 
else
5821
 
  echo "$as_me: failed program was:" >&5
5822
 
sed 's/^/| /' conftest.$ac_ext >&5
5823
 
 
5824
 
  # Passes both tests.
5825
 
ac_preproc_ok=:
5826
 
break
5827
 
fi
5828
 
 
5829
 
rm -f conftest.err conftest.$ac_ext
5830
 
 
5831
 
done
5832
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5833
 
rm -f conftest.err conftest.$ac_ext
5834
 
if $ac_preproc_ok; then
5835
 
  break
5836
 
fi
5837
 
 
5838
 
    done
5839
 
    ac_cv_prog_CXXCPP=$CXXCPP
5840
 
 
5841
 
fi
5842
 
  CXXCPP=$ac_cv_prog_CXXCPP
5843
 
else
5844
 
  ac_cv_prog_CXXCPP=$CXXCPP
5845
 
fi
5846
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5847
 
echo "${ECHO_T}$CXXCPP" >&6; }
5848
 
ac_preproc_ok=false
5849
 
for ac_cxx_preproc_warn_flag in '' yes
5850
 
do
5851
 
  # Use a header file that comes with gcc, so configuring glibc
5852
 
  # with a fresh cross-compiler works.
5853
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5854
 
  # <limits.h> exists even on freestanding compilers.
5855
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5856
 
  # not just through cpp. "Syntax error" is here to catch this case.
5857
 
  cat >conftest.$ac_ext <<_ACEOF
5858
 
/* confdefs.h.  */
5859
 
_ACEOF
5860
 
cat confdefs.h >>conftest.$ac_ext
5861
 
cat >>conftest.$ac_ext <<_ACEOF
5862
 
/* end confdefs.h.  */
5863
 
#ifdef __STDC__
5864
 
# include <limits.h>
5865
 
#else
5866
 
# include <assert.h>
5867
 
#endif
5868
 
                     Syntax error
5869
 
_ACEOF
5870
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5871
 
case "(($ac_try" in
5872
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5873
 
  *) ac_try_echo=$ac_try;;
5874
 
esac
5875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5876
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5877
 
  ac_status=$?
5878
 
  grep -v '^ *+' conftest.er1 >conftest.err
5879
 
  rm -f conftest.er1
5880
 
  cat conftest.err >&5
5881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882
 
  (exit $ac_status); } >/dev/null && {
5883
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5884
 
         test ! -s conftest.err
5885
 
       }; then
5886
 
  :
5887
 
else
5888
 
  echo "$as_me: failed program was:" >&5
5889
 
sed 's/^/| /' conftest.$ac_ext >&5
5890
 
 
5891
 
  # Broken: fails on valid input.
5892
 
continue
5893
 
fi
5894
 
 
5895
 
rm -f conftest.err conftest.$ac_ext
5896
 
 
5897
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5898
 
  # can be detected and how.
5899
 
  cat >conftest.$ac_ext <<_ACEOF
5900
 
/* confdefs.h.  */
5901
 
_ACEOF
5902
 
cat confdefs.h >>conftest.$ac_ext
5903
 
cat >>conftest.$ac_ext <<_ACEOF
5904
 
/* end confdefs.h.  */
5905
 
#include <ac_nonexistent.h>
5906
 
_ACEOF
5907
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5908
 
case "(($ac_try" in
5909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5910
 
  *) ac_try_echo=$ac_try;;
5911
 
esac
5912
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5913
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5914
 
  ac_status=$?
5915
 
  grep -v '^ *+' conftest.er1 >conftest.err
5916
 
  rm -f conftest.er1
5917
 
  cat conftest.err >&5
5918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919
 
  (exit $ac_status); } >/dev/null && {
5920
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5921
 
         test ! -s conftest.err
5922
 
       }; then
5923
 
  # Broken: success on invalid input.
5924
 
continue
5925
 
else
5926
 
  echo "$as_me: failed program was:" >&5
5927
 
sed 's/^/| /' conftest.$ac_ext >&5
5928
 
 
5929
 
  # Passes both tests.
5930
 
ac_preproc_ok=:
5931
 
break
5932
 
fi
5933
 
 
5934
 
rm -f conftest.err conftest.$ac_ext
5935
 
 
5936
 
done
5937
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5938
 
rm -f conftest.err conftest.$ac_ext
5939
 
if $ac_preproc_ok; then
5940
 
  :
5941
 
else
5942
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5943
 
See \`config.log' for more details." >&5
5944
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5945
 
See \`config.log' for more details." >&2;}
5946
 
   { (exit 1); exit 1; }; }
5947
 
fi
5948
 
 
5949
 
ac_ext=cpp
5950
 
ac_cpp='$CXXCPP $CPPFLAGS'
5951
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5952
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5953
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5954
 
 
5955
 
fi
5956
 
 
5957
 
 
5958
 
ac_ext=f
5959
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5960
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5961
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5962
 
if test -n "$ac_tool_prefix"; then
5963
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5964
 
  do
5965
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5966
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5967
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5968
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5969
 
if test "${ac_cv_prog_F77+set}" = set; then
5970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5971
 
else
5972
 
  if test -n "$F77"; then
5973
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
5974
 
else
5975
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976
 
for as_dir in $PATH
5977
 
do
5978
 
  IFS=$as_save_IFS
5979
 
  test -z "$as_dir" && as_dir=.
5980
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5981
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5983
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5984
 
    break 2
5985
 
  fi
5986
 
done
5987
 
done
5988
 
IFS=$as_save_IFS
5989
 
 
5990
 
fi
5991
 
fi
5992
 
F77=$ac_cv_prog_F77
5993
 
if test -n "$F77"; then
5994
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5995
 
echo "${ECHO_T}$F77" >&6; }
5996
 
else
5997
 
  { echo "$as_me:$LINENO: result: no" >&5
5998
 
echo "${ECHO_T}no" >&6; }
5999
 
fi
6000
 
 
6001
 
 
6002
 
    test -n "$F77" && break
6003
 
  done
6004
 
fi
6005
 
if test -z "$F77"; then
6006
 
  ac_ct_F77=$F77
6007
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6008
 
do
6009
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6010
 
set dummy $ac_prog; ac_word=$2
6011
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6012
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6013
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6014
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6015
 
else
6016
 
  if test -n "$ac_ct_F77"; then
6017
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6018
 
else
6019
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020
 
for as_dir in $PATH
6021
 
do
6022
 
  IFS=$as_save_IFS
6023
 
  test -z "$as_dir" && as_dir=.
6024
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6025
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6026
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6027
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6028
 
    break 2
6029
 
  fi
6030
 
done
6031
 
done
6032
 
IFS=$as_save_IFS
6033
 
 
6034
 
fi
6035
 
fi
6036
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6037
 
if test -n "$ac_ct_F77"; then
6038
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6039
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6040
 
else
6041
 
  { echo "$as_me:$LINENO: result: no" >&5
6042
 
echo "${ECHO_T}no" >&6; }
6043
 
fi
6044
 
 
6045
 
 
6046
 
  test -n "$ac_ct_F77" && break
6047
 
done
6048
 
 
6049
 
  if test "x$ac_ct_F77" = x; then
6050
 
    F77=""
6051
 
  else
6052
 
    case $cross_compiling:$ac_tool_warned in
6053
 
yes:)
6054
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6055
 
whose name does not start with the host triplet.  If you think this
6056
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6057
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6058
 
whose name does not start with the host triplet.  If you think this
6059
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6060
 
ac_tool_warned=yes ;;
6061
 
esac
6062
 
    F77=$ac_ct_F77
6063
 
  fi
6064
 
fi
6065
 
 
6066
 
 
6067
 
# Provide some information about the compiler.
6068
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6069
 
ac_compiler=`set X $ac_compile; echo $2`
6070
 
{ (ac_try="$ac_compiler --version >&5"
6071
 
case "(($ac_try" in
6072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6073
 
  *) ac_try_echo=$ac_try;;
6074
 
esac
6075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6076
 
  (eval "$ac_compiler --version >&5") 2>&5
6077
 
  ac_status=$?
6078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079
 
  (exit $ac_status); }
6080
 
{ (ac_try="$ac_compiler -v >&5"
6081
 
case "(($ac_try" in
6082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6083
 
  *) ac_try_echo=$ac_try;;
6084
 
esac
6085
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6086
 
  (eval "$ac_compiler -v >&5") 2>&5
6087
 
  ac_status=$?
6088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089
 
  (exit $ac_status); }
6090
 
{ (ac_try="$ac_compiler -V >&5"
6091
 
case "(($ac_try" in
6092
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6093
 
  *) ac_try_echo=$ac_try;;
6094
 
esac
6095
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6096
 
  (eval "$ac_compiler -V >&5") 2>&5
6097
 
  ac_status=$?
6098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099
 
  (exit $ac_status); }
6100
 
rm -f a.out
6101
 
 
6102
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6103
 
# input file.  (Note that this only needs to work for GNU compilers.)
6104
 
ac_save_ext=$ac_ext
6105
 
ac_ext=F
6106
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6107
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6108
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6110
 
else
6111
 
  cat >conftest.$ac_ext <<_ACEOF
6112
 
      program main
6113
 
#ifndef __GNUC__
6114
 
       choke me
6115
 
#endif
6116
 
 
6117
 
      end
6118
 
_ACEOF
6119
 
rm -f conftest.$ac_objext
6120
 
if { (ac_try="$ac_compile"
6121
 
case "(($ac_try" in
6122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6123
 
  *) ac_try_echo=$ac_try;;
6124
 
esac
6125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6126
 
  (eval "$ac_compile") 2>conftest.er1
6127
 
  ac_status=$?
6128
 
  grep -v '^ *+' conftest.er1 >conftest.err
6129
 
  rm -f conftest.er1
6130
 
  cat conftest.err >&5
6131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132
 
  (exit $ac_status); } && {
6133
 
         test -z "$ac_f77_werror_flag" ||
6134
 
         test ! -s conftest.err
6135
 
       } && test -s conftest.$ac_objext; then
6136
 
  ac_compiler_gnu=yes
6137
 
else
6138
 
  echo "$as_me: failed program was:" >&5
6139
 
sed 's/^/| /' conftest.$ac_ext >&5
6140
 
 
6141
 
        ac_compiler_gnu=no
6142
 
fi
6143
 
 
6144
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6145
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6146
 
 
6147
 
fi
6148
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6149
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6150
 
ac_ext=$ac_save_ext
6151
 
ac_test_FFLAGS=${FFLAGS+set}
6152
 
ac_save_FFLAGS=$FFLAGS
6153
 
FFLAGS=
6154
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6155
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6156
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6157
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6158
 
else
6159
 
  FFLAGS=-g
6160
 
cat >conftest.$ac_ext <<_ACEOF
6161
 
      program main
6162
 
 
6163
 
      end
6164
 
_ACEOF
6165
 
rm -f conftest.$ac_objext
6166
 
if { (ac_try="$ac_compile"
6167
 
case "(($ac_try" in
6168
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6169
 
  *) ac_try_echo=$ac_try;;
6170
 
esac
6171
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6172
 
  (eval "$ac_compile") 2>conftest.er1
6173
 
  ac_status=$?
6174
 
  grep -v '^ *+' conftest.er1 >conftest.err
6175
 
  rm -f conftest.er1
6176
 
  cat conftest.err >&5
6177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178
 
  (exit $ac_status); } && {
6179
 
         test -z "$ac_f77_werror_flag" ||
6180
 
         test ! -s conftest.err
6181
 
       } && test -s conftest.$ac_objext; then
6182
 
  ac_cv_prog_f77_g=yes
6183
 
else
6184
 
  echo "$as_me: failed program was:" >&5
6185
 
sed 's/^/| /' conftest.$ac_ext >&5
6186
 
 
6187
 
        ac_cv_prog_f77_g=no
6188
 
fi
6189
 
 
6190
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6191
 
 
6192
 
fi
6193
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6194
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6195
 
if test "$ac_test_FFLAGS" = set; then
6196
 
  FFLAGS=$ac_save_FFLAGS
6197
 
elif test $ac_cv_prog_f77_g = yes; then
6198
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6199
 
    FFLAGS="-g -O2"
6200
 
  else
6201
 
    FFLAGS="-g"
6202
 
  fi
6203
 
else
6204
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6205
 
    FFLAGS="-O2"
6206
 
  else
6207
 
    FFLAGS=
6208
 
  fi
6209
 
fi
6210
 
 
6211
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6212
 
ac_ext=c
6213
 
ac_cpp='$CPP $CPPFLAGS'
6214
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6215
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6216
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6217
 
 
6218
 
 
6219
 
 
6220
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6221
 
 
6222
 
# find the maximum length of command line arguments
6223
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6224
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6225
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6226
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6227
 
else
6228
 
    i=0
6229
 
  teststring="ABCD"
6230
 
 
6231
 
  case $build_os in
6232
 
  msdosdjgpp*)
6233
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6234
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6235
 
    # during glob expansion).  Even if it were fixed, the result of this
6236
 
    # check would be larger than it should be.
6237
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6238
 
    ;;
6239
 
 
6240
 
  gnu*)
6241
 
    # Under GNU Hurd, this test is not required because there is
6242
 
    # no limit to the length of command line arguments.
6243
 
    # Libtool will interpret -1 as no limit whatsoever
6244
 
    lt_cv_sys_max_cmd_len=-1;
6245
 
    ;;
6246
 
 
6247
 
  cygwin* | mingw*)
6248
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6249
 
    # about 5 minutes as the teststring grows exponentially.
6250
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6251
 
    # you end up with a "frozen" computer, even though with patience
6252
 
    # the test eventually succeeds (with a max line length of 256k).
6253
 
    # Instead, let's just punt: use the minimum linelength reported by
6254
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6255
 
    lt_cv_sys_max_cmd_len=8192;
6256
 
    ;;
6257
 
 
6258
 
  amigaos*)
6259
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6260
 
    # So we just punt and use a minimum line length of 8192.
6261
 
    lt_cv_sys_max_cmd_len=8192;
6262
 
    ;;
6263
 
 
6264
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6265
 
    # This has been around since 386BSD, at least.  Likely further.
6266
 
    if test -x /sbin/sysctl; then
6267
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6268
 
    elif test -x /usr/sbin/sysctl; then
6269
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6270
 
    else
6271
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6272
 
    fi
6273
 
    # And add a safety zone
6274
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6275
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6276
 
    ;;
6277
 
 
6278
 
  interix*)
6279
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6280
 
    lt_cv_sys_max_cmd_len=196608
6281
 
    ;;
6282
 
 
6283
 
  osf*)
6284
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6285
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6286
 
    # nice to cause kernel panics so lets avoid the loop below.
6287
 
    # First set a reasonable default.
6288
 
    lt_cv_sys_max_cmd_len=16384
6289
 
    #
6290
 
    if test -x /sbin/sysconfig; then
6291
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6292
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6293
 
      esac
6294
 
    fi
6295
 
    ;;
6296
 
  sco3.2v5*)
6297
 
    lt_cv_sys_max_cmd_len=102400
6298
 
    ;;
6299
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6300
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6301
 
    if test -n "$kargmax"; then
6302
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6303
 
    else
6304
 
      lt_cv_sys_max_cmd_len=32768
6305
 
    fi
6306
 
    ;;
6307
 
  *)
6308
 
    # If test is not a shell built-in, we'll probably end up computing a
6309
 
    # maximum length that is only half of the actual maximum length, but
6310
 
    # we can't tell.
6311
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6312
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6313
 
               = "XX$teststring") >/dev/null 2>&1 &&
6314
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6315
 
            lt_cv_sys_max_cmd_len=$new_result &&
6316
 
            test $i != 17 # 1/2 MB should be enough
6317
 
    do
6318
 
      i=`expr $i + 1`
6319
 
      teststring=$teststring$teststring
6320
 
    done
6321
 
    teststring=
6322
 
    # Add a significant safety factor because C++ compilers can tack on massive
6323
 
    # amounts of additional arguments before passing them to the linker.
6324
 
    # It appears as though 1/2 is a usable value.
6325
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6326
 
    ;;
6327
 
  esac
6328
 
 
6329
 
fi
6330
 
 
6331
 
if test -n $lt_cv_sys_max_cmd_len ; then
6332
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6333
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6334
 
else
6335
 
  { echo "$as_me:$LINENO: result: none" >&5
6336
 
echo "${ECHO_T}none" >&6; }
6337
 
fi
6338
 
 
6339
 
 
6340
 
 
6341
 
 
6342
6128
# Check for command to grab the raw symbol name followed by C symbol from nm.
6343
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6344
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6345
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6346
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6130
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6131
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6132
  $as_echo_n "(cached) " >&6
6347
6133
else
6348
6134
 
6349
6135
# These are sane defaults that work on at least a few old systems.
6355
6141
# Regexp to match symbols that can be accessed directly from C.
6356
6142
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6357
6143
 
6358
 
# Transform an extracted symbol line into a proper C declaration
6359
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6360
 
 
6361
 
# Transform an extracted symbol line into symbol name and symbol address
6362
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6363
 
 
6364
6144
# Define system-specific variables.
6365
6145
case $host_os in
6366
6146
aix*)
6367
6147
  symcode='[BCDT]'
6368
6148
  ;;
6369
 
cygwin* | mingw* | pw32*)
 
6149
cygwin* | mingw* | pw32* | cegcc*)
6370
6150
  symcode='[ABCDGISTW]'
6371
6151
  ;;
6372
 
hpux*) # Its linker distinguishes data from code symbols
 
6152
hpux*)
6373
6153
  if test "$host_cpu" = ia64; then
6374
6154
    symcode='[ABCDEGRST]'
6375
6155
  fi
6376
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6377
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6378
 
  ;;
6379
 
linux* | k*bsd*-gnu)
6380
 
  if test "$host_cpu" = ia64; then
6381
 
    symcode='[ABCDGIRSTW]'
6382
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6383
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6384
 
  fi
6385
6156
  ;;
6386
6157
irix* | nonstopux*)
6387
6158
  symcode='[BCDEGRST]'
6406
6177
  ;;
6407
6178
esac
6408
6179
 
 
6180
# If we're using GNU nm, then use its standard symbol codes.
 
6181
case `$NM -V 2>&1` in
 
6182
*GNU* | *'with BFD'*)
 
6183
  symcode='[ABCDGIRSTW]' ;;
 
6184
esac
 
6185
 
 
6186
# Transform an extracted symbol line into a proper C declaration.
 
6187
# Some systems (esp. on ia64) link data and code symbols differently,
 
6188
# so use this general approach.
 
6189
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6190
 
 
6191
# Transform an extracted symbol line into symbol name and symbol address
 
6192
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6193
lt_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'"
 
6194
 
6409
6195
# Handle CRLF in mingw tool chain
6410
6196
opt_cr=
6411
6197
case $build_os in
6412
6198
mingw*)
6413
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6199
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6414
6200
  ;;
6415
6201
esac
6416
6202
 
6417
 
# If we're using GNU nm, then use its standard symbol codes.
6418
 
case `$NM -V 2>&1` in
6419
 
*GNU* | *'with BFD'*)
6420
 
  symcode='[ABCDGIRSTW]' ;;
6421
 
esac
6422
 
 
6423
 
# Try without a prefix undercore, then with it.
 
6203
# Try without a prefix underscore, then with it.
6424
6204
for ac_symprfx in "" "_"; do
6425
6205
 
6426
6206
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6427
6207
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6428
6208
 
6429
6209
  # Write the raw and C identifiers.
6430
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6210
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6211
    # Fake it for dumpbin and say T for any non-static function
 
6212
    # and D for any global variable.
 
6213
    # Also find C++ and __fastcall symbols from MSVC++,
 
6214
    # which start with @ or ?.
 
6215
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6216
"     {last_section=section; section=\$ 3};"\
 
6217
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6218
"     \$ 0!~/External *\|/{next};"\
 
6219
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6220
"     {if(hide[section]) next};"\
 
6221
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6222
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6223
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6224
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6225
"     ' prfx=^$ac_symprfx"
 
6226
  else
 
6227
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6228
  fi
6431
6229
 
6432
6230
  # Check to see that the pipe works correctly.
6433
6231
  pipe_works=no
6434
6232
 
6435
6233
  rm -f conftest*
6436
 
  cat > conftest.$ac_ext <<EOF
 
6234
  cat > conftest.$ac_ext <<_LT_EOF
6437
6235
#ifdef __cplusplus
6438
6236
extern "C" {
6439
6237
#endif
6440
6238
char nm_test_var;
6441
 
void nm_test_func(){}
 
6239
void nm_test_func(void);
 
6240
void nm_test_func(void){}
6442
6241
#ifdef __cplusplus
6443
6242
}
6444
6243
#endif
6445
6244
int main(){nm_test_var='a';nm_test_func();return(0);}
6446
 
EOF
 
6245
_LT_EOF
6447
6246
 
6448
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6247
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449
6248
  (eval $ac_compile) 2>&5
6450
6249
  ac_status=$?
6451
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452
 
  (exit $ac_status); }; then
 
6250
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6251
  test $ac_status = 0; }; then
6453
6252
    # Now try to grab the symbols.
6454
6253
    nlist=conftest.nm
6455
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6254
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6456
6255
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6457
6256
  ac_status=$?
6458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6257
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6258
  test $ac_status = 0; } && test -s "$nlist"; then
6460
6259
      # Try sorting and uniquifying the output.
6461
6260
      if sort "$nlist" | uniq > "$nlist"T; then
6462
6261
        mv -f "$nlist"T "$nlist"
6465
6264
      fi
6466
6265
 
6467
6266
      # Make sure that we snagged all the symbols we need.
6468
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6469
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6470
 
          cat <<EOF > conftest.$ac_ext
 
6267
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6268
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6269
          cat <<_LT_EOF > conftest.$ac_ext
6471
6270
#ifdef __cplusplus
6472
6271
extern "C" {
6473
6272
#endif
6474
6273
 
6475
 
EOF
 
6274
_LT_EOF
6476
6275
          # Now generate the symbol file.
6477
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6478
 
 
6479
 
          cat <<EOF >> conftest.$ac_ext
6480
 
#if defined (__STDC__) && __STDC__
6481
 
# define lt_ptr_t void *
6482
 
#else
6483
 
# define lt_ptr_t char *
6484
 
# define const
6485
 
#endif
6486
 
 
6487
 
/* The mapping between symbol names and symbols. */
 
6276
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6277
 
 
6278
          cat <<_LT_EOF >> conftest.$ac_ext
 
6279
 
 
6280
/* The mapping between symbol names and symbols.  */
6488
6281
const struct {
6489
6282
  const char *name;
6490
 
  lt_ptr_t address;
 
6283
  void       *address;
6491
6284
}
6492
 
lt_preloaded_symbols[] =
 
6285
lt__PROGRAM__LTX_preloaded_symbols[] =
6493
6286
{
6494
 
EOF
6495
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6496
 
          cat <<\EOF >> conftest.$ac_ext
6497
 
  {0, (lt_ptr_t) 0}
 
6287
  { "@PROGRAM@", (void *) 0 },
 
6288
_LT_EOF
 
6289
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6290
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6291
  {0, (void *) 0}
6498
6292
};
6499
6293
 
 
6294
/* This works around a problem in FreeBSD linker */
 
6295
#ifdef FREEBSD_WORKAROUND
 
6296
static const void *lt_preloaded_setup() {
 
6297
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6298
}
 
6299
#endif
 
6300
 
6500
6301
#ifdef __cplusplus
6501
6302
}
6502
6303
#endif
6503
 
EOF
 
6304
_LT_EOF
6504
6305
          # Now try linking the two files.
6505
6306
          mv conftest.$ac_objext conftstm.$ac_objext
6506
6307
          lt_save_LIBS="$LIBS"
6507
6308
          lt_save_CFLAGS="$CFLAGS"
6508
6309
          LIBS="conftstm.$ac_objext"
6509
6310
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6510
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6311
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6511
6312
  (eval $ac_link) 2>&5
6512
6313
  ac_status=$?
6513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6314
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6315
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6515
6316
            pipe_works=yes
6516
6317
          fi
6517
6318
          LIBS="$lt_save_LIBS"
6529
6330
    echo "$progname: failed program was:" >&5
6530
6331
    cat conftest.$ac_ext >&5
6531
6332
  fi
6532
 
  rm -f conftest* conftst*
 
6333
  rm -rf conftest* conftst*
6533
6334
 
6534
6335
  # Do not use the global_symbol_pipe unless it works.
6535
6336
  if test "$pipe_works" = yes; then
6545
6346
  lt_cv_sys_global_symbol_to_cdecl=
6546
6347
fi
6547
6348
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6548
 
  { echo "$as_me:$LINENO: result: failed" >&5
6549
 
echo "${ECHO_T}failed" >&6; }
6550
 
else
6551
 
  { echo "$as_me:$LINENO: result: ok" >&5
6552
 
echo "${ECHO_T}ok" >&6; }
6553
 
fi
6554
 
 
6555
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6556
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6557
 
if test "${lt_cv_objdir+set}" = set; then
6558
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6349
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6350
$as_echo "failed" >&6; }
 
6351
else
 
6352
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6353
$as_echo "ok" >&6; }
 
6354
fi
 
6355
 
 
6356
 
 
6357
 
 
6358
 
 
6359
 
 
6360
 
 
6361
 
 
6362
 
 
6363
 
 
6364
 
 
6365
 
 
6366
 
 
6367
 
 
6368
 
 
6369
 
 
6370
 
 
6371
 
 
6372
 
 
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
# Check whether --enable-libtool-lock was given.
 
6379
if test "${enable_libtool_lock+set}" = set; then :
 
6380
  enableval=$enable_libtool_lock;
 
6381
fi
 
6382
 
 
6383
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6384
 
 
6385
# Some flags need to be propagated to the compiler or linker for good
 
6386
# libtool support.
 
6387
case $host in
 
6388
ia64-*-hpux*)
 
6389
  # Find out which ABI we are using.
 
6390
  echo 'int i;' > conftest.$ac_ext
 
6391
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6392
  (eval $ac_compile) 2>&5
 
6393
  ac_status=$?
 
6394
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6395
  test $ac_status = 0; }; then
 
6396
    case `/usr/bin/file conftest.$ac_objext` in
 
6397
      *ELF-32*)
 
6398
        HPUX_IA64_MODE="32"
 
6399
        ;;
 
6400
      *ELF-64*)
 
6401
        HPUX_IA64_MODE="64"
 
6402
        ;;
 
6403
    esac
 
6404
  fi
 
6405
  rm -rf conftest*
 
6406
  ;;
 
6407
*-*-irix6*)
 
6408
  # Find out which ABI we are using.
 
6409
  echo '#line 6409 "configure"' > conftest.$ac_ext
 
6410
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6411
  (eval $ac_compile) 2>&5
 
6412
  ac_status=$?
 
6413
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6414
  test $ac_status = 0; }; then
 
6415
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6416
      case `/usr/bin/file conftest.$ac_objext` in
 
6417
        *32-bit*)
 
6418
          LD="${LD-ld} -melf32bsmip"
 
6419
          ;;
 
6420
        *N32*)
 
6421
          LD="${LD-ld} -melf32bmipn32"
 
6422
          ;;
 
6423
        *64-bit*)
 
6424
          LD="${LD-ld} -melf64bmip"
 
6425
        ;;
 
6426
      esac
 
6427
    else
 
6428
      case `/usr/bin/file conftest.$ac_objext` in
 
6429
        *32-bit*)
 
6430
          LD="${LD-ld} -32"
 
6431
          ;;
 
6432
        *N32*)
 
6433
          LD="${LD-ld} -n32"
 
6434
          ;;
 
6435
        *64-bit*)
 
6436
          LD="${LD-ld} -64"
 
6437
          ;;
 
6438
      esac
 
6439
    fi
 
6440
  fi
 
6441
  rm -rf conftest*
 
6442
  ;;
 
6443
 
 
6444
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6445
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6446
  # Find out which ABI we are using.
 
6447
  echo 'int i;' > conftest.$ac_ext
 
6448
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6449
  (eval $ac_compile) 2>&5
 
6450
  ac_status=$?
 
6451
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6452
  test $ac_status = 0; }; then
 
6453
    case `/usr/bin/file conftest.o` in
 
6454
      *32-bit*)
 
6455
        case $host in
 
6456
          x86_64-*kfreebsd*-gnu)
 
6457
            LD="${LD-ld} -m elf_i386_fbsd"
 
6458
            ;;
 
6459
          x86_64-*linux*)
 
6460
            LD="${LD-ld} -m elf_i386"
 
6461
            ;;
 
6462
          ppc64-*linux*|powerpc64-*linux*)
 
6463
            LD="${LD-ld} -m elf32ppclinux"
 
6464
            ;;
 
6465
          s390x-*linux*)
 
6466
            LD="${LD-ld} -m elf_s390"
 
6467
            ;;
 
6468
          sparc64-*linux*)
 
6469
            LD="${LD-ld} -m elf32_sparc"
 
6470
            ;;
 
6471
        esac
 
6472
        ;;
 
6473
      *64-bit*)
 
6474
        case $host in
 
6475
          x86_64-*kfreebsd*-gnu)
 
6476
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6477
            ;;
 
6478
          x86_64-*linux*)
 
6479
            LD="${LD-ld} -m elf_x86_64"
 
6480
            ;;
 
6481
          ppc*-*linux*|powerpc*-*linux*)
 
6482
            LD="${LD-ld} -m elf64ppc"
 
6483
            ;;
 
6484
          s390*-*linux*|s390*-*tpf*)
 
6485
            LD="${LD-ld} -m elf64_s390"
 
6486
            ;;
 
6487
          sparc*-*linux*)
 
6488
            LD="${LD-ld} -m elf64_sparc"
 
6489
            ;;
 
6490
        esac
 
6491
        ;;
 
6492
    esac
 
6493
  fi
 
6494
  rm -rf conftest*
 
6495
  ;;
 
6496
 
 
6497
*-*-sco3.2v5*)
 
6498
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6499
  SAVE_CFLAGS="$CFLAGS"
 
6500
  CFLAGS="$CFLAGS -belf"
 
6501
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6502
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6503
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6504
  $as_echo_n "(cached) " >&6
 
6505
else
 
6506
  ac_ext=c
 
6507
ac_cpp='$CPP $CPPFLAGS'
 
6508
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6509
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6510
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6511
 
 
6512
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6513
/* end confdefs.h.  */
 
6514
 
 
6515
int
 
6516
main ()
 
6517
{
 
6518
 
 
6519
  ;
 
6520
  return 0;
 
6521
}
 
6522
_ACEOF
 
6523
if ac_fn_c_try_link "$LINENO"; then :
 
6524
  lt_cv_cc_needs_belf=yes
 
6525
else
 
6526
  lt_cv_cc_needs_belf=no
 
6527
fi
 
6528
rm -f core conftest.err conftest.$ac_objext \
 
6529
    conftest$ac_exeext conftest.$ac_ext
 
6530
     ac_ext=c
 
6531
ac_cpp='$CPP $CPPFLAGS'
 
6532
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6533
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6534
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6535
 
 
6536
fi
 
6537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6538
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6539
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6540
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6541
    CFLAGS="$SAVE_CFLAGS"
 
6542
  fi
 
6543
  ;;
 
6544
sparc*-*solaris*)
 
6545
  # Find out which ABI we are using.
 
6546
  echo 'int i;' > conftest.$ac_ext
 
6547
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6548
  (eval $ac_compile) 2>&5
 
6549
  ac_status=$?
 
6550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6551
  test $ac_status = 0; }; then
 
6552
    case `/usr/bin/file conftest.o` in
 
6553
    *64-bit*)
 
6554
      case $lt_cv_prog_gnu_ld in
 
6555
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6556
      *)
 
6557
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6558
          LD="${LD-ld} -64"
 
6559
        fi
 
6560
        ;;
 
6561
      esac
 
6562
      ;;
 
6563
    esac
 
6564
  fi
 
6565
  rm -rf conftest*
 
6566
  ;;
 
6567
esac
 
6568
 
 
6569
need_locks="$enable_libtool_lock"
 
6570
 
 
6571
 
 
6572
  case $host_os in
 
6573
    rhapsody* | darwin*)
 
6574
    if test -n "$ac_tool_prefix"; then
 
6575
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6576
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6578
$as_echo_n "checking for $ac_word... " >&6; }
 
6579
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6580
  $as_echo_n "(cached) " >&6
 
6581
else
 
6582
  if test -n "$DSYMUTIL"; then
 
6583
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6584
else
 
6585
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6586
for as_dir in $PATH
 
6587
do
 
6588
  IFS=$as_save_IFS
 
6589
  test -z "$as_dir" && as_dir=.
 
6590
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6591
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6592
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6593
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6594
    break 2
 
6595
  fi
 
6596
done
 
6597
  done
 
6598
IFS=$as_save_IFS
 
6599
 
 
6600
fi
 
6601
fi
 
6602
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6603
if test -n "$DSYMUTIL"; then
 
6604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6605
$as_echo "$DSYMUTIL" >&6; }
 
6606
else
 
6607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6608
$as_echo "no" >&6; }
 
6609
fi
 
6610
 
 
6611
 
 
6612
fi
 
6613
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6614
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6615
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6616
set dummy dsymutil; ac_word=$2
 
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6618
$as_echo_n "checking for $ac_word... " >&6; }
 
6619
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6620
  $as_echo_n "(cached) " >&6
 
6621
else
 
6622
  if test -n "$ac_ct_DSYMUTIL"; then
 
6623
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6624
else
 
6625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6626
for as_dir in $PATH
 
6627
do
 
6628
  IFS=$as_save_IFS
 
6629
  test -z "$as_dir" && as_dir=.
 
6630
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6632
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6633
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6634
    break 2
 
6635
  fi
 
6636
done
 
6637
  done
 
6638
IFS=$as_save_IFS
 
6639
 
 
6640
fi
 
6641
fi
 
6642
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6643
if test -n "$ac_ct_DSYMUTIL"; then
 
6644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6645
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6646
else
 
6647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6648
$as_echo "no" >&6; }
 
6649
fi
 
6650
 
 
6651
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6652
    DSYMUTIL=":"
 
6653
  else
 
6654
    case $cross_compiling:$ac_tool_warned in
 
6655
yes:)
 
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6657
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6658
ac_tool_warned=yes ;;
 
6659
esac
 
6660
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6661
  fi
 
6662
else
 
6663
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6664
fi
 
6665
 
 
6666
    if test -n "$ac_tool_prefix"; then
 
6667
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6668
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6670
$as_echo_n "checking for $ac_word... " >&6; }
 
6671
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6672
  $as_echo_n "(cached) " >&6
 
6673
else
 
6674
  if test -n "$NMEDIT"; then
 
6675
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6676
else
 
6677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6678
for as_dir in $PATH
 
6679
do
 
6680
  IFS=$as_save_IFS
 
6681
  test -z "$as_dir" && as_dir=.
 
6682
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6684
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6685
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6686
    break 2
 
6687
  fi
 
6688
done
 
6689
  done
 
6690
IFS=$as_save_IFS
 
6691
 
 
6692
fi
 
6693
fi
 
6694
NMEDIT=$ac_cv_prog_NMEDIT
 
6695
if test -n "$NMEDIT"; then
 
6696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6697
$as_echo "$NMEDIT" >&6; }
 
6698
else
 
6699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6700
$as_echo "no" >&6; }
 
6701
fi
 
6702
 
 
6703
 
 
6704
fi
 
6705
if test -z "$ac_cv_prog_NMEDIT"; then
 
6706
  ac_ct_NMEDIT=$NMEDIT
 
6707
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6708
set dummy nmedit; ac_word=$2
 
6709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6710
$as_echo_n "checking for $ac_word... " >&6; }
 
6711
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6712
  $as_echo_n "(cached) " >&6
 
6713
else
 
6714
  if test -n "$ac_ct_NMEDIT"; then
 
6715
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6716
else
 
6717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6718
for as_dir in $PATH
 
6719
do
 
6720
  IFS=$as_save_IFS
 
6721
  test -z "$as_dir" && as_dir=.
 
6722
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6724
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6725
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6726
    break 2
 
6727
  fi
 
6728
done
 
6729
  done
 
6730
IFS=$as_save_IFS
 
6731
 
 
6732
fi
 
6733
fi
 
6734
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6735
if test -n "$ac_ct_NMEDIT"; then
 
6736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6737
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6738
else
 
6739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6740
$as_echo "no" >&6; }
 
6741
fi
 
6742
 
 
6743
  if test "x$ac_ct_NMEDIT" = x; then
 
6744
    NMEDIT=":"
 
6745
  else
 
6746
    case $cross_compiling:$ac_tool_warned in
 
6747
yes:)
 
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6749
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6750
ac_tool_warned=yes ;;
 
6751
esac
 
6752
    NMEDIT=$ac_ct_NMEDIT
 
6753
  fi
 
6754
else
 
6755
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6756
fi
 
6757
 
 
6758
    if test -n "$ac_tool_prefix"; then
 
6759
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6760
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6762
$as_echo_n "checking for $ac_word... " >&6; }
 
6763
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6764
  $as_echo_n "(cached) " >&6
 
6765
else
 
6766
  if test -n "$LIPO"; then
 
6767
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6768
else
 
6769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6770
for as_dir in $PATH
 
6771
do
 
6772
  IFS=$as_save_IFS
 
6773
  test -z "$as_dir" && as_dir=.
 
6774
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6776
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6778
    break 2
 
6779
  fi
 
6780
done
 
6781
  done
 
6782
IFS=$as_save_IFS
 
6783
 
 
6784
fi
 
6785
fi
 
6786
LIPO=$ac_cv_prog_LIPO
 
6787
if test -n "$LIPO"; then
 
6788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6789
$as_echo "$LIPO" >&6; }
 
6790
else
 
6791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6792
$as_echo "no" >&6; }
 
6793
fi
 
6794
 
 
6795
 
 
6796
fi
 
6797
if test -z "$ac_cv_prog_LIPO"; then
 
6798
  ac_ct_LIPO=$LIPO
 
6799
  # Extract the first word of "lipo", so it can be a program name with args.
 
6800
set dummy lipo; ac_word=$2
 
6801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6802
$as_echo_n "checking for $ac_word... " >&6; }
 
6803
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6804
  $as_echo_n "(cached) " >&6
 
6805
else
 
6806
  if test -n "$ac_ct_LIPO"; then
 
6807
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6808
else
 
6809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6810
for as_dir in $PATH
 
6811
do
 
6812
  IFS=$as_save_IFS
 
6813
  test -z "$as_dir" && as_dir=.
 
6814
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6816
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6818
    break 2
 
6819
  fi
 
6820
done
 
6821
  done
 
6822
IFS=$as_save_IFS
 
6823
 
 
6824
fi
 
6825
fi
 
6826
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6827
if test -n "$ac_ct_LIPO"; then
 
6828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6829
$as_echo "$ac_ct_LIPO" >&6; }
 
6830
else
 
6831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6832
$as_echo "no" >&6; }
 
6833
fi
 
6834
 
 
6835
  if test "x$ac_ct_LIPO" = x; then
 
6836
    LIPO=":"
 
6837
  else
 
6838
    case $cross_compiling:$ac_tool_warned in
 
6839
yes:)
 
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6842
ac_tool_warned=yes ;;
 
6843
esac
 
6844
    LIPO=$ac_ct_LIPO
 
6845
  fi
 
6846
else
 
6847
  LIPO="$ac_cv_prog_LIPO"
 
6848
fi
 
6849
 
 
6850
    if test -n "$ac_tool_prefix"; then
 
6851
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6852
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6854
$as_echo_n "checking for $ac_word... " >&6; }
 
6855
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6856
  $as_echo_n "(cached) " >&6
 
6857
else
 
6858
  if test -n "$OTOOL"; then
 
6859
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6860
else
 
6861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6862
for as_dir in $PATH
 
6863
do
 
6864
  IFS=$as_save_IFS
 
6865
  test -z "$as_dir" && as_dir=.
 
6866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6868
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6870
    break 2
 
6871
  fi
 
6872
done
 
6873
  done
 
6874
IFS=$as_save_IFS
 
6875
 
 
6876
fi
 
6877
fi
 
6878
OTOOL=$ac_cv_prog_OTOOL
 
6879
if test -n "$OTOOL"; then
 
6880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6881
$as_echo "$OTOOL" >&6; }
 
6882
else
 
6883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6884
$as_echo "no" >&6; }
 
6885
fi
 
6886
 
 
6887
 
 
6888
fi
 
6889
if test -z "$ac_cv_prog_OTOOL"; then
 
6890
  ac_ct_OTOOL=$OTOOL
 
6891
  # Extract the first word of "otool", so it can be a program name with args.
 
6892
set dummy otool; ac_word=$2
 
6893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6894
$as_echo_n "checking for $ac_word... " >&6; }
 
6895
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6896
  $as_echo_n "(cached) " >&6
 
6897
else
 
6898
  if test -n "$ac_ct_OTOOL"; then
 
6899
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6900
else
 
6901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6902
for as_dir in $PATH
 
6903
do
 
6904
  IFS=$as_save_IFS
 
6905
  test -z "$as_dir" && as_dir=.
 
6906
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6907
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6908
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6909
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6910
    break 2
 
6911
  fi
 
6912
done
 
6913
  done
 
6914
IFS=$as_save_IFS
 
6915
 
 
6916
fi
 
6917
fi
 
6918
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6919
if test -n "$ac_ct_OTOOL"; then
 
6920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6921
$as_echo "$ac_ct_OTOOL" >&6; }
 
6922
else
 
6923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6924
$as_echo "no" >&6; }
 
6925
fi
 
6926
 
 
6927
  if test "x$ac_ct_OTOOL" = x; then
 
6928
    OTOOL=":"
 
6929
  else
 
6930
    case $cross_compiling:$ac_tool_warned in
 
6931
yes:)
 
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6933
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6934
ac_tool_warned=yes ;;
 
6935
esac
 
6936
    OTOOL=$ac_ct_OTOOL
 
6937
  fi
 
6938
else
 
6939
  OTOOL="$ac_cv_prog_OTOOL"
 
6940
fi
 
6941
 
 
6942
    if test -n "$ac_tool_prefix"; then
 
6943
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6944
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6946
$as_echo_n "checking for $ac_word... " >&6; }
 
6947
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6948
  $as_echo_n "(cached) " >&6
 
6949
else
 
6950
  if test -n "$OTOOL64"; then
 
6951
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6952
else
 
6953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6954
for as_dir in $PATH
 
6955
do
 
6956
  IFS=$as_save_IFS
 
6957
  test -z "$as_dir" && as_dir=.
 
6958
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6959
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6960
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6961
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6962
    break 2
 
6963
  fi
 
6964
done
 
6965
  done
 
6966
IFS=$as_save_IFS
 
6967
 
 
6968
fi
 
6969
fi
 
6970
OTOOL64=$ac_cv_prog_OTOOL64
 
6971
if test -n "$OTOOL64"; then
 
6972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
6973
$as_echo "$OTOOL64" >&6; }
 
6974
else
 
6975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6976
$as_echo "no" >&6; }
 
6977
fi
 
6978
 
 
6979
 
 
6980
fi
 
6981
if test -z "$ac_cv_prog_OTOOL64"; then
 
6982
  ac_ct_OTOOL64=$OTOOL64
 
6983
  # Extract the first word of "otool64", so it can be a program name with args.
 
6984
set dummy otool64; ac_word=$2
 
6985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6986
$as_echo_n "checking for $ac_word... " >&6; }
 
6987
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6988
  $as_echo_n "(cached) " >&6
 
6989
else
 
6990
  if test -n "$ac_ct_OTOOL64"; then
 
6991
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6992
else
 
6993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6994
for as_dir in $PATH
 
6995
do
 
6996
  IFS=$as_save_IFS
 
6997
  test -z "$as_dir" && as_dir=.
 
6998
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7000
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7001
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7002
    break 2
 
7003
  fi
 
7004
done
 
7005
  done
 
7006
IFS=$as_save_IFS
 
7007
 
 
7008
fi
 
7009
fi
 
7010
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7011
if test -n "$ac_ct_OTOOL64"; then
 
7012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7013
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7014
else
 
7015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7016
$as_echo "no" >&6; }
 
7017
fi
 
7018
 
 
7019
  if test "x$ac_ct_OTOOL64" = x; then
 
7020
    OTOOL64=":"
 
7021
  else
 
7022
    case $cross_compiling:$ac_tool_warned in
 
7023
yes:)
 
7024
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7025
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7026
ac_tool_warned=yes ;;
 
7027
esac
 
7028
    OTOOL64=$ac_ct_OTOOL64
 
7029
  fi
 
7030
else
 
7031
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7032
fi
 
7033
 
 
7034
 
 
7035
 
 
7036
 
 
7037
 
 
7038
 
 
7039
 
 
7040
 
 
7041
 
 
7042
 
 
7043
 
 
7044
 
 
7045
 
 
7046
 
 
7047
 
 
7048
 
 
7049
 
 
7050
 
 
7051
 
 
7052
 
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7061
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7062
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7063
  $as_echo_n "(cached) " >&6
 
7064
else
 
7065
  lt_cv_apple_cc_single_mod=no
 
7066
      if test -z "${LT_MULTI_MODULE}"; then
 
7067
        # By default we will add the -single_module flag. You can override
 
7068
        # by either setting the environment variable LT_MULTI_MODULE
 
7069
        # non-empty at configure time, or by adding -multi_module to the
 
7070
        # link flags.
 
7071
        rm -rf libconftest.dylib*
 
7072
        echo "int foo(void){return 1;}" > conftest.c
 
7073
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7074
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7075
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7076
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7077
        _lt_result=$?
 
7078
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7079
          lt_cv_apple_cc_single_mod=yes
 
7080
        else
 
7081
          cat conftest.err >&5
 
7082
        fi
 
7083
        rm -rf libconftest.dylib*
 
7084
        rm -f conftest.*
 
7085
      fi
 
7086
fi
 
7087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7088
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7089
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7090
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7091
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7092
  $as_echo_n "(cached) " >&6
 
7093
else
 
7094
  lt_cv_ld_exported_symbols_list=no
 
7095
      save_LDFLAGS=$LDFLAGS
 
7096
      echo "_main" > conftest.sym
 
7097
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7098
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7099
/* end confdefs.h.  */
 
7100
 
 
7101
int
 
7102
main ()
 
7103
{
 
7104
 
 
7105
  ;
 
7106
  return 0;
 
7107
}
 
7108
_ACEOF
 
7109
if ac_fn_c_try_link "$LINENO"; then :
 
7110
  lt_cv_ld_exported_symbols_list=yes
 
7111
else
 
7112
  lt_cv_ld_exported_symbols_list=no
 
7113
fi
 
7114
rm -f core conftest.err conftest.$ac_objext \
 
7115
    conftest$ac_exeext conftest.$ac_ext
 
7116
        LDFLAGS="$save_LDFLAGS"
 
7117
 
 
7118
fi
 
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7120
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7121
    case $host_os in
 
7122
    rhapsody* | darwin1.[012])
 
7123
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7124
    darwin1.*)
 
7125
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7126
    darwin*) # darwin 5.x on
 
7127
      # if running on 10.5 or later, the deployment target defaults
 
7128
      # to the OS version, if on x86, and 10.4, the deployment
 
7129
      # target defaults to 10.4. Don't you love it?
 
7130
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7131
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7132
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7133
        10.[012]*)
 
7134
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7135
        10.*)
 
7136
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7137
      esac
 
7138
    ;;
 
7139
  esac
 
7140
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7141
      _lt_dar_single_mod='$single_module'
 
7142
    fi
 
7143
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7144
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7145
    else
 
7146
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7147
    fi
 
7148
    if test "$DSYMUTIL" != ":"; then
 
7149
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7150
    else
 
7151
      _lt_dsymutil=
 
7152
    fi
 
7153
    ;;
 
7154
  esac
 
7155
 
 
7156
ac_ext=c
 
7157
ac_cpp='$CPP $CPPFLAGS'
 
7158
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7159
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7160
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7162
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7163
# On Suns, sometimes $CPP names a directory.
 
7164
if test -n "$CPP" && test -d "$CPP"; then
 
7165
  CPP=
 
7166
fi
 
7167
if test -z "$CPP"; then
 
7168
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7169
  $as_echo_n "(cached) " >&6
 
7170
else
 
7171
      # Double quotes because CPP needs to be expanded
 
7172
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7173
    do
 
7174
      ac_preproc_ok=false
 
7175
for ac_c_preproc_warn_flag in '' yes
 
7176
do
 
7177
  # Use a header file that comes with gcc, so configuring glibc
 
7178
  # with a fresh cross-compiler works.
 
7179
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7180
  # <limits.h> exists even on freestanding compilers.
 
7181
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7182
  # not just through cpp. "Syntax error" is here to catch this case.
 
7183
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7184
/* end confdefs.h.  */
 
7185
#ifdef __STDC__
 
7186
# include <limits.h>
 
7187
#else
 
7188
# include <assert.h>
 
7189
#endif
 
7190
                     Syntax error
 
7191
_ACEOF
 
7192
if ac_fn_c_try_cpp "$LINENO"; then :
 
7193
 
 
7194
else
 
7195
  # Broken: fails on valid input.
 
7196
continue
 
7197
fi
 
7198
rm -f conftest.err conftest.$ac_ext
 
7199
 
 
7200
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7201
  # can be detected and how.
 
7202
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7203
/* end confdefs.h.  */
 
7204
#include <ac_nonexistent.h>
 
7205
_ACEOF
 
7206
if ac_fn_c_try_cpp "$LINENO"; then :
 
7207
  # Broken: success on invalid input.
 
7208
continue
 
7209
else
 
7210
  # Passes both tests.
 
7211
ac_preproc_ok=:
 
7212
break
 
7213
fi
 
7214
rm -f conftest.err conftest.$ac_ext
 
7215
 
 
7216
done
 
7217
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7218
rm -f conftest.err conftest.$ac_ext
 
7219
if $ac_preproc_ok; then :
 
7220
  break
 
7221
fi
 
7222
 
 
7223
    done
 
7224
    ac_cv_prog_CPP=$CPP
 
7225
 
 
7226
fi
 
7227
  CPP=$ac_cv_prog_CPP
 
7228
else
 
7229
  ac_cv_prog_CPP=$CPP
 
7230
fi
 
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7232
$as_echo "$CPP" >&6; }
 
7233
ac_preproc_ok=false
 
7234
for ac_c_preproc_warn_flag in '' yes
 
7235
do
 
7236
  # Use a header file that comes with gcc, so configuring glibc
 
7237
  # with a fresh cross-compiler works.
 
7238
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7239
  # <limits.h> exists even on freestanding compilers.
 
7240
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7241
  # not just through cpp. "Syntax error" is here to catch this case.
 
7242
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7243
/* end confdefs.h.  */
 
7244
#ifdef __STDC__
 
7245
# include <limits.h>
 
7246
#else
 
7247
# include <assert.h>
 
7248
#endif
 
7249
                     Syntax error
 
7250
_ACEOF
 
7251
if ac_fn_c_try_cpp "$LINENO"; then :
 
7252
 
 
7253
else
 
7254
  # Broken: fails on valid input.
 
7255
continue
 
7256
fi
 
7257
rm -f conftest.err conftest.$ac_ext
 
7258
 
 
7259
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7260
  # can be detected and how.
 
7261
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7262
/* end confdefs.h.  */
 
7263
#include <ac_nonexistent.h>
 
7264
_ACEOF
 
7265
if ac_fn_c_try_cpp "$LINENO"; then :
 
7266
  # Broken: success on invalid input.
 
7267
continue
 
7268
else
 
7269
  # Passes both tests.
 
7270
ac_preproc_ok=:
 
7271
break
 
7272
fi
 
7273
rm -f conftest.err conftest.$ac_ext
 
7274
 
 
7275
done
 
7276
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7277
rm -f conftest.err conftest.$ac_ext
 
7278
if $ac_preproc_ok; then :
 
7279
 
 
7280
else
 
7281
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7282
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7283
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7284
See \`config.log' for more details." "$LINENO" 5; }
 
7285
fi
 
7286
 
 
7287
ac_ext=c
 
7288
ac_cpp='$CPP $CPPFLAGS'
 
7289
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7290
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7291
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7292
 
 
7293
 
 
7294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7295
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7296
if test "${ac_cv_header_stdc+set}" = set; then :
 
7297
  $as_echo_n "(cached) " >&6
 
7298
else
 
7299
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7300
/* end confdefs.h.  */
 
7301
#include <stdlib.h>
 
7302
#include <stdarg.h>
 
7303
#include <string.h>
 
7304
#include <float.h>
 
7305
 
 
7306
int
 
7307
main ()
 
7308
{
 
7309
 
 
7310
  ;
 
7311
  return 0;
 
7312
}
 
7313
_ACEOF
 
7314
if ac_fn_c_try_compile "$LINENO"; then :
 
7315
  ac_cv_header_stdc=yes
 
7316
else
 
7317
  ac_cv_header_stdc=no
 
7318
fi
 
7319
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7320
 
 
7321
if test $ac_cv_header_stdc = yes; then
 
7322
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7323
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7324
/* end confdefs.h.  */
 
7325
#include <string.h>
 
7326
 
 
7327
_ACEOF
 
7328
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7329
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7330
 
 
7331
else
 
7332
  ac_cv_header_stdc=no
 
7333
fi
 
7334
rm -f conftest*
 
7335
 
 
7336
fi
 
7337
 
 
7338
if test $ac_cv_header_stdc = yes; then
 
7339
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7340
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7341
/* end confdefs.h.  */
 
7342
#include <stdlib.h>
 
7343
 
 
7344
_ACEOF
 
7345
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7346
  $EGREP "free" >/dev/null 2>&1; then :
 
7347
 
 
7348
else
 
7349
  ac_cv_header_stdc=no
 
7350
fi
 
7351
rm -f conftest*
 
7352
 
 
7353
fi
 
7354
 
 
7355
if test $ac_cv_header_stdc = yes; then
 
7356
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7357
  if test "$cross_compiling" = yes; then :
 
7358
  :
 
7359
else
 
7360
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7361
/* end confdefs.h.  */
 
7362
#include <ctype.h>
 
7363
#include <stdlib.h>
 
7364
#if ((' ' & 0x0FF) == 0x020)
 
7365
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7366
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7367
#else
 
7368
# define ISLOWER(c) \
 
7369
                   (('a' <= (c) && (c) <= 'i') \
 
7370
                     || ('j' <= (c) && (c) <= 'r') \
 
7371
                     || ('s' <= (c) && (c) <= 'z'))
 
7372
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7373
#endif
 
7374
 
 
7375
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7376
int
 
7377
main ()
 
7378
{
 
7379
  int i;
 
7380
  for (i = 0; i < 256; i++)
 
7381
    if (XOR (islower (i), ISLOWER (i))
 
7382
        || toupper (i) != TOUPPER (i))
 
7383
      return 2;
 
7384
  return 0;
 
7385
}
 
7386
_ACEOF
 
7387
if ac_fn_c_try_run "$LINENO"; then :
 
7388
 
 
7389
else
 
7390
  ac_cv_header_stdc=no
 
7391
fi
 
7392
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7393
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7394
fi
 
7395
 
 
7396
fi
 
7397
fi
 
7398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7399
$as_echo "$ac_cv_header_stdc" >&6; }
 
7400
if test $ac_cv_header_stdc = yes; then
 
7401
 
 
7402
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7403
 
 
7404
fi
 
7405
 
 
7406
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7407
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7408
                  inttypes.h stdint.h unistd.h
 
7409
do :
 
7410
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7411
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7412
"
 
7413
eval as_val=\$$as_ac_Header
 
7414
   if test "x$as_val" = x""yes; then :
 
7415
  cat >>confdefs.h <<_ACEOF
 
7416
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7417
_ACEOF
 
7418
 
 
7419
fi
 
7420
 
 
7421
done
 
7422
 
 
7423
 
 
7424
for ac_header in dlfcn.h
 
7425
do :
 
7426
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7427
"
 
7428
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7429
  cat >>confdefs.h <<_ACEOF
 
7430
#define HAVE_DLFCN_H 1
 
7431
_ACEOF
 
7432
 
 
7433
fi
 
7434
 
 
7435
done
 
7436
 
 
7437
 
 
7438
 
 
7439
ac_ext=cpp
 
7440
ac_cpp='$CXXCPP $CPPFLAGS'
 
7441
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7442
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7443
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7444
if test -z "$CXX"; then
 
7445
  if test -n "$CCC"; then
 
7446
    CXX=$CCC
 
7447
  else
 
7448
    if test -n "$ac_tool_prefix"; then
 
7449
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7450
  do
 
7451
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7452
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7454
$as_echo_n "checking for $ac_word... " >&6; }
 
7455
if test "${ac_cv_prog_CXX+set}" = set; then :
 
7456
  $as_echo_n "(cached) " >&6
 
7457
else
 
7458
  if test -n "$CXX"; then
 
7459
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
7460
else
 
7461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7462
for as_dir in $PATH
 
7463
do
 
7464
  IFS=$as_save_IFS
 
7465
  test -z "$as_dir" && as_dir=.
 
7466
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7468
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
7469
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7470
    break 2
 
7471
  fi
 
7472
done
 
7473
  done
 
7474
IFS=$as_save_IFS
 
7475
 
 
7476
fi
 
7477
fi
 
7478
CXX=$ac_cv_prog_CXX
 
7479
if test -n "$CXX"; then
 
7480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
7481
$as_echo "$CXX" >&6; }
 
7482
else
 
7483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7484
$as_echo "no" >&6; }
 
7485
fi
 
7486
 
 
7487
 
 
7488
    test -n "$CXX" && break
 
7489
  done
 
7490
fi
 
7491
if test -z "$CXX"; then
 
7492
  ac_ct_CXX=$CXX
 
7493
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7494
do
 
7495
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7496
set dummy $ac_prog; ac_word=$2
 
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7498
$as_echo_n "checking for $ac_word... " >&6; }
 
7499
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
7500
  $as_echo_n "(cached) " >&6
 
7501
else
 
7502
  if test -n "$ac_ct_CXX"; then
 
7503
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
7504
else
 
7505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7506
for as_dir in $PATH
 
7507
do
 
7508
  IFS=$as_save_IFS
 
7509
  test -z "$as_dir" && as_dir=.
 
7510
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7512
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
7513
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7514
    break 2
 
7515
  fi
 
7516
done
 
7517
  done
 
7518
IFS=$as_save_IFS
 
7519
 
 
7520
fi
 
7521
fi
 
7522
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
7523
if test -n "$ac_ct_CXX"; then
 
7524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
7525
$as_echo "$ac_ct_CXX" >&6; }
 
7526
else
 
7527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7528
$as_echo "no" >&6; }
 
7529
fi
 
7530
 
 
7531
 
 
7532
  test -n "$ac_ct_CXX" && break
 
7533
done
 
7534
 
 
7535
  if test "x$ac_ct_CXX" = x; then
 
7536
    CXX="g++"
 
7537
  else
 
7538
    case $cross_compiling:$ac_tool_warned in
 
7539
yes:)
 
7540
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7541
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7542
ac_tool_warned=yes ;;
 
7543
esac
 
7544
    CXX=$ac_ct_CXX
 
7545
  fi
 
7546
fi
 
7547
 
 
7548
  fi
 
7549
fi
 
7550
# Provide some information about the compiler.
 
7551
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
7552
set X $ac_compile
 
7553
ac_compiler=$2
 
7554
for ac_option in --version -v -V -qversion; do
 
7555
  { { ac_try="$ac_compiler $ac_option >&5"
 
7556
case "(($ac_try" in
 
7557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7558
  *) ac_try_echo=$ac_try;;
 
7559
esac
 
7560
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
7561
$as_echo "$ac_try_echo"; } >&5
 
7562
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
7563
  ac_status=$?
 
7564
  if test -s conftest.err; then
 
7565
    sed '10a\
 
7566
... rest of stderr output deleted ...
 
7567
         10q' conftest.err >conftest.er1
 
7568
    cat conftest.er1 >&5
 
7569
    rm -f conftest.er1 conftest.err
 
7570
  fi
 
7571
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7572
  test $ac_status = 0; }
 
7573
done
 
7574
 
 
7575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
7576
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
7577
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
7578
  $as_echo_n "(cached) " >&6
 
7579
else
 
7580
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7581
/* end confdefs.h.  */
 
7582
 
 
7583
int
 
7584
main ()
 
7585
{
 
7586
#ifndef __GNUC__
 
7587
       choke me
 
7588
#endif
 
7589
 
 
7590
  ;
 
7591
  return 0;
 
7592
}
 
7593
_ACEOF
 
7594
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7595
  ac_compiler_gnu=yes
 
7596
else
 
7597
  ac_compiler_gnu=no
 
7598
fi
 
7599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7600
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
7601
 
 
7602
fi
 
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
7604
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
7605
if test $ac_compiler_gnu = yes; then
 
7606
  GXX=yes
 
7607
else
 
7608
  GXX=
 
7609
fi
 
7610
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
7611
ac_save_CXXFLAGS=$CXXFLAGS
 
7612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
7613
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
7614
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
7615
  $as_echo_n "(cached) " >&6
 
7616
else
 
7617
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
7618
   ac_cxx_werror_flag=yes
 
7619
   ac_cv_prog_cxx_g=no
 
7620
   CXXFLAGS="-g"
 
7621
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7622
/* end confdefs.h.  */
 
7623
 
 
7624
int
 
7625
main ()
 
7626
{
 
7627
 
 
7628
  ;
 
7629
  return 0;
 
7630
}
 
7631
_ACEOF
 
7632
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7633
  ac_cv_prog_cxx_g=yes
 
7634
else
 
7635
  CXXFLAGS=""
 
7636
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7637
/* end confdefs.h.  */
 
7638
 
 
7639
int
 
7640
main ()
 
7641
{
 
7642
 
 
7643
  ;
 
7644
  return 0;
 
7645
}
 
7646
_ACEOF
 
7647
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7648
 
 
7649
else
 
7650
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7651
         CXXFLAGS="-g"
 
7652
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7653
/* end confdefs.h.  */
 
7654
 
 
7655
int
 
7656
main ()
 
7657
{
 
7658
 
 
7659
  ;
 
7660
  return 0;
 
7661
}
 
7662
_ACEOF
 
7663
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7664
  ac_cv_prog_cxx_g=yes
 
7665
fi
 
7666
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7667
fi
 
7668
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7669
fi
 
7670
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7671
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7672
fi
 
7673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
7674
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
7675
if test "$ac_test_CXXFLAGS" = set; then
 
7676
  CXXFLAGS=$ac_save_CXXFLAGS
 
7677
elif test $ac_cv_prog_cxx_g = yes; then
 
7678
  if test "$GXX" = yes; then
 
7679
    CXXFLAGS="-g -O2"
 
7680
  else
 
7681
    CXXFLAGS="-g"
 
7682
  fi
 
7683
else
 
7684
  if test "$GXX" = yes; then
 
7685
    CXXFLAGS="-O2"
 
7686
  else
 
7687
    CXXFLAGS=
 
7688
  fi
 
7689
fi
 
7690
ac_ext=c
 
7691
ac_cpp='$CPP $CPPFLAGS'
 
7692
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7693
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7694
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7695
 
 
7696
depcc="$CXX"  am_compiler_list=
 
7697
 
 
7698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
7699
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
7700
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
7701
  $as_echo_n "(cached) " >&6
 
7702
else
 
7703
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
7704
  # We make a subdir and do the tests there.  Otherwise we can end up
 
7705
  # making bogus files that we don't know about and never remove.  For
 
7706
  # instance it was reported that on HP-UX the gcc test will end up
 
7707
  # making a dummy file named `D' -- because `-MD' means `put the output
 
7708
  # in D'.
 
7709
  mkdir conftest.dir
 
7710
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
7711
  # using a relative directory.
 
7712
  cp "$am_depcomp" conftest.dir
 
7713
  cd conftest.dir
 
7714
  # We will build objects and dependencies in a subdirectory because
 
7715
  # it helps to detect inapplicable dependency modes.  For instance
 
7716
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
7717
  # side effect of compilation, but ICC will put the dependencies in
 
7718
  # the current directory while Tru64 will put them in the object
 
7719
  # directory.
 
7720
  mkdir sub
 
7721
 
 
7722
  am_cv_CXX_dependencies_compiler_type=none
 
7723
  if test "$am_compiler_list" = ""; then
 
7724
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
7725
  fi
 
7726
  am__universal=false
 
7727
  case " $depcc " in #(
 
7728
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
7729
     esac
 
7730
 
 
7731
  for depmode in $am_compiler_list; do
 
7732
    # Setup a source with many dependencies, because some compilers
 
7733
    # like to wrap large dependency lists on column 80 (with \), and
 
7734
    # we should not choose a depcomp mode which is confused by this.
 
7735
    #
 
7736
    # We need to recreate these files for each test, as the compiler may
 
7737
    # overwrite some of them when testing with obscure command lines.
 
7738
    # This happens at least with the AIX C compiler.
 
7739
    : > sub/conftest.c
 
7740
    for i in 1 2 3 4 5 6; do
 
7741
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
7742
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
7743
      # Solaris 8's {/usr,}/bin/sh.
 
7744
      touch sub/conftst$i.h
 
7745
    done
 
7746
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
7747
 
 
7748
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
7749
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
7750
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
7751
    # versions had trouble with output in subdirs
 
7752
    am__obj=sub/conftest.${OBJEXT-o}
 
7753
    am__minus_obj="-o $am__obj"
 
7754
    case $depmode in
 
7755
    gcc)
 
7756
      # This depmode causes a compiler race in universal mode.
 
7757
      test "$am__universal" = false || continue
 
7758
      ;;
 
7759
    nosideeffect)
 
7760
      # after this tag, mechanisms are not by side-effect, so they'll
 
7761
      # only be used when explicitly requested
 
7762
      if test "x$enable_dependency_tracking" = xyes; then
 
7763
        continue
 
7764
      else
 
7765
        break
 
7766
      fi
 
7767
      ;;
 
7768
    msvisualcpp | msvcmsys)
 
7769
      # This compiler won't grok `-c -o', but also, the minuso test has
 
7770
      # not run yet.  These depmodes are late enough in the game, and
 
7771
      # so weak that their functioning should not be impacted.
 
7772
      am__obj=conftest.${OBJEXT-o}
 
7773
      am__minus_obj=
 
7774
      ;;
 
7775
    none) break ;;
 
7776
    esac
 
7777
    if depmode=$depmode \
 
7778
       source=sub/conftest.c object=$am__obj \
 
7779
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
7780
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
7781
         >/dev/null 2>conftest.err &&
 
7782
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
7783
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
7784
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
7785
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
7786
      # icc doesn't choke on unknown options, it will just issue warnings
 
7787
      # or remarks (even with -Werror).  So we grep stderr for any message
 
7788
      # that says an option was ignored or not supported.
 
7789
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
7790
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
7791
      # The diagnosis changed in icc 8.0:
 
7792
      #   icc: Command line remark: option '-MP' not supported
 
7793
      if (grep 'ignoring option' conftest.err ||
 
7794
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
7795
        am_cv_CXX_dependencies_compiler_type=$depmode
 
7796
        break
 
7797
      fi
 
7798
    fi
 
7799
  done
 
7800
 
 
7801
  cd ..
 
7802
  rm -rf conftest.dir
 
7803
else
 
7804
  am_cv_CXX_dependencies_compiler_type=none
 
7805
fi
 
7806
 
 
7807
fi
 
7808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
7809
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
7810
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
7811
 
 
7812
 if
 
7813
  test "x$enable_dependency_tracking" != xno \
 
7814
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
7815
  am__fastdepCXX_TRUE=
 
7816
  am__fastdepCXX_FALSE='#'
 
7817
else
 
7818
  am__fastdepCXX_TRUE='#'
 
7819
  am__fastdepCXX_FALSE=
 
7820
fi
 
7821
 
 
7822
 
 
7823
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
7824
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
7825
    (test "X$CXX" != "Xg++"))) ; then
 
7826
  ac_ext=cpp
 
7827
ac_cpp='$CXXCPP $CPPFLAGS'
 
7828
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7829
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7830
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
7832
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
7833
if test -z "$CXXCPP"; then
 
7834
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
7835
  $as_echo_n "(cached) " >&6
 
7836
else
 
7837
      # Double quotes because CXXCPP needs to be expanded
 
7838
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
7839
    do
 
7840
      ac_preproc_ok=false
 
7841
for ac_cxx_preproc_warn_flag in '' yes
 
7842
do
 
7843
  # Use a header file that comes with gcc, so configuring glibc
 
7844
  # with a fresh cross-compiler works.
 
7845
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7846
  # <limits.h> exists even on freestanding compilers.
 
7847
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7848
  # not just through cpp. "Syntax error" is here to catch this case.
 
7849
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7850
/* end confdefs.h.  */
 
7851
#ifdef __STDC__
 
7852
# include <limits.h>
 
7853
#else
 
7854
# include <assert.h>
 
7855
#endif
 
7856
                     Syntax error
 
7857
_ACEOF
 
7858
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
7859
 
 
7860
else
 
7861
  # Broken: fails on valid input.
 
7862
continue
 
7863
fi
 
7864
rm -f conftest.err conftest.$ac_ext
 
7865
 
 
7866
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7867
  # can be detected and how.
 
7868
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7869
/* end confdefs.h.  */
 
7870
#include <ac_nonexistent.h>
 
7871
_ACEOF
 
7872
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
7873
  # Broken: success on invalid input.
 
7874
continue
 
7875
else
 
7876
  # Passes both tests.
 
7877
ac_preproc_ok=:
 
7878
break
 
7879
fi
 
7880
rm -f conftest.err conftest.$ac_ext
 
7881
 
 
7882
done
 
7883
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7884
rm -f conftest.err conftest.$ac_ext
 
7885
if $ac_preproc_ok; then :
 
7886
  break
 
7887
fi
 
7888
 
 
7889
    done
 
7890
    ac_cv_prog_CXXCPP=$CXXCPP
 
7891
 
 
7892
fi
 
7893
  CXXCPP=$ac_cv_prog_CXXCPP
 
7894
else
 
7895
  ac_cv_prog_CXXCPP=$CXXCPP
 
7896
fi
 
7897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
7898
$as_echo "$CXXCPP" >&6; }
 
7899
ac_preproc_ok=false
 
7900
for ac_cxx_preproc_warn_flag in '' yes
 
7901
do
 
7902
  # Use a header file that comes with gcc, so configuring glibc
 
7903
  # with a fresh cross-compiler works.
 
7904
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7905
  # <limits.h> exists even on freestanding compilers.
 
7906
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7907
  # not just through cpp. "Syntax error" is here to catch this case.
 
7908
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7909
/* end confdefs.h.  */
 
7910
#ifdef __STDC__
 
7911
# include <limits.h>
 
7912
#else
 
7913
# include <assert.h>
 
7914
#endif
 
7915
                     Syntax error
 
7916
_ACEOF
 
7917
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
7918
 
 
7919
else
 
7920
  # Broken: fails on valid input.
 
7921
continue
 
7922
fi
 
7923
rm -f conftest.err conftest.$ac_ext
 
7924
 
 
7925
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7926
  # can be detected and how.
 
7927
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7928
/* end confdefs.h.  */
 
7929
#include <ac_nonexistent.h>
 
7930
_ACEOF
 
7931
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
7932
  # Broken: success on invalid input.
 
7933
continue
 
7934
else
 
7935
  # Passes both tests.
 
7936
ac_preproc_ok=:
 
7937
break
 
7938
fi
 
7939
rm -f conftest.err conftest.$ac_ext
 
7940
 
 
7941
done
 
7942
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7943
rm -f conftest.err conftest.$ac_ext
 
7944
if $ac_preproc_ok; then :
 
7945
 
 
7946
else
 
7947
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7948
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7949
_lt_caught_CXX_error=yes; }
 
7950
fi
 
7951
 
 
7952
ac_ext=c
 
7953
ac_cpp='$CPP $CPPFLAGS'
 
7954
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7955
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7956
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7957
 
 
7958
else
 
7959
  _lt_caught_CXX_error=yes
 
7960
fi
 
7961
 
 
7962
 
 
7963
 
 
7964
 
 
7965
 
 
7966
# Set options
 
7967
 
 
7968
 
 
7969
 
 
7970
        enable_dlopen=no
 
7971
 
 
7972
 
 
7973
  enable_win32_dll=no
 
7974
 
 
7975
 
 
7976
            # Check whether --enable-shared was given.
 
7977
if test "${enable_shared+set}" = set; then :
 
7978
  enableval=$enable_shared; p=${PACKAGE-default}
 
7979
    case $enableval in
 
7980
    yes) enable_shared=yes ;;
 
7981
    no) enable_shared=no ;;
 
7982
    *)
 
7983
      enable_shared=no
 
7984
      # Look at the argument we got.  We use all the common list separators.
 
7985
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7986
      for pkg in $enableval; do
 
7987
        IFS="$lt_save_ifs"
 
7988
        if test "X$pkg" = "X$p"; then
 
7989
          enable_shared=yes
 
7990
        fi
 
7991
      done
 
7992
      IFS="$lt_save_ifs"
 
7993
      ;;
 
7994
    esac
 
7995
else
 
7996
  enable_shared=yes
 
7997
fi
 
7998
 
 
7999
 
 
8000
 
 
8001
 
 
8002
 
 
8003
 
 
8004
 
 
8005
 
 
8006
 
 
8007
  # Check whether --enable-static was given.
 
8008
if test "${enable_static+set}" = set; then :
 
8009
  enableval=$enable_static; p=${PACKAGE-default}
 
8010
    case $enableval in
 
8011
    yes) enable_static=yes ;;
 
8012
    no) enable_static=no ;;
 
8013
    *)
 
8014
     enable_static=no
 
8015
      # Look at the argument we got.  We use all the common list separators.
 
8016
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8017
      for pkg in $enableval; do
 
8018
        IFS="$lt_save_ifs"
 
8019
        if test "X$pkg" = "X$p"; then
 
8020
          enable_static=yes
 
8021
        fi
 
8022
      done
 
8023
      IFS="$lt_save_ifs"
 
8024
      ;;
 
8025
    esac
 
8026
else
 
8027
  enable_static=yes
 
8028
fi
 
8029
 
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
# Check whether --with-pic was given.
 
8040
if test "${with_pic+set}" = set; then :
 
8041
  withval=$with_pic; pic_mode="$withval"
 
8042
else
 
8043
  pic_mode=default
 
8044
fi
 
8045
 
 
8046
 
 
8047
test -z "$pic_mode" && pic_mode=default
 
8048
 
 
8049
 
 
8050
 
 
8051
 
 
8052
 
 
8053
 
 
8054
 
 
8055
  # Check whether --enable-fast-install was given.
 
8056
if test "${enable_fast_install+set}" = set; then :
 
8057
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8058
    case $enableval in
 
8059
    yes) enable_fast_install=yes ;;
 
8060
    no) enable_fast_install=no ;;
 
8061
    *)
 
8062
      enable_fast_install=no
 
8063
      # Look at the argument we got.  We use all the common list separators.
 
8064
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8065
      for pkg in $enableval; do
 
8066
        IFS="$lt_save_ifs"
 
8067
        if test "X$pkg" = "X$p"; then
 
8068
          enable_fast_install=yes
 
8069
        fi
 
8070
      done
 
8071
      IFS="$lt_save_ifs"
 
8072
      ;;
 
8073
    esac
 
8074
else
 
8075
  enable_fast_install=yes
 
8076
fi
 
8077
 
 
8078
 
 
8079
 
 
8080
 
 
8081
 
 
8082
 
 
8083
 
 
8084
 
 
8085
 
 
8086
 
 
8087
 
 
8088
# This can be used to rebuild libtool when needed
 
8089
LIBTOOL_DEPS="$ltmain"
 
8090
 
 
8091
# Always use our own libtool.
 
8092
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8093
 
 
8094
 
 
8095
 
 
8096
 
 
8097
 
 
8098
 
 
8099
 
 
8100
 
 
8101
 
 
8102
 
 
8103
 
 
8104
 
 
8105
 
 
8106
 
 
8107
 
 
8108
 
 
8109
 
 
8110
 
 
8111
 
 
8112
 
 
8113
 
 
8114
 
 
8115
 
 
8116
 
 
8117
 
 
8118
test -z "$LN_S" && LN_S="ln -s"
 
8119
 
 
8120
 
 
8121
 
 
8122
 
 
8123
 
 
8124
 
 
8125
 
 
8126
 
 
8127
 
 
8128
 
 
8129
 
 
8130
 
 
8131
 
 
8132
 
 
8133
if test -n "${ZSH_VERSION+set}" ; then
 
8134
   setopt NO_GLOB_SUBST
 
8135
fi
 
8136
 
 
8137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8138
$as_echo_n "checking for objdir... " >&6; }
 
8139
if test "${lt_cv_objdir+set}" = set; then :
 
8140
  $as_echo_n "(cached) " >&6
6559
8141
else
6560
8142
  rm -f .libs 2>/dev/null
6561
8143
mkdir .libs 2>/dev/null
6567
8149
fi
6568
8150
rmdir .libs 2>/dev/null
6569
8151
fi
6570
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6571
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
8152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8153
$as_echo "$lt_cv_objdir" >&6; }
6572
8154
objdir=$lt_cv_objdir
6573
8155
 
6574
8156
 
6575
8157
 
6576
8158
 
6577
8159
 
 
8160
cat >>confdefs.h <<_ACEOF
 
8161
#define LT_OBJDIR "$lt_cv_objdir/"
 
8162
_ACEOF
 
8163
 
 
8164
 
 
8165
 
 
8166
 
 
8167
 
 
8168
 
 
8169
 
 
8170
 
 
8171
 
 
8172
 
 
8173
 
 
8174
 
 
8175
 
 
8176
 
 
8177
 
 
8178
 
 
8179
 
6578
8180
case $host_os in
6579
8181
aix3*)
6580
8182
  # AIX sometimes has problems with the GCC collect2 program.  For some
6589
8191
 
6590
8192
# Sed substitution that helps us do robust quoting.  It backslashifies
6591
8193
# metacharacters that are still active within double-quoted strings.
6592
 
Xsed='sed -e 1s/^X//'
6593
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
8194
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6594
8195
 
6595
8196
# Same as above, but do not quote variable references.
6596
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
8197
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6597
8198
 
6598
8199
# Sed substitution to delay expansion of an escaped shell variable in a
6599
8200
# double_quote_subst'ed string.
6600
8201
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6601
8202
 
 
8203
# Sed substitution to delay expansion of an escaped single quote.
 
8204
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8205
 
6602
8206
# Sed substitution to avoid accidental globbing in evaled expressions
6603
8207
no_glob_subst='s/\*/\\\*/g'
6604
8208
 
6605
 
# Constants:
6606
 
rm="rm -f"
6607
 
 
6608
8209
# Global variables:
6609
 
default_ofile=libtool
 
8210
ofile=libtool
6610
8211
can_build_shared=yes
6611
8212
 
6612
8213
# All known linkers require a `.a' archive for static linking (except MSVC,
6613
8214
# which needs '.lib').
6614
8215
libext=a
6615
 
ltmain="$ac_aux_dir/ltmain.sh"
6616
 
ofile="$default_ofile"
 
8216
 
6617
8217
with_gnu_ld="$lt_cv_prog_gnu_ld"
6618
8218
 
6619
 
if test -n "$ac_tool_prefix"; then
6620
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6621
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6622
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6623
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6624
 
if test "${ac_cv_prog_AR+set}" = set; then
6625
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6626
 
else
6627
 
  if test -n "$AR"; then
6628
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6629
 
else
6630
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631
 
for as_dir in $PATH
6632
 
do
6633
 
  IFS=$as_save_IFS
6634
 
  test -z "$as_dir" && as_dir=.
6635
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6636
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6637
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6638
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639
 
    break 2
6640
 
  fi
6641
 
done
6642
 
done
6643
 
IFS=$as_save_IFS
6644
 
 
6645
 
fi
6646
 
fi
6647
 
AR=$ac_cv_prog_AR
6648
 
if test -n "$AR"; then
6649
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6650
 
echo "${ECHO_T}$AR" >&6; }
6651
 
else
6652
 
  { echo "$as_me:$LINENO: result: no" >&5
6653
 
echo "${ECHO_T}no" >&6; }
6654
 
fi
6655
 
 
6656
 
 
6657
 
fi
6658
 
if test -z "$ac_cv_prog_AR"; then
6659
 
  ac_ct_AR=$AR
6660
 
  # Extract the first word of "ar", so it can be a program name with args.
6661
 
set dummy ar; ac_word=$2
6662
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6663
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6664
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6665
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6666
 
else
6667
 
  if test -n "$ac_ct_AR"; then
6668
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6669
 
else
6670
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671
 
for as_dir in $PATH
6672
 
do
6673
 
  IFS=$as_save_IFS
6674
 
  test -z "$as_dir" && as_dir=.
6675
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6676
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677
 
    ac_cv_prog_ac_ct_AR="ar"
6678
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6679
 
    break 2
6680
 
  fi
6681
 
done
6682
 
done
6683
 
IFS=$as_save_IFS
6684
 
 
6685
 
fi
6686
 
fi
6687
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6688
 
if test -n "$ac_ct_AR"; then
6689
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6690
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6691
 
else
6692
 
  { echo "$as_me:$LINENO: result: no" >&5
6693
 
echo "${ECHO_T}no" >&6; }
6694
 
fi
6695
 
 
6696
 
  if test "x$ac_ct_AR" = x; then
6697
 
    AR="false"
6698
 
  else
6699
 
    case $cross_compiling:$ac_tool_warned in
6700
 
yes:)
6701
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6702
 
whose name does not start with the host triplet.  If you think this
6703
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6704
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6705
 
whose name does not start with the host triplet.  If you think this
6706
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6707
 
ac_tool_warned=yes ;;
6708
 
esac
6709
 
    AR=$ac_ct_AR
6710
 
  fi
6711
 
else
6712
 
  AR="$ac_cv_prog_AR"
6713
 
fi
6714
 
 
6715
 
if test -n "$ac_tool_prefix"; then
6716
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6717
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6718
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6719
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6720
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6721
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6722
 
else
6723
 
  if test -n "$RANLIB"; then
6724
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6725
 
else
6726
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727
 
for as_dir in $PATH
6728
 
do
6729
 
  IFS=$as_save_IFS
6730
 
  test -z "$as_dir" && as_dir=.
6731
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6732
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6734
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6735
 
    break 2
6736
 
  fi
6737
 
done
6738
 
done
6739
 
IFS=$as_save_IFS
6740
 
 
6741
 
fi
6742
 
fi
6743
 
RANLIB=$ac_cv_prog_RANLIB
6744
 
if test -n "$RANLIB"; then
6745
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6746
 
echo "${ECHO_T}$RANLIB" >&6; }
6747
 
else
6748
 
  { echo "$as_me:$LINENO: result: no" >&5
6749
 
echo "${ECHO_T}no" >&6; }
6750
 
fi
6751
 
 
6752
 
 
6753
 
fi
6754
 
if test -z "$ac_cv_prog_RANLIB"; then
6755
 
  ac_ct_RANLIB=$RANLIB
6756
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6757
 
set dummy ranlib; ac_word=$2
6758
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6759
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6760
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6762
 
else
6763
 
  if test -n "$ac_ct_RANLIB"; then
6764
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6765
 
else
6766
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767
 
for as_dir in $PATH
6768
 
do
6769
 
  IFS=$as_save_IFS
6770
 
  test -z "$as_dir" && as_dir=.
6771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6772
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6773
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6774
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6775
 
    break 2
6776
 
  fi
6777
 
done
6778
 
done
6779
 
IFS=$as_save_IFS
6780
 
 
6781
 
fi
6782
 
fi
6783
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6784
 
if test -n "$ac_ct_RANLIB"; then
6785
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6786
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6787
 
else
6788
 
  { echo "$as_me:$LINENO: result: no" >&5
6789
 
echo "${ECHO_T}no" >&6; }
6790
 
fi
6791
 
 
6792
 
  if test "x$ac_ct_RANLIB" = x; then
6793
 
    RANLIB=":"
6794
 
  else
6795
 
    case $cross_compiling:$ac_tool_warned in
6796
 
yes:)
6797
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6798
 
whose name does not start with the host triplet.  If you think this
6799
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6800
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6801
 
whose name does not start with the host triplet.  If you think this
6802
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6803
 
ac_tool_warned=yes ;;
6804
 
esac
6805
 
    RANLIB=$ac_ct_RANLIB
6806
 
  fi
6807
 
else
6808
 
  RANLIB="$ac_cv_prog_RANLIB"
6809
 
fi
6810
 
 
6811
 
if test -n "$ac_tool_prefix"; then
6812
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6813
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6814
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6815
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6816
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6817
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6818
 
else
6819
 
  if test -n "$STRIP"; then
6820
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6821
 
else
6822
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823
 
for as_dir in $PATH
6824
 
do
6825
 
  IFS=$as_save_IFS
6826
 
  test -z "$as_dir" && as_dir=.
6827
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6828
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6829
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6830
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6831
 
    break 2
6832
 
  fi
6833
 
done
6834
 
done
6835
 
IFS=$as_save_IFS
6836
 
 
6837
 
fi
6838
 
fi
6839
 
STRIP=$ac_cv_prog_STRIP
6840
 
if test -n "$STRIP"; then
6841
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6842
 
echo "${ECHO_T}$STRIP" >&6; }
6843
 
else
6844
 
  { echo "$as_me:$LINENO: result: no" >&5
6845
 
echo "${ECHO_T}no" >&6; }
6846
 
fi
6847
 
 
6848
 
 
6849
 
fi
6850
 
if test -z "$ac_cv_prog_STRIP"; then
6851
 
  ac_ct_STRIP=$STRIP
6852
 
  # Extract the first word of "strip", so it can be a program name with args.
6853
 
set dummy strip; ac_word=$2
6854
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6855
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6856
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6858
 
else
6859
 
  if test -n "$ac_ct_STRIP"; then
6860
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6861
 
else
6862
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863
 
for as_dir in $PATH
6864
 
do
6865
 
  IFS=$as_save_IFS
6866
 
  test -z "$as_dir" && as_dir=.
6867
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6868
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869
 
    ac_cv_prog_ac_ct_STRIP="strip"
6870
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6871
 
    break 2
6872
 
  fi
6873
 
done
6874
 
done
6875
 
IFS=$as_save_IFS
6876
 
 
6877
 
fi
6878
 
fi
6879
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6880
 
if test -n "$ac_ct_STRIP"; then
6881
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6882
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6883
 
else
6884
 
  { echo "$as_me:$LINENO: result: no" >&5
6885
 
echo "${ECHO_T}no" >&6; }
6886
 
fi
6887
 
 
6888
 
  if test "x$ac_ct_STRIP" = x; then
6889
 
    STRIP=":"
6890
 
  else
6891
 
    case $cross_compiling:$ac_tool_warned in
6892
 
yes:)
6893
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6894
 
whose name does not start with the host triplet.  If you think this
6895
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6896
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6897
 
whose name does not start with the host triplet.  If you think this
6898
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6899
 
ac_tool_warned=yes ;;
6900
 
esac
6901
 
    STRIP=$ac_ct_STRIP
6902
 
  fi
6903
 
else
6904
 
  STRIP="$ac_cv_prog_STRIP"
6905
 
fi
6906
 
 
6907
 
 
6908
8219
old_CC="$CC"
6909
8220
old_CFLAGS="$CFLAGS"
6910
8221
 
6911
8222
# Set sane defaults for various variables
6912
 
test -z "$AR" && AR=ar
6913
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6914
 
test -z "$AS" && AS=as
6915
8223
test -z "$CC" && CC=cc
6916
8224
test -z "$LTCC" && LTCC=$CC
6917
8225
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6918
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6919
8226
test -z "$LD" && LD=ld
6920
 
test -z "$LN_S" && LN_S="ln -s"
6921
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6922
 
test -z "$NM" && NM=nm
6923
 
test -z "$SED" && SED=sed
6924
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6925
 
test -z "$RANLIB" && RANLIB=:
6926
 
test -z "$STRIP" && STRIP=:
6927
8227
test -z "$ac_objext" && ac_objext=o
6928
8228
 
6929
 
# Determine commands to create old-style static archives.
6930
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6931
 
old_postinstall_cmds='chmod 644 $oldlib'
6932
 
old_postuninstall_cmds=
6933
 
 
6934
 
if test -n "$RANLIB"; then
6935
 
  case $host_os in
6936
 
  openbsd*)
6937
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6938
 
    ;;
6939
 
  *)
6940
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6941
 
    ;;
6942
 
  esac
6943
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6944
 
fi
6945
 
 
6946
8229
for cc_temp in $compiler""; do
6947
8230
  case $cc_temp in
6948
8231
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6951
8234
    *) break;;
6952
8235
  esac
6953
8236
done
6954
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8237
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6955
8238
 
6956
8239
 
6957
8240
# Only perform the check for file, if the check method requires it
 
8241
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6958
8242
case $deplibs_check_method in
6959
8243
file_magic*)
6960
8244
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6961
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6962
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6963
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6964
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8245
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8246
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8247
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8248
  $as_echo_n "(cached) " >&6
6965
8249
else
6966
8250
  case $MAGIC_CMD in
6967
8251
[\\/*] |  ?:[\\/]*)
6985
8269
            $EGREP "$file_magic_regex" > /dev/null; then
6986
8270
            :
6987
8271
          else
6988
 
            cat <<EOF 1>&2
 
8272
            cat <<_LT_EOF 1>&2
6989
8273
 
6990
8274
*** Warning: the command libtool uses to detect shared libraries,
6991
8275
*** $file_magic_cmd, produces output that libtool cannot recognize.
6996
8280
*** may want to report the problem to your system manager and/or to
6997
8281
*** bug-libtool@gnu.org
6998
8282
 
6999
 
EOF
 
8283
_LT_EOF
7000
8284
          fi ;;
7001
8285
        esac
7002
8286
      fi
7011
8295
 
7012
8296
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7013
8297
if test -n "$MAGIC_CMD"; then
7014
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7015
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8299
$as_echo "$MAGIC_CMD" >&6; }
7016
8300
else
7017
 
  { echo "$as_me:$LINENO: result: no" >&5
7018
 
echo "${ECHO_T}no" >&6; }
 
8301
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8302
$as_echo "no" >&6; }
7019
8303
fi
7020
8304
 
 
8305
 
 
8306
 
 
8307
 
 
8308
 
7021
8309
if test -z "$lt_cv_path_MAGIC_CMD"; then
7022
8310
  if test -n "$ac_tool_prefix"; then
7023
 
    { echo "$as_me:$LINENO: checking for file" >&5
7024
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7025
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7026
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8311
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8312
$as_echo_n "checking for file... " >&6; }
 
8313
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8314
  $as_echo_n "(cached) " >&6
7027
8315
else
7028
8316
  case $MAGIC_CMD in
7029
8317
[\\/*] |  ?:[\\/]*)
7047
8335
            $EGREP "$file_magic_regex" > /dev/null; then
7048
8336
            :
7049
8337
          else
7050
 
            cat <<EOF 1>&2
 
8338
            cat <<_LT_EOF 1>&2
7051
8339
 
7052
8340
*** Warning: the command libtool uses to detect shared libraries,
7053
8341
*** $file_magic_cmd, produces output that libtool cannot recognize.
7058
8346
*** may want to report the problem to your system manager and/or to
7059
8347
*** bug-libtool@gnu.org
7060
8348
 
7061
 
EOF
 
8349
_LT_EOF
7062
8350
          fi ;;
7063
8351
        esac
7064
8352
      fi
7073
8361
 
7074
8362
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7075
8363
if test -n "$MAGIC_CMD"; then
7076
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7077
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8365
$as_echo "$MAGIC_CMD" >&6; }
7078
8366
else
7079
 
  { echo "$as_me:$LINENO: result: no" >&5
7080
 
echo "${ECHO_T}no" >&6; }
 
8367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8368
$as_echo "no" >&6; }
7081
8369
fi
7082
8370
 
 
8371
 
7083
8372
  else
7084
8373
    MAGIC_CMD=:
7085
8374
  fi
7089
8378
  ;;
7090
8379
esac
7091
8380
 
7092
 
enable_dlopen=no
7093
 
enable_win32_dll=no
7094
 
 
7095
 
# Check whether --enable-libtool-lock was given.
7096
 
if test "${enable_libtool_lock+set}" = set; then
7097
 
  enableval=$enable_libtool_lock;
7098
 
fi
7099
 
 
7100
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7101
 
 
7102
 
 
7103
 
# Check whether --with-pic was given.
7104
 
if test "${with_pic+set}" = set; then
7105
 
  withval=$with_pic; pic_mode="$withval"
7106
 
else
7107
 
  pic_mode=default
7108
 
fi
7109
 
 
7110
 
test -z "$pic_mode" && pic_mode=default
7111
 
 
7112
8381
# Use C for the default configuration in the libtool script
7113
 
tagname=
 
8382
 
7114
8383
lt_save_CC="$CC"
7115
8384
ac_ext=c
7116
8385
ac_cpp='$CPP $CPPFLAGS'
7127
8396
objext=$objext
7128
8397
 
7129
8398
# Code to be used in simple compile tests
7130
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
8399
lt_simple_compile_test_code="int some_variable = 0;"
7131
8400
 
7132
8401
# Code to be used in simple link tests
7133
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
8402
lt_simple_link_test_code='int main(){return(0);}'
 
8403
 
 
8404
 
 
8405
 
 
8406
 
 
8407
 
7134
8408
 
7135
8409
 
7136
8410
# If no C compiler was specified, use CC.
7142
8416
# Allow CC to be a program name with arguments.
7143
8417
compiler=$CC
7144
8418
 
 
8419
# Save the default compiler, since it gets overwritten when the other
 
8420
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8421
compiler_DEFAULT=$CC
7145
8422
 
7146
8423
# save warnings/boilerplate of simple test code
7147
8424
ac_outfile=conftest.$ac_objext
7148
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8425
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7149
8426
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7150
8427
_lt_compiler_boilerplate=`cat conftest.err`
7151
 
$rm conftest*
 
8428
$RM conftest*
7152
8429
 
7153
8430
ac_outfile=conftest.$ac_objext
7154
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
8431
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7155
8432
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7156
8433
_lt_linker_boilerplate=`cat conftest.err`
7157
 
$rm conftest*
7158
 
 
7159
 
 
 
8434
$RM -r conftest*
 
8435
 
 
8436
 
 
8437
## CAVEAT EMPTOR:
 
8438
## There is no encapsulation within the following macros, do not change
 
8439
## the running order or otherwise move them around unless you know exactly
 
8440
## what you are doing...
 
8441
if test -n "$compiler"; then
7160
8442
 
7161
8443
lt_prog_compiler_no_builtin_flag=
7162
8444
 
7163
8445
if test "$GCC" = yes; then
7164
8446
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7165
8447
 
7166
 
 
7167
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7168
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7169
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7170
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8448
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8449
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8450
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8451
  $as_echo_n "(cached) " >&6
7171
8452
else
7172
8453
  lt_cv_prog_compiler_rtti_exceptions=no
7173
 
  ac_outfile=conftest.$ac_objext
7174
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8454
   ac_outfile=conftest.$ac_objext
 
8455
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7175
8456
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7176
8457
   # Insert the option either (1) after the last *FLAGS variable, or
7177
8458
   # (2) before a word containing "conftest.", or (3) at the end.
7182
8463
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7183
8464
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7184
8465
   -e 's:$: $lt_compiler_flag:'`
7185
 
   (eval echo "\"\$as_me:7185: $lt_compile\"" >&5)
 
8466
   (eval echo "\"\$as_me:8466: $lt_compile\"" >&5)
7186
8467
   (eval "$lt_compile" 2>conftest.err)
7187
8468
   ac_status=$?
7188
8469
   cat conftest.err >&5
7189
 
   echo "$as_me:7189: \$? = $ac_status" >&5
 
8470
   echo "$as_me:8470: \$? = $ac_status" >&5
7190
8471
   if (exit $ac_status) && test -s "$ac_outfile"; then
7191
8472
     # The compiler can only warn and ignore the option if not recognized
7192
8473
     # So say no if there are warnings other than the usual output.
7193
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8474
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7194
8475
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7195
8476
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7196
8477
       lt_cv_prog_compiler_rtti_exceptions=yes
7197
8478
     fi
7198
8479
   fi
7199
 
   $rm conftest*
 
8480
   $RM conftest*
7200
8481
 
7201
8482
fi
7202
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7203
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8484
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7204
8485
 
7205
8486
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7206
8487
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7210
8491
 
7211
8492
fi
7212
8493
 
7213
 
lt_prog_compiler_wl=
 
8494
 
 
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
  lt_prog_compiler_wl=
7214
8500
lt_prog_compiler_pic=
7215
8501
lt_prog_compiler_static=
7216
8502
 
7217
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7218
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
8503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8504
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7219
8505
 
7220
8506
  if test "$GCC" = yes; then
7221
8507
    lt_prog_compiler_wl='-Wl,'
7231
8517
      ;;
7232
8518
 
7233
8519
    amigaos*)
7234
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7235
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7236
 
      # like `-m68040'.
7237
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8520
      case $host_cpu in
 
8521
      powerpc)
 
8522
            # see comment about AmigaOS4 .so support
 
8523
            lt_prog_compiler_pic='-fPIC'
 
8524
        ;;
 
8525
      m68k)
 
8526
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8527
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8528
            # like `-m68040'.
 
8529
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8530
        ;;
 
8531
      esac
7238
8532
      ;;
7239
8533
 
7240
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8534
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7241
8535
      # PIC is the default for these OSes.
7242
8536
      ;;
7243
8537
 
7244
 
    mingw* | pw32* | os2*)
 
8538
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7245
8539
      # This hack is so that the source file can tell whether it is being
7246
8540
      # built for inclusion in a dll (and should export symbols for example).
 
8541
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8542
      # (--disable-auto-import) libraries
7247
8543
      lt_prog_compiler_pic='-DDLL_EXPORT'
7248
8544
      ;;
7249
8545
 
7253
8549
      lt_prog_compiler_pic='-fno-common'
7254
8550
      ;;
7255
8551
 
7256
 
    interix3*)
 
8552
    hpux*)
 
8553
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8554
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8555
      # sets the default TLS model and affects inlining.
 
8556
      case $host_cpu in
 
8557
      hppa*64*)
 
8558
        # +Z the default
 
8559
        ;;
 
8560
      *)
 
8561
        lt_prog_compiler_pic='-fPIC'
 
8562
        ;;
 
8563
      esac
 
8564
      ;;
 
8565
 
 
8566
    interix[3-9]*)
7257
8567
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7258
8568
      # Instead, we relocate shared libraries at runtime.
7259
8569
      ;;
7265
8575
      enable_shared=no
7266
8576
      ;;
7267
8577
 
 
8578
    *nto* | *qnx*)
 
8579
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8580
      # it will coredump.
 
8581
      lt_prog_compiler_pic='-fPIC -shared'
 
8582
      ;;
 
8583
 
7268
8584
    sysv4*MP*)
7269
8585
      if test -d /usr/nec; then
7270
8586
        lt_prog_compiler_pic=-Kconform_pic
7271
8587
      fi
7272
8588
      ;;
7273
8589
 
7274
 
    hpux*)
7275
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7276
 
      # not for PA HP-UX.
7277
 
      case $host_cpu in
7278
 
      hppa*64*|ia64*)
7279
 
        # +Z the default
7280
 
        ;;
7281
 
      *)
7282
 
        lt_prog_compiler_pic='-fPIC'
7283
 
        ;;
7284
 
      esac
7285
 
      ;;
7286
 
 
7287
8590
    *)
7288
8591
      lt_prog_compiler_pic='-fPIC'
7289
8592
      ;;
7300
8603
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7301
8604
      fi
7302
8605
      ;;
7303
 
      darwin*)
7304
 
        # PIC is the default on this platform
7305
 
        # Common symbols not allowed in MH_DYLIB files
7306
 
       case $cc_basename in
7307
 
         xlc*)
7308
 
         lt_prog_compiler_pic='-qnocommon'
7309
 
         lt_prog_compiler_wl='-Wl,'
7310
 
         ;;
7311
 
       esac
7312
 
       ;;
7313
8606
 
7314
 
    mingw* | pw32* | os2*)
 
8607
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7315
8608
      # This hack is so that the source file can tell whether it is being
7316
8609
      # built for inclusion in a dll (and should export symbols for example).
7317
8610
      lt_prog_compiler_pic='-DDLL_EXPORT'
7339
8632
      lt_prog_compiler_static='-non_shared'
7340
8633
      ;;
7341
8634
 
7342
 
    newsos6)
7343
 
      lt_prog_compiler_pic='-KPIC'
7344
 
      lt_prog_compiler_static='-Bstatic'
7345
 
      ;;
7346
 
 
7347
8635
    linux* | k*bsd*-gnu)
7348
8636
      case $cc_basename in
7349
 
      icc* | ecc*)
 
8637
      # old Intel for x86_64 which still supported -KPIC.
 
8638
      ecc*)
7350
8639
        lt_prog_compiler_wl='-Wl,'
7351
8640
        lt_prog_compiler_pic='-KPIC'
7352
8641
        lt_prog_compiler_static='-static'
7353
8642
        ;;
 
8643
      # icc used to be incompatible with GCC.
 
8644
      # ICC 10 doesn't accept -KPIC any more.
 
8645
      icc* | ifort*)
 
8646
        lt_prog_compiler_wl='-Wl,'
 
8647
        lt_prog_compiler_pic='-fPIC'
 
8648
        lt_prog_compiler_static='-static'
 
8649
        ;;
 
8650
      # Lahey Fortran 8.1.
 
8651
      lf95*)
 
8652
        lt_prog_compiler_wl='-Wl,'
 
8653
        lt_prog_compiler_pic='--shared'
 
8654
        lt_prog_compiler_static='--static'
 
8655
        ;;
7354
8656
      pgcc* | pgf77* | pgf90* | pgf95*)
7355
8657
        # Portland Group compilers (*not* the Pentium gcc compiler,
7356
8658
        # which looks to be a dead project)
7363
8665
        # All Alpha code is PIC.
7364
8666
        lt_prog_compiler_static='-non_shared'
7365
8667
        ;;
 
8668
      xl*)
 
8669
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8670
        lt_prog_compiler_wl='-Wl,'
 
8671
        lt_prog_compiler_pic='-qpic'
 
8672
        lt_prog_compiler_static='-qstaticlink'
 
8673
        ;;
 
8674
      *)
 
8675
        case `$CC -V 2>&1 | sed 5q` in
 
8676
        *Sun\ C*)
 
8677
          # Sun C 5.9
 
8678
          lt_prog_compiler_pic='-KPIC'
 
8679
          lt_prog_compiler_static='-Bstatic'
 
8680
          lt_prog_compiler_wl='-Wl,'
 
8681
          ;;
 
8682
        *Sun\ F*)
 
8683
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8684
          lt_prog_compiler_pic='-KPIC'
 
8685
          lt_prog_compiler_static='-Bstatic'
 
8686
          lt_prog_compiler_wl=''
 
8687
          ;;
 
8688
        esac
 
8689
        ;;
7366
8690
      esac
7367
8691
      ;;
7368
8692
 
 
8693
    newsos6)
 
8694
      lt_prog_compiler_pic='-KPIC'
 
8695
      lt_prog_compiler_static='-Bstatic'
 
8696
      ;;
 
8697
 
 
8698
    *nto* | *qnx*)
 
8699
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8700
      # it will coredump.
 
8701
      lt_prog_compiler_pic='-fPIC -shared'
 
8702
      ;;
 
8703
 
7369
8704
    osf3* | osf4* | osf5*)
7370
8705
      lt_prog_compiler_wl='-Wl,'
7371
8706
      # All OSF/1 code is PIC.
7372
8707
      lt_prog_compiler_static='-non_shared'
7373
8708
      ;;
7374
8709
 
 
8710
    rdos*)
 
8711
      lt_prog_compiler_static='-non_shared'
 
8712
      ;;
 
8713
 
7375
8714
    solaris*)
7376
8715
      lt_prog_compiler_pic='-KPIC'
7377
8716
      lt_prog_compiler_static='-Bstatic'
7424
8763
    esac
7425
8764
  fi
7426
8765
 
7427
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7428
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
8766
case $host_os in
 
8767
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8768
  *djgpp*)
 
8769
    lt_prog_compiler_pic=
 
8770
    ;;
 
8771
  *)
 
8772
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8773
    ;;
 
8774
esac
 
8775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
8776
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8777
 
 
8778
 
 
8779
 
 
8780
 
 
8781
 
7429
8782
 
7430
8783
#
7431
8784
# Check to make sure the PIC flag actually works.
7432
8785
#
7433
8786
if test -n "$lt_prog_compiler_pic"; then
7434
 
 
7435
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7436
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7437
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7438
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8787
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8788
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8789
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8790
  $as_echo_n "(cached) " >&6
7439
8791
else
7440
 
  lt_prog_compiler_pic_works=no
7441
 
  ac_outfile=conftest.$ac_objext
7442
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8792
  lt_cv_prog_compiler_pic_works=no
 
8793
   ac_outfile=conftest.$ac_objext
 
8794
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7443
8795
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7444
8796
   # Insert the option either (1) after the last *FLAGS variable, or
7445
8797
   # (2) before a word containing "conftest.", or (3) at the end.
7450
8802
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7451
8803
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7452
8804
   -e 's:$: $lt_compiler_flag:'`
7453
 
   (eval echo "\"\$as_me:7453: $lt_compile\"" >&5)
 
8805
   (eval echo "\"\$as_me:8805: $lt_compile\"" >&5)
7454
8806
   (eval "$lt_compile" 2>conftest.err)
7455
8807
   ac_status=$?
7456
8808
   cat conftest.err >&5
7457
 
   echo "$as_me:7457: \$? = $ac_status" >&5
 
8809
   echo "$as_me:8809: \$? = $ac_status" >&5
7458
8810
   if (exit $ac_status) && test -s "$ac_outfile"; then
7459
8811
     # The compiler can only warn and ignore the option if not recognized
7460
8812
     # So say no if there are warnings other than the usual output.
7461
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8813
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7462
8814
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7463
8815
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7464
 
       lt_prog_compiler_pic_works=yes
 
8816
       lt_cv_prog_compiler_pic_works=yes
7465
8817
     fi
7466
8818
   fi
7467
 
   $rm conftest*
 
8819
   $RM conftest*
7468
8820
 
7469
8821
fi
7470
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7471
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
8822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8823
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7472
8824
 
7473
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8825
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7474
8826
    case $lt_prog_compiler_pic in
7475
8827
     "" | " "*) ;;
7476
8828
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7481
8833
fi
7482
8834
 
7483
8835
fi
7484
 
case $host_os in
7485
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7486
 
  *djgpp*)
7487
 
    lt_prog_compiler_pic=
7488
 
    ;;
7489
 
  *)
7490
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7491
 
    ;;
7492
 
esac
 
8836
 
 
8837
 
 
8838
 
 
8839
 
 
8840
 
7493
8841
 
7494
8842
#
7495
8843
# Check to make sure the static flag actually works.
7496
8844
#
7497
8845
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7498
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7499
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7500
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8847
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8848
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8849
  $as_echo_n "(cached) " >&6
7502
8850
else
7503
 
  lt_prog_compiler_static_works=no
 
8851
  lt_cv_prog_compiler_static_works=no
7504
8852
   save_LDFLAGS="$LDFLAGS"
7505
8853
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7506
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8854
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7507
8855
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7508
8856
     # The linker can only warn and ignore the option if not recognized
7509
8857
     # So say no if there are warnings
7510
8858
     if test -s conftest.err; then
7511
8859
       # Append any errors to the config.log.
7512
8860
       cat conftest.err 1>&5
7513
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8861
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7514
8862
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7515
8863
       if diff conftest.exp conftest.er2 >/dev/null; then
7516
 
         lt_prog_compiler_static_works=yes
 
8864
         lt_cv_prog_compiler_static_works=yes
7517
8865
       fi
7518
8866
     else
7519
 
       lt_prog_compiler_static_works=yes
 
8867
       lt_cv_prog_compiler_static_works=yes
7520
8868
     fi
7521
8869
   fi
7522
 
   $rm conftest*
 
8870
   $RM -r conftest*
7523
8871
   LDFLAGS="$save_LDFLAGS"
7524
8872
 
7525
8873
fi
7526
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7527
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8875
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7528
8876
 
7529
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8877
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7530
8878
    :
7531
8879
else
7532
8880
    lt_prog_compiler_static=
7533
8881
fi
7534
8882
 
7535
8883
 
7536
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7537
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7538
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7539
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7540
 
else
7541
 
  lt_cv_prog_compiler_c_o=no
7542
 
   $rm -r conftest 2>/dev/null
7543
 
   mkdir conftest
7544
 
   cd conftest
7545
 
   mkdir out
7546
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7547
 
 
7548
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7549
 
   # Insert the option either (1) after the last *FLAGS variable, or
7550
 
   # (2) before a word containing "conftest.", or (3) at the end.
7551
 
   # Note that $ac_compile itself does not contain backslashes and begins
7552
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7553
 
   lt_compile=`echo "$ac_compile" | $SED \
7554
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7555
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7556
 
   -e 's:$: $lt_compiler_flag:'`
7557
 
   (eval echo "\"\$as_me:7557: $lt_compile\"" >&5)
7558
 
   (eval "$lt_compile" 2>out/conftest.err)
7559
 
   ac_status=$?
7560
 
   cat out/conftest.err >&5
7561
 
   echo "$as_me:7561: \$? = $ac_status" >&5
7562
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7563
 
   then
7564
 
     # The compiler can only warn and ignore the option if not recognized
7565
 
     # So say no if there are warnings
7566
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7567
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7568
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7569
 
       lt_cv_prog_compiler_c_o=yes
7570
 
     fi
7571
 
   fi
7572
 
   chmod u+w . 2>&5
7573
 
   $rm conftest*
7574
 
   # SGI C++ compiler will create directory out/ii_files/ for
7575
 
   # template instantiation
7576
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7577
 
   $rm out/* && rmdir out
7578
 
   cd ..
7579
 
   rmdir conftest
7580
 
   $rm conftest*
7581
 
 
7582
 
fi
7583
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7584
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8884
 
 
8885
 
 
8886
 
 
8887
 
 
8888
 
 
8889
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8890
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8891
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8892
  $as_echo_n "(cached) " >&6
 
8893
else
 
8894
  lt_cv_prog_compiler_c_o=no
 
8895
   $RM -r conftest 2>/dev/null
 
8896
   mkdir conftest
 
8897
   cd conftest
 
8898
   mkdir out
 
8899
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8900
 
 
8901
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8902
   # Insert the option either (1) after the last *FLAGS variable, or
 
8903
   # (2) before a word containing "conftest.", or (3) at the end.
 
8904
   # Note that $ac_compile itself does not contain backslashes and begins
 
8905
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8906
   lt_compile=`echo "$ac_compile" | $SED \
 
8907
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8908
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8909
   -e 's:$: $lt_compiler_flag:'`
 
8910
   (eval echo "\"\$as_me:8910: $lt_compile\"" >&5)
 
8911
   (eval "$lt_compile" 2>out/conftest.err)
 
8912
   ac_status=$?
 
8913
   cat out/conftest.err >&5
 
8914
   echo "$as_me:8914: \$? = $ac_status" >&5
 
8915
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8916
   then
 
8917
     # The compiler can only warn and ignore the option if not recognized
 
8918
     # So say no if there are warnings
 
8919
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8920
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8921
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8922
       lt_cv_prog_compiler_c_o=yes
 
8923
     fi
 
8924
   fi
 
8925
   chmod u+w . 2>&5
 
8926
   $RM conftest*
 
8927
   # SGI C++ compiler will create directory out/ii_files/ for
 
8928
   # template instantiation
 
8929
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8930
   $RM out/* && rmdir out
 
8931
   cd ..
 
8932
   $RM -r conftest
 
8933
   $RM conftest*
 
8934
 
 
8935
fi
 
8936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8937
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8938
 
 
8939
 
 
8940
 
 
8941
 
 
8942
 
 
8943
 
 
8944
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8945
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8946
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8947
  $as_echo_n "(cached) " >&6
 
8948
else
 
8949
  lt_cv_prog_compiler_c_o=no
 
8950
   $RM -r conftest 2>/dev/null
 
8951
   mkdir conftest
 
8952
   cd conftest
 
8953
   mkdir out
 
8954
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8955
 
 
8956
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8957
   # Insert the option either (1) after the last *FLAGS variable, or
 
8958
   # (2) before a word containing "conftest.", or (3) at the end.
 
8959
   # Note that $ac_compile itself does not contain backslashes and begins
 
8960
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8961
   lt_compile=`echo "$ac_compile" | $SED \
 
8962
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8963
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8964
   -e 's:$: $lt_compiler_flag:'`
 
8965
   (eval echo "\"\$as_me:8965: $lt_compile\"" >&5)
 
8966
   (eval "$lt_compile" 2>out/conftest.err)
 
8967
   ac_status=$?
 
8968
   cat out/conftest.err >&5
 
8969
   echo "$as_me:8969: \$? = $ac_status" >&5
 
8970
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8971
   then
 
8972
     # The compiler can only warn and ignore the option if not recognized
 
8973
     # So say no if there are warnings
 
8974
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8975
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8976
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8977
       lt_cv_prog_compiler_c_o=yes
 
8978
     fi
 
8979
   fi
 
8980
   chmod u+w . 2>&5
 
8981
   $RM conftest*
 
8982
   # SGI C++ compiler will create directory out/ii_files/ for
 
8983
   # template instantiation
 
8984
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8985
   $RM out/* && rmdir out
 
8986
   cd ..
 
8987
   $RM -r conftest
 
8988
   $RM conftest*
 
8989
 
 
8990
fi
 
8991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8992
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8993
 
 
8994
 
7585
8995
 
7586
8996
 
7587
8997
hard_links="nottested"
7588
8998
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7589
8999
  # do not overwrite the value of need_locks provided by the user
7590
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7591
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9000
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9001
$as_echo_n "checking if we can lock with hard links... " >&6; }
7592
9002
  hard_links=yes
7593
 
  $rm conftest*
 
9003
  $RM conftest*
7594
9004
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7595
9005
  touch conftest.a
7596
9006
  ln conftest.a conftest.b 2>&5 || hard_links=no
7597
9007
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7598
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7599
 
echo "${ECHO_T}$hard_links" >&6; }
 
9008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9009
$as_echo "$hard_links" >&6; }
7600
9010
  if test "$hard_links" = no; then
7601
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7602
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9011
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9012
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7603
9013
    need_locks=warn
7604
9014
  fi
7605
9015
else
7606
9016
  need_locks=no
7607
9017
fi
7608
9018
 
7609
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7610
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9019
 
 
9020
 
 
9021
 
 
9022
 
 
9023
 
 
9024
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9025
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7611
9026
 
7612
9027
  runpath_var=
7613
9028
  allow_undefined_flag=
7614
 
  enable_shared_with_static_runtimes=no
 
9029
  always_export_symbols=no
7615
9030
  archive_cmds=
7616
9031
  archive_expsym_cmds=
7617
 
  old_archive_From_new_cmds=
7618
 
  old_archive_from_expsyms_cmds=
 
9032
  compiler_needs_object=no
 
9033
  enable_shared_with_static_runtimes=no
7619
9034
  export_dynamic_flag_spec=
7620
 
  whole_archive_flag_spec=
7621
 
  thread_safe_flag_spec=
 
9035
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9036
  hardcode_automatic=no
 
9037
  hardcode_direct=no
 
9038
  hardcode_direct_absolute=no
7622
9039
  hardcode_libdir_flag_spec=
7623
9040
  hardcode_libdir_flag_spec_ld=
7624
9041
  hardcode_libdir_separator=
7625
 
  hardcode_direct=no
7626
9042
  hardcode_minus_L=no
7627
9043
  hardcode_shlibpath_var=unsupported
 
9044
  inherit_rpath=no
7628
9045
  link_all_deplibs=unknown
7629
 
  hardcode_automatic=no
7630
9046
  module_cmds=
7631
9047
  module_expsym_cmds=
7632
 
  always_export_symbols=no
7633
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9048
  old_archive_from_new_cmds=
 
9049
  old_archive_from_expsyms_cmds=
 
9050
  thread_safe_flag_spec=
 
9051
  whole_archive_flag_spec=
7634
9052
  # include_expsyms should be a list of space-separated symbols to be *always*
7635
9053
  # included in the symbol list
7636
9054
  include_expsyms=
7638
9056
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7639
9057
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7640
9058
  # as well as any symbol that contains `d'.
7641
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9059
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7642
9060
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7643
9061
  # platforms (ab)use it in PIC code, but their linkers get confused if
7644
9062
  # the symbol is explicitly referenced.  Since portable code cannot
7645
9063
  # rely on this symbol name, it's probably fine to never include it in
7646
9064
  # preloaded symbol tables.
 
9065
  # Exclude shared library initialization/finalization symbols.
7647
9066
  extract_expsyms_cmds=
7648
 
  # Just being paranoid about ensuring that cc_basename is set.
7649
 
  for cc_temp in $compiler""; do
7650
 
  case $cc_temp in
7651
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7652
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7653
 
    \-*) ;;
7654
 
    *) break;;
7655
 
  esac
7656
 
done
7657
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7658
9067
 
7659
9068
  case $host_os in
7660
 
  cygwin* | mingw* | pw32*)
 
9069
  cygwin* | mingw* | pw32* | cegcc*)
7661
9070
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7662
9071
    # When not using gcc, we currently assume that we are using
7663
9072
    # Microsoft Visual C++.
7672
9081
  openbsd*)
7673
9082
    with_gnu_ld=no
7674
9083
    ;;
 
9084
  linux* | k*bsd*-gnu)
 
9085
    link_all_deplibs=no
 
9086
    ;;
7675
9087
  esac
7676
9088
 
7677
9089
  ld_shlibs=yes
7683
9095
    # are reset later if shared libraries are not supported. Putting them
7684
9096
    # here allows them to be overridden if necessary.
7685
9097
    runpath_var=LD_RUN_PATH
7686
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9098
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7687
9099
    export_dynamic_flag_spec='${wl}--export-dynamic'
7688
9100
    # ancient GNU ld didn't support --whole-archive et. al.
7689
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7690
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7691
 
      else
7692
 
        whole_archive_flag_spec=
 
9101
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9102
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9103
    else
 
9104
      whole_archive_flag_spec=
7693
9105
    fi
7694
9106
    supports_anon_versioning=no
7695
 
    case `$LD -v 2>/dev/null` in
 
9107
    case `$LD -v 2>&1` in
7696
9108
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7697
9109
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7698
9110
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7702
9114
 
7703
9115
    # See if GNU ld supports shared libraries.
7704
9116
    case $host_os in
7705
 
    aix3* | aix4* | aix5*)
 
9117
    aix[3-9]*)
7706
9118
      # On AIX/PPC, the GNU linker is very broken
7707
9119
      if test "$host_cpu" != ia64; then
7708
9120
        ld_shlibs=no
7709
 
        cat <<EOF 1>&2
 
9121
        cat <<_LT_EOF 1>&2
7710
9122
 
7711
9123
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7712
9124
*** to be unable to reliably create shared libraries on AIX.
7714
9126
*** really care for shared libraries, you may want to modify your PATH
7715
9127
*** so that a non-GNU linker is found, and then restart.
7716
9128
 
7717
 
EOF
 
9129
_LT_EOF
7718
9130
      fi
7719
9131
      ;;
7720
9132
 
7721
9133
    amigaos*)
7722
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7723
 
      hardcode_libdir_flag_spec='-L$libdir'
7724
 
      hardcode_minus_L=yes
7725
 
 
7726
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7727
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7728
 
      # to version 4, is to share data among multiple programs linked
7729
 
      # with the same dynamic library.  Since this doesn't match the
7730
 
      # behavior of shared libraries on other platforms, we can't use
7731
 
      # them.
7732
 
      ld_shlibs=no
 
9134
      case $host_cpu in
 
9135
      powerpc)
 
9136
            # see comment about AmigaOS4 .so support
 
9137
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9138
            archive_expsym_cmds=''
 
9139
        ;;
 
9140
      m68k)
 
9141
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
9142
            hardcode_libdir_flag_spec='-L$libdir'
 
9143
            hardcode_minus_L=yes
 
9144
        ;;
 
9145
      esac
7733
9146
      ;;
7734
9147
 
7735
9148
    beos*)
7736
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9149
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7737
9150
        allow_undefined_flag=unsupported
7738
9151
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7739
9152
        # support --undefined.  This deserves some investigation.  FIXME
7743
9156
      fi
7744
9157
      ;;
7745
9158
 
7746
 
    cygwin* | mingw* | pw32*)
7747
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9159
    cygwin* | mingw* | pw32* | cegcc*)
 
9160
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7748
9161
      # as there is no search path for DLLs.
7749
9162
      hardcode_libdir_flag_spec='-L$libdir'
7750
9163
      allow_undefined_flag=unsupported
7751
9164
      always_export_symbols=no
7752
9165
      enable_shared_with_static_runtimes=yes
7753
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9166
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7754
9167
 
7755
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9168
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7756
9169
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7757
9170
        # If the export-symbols file already is a .def file (1st line
7758
9171
        # is EXPORTS), use it as is; otherwise, prepend...
7768
9181
      fi
7769
9182
      ;;
7770
9183
 
7771
 
    interix3*)
 
9184
    interix[3-9]*)
7772
9185
      hardcode_direct=no
7773
9186
      hardcode_shlibpath_var=no
7774
9187
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7783
9196
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7784
9197
      ;;
7785
9198
 
7786
 
    linux* | k*bsd*-gnu)
7787
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9199
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9200
      tmp_diet=no
 
9201
      if test "$host_os" = linux-dietlibc; then
 
9202
        case $cc_basename in
 
9203
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9204
        esac
 
9205
      fi
 
9206
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9207
         && test "$tmp_diet" = no
 
9208
      then
7788
9209
        tmp_addflag=
 
9210
        tmp_sharedflag='-shared'
7789
9211
        case $cc_basename,$host_cpu in
7790
 
        pgcc*)                          # Portland Group C compiler
7791
 
          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'
 
9212
        pgcc*)                          # Portland Group C compiler
 
9213
          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'
7792
9214
          tmp_addflag=' $pic_flag'
7793
9215
          ;;
7794
9216
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7795
 
          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'
 
9217
          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'
7796
9218
          tmp_addflag=' $pic_flag -Mnomain' ;;
7797
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9219
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7798
9220
          tmp_addflag=' -i_dynamic' ;;
7799
9221
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7800
9222
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7801
9223
        ifc* | ifort*)                  # Intel Fortran compiler
7802
9224
          tmp_addflag=' -nofor_main' ;;
7803
 
        esac
7804
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7805
 
 
7806
 
        if test $supports_anon_versioning = yes; then
7807
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7808
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7809
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7810
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7811
 
        fi
7812
 
        link_all_deplibs=no
 
9225
        lf95*)                          # Lahey Fortran 8.1
 
9226
          whole_archive_flag_spec=
 
9227
          tmp_sharedflag='--shared' ;;
 
9228
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9229
          tmp_sharedflag='-qmkshrobj'
 
9230
          tmp_addflag= ;;
 
9231
        esac
 
9232
        case `$CC -V 2>&1 | sed 5q` in
 
9233
        *Sun\ C*)                       # Sun C 5.9
 
9234
          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'
 
9235
          compiler_needs_object=yes
 
9236
          tmp_sharedflag='-G' ;;
 
9237
        *Sun\ F*)                       # Sun Fortran 8.3
 
9238
          tmp_sharedflag='-G' ;;
 
9239
        esac
 
9240
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9241
 
 
9242
        if test "x$supports_anon_versioning" = xyes; then
 
9243
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9244
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9245
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9246
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9247
        fi
 
9248
 
 
9249
        case $cc_basename in
 
9250
        xlf*)
 
9251
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9252
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9253
          hardcode_libdir_flag_spec=
 
9254
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9255
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9256
          if test "x$supports_anon_versioning" = xyes; then
 
9257
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9258
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9259
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9260
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9261
          fi
 
9262
          ;;
 
9263
        esac
7813
9264
      else
7814
 
        ld_shlibs=no
 
9265
        ld_shlibs=no
7815
9266
      fi
7816
9267
      ;;
7817
9268
 
7818
9269
    netbsd* | netbsdelf*-gnu)
7819
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9270
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7820
9271
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7821
9272
        wlarc=
7822
9273
      else
7826
9277
      ;;
7827
9278
 
7828
9279
    solaris*)
7829
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9280
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7830
9281
        ld_shlibs=no
7831
 
        cat <<EOF 1>&2
 
9282
        cat <<_LT_EOF 1>&2
7832
9283
 
7833
9284
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7834
9285
*** create shared libraries on Solaris systems.  Therefore, libtool
7837
9288
*** your PATH or compiler configuration so that the native linker is
7838
9289
*** used, and then restart.
7839
9290
 
7840
 
EOF
7841
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9291
_LT_EOF
 
9292
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7842
9293
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7843
9294
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7844
9295
      else
7862
9313
_LT_EOF
7863
9314
        ;;
7864
9315
        *)
7865
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7866
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7867
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7868
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9316
          # For security reasons, it is highly recommended that you always
 
9317
          # use absolute paths for naming shared libraries, and exclude the
 
9318
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9319
          # requires that you compile everything twice, which is a pain.
 
9320
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9321
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9322
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9323
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7869
9324
          else
7870
9325
            ld_shlibs=no
7871
9326
          fi
7881
9336
      ;;
7882
9337
 
7883
9338
    *)
7884
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9339
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7885
9340
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7886
9341
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7887
9342
      else
7913
9368
      fi
7914
9369
      ;;
7915
9370
 
7916
 
    aix4* | aix5*)
 
9371
    aix[4-9]*)
7917
9372
      if test "$host_cpu" = ia64; then
7918
9373
        # On IA64, the linker does run time linking by default, so we don't
7919
9374
        # have to do anything special.
7923
9378
      else
7924
9379
        # If we're using GNU nm, then we don't want the "-C" option.
7925
9380
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
7926
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7927
 
          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'
 
9381
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9382
          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'
7928
9383
        else
7929
 
          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'
 
9384
          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'
7930
9385
        fi
7931
9386
        aix_use_runtimelinking=no
7932
9387
 
7933
9388
        # Test if we are trying to use run time linking or normal
7934
9389
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7935
9390
        # need to do runtime linking.
7936
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9391
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7937
9392
          for ld_flag in $LDFLAGS; do
7938
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7939
 
            aix_use_runtimelinking=yes
7940
 
            break
7941
 
          fi
 
9393
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9394
            aix_use_runtimelinking=yes
 
9395
            break
 
9396
          fi
7942
9397
          done
7943
9398
          ;;
7944
9399
        esac
7955
9410
 
7956
9411
      archive_cmds=''
7957
9412
      hardcode_direct=yes
 
9413
      hardcode_direct_absolute=yes
7958
9414
      hardcode_libdir_separator=':'
7959
9415
      link_all_deplibs=yes
 
9416
      file_list_spec='${wl}-f,'
7960
9417
 
7961
9418
      if test "$GCC" = yes; then
7962
9419
        case $host_os in aix4.[012]|aix4.[012].*)
7963
9420
        # We only want to do this on AIX 4.2 and lower, the check
7964
9421
        # below for broken collect2 doesn't work under 4.3+
7965
9422
          collect2name=`${CC} -print-prog-name=collect2`
7966
 
          if test -f "$collect2name" && \
7967
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9423
          if test -f "$collect2name" &&
 
9424
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7968
9425
          then
7969
 
          # We have reworked collect2
7970
 
          hardcode_direct=yes
 
9426
          # We have reworked collect2
 
9427
          :
7971
9428
          else
7972
 
          # We have old collect2
7973
 
          hardcode_direct=unsupported
7974
 
          # It fails to find uninstalled libraries when the uninstalled
7975
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
7976
 
          # to unsupported forces relinking
7977
 
          hardcode_minus_L=yes
7978
 
          hardcode_libdir_flag_spec='-L$libdir'
7979
 
          hardcode_libdir_separator=
 
9429
          # We have old collect2
 
9430
          hardcode_direct=unsupported
 
9431
          # It fails to find uninstalled libraries when the uninstalled
 
9432
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9433
          # to unsupported forces relinking
 
9434
          hardcode_minus_L=yes
 
9435
          hardcode_libdir_flag_spec='-L$libdir'
 
9436
          hardcode_libdir_separator=
7980
9437
          fi
7981
9438
          ;;
7982
9439
        esac
7984
9441
        if test "$aix_use_runtimelinking" = yes; then
7985
9442
          shared_flag="$shared_flag "'${wl}-G'
7986
9443
        fi
 
9444
        link_all_deplibs=no
7987
9445
      else
7988
9446
        # not using gcc
7989
9447
        if test "$host_cpu" = ia64; then
7990
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7991
 
        # chokes on -Wl,-G. The following line is correct:
 
9448
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9449
        # chokes on -Wl,-G. The following line is correct:
7992
9450
          shared_flag='-G'
7993
9451
        else
7994
9452
          if test "$aix_use_runtimelinking" = yes; then
7999
9457
        fi
8000
9458
      fi
8001
9459
 
 
9460
      export_dynamic_flag_spec='${wl}-bexpall'
8002
9461
      # It seems that -bexpall does not export symbols beginning with
8003
9462
      # underscore (_), so it is better to generate a list of symbols to export.
8004
9463
      always_export_symbols=yes
8006
9465
        # Warning - without using the other runtime loading flags (-brtl),
8007
9466
        # -berok will link without error, but may produce a broken library.
8008
9467
        allow_undefined_flag='-berok'
8009
 
       # Determine the default libpath from the value encoded in an empty executable.
8010
 
       cat >conftest.$ac_ext <<_ACEOF
8011
 
/* confdefs.h.  */
8012
 
_ACEOF
8013
 
cat confdefs.h >>conftest.$ac_ext
8014
 
cat >>conftest.$ac_ext <<_ACEOF
 
9468
        # Determine the default libpath from the value encoded in an
 
9469
        # empty executable.
 
9470
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8015
9471
/* end confdefs.h.  */
8016
9472
 
8017
9473
int
8022
9478
  return 0;
8023
9479
}
8024
9480
_ACEOF
8025
 
rm -f conftest.$ac_objext conftest$ac_exeext
8026
 
if { (ac_try="$ac_link"
8027
 
case "(($ac_try" in
8028
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8029
 
  *) ac_try_echo=$ac_try;;
8030
 
esac
8031
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032
 
  (eval "$ac_link") 2>conftest.er1
8033
 
  ac_status=$?
8034
 
  grep -v '^ *+' conftest.er1 >conftest.err
8035
 
  rm -f conftest.er1
8036
 
  cat conftest.err >&5
8037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038
 
  (exit $ac_status); } && {
8039
 
         test -z "$ac_c_werror_flag" ||
8040
 
         test ! -s conftest.err
8041
 
       } && test -s conftest$ac_exeext &&
8042
 
       $as_test_x conftest$ac_exeext; then
 
9481
if ac_fn_c_try_link "$LINENO"; then :
8043
9482
 
8044
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8045
 
}'`
 
9483
lt_aix_libpath_sed='
 
9484
    /Import File Strings/,/^$/ {
 
9485
        /^0/ {
 
9486
            s/^0  *\(.*\)$/\1/
 
9487
            p
 
9488
        }
 
9489
    }'
 
9490
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8046
9491
# Check for a 64-bit object if we didn't find anything.
8047
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8048
 
}'`; fi
8049
 
else
8050
 
  echo "$as_me: failed program was:" >&5
8051
 
sed 's/^/| /' conftest.$ac_ext >&5
8052
 
 
8053
 
 
8054
 
fi
8055
 
 
8056
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8057
 
      conftest$ac_exeext conftest.$ac_ext
 
9492
if test -z "$aix_libpath"; then
 
9493
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9494
fi
 
9495
fi
 
9496
rm -f core conftest.err conftest.$ac_objext \
 
9497
    conftest$ac_exeext conftest.$ac_ext
8058
9498
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8059
9499
 
8060
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8061
 
        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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8062
 
       else
 
9500
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9501
        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"
 
9502
      else
8063
9503
        if test "$host_cpu" = ia64; then
8064
9504
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8065
9505
          allow_undefined_flag="-z nodefs"
8066
9506
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8067
9507
        else
8068
 
         # Determine the default libpath from the value encoded in an empty executable.
8069
 
         cat >conftest.$ac_ext <<_ACEOF
8070
 
/* confdefs.h.  */
8071
 
_ACEOF
8072
 
cat confdefs.h >>conftest.$ac_ext
8073
 
cat >>conftest.$ac_ext <<_ACEOF
 
9508
         # Determine the default libpath from the value encoded in an
 
9509
         # empty executable.
 
9510
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074
9511
/* end confdefs.h.  */
8075
9512
 
8076
9513
int
8081
9518
  return 0;
8082
9519
}
8083
9520
_ACEOF
8084
 
rm -f conftest.$ac_objext conftest$ac_exeext
8085
 
if { (ac_try="$ac_link"
8086
 
case "(($ac_try" in
8087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8088
 
  *) ac_try_echo=$ac_try;;
8089
 
esac
8090
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8091
 
  (eval "$ac_link") 2>conftest.er1
8092
 
  ac_status=$?
8093
 
  grep -v '^ *+' conftest.er1 >conftest.err
8094
 
  rm -f conftest.er1
8095
 
  cat conftest.err >&5
8096
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097
 
  (exit $ac_status); } && {
8098
 
         test -z "$ac_c_werror_flag" ||
8099
 
         test ! -s conftest.err
8100
 
       } && test -s conftest$ac_exeext &&
8101
 
       $as_test_x conftest$ac_exeext; then
 
9521
if ac_fn_c_try_link "$LINENO"; then :
8102
9522
 
8103
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8104
 
}'`
 
9523
lt_aix_libpath_sed='
 
9524
    /Import File Strings/,/^$/ {
 
9525
        /^0/ {
 
9526
            s/^0  *\(.*\)$/\1/
 
9527
            p
 
9528
        }
 
9529
    }'
 
9530
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8105
9531
# Check for a 64-bit object if we didn't find anything.
8106
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8107
 
}'`; fi
8108
 
else
8109
 
  echo "$as_me: failed program was:" >&5
8110
 
sed 's/^/| /' conftest.$ac_ext >&5
8111
 
 
8112
 
 
8113
 
fi
8114
 
 
8115
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8116
 
      conftest$ac_exeext conftest.$ac_ext
 
9532
if test -z "$aix_libpath"; then
 
9533
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9534
fi
 
9535
fi
 
9536
rm -f core conftest.err conftest.$ac_objext \
 
9537
    conftest$ac_exeext conftest.$ac_ext
8117
9538
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8118
9539
 
8119
9540
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8131
9552
      ;;
8132
9553
 
8133
9554
    amigaos*)
8134
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8135
 
      hardcode_libdir_flag_spec='-L$libdir'
8136
 
      hardcode_minus_L=yes
8137
 
      # see comment about different semantics on the GNU ld section
8138
 
      ld_shlibs=no
 
9555
      case $host_cpu in
 
9556
      powerpc)
 
9557
            # see comment about AmigaOS4 .so support
 
9558
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9559
            archive_expsym_cmds=''
 
9560
        ;;
 
9561
      m68k)
 
9562
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
9563
            hardcode_libdir_flag_spec='-L$libdir'
 
9564
            hardcode_minus_L=yes
 
9565
        ;;
 
9566
      esac
8139
9567
      ;;
8140
9568
 
8141
9569
    bsdi[45]*)
8142
9570
      export_dynamic_flag_spec=-rdynamic
8143
9571
      ;;
8144
9572
 
8145
 
    cygwin* | mingw* | pw32*)
 
9573
    cygwin* | mingw* | pw32* | cegcc*)
8146
9574
      # When not using gcc, we currently assume that we are using
8147
9575
      # Microsoft Visual C++.
8148
9576
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8154
9582
      # Tell ltmain to make .dll files, not .so files.
8155
9583
      shrext_cmds=".dll"
8156
9584
      # FIXME: Setting linknames here is a bad hack.
8157
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9585
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8158
9586
      # The linker will automatically build a .lib file if we build a DLL.
8159
 
      old_archive_From_new_cmds='true'
 
9587
      old_archive_from_new_cmds='true'
8160
9588
      # FIXME: Should let the user specify the lib program.
8161
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
9589
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8162
9590
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8163
9591
      enable_shared_with_static_runtimes=yes
8164
9592
      ;;
8165
9593
 
8166
9594
    darwin* | rhapsody*)
8167
 
      case $host_os in
8168
 
        rhapsody* | darwin1.[012])
8169
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8170
 
         ;;
8171
 
       *) # Darwin 1.3 on
8172
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8173
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8174
 
         else
8175
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8176
 
             10.[012])
8177
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8178
 
               ;;
8179
 
             10.*)
8180
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8181
 
               ;;
8182
 
           esac
8183
 
         fi
8184
 
         ;;
8185
 
      esac
8186
 
      archive_cmds_need_lc=no
8187
 
      hardcode_direct=no
8188
 
      hardcode_automatic=yes
8189
 
      hardcode_shlibpath_var=unsupported
8190
 
      whole_archive_flag_spec=''
8191
 
      link_all_deplibs=yes
8192
 
    if test "$GCC" = yes ; then
8193
 
        output_verbose_link_cmd='echo'
8194
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8195
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8196
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8197
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8198
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8199
 
    else
8200
 
      case $cc_basename in
8201
 
        xlc*)
8202
 
         output_verbose_link_cmd='echo'
8203
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8204
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8205
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8206
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8207
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8208
 
          ;;
8209
 
       *)
8210
 
         ld_shlibs=no
8211
 
          ;;
8212
 
      esac
8213
 
    fi
 
9595
 
 
9596
 
 
9597
  archive_cmds_need_lc=no
 
9598
  hardcode_direct=no
 
9599
  hardcode_automatic=yes
 
9600
  hardcode_shlibpath_var=unsupported
 
9601
  whole_archive_flag_spec=''
 
9602
  link_all_deplibs=yes
 
9603
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9604
  case $cc_basename in
 
9605
     ifort*) _lt_dar_can_shared=yes ;;
 
9606
     *) _lt_dar_can_shared=$GCC ;;
 
9607
  esac
 
9608
  if test "$_lt_dar_can_shared" = "yes"; then
 
9609
    output_verbose_link_cmd=echo
 
9610
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9611
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9612
    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}"
 
9613
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
9614
 
 
9615
  else
 
9616
  ld_shlibs=no
 
9617
  fi
 
9618
 
8214
9619
      ;;
8215
9620
 
8216
9621
    dgux*)
8252
9657
 
8253
9658
    hpux9*)
8254
9659
      if test "$GCC" = yes; then
8255
 
        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'
 
9660
        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'
8256
9661
      else
8257
 
        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'
 
9662
        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'
8258
9663
      fi
8259
9664
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8260
9665
      hardcode_libdir_separator=:
8274
9679
      fi
8275
9680
      if test "$with_gnu_ld" = no; then
8276
9681
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9682
        hardcode_libdir_flag_spec_ld='+b $libdir'
8277
9683
        hardcode_libdir_separator=:
8278
 
 
8279
9684
        hardcode_direct=yes
 
9685
        hardcode_direct_absolute=yes
8280
9686
        export_dynamic_flag_spec='${wl}-E'
8281
 
 
8282
9687
        # hardcode_minus_L: Not really in the search PATH,
8283
9688
        # but as the default location of the library.
8284
9689
        hardcode_minus_L=yes
8292
9697
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8293
9698
          ;;
8294
9699
        ia64*)
8295
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9700
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8296
9701
          ;;
8297
9702
        *)
8298
9703
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8317
9722
 
8318
9723
        case $host_cpu in
8319
9724
        hppa*64*|ia64*)
8320
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8321
9725
          hardcode_direct=no
8322
9726
          hardcode_shlibpath_var=no
8323
9727
          ;;
8324
9728
        *)
8325
9729
          hardcode_direct=yes
 
9730
          hardcode_direct_absolute=yes
8326
9731
          export_dynamic_flag_spec='${wl}-E'
8327
9732
 
8328
9733
          # hardcode_minus_L: Not really in the search PATH,
8335
9740
 
8336
9741
    irix5* | irix6* | nonstopux*)
8337
9742
      if test "$GCC" = yes; then
8338
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9743
        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'
 
9744
        # Try to use the -exported_symbol ld option, if it does not
 
9745
        # work, assume that -exports_file does not work either and
 
9746
        # implicitly export all symbols.
 
9747
        save_LDFLAGS="$LDFLAGS"
 
9748
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9749
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9750
/* end confdefs.h.  */
 
9751
int foo(void) {}
 
9752
_ACEOF
 
9753
if ac_fn_c_try_link "$LINENO"; then :
 
9754
  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'
 
9755
 
 
9756
fi
 
9757
rm -f core conftest.err conftest.$ac_objext \
 
9758
    conftest$ac_exeext conftest.$ac_ext
 
9759
        LDFLAGS="$save_LDFLAGS"
8339
9760
      else
8340
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8341
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9761
        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'
 
9762
        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'
8342
9763
      fi
 
9764
      archive_cmds_need_lc='no'
8343
9765
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8344
9766
      hardcode_libdir_separator=:
 
9767
      inherit_rpath=yes
8345
9768
      link_all_deplibs=yes
8346
9769
      ;;
8347
9770
 
8348
9771
    netbsd* | netbsdelf*-gnu)
8349
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9772
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8350
9773
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8351
9774
      else
8352
9775
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8364
9787
      hardcode_shlibpath_var=no
8365
9788
      ;;
8366
9789
 
 
9790
    *nto* | *qnx*)
 
9791
      ;;
 
9792
 
8367
9793
    openbsd*)
8368
 
      hardcode_direct=yes
8369
 
      hardcode_shlibpath_var=no
8370
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8371
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8372
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8373
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8374
 
        export_dynamic_flag_spec='${wl}-E'
 
9794
      if test -f /usr/libexec/ld.so; then
 
9795
        hardcode_direct=yes
 
9796
        hardcode_shlibpath_var=no
 
9797
        hardcode_direct_absolute=yes
 
9798
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9799
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9800
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9801
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9802
          export_dynamic_flag_spec='${wl}-E'
 
9803
        else
 
9804
          case $host_os in
 
9805
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9806
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9807
             hardcode_libdir_flag_spec='-R$libdir'
 
9808
             ;;
 
9809
           *)
 
9810
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9811
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9812
             ;;
 
9813
          esac
 
9814
        fi
8375
9815
      else
8376
 
       case $host_os in
8377
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8378
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8379
 
           hardcode_libdir_flag_spec='-R$libdir'
8380
 
           ;;
8381
 
         *)
8382
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8383
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8384
 
           ;;
8385
 
       esac
 
9816
        ld_shlibs=no
8386
9817
      fi
8387
9818
      ;;
8388
9819
 
8390
9821
      hardcode_libdir_flag_spec='-L$libdir'
8391
9822
      hardcode_minus_L=yes
8392
9823
      allow_undefined_flag=unsupported
8393
 
      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'
8394
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9824
      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'
 
9825
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8395
9826
      ;;
8396
9827
 
8397
9828
    osf3*)
8398
9829
      if test "$GCC" = yes; then
8399
9830
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8400
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9831
        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'
8401
9832
      else
8402
9833
        allow_undefined_flag=' -expect_unresolved \*'
8403
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
9834
        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'
8404
9835
      fi
 
9836
      archive_cmds_need_lc='no'
8405
9837
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8406
9838
      hardcode_libdir_separator=:
8407
9839
      ;;
8409
9841
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8410
9842
      if test "$GCC" = yes; then
8411
9843
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8412
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9844
        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'
8413
9845
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8414
9846
      else
8415
9847
        allow_undefined_flag=' -expect_unresolved \*'
8416
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8417
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8418
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
9848
        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'
 
9849
        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~
 
9850
        $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'
8419
9851
 
8420
9852
        # Both c and cxx compiler support -rpath directly
8421
9853
        hardcode_libdir_flag_spec='-rpath $libdir'
8422
9854
      fi
 
9855
      archive_cmds_need_lc='no'
8423
9856
      hardcode_libdir_separator=:
8424
9857
      ;;
8425
9858
 
8426
9859
    solaris*)
8427
 
      no_undefined_flag=' -z text'
 
9860
      no_undefined_flag=' -z defs'
8428
9861
      if test "$GCC" = yes; then
8429
9862
        wlarc='${wl}'
8430
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8431
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8432
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9863
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9864
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9865
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8433
9866
      else
8434
 
        wlarc=''
8435
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8436
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8437
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9867
        case `$CC -V 2>&1` in
 
9868
        *"Compilers 5.0"*)
 
9869
          wlarc=''
 
9870
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9871
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9872
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9873
          ;;
 
9874
        *)
 
9875
          wlarc='${wl}'
 
9876
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9877
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9878
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9879
          ;;
 
9880
        esac
8438
9881
      fi
8439
9882
      hardcode_libdir_flag_spec='-R$libdir'
8440
9883
      hardcode_shlibpath_var=no
8441
9884
      case $host_os in
8442
9885
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8443
9886
      *)
8444
 
        # The compiler driver will combine linker options so we
8445
 
        # cannot just pass the convience library names through
8446
 
        # without $wl, iff we do not link with $LD.
8447
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
8448
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8449
 
        case $wlarc in
8450
 
        '')
8451
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8452
 
        *)
8453
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8454
 
        esac ;;
 
9887
        # The compiler driver will combine and reorder linker options,
 
9888
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9889
        # but is careful enough not to reorder.
 
9890
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9891
        if test "$GCC" = yes; then
 
9892
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9893
        else
 
9894
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9895
        fi
 
9896
        ;;
8455
9897
      esac
8456
9898
      link_all_deplibs=yes
8457
9899
      ;;
8508
9950
      fi
8509
9951
      ;;
8510
9952
 
8511
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9953
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8512
9954
      no_undefined_flag='${wl}-z,text'
8513
9955
      archive_cmds_need_lc=no
8514
9956
      hardcode_shlibpath_var=no
8534
9976
      allow_undefined_flag='${wl}-z,nodefs'
8535
9977
      archive_cmds_need_lc=no
8536
9978
      hardcode_shlibpath_var=no
8537
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9979
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8538
9980
      hardcode_libdir_separator=':'
8539
9981
      link_all_deplibs=yes
8540
9982
      export_dynamic_flag_spec='${wl}-Bexport'
8541
9983
      runpath_var='LD_RUN_PATH'
8542
9984
 
8543
9985
      if test "$GCC" = yes; then
8544
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8545
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9986
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9987
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8546
9988
      else
8547
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8548
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9989
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9990
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8549
9991
      fi
8550
9992
      ;;
8551
9993
 
8559
10001
      ld_shlibs=no
8560
10002
      ;;
8561
10003
    esac
 
10004
 
 
10005
    if test x$host_vendor = xsni; then
 
10006
      case $host in
 
10007
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10008
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10009
        ;;
 
10010
      esac
 
10011
    fi
8562
10012
  fi
8563
10013
 
8564
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8565
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10015
$as_echo "$ld_shlibs" >&6; }
8566
10016
test "$ld_shlibs" = no && can_build_shared=no
8567
10017
 
 
10018
with_gnu_ld=$with_gnu_ld
 
10019
 
 
10020
 
 
10021
 
 
10022
 
 
10023
 
 
10024
 
 
10025
 
 
10026
 
 
10027
 
 
10028
 
 
10029
 
 
10030
 
 
10031
 
 
10032
 
 
10033
 
8568
10034
#
8569
10035
# Do we need to explicitly link libc?
8570
10036
#
8582
10048
      # Test whether the compiler implicitly links with -lc since on some
8583
10049
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8584
10050
      # to ld, don't add -lc before -lgcc.
8585
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8586
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8587
 
      $rm conftest*
8588
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10051
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10052
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10053
      $RM conftest*
 
10054
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8589
10055
 
8590
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10056
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8591
10057
  (eval $ac_compile) 2>&5
8592
10058
  ac_status=$?
8593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594
 
  (exit $ac_status); } 2>conftest.err; then
 
10059
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10060
  test $ac_status = 0; } 2>conftest.err; then
8595
10061
        soname=conftest
8596
10062
        lib=conftest
8597
10063
        libobjs=conftest.$ac_objext
8605
10071
        libname=conftest
8606
10072
        lt_save_allow_undefined_flag=$allow_undefined_flag
8607
10073
        allow_undefined_flag=
8608
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8609
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10074
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10075
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8610
10076
  ac_status=$?
8611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612
 
  (exit $ac_status); }
 
10077
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10078
  test $ac_status = 0; }
8613
10079
        then
8614
10080
          archive_cmds_need_lc=no
8615
10081
        else
8619
10085
      else
8620
10086
        cat conftest.err 1>&5
8621
10087
      fi
8622
 
      $rm conftest*
8623
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8624
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10088
      $RM conftest*
 
10089
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10090
$as_echo "$archive_cmds_need_lc" >&6; }
8625
10091
      ;;
8626
10092
    esac
8627
10093
  fi
8628
10094
  ;;
8629
10095
esac
8630
10096
 
8631
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8632
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
 
10115
 
 
10116
 
 
10117
 
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
 
 
10196
 
 
10197
 
 
10198
 
 
10199
 
 
10200
 
 
10201
 
 
10202
 
 
10203
 
 
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10254
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10255
 
 
10256
if test "$GCC" = yes; then
 
10257
  case $host_os in
 
10258
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10259
    *) lt_awk_arg="/^libraries:/" ;;
 
10260
  esac
 
10261
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10262
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10263
    # if the path contains ";" then we assume it to be the separator
 
10264
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10265
    # assumed that no part of a normal pathname contains ";" but that should
 
10266
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10267
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10268
  else
 
10269
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10270
  fi
 
10271
  # Ok, now we have the path, separated by spaces, we can step through it
 
10272
  # and add multilib dir if necessary.
 
10273
  lt_tmp_lt_search_path_spec=
 
10274
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10275
  for lt_sys_path in $lt_search_path_spec; do
 
10276
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10277
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10278
    else
 
10279
      test -d "$lt_sys_path" && \
 
10280
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10281
    fi
 
10282
  done
 
10283
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10284
BEGIN {RS=" "; FS="/|\n";} {
 
10285
  lt_foo="";
 
10286
  lt_count=0;
 
10287
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10288
    if ($lt_i != "" && $lt_i != ".") {
 
10289
      if ($lt_i == "..") {
 
10290
        lt_count++;
 
10291
      } else {
 
10292
        if (lt_count == 0) {
 
10293
          lt_foo="/" $lt_i lt_foo;
 
10294
        } else {
 
10295
          lt_count--;
 
10296
        }
 
10297
      }
 
10298
    }
 
10299
  }
 
10300
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10301
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10302
}'`
 
10303
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10304
else
 
10305
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10306
fi
8633
10307
library_names_spec=
8634
10308
libname_spec='lib$name'
8635
10309
soname_spec=
8643
10317
version_type=none
8644
10318
dynamic_linker="$host_os ld.so"
8645
10319
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8646
 
if test "$GCC" = yes; then
8647
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8648
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8649
 
    # if the path contains ";" then we assume it to be the separator
8650
 
    # otherwise default to the standard path separator (i.e. ":") - it is
8651
 
    # assumed that no part of a normal pathname contains ";" but that should
8652
 
    # okay in the real world where ";" in dirpaths is itself problematic.
8653
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8654
 
  else
8655
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8656
 
  fi
8657
 
else
8658
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8659
 
fi
8660
10320
need_lib_prefix=unknown
8661
10321
hardcode_into_libs=no
8662
10322
 
8674
10334
  soname_spec='${libname}${release}${shared_ext}$major'
8675
10335
  ;;
8676
10336
 
8677
 
aix4* | aix5*)
 
10337
aix[4-9]*)
8678
10338
  version_type=linux
8679
10339
  need_lib_prefix=no
8680
10340
  need_version=no
8693
10353
      aix4 | aix4.[01] | aix4.[01].*)
8694
10354
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8695
10355
           echo ' yes '
8696
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10356
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8697
10357
        :
8698
10358
      else
8699
10359
        can_build_shared=no
8719
10379
  ;;
8720
10380
 
8721
10381
amigaos*)
8722
 
  library_names_spec='$libname.ixlibrary $libname.a'
8723
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8724
 
  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'
 
10382
  case $host_cpu in
 
10383
  powerpc)
 
10384
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10385
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10386
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10387
    ;;
 
10388
  m68k)
 
10389
    library_names_spec='$libname.ixlibrary $libname.a'
 
10390
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10391
    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'
 
10392
    ;;
 
10393
  esac
8725
10394
  ;;
8726
10395
 
8727
10396
beos*)
8744
10413
  # libtool to hard-code these into programs
8745
10414
  ;;
8746
10415
 
8747
 
cygwin* | mingw* | pw32*)
 
10416
cygwin* | mingw* | pw32* | cegcc*)
8748
10417
  version_type=windows
8749
10418
  shrext_cmds=".dll"
8750
10419
  need_version=no
8751
10420
  need_lib_prefix=no
8752
10421
 
8753
10422
  case $GCC,$host_os in
8754
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10423
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8755
10424
    library_names_spec='$libname.dll.a'
8756
10425
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8757
10426
    postinstall_cmds='base_file=`basename \${file}`~
8758
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10427
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8759
10428
      dldir=$destdir/`dirname \$dlpath`~
8760
10429
      test -d \$dldir || mkdir -p \$dldir~
8761
10430
      $install_prog $dir/$dlname \$dldir/$dlname~
8762
 
      chmod a+x \$dldir/$dlname'
 
10431
      chmod a+x \$dldir/$dlname~
 
10432
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10433
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10434
      fi'
8763
10435
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8764
10436
      dlpath=$dir/\$dldll~
8765
 
       $rm \$dlpath'
 
10437
       $RM \$dlpath'
8766
10438
    shlibpath_overrides_runpath=yes
8767
10439
 
8768
10440
    case $host_os in
8771
10443
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8772
10444
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8773
10445
      ;;
8774
 
    mingw*)
 
10446
    mingw* | cegcc*)
8775
10447
      # MinGW DLLs use traditional 'lib' prefix
8776
10448
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8777
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8778
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10449
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10450
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8779
10451
        # It is most probably a Windows format PATH printed by
8780
10452
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8781
10453
        # path with ; separators, and with drive letters. We can handle the
8782
10454
        # drive letters (cygwin fileutils understands them), so leave them,
8783
10455
        # especially as we might pass files found there to a mingw objdump,
8784
10456
        # which wouldn't understand a cygwinified path. Ahh.
8785
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10457
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8786
10458
      else
8787
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10459
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8788
10460
      fi
8789
10461
      ;;
8790
10462
    pw32*)
8808
10480
  version_type=darwin
8809
10481
  need_lib_prefix=no
8810
10482
  need_version=no
8811
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10483
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8812
10484
  soname_spec='${libname}${release}${major}$shared_ext'
8813
10485
  shlibpath_overrides_runpath=yes
8814
10486
  shlibpath_var=DYLD_LIBRARY_PATH
8815
10487
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8816
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8817
 
  if test "$GCC" = yes; then
8818
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8819
 
  else
8820
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8821
 
  fi
 
10488
 
 
10489
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8822
10490
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8823
10491
  ;;
8824
10492
 
8872
10540
    shlibpath_overrides_runpath=no
8873
10541
    hardcode_into_libs=yes
8874
10542
    ;;
8875
 
  freebsd*) # from 4.6 on
 
10543
  *) # from 4.6 on, and DragonFly
8876
10544
    shlibpath_overrides_runpath=yes
8877
10545
    hardcode_into_libs=yes
8878
10546
    ;;
8911
10579
    fi
8912
10580
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8913
10581
    ;;
8914
 
   hppa*64*)
8915
 
     shrext_cmds='.sl'
8916
 
     hardcode_into_libs=yes
8917
 
     dynamic_linker="$host_os dld.sl"
8918
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8919
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8920
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8921
 
     soname_spec='${libname}${release}${shared_ext}$major'
8922
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8923
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8924
 
     ;;
8925
 
   *)
 
10582
  hppa*64*)
 
10583
    shrext_cmds='.sl'
 
10584
    hardcode_into_libs=yes
 
10585
    dynamic_linker="$host_os dld.sl"
 
10586
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10587
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10588
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10589
    soname_spec='${libname}${release}${shared_ext}$major'
 
10590
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10591
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10592
    ;;
 
10593
  *)
8926
10594
    shrext_cmds='.sl'
8927
10595
    dynamic_linker="$host_os dld.sl"
8928
10596
    shlibpath_var=SHLIB_PATH
8935
10603
  postinstall_cmds='chmod 555 $lib'
8936
10604
  ;;
8937
10605
 
8938
 
interix3*)
 
10606
interix[3-9]*)
8939
10607
  version_type=linux
8940
10608
  need_lib_prefix=no
8941
10609
  need_version=no
8999
10667
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9000
10668
  shlibpath_var=LD_LIBRARY_PATH
9001
10669
  shlibpath_overrides_runpath=no
 
10670
  # Some binutils ld are patched to set DT_RUNPATH
 
10671
  save_LDFLAGS=$LDFLAGS
 
10672
  save_libdir=$libdir
 
10673
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10674
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10675
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10676
/* end confdefs.h.  */
 
10677
 
 
10678
int
 
10679
main ()
 
10680
{
 
10681
 
 
10682
  ;
 
10683
  return 0;
 
10684
}
 
10685
_ACEOF
 
10686
if ac_fn_c_try_link "$LINENO"; then :
 
10687
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10688
  shlibpath_overrides_runpath=yes
 
10689
fi
 
10690
fi
 
10691
rm -f core conftest.err conftest.$ac_objext \
 
10692
    conftest$ac_exeext conftest.$ac_ext
 
10693
  LDFLAGS=$save_LDFLAGS
 
10694
  libdir=$save_libdir
 
10695
 
9002
10696
  # This implies no fast_install, which is unacceptable.
9003
10697
  # Some rework will be needed to allow for fast_install
9004
10698
  # before this can be enabled.
9006
10700
 
9007
10701
  # Append ld.so.conf contents to the search path
9008
10702
  if test -f /etc/ld.so.conf; then
9009
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
10703
    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' ' '`
9010
10704
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9011
10705
  fi
9012
10706
 
9035
10729
  version_type=sunos
9036
10730
  need_lib_prefix=no
9037
10731
  need_version=no
9038
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10732
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9039
10733
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9040
10734
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9041
10735
    dynamic_linker='NetBSD (a.out) ld.so'
9056
10750
  shlibpath_overrides_runpath=yes
9057
10751
  ;;
9058
10752
 
9059
 
nto-qnx*)
9060
 
  version_type=linux
 
10753
*nto* | *qnx*)
 
10754
  version_type=qnx
9061
10755
  need_lib_prefix=no
9062
10756
  need_version=no
9063
10757
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9064
10758
  soname_spec='${libname}${release}${shared_ext}$major'
9065
10759
  shlibpath_var=LD_LIBRARY_PATH
9066
 
  shlibpath_overrides_runpath=yes
 
10760
  shlibpath_overrides_runpath=no
 
10761
  hardcode_into_libs=yes
 
10762
  dynamic_linker='ldqnx.so'
9067
10763
  ;;
9068
10764
 
9069
10765
openbsd*)
9072
10768
  need_lib_prefix=no
9073
10769
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9074
10770
  case $host_os in
9075
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9076
 
    *)                         need_version=no  ;;
 
10771
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10772
    *)                          need_version=no  ;;
9077
10773
  esac
9078
10774
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9079
10775
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9080
10776
  shlibpath_var=LD_LIBRARY_PATH
9081
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10777
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9082
10778
    case $host_os in
9083
10779
      openbsd2.[89] | openbsd2.[89].*)
9084
10780
        shlibpath_overrides_runpath=no
9112
10808
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9113
10809
  ;;
9114
10810
 
 
10811
rdos*)
 
10812
  dynamic_linker=no
 
10813
  ;;
 
10814
 
9115
10815
solaris*)
9116
10816
  version_type=linux
9117
10817
  need_lib_prefix=no
9146
10846
    sni)
9147
10847
      shlibpath_overrides_runpath=no
9148
10848
      need_lib_prefix=no
9149
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9150
10849
      runpath_var=LD_RUN_PATH
9151
10850
      ;;
9152
10851
    siemens)
9177
10876
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9178
10877
  soname_spec='${libname}${release}${shared_ext}$major'
9179
10878
  shlibpath_var=LD_LIBRARY_PATH
 
10879
  shlibpath_overrides_runpath=yes
9180
10880
  hardcode_into_libs=yes
9181
10881
  if test "$with_gnu_ld" = yes; then
9182
10882
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9183
 
    shlibpath_overrides_runpath=no
9184
10883
  else
9185
10884
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9186
 
    shlibpath_overrides_runpath=yes
9187
10885
    case $host_os in
9188
10886
      sco3.2v5*)
9189
10887
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9193
10891
  sys_lib_dlsearch_path_spec='/usr/lib'
9194
10892
  ;;
9195
10893
 
 
10894
tpf*)
 
10895
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10896
  version_type=linux
 
10897
  need_lib_prefix=no
 
10898
  need_version=no
 
10899
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10900
  shlibpath_var=LD_LIBRARY_PATH
 
10901
  shlibpath_overrides_runpath=no
 
10902
  hardcode_into_libs=yes
 
10903
  ;;
 
10904
 
9196
10905
uts4*)
9197
10906
  version_type=linux
9198
10907
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9204
10913
  dynamic_linker=no
9205
10914
  ;;
9206
10915
esac
9207
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9208
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
10916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10917
$as_echo "$dynamic_linker" >&6; }
9209
10918
test "$dynamic_linker" = no && can_build_shared=no
9210
10919
 
9211
10920
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9213
10922
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9214
10923
fi
9215
10924
 
9216
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9217
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
10925
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10926
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10927
fi
 
10928
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10929
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10930
fi
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
 
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
 
 
11018
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11019
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9218
11020
hardcode_action=
9219
 
if test -n "$hardcode_libdir_flag_spec" || \
9220
 
   test -n "$runpath_var" || \
 
11021
if test -n "$hardcode_libdir_flag_spec" ||
 
11022
   test -n "$runpath_var" ||
9221
11023
   test "X$hardcode_automatic" = "Xyes" ; then
9222
11024
 
9223
 
  # We can hardcode non-existant directories.
 
11025
  # We can hardcode non-existent directories.
9224
11026
  if test "$hardcode_direct" != no &&
9225
11027
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9226
11028
     # have to relink, otherwise we might link with an installed library
9227
11029
     # when we should be linking with a yet-to-be-installed one
9228
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11030
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9229
11031
     test "$hardcode_minus_L" != no; then
9230
11032
    # Linking always hardcodes the temporary library directory.
9231
11033
    hardcode_action=relink
9238
11040
  # directories.
9239
11041
  hardcode_action=unsupported
9240
11042
fi
9241
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9242
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11044
$as_echo "$hardcode_action" >&6; }
9243
11045
 
9244
 
if test "$hardcode_action" = relink; then
 
11046
if test "$hardcode_action" = relink ||
 
11047
   test "$inherit_rpath" = yes; then
9245
11048
  # Fast installation is not supported
9246
11049
  enable_fast_install=no
9247
11050
elif test "$shlibpath_overrides_runpath" = yes ||
9250
11053
  enable_fast_install=needless
9251
11054
fi
9252
11055
 
9253
 
striplib=
9254
 
old_striplib=
9255
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9256
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9257
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9258
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9259
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9260
 
  { echo "$as_me:$LINENO: result: yes" >&5
9261
 
echo "${ECHO_T}yes" >&6; }
9262
 
else
9263
 
# FIXME - insert some real tests, host_os isn't really good enough
9264
 
  case $host_os in
9265
 
   darwin*)
9266
 
       if test -n "$STRIP" ; then
9267
 
         striplib="$STRIP -x"
9268
 
         { echo "$as_me:$LINENO: result: yes" >&5
9269
 
echo "${ECHO_T}yes" >&6; }
9270
 
       else
9271
 
  { echo "$as_me:$LINENO: result: no" >&5
9272
 
echo "${ECHO_T}no" >&6; }
9273
 
fi
9274
 
       ;;
9275
 
   *)
9276
 
  { echo "$as_me:$LINENO: result: no" >&5
9277
 
echo "${ECHO_T}no" >&6; }
9278
 
    ;;
9279
 
  esac
9280
 
fi
9281
 
 
9282
 
if test "x$enable_dlopen" != xyes; then
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
  if test "x$enable_dlopen" != xyes; then
9283
11062
  enable_dlopen=unknown
9284
11063
  enable_dlopen_self=unknown
9285
11064
  enable_dlopen_self_static=unknown
9294
11073
    lt_cv_dlopen_self=yes
9295
11074
    ;;
9296
11075
 
9297
 
  mingw* | pw32*)
 
11076
  mingw* | pw32* | cegcc*)
9298
11077
    lt_cv_dlopen="LoadLibrary"
9299
11078
    lt_cv_dlopen_libs=
9300
 
   ;;
 
11079
    ;;
9301
11080
 
9302
11081
  cygwin*)
9303
11082
    lt_cv_dlopen="dlopen"
9304
11083
    lt_cv_dlopen_libs=
9305
 
   ;;
 
11084
    ;;
9306
11085
 
9307
11086
  darwin*)
9308
11087
  # if libdl is installed we need to link against it
9309
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9310
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9311
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11088
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11089
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11090
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11091
  $as_echo_n "(cached) " >&6
9313
11092
else
9314
11093
  ac_check_lib_save_LIBS=$LIBS
9315
11094
LIBS="-ldl  $LIBS"
9316
 
cat >conftest.$ac_ext <<_ACEOF
9317
 
/* confdefs.h.  */
9318
 
_ACEOF
9319
 
cat confdefs.h >>conftest.$ac_ext
9320
 
cat >>conftest.$ac_ext <<_ACEOF
 
11095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9321
11096
/* end confdefs.h.  */
9322
11097
 
9323
11098
/* Override any GCC internal prototype to avoid an error.
9335
11110
  return 0;
9336
11111
}
9337
11112
_ACEOF
9338
 
rm -f conftest.$ac_objext conftest$ac_exeext
9339
 
if { (ac_try="$ac_link"
9340
 
case "(($ac_try" in
9341
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9342
 
  *) ac_try_echo=$ac_try;;
9343
 
esac
9344
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9345
 
  (eval "$ac_link") 2>conftest.er1
9346
 
  ac_status=$?
9347
 
  grep -v '^ *+' conftest.er1 >conftest.err
9348
 
  rm -f conftest.er1
9349
 
  cat conftest.err >&5
9350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351
 
  (exit $ac_status); } && {
9352
 
         test -z "$ac_c_werror_flag" ||
9353
 
         test ! -s conftest.err
9354
 
       } && test -s conftest$ac_exeext &&
9355
 
       $as_test_x conftest$ac_exeext; then
 
11113
if ac_fn_c_try_link "$LINENO"; then :
9356
11114
  ac_cv_lib_dl_dlopen=yes
9357
11115
else
9358
 
  echo "$as_me: failed program was:" >&5
9359
 
sed 's/^/| /' conftest.$ac_ext >&5
9360
 
 
9361
 
        ac_cv_lib_dl_dlopen=no
 
11116
  ac_cv_lib_dl_dlopen=no
9362
11117
fi
9363
 
 
9364
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9365
 
      conftest$ac_exeext conftest.$ac_ext
 
11118
rm -f core conftest.err conftest.$ac_objext \
 
11119
    conftest$ac_exeext conftest.$ac_ext
9366
11120
LIBS=$ac_check_lib_save_LIBS
9367
11121
fi
9368
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9369
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9370
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11123
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11124
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9371
11125
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9372
11126
else
9373
11127
 
9377
11131
 
9378
11132
fi
9379
11133
 
9380
 
   ;;
 
11134
    ;;
9381
11135
 
9382
11136
  *)
9383
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9384
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9385
 
if test "${ac_cv_func_shl_load+set}" = set; then
9386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9387
 
else
9388
 
  cat >conftest.$ac_ext <<_ACEOF
9389
 
/* confdefs.h.  */
9390
 
_ACEOF
9391
 
cat confdefs.h >>conftest.$ac_ext
9392
 
cat >>conftest.$ac_ext <<_ACEOF
9393
 
/* end confdefs.h.  */
9394
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9395
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9396
 
#define shl_load innocuous_shl_load
9397
 
 
9398
 
/* System header to define __stub macros and hopefully few prototypes,
9399
 
    which can conflict with char shl_load (); below.
9400
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9401
 
    <limits.h> exists even on freestanding compilers.  */
9402
 
 
9403
 
#ifdef __STDC__
9404
 
# include <limits.h>
9405
 
#else
9406
 
# include <assert.h>
9407
 
#endif
9408
 
 
9409
 
#undef shl_load
9410
 
 
9411
 
/* Override any GCC internal prototype to avoid an error.
9412
 
   Use char because int might match the return type of a GCC
9413
 
   builtin and then its argument prototype would still apply.  */
9414
 
#ifdef __cplusplus
9415
 
extern "C"
9416
 
#endif
9417
 
char shl_load ();
9418
 
/* The GNU C library defines this for functions which it implements
9419
 
    to always fail with ENOSYS.  Some functions are actually named
9420
 
    something starting with __ and the normal name is an alias.  */
9421
 
#if defined __stub_shl_load || defined __stub___shl_load
9422
 
choke me
9423
 
#endif
9424
 
 
9425
 
int
9426
 
main ()
9427
 
{
9428
 
return shl_load ();
9429
 
  ;
9430
 
  return 0;
9431
 
}
9432
 
_ACEOF
9433
 
rm -f conftest.$ac_objext conftest$ac_exeext
9434
 
if { (ac_try="$ac_link"
9435
 
case "(($ac_try" in
9436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9437
 
  *) ac_try_echo=$ac_try;;
9438
 
esac
9439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9440
 
  (eval "$ac_link") 2>conftest.er1
9441
 
  ac_status=$?
9442
 
  grep -v '^ *+' conftest.er1 >conftest.err
9443
 
  rm -f conftest.er1
9444
 
  cat conftest.err >&5
9445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446
 
  (exit $ac_status); } && {
9447
 
         test -z "$ac_c_werror_flag" ||
9448
 
         test ! -s conftest.err
9449
 
       } && test -s conftest$ac_exeext &&
9450
 
       $as_test_x conftest$ac_exeext; then
9451
 
  ac_cv_func_shl_load=yes
9452
 
else
9453
 
  echo "$as_me: failed program was:" >&5
9454
 
sed 's/^/| /' conftest.$ac_ext >&5
9455
 
 
9456
 
        ac_cv_func_shl_load=no
9457
 
fi
9458
 
 
9459
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9460
 
      conftest$ac_exeext conftest.$ac_ext
9461
 
fi
9462
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9463
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9464
 
if test $ac_cv_func_shl_load = yes; then
 
11137
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11138
if test "x$ac_cv_func_shl_load" = x""yes; then :
9465
11139
  lt_cv_dlopen="shl_load"
9466
11140
else
9467
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9468
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9469
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11141
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11142
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11143
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11144
  $as_echo_n "(cached) " >&6
9471
11145
else
9472
11146
  ac_check_lib_save_LIBS=$LIBS
9473
11147
LIBS="-ldld  $LIBS"
9474
 
cat >conftest.$ac_ext <<_ACEOF
9475
 
/* confdefs.h.  */
9476
 
_ACEOF
9477
 
cat confdefs.h >>conftest.$ac_ext
9478
 
cat >>conftest.$ac_ext <<_ACEOF
 
11148
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479
11149
/* end confdefs.h.  */
9480
11150
 
9481
11151
/* Override any GCC internal prototype to avoid an error.
9493
11163
  return 0;
9494
11164
}
9495
11165
_ACEOF
9496
 
rm -f conftest.$ac_objext conftest$ac_exeext
9497
 
if { (ac_try="$ac_link"
9498
 
case "(($ac_try" in
9499
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9500
 
  *) ac_try_echo=$ac_try;;
9501
 
esac
9502
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9503
 
  (eval "$ac_link") 2>conftest.er1
9504
 
  ac_status=$?
9505
 
  grep -v '^ *+' conftest.er1 >conftest.err
9506
 
  rm -f conftest.er1
9507
 
  cat conftest.err >&5
9508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509
 
  (exit $ac_status); } && {
9510
 
         test -z "$ac_c_werror_flag" ||
9511
 
         test ! -s conftest.err
9512
 
       } && test -s conftest$ac_exeext &&
9513
 
       $as_test_x conftest$ac_exeext; then
 
11166
if ac_fn_c_try_link "$LINENO"; then :
9514
11167
  ac_cv_lib_dld_shl_load=yes
9515
11168
else
9516
 
  echo "$as_me: failed program was:" >&5
9517
 
sed 's/^/| /' conftest.$ac_ext >&5
9518
 
 
9519
 
        ac_cv_lib_dld_shl_load=no
 
11169
  ac_cv_lib_dld_shl_load=no
9520
11170
fi
9521
 
 
9522
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9523
 
      conftest$ac_exeext conftest.$ac_ext
 
11171
rm -f core conftest.err conftest.$ac_objext \
 
11172
    conftest$ac_exeext conftest.$ac_ext
9524
11173
LIBS=$ac_check_lib_save_LIBS
9525
11174
fi
9526
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9527
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9528
 
if test $ac_cv_lib_dld_shl_load = yes; then
9529
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9530
 
else
9531
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9532
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9533
 
if test "${ac_cv_func_dlopen+set}" = set; then
9534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9535
 
else
9536
 
  cat >conftest.$ac_ext <<_ACEOF
9537
 
/* confdefs.h.  */
9538
 
_ACEOF
9539
 
cat confdefs.h >>conftest.$ac_ext
9540
 
cat >>conftest.$ac_ext <<_ACEOF
9541
 
/* end confdefs.h.  */
9542
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9543
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9544
 
#define dlopen innocuous_dlopen
9545
 
 
9546
 
/* System header to define __stub macros and hopefully few prototypes,
9547
 
    which can conflict with char dlopen (); below.
9548
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9549
 
    <limits.h> exists even on freestanding compilers.  */
9550
 
 
9551
 
#ifdef __STDC__
9552
 
# include <limits.h>
9553
 
#else
9554
 
# include <assert.h>
9555
 
#endif
9556
 
 
9557
 
#undef dlopen
9558
 
 
9559
 
/* Override any GCC internal prototype to avoid an error.
9560
 
   Use char because int might match the return type of a GCC
9561
 
   builtin and then its argument prototype would still apply.  */
9562
 
#ifdef __cplusplus
9563
 
extern "C"
9564
 
#endif
9565
 
char dlopen ();
9566
 
/* The GNU C library defines this for functions which it implements
9567
 
    to always fail with ENOSYS.  Some functions are actually named
9568
 
    something starting with __ and the normal name is an alias.  */
9569
 
#if defined __stub_dlopen || defined __stub___dlopen
9570
 
choke me
9571
 
#endif
9572
 
 
9573
 
int
9574
 
main ()
9575
 
{
9576
 
return dlopen ();
9577
 
  ;
9578
 
  return 0;
9579
 
}
9580
 
_ACEOF
9581
 
rm -f conftest.$ac_objext conftest$ac_exeext
9582
 
if { (ac_try="$ac_link"
9583
 
case "(($ac_try" in
9584
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9585
 
  *) ac_try_echo=$ac_try;;
9586
 
esac
9587
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9588
 
  (eval "$ac_link") 2>conftest.er1
9589
 
  ac_status=$?
9590
 
  grep -v '^ *+' conftest.er1 >conftest.err
9591
 
  rm -f conftest.er1
9592
 
  cat conftest.err >&5
9593
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594
 
  (exit $ac_status); } && {
9595
 
         test -z "$ac_c_werror_flag" ||
9596
 
         test ! -s conftest.err
9597
 
       } && test -s conftest$ac_exeext &&
9598
 
       $as_test_x conftest$ac_exeext; then
9599
 
  ac_cv_func_dlopen=yes
9600
 
else
9601
 
  echo "$as_me: failed program was:" >&5
9602
 
sed 's/^/| /' conftest.$ac_ext >&5
9603
 
 
9604
 
        ac_cv_func_dlopen=no
9605
 
fi
9606
 
 
9607
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9608
 
      conftest$ac_exeext conftest.$ac_ext
9609
 
fi
9610
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9611
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9612
 
if test $ac_cv_func_dlopen = yes; then
 
11175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11176
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11177
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11178
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11179
else
 
11180
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11181
if test "x$ac_cv_func_dlopen" = x""yes; then :
9613
11182
  lt_cv_dlopen="dlopen"
9614
11183
else
9615
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9616
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9617
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11184
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11185
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11186
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11187
  $as_echo_n "(cached) " >&6
9619
11188
else
9620
11189
  ac_check_lib_save_LIBS=$LIBS
9621
11190
LIBS="-ldl  $LIBS"
9622
 
cat >conftest.$ac_ext <<_ACEOF
9623
 
/* confdefs.h.  */
9624
 
_ACEOF
9625
 
cat confdefs.h >>conftest.$ac_ext
9626
 
cat >>conftest.$ac_ext <<_ACEOF
 
11191
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627
11192
/* end confdefs.h.  */
9628
11193
 
9629
11194
/* Override any GCC internal prototype to avoid an error.
9641
11206
  return 0;
9642
11207
}
9643
11208
_ACEOF
9644
 
rm -f conftest.$ac_objext conftest$ac_exeext
9645
 
if { (ac_try="$ac_link"
9646
 
case "(($ac_try" in
9647
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9648
 
  *) ac_try_echo=$ac_try;;
9649
 
esac
9650
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9651
 
  (eval "$ac_link") 2>conftest.er1
9652
 
  ac_status=$?
9653
 
  grep -v '^ *+' conftest.er1 >conftest.err
9654
 
  rm -f conftest.er1
9655
 
  cat conftest.err >&5
9656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657
 
  (exit $ac_status); } && {
9658
 
         test -z "$ac_c_werror_flag" ||
9659
 
         test ! -s conftest.err
9660
 
       } && test -s conftest$ac_exeext &&
9661
 
       $as_test_x conftest$ac_exeext; then
 
11209
if ac_fn_c_try_link "$LINENO"; then :
9662
11210
  ac_cv_lib_dl_dlopen=yes
9663
11211
else
9664
 
  echo "$as_me: failed program was:" >&5
9665
 
sed 's/^/| /' conftest.$ac_ext >&5
9666
 
 
9667
 
        ac_cv_lib_dl_dlopen=no
 
11212
  ac_cv_lib_dl_dlopen=no
9668
11213
fi
9669
 
 
9670
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9671
 
      conftest$ac_exeext conftest.$ac_ext
 
11214
rm -f core conftest.err conftest.$ac_objext \
 
11215
    conftest$ac_exeext conftest.$ac_ext
9672
11216
LIBS=$ac_check_lib_save_LIBS
9673
11217
fi
9674
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9675
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9676
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11219
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11220
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9677
11221
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9678
11222
else
9679
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9680
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9681
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11223
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11224
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11225
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11226
  $as_echo_n "(cached) " >&6
9683
11227
else
9684
11228
  ac_check_lib_save_LIBS=$LIBS
9685
11229
LIBS="-lsvld  $LIBS"
9686
 
cat >conftest.$ac_ext <<_ACEOF
9687
 
/* confdefs.h.  */
9688
 
_ACEOF
9689
 
cat confdefs.h >>conftest.$ac_ext
9690
 
cat >>conftest.$ac_ext <<_ACEOF
 
11230
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9691
11231
/* end confdefs.h.  */
9692
11232
 
9693
11233
/* Override any GCC internal prototype to avoid an error.
9705
11245
  return 0;
9706
11246
}
9707
11247
_ACEOF
9708
 
rm -f conftest.$ac_objext conftest$ac_exeext
9709
 
if { (ac_try="$ac_link"
9710
 
case "(($ac_try" in
9711
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9712
 
  *) ac_try_echo=$ac_try;;
9713
 
esac
9714
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9715
 
  (eval "$ac_link") 2>conftest.er1
9716
 
  ac_status=$?
9717
 
  grep -v '^ *+' conftest.er1 >conftest.err
9718
 
  rm -f conftest.er1
9719
 
  cat conftest.err >&5
9720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721
 
  (exit $ac_status); } && {
9722
 
         test -z "$ac_c_werror_flag" ||
9723
 
         test ! -s conftest.err
9724
 
       } && test -s conftest$ac_exeext &&
9725
 
       $as_test_x conftest$ac_exeext; then
 
11248
if ac_fn_c_try_link "$LINENO"; then :
9726
11249
  ac_cv_lib_svld_dlopen=yes
9727
11250
else
9728
 
  echo "$as_me: failed program was:" >&5
9729
 
sed 's/^/| /' conftest.$ac_ext >&5
9730
 
 
9731
 
        ac_cv_lib_svld_dlopen=no
 
11251
  ac_cv_lib_svld_dlopen=no
9732
11252
fi
9733
 
 
9734
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9735
 
      conftest$ac_exeext conftest.$ac_ext
 
11253
rm -f core conftest.err conftest.$ac_objext \
 
11254
    conftest$ac_exeext conftest.$ac_ext
9736
11255
LIBS=$ac_check_lib_save_LIBS
9737
11256
fi
9738
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9739
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9740
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11258
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11259
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
9741
11260
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9742
11261
else
9743
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9744
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9745
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11262
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11263
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11264
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11265
  $as_echo_n "(cached) " >&6
9747
11266
else
9748
11267
  ac_check_lib_save_LIBS=$LIBS
9749
11268
LIBS="-ldld  $LIBS"
9750
 
cat >conftest.$ac_ext <<_ACEOF
9751
 
/* confdefs.h.  */
9752
 
_ACEOF
9753
 
cat confdefs.h >>conftest.$ac_ext
9754
 
cat >>conftest.$ac_ext <<_ACEOF
 
11269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755
11270
/* end confdefs.h.  */
9756
11271
 
9757
11272
/* Override any GCC internal prototype to avoid an error.
9769
11284
  return 0;
9770
11285
}
9771
11286
_ACEOF
9772
 
rm -f conftest.$ac_objext conftest$ac_exeext
9773
 
if { (ac_try="$ac_link"
9774
 
case "(($ac_try" in
9775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9776
 
  *) ac_try_echo=$ac_try;;
9777
 
esac
9778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9779
 
  (eval "$ac_link") 2>conftest.er1
9780
 
  ac_status=$?
9781
 
  grep -v '^ *+' conftest.er1 >conftest.err
9782
 
  rm -f conftest.er1
9783
 
  cat conftest.err >&5
9784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785
 
  (exit $ac_status); } && {
9786
 
         test -z "$ac_c_werror_flag" ||
9787
 
         test ! -s conftest.err
9788
 
       } && test -s conftest$ac_exeext &&
9789
 
       $as_test_x conftest$ac_exeext; then
 
11287
if ac_fn_c_try_link "$LINENO"; then :
9790
11288
  ac_cv_lib_dld_dld_link=yes
9791
11289
else
9792
 
  echo "$as_me: failed program was:" >&5
9793
 
sed 's/^/| /' conftest.$ac_ext >&5
9794
 
 
9795
 
        ac_cv_lib_dld_dld_link=no
 
11290
  ac_cv_lib_dld_dld_link=no
9796
11291
fi
9797
 
 
9798
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9799
 
      conftest$ac_exeext conftest.$ac_ext
 
11292
rm -f core conftest.err conftest.$ac_objext \
 
11293
    conftest$ac_exeext conftest.$ac_ext
9800
11294
LIBS=$ac_check_lib_save_LIBS
9801
11295
fi
9802
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9803
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9804
 
if test $ac_cv_lib_dld_dld_link = yes; then
9805
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11297
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11298
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11299
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9806
11300
fi
9807
11301
 
9808
11302
 
9840
11334
    save_LIBS="$LIBS"
9841
11335
    LIBS="$lt_cv_dlopen_libs $LIBS"
9842
11336
 
9843
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9844
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9845
 
if test "${lt_cv_dlopen_self+set}" = set; then
9846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11337
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11338
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11339
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11340
  $as_echo_n "(cached) " >&6
9847
11341
else
9848
11342
          if test "$cross_compiling" = yes; then :
9849
11343
  lt_cv_dlopen_self=cross
9850
11344
else
9851
11345
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9852
11346
  lt_status=$lt_dlunknown
9853
 
  cat > conftest.$ac_ext <<EOF
9854
 
#line 9854 "configure"
 
11347
  cat > conftest.$ac_ext <<_LT_EOF
 
11348
#line 11348 "configure"
9855
11349
#include "confdefs.h"
9856
11350
 
9857
11351
#if HAVE_DLFCN_H
9892
11386
#  endif
9893
11387
#endif
9894
11388
 
9895
 
#ifdef __cplusplus
9896
 
extern "C" void exit (int);
9897
 
#endif
9898
 
 
9899
11389
void fnord() { int i=42;}
9900
11390
int main ()
9901
11391
{
9911
11401
  else
9912
11402
    puts (dlerror ());
9913
11403
 
9914
 
    exit (status);
 
11404
  return status;
9915
11405
}
9916
 
EOF
9917
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11406
_LT_EOF
 
11407
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9918
11408
  (eval $ac_link) 2>&5
9919
11409
  ac_status=$?
9920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11410
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11411
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
9922
11412
    (./conftest; exit; ) >&5 2>/dev/null
9923
11413
    lt_status=$?
9924
11414
    case x$lt_status in
9935
11425
 
9936
11426
 
9937
11427
fi
9938
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9939
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11429
$as_echo "$lt_cv_dlopen_self" >&6; }
9940
11430
 
9941
11431
    if test "x$lt_cv_dlopen_self" = xyes; then
9942
11432
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9943
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9944
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9945
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
9946
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11433
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11434
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11435
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11436
  $as_echo_n "(cached) " >&6
9947
11437
else
9948
11438
          if test "$cross_compiling" = yes; then :
9949
11439
  lt_cv_dlopen_self_static=cross
9950
11440
else
9951
11441
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9952
11442
  lt_status=$lt_dlunknown
9953
 
  cat > conftest.$ac_ext <<EOF
9954
 
#line 9954 "configure"
 
11443
  cat > conftest.$ac_ext <<_LT_EOF
 
11444
#line 11444 "configure"
9955
11445
#include "confdefs.h"
9956
11446
 
9957
11447
#if HAVE_DLFCN_H
9992
11482
#  endif
9993
11483
#endif
9994
11484
 
9995
 
#ifdef __cplusplus
9996
 
extern "C" void exit (int);
9997
 
#endif
9998
 
 
9999
11485
void fnord() { int i=42;}
10000
11486
int main ()
10001
11487
{
10011
11497
  else
10012
11498
    puts (dlerror ());
10013
11499
 
10014
 
    exit (status);
 
11500
  return status;
10015
11501
}
10016
 
EOF
10017
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11502
_LT_EOF
 
11503
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10018
11504
  (eval $ac_link) 2>&5
10019
11505
  ac_status=$?
10020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11506
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11507
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10022
11508
    (./conftest; exit; ) >&5 2>/dev/null
10023
11509
    lt_status=$?
10024
11510
    case x$lt_status in
10035
11521
 
10036
11522
 
10037
11523
fi
10038
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10039
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
11524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11525
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10040
11526
    fi
10041
11527
 
10042
11528
    CPPFLAGS="$save_CPPFLAGS"
10057
11543
fi
10058
11544
 
10059
11545
 
10060
 
# Report which library types will actually be built
10061
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10062
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10063
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10064
 
echo "${ECHO_T}$can_build_shared" >&6; }
10065
 
 
10066
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10067
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10068
 
test "$can_build_shared" = "no" && enable_shared=no
10069
 
 
10070
 
# On AIX, shared libraries and static libraries use the same namespace, and
10071
 
# are all built from PIC.
10072
 
case $host_os in
10073
 
aix3*)
10074
 
  test "$enable_shared" = yes && enable_static=no
10075
 
  if test -n "$RANLIB"; then
10076
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10077
 
    postinstall_cmds='$RANLIB $lib'
10078
 
  fi
10079
 
  ;;
10080
 
 
10081
 
aix4* | aix5*)
10082
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11546
 
 
11547
 
 
11548
 
 
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
 
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
striplib=
 
11562
old_striplib=
 
11563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11564
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11565
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11566
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11567
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11569
$as_echo "yes" >&6; }
 
11570
else
 
11571
# FIXME - insert some real tests, host_os isn't really good enough
 
11572
  case $host_os in
 
11573
  darwin*)
 
11574
    if test -n "$STRIP" ; then
 
11575
      striplib="$STRIP -x"
 
11576
      old_striplib="$STRIP -S"
 
11577
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11578
$as_echo "yes" >&6; }
 
11579
    else
 
11580
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11581
$as_echo "no" >&6; }
 
11582
    fi
 
11583
    ;;
 
11584
  *)
 
11585
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11586
$as_echo "no" >&6; }
 
11587
    ;;
 
11588
  esac
 
11589
fi
 
11590
 
 
11591
 
 
11592
 
 
11593
 
 
11594
 
 
11595
 
 
11596
 
 
11597
 
 
11598
 
 
11599
 
 
11600
 
 
11601
 
 
11602
  # Report which library types will actually be built
 
11603
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11604
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11606
$as_echo "$can_build_shared" >&6; }
 
11607
 
 
11608
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11609
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11610
  test "$can_build_shared" = "no" && enable_shared=no
 
11611
 
 
11612
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11613
  # are all built from PIC.
 
11614
  case $host_os in
 
11615
  aix3*)
10083
11616
    test "$enable_shared" = yes && enable_static=no
10084
 
  fi
10085
 
    ;;
10086
 
esac
10087
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10088
 
echo "${ECHO_T}$enable_shared" >&6; }
10089
 
 
10090
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10091
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10092
 
# Make sure either enable_shared or enable_static is yes.
10093
 
test "$enable_shared" = yes || enable_static=yes
10094
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10095
 
echo "${ECHO_T}$enable_static" >&6; }
10096
 
 
10097
 
# The else clause should only fire when bootstrapping the
10098
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10099
 
# with your package, and you will get complaints that there are
10100
 
# no rules to generate ltmain.sh.
10101
 
if test -f "$ltmain"; then
10102
 
  # See if we are running on zsh, and set the options which allow our commands through
10103
 
  # without removal of \ escapes.
10104
 
  if test -n "${ZSH_VERSION+set}" ; then
10105
 
    setopt NO_GLOB_SUBST
10106
 
  fi
10107
 
  # Now quote all the things that may contain metacharacters while being
10108
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10109
 
  # variables and quote the copies for generation of the libtool script.
10110
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10111
 
    SED SHELL STRIP \
10112
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10113
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10114
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10115
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10116
 
    lt_cv_sys_global_symbol_to_c_name_address \
10117
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10118
 
    old_postinstall_cmds old_postuninstall_cmds \
10119
 
    compiler \
10120
 
    CC \
10121
 
    LD \
10122
 
    lt_prog_compiler_wl \
10123
 
    lt_prog_compiler_pic \
10124
 
    lt_prog_compiler_static \
10125
 
    lt_prog_compiler_no_builtin_flag \
10126
 
    export_dynamic_flag_spec \
10127
 
    thread_safe_flag_spec \
10128
 
    whole_archive_flag_spec \
10129
 
    enable_shared_with_static_runtimes \
10130
 
    old_archive_cmds \
10131
 
    old_archive_from_new_cmds \
10132
 
    predep_objects \
10133
 
    postdep_objects \
10134
 
    predeps \
10135
 
    postdeps \
10136
 
    compiler_lib_search_path \
10137
 
    archive_cmds \
10138
 
    archive_expsym_cmds \
10139
 
    postinstall_cmds \
10140
 
    postuninstall_cmds \
10141
 
    old_archive_from_expsyms_cmds \
10142
 
    allow_undefined_flag \
10143
 
    no_undefined_flag \
10144
 
    export_symbols_cmds \
10145
 
    hardcode_libdir_flag_spec \
10146
 
    hardcode_libdir_flag_spec_ld \
10147
 
    hardcode_libdir_separator \
10148
 
    hardcode_automatic \
10149
 
    module_cmds \
10150
 
    module_expsym_cmds \
10151
 
    lt_cv_prog_compiler_c_o \
10152
 
    exclude_expsyms \
10153
 
    include_expsyms; do
10154
 
 
10155
 
    case $var in
10156
 
    old_archive_cmds | \
10157
 
    old_archive_from_new_cmds | \
10158
 
    archive_cmds | \
10159
 
    archive_expsym_cmds | \
10160
 
    module_cmds | \
10161
 
    module_expsym_cmds | \
10162
 
    old_archive_from_expsyms_cmds | \
10163
 
    export_symbols_cmds | \
10164
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10165
 
    postinstall_cmds | postuninstall_cmds | \
10166
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10167
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10168
 
      # Double-quote double-evaled strings.
10169
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10170
 
      ;;
10171
 
    *)
10172
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10173
 
      ;;
10174
 
    esac
10175
 
  done
10176
 
 
10177
 
  case $lt_echo in
10178
 
  *'\$0 --fallback-echo"')
10179
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10180
 
    ;;
10181
 
  esac
10182
 
 
10183
 
cfgfile="${ofile}T"
10184
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10185
 
  $rm -f "$cfgfile"
10186
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10187
 
echo "$as_me: creating $ofile" >&6;}
10188
 
 
10189
 
  cat <<__EOF__ >> "$cfgfile"
10190
 
#! $SHELL
10191
 
 
10192
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10193
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10194
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10195
 
#
10196
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10197
 
# Free Software Foundation, Inc.
10198
 
#
10199
 
# This file is part of GNU Libtool:
10200
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10201
 
#
10202
 
# This program is free software; you can redistribute it and/or modify
10203
 
# it under the terms of the GNU General Public License as published by
10204
 
# the Free Software Foundation; either version 2 of the License, or
10205
 
# (at your option) any later version.
10206
 
#
10207
 
# This program is distributed in the hope that it will be useful, but
10208
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10209
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10210
 
# General Public License for more details.
10211
 
#
10212
 
# You should have received a copy of the GNU General Public License
10213
 
# along with this program; if not, write to the Free Software
10214
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10215
 
#
10216
 
# As a special exception to the GNU General Public License, if you
10217
 
# distribute this file as part of a program that contains a
10218
 
# configuration script generated by Autoconf, you may include it under
10219
 
# the same distribution terms that you use for the rest of that program.
10220
 
 
10221
 
# A sed program that does not truncate output.
10222
 
SED=$lt_SED
10223
 
 
10224
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10225
 
Xsed="$SED -e 1s/^X//"
10226
 
 
10227
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10228
 
# if CDPATH is set.
10229
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10230
 
 
10231
 
# The names of the tagged configurations supported by this script.
10232
 
available_tags=
10233
 
 
10234
 
# ### BEGIN LIBTOOL CONFIG
10235
 
 
10236
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10237
 
 
10238
 
# Shell to use when invoking shell scripts.
10239
 
SHELL=$lt_SHELL
10240
 
 
10241
 
# Whether or not to build shared libraries.
10242
 
build_libtool_libs=$enable_shared
10243
 
 
10244
 
# Whether or not to build static libraries.
10245
 
build_old_libs=$enable_static
10246
 
 
10247
 
# Whether or not to add -lc for building shared libraries.
10248
 
build_libtool_need_lc=$archive_cmds_need_lc
10249
 
 
10250
 
# Whether or not to disallow shared libs when runtime libs are static
10251
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10252
 
 
10253
 
# Whether or not to optimize for fast installation.
10254
 
fast_install=$enable_fast_install
10255
 
 
10256
 
# The host system.
10257
 
host_alias=$host_alias
10258
 
host=$host
10259
 
host_os=$host_os
10260
 
 
10261
 
# The build system.
10262
 
build_alias=$build_alias
10263
 
build=$build
10264
 
build_os=$build_os
10265
 
 
10266
 
# An echo program that does not interpret backslashes.
10267
 
echo=$lt_echo
10268
 
 
10269
 
# The archiver.
10270
 
AR=$lt_AR
10271
 
AR_FLAGS=$lt_AR_FLAGS
10272
 
 
10273
 
# A C compiler.
10274
 
LTCC=$lt_LTCC
10275
 
 
10276
 
# LTCC compiler flags.
10277
 
LTCFLAGS=$lt_LTCFLAGS
10278
 
 
10279
 
# A language-specific compiler.
10280
 
CC=$lt_compiler
10281
 
 
10282
 
# Is the compiler the GNU C compiler?
10283
 
with_gcc=$GCC
10284
 
 
10285
 
# An ERE matcher.
10286
 
EGREP=$lt_EGREP
10287
 
 
10288
 
# The linker used to build libraries.
10289
 
LD=$lt_LD
10290
 
 
10291
 
# Whether we need hard or soft links.
10292
 
LN_S=$lt_LN_S
10293
 
 
10294
 
# A BSD-compatible nm program.
10295
 
NM=$lt_NM
10296
 
 
10297
 
# A symbol stripping program
10298
 
STRIP=$lt_STRIP
10299
 
 
10300
 
# Used to examine libraries when file_magic_cmd begins "file"
10301
 
MAGIC_CMD=$MAGIC_CMD
10302
 
 
10303
 
# Used on cygwin: DLL creation program.
10304
 
DLLTOOL="$DLLTOOL"
10305
 
 
10306
 
# Used on cygwin: object dumper.
10307
 
OBJDUMP="$OBJDUMP"
10308
 
 
10309
 
# Used on cygwin: assembler.
10310
 
AS="$AS"
10311
 
 
10312
 
# The name of the directory that contains temporary libtool files.
10313
 
objdir=$objdir
10314
 
 
10315
 
# How to create reloadable object files.
10316
 
reload_flag=$lt_reload_flag
10317
 
reload_cmds=$lt_reload_cmds
10318
 
 
10319
 
# How to pass a linker flag through the compiler.
10320
 
wl=$lt_lt_prog_compiler_wl
10321
 
 
10322
 
# Object file suffix (normally "o").
10323
 
objext="$ac_objext"
10324
 
 
10325
 
# Old archive suffix (normally "a").
10326
 
libext="$libext"
10327
 
 
10328
 
# Shared library suffix (normally ".so").
10329
 
shrext_cmds='$shrext_cmds'
10330
 
 
10331
 
# Executable file suffix (normally "").
10332
 
exeext="$exeext"
10333
 
 
10334
 
# Additional compiler flags for building library objects.
10335
 
pic_flag=$lt_lt_prog_compiler_pic
10336
 
pic_mode=$pic_mode
10337
 
 
10338
 
# What is the maximum length of a command?
10339
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10340
 
 
10341
 
# Does compiler simultaneously support -c and -o options?
10342
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10343
 
 
10344
 
# Must we lock files when doing compilation?
10345
 
need_locks=$lt_need_locks
10346
 
 
10347
 
# Do we need the lib prefix for modules?
10348
 
need_lib_prefix=$need_lib_prefix
10349
 
 
10350
 
# Do we need a version for libraries?
10351
 
need_version=$need_version
10352
 
 
10353
 
# Whether dlopen is supported.
10354
 
dlopen_support=$enable_dlopen
10355
 
 
10356
 
# Whether dlopen of programs is supported.
10357
 
dlopen_self=$enable_dlopen_self
10358
 
 
10359
 
# Whether dlopen of statically linked programs is supported.
10360
 
dlopen_self_static=$enable_dlopen_self_static
10361
 
 
10362
 
# Compiler flag to prevent dynamic linking.
10363
 
link_static_flag=$lt_lt_prog_compiler_static
10364
 
 
10365
 
# Compiler flag to turn off builtin functions.
10366
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10367
 
 
10368
 
# Compiler flag to allow reflexive dlopens.
10369
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10370
 
 
10371
 
# Compiler flag to generate shared objects directly from archives.
10372
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10373
 
 
10374
 
# Compiler flag to generate thread-safe objects.
10375
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10376
 
 
10377
 
# Library versioning type.
10378
 
version_type=$version_type
10379
 
 
10380
 
# Format of library name prefix.
10381
 
libname_spec=$lt_libname_spec
10382
 
 
10383
 
# List of archive names.  First name is the real one, the rest are links.
10384
 
# The last name is the one that the linker finds with -lNAME.
10385
 
library_names_spec=$lt_library_names_spec
10386
 
 
10387
 
# The coded name of the library, if different from the real name.
10388
 
soname_spec=$lt_soname_spec
10389
 
 
10390
 
# Commands used to build and install an old-style archive.
10391
 
RANLIB=$lt_RANLIB
10392
 
old_archive_cmds=$lt_old_archive_cmds
10393
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10394
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10395
 
 
10396
 
# Create an old-style archive from a shared archive.
10397
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10398
 
 
10399
 
# Create a temporary old-style archive to link instead of a shared archive.
10400
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10401
 
 
10402
 
# Commands used to build and install a shared archive.
10403
 
archive_cmds=$lt_archive_cmds
10404
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10405
 
postinstall_cmds=$lt_postinstall_cmds
10406
 
postuninstall_cmds=$lt_postuninstall_cmds
10407
 
 
10408
 
# Commands used to build a loadable module (assumed same as above if empty)
10409
 
module_cmds=$lt_module_cmds
10410
 
module_expsym_cmds=$lt_module_expsym_cmds
10411
 
 
10412
 
# Commands to strip libraries.
10413
 
old_striplib=$lt_old_striplib
10414
 
striplib=$lt_striplib
10415
 
 
10416
 
# Dependencies to place before the objects being linked to create a
10417
 
# shared library.
10418
 
predep_objects=$lt_predep_objects
10419
 
 
10420
 
# Dependencies to place after the objects being linked to create a
10421
 
# shared library.
10422
 
postdep_objects=$lt_postdep_objects
10423
 
 
10424
 
# Dependencies to place before the objects being linked to create a
10425
 
# shared library.
10426
 
predeps=$lt_predeps
10427
 
 
10428
 
# Dependencies to place after the objects being linked to create a
10429
 
# shared library.
10430
 
postdeps=$lt_postdeps
10431
 
 
10432
 
# The library search path used internally by the compiler when linking
10433
 
# a shared library.
10434
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10435
 
 
10436
 
# Method to check whether dependent libraries are shared objects.
10437
 
deplibs_check_method=$lt_deplibs_check_method
10438
 
 
10439
 
# Command to use when deplibs_check_method == file_magic.
10440
 
file_magic_cmd=$lt_file_magic_cmd
10441
 
 
10442
 
# Flag that allows shared libraries with undefined symbols to be built.
10443
 
allow_undefined_flag=$lt_allow_undefined_flag
10444
 
 
10445
 
# Flag that forces no undefined symbols.
10446
 
no_undefined_flag=$lt_no_undefined_flag
10447
 
 
10448
 
# Commands used to finish a libtool library installation in a directory.
10449
 
finish_cmds=$lt_finish_cmds
10450
 
 
10451
 
# Same as above, but a single script fragment to be evaled but not shown.
10452
 
finish_eval=$lt_finish_eval
10453
 
 
10454
 
# Take the output of nm and produce a listing of raw symbols and C names.
10455
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10456
 
 
10457
 
# Transform the output of nm in a proper C declaration
10458
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10459
 
 
10460
 
# Transform the output of nm in a C name address pair
10461
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10462
 
 
10463
 
# This is the shared library runtime path variable.
10464
 
runpath_var=$runpath_var
10465
 
 
10466
 
# This is the shared library path variable.
10467
 
shlibpath_var=$shlibpath_var
10468
 
 
10469
 
# Is shlibpath searched before the hard-coded library search path?
10470
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10471
 
 
10472
 
# How to hardcode a shared library path into an executable.
10473
 
hardcode_action=$hardcode_action
10474
 
 
10475
 
# Whether we should hardcode library paths into libraries.
10476
 
hardcode_into_libs=$hardcode_into_libs
10477
 
 
10478
 
# Flag to hardcode \$libdir into a binary during linking.
10479
 
# This must work even if \$libdir does not exist.
10480
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10481
 
 
10482
 
# If ld is used when linking, flag to hardcode \$libdir into
10483
 
# a binary during linking. This must work even if \$libdir does
10484
 
# not exist.
10485
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10486
 
 
10487
 
# Whether we need a single -rpath flag with a separated argument.
10488
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10489
 
 
10490
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10491
 
# resulting binary.
10492
 
hardcode_direct=$hardcode_direct
10493
 
 
10494
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10495
 
# resulting binary.
10496
 
hardcode_minus_L=$hardcode_minus_L
10497
 
 
10498
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10499
 
# the resulting binary.
10500
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10501
 
 
10502
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10503
 
# and all subsequent libraries and executables linked against it.
10504
 
hardcode_automatic=$hardcode_automatic
10505
 
 
10506
 
# Variables whose values should be saved in libtool wrapper scripts and
10507
 
# restored at relink time.
10508
 
variables_saved_for_relink="$variables_saved_for_relink"
10509
 
 
10510
 
# Whether libtool must link a program against all its dependency libraries.
10511
 
link_all_deplibs=$link_all_deplibs
10512
 
 
10513
 
# Compile-time system search path for libraries
10514
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10515
 
 
10516
 
# Run-time system search path for libraries
10517
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10518
 
 
10519
 
# Fix the shell variable \$srcfile for the compiler.
10520
 
fix_srcfile_path="$fix_srcfile_path"
10521
 
 
10522
 
# Set to yes if exported symbols are required.
10523
 
always_export_symbols=$always_export_symbols
10524
 
 
10525
 
# The commands to list exported symbols.
10526
 
export_symbols_cmds=$lt_export_symbols_cmds
10527
 
 
10528
 
# The commands to extract the exported symbol list from a shared archive.
10529
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10530
 
 
10531
 
# Symbols that should not be listed in the preloaded symbols.
10532
 
exclude_expsyms=$lt_exclude_expsyms
10533
 
 
10534
 
# Symbols that must always be exported.
10535
 
include_expsyms=$lt_include_expsyms
10536
 
 
10537
 
# ### END LIBTOOL CONFIG
10538
 
 
10539
 
__EOF__
10540
 
 
10541
 
 
10542
 
  case $host_os in
10543
 
  aix3*)
10544
 
    cat <<\EOF >> "$cfgfile"
10545
 
 
10546
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10547
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10548
 
# vanish in a puff of smoke.
10549
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10550
 
  COLLECT_NAMES=
10551
 
  export COLLECT_NAMES
10552
 
fi
10553
 
EOF
10554
 
    ;;
10555
 
  esac
10556
 
 
10557
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10558
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10559
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10560
 
  # is reportedly fixed, but why not run on old versions too?
10561
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10562
 
 
10563
 
  mv -f "$cfgfile" "$ofile" || \
10564
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10565
 
  chmod +x "$ofile"
10566
 
 
10567
 
else
10568
 
  # If there is no Makefile yet, we rely on a make rule to execute
10569
 
  # `config.status --recheck' to rerun these tests and create the
10570
 
  # libtool script then.
10571
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10572
 
  if test -f "$ltmain_in"; then
10573
 
    test -f Makefile && make "$ltmain"
10574
 
  fi
10575
 
fi
10576
 
 
10577
 
 
 
11617
    if test -n "$RANLIB"; then
 
11618
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11619
      postinstall_cmds='$RANLIB $lib'
 
11620
    fi
 
11621
    ;;
 
11622
 
 
11623
  aix[4-9]*)
 
11624
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11625
      test "$enable_shared" = yes && enable_static=no
 
11626
    fi
 
11627
    ;;
 
11628
  esac
 
11629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11630
$as_echo "$enable_shared" >&6; }
 
11631
 
 
11632
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11633
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11634
  # Make sure either enable_shared or enable_static is yes.
 
11635
  test "$enable_shared" = yes || enable_static=yes
 
11636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11637
$as_echo "$enable_static" >&6; }
 
11638
 
 
11639
 
 
11640
 
 
11641
 
 
11642
fi
10578
11643
ac_ext=c
10579
11644
ac_cpp='$CPP $CPPFLAGS'
10580
11645
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10584
11649
CC="$lt_save_CC"
10585
11650
 
10586
11651
 
10587
 
# Check whether --with-tags was given.
10588
 
if test "${with_tags+set}" = set; then
10589
 
  withval=$with_tags; tagnames="$withval"
10590
 
fi
10591
 
 
10592
 
 
10593
 
if test -f "$ltmain" && test -n "$tagnames"; then
10594
 
  if test ! -f "${ofile}"; then
10595
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10596
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10597
 
  fi
10598
 
 
10599
 
  if test -z "$LTCC"; then
10600
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10601
 
    if test -z "$LTCC"; then
10602
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10603
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10604
 
    else
10605
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10606
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10607
 
    fi
10608
 
  fi
10609
 
  if test -z "$LTCFLAGS"; then
10610
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10611
 
  fi
10612
 
 
10613
 
  # Extract list of available tagged configurations in $ofile.
10614
 
  # Note that this assumes the entire list is on one line.
10615
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10616
 
 
10617
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10618
 
  for tagname in $tagnames; do
10619
 
    IFS="$lt_save_ifs"
10620
 
    # Check whether tagname contains only valid characters
10621
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10622
 
    "") ;;
10623
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10624
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10625
 
   { (exit 1); exit 1; }; }
10626
 
        ;;
10627
 
    esac
10628
 
 
10629
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10630
 
    then
10631
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10632
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10633
 
   { (exit 1); exit 1; }; }
10634
 
    fi
10635
 
 
10636
 
    # Update the list of available tags.
10637
 
    if test -n "$tagname"; then
10638
 
      echo appending configuration tag \"$tagname\" to $ofile
10639
 
 
10640
 
      case $tagname in
10641
 
      CXX)
10642
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10643
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10644
 
            (test "X$CXX" != "Xg++"))) ; then
10645
 
          ac_ext=cpp
 
11652
ac_ext=cpp
10646
11653
ac_cpp='$CXXCPP $CPPFLAGS'
10647
11654
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10648
11655
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10649
11656
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10650
11657
 
10651
 
 
10652
 
 
10653
 
 
10654
11658
archive_cmds_need_lc_CXX=no
10655
11659
allow_undefined_flag_CXX=
10656
11660
always_export_symbols_CXX=no
10657
11661
archive_expsym_cmds_CXX=
 
11662
compiler_needs_object_CXX=no
10658
11663
export_dynamic_flag_spec_CXX=
10659
11664
hardcode_direct_CXX=no
 
11665
hardcode_direct_absolute_CXX=no
10660
11666
hardcode_libdir_flag_spec_CXX=
10661
11667
hardcode_libdir_flag_spec_ld_CXX=
10662
11668
hardcode_libdir_separator_CXX=
10663
11669
hardcode_minus_L_CXX=no
10664
11670
hardcode_shlibpath_var_CXX=unsupported
10665
11671
hardcode_automatic_CXX=no
 
11672
inherit_rpath_CXX=no
10666
11673
module_cmds_CXX=
10667
11674
module_expsym_cmds_CXX=
10668
11675
link_all_deplibs_CXX=unknown
10671
11678
whole_archive_flag_spec_CXX=
10672
11679
enable_shared_with_static_runtimes_CXX=no
10673
11680
 
10674
 
# Dependencies to place before and after the object being linked:
10675
 
predep_objects_CXX=
10676
 
postdep_objects_CXX=
10677
 
predeps_CXX=
10678
 
postdeps_CXX=
10679
 
compiler_lib_search_path_CXX=
10680
 
 
10681
11681
# Source file extension for C++ test sources.
10682
11682
ac_ext=cpp
10683
11683
 
10685
11685
objext=o
10686
11686
objext_CXX=$objext
10687
11687
 
10688
 
# Code to be used in simple compile tests
10689
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10690
 
 
10691
 
# Code to be used in simple link tests
10692
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10693
 
 
10694
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
11688
# No sense in running all these tests if we already determined that
 
11689
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
11690
# are currently assumed to apply to all compilers on this platform,
 
11691
# and will be corrupted by setting them based on a non-working compiler.
 
11692
if test "$_lt_caught_CXX_error" != yes; then
 
11693
  # Code to be used in simple compile tests
 
11694
  lt_simple_compile_test_code="int some_variable = 0;"
 
11695
 
 
11696
  # Code to be used in simple link tests
 
11697
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
11698
 
 
11699
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
11700
 
 
11701
 
 
11702
 
 
11703
 
 
11704
 
10695
11705
 
10696
11706
# If no C compiler was specified, use CC.
10697
11707
LTCC=${LTCC-"$CC"}
10703
11713
compiler=$CC
10704
11714
 
10705
11715
 
10706
 
# save warnings/boilerplate of simple test code
10707
 
ac_outfile=conftest.$ac_objext
10708
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11716
  # save warnings/boilerplate of simple test code
 
11717
  ac_outfile=conftest.$ac_objext
 
11718
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10709
11719
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10710
11720
_lt_compiler_boilerplate=`cat conftest.err`
10711
 
$rm conftest*
 
11721
$RM conftest*
10712
11722
 
10713
 
ac_outfile=conftest.$ac_objext
10714
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11723
  ac_outfile=conftest.$ac_objext
 
11724
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10715
11725
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10716
11726
_lt_linker_boilerplate=`cat conftest.err`
10717
 
$rm conftest*
10718
 
 
10719
 
 
10720
 
# Allow CC to be a program name with arguments.
10721
 
lt_save_CC=$CC
10722
 
lt_save_LD=$LD
10723
 
lt_save_GCC=$GCC
10724
 
GCC=$GXX
10725
 
lt_save_with_gnu_ld=$with_gnu_ld
10726
 
lt_save_path_LD=$lt_cv_path_LD
10727
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10728
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10729
 
else
10730
 
  $as_unset lt_cv_prog_gnu_ld
10731
 
fi
10732
 
if test -n "${lt_cv_path_LDCXX+set}"; then
10733
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
10734
 
else
10735
 
  $as_unset lt_cv_path_LD
10736
 
fi
10737
 
test -z "${LDCXX+set}" || LD=$LDCXX
10738
 
CC=${CXX-"c++"}
10739
 
compiler=$CC
10740
 
compiler_CXX=$CC
10741
 
for cc_temp in $compiler""; do
 
11727
$RM -r conftest*
 
11728
 
 
11729
 
 
11730
  # Allow CC to be a program name with arguments.
 
11731
  lt_save_CC=$CC
 
11732
  lt_save_LD=$LD
 
11733
  lt_save_GCC=$GCC
 
11734
  GCC=$GXX
 
11735
  lt_save_with_gnu_ld=$with_gnu_ld
 
11736
  lt_save_path_LD=$lt_cv_path_LD
 
11737
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
11738
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
11739
  else
 
11740
    $as_unset lt_cv_prog_gnu_ld
 
11741
  fi
 
11742
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
11743
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
11744
  else
 
11745
    $as_unset lt_cv_path_LD
 
11746
  fi
 
11747
  test -z "${LDCXX+set}" || LD=$LDCXX
 
11748
  CC=${CXX-"c++"}
 
11749
  compiler=$CC
 
11750
  compiler_CXX=$CC
 
11751
  for cc_temp in $compiler""; do
10742
11752
  case $cc_temp in
10743
11753
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10744
11754
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10746
11756
    *) break;;
10747
11757
  esac
10748
11758
done
10749
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10750
 
 
10751
 
 
10752
 
# We don't want -fno-exception wen compiling C++ code, so set the
10753
 
# no_builtin_flag separately
10754
 
if test "$GXX" = yes; then
10755
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10756
 
else
10757
 
  lt_prog_compiler_no_builtin_flag_CXX=
10758
 
fi
10759
 
 
10760
 
if test "$GXX" = yes; then
10761
 
  # Set up default GNU C++ configuration
 
11759
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11760
 
 
11761
 
 
11762
  if test -n "$compiler"; then
 
11763
    # We don't want -fno-exception when compiling C++ code, so set the
 
11764
    # no_builtin_flag separately
 
11765
    if test "$GXX" = yes; then
 
11766
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
11767
    else
 
11768
      lt_prog_compiler_no_builtin_flag_CXX=
 
11769
    fi
 
11770
 
 
11771
    if test "$GXX" = yes; then
 
11772
      # Set up default GNU C++ configuration
 
11773
 
10762
11774
 
10763
11775
 
10764
11776
# Check whether --with-gnu-ld was given.
10765
 
if test "${with_gnu_ld+set}" = set; then
 
11777
if test "${with_gnu_ld+set}" = set; then :
10766
11778
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10767
11779
else
10768
11780
  with_gnu_ld=no
10771
11783
ac_prog=ld
10772
11784
if test "$GCC" = yes; then
10773
11785
  # Check if gcc -print-prog-name=ld gives a path.
10774
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10775
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
11786
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
11787
$as_echo_n "checking for ld used by $CC... " >&6; }
10776
11788
  case $host in
10777
11789
  *-*-mingw*)
10778
11790
    # gcc leaves a trailing carriage return which upsets mingw
10785
11797
    [\\/]* | ?:[\\/]*)
10786
11798
      re_direlt='/[^/][^/]*/\.\./'
10787
11799
      # Canonicalize the pathname of ld
10788
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10789
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10790
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
11800
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
11801
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
11802
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10791
11803
      done
10792
11804
      test -z "$LD" && LD="$ac_prog"
10793
11805
      ;;
10801
11813
    ;;
10802
11814
  esac
10803
11815
elif test "$with_gnu_ld" = yes; then
10804
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
10805
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
11816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
11817
$as_echo_n "checking for GNU ld... " >&6; }
10806
11818
else
10807
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10808
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
11819
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
11820
$as_echo_n "checking for non-GNU ld... " >&6; }
10809
11821
fi
10810
 
if test "${lt_cv_path_LD+set}" = set; then
10811
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11822
if test "${lt_cv_path_LD+set}" = set; then :
 
11823
  $as_echo_n "(cached) " >&6
10812
11824
else
10813
11825
  if test -z "$LD"; then
10814
11826
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10838
11850
 
10839
11851
LD="$lt_cv_path_LD"
10840
11852
if test -n "$LD"; then
10841
 
  { echo "$as_me:$LINENO: result: $LD" >&5
10842
 
echo "${ECHO_T}$LD" >&6; }
 
11853
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
11854
$as_echo "$LD" >&6; }
10843
11855
else
10844
 
  { echo "$as_me:$LINENO: result: no" >&5
10845
 
echo "${ECHO_T}no" >&6; }
 
11856
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11857
$as_echo "no" >&6; }
10846
11858
fi
10847
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10848
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10849
 
   { (exit 1); exit 1; }; }
10850
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10851
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10852
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11859
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
11860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
11861
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
11862
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
11863
  $as_echo_n "(cached) " >&6
10854
11864
else
10855
11865
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10856
11866
case `$LD -v 2>&1 </dev/null` in
10862
11872
  ;;
10863
11873
esac
10864
11874
fi
10865
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10866
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
11875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
11876
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
10867
11877
with_gnu_ld=$lt_cv_prog_gnu_ld
10868
11878
 
10869
11879
 
10870
11880
 
10871
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
10872
 
  # archiving commands below assume that GNU ld is being used.
10873
 
  if test "$with_gnu_ld" = yes; then
10874
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10875
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10876
 
 
10877
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10878
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10879
 
 
10880
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
10881
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10882
 
    #     investigate it a little bit more. (MM)
10883
 
    wlarc='${wl}'
10884
 
 
10885
 
    # ancient GNU ld didn't support --whole-archive et. al.
10886
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10887
 
        grep 'no-whole-archive' > /dev/null; then
10888
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10889
 
    else
10890
 
      whole_archive_flag_spec_CXX=
10891
 
    fi
10892
 
  else
10893
 
    with_gnu_ld=no
10894
 
    wlarc=
10895
 
 
10896
 
    # A generic and very simple default shared library creation
10897
 
    # command for GNU C++ for the case where it uses the native
10898
 
    # linker, instead of GNU ld.  If possible, this setting should
10899
 
    # overridden to take advantage of the native linker features on
10900
 
    # the platform it is being used on.
10901
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10902
 
  fi
10903
 
 
10904
 
  # Commands to make compiler produce verbose output that lists
10905
 
  # what "hidden" libraries, object files and flags are used when
10906
 
  # linking a shared library.
10907
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10908
 
 
10909
 
else
10910
 
  GXX=no
10911
 
  with_gnu_ld=no
10912
 
  wlarc=
10913
 
fi
10914
 
 
10915
 
# PORTME: fill in a description of your system's C++ link characteristics
10916
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10917
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10918
 
ld_shlibs_CXX=yes
10919
 
case $host_os in
10920
 
  aix3*)
10921
 
    # FIXME: insert proper C++ library support
10922
 
    ld_shlibs_CXX=no
10923
 
    ;;
10924
 
  aix4* | aix5*)
10925
 
    if test "$host_cpu" = ia64; then
10926
 
      # On IA64, the linker does run time linking by default, so we don't
10927
 
      # have to do anything special.
10928
 
      aix_use_runtimelinking=no
10929
 
      exp_sym_flag='-Bexport'
10930
 
      no_entry_flag=""
10931
 
    else
10932
 
      aix_use_runtimelinking=no
10933
 
 
10934
 
      # Test if we are trying to use run time linking or normal
10935
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10936
 
      # need to do runtime linking.
10937
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10938
 
        for ld_flag in $LDFLAGS; do
10939
 
          case $ld_flag in
10940
 
          *-brtl*)
10941
 
            aix_use_runtimelinking=yes
10942
 
            break
10943
 
            ;;
10944
 
          esac
10945
 
        done
10946
 
        ;;
10947
 
      esac
10948
 
 
10949
 
      exp_sym_flag='-bexport'
10950
 
      no_entry_flag='-bnoentry'
10951
 
    fi
10952
 
 
10953
 
    # When large executables or shared objects are built, AIX ld can
10954
 
    # have problems creating the table of contents.  If linking a library
10955
 
    # or program results in "error TOC overflow" add -mminimal-toc to
10956
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10957
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10958
 
 
10959
 
    archive_cmds_CXX=''
10960
 
    hardcode_direct_CXX=yes
10961
 
    hardcode_libdir_separator_CXX=':'
10962
 
    link_all_deplibs_CXX=yes
10963
 
 
10964
 
    if test "$GXX" = yes; then
10965
 
      case $host_os in aix4.[012]|aix4.[012].*)
10966
 
      # We only want to do this on AIX 4.2 and lower, the check
10967
 
      # below for broken collect2 doesn't work under 4.3+
10968
 
        collect2name=`${CC} -print-prog-name=collect2`
10969
 
        if test -f "$collect2name" && \
10970
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10971
 
        then
10972
 
          # We have reworked collect2
10973
 
          hardcode_direct_CXX=yes
10974
 
        else
10975
 
          # We have old collect2
10976
 
          hardcode_direct_CXX=unsupported
10977
 
          # It fails to find uninstalled libraries when the uninstalled
10978
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10979
 
          # to unsupported forces relinking
10980
 
          hardcode_minus_L_CXX=yes
10981
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10982
 
          hardcode_libdir_separator_CXX=
10983
 
        fi
10984
 
        ;;
10985
 
      esac
10986
 
      shared_flag='-shared'
10987
 
      if test "$aix_use_runtimelinking" = yes; then
10988
 
        shared_flag="$shared_flag "'${wl}-G'
10989
 
      fi
10990
 
    else
10991
 
      # not using gcc
10992
 
      if test "$host_cpu" = ia64; then
10993
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10994
 
        # chokes on -Wl,-G. The following line is correct:
10995
 
        shared_flag='-G'
10996
 
      else
10997
 
        if test "$aix_use_runtimelinking" = yes; then
10998
 
          shared_flag='${wl}-G'
10999
 
        else
11000
 
          shared_flag='${wl}-bM:SRE'
11001
 
        fi
11002
 
      fi
11003
 
    fi
11004
 
 
11005
 
    # It seems that -bexpall does not export symbols beginning with
11006
 
    # underscore (_), so it is better to generate a list of symbols to export.
11007
 
    always_export_symbols_CXX=yes
11008
 
    if test "$aix_use_runtimelinking" = yes; then
11009
 
      # Warning - without using the other runtime loading flags (-brtl),
11010
 
      # -berok will link without error, but may produce a broken library.
11011
 
      allow_undefined_flag_CXX='-berok'
11012
 
      # Determine the default libpath from the value encoded in an empty executable.
11013
 
      cat >conftest.$ac_ext <<_ACEOF
11014
 
/* confdefs.h.  */
11015
 
_ACEOF
11016
 
cat confdefs.h >>conftest.$ac_ext
11017
 
cat >>conftest.$ac_ext <<_ACEOF
11018
 
/* end confdefs.h.  */
11019
 
 
11020
 
int
11021
 
main ()
11022
 
{
11023
 
 
11024
 
  ;
11025
 
  return 0;
11026
 
}
11027
 
_ACEOF
11028
 
rm -f conftest.$ac_objext conftest$ac_exeext
11029
 
if { (ac_try="$ac_link"
11030
 
case "(($ac_try" in
11031
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11032
 
  *) ac_try_echo=$ac_try;;
11033
 
esac
11034
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11035
 
  (eval "$ac_link") 2>conftest.er1
11036
 
  ac_status=$?
11037
 
  grep -v '^ *+' conftest.er1 >conftest.err
11038
 
  rm -f conftest.er1
11039
 
  cat conftest.err >&5
11040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041
 
  (exit $ac_status); } && {
11042
 
         test -z "$ac_cxx_werror_flag" ||
11043
 
         test ! -s conftest.err
11044
 
       } && test -s conftest$ac_exeext &&
11045
 
       $as_test_x conftest$ac_exeext; then
11046
 
 
11047
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11048
 
}'`
11049
 
# Check for a 64-bit object if we didn't find anything.
11050
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11051
 
}'`; fi
11052
 
else
11053
 
  echo "$as_me: failed program was:" >&5
11054
 
sed 's/^/| /' conftest.$ac_ext >&5
11055
 
 
11056
 
 
11057
 
fi
11058
 
 
11059
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11060
 
      conftest$ac_exeext conftest.$ac_ext
11061
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11062
 
 
11063
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11064
 
 
11065
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11066
 
     else
11067
 
      if test "$host_cpu" = ia64; then
11068
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11069
 
        allow_undefined_flag_CXX="-z nodefs"
11070
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11071
 
      else
11072
 
        # Determine the default libpath from the value encoded in an empty executable.
11073
 
        cat >conftest.$ac_ext <<_ACEOF
11074
 
/* confdefs.h.  */
11075
 
_ACEOF
11076
 
cat confdefs.h >>conftest.$ac_ext
11077
 
cat >>conftest.$ac_ext <<_ACEOF
11078
 
/* end confdefs.h.  */
11079
 
 
11080
 
int
11081
 
main ()
11082
 
{
11083
 
 
11084
 
  ;
11085
 
  return 0;
11086
 
}
11087
 
_ACEOF
11088
 
rm -f conftest.$ac_objext conftest$ac_exeext
11089
 
if { (ac_try="$ac_link"
11090
 
case "(($ac_try" in
11091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11092
 
  *) ac_try_echo=$ac_try;;
11093
 
esac
11094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11095
 
  (eval "$ac_link") 2>conftest.er1
11096
 
  ac_status=$?
11097
 
  grep -v '^ *+' conftest.er1 >conftest.err
11098
 
  rm -f conftest.er1
11099
 
  cat conftest.err >&5
11100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101
 
  (exit $ac_status); } && {
11102
 
         test -z "$ac_cxx_werror_flag" ||
11103
 
         test ! -s conftest.err
11104
 
       } && test -s conftest$ac_exeext &&
11105
 
       $as_test_x conftest$ac_exeext; then
11106
 
 
11107
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11108
 
}'`
11109
 
# Check for a 64-bit object if we didn't find anything.
11110
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11111
 
}'`; fi
11112
 
else
11113
 
  echo "$as_me: failed program was:" >&5
11114
 
sed 's/^/| /' conftest.$ac_ext >&5
11115
 
 
11116
 
 
11117
 
fi
11118
 
 
11119
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11120
 
      conftest$ac_exeext conftest.$ac_ext
11121
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11122
 
 
11123
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11124
 
        # Warning - without using the other run time loading flags,
11125
 
        # -berok will link without error, but may produce a broken library.
11126
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11127
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11128
 
        # Exported symbols can be pulled into shared objects from archives
11129
 
        whole_archive_flag_spec_CXX='$convenience'
11130
 
        archive_cmds_need_lc_CXX=yes
11131
 
        # This is similar to how AIX traditionally builds its shared libraries.
11132
 
        archive_expsym_cmds_CXX="\$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'
11133
 
      fi
11134
 
    fi
11135
 
    ;;
11136
 
 
11137
 
  beos*)
11138
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11139
 
      allow_undefined_flag_CXX=unsupported
11140
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11141
 
      # support --undefined.  This deserves some investigation.  FIXME
11142
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11143
 
    else
11144
 
      ld_shlibs_CXX=no
11145
 
    fi
11146
 
    ;;
11147
 
 
11148
 
  chorus*)
11149
 
    case $cc_basename in
11150
 
      *)
11151
 
        # FIXME: insert proper C++ library support
11152
 
        ld_shlibs_CXX=no
11153
 
        ;;
11154
 
    esac
11155
 
    ;;
11156
 
 
11157
 
  cygwin* | mingw* | pw32*)
11158
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11159
 
    # as there is no search path for DLLs.
11160
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11161
 
    allow_undefined_flag_CXX=unsupported
11162
 
    always_export_symbols_CXX=no
11163
 
    enable_shared_with_static_runtimes_CXX=yes
11164
 
 
11165
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11166
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11167
 
      # If the export-symbols file already is a .def file (1st line
11168
 
      # is EXPORTS), use it as is; otherwise, prepend...
11169
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11170
 
        cp $export_symbols $output_objdir/$soname.def;
11171
 
      else
11172
 
        echo EXPORTS > $output_objdir/$soname.def;
11173
 
        cat $export_symbols >> $output_objdir/$soname.def;
11174
 
      fi~
11175
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11176
 
    else
11177
 
      ld_shlibs_CXX=no
11178
 
    fi
11179
 
  ;;
11180
 
      darwin* | rhapsody*)
11181
 
        case $host_os in
11182
 
        rhapsody* | darwin1.[012])
11183
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11184
 
         ;;
11185
 
       *) # Darwin 1.3 on
11186
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11187
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11188
 
         else
11189
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11190
 
             10.[012])
11191
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11192
 
               ;;
11193
 
             10.*)
11194
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11195
 
               ;;
11196
 
           esac
11197
 
         fi
11198
 
         ;;
11199
 
        esac
11200
 
      archive_cmds_need_lc_CXX=no
11201
 
      hardcode_direct_CXX=no
11202
 
      hardcode_automatic_CXX=yes
11203
 
      hardcode_shlibpath_var_CXX=unsupported
11204
 
      whole_archive_flag_spec_CXX=''
11205
 
      link_all_deplibs_CXX=yes
11206
 
 
11207
 
    if test "$GXX" = yes ; then
11208
 
      lt_int_apple_cc_single_mod=no
11209
 
      output_verbose_link_cmd='echo'
11210
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11211
 
       lt_int_apple_cc_single_mod=yes
11212
 
      fi
11213
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11214
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11215
 
      else
11216
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
11881
 
 
11882
 
 
11883
 
 
11884
 
 
11885
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
11886
      # archiving commands below assume that GNU ld is being used.
 
11887
      if test "$with_gnu_ld" = yes; then
 
11888
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11889
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11890
 
 
11891
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
11892
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
11893
 
 
11894
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
11895
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
11896
        #     investigate it a little bit more. (MM)
 
11897
        wlarc='${wl}'
 
11898
 
 
11899
        # ancient GNU ld didn't support --whole-archive et. al.
 
11900
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
11901
          $GREP 'no-whole-archive' > /dev/null; then
 
11902
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11903
        else
 
11904
          whole_archive_flag_spec_CXX=
11217
11905
        fi
11218
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11219
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11220
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11221
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11222
 
          else
11223
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11224
 
          fi
11225
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11226
11906
      else
11227
 
      case $cc_basename in
11228
 
        xlc*)
11229
 
         output_verbose_link_cmd='echo'
11230
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11231
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11232
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11233
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11234
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11235
 
          ;;
11236
 
       *)
11237
 
         ld_shlibs_CXX=no
11238
 
          ;;
11239
 
      esac
 
11907
        with_gnu_ld=no
 
11908
        wlarc=
 
11909
 
 
11910
        # A generic and very simple default shared library creation
 
11911
        # command for GNU C++ for the case where it uses the native
 
11912
        # linker, instead of GNU ld.  If possible, this setting should
 
11913
        # overridden to take advantage of the native linker features on
 
11914
        # the platform it is being used on.
 
11915
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11240
11916
      fi
11241
 
        ;;
11242
 
 
11243
 
  dgux*)
11244
 
    case $cc_basename in
11245
 
      ec++*)
11246
 
        # FIXME: insert proper C++ library support
11247
 
        ld_shlibs_CXX=no
11248
 
        ;;
11249
 
      ghcx*)
11250
 
        # Green Hills C++ Compiler
11251
 
        # FIXME: insert proper C++ library support
11252
 
        ld_shlibs_CXX=no
11253
 
        ;;
11254
 
      *)
11255
 
        # FIXME: insert proper C++ library support
11256
 
        ld_shlibs_CXX=no
11257
 
        ;;
11258
 
    esac
11259
 
    ;;
11260
 
  freebsd[12]*)
11261
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11262
 
    ld_shlibs_CXX=no
11263
 
    ;;
11264
 
  freebsd-elf*)
11265
 
    archive_cmds_need_lc_CXX=no
11266
 
    ;;
11267
 
  freebsd* | dragonfly*)
11268
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11269
 
    # conventions
11270
 
    ld_shlibs_CXX=yes
11271
 
    ;;
11272
 
  gnu*)
11273
 
    ;;
11274
 
  hpux9*)
11275
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11276
 
    hardcode_libdir_separator_CXX=:
11277
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11278
 
    hardcode_direct_CXX=yes
11279
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11280
 
                                # but as the default
11281
 
                                # location of the library.
11282
 
 
11283
 
    case $cc_basename in
11284
 
    CC*)
11285
 
      # FIXME: insert proper C++ library support
11286
 
      ld_shlibs_CXX=no
11287
 
      ;;
11288
 
    aCC*)
11289
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11917
 
11290
11918
      # Commands to make compiler produce verbose output that lists
11291
11919
      # what "hidden" libraries, object files and flags are used when
11292
11920
      # linking a shared library.
11293
 
      #
11294
 
      # There doesn't appear to be a way to prevent this compiler from
11295
 
      # explicitly linking system object files so we need to strip them
11296
 
      # from the output so that they don't get included in the library
11297
 
      # dependencies.
11298
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11299
 
      ;;
11300
 
    *)
11301
 
      if test "$GXX" = yes; then
11302
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11303
 
      else
 
11921
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
11922
 
 
11923
    else
 
11924
      GXX=no
 
11925
      with_gnu_ld=no
 
11926
      wlarc=
 
11927
    fi
 
11928
 
 
11929
    # PORTME: fill in a description of your system's C++ link characteristics
 
11930
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11931
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
11932
    ld_shlibs_CXX=yes
 
11933
    case $host_os in
 
11934
      aix3*)
11304
11935
        # FIXME: insert proper C++ library support
11305
11936
        ld_shlibs_CXX=no
11306
 
      fi
11307
 
      ;;
11308
 
    esac
11309
 
    ;;
11310
 
  hpux10*|hpux11*)
11311
 
    if test $with_gnu_ld = no; then
11312
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11313
 
      hardcode_libdir_separator_CXX=:
11314
 
 
11315
 
      case $host_cpu in
11316
 
      hppa*64*|ia64*)
11317
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11318
 
        ;;
11319
 
      *)
 
11937
        ;;
 
11938
      aix[4-9]*)
 
11939
        if test "$host_cpu" = ia64; then
 
11940
          # On IA64, the linker does run time linking by default, so we don't
 
11941
          # have to do anything special.
 
11942
          aix_use_runtimelinking=no
 
11943
          exp_sym_flag='-Bexport'
 
11944
          no_entry_flag=""
 
11945
        else
 
11946
          aix_use_runtimelinking=no
 
11947
 
 
11948
          # Test if we are trying to use run time linking or normal
 
11949
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
11950
          # need to do runtime linking.
 
11951
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
11952
            for ld_flag in $LDFLAGS; do
 
11953
              case $ld_flag in
 
11954
              *-brtl*)
 
11955
                aix_use_runtimelinking=yes
 
11956
                break
 
11957
                ;;
 
11958
              esac
 
11959
            done
 
11960
            ;;
 
11961
          esac
 
11962
 
 
11963
          exp_sym_flag='-bexport'
 
11964
          no_entry_flag='-bnoentry'
 
11965
        fi
 
11966
 
 
11967
        # When large executables or shared objects are built, AIX ld can
 
11968
        # have problems creating the table of contents.  If linking a library
 
11969
        # or program results in "error TOC overflow" add -mminimal-toc to
 
11970
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
11971
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
11972
 
 
11973
        archive_cmds_CXX=''
 
11974
        hardcode_direct_CXX=yes
 
11975
        hardcode_direct_absolute_CXX=yes
 
11976
        hardcode_libdir_separator_CXX=':'
 
11977
        link_all_deplibs_CXX=yes
 
11978
        file_list_spec_CXX='${wl}-f,'
 
11979
 
 
11980
        if test "$GXX" = yes; then
 
11981
          case $host_os in aix4.[012]|aix4.[012].*)
 
11982
          # We only want to do this on AIX 4.2 and lower, the check
 
11983
          # below for broken collect2 doesn't work under 4.3+
 
11984
          collect2name=`${CC} -print-prog-name=collect2`
 
11985
          if test -f "$collect2name" &&
 
11986
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
11987
          then
 
11988
            # We have reworked collect2
 
11989
            :
 
11990
          else
 
11991
            # We have old collect2
 
11992
            hardcode_direct_CXX=unsupported
 
11993
            # It fails to find uninstalled libraries when the uninstalled
 
11994
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
11995
            # to unsupported forces relinking
 
11996
            hardcode_minus_L_CXX=yes
 
11997
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
11998
            hardcode_libdir_separator_CXX=
 
11999
          fi
 
12000
          esac
 
12001
          shared_flag='-shared'
 
12002
          if test "$aix_use_runtimelinking" = yes; then
 
12003
            shared_flag="$shared_flag "'${wl}-G'
 
12004
          fi
 
12005
        else
 
12006
          # not using gcc
 
12007
          if test "$host_cpu" = ia64; then
 
12008
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12009
          # chokes on -Wl,-G. The following line is correct:
 
12010
          shared_flag='-G'
 
12011
          else
 
12012
            if test "$aix_use_runtimelinking" = yes; then
 
12013
              shared_flag='${wl}-G'
 
12014
            else
 
12015
              shared_flag='${wl}-bM:SRE'
 
12016
            fi
 
12017
          fi
 
12018
        fi
 
12019
 
 
12020
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
12021
        # It seems that -bexpall does not export symbols beginning with
 
12022
        # underscore (_), so it is better to generate a list of symbols to
 
12023
        # export.
 
12024
        always_export_symbols_CXX=yes
 
12025
        if test "$aix_use_runtimelinking" = yes; then
 
12026
          # Warning - without using the other runtime loading flags (-brtl),
 
12027
          # -berok will link without error, but may produce a broken library.
 
12028
          allow_undefined_flag_CXX='-berok'
 
12029
          # Determine the default libpath from the value encoded in an empty
 
12030
          # executable.
 
12031
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12032
/* end confdefs.h.  */
 
12033
 
 
12034
int
 
12035
main ()
 
12036
{
 
12037
 
 
12038
  ;
 
12039
  return 0;
 
12040
}
 
12041
_ACEOF
 
12042
if ac_fn_cxx_try_link "$LINENO"; then :
 
12043
 
 
12044
lt_aix_libpath_sed='
 
12045
    /Import File Strings/,/^$/ {
 
12046
        /^0/ {
 
12047
            s/^0  *\(.*\)$/\1/
 
12048
            p
 
12049
        }
 
12050
    }'
 
12051
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12052
# Check for a 64-bit object if we didn't find anything.
 
12053
if test -z "$aix_libpath"; then
 
12054
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12055
fi
 
12056
fi
 
12057
rm -f core conftest.err conftest.$ac_objext \
 
12058
    conftest$ac_exeext conftest.$ac_ext
 
12059
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12060
 
 
12061
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12062
 
 
12063
          archive_expsym_cmds_CXX='$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"
 
12064
        else
 
12065
          if test "$host_cpu" = ia64; then
 
12066
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
12067
            allow_undefined_flag_CXX="-z nodefs"
 
12068
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
12069
          else
 
12070
            # Determine the default libpath from the value encoded in an
 
12071
            # empty executable.
 
12072
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12073
/* end confdefs.h.  */
 
12074
 
 
12075
int
 
12076
main ()
 
12077
{
 
12078
 
 
12079
  ;
 
12080
  return 0;
 
12081
}
 
12082
_ACEOF
 
12083
if ac_fn_cxx_try_link "$LINENO"; then :
 
12084
 
 
12085
lt_aix_libpath_sed='
 
12086
    /Import File Strings/,/^$/ {
 
12087
        /^0/ {
 
12088
            s/^0  *\(.*\)$/\1/
 
12089
            p
 
12090
        }
 
12091
    }'
 
12092
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12093
# Check for a 64-bit object if we didn't find anything.
 
12094
if test -z "$aix_libpath"; then
 
12095
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12096
fi
 
12097
fi
 
12098
rm -f core conftest.err conftest.$ac_objext \
 
12099
    conftest$ac_exeext conftest.$ac_ext
 
12100
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12101
 
 
12102
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12103
            # Warning - without using the other run time loading flags,
 
12104
            # -berok will link without error, but may produce a broken library.
 
12105
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
12106
            allow_undefined_flag_CXX=' ${wl}-berok'
 
12107
            # Exported symbols can be pulled into shared objects from archives
 
12108
            whole_archive_flag_spec_CXX='$convenience'
 
12109
            archive_cmds_need_lc_CXX=yes
 
12110
            # This is similar to how AIX traditionally builds its shared
 
12111
            # libraries.
 
12112
            archive_expsym_cmds_CXX="\$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'
 
12113
          fi
 
12114
        fi
 
12115
        ;;
 
12116
 
 
12117
      beos*)
 
12118
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12119
          allow_undefined_flag_CXX=unsupported
 
12120
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
12121
          # support --undefined.  This deserves some investigation.  FIXME
 
12122
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12123
        else
 
12124
          ld_shlibs_CXX=no
 
12125
        fi
 
12126
        ;;
 
12127
 
 
12128
      chorus*)
 
12129
        case $cc_basename in
 
12130
          *)
 
12131
          # FIXME: insert proper C++ library support
 
12132
          ld_shlibs_CXX=no
 
12133
          ;;
 
12134
        esac
 
12135
        ;;
 
12136
 
 
12137
      cygwin* | mingw* | pw32* | cegcc*)
 
12138
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12139
        # as there is no search path for DLLs.
 
12140
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12141
        allow_undefined_flag_CXX=unsupported
 
12142
        always_export_symbols_CXX=no
 
12143
        enable_shared_with_static_runtimes_CXX=yes
 
12144
 
 
12145
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12146
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12147
          # If the export-symbols file already is a .def file (1st line
 
12148
          # is EXPORTS), use it as is; otherwise, prepend...
 
12149
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12150
            cp $export_symbols $output_objdir/$soname.def;
 
12151
          else
 
12152
            echo EXPORTS > $output_objdir/$soname.def;
 
12153
            cat $export_symbols >> $output_objdir/$soname.def;
 
12154
          fi~
 
12155
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12156
        else
 
12157
          ld_shlibs_CXX=no
 
12158
        fi
 
12159
        ;;
 
12160
      darwin* | rhapsody*)
 
12161
 
 
12162
 
 
12163
  archive_cmds_need_lc_CXX=no
 
12164
  hardcode_direct_CXX=no
 
12165
  hardcode_automatic_CXX=yes
 
12166
  hardcode_shlibpath_var_CXX=unsupported
 
12167
  whole_archive_flag_spec_CXX=''
 
12168
  link_all_deplibs_CXX=yes
 
12169
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12170
  case $cc_basename in
 
12171
     ifort*) _lt_dar_can_shared=yes ;;
 
12172
     *) _lt_dar_can_shared=$GCC ;;
 
12173
  esac
 
12174
  if test "$_lt_dar_can_shared" = "yes"; then
 
12175
    output_verbose_link_cmd=echo
 
12176
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12177
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12178
    archive_expsym_cmds_CXX="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}"
 
12179
    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
12180
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12181
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
12182
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
12183
    fi
 
12184
 
 
12185
  else
 
12186
  ld_shlibs_CXX=no
 
12187
  fi
 
12188
 
 
12189
        ;;
 
12190
 
 
12191
      dgux*)
 
12192
        case $cc_basename in
 
12193
          ec++*)
 
12194
            # FIXME: insert proper C++ library support
 
12195
            ld_shlibs_CXX=no
 
12196
            ;;
 
12197
          ghcx*)
 
12198
            # Green Hills C++ Compiler
 
12199
            # FIXME: insert proper C++ library support
 
12200
            ld_shlibs_CXX=no
 
12201
            ;;
 
12202
          *)
 
12203
            # FIXME: insert proper C++ library support
 
12204
            ld_shlibs_CXX=no
 
12205
            ;;
 
12206
        esac
 
12207
        ;;
 
12208
 
 
12209
      freebsd[12]*)
 
12210
        # C++ shared libraries reported to be fairly broken before
 
12211
        # switch to ELF
 
12212
        ld_shlibs_CXX=no
 
12213
        ;;
 
12214
 
 
12215
      freebsd-elf*)
 
12216
        archive_cmds_need_lc_CXX=no
 
12217
        ;;
 
12218
 
 
12219
      freebsd* | dragonfly*)
 
12220
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
12221
        # conventions
 
12222
        ld_shlibs_CXX=yes
 
12223
        ;;
 
12224
 
 
12225
      gnu*)
 
12226
        ;;
 
12227
 
 
12228
      hpux9*)
 
12229
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12230
        hardcode_libdir_separator_CXX=:
 
12231
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12232
        hardcode_direct_CXX=yes
 
12233
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12234
                                             # but as the default
 
12235
                                             # location of the library.
 
12236
 
 
12237
        case $cc_basename in
 
12238
          CC*)
 
12239
            # FIXME: insert proper C++ library support
 
12240
            ld_shlibs_CXX=no
 
12241
            ;;
 
12242
          aCC*)
 
12243
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12244
            # Commands to make compiler produce verbose output that lists
 
12245
            # what "hidden" libraries, object files and flags are used when
 
12246
            # linking a shared library.
 
12247
            #
 
12248
            # There doesn't appear to be a way to prevent this compiler from
 
12249
            # explicitly linking system object files so we need to strip them
 
12250
            # from the output so that they don't get included in the library
 
12251
            # dependencies.
 
12252
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12253
            ;;
 
12254
          *)
 
12255
            if test "$GXX" = yes; then
 
12256
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12257
            else
 
12258
              # FIXME: insert proper C++ library support
 
12259
              ld_shlibs_CXX=no
 
12260
            fi
 
12261
            ;;
 
12262
        esac
 
12263
        ;;
 
12264
 
 
12265
      hpux10*|hpux11*)
 
12266
        if test $with_gnu_ld = no; then
 
12267
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12268
          hardcode_libdir_separator_CXX=:
 
12269
 
 
12270
          case $host_cpu in
 
12271
            hppa*64*|ia64*)
 
12272
              ;;
 
12273
            *)
 
12274
              export_dynamic_flag_spec_CXX='${wl}-E'
 
12275
              ;;
 
12276
          esac
 
12277
        fi
 
12278
        case $host_cpu in
 
12279
          hppa*64*|ia64*)
 
12280
            hardcode_direct_CXX=no
 
12281
            hardcode_shlibpath_var_CXX=no
 
12282
            ;;
 
12283
          *)
 
12284
            hardcode_direct_CXX=yes
 
12285
            hardcode_direct_absolute_CXX=yes
 
12286
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12287
                                                 # but as the default
 
12288
                                                 # location of the library.
 
12289
            ;;
 
12290
        esac
 
12291
 
 
12292
        case $cc_basename in
 
12293
          CC*)
 
12294
            # FIXME: insert proper C++ library support
 
12295
            ld_shlibs_CXX=no
 
12296
            ;;
 
12297
          aCC*)
 
12298
            case $host_cpu in
 
12299
              hppa*64*)
 
12300
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12301
                ;;
 
12302
              ia64*)
 
12303
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12304
                ;;
 
12305
              *)
 
12306
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12307
                ;;
 
12308
            esac
 
12309
            # Commands to make compiler produce verbose output that lists
 
12310
            # what "hidden" libraries, object files and flags are used when
 
12311
            # linking a shared library.
 
12312
            #
 
12313
            # There doesn't appear to be a way to prevent this compiler from
 
12314
            # explicitly linking system object files so we need to strip them
 
12315
            # from the output so that they don't get included in the library
 
12316
            # dependencies.
 
12317
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12318
            ;;
 
12319
          *)
 
12320
            if test "$GXX" = yes; then
 
12321
              if test $with_gnu_ld = no; then
 
12322
                case $host_cpu in
 
12323
                  hppa*64*)
 
12324
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12325
                    ;;
 
12326
                  ia64*)
 
12327
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12328
                    ;;
 
12329
                  *)
 
12330
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12331
                    ;;
 
12332
                esac
 
12333
              fi
 
12334
            else
 
12335
              # FIXME: insert proper C++ library support
 
12336
              ld_shlibs_CXX=no
 
12337
            fi
 
12338
            ;;
 
12339
        esac
 
12340
        ;;
 
12341
 
 
12342
      interix[3-9]*)
 
12343
        hardcode_direct_CXX=no
 
12344
        hardcode_shlibpath_var_CXX=no
 
12345
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11320
12346
        export_dynamic_flag_spec_CXX='${wl}-E'
11321
 
        ;;
11322
 
      esac
11323
 
    fi
11324
 
    case $host_cpu in
11325
 
    hppa*64*|ia64*)
11326
 
      hardcode_direct_CXX=no
 
12347
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12348
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12349
        # default) and relocated if they conflict, which is a slow very memory
 
12350
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
12351
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12352
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12353
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
12354
        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
12355
        ;;
 
12356
      irix5* | irix6*)
 
12357
        case $cc_basename in
 
12358
          CC*)
 
12359
            # SGI C++
 
12360
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12361
 
 
12362
            # Archives containing C++ object files must be created using
 
12363
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
12364
            # necessary to make sure instantiated templates are included
 
12365
            # in the archive.
 
12366
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
12367
            ;;
 
12368
          *)
 
12369
            if test "$GXX" = yes; then
 
12370
              if test "$with_gnu_ld" = no; then
 
12371
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
 
12372
              else
 
12373
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
12374
              fi
 
12375
            fi
 
12376
            link_all_deplibs_CXX=yes
 
12377
            ;;
 
12378
        esac
 
12379
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12380
        hardcode_libdir_separator_CXX=:
 
12381
        inherit_rpath_CXX=yes
 
12382
        ;;
 
12383
 
 
12384
      linux* | k*bsd*-gnu)
 
12385
        case $cc_basename in
 
12386
          KCC*)
 
12387
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12388
 
 
12389
            # KCC will only create a shared library if the output file
 
12390
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12391
            # to its proper name (with version) after linking.
 
12392
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
12393
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
12394
            # Commands to make compiler produce verbose output that lists
 
12395
            # what "hidden" libraries, object files and flags are used when
 
12396
            # linking a shared library.
 
12397
            #
 
12398
            # There doesn't appear to be a way to prevent this compiler from
 
12399
            # explicitly linking system object files so we need to strip them
 
12400
            # from the output so that they don't get included in the library
 
12401
            # dependencies.
 
12402
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12403
 
 
12404
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12405
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12406
 
 
12407
            # Archives containing C++ object files must be created using
 
12408
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
12409
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
12410
            ;;
 
12411
          icpc* | ecpc* )
 
12412
            # Intel C++
 
12413
            with_gnu_ld=yes
 
12414
            # version 8.0 and above of icpc choke on multiply defined symbols
 
12415
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12416
            # earlier do not add the objects themselves.
 
12417
            case `$CC -V 2>&1` in
 
12418
              *"Version 7."*)
 
12419
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12420
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12421
                ;;
 
12422
              *)  # Version 8.0 or newer
 
12423
                tmp_idyn=
 
12424
                case $host_cpu in
 
12425
                  ia64*) tmp_idyn=' -i_dynamic';;
 
12426
                esac
 
12427
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12428
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12429
                ;;
 
12430
            esac
 
12431
            archive_cmds_need_lc_CXX=no
 
12432
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12433
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12434
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12435
            ;;
 
12436
          pgCC* | pgcpp*)
 
12437
            # Portland Group C++ compiler
 
12438
            case `$CC -V` in
 
12439
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12440
              prelink_cmds_CXX='tpldir=Template.dir~
 
12441
                rm -rf $tpldir~
 
12442
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
12443
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12444
              old_archive_cmds_CXX='tpldir=Template.dir~
 
12445
                rm -rf $tpldir~
 
12446
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
12447
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12448
                $RANLIB $oldlib'
 
12449
              archive_cmds_CXX='tpldir=Template.dir~
 
12450
                rm -rf $tpldir~
 
12451
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
12452
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12453
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
12454
                rm -rf $tpldir~
 
12455
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
12456
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12457
              ;;
 
12458
            *) # Version 6 will use weak symbols
 
12459
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12460
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12461
              ;;
 
12462
            esac
 
12463
 
 
12464
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
12465
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12466
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
12467
            ;;
 
12468
          cxx*)
 
12469
            # Compaq C++
 
12470
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12471
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
12472
 
 
12473
            runpath_var=LD_RUN_PATH
 
12474
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
12475
            hardcode_libdir_separator_CXX=:
 
12476
 
 
12477
            # Commands to make compiler produce verbose output that lists
 
12478
            # what "hidden" libraries, object files and flags are used when
 
12479
            # linking a shared library.
 
12480
            #
 
12481
            # There doesn't appear to be a way to prevent this compiler from
 
12482
            # explicitly linking system object files so we need to strip them
 
12483
            # from the output so that they don't get included in the library
 
12484
            # dependencies.
 
12485
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12486
            ;;
 
12487
          xl*)
 
12488
            # IBM XL 8.0 on PPC, with GNU ld
 
12489
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12490
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12491
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12492
            if test "x$supports_anon_versioning" = xyes; then
 
12493
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
12494
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
12495
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
12496
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
12497
            fi
 
12498
            ;;
 
12499
          *)
 
12500
            case `$CC -V 2>&1 | sed 5q` in
 
12501
            *Sun\ C*)
 
12502
              # Sun C++ 5.9
 
12503
              no_undefined_flag_CXX=' -zdefs'
 
12504
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12505
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
12506
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12507
              whole_archive_flag_spec_CXX='${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'
 
12508
              compiler_needs_object_CXX=yes
 
12509
 
 
12510
              # Not sure whether something based on
 
12511
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12512
              # would be better.
 
12513
              output_verbose_link_cmd='echo'
 
12514
 
 
12515
              # Archives containing C++ object files must be created using
 
12516
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12517
              # necessary to make sure instantiated templates are included
 
12518
              # in the archive.
 
12519
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12520
              ;;
 
12521
            esac
 
12522
            ;;
 
12523
        esac
 
12524
        ;;
 
12525
 
 
12526
      lynxos*)
 
12527
        # FIXME: insert proper C++ library support
 
12528
        ld_shlibs_CXX=no
 
12529
        ;;
 
12530
 
 
12531
      m88k*)
 
12532
        # FIXME: insert proper C++ library support
 
12533
        ld_shlibs_CXX=no
 
12534
        ;;
 
12535
 
 
12536
      mvs*)
 
12537
        case $cc_basename in
 
12538
          cxx*)
 
12539
            # FIXME: insert proper C++ library support
 
12540
            ld_shlibs_CXX=no
 
12541
            ;;
 
12542
          *)
 
12543
            # FIXME: insert proper C++ library support
 
12544
            ld_shlibs_CXX=no
 
12545
            ;;
 
12546
        esac
 
12547
        ;;
 
12548
 
 
12549
      netbsd*)
 
12550
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12551
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
12552
          wlarc=
 
12553
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12554
          hardcode_direct_CXX=yes
 
12555
          hardcode_shlibpath_var_CXX=no
 
12556
        fi
 
12557
        # Workaround some broken pre-1.5 toolchains
 
12558
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
12559
        ;;
 
12560
 
 
12561
      *nto* | *qnx*)
 
12562
        ld_shlibs_CXX=yes
 
12563
        ;;
 
12564
 
 
12565
      openbsd2*)
 
12566
        # C++ shared libraries are fairly broken
 
12567
        ld_shlibs_CXX=no
 
12568
        ;;
 
12569
 
 
12570
      openbsd*)
 
12571
        if test -f /usr/libexec/ld.so; then
 
12572
          hardcode_direct_CXX=yes
 
12573
          hardcode_shlibpath_var_CXX=no
 
12574
          hardcode_direct_absolute_CXX=yes
 
12575
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12576
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12577
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12578
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12579
            export_dynamic_flag_spec_CXX='${wl}-E'
 
12580
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12581
          fi
 
12582
          output_verbose_link_cmd=echo
 
12583
        else
 
12584
          ld_shlibs_CXX=no
 
12585
        fi
 
12586
        ;;
 
12587
 
 
12588
      osf3* | osf4* | osf5*)
 
12589
        case $cc_basename in
 
12590
          KCC*)
 
12591
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12592
 
 
12593
            # KCC will only create a shared library if the output file
 
12594
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12595
            # to its proper name (with version) after linking.
 
12596
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
12597
 
 
12598
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12599
            hardcode_libdir_separator_CXX=:
 
12600
 
 
12601
            # Archives containing C++ object files must be created using
 
12602
            # the KAI C++ compiler.
 
12603
            case $host in
 
12604
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
12605
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
12606
            esac
 
12607
            ;;
 
12608
          RCC*)
 
12609
            # Rational C++ 2.4.1
 
12610
            # FIXME: insert proper C++ library support
 
12611
            ld_shlibs_CXX=no
 
12612
            ;;
 
12613
          cxx*)
 
12614
            case $host in
 
12615
              osf3*)
 
12616
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
12617
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12618
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12619
                ;;
 
12620
              *)
 
12621
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
12622
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12623
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
12624
                  echo "-hidden">> $lib.exp~
 
12625
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
12626
                  $RM $lib.exp'
 
12627
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
12628
                ;;
 
12629
            esac
 
12630
 
 
12631
            hardcode_libdir_separator_CXX=:
 
12632
 
 
12633
            # Commands to make compiler produce verbose output that lists
 
12634
            # what "hidden" libraries, object files and flags are used when
 
12635
            # linking a shared library.
 
12636
            #
 
12637
            # There doesn't appear to be a way to prevent this compiler from
 
12638
            # explicitly linking system object files so we need to strip them
 
12639
            # from the output so that they don't get included in the library
 
12640
            # dependencies.
 
12641
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12642
            ;;
 
12643
          *)
 
12644
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
12645
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
12646
              case $host in
 
12647
                osf3*)
 
12648
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12649
                  ;;
 
12650
                *)
 
12651
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12652
                  ;;
 
12653
              esac
 
12654
 
 
12655
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12656
              hardcode_libdir_separator_CXX=:
 
12657
 
 
12658
              # Commands to make compiler produce verbose output that lists
 
12659
              # what "hidden" libraries, object files and flags are used when
 
12660
              # linking a shared library.
 
12661
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12662
 
 
12663
            else
 
12664
              # FIXME: insert proper C++ library support
 
12665
              ld_shlibs_CXX=no
 
12666
            fi
 
12667
            ;;
 
12668
        esac
 
12669
        ;;
 
12670
 
 
12671
      psos*)
 
12672
        # FIXME: insert proper C++ library support
 
12673
        ld_shlibs_CXX=no
 
12674
        ;;
 
12675
 
 
12676
      sunos4*)
 
12677
        case $cc_basename in
 
12678
          CC*)
 
12679
            # Sun C++ 4.x
 
12680
            # FIXME: insert proper C++ library support
 
12681
            ld_shlibs_CXX=no
 
12682
            ;;
 
12683
          lcc*)
 
12684
            # Lucid
 
12685
            # FIXME: insert proper C++ library support
 
12686
            ld_shlibs_CXX=no
 
12687
            ;;
 
12688
          *)
 
12689
            # FIXME: insert proper C++ library support
 
12690
            ld_shlibs_CXX=no
 
12691
            ;;
 
12692
        esac
 
12693
        ;;
 
12694
 
 
12695
      solaris*)
 
12696
        case $cc_basename in
 
12697
          CC*)
 
12698
            # Sun C++ 4.2, 5.x and Centerline C++
 
12699
            archive_cmds_need_lc_CXX=yes
 
12700
            no_undefined_flag_CXX=' -zdefs'
 
12701
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12702
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12703
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
12704
 
 
12705
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12706
            hardcode_shlibpath_var_CXX=no
 
12707
            case $host_os in
 
12708
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12709
              *)
 
12710
                # The compiler driver will combine and reorder linker options,
 
12711
                # but understands `-z linker_flag'.
 
12712
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12713
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
12714
                ;;
 
12715
            esac
 
12716
            link_all_deplibs_CXX=yes
 
12717
 
 
12718
            output_verbose_link_cmd='echo'
 
12719
 
 
12720
            # Archives containing C++ object files must be created using
 
12721
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12722
            # necessary to make sure instantiated templates are included
 
12723
            # in the archive.
 
12724
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12725
            ;;
 
12726
          gcx*)
 
12727
            # Green Hills C++ Compiler
 
12728
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12729
 
 
12730
            # The C++ compiler must be used to create the archive.
 
12731
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
12732
            ;;
 
12733
          *)
 
12734
            # GNU C++ compiler with Solaris linker
 
12735
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
12736
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
12737
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
12738
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12739
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12740
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
12741
 
 
12742
                # Commands to make compiler produce verbose output that lists
 
12743
                # what "hidden" libraries, object files and flags are used when
 
12744
                # linking a shared library.
 
12745
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12746
              else
 
12747
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
12748
                # platform.
 
12749
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12750
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12751
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
12752
 
 
12753
                # Commands to make compiler produce verbose output that lists
 
12754
                # what "hidden" libraries, object files and flags are used when
 
12755
                # linking a shared library.
 
12756
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12757
              fi
 
12758
 
 
12759
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12760
              case $host_os in
 
12761
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12762
                *)
 
12763
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12764
                  ;;
 
12765
              esac
 
12766
            fi
 
12767
            ;;
 
12768
        esac
 
12769
        ;;
 
12770
 
 
12771
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12772
      no_undefined_flag_CXX='${wl}-z,text'
 
12773
      archive_cmds_need_lc_CXX=no
11327
12774
      hardcode_shlibpath_var_CXX=no
11328
 
      ;;
11329
 
    *)
11330
 
      hardcode_direct_CXX=yes
11331
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11332
 
                                              # but as the default
11333
 
                                              # location of the library.
11334
 
      ;;
11335
 
    esac
 
12775
      runpath_var='LD_RUN_PATH'
11336
12776
 
11337
 
    case $cc_basename in
11338
 
      CC*)
11339
 
        # FIXME: insert proper C++ library support
11340
 
        ld_shlibs_CXX=no
11341
 
        ;;
11342
 
      aCC*)
11343
 
        case $host_cpu in
11344
 
        hppa*64*)
11345
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11346
 
          ;;
11347
 
        ia64*)
11348
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12777
      case $cc_basename in
 
12778
        CC*)
 
12779
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12780
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11349
12781
          ;;
11350
12782
        *)
11351
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11352
 
          ;;
11353
 
        esac
11354
 
        # Commands to make compiler produce verbose output that lists
11355
 
        # what "hidden" libraries, object files and flags are used when
11356
 
        # linking a shared library.
11357
 
        #
11358
 
        # There doesn't appear to be a way to prevent this compiler from
11359
 
        # explicitly linking system object files so we need to strip them
11360
 
        # from the output so that they don't get included in the library
11361
 
        # dependencies.
11362
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11363
 
        ;;
11364
 
      *)
11365
 
        if test "$GXX" = yes; then
11366
 
          if test $with_gnu_ld = no; then
11367
 
            case $host_cpu in
11368
 
            hppa*64*)
11369
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11370
 
              ;;
11371
 
            ia64*)
11372
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11373
 
              ;;
11374
 
            *)
11375
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11376
 
              ;;
11377
 
            esac
11378
 
          fi
11379
 
        else
11380
 
          # FIXME: insert proper C++ library support
11381
 
          ld_shlibs_CXX=no
11382
 
        fi
11383
 
        ;;
11384
 
    esac
11385
 
    ;;
11386
 
  interix3*)
11387
 
    hardcode_direct_CXX=no
11388
 
    hardcode_shlibpath_var_CXX=no
11389
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11390
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11391
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11392
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11393
 
    # default) and relocated if they conflict, which is a slow very memory
11394
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11395
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11396
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11397
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11398
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11399
 
    ;;
11400
 
  irix5* | irix6*)
11401
 
    case $cc_basename in
11402
 
      CC*)
11403
 
        # SGI C++
11404
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11405
 
 
11406
 
        # Archives containing C++ object files must be created using
11407
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11408
 
        # necessary to make sure instantiated templates are included
11409
 
        # in the archive.
11410
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11411
 
        ;;
11412
 
      *)
11413
 
        if test "$GXX" = yes; then
11414
 
          if test "$with_gnu_ld" = no; then
11415
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11416
 
          else
11417
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11418
 
          fi
11419
 
        fi
11420
 
        link_all_deplibs_CXX=yes
11421
 
        ;;
11422
 
    esac
11423
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11424
 
    hardcode_libdir_separator_CXX=:
11425
 
    ;;
11426
 
  linux* | k*bsd*-gnu)
11427
 
    case $cc_basename in
11428
 
      KCC*)
11429
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11430
 
 
11431
 
        # KCC will only create a shared library if the output file
11432
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11433
 
        # to its proper name (with version) after linking.
11434
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11435
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11436
 
        # Commands to make compiler produce verbose output that lists
11437
 
        # what "hidden" libraries, object files and flags are used when
11438
 
        # linking a shared library.
11439
 
        #
11440
 
        # There doesn't appear to be a way to prevent this compiler from
11441
 
        # explicitly linking system object files so we need to strip them
11442
 
        # from the output so that they don't get included in the library
11443
 
        # dependencies.
11444
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11445
 
 
11446
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11447
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11448
 
 
11449
 
        # Archives containing C++ object files must be created using
11450
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11451
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11452
 
        ;;
11453
 
      icpc*)
11454
 
        # Intel C++
11455
 
        with_gnu_ld=yes
11456
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11457
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11458
 
        # earlier do not add the objects themselves.
11459
 
        case `$CC -V 2>&1` in
11460
 
        *"Version 7."*)
11461
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11462
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11463
 
          ;;
11464
 
        *)  # Version 8.0 or newer
11465
 
          tmp_idyn=
11466
 
          case $host_cpu in
11467
 
            ia64*) tmp_idyn=' -i_dynamic';;
11468
 
          esac
11469
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11470
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11471
 
          ;;
11472
 
        esac
 
12783
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12784
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12785
          ;;
 
12786
      esac
 
12787
      ;;
 
12788
 
 
12789
      sysv5* | sco3.2v5* | sco5v6*)
 
12790
        # Note: We can NOT use -z defs as we might desire, because we do not
 
12791
        # link with -lc, and that would cause any symbols used from libc to
 
12792
        # always be unresolved, which means just about no library would
 
12793
        # ever link correctly.  If we're not using GNU ld we use -z text
 
12794
        # though, which does catch some bad symbols but isn't as heavy-handed
 
12795
        # as -z defs.
 
12796
        no_undefined_flag_CXX='${wl}-z,text'
 
12797
        allow_undefined_flag_CXX='${wl}-z,nodefs'
11473
12798
        archive_cmds_need_lc_CXX=no
11474
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11475
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11476
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11477
 
        ;;
11478
 
      pgCC*)
11479
 
        # Portland Group C++ compiler
11480
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11481
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11482
 
 
11483
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11484
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11485
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11486
 
        ;;
11487
 
      cxx*)
11488
 
        # Compaq C++
11489
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11490
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11491
 
 
11492
 
        runpath_var=LD_RUN_PATH
11493
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11494
 
        hardcode_libdir_separator_CXX=:
11495
 
 
11496
 
        # Commands to make compiler produce verbose output that lists
11497
 
        # what "hidden" libraries, object files and flags are used when
11498
 
        # linking a shared library.
11499
 
        #
11500
 
        # There doesn't appear to be a way to prevent this compiler from
11501
 
        # explicitly linking system object files so we need to strip them
11502
 
        # from the output so that they don't get included in the library
11503
 
        # dependencies.
11504
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11505
 
        ;;
11506
 
    esac
11507
 
    ;;
11508
 
  lynxos*)
11509
 
    # FIXME: insert proper C++ library support
11510
 
    ld_shlibs_CXX=no
11511
 
    ;;
11512
 
  m88k*)
11513
 
    # FIXME: insert proper C++ library support
11514
 
    ld_shlibs_CXX=no
11515
 
    ;;
11516
 
  mvs*)
11517
 
    case $cc_basename in
11518
 
      cxx*)
11519
 
        # FIXME: insert proper C++ library support
11520
 
        ld_shlibs_CXX=no
11521
 
        ;;
11522
 
      *)
11523
 
        # FIXME: insert proper C++ library support
11524
 
        ld_shlibs_CXX=no
11525
 
        ;;
11526
 
    esac
11527
 
    ;;
11528
 
  netbsd* | netbsdelf*-gnu)
11529
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11530
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11531
 
      wlarc=
11532
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11533
 
      hardcode_direct_CXX=yes
11534
 
      hardcode_shlibpath_var_CXX=no
11535
 
    fi
11536
 
    # Workaround some broken pre-1.5 toolchains
11537
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11538
 
    ;;
11539
 
  openbsd2*)
11540
 
    # C++ shared libraries are fairly broken
11541
 
    ld_shlibs_CXX=no
11542
 
    ;;
11543
 
  openbsd*)
11544
 
    hardcode_direct_CXX=yes
11545
 
    hardcode_shlibpath_var_CXX=no
11546
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11547
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11548
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11549
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11550
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11551
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11552
 
    fi
11553
 
    output_verbose_link_cmd='echo'
11554
 
    ;;
11555
 
  osf3*)
11556
 
    case $cc_basename in
11557
 
      KCC*)
11558
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11559
 
 
11560
 
        # KCC will only create a shared library if the output file
11561
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11562
 
        # to its proper name (with version) after linking.
11563
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11564
 
 
11565
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11566
 
        hardcode_libdir_separator_CXX=:
11567
 
 
11568
 
        # Archives containing C++ object files must be created using
11569
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11570
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11571
 
 
11572
 
        ;;
11573
 
      RCC*)
11574
 
        # Rational C++ 2.4.1
11575
 
        # FIXME: insert proper C++ library support
11576
 
        ld_shlibs_CXX=no
11577
 
        ;;
11578
 
      cxx*)
11579
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11580
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11581
 
 
11582
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11583
 
        hardcode_libdir_separator_CXX=:
11584
 
 
11585
 
        # Commands to make compiler produce verbose output that lists
11586
 
        # what "hidden" libraries, object files and flags are used when
11587
 
        # linking a shared library.
11588
 
        #
11589
 
        # There doesn't appear to be a way to prevent this compiler from
11590
 
        # explicitly linking system object files so we need to strip them
11591
 
        # from the output so that they don't get included in the library
11592
 
        # dependencies.
11593
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11594
 
        ;;
11595
 
      *)
11596
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11597
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11598
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11599
 
 
11600
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11601
 
          hardcode_libdir_separator_CXX=:
11602
 
 
11603
 
          # Commands to make compiler produce verbose output that lists
11604
 
          # what "hidden" libraries, object files and flags are used when
11605
 
          # linking a shared library.
11606
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11607
 
 
11608
 
        else
11609
 
          # FIXME: insert proper C++ library support
11610
 
          ld_shlibs_CXX=no
11611
 
        fi
11612
 
        ;;
11613
 
    esac
11614
 
    ;;
11615
 
  osf4* | osf5*)
11616
 
    case $cc_basename in
11617
 
      KCC*)
11618
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11619
 
 
11620
 
        # KCC will only create a shared library if the output file
11621
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11622
 
        # to its proper name (with version) after linking.
11623
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11624
 
 
11625
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11626
 
        hardcode_libdir_separator_CXX=:
11627
 
 
11628
 
        # Archives containing C++ object files must be created using
11629
 
        # the KAI C++ compiler.
11630
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11631
 
        ;;
11632
 
      RCC*)
11633
 
        # Rational C++ 2.4.1
11634
 
        # FIXME: insert proper C++ library support
11635
 
        ld_shlibs_CXX=no
11636
 
        ;;
11637
 
      cxx*)
11638
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11639
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11640
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11641
 
          echo "-hidden">> $lib.exp~
11642
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11643
 
          $rm $lib.exp'
11644
 
 
11645
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11646
 
        hardcode_libdir_separator_CXX=:
11647
 
 
11648
 
        # Commands to make compiler produce verbose output that lists
11649
 
        # what "hidden" libraries, object files and flags are used when
11650
 
        # linking a shared library.
11651
 
        #
11652
 
        # There doesn't appear to be a way to prevent this compiler from
11653
 
        # explicitly linking system object files so we need to strip them
11654
 
        # from the output so that they don't get included in the library
11655
 
        # dependencies.
11656
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11657
 
        ;;
11658
 
      *)
11659
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11660
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11661
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11662
 
 
11663
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11664
 
          hardcode_libdir_separator_CXX=:
11665
 
 
11666
 
          # Commands to make compiler produce verbose output that lists
11667
 
          # what "hidden" libraries, object files and flags are used when
11668
 
          # linking a shared library.
11669
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11670
 
 
11671
 
        else
11672
 
          # FIXME: insert proper C++ library support
11673
 
          ld_shlibs_CXX=no
11674
 
        fi
11675
 
        ;;
11676
 
    esac
11677
 
    ;;
11678
 
  psos*)
11679
 
    # FIXME: insert proper C++ library support
11680
 
    ld_shlibs_CXX=no
11681
 
    ;;
11682
 
  sunos4*)
11683
 
    case $cc_basename in
11684
 
      CC*)
11685
 
        # Sun C++ 4.x
11686
 
        # FIXME: insert proper C++ library support
11687
 
        ld_shlibs_CXX=no
11688
 
        ;;
11689
 
      lcc*)
11690
 
        # Lucid
11691
 
        # FIXME: insert proper C++ library support
11692
 
        ld_shlibs_CXX=no
11693
 
        ;;
11694
 
      *)
11695
 
        # FIXME: insert proper C++ library support
11696
 
        ld_shlibs_CXX=no
11697
 
        ;;
11698
 
    esac
11699
 
    ;;
11700
 
  solaris*)
11701
 
    case $cc_basename in
11702
 
      CC*)
11703
 
        # Sun C++ 4.2, 5.x and Centerline C++
11704
 
        archive_cmds_need_lc_CXX=yes
11705
 
        no_undefined_flag_CXX=' -zdefs'
11706
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11707
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11708
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11709
 
 
11710
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11711
12799
        hardcode_shlibpath_var_CXX=no
11712
 
        case $host_os in
11713
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12800
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
12801
        hardcode_libdir_separator_CXX=':'
 
12802
        link_all_deplibs_CXX=yes
 
12803
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12804
        runpath_var='LD_RUN_PATH'
 
12805
 
 
12806
        case $cc_basename in
 
12807
          CC*)
 
12808
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12809
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12810
            ;;
11714
12811
          *)
11715
 
            # The C++ compiler is used as linker so we must use $wl
11716
 
            # flag to pass the commands to the underlying system
11717
 
            # linker. We must also pass each convience library through
11718
 
            # to the system linker between allextract/defaultextract.
11719
 
            # The C++ compiler will combine linker options so we
11720
 
            # cannot just pass the convience library names through
11721
 
            # without $wl.
11722
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11723
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
12812
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12813
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11724
12814
            ;;
11725
12815
        esac
11726
 
        link_all_deplibs_CXX=yes
11727
 
 
11728
 
        output_verbose_link_cmd='echo'
11729
 
 
11730
 
        # Archives containing C++ object files must be created using
11731
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11732
 
        # necessary to make sure instantiated templates are included
11733
 
        # in the archive.
11734
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11735
 
        ;;
11736
 
      gcx*)
11737
 
        # Green Hills C++ Compiler
11738
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11739
 
 
11740
 
        # The C++ compiler must be used to create the archive.
11741
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11742
 
        ;;
11743
 
      *)
11744
 
        # GNU C++ compiler with Solaris linker
11745
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11746
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11747
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
11748
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11749
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11750
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11751
 
 
11752
 
            # Commands to make compiler produce verbose output that lists
11753
 
            # what "hidden" libraries, object files and flags are used when
11754
 
            # linking a shared library.
11755
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11756
 
          else
11757
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
11758
 
            # platform.
11759
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11760
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11761
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11762
 
 
11763
 
            # Commands to make compiler produce verbose output that lists
11764
 
            # what "hidden" libraries, object files and flags are used when
11765
 
            # linking a shared library.
11766
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11767
 
          fi
11768
 
 
11769
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11770
 
        fi
11771
 
        ;;
11772
 
    esac
11773
 
    ;;
11774
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11775
 
    no_undefined_flag_CXX='${wl}-z,text'
11776
 
    archive_cmds_need_lc_CXX=no
11777
 
    hardcode_shlibpath_var_CXX=no
11778
 
    runpath_var='LD_RUN_PATH'
11779
 
 
11780
 
    case $cc_basename in
11781
 
      CC*)
11782
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11783
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11784
 
        ;;
11785
 
      *)
11786
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11787
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11788
 
        ;;
11789
 
    esac
11790
 
    ;;
11791
 
  sysv5* | sco3.2v5* | sco5v6*)
11792
 
    # Note: We can NOT use -z defs as we might desire, because we do not
11793
 
    # link with -lc, and that would cause any symbols used from libc to
11794
 
    # always be unresolved, which means just about no library would
11795
 
    # ever link correctly.  If we're not using GNU ld we use -z text
11796
 
    # though, which does catch some bad symbols but isn't as heavy-handed
11797
 
    # as -z defs.
11798
 
    # For security reasons, it is highly recommended that you always
11799
 
    # use absolute paths for naming shared libraries, and exclude the
11800
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
11801
 
    # requires that you compile everything twice, which is a pain.
11802
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
11803
 
    # non-empty value in the environment.  Most likely only useful for
11804
 
    # creating official distributions of packages.
11805
 
    # This is a hack until libtool officially supports absolute path
11806
 
    # names for shared libraries.
11807
 
    no_undefined_flag_CXX='${wl}-z,text'
11808
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
11809
 
    archive_cmds_need_lc_CXX=no
11810
 
    hardcode_shlibpath_var_CXX=no
11811
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11812
 
    hardcode_libdir_separator_CXX=':'
11813
 
    link_all_deplibs_CXX=yes
11814
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
11815
 
    runpath_var='LD_RUN_PATH'
11816
 
 
11817
 
    case $cc_basename in
11818
 
      CC*)
11819
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11820
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11821
 
        ;;
11822
 
      *)
11823
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11824
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11825
 
        ;;
11826
 
    esac
11827
 
    ;;
11828
 
  tandem*)
11829
 
    case $cc_basename in
11830
 
      NCC*)
11831
 
        # NonStop-UX NCC 3.20
11832
 
        # FIXME: insert proper C++ library support
11833
 
        ld_shlibs_CXX=no
11834
 
        ;;
11835
 
      *)
11836
 
        # FIXME: insert proper C++ library support
11837
 
        ld_shlibs_CXX=no
11838
 
        ;;
11839
 
    esac
11840
 
    ;;
11841
 
  vxworks*)
11842
 
    # FIXME: insert proper C++ library support
11843
 
    ld_shlibs_CXX=no
11844
 
    ;;
11845
 
  *)
11846
 
    # FIXME: insert proper C++ library support
11847
 
    ld_shlibs_CXX=no
11848
 
    ;;
11849
 
esac
11850
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11851
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11852
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
11853
 
 
11854
 
GCC_CXX="$GXX"
11855
 
LD_CXX="$LD"
11856
 
 
11857
 
 
11858
 
cat > conftest.$ac_ext <<EOF
 
12816
      ;;
 
12817
 
 
12818
      tandem*)
 
12819
        case $cc_basename in
 
12820
          NCC*)
 
12821
            # NonStop-UX NCC 3.20
 
12822
            # FIXME: insert proper C++ library support
 
12823
            ld_shlibs_CXX=no
 
12824
            ;;
 
12825
          *)
 
12826
            # FIXME: insert proper C++ library support
 
12827
            ld_shlibs_CXX=no
 
12828
            ;;
 
12829
        esac
 
12830
        ;;
 
12831
 
 
12832
      vxworks*)
 
12833
        # FIXME: insert proper C++ library support
 
12834
        ld_shlibs_CXX=no
 
12835
        ;;
 
12836
 
 
12837
      *)
 
12838
        # FIXME: insert proper C++ library support
 
12839
        ld_shlibs_CXX=no
 
12840
        ;;
 
12841
    esac
 
12842
 
 
12843
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
12844
$as_echo "$ld_shlibs_CXX" >&6; }
 
12845
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
12846
 
 
12847
    GCC_CXX="$GXX"
 
12848
    LD_CXX="$LD"
 
12849
 
 
12850
    ## CAVEAT EMPTOR:
 
12851
    ## There is no encapsulation within the following macros, do not change
 
12852
    ## the running order or otherwise move them around unless you know exactly
 
12853
    ## what you are doing...
 
12854
    # Dependencies to place before and after the object being linked:
 
12855
predep_objects_CXX=
 
12856
postdep_objects_CXX=
 
12857
predeps_CXX=
 
12858
postdeps_CXX=
 
12859
compiler_lib_search_path_CXX=
 
12860
 
 
12861
cat > conftest.$ac_ext <<_LT_EOF
11859
12862
class Foo
11860
12863
{
11861
12864
public:
11863
12866
private:
11864
12867
  int a;
11865
12868
};
11866
 
EOF
 
12869
_LT_EOF
11867
12870
 
11868
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12871
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11869
12872
  (eval $ac_compile) 2>&5
11870
12873
  ac_status=$?
11871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872
 
  (exit $ac_status); }; then
 
12874
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12875
  test $ac_status = 0; }; then
11873
12876
  # Parse the compiler output and extract the necessary
11874
12877
  # objects, libraries and library flags.
11875
12878
 
11877
12880
  # the conftest object file.
11878
12881
  pre_test_object_deps_done=no
11879
12882
 
11880
 
  # The `*' in the case matches for architectures that use `case' in
11881
 
  # $output_verbose_cmd can trigger glob expansion during the loop
11882
 
  # eval without this substitution.
11883
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11884
 
 
11885
 
  for p in `eval $output_verbose_link_cmd`; do
 
12883
  for p in `eval "$output_verbose_link_cmd"`; do
11886
12884
    case $p in
11887
12885
 
11888
12886
    -L* | -R* | -l*)
11889
12887
       # Some compilers place space between "-{L,R}" and the path.
11890
12888
       # Remove the space.
11891
 
       if test $p = "-L" \
11892
 
          || test $p = "-R"; then
 
12889
       if test $p = "-L" ||
 
12890
          test $p = "-R"; then
11893
12891
         prev=$p
11894
12892
         continue
11895
12893
       else
11954
12952
  echo "libtool.m4: error: problem compiling CXX test program"
11955
12953
fi
11956
12954
 
11957
 
$rm -f confest.$objext
 
12955
$RM -f confest.$objext
11958
12956
 
11959
12957
# PORTME: override above test on systems where it is broken
11960
12958
case $host_os in
11961
 
interix3*)
 
12959
interix[3-9]*)
11962
12960
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11963
12961
  # hack all around it, let's just trust "g++" to DTRT.
11964
12962
  predep_objects_CXX=
11966
12964
  postdeps_CXX=
11967
12965
  ;;
11968
12966
 
 
12967
linux*)
 
12968
  case `$CC -V 2>&1 | sed 5q` in
 
12969
  *Sun\ C*)
 
12970
    # Sun C++ 5.9
 
12971
 
 
12972
    # The more standards-conforming stlport4 library is
 
12973
    # incompatible with the Cstd library. Avoid specifying
 
12974
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12975
    # -library=stlport4 depends on it.
 
12976
    case " $CXX $CXXFLAGS " in
 
12977
    *" -library=stlport4 "*)
 
12978
      solaris_use_stlport4=yes
 
12979
      ;;
 
12980
    esac
 
12981
 
 
12982
    if test "$solaris_use_stlport4" != yes; then
 
12983
      postdeps_CXX='-library=Cstd -library=Crun'
 
12984
    fi
 
12985
    ;;
 
12986
  esac
 
12987
  ;;
 
12988
 
11969
12989
solaris*)
11970
12990
  case $cc_basename in
11971
12991
  CC*)
 
12992
    # The more standards-conforming stlport4 library is
 
12993
    # incompatible with the Cstd library. Avoid specifying
 
12994
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12995
    # -library=stlport4 depends on it.
 
12996
    case " $CXX $CXXFLAGS " in
 
12997
    *" -library=stlport4 "*)
 
12998
      solaris_use_stlport4=yes
 
12999
      ;;
 
13000
    esac
 
13001
 
11972
13002
    # Adding this requires a known-good setup of shared libraries for
11973
13003
    # Sun compiler versions before 5.6, else PIC objects from an old
11974
13004
    # archive will be linked into the output, leading to subtle bugs.
11975
 
    postdeps_CXX='-lCstd -lCrun'
 
13005
    if test "$solaris_use_stlport4" != yes; then
 
13006
      postdeps_CXX='-library=Cstd -library=Crun'
 
13007
    fi
11976
13008
    ;;
11977
13009
  esac
11978
13010
  ;;
11982
13014
case " $postdeps_CXX " in
11983
13015
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11984
13016
esac
11985
 
 
11986
 
lt_prog_compiler_wl_CXX=
 
13017
 compiler_lib_search_dirs_CXX=
 
13018
if test -n "${compiler_lib_search_path_CXX}"; then
 
13019
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13020
fi
 
13021
 
 
13022
 
 
13023
 
 
13024
 
 
13025
 
 
13026
 
 
13027
 
 
13028
 
 
13029
 
 
13030
 
 
13031
 
 
13032
 
 
13033
 
 
13034
 
 
13035
 
 
13036
 
 
13037
 
 
13038
 
 
13039
 
 
13040
 
 
13041
 
 
13042
 
 
13043
 
 
13044
 
 
13045
 
 
13046
 
 
13047
 
 
13048
 
 
13049
 
 
13050
 
 
13051
 
 
13052
    lt_prog_compiler_wl_CXX=
11987
13053
lt_prog_compiler_pic_CXX=
11988
13054
lt_prog_compiler_static_CXX=
11989
13055
 
11990
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11991
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
13056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13057
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11992
13058
 
11993
13059
  # C++ specific cases for pic, static, wl, etc.
11994
13060
  if test "$GXX" = yes; then
12003
13069
        lt_prog_compiler_static_CXX='-Bstatic'
12004
13070
      fi
12005
13071
      ;;
 
13072
 
12006
13073
    amigaos*)
12007
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12008
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12009
 
      # like `-m68040'.
12010
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13074
      case $host_cpu in
 
13075
      powerpc)
 
13076
            # see comment about AmigaOS4 .so support
 
13077
            lt_prog_compiler_pic_CXX='-fPIC'
 
13078
        ;;
 
13079
      m68k)
 
13080
            # FIXME: we need at least 68020 code to build shared libraries, but
 
13081
            # adding the `-m68020' flag to GCC prevents building anything better,
 
13082
            # like `-m68040'.
 
13083
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13084
        ;;
 
13085
      esac
12011
13086
      ;;
12012
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13087
 
 
13088
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12013
13089
      # PIC is the default for these OSes.
12014
13090
      ;;
12015
 
    mingw* | os2* | pw32*)
 
13091
    mingw* | cygwin* | os2* | pw32* | cegcc*)
12016
13092
      # This hack is so that the source file can tell whether it is being
12017
13093
      # built for inclusion in a dll (and should export symbols for example).
 
13094
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13095
      # (--disable-auto-import) libraries
12018
13096
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12019
13097
      ;;
12020
13098
    darwin* | rhapsody*)
12026
13104
      # DJGPP does not support shared libraries at all
12027
13105
      lt_prog_compiler_pic_CXX=
12028
13106
      ;;
12029
 
    interix3*)
 
13107
    interix[3-9]*)
12030
13108
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12031
13109
      # Instead, we relocate shared libraries at runtime.
12032
13110
      ;;
12036
13114
      fi
12037
13115
      ;;
12038
13116
    hpux*)
12039
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12040
 
      # not for PA HP-UX.
 
13117
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
13118
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
13119
      # sets the default TLS model and affects inlining.
12041
13120
      case $host_cpu in
12042
 
      hppa*64*|ia64*)
 
13121
      hppa*64*)
12043
13122
        ;;
12044
13123
      *)
12045
13124
        lt_prog_compiler_pic_CXX='-fPIC'
12046
13125
        ;;
12047
13126
      esac
12048
13127
      ;;
 
13128
    *qnx* | *nto*)
 
13129
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13130
      # it will coredump.
 
13131
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13132
      ;;
12049
13133
    *)
12050
13134
      lt_prog_compiler_pic_CXX='-fPIC'
12051
13135
      ;;
12052
13136
    esac
12053
13137
  else
12054
13138
    case $host_os in
12055
 
      aix4* | aix5*)
 
13139
      aix[4-9]*)
12056
13140
        # All AIX code is PIC.
12057
13141
        if test "$host_cpu" = ia64; then
12058
13142
          # AIX 5 now supports IA64 processor
12065
13149
        case $cc_basename in
12066
13150
        cxch68*)
12067
13151
          # Green Hills C++ Compiler
12068
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
13152
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12069
13153
          ;;
12070
13154
        esac
12071
13155
        ;;
12072
 
       darwin*)
12073
 
         # PIC is the default on this platform
12074
 
         # Common symbols not allowed in MH_DYLIB files
12075
 
         case $cc_basename in
12076
 
           xlc*)
12077
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12078
 
           lt_prog_compiler_wl_CXX='-Wl,'
12079
 
           ;;
12080
 
         esac
12081
 
       ;;
12082
13156
      dgux*)
12083
13157
        case $cc_basename in
12084
13158
          ec++*)
12142
13216
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12143
13217
            lt_prog_compiler_pic_CXX='-fPIC'
12144
13218
            ;;
12145
 
          icpc* | ecpc*)
12146
 
            # Intel C++
 
13219
          ecpc* )
 
13220
            # old Intel C++ for x86_64 which still supported -KPIC.
12147
13221
            lt_prog_compiler_wl_CXX='-Wl,'
12148
13222
            lt_prog_compiler_pic_CXX='-KPIC'
12149
13223
            lt_prog_compiler_static_CXX='-static'
12150
13224
            ;;
12151
 
          pgCC*)
12152
 
            # Portland Group C++ compiler.
 
13225
          icpc* )
 
13226
            # Intel C++, used to be incompatible with GCC.
 
13227
            # ICC 10 doesn't accept -KPIC any more.
 
13228
            lt_prog_compiler_wl_CXX='-Wl,'
 
13229
            lt_prog_compiler_pic_CXX='-fPIC'
 
13230
            lt_prog_compiler_static_CXX='-static'
 
13231
            ;;
 
13232
          pgCC* | pgcpp*)
 
13233
            # Portland Group C++ compiler
12153
13234
            lt_prog_compiler_wl_CXX='-Wl,'
12154
13235
            lt_prog_compiler_pic_CXX='-fpic'
12155
13236
            lt_prog_compiler_static_CXX='-Bstatic'
12161
13242
            lt_prog_compiler_pic_CXX=
12162
13243
            lt_prog_compiler_static_CXX='-non_shared'
12163
13244
            ;;
 
13245
          xlc* | xlC*)
 
13246
            # IBM XL 8.0 on PPC
 
13247
            lt_prog_compiler_wl_CXX='-Wl,'
 
13248
            lt_prog_compiler_pic_CXX='-qpic'
 
13249
            lt_prog_compiler_static_CXX='-qstaticlink'
 
13250
            ;;
12164
13251
          *)
 
13252
            case `$CC -V 2>&1 | sed 5q` in
 
13253
            *Sun\ C*)
 
13254
              # Sun C++ 5.9
 
13255
              lt_prog_compiler_pic_CXX='-KPIC'
 
13256
              lt_prog_compiler_static_CXX='-Bstatic'
 
13257
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13258
              ;;
 
13259
            esac
12165
13260
            ;;
12166
13261
        esac
12167
13262
        ;;
12180
13275
        ;;
12181
13276
      netbsd* | netbsdelf*-gnu)
12182
13277
        ;;
 
13278
      *qnx* | *nto*)
 
13279
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13280
        # it will coredump.
 
13281
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13282
        ;;
12183
13283
      osf3* | osf4* | osf5*)
12184
13284
        case $cc_basename in
12185
13285
          KCC*)
12234
13334
            ;;
12235
13335
        esac
12236
13336
        ;;
 
13337
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13338
        case $cc_basename in
 
13339
          CC*)
 
13340
            lt_prog_compiler_wl_CXX='-Wl,'
 
13341
            lt_prog_compiler_pic_CXX='-KPIC'
 
13342
            lt_prog_compiler_static_CXX='-Bstatic'
 
13343
            ;;
 
13344
        esac
 
13345
        ;;
12237
13346
      tandem*)
12238
13347
        case $cc_basename in
12239
13348
          NCC*)
12244
13353
            ;;
12245
13354
        esac
12246
13355
        ;;
12247
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12248
 
        case $cc_basename in
12249
 
          CC*)
12250
 
            lt_prog_compiler_wl_CXX='-Wl,'
12251
 
            lt_prog_compiler_pic_CXX='-KPIC'
12252
 
            lt_prog_compiler_static_CXX='-Bstatic'
12253
 
            ;;
12254
 
        esac
12255
 
        ;;
12256
13356
      vxworks*)
12257
13357
        ;;
12258
13358
      *)
12261
13361
    esac
12262
13362
  fi
12263
13363
 
12264
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12265
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
13364
case $host_os in
 
13365
  # For platforms which do not support PIC, -DPIC is meaningless:
 
13366
  *djgpp*)
 
13367
    lt_prog_compiler_pic_CXX=
 
13368
    ;;
 
13369
  *)
 
13370
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
13371
    ;;
 
13372
esac
 
13373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
13374
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
13375
 
 
13376
 
12266
13377
 
12267
13378
#
12268
13379
# Check to make sure the PIC flag actually works.
12269
13380
#
12270
13381
if test -n "$lt_prog_compiler_pic_CXX"; then
12271
 
 
12272
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12273
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12274
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12275
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13382
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13383
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13384
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13385
  $as_echo_n "(cached) " >&6
12276
13386
else
12277
 
  lt_prog_compiler_pic_works_CXX=no
12278
 
  ac_outfile=conftest.$ac_objext
12279
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13387
  lt_cv_prog_compiler_pic_works_CXX=no
 
13388
   ac_outfile=conftest.$ac_objext
 
13389
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12280
13390
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12281
13391
   # Insert the option either (1) after the last *FLAGS variable, or
12282
13392
   # (2) before a word containing "conftest.", or (3) at the end.
12287
13397
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12288
13398
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12289
13399
   -e 's:$: $lt_compiler_flag:'`
12290
 
   (eval echo "\"\$as_me:12290: $lt_compile\"" >&5)
 
13400
   (eval echo "\"\$as_me:13400: $lt_compile\"" >&5)
12291
13401
   (eval "$lt_compile" 2>conftest.err)
12292
13402
   ac_status=$?
12293
13403
   cat conftest.err >&5
12294
 
   echo "$as_me:12294: \$? = $ac_status" >&5
 
13404
   echo "$as_me:13404: \$? = $ac_status" >&5
12295
13405
   if (exit $ac_status) && test -s "$ac_outfile"; then
12296
13406
     # The compiler can only warn and ignore the option if not recognized
12297
13407
     # So say no if there are warnings other than the usual output.
12298
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13408
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12299
13409
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12300
13410
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12301
 
       lt_prog_compiler_pic_works_CXX=yes
 
13411
       lt_cv_prog_compiler_pic_works_CXX=yes
12302
13412
     fi
12303
13413
   fi
12304
 
   $rm conftest*
 
13414
   $RM conftest*
12305
13415
 
12306
13416
fi
12307
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12308
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
13417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13418
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12309
13419
 
12310
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
13420
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12311
13421
    case $lt_prog_compiler_pic_CXX in
12312
13422
     "" | " "*) ;;
12313
13423
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12318
13428
fi
12319
13429
 
12320
13430
fi
12321
 
case $host_os in
12322
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12323
 
  *djgpp*)
12324
 
    lt_prog_compiler_pic_CXX=
12325
 
    ;;
12326
 
  *)
12327
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12328
 
    ;;
12329
 
esac
 
13431
 
 
13432
 
12330
13433
 
12331
13434
#
12332
13435
# Check to make sure the static flag actually works.
12333
13436
#
12334
13437
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12335
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12336
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12337
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12338
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13439
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13440
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13441
  $as_echo_n "(cached) " >&6
12339
13442
else
12340
 
  lt_prog_compiler_static_works_CXX=no
 
13443
  lt_cv_prog_compiler_static_works_CXX=no
12341
13444
   save_LDFLAGS="$LDFLAGS"
12342
13445
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12343
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13446
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12344
13447
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12345
13448
     # The linker can only warn and ignore the option if not recognized
12346
13449
     # So say no if there are warnings
12347
13450
     if test -s conftest.err; then
12348
13451
       # Append any errors to the config.log.
12349
13452
       cat conftest.err 1>&5
12350
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13453
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12351
13454
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12352
13455
       if diff conftest.exp conftest.er2 >/dev/null; then
12353
 
         lt_prog_compiler_static_works_CXX=yes
 
13456
         lt_cv_prog_compiler_static_works_CXX=yes
12354
13457
       fi
12355
13458
     else
12356
 
       lt_prog_compiler_static_works_CXX=yes
 
13459
       lt_cv_prog_compiler_static_works_CXX=yes
12357
13460
     fi
12358
13461
   fi
12359
 
   $rm conftest*
 
13462
   $RM -r conftest*
12360
13463
   LDFLAGS="$save_LDFLAGS"
12361
13464
 
12362
13465
fi
12363
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12364
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
13466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13467
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12365
13468
 
12366
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13469
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12367
13470
    :
12368
13471
else
12369
13472
    lt_prog_compiler_static_CXX=
12370
13473
fi
12371
13474
 
12372
13475
 
12373
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12374
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12375
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12377
 
else
12378
 
  lt_cv_prog_compiler_c_o_CXX=no
12379
 
   $rm -r conftest 2>/dev/null
12380
 
   mkdir conftest
12381
 
   cd conftest
12382
 
   mkdir out
12383
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12384
 
 
12385
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12386
 
   # Insert the option either (1) after the last *FLAGS variable, or
12387
 
   # (2) before a word containing "conftest.", or (3) at the end.
12388
 
   # Note that $ac_compile itself does not contain backslashes and begins
12389
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12390
 
   lt_compile=`echo "$ac_compile" | $SED \
12391
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12392
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12393
 
   -e 's:$: $lt_compiler_flag:'`
12394
 
   (eval echo "\"\$as_me:12394: $lt_compile\"" >&5)
12395
 
   (eval "$lt_compile" 2>out/conftest.err)
12396
 
   ac_status=$?
12397
 
   cat out/conftest.err >&5
12398
 
   echo "$as_me:12398: \$? = $ac_status" >&5
12399
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12400
 
   then
12401
 
     # The compiler can only warn and ignore the option if not recognized
12402
 
     # So say no if there are warnings
12403
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12404
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12405
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12406
 
       lt_cv_prog_compiler_c_o_CXX=yes
12407
 
     fi
12408
 
   fi
12409
 
   chmod u+w . 2>&5
12410
 
   $rm conftest*
12411
 
   # SGI C++ compiler will create directory out/ii_files/ for
12412
 
   # template instantiation
12413
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12414
 
   $rm out/* && rmdir out
12415
 
   cd ..
12416
 
   rmdir conftest
12417
 
   $rm conftest*
12418
 
 
12419
 
fi
12420
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12421
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13476
 
 
13477
 
 
13478
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13479
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13480
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13481
  $as_echo_n "(cached) " >&6
 
13482
else
 
13483
  lt_cv_prog_compiler_c_o_CXX=no
 
13484
   $RM -r conftest 2>/dev/null
 
13485
   mkdir conftest
 
13486
   cd conftest
 
13487
   mkdir out
 
13488
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13489
 
 
13490
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13491
   # Insert the option either (1) after the last *FLAGS variable, or
 
13492
   # (2) before a word containing "conftest.", or (3) at the end.
 
13493
   # Note that $ac_compile itself does not contain backslashes and begins
 
13494
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13495
   lt_compile=`echo "$ac_compile" | $SED \
 
13496
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13497
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13498
   -e 's:$: $lt_compiler_flag:'`
 
13499
   (eval echo "\"\$as_me:13499: $lt_compile\"" >&5)
 
13500
   (eval "$lt_compile" 2>out/conftest.err)
 
13501
   ac_status=$?
 
13502
   cat out/conftest.err >&5
 
13503
   echo "$as_me:13503: \$? = $ac_status" >&5
 
13504
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13505
   then
 
13506
     # The compiler can only warn and ignore the option if not recognized
 
13507
     # So say no if there are warnings
 
13508
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13509
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13510
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13511
       lt_cv_prog_compiler_c_o_CXX=yes
 
13512
     fi
 
13513
   fi
 
13514
   chmod u+w . 2>&5
 
13515
   $RM conftest*
 
13516
   # SGI C++ compiler will create directory out/ii_files/ for
 
13517
   # template instantiation
 
13518
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
13519
   $RM out/* && rmdir out
 
13520
   cd ..
 
13521
   $RM -r conftest
 
13522
   $RM conftest*
 
13523
 
 
13524
fi
 
13525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13526
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13527
 
 
13528
 
 
13529
 
 
13530
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13531
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13532
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13533
  $as_echo_n "(cached) " >&6
 
13534
else
 
13535
  lt_cv_prog_compiler_c_o_CXX=no
 
13536
   $RM -r conftest 2>/dev/null
 
13537
   mkdir conftest
 
13538
   cd conftest
 
13539
   mkdir out
 
13540
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13541
 
 
13542
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13543
   # Insert the option either (1) after the last *FLAGS variable, or
 
13544
   # (2) before a word containing "conftest.", or (3) at the end.
 
13545
   # Note that $ac_compile itself does not contain backslashes and begins
 
13546
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13547
   lt_compile=`echo "$ac_compile" | $SED \
 
13548
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13549
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13550
   -e 's:$: $lt_compiler_flag:'`
 
13551
   (eval echo "\"\$as_me:13551: $lt_compile\"" >&5)
 
13552
   (eval "$lt_compile" 2>out/conftest.err)
 
13553
   ac_status=$?
 
13554
   cat out/conftest.err >&5
 
13555
   echo "$as_me:13555: \$? = $ac_status" >&5
 
13556
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13557
   then
 
13558
     # The compiler can only warn and ignore the option if not recognized
 
13559
     # So say no if there are warnings
 
13560
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13561
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13562
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13563
       lt_cv_prog_compiler_c_o_CXX=yes
 
13564
     fi
 
13565
   fi
 
13566
   chmod u+w . 2>&5
 
13567
   $RM conftest*
 
13568
   # SGI C++ compiler will create directory out/ii_files/ for
 
13569
   # template instantiation
 
13570
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
13571
   $RM out/* && rmdir out
 
13572
   cd ..
 
13573
   $RM -r conftest
 
13574
   $RM conftest*
 
13575
 
 
13576
fi
 
13577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13578
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13579
 
 
13580
 
12422
13581
 
12423
13582
 
12424
13583
hard_links="nottested"
12425
13584
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12426
13585
  # do not overwrite the value of need_locks provided by the user
12427
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12428
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
13586
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
13587
$as_echo_n "checking if we can lock with hard links... " >&6; }
12429
13588
  hard_links=yes
12430
 
  $rm conftest*
 
13589
  $RM conftest*
12431
13590
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12432
13591
  touch conftest.a
12433
13592
  ln conftest.a conftest.b 2>&5 || hard_links=no
12434
13593
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12435
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12436
 
echo "${ECHO_T}$hard_links" >&6; }
 
13594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
13595
$as_echo "$hard_links" >&6; }
12437
13596
  if test "$hard_links" = no; then
12438
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12439
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
13597
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
13598
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12440
13599
    need_locks=warn
12441
13600
  fi
12442
13601
else
12443
13602
  need_locks=no
12444
13603
fi
12445
13604
 
12446
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12447
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
13605
 
 
13606
 
 
13607
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13608
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12448
13609
 
12449
13610
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12450
13611
  case $host_os in
12451
 
  aix4* | aix5*)
 
13612
  aix[4-9]*)
12452
13613
    # If we're using GNU nm, then we don't want the "-C" option.
12453
13614
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12454
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12455
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
13615
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
13616
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12456
13617
    else
12457
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
13618
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12458
13619
    fi
12459
13620
    ;;
12460
13621
  pw32*)
12461
13622
    export_symbols_cmds_CXX="$ltdll_cmds"
12462
13623
  ;;
12463
 
  cygwin* | mingw*)
12464
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13624
  cygwin* | mingw* | cegcc*)
 
13625
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12465
13626
  ;;
12466
13627
  linux* | k*bsd*-gnu)
12467
13628
    link_all_deplibs_CXX=no
12470
13631
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12471
13632
  ;;
12472
13633
  esac
 
13634
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12473
13635
 
12474
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12475
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
13636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13637
$as_echo "$ld_shlibs_CXX" >&6; }
12476
13638
test "$ld_shlibs_CXX" = no && can_build_shared=no
12477
13639
 
 
13640
with_gnu_ld_CXX=$with_gnu_ld
 
13641
 
 
13642
 
 
13643
 
 
13644
 
 
13645
 
 
13646
 
12478
13647
#
12479
13648
# Do we need to explicitly link libc?
12480
13649
#
12492
13661
      # Test whether the compiler implicitly links with -lc since on some
12493
13662
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12494
13663
      # to ld, don't add -lc before -lgcc.
12495
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12496
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12497
 
      $rm conftest*
12498
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13664
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
13665
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
13666
      $RM conftest*
 
13667
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12499
13668
 
12500
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13669
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12501
13670
  (eval $ac_compile) 2>&5
12502
13671
  ac_status=$?
12503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504
 
  (exit $ac_status); } 2>conftest.err; then
 
13672
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13673
  test $ac_status = 0; } 2>conftest.err; then
12505
13674
        soname=conftest
12506
13675
        lib=conftest
12507
13676
        libobjs=conftest.$ac_objext
12515
13684
        libname=conftest
12516
13685
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12517
13686
        allow_undefined_flag_CXX=
12518
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12519
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
13687
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
13688
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12520
13689
  ac_status=$?
12521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522
 
  (exit $ac_status); }
 
13690
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13691
  test $ac_status = 0; }
12523
13692
        then
12524
13693
          archive_cmds_need_lc_CXX=no
12525
13694
        else
12529
13698
      else
12530
13699
        cat conftest.err 1>&5
12531
13700
      fi
12532
 
      $rm conftest*
12533
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12534
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
13701
      $RM conftest*
 
13702
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
13703
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
12535
13704
      ;;
12536
13705
    esac
12537
13706
  fi
12538
13707
  ;;
12539
13708
esac
12540
13709
 
12541
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12542
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
13710
 
 
13711
 
 
13712
 
 
13713
 
 
13714
 
 
13715
 
 
13716
 
 
13717
 
 
13718
 
 
13719
 
 
13720
 
 
13721
 
 
13722
 
 
13723
 
 
13724
 
 
13725
 
 
13726
 
 
13727
 
 
13728
 
 
13729
 
 
13730
 
 
13731
 
 
13732
 
 
13733
 
 
13734
 
 
13735
 
 
13736
 
 
13737
 
 
13738
 
 
13739
 
 
13740
 
 
13741
 
 
13742
 
 
13743
 
 
13744
 
 
13745
 
 
13746
 
 
13747
 
 
13748
 
 
13749
 
 
13750
 
 
13751
 
 
13752
 
 
13753
 
 
13754
 
 
13755
 
 
13756
 
 
13757
 
 
13758
 
 
13759
 
 
13760
 
 
13761
 
 
13762
 
 
13763
 
 
13764
 
 
13765
 
 
13766
 
 
13767
 
 
13768
 
 
13769
 
 
13770
 
 
13771
 
 
13772
 
 
13773
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
13774
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
13775
 
12543
13776
library_names_spec=
12544
13777
libname_spec='lib$name'
12545
13778
soname_spec=
12553
13786
version_type=none
12554
13787
dynamic_linker="$host_os ld.so"
12555
13788
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12556
 
if test "$GCC" = yes; then
12557
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12558
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12559
 
    # if the path contains ";" then we assume it to be the separator
12560
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12561
 
    # assumed that no part of a normal pathname contains ";" but that should
12562
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12563
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12564
 
  else
12565
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12566
 
  fi
12567
 
else
12568
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12569
 
fi
12570
13789
need_lib_prefix=unknown
12571
13790
hardcode_into_libs=no
12572
13791
 
12584
13803
  soname_spec='${libname}${release}${shared_ext}$major'
12585
13804
  ;;
12586
13805
 
12587
 
aix4* | aix5*)
 
13806
aix[4-9]*)
12588
13807
  version_type=linux
12589
13808
  need_lib_prefix=no
12590
13809
  need_version=no
12603
13822
      aix4 | aix4.[01] | aix4.[01].*)
12604
13823
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12605
13824
           echo ' yes '
12606
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
13825
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12607
13826
        :
12608
13827
      else
12609
13828
        can_build_shared=no
12629
13848
  ;;
12630
13849
 
12631
13850
amigaos*)
12632
 
  library_names_spec='$libname.ixlibrary $libname.a'
12633
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12634
 
  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'
 
13851
  case $host_cpu in
 
13852
  powerpc)
 
13853
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
13854
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
13855
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13856
    ;;
 
13857
  m68k)
 
13858
    library_names_spec='$libname.ixlibrary $libname.a'
 
13859
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
13860
    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'
 
13861
    ;;
 
13862
  esac
12635
13863
  ;;
12636
13864
 
12637
13865
beos*)
12654
13882
  # libtool to hard-code these into programs
12655
13883
  ;;
12656
13884
 
12657
 
cygwin* | mingw* | pw32*)
 
13885
cygwin* | mingw* | pw32* | cegcc*)
12658
13886
  version_type=windows
12659
13887
  shrext_cmds=".dll"
12660
13888
  need_version=no
12661
13889
  need_lib_prefix=no
12662
13890
 
12663
13891
  case $GCC,$host_os in
12664
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
13892
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12665
13893
    library_names_spec='$libname.dll.a'
12666
13894
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12667
13895
    postinstall_cmds='base_file=`basename \${file}`~
12668
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
13896
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12669
13897
      dldir=$destdir/`dirname \$dlpath`~
12670
13898
      test -d \$dldir || mkdir -p \$dldir~
12671
13899
      $install_prog $dir/$dlname \$dldir/$dlname~
12672
 
      chmod a+x \$dldir/$dlname'
 
13900
      chmod a+x \$dldir/$dlname~
 
13901
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
13902
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
13903
      fi'
12673
13904
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12674
13905
      dlpath=$dir/\$dldll~
12675
 
       $rm \$dlpath'
 
13906
       $RM \$dlpath'
12676
13907
    shlibpath_overrides_runpath=yes
12677
13908
 
12678
13909
    case $host_os in
12681
13912
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12682
13913
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12683
13914
      ;;
12684
 
    mingw*)
 
13915
    mingw* | cegcc*)
12685
13916
      # MinGW DLLs use traditional 'lib' prefix
12686
13917
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12687
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12688
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
13918
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
13919
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12689
13920
        # It is most probably a Windows format PATH printed by
12690
13921
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12691
13922
        # path with ; separators, and with drive letters. We can handle the
12692
13923
        # drive letters (cygwin fileutils understands them), so leave them,
12693
13924
        # especially as we might pass files found there to a mingw objdump,
12694
13925
        # which wouldn't understand a cygwinified path. Ahh.
12695
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13926
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12696
13927
      else
12697
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13928
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12698
13929
      fi
12699
13930
      ;;
12700
13931
    pw32*)
12718
13949
  version_type=darwin
12719
13950
  need_lib_prefix=no
12720
13951
  need_version=no
12721
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
13952
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12722
13953
  soname_spec='${libname}${release}${major}$shared_ext'
12723
13954
  shlibpath_overrides_runpath=yes
12724
13955
  shlibpath_var=DYLD_LIBRARY_PATH
12725
13956
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12726
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12727
 
  if test "$GCC" = yes; then
12728
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12729
 
  else
12730
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12731
 
  fi
 
13957
 
12732
13958
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12733
13959
  ;;
12734
13960
 
12782
14008
    shlibpath_overrides_runpath=no
12783
14009
    hardcode_into_libs=yes
12784
14010
    ;;
12785
 
  freebsd*) # from 4.6 on
 
14011
  *) # from 4.6 on, and DragonFly
12786
14012
    shlibpath_overrides_runpath=yes
12787
14013
    hardcode_into_libs=yes
12788
14014
    ;;
12821
14047
    fi
12822
14048
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12823
14049
    ;;
12824
 
   hppa*64*)
12825
 
     shrext_cmds='.sl'
12826
 
     hardcode_into_libs=yes
12827
 
     dynamic_linker="$host_os dld.sl"
12828
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12829
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12830
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12831
 
     soname_spec='${libname}${release}${shared_ext}$major'
12832
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12833
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12834
 
     ;;
12835
 
   *)
 
14050
  hppa*64*)
 
14051
    shrext_cmds='.sl'
 
14052
    hardcode_into_libs=yes
 
14053
    dynamic_linker="$host_os dld.sl"
 
14054
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
14055
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14056
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14057
    soname_spec='${libname}${release}${shared_ext}$major'
 
14058
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
14059
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14060
    ;;
 
14061
  *)
12836
14062
    shrext_cmds='.sl'
12837
14063
    dynamic_linker="$host_os dld.sl"
12838
14064
    shlibpath_var=SHLIB_PATH
12845
14071
  postinstall_cmds='chmod 555 $lib'
12846
14072
  ;;
12847
14073
 
12848
 
interix3*)
 
14074
interix[3-9]*)
12849
14075
  version_type=linux
12850
14076
  need_lib_prefix=no
12851
14077
  need_version=no
12909
14135
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12910
14136
  shlibpath_var=LD_LIBRARY_PATH
12911
14137
  shlibpath_overrides_runpath=no
 
14138
  # Some binutils ld are patched to set DT_RUNPATH
 
14139
  save_LDFLAGS=$LDFLAGS
 
14140
  save_libdir=$libdir
 
14141
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14142
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14143
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14144
/* end confdefs.h.  */
 
14145
 
 
14146
int
 
14147
main ()
 
14148
{
 
14149
 
 
14150
  ;
 
14151
  return 0;
 
14152
}
 
14153
_ACEOF
 
14154
if ac_fn_cxx_try_link "$LINENO"; then :
 
14155
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
14156
  shlibpath_overrides_runpath=yes
 
14157
fi
 
14158
fi
 
14159
rm -f core conftest.err conftest.$ac_objext \
 
14160
    conftest$ac_exeext conftest.$ac_ext
 
14161
  LDFLAGS=$save_LDFLAGS
 
14162
  libdir=$save_libdir
 
14163
 
12912
14164
  # This implies no fast_install, which is unacceptable.
12913
14165
  # Some rework will be needed to allow for fast_install
12914
14166
  # before this can be enabled.
12916
14168
 
12917
14169
  # Append ld.so.conf contents to the search path
12918
14170
  if test -f /etc/ld.so.conf; then
12919
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
14171
    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' ' '`
12920
14172
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12921
14173
  fi
12922
14174
 
12945
14197
  version_type=sunos
12946
14198
  need_lib_prefix=no
12947
14199
  need_version=no
12948
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
14200
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12949
14201
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12950
14202
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12951
14203
    dynamic_linker='NetBSD (a.out) ld.so'
12966
14218
  shlibpath_overrides_runpath=yes
12967
14219
  ;;
12968
14220
 
12969
 
nto-qnx*)
12970
 
  version_type=linux
 
14221
*nto* | *qnx*)
 
14222
  version_type=qnx
12971
14223
  need_lib_prefix=no
12972
14224
  need_version=no
12973
14225
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12974
14226
  soname_spec='${libname}${release}${shared_ext}$major'
12975
14227
  shlibpath_var=LD_LIBRARY_PATH
12976
 
  shlibpath_overrides_runpath=yes
 
14228
  shlibpath_overrides_runpath=no
 
14229
  hardcode_into_libs=yes
 
14230
  dynamic_linker='ldqnx.so'
12977
14231
  ;;
12978
14232
 
12979
14233
openbsd*)
12982
14236
  need_lib_prefix=no
12983
14237
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12984
14238
  case $host_os in
12985
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12986
 
    *)                         need_version=no  ;;
 
14239
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
14240
    *)                          need_version=no  ;;
12987
14241
  esac
12988
14242
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12989
14243
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12990
14244
  shlibpath_var=LD_LIBRARY_PATH
12991
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
14245
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12992
14246
    case $host_os in
12993
14247
      openbsd2.[89] | openbsd2.[89].*)
12994
14248
        shlibpath_overrides_runpath=no
13022
14276
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13023
14277
  ;;
13024
14278
 
 
14279
rdos*)
 
14280
  dynamic_linker=no
 
14281
  ;;
 
14282
 
13025
14283
solaris*)
13026
14284
  version_type=linux
13027
14285
  need_lib_prefix=no
13056
14314
    sni)
13057
14315
      shlibpath_overrides_runpath=no
13058
14316
      need_lib_prefix=no
13059
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13060
14317
      runpath_var=LD_RUN_PATH
13061
14318
      ;;
13062
14319
    siemens)
13087
14344
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13088
14345
  soname_spec='${libname}${release}${shared_ext}$major'
13089
14346
  shlibpath_var=LD_LIBRARY_PATH
 
14347
  shlibpath_overrides_runpath=yes
13090
14348
  hardcode_into_libs=yes
13091
14349
  if test "$with_gnu_ld" = yes; then
13092
14350
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13093
 
    shlibpath_overrides_runpath=no
13094
14351
  else
13095
14352
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13096
 
    shlibpath_overrides_runpath=yes
13097
14353
    case $host_os in
13098
14354
      sco3.2v5*)
13099
14355
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13103
14359
  sys_lib_dlsearch_path_spec='/usr/lib'
13104
14360
  ;;
13105
14361
 
 
14362
tpf*)
 
14363
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
14364
  version_type=linux
 
14365
  need_lib_prefix=no
 
14366
  need_version=no
 
14367
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14368
  shlibpath_var=LD_LIBRARY_PATH
 
14369
  shlibpath_overrides_runpath=no
 
14370
  hardcode_into_libs=yes
 
14371
  ;;
 
14372
 
13106
14373
uts4*)
13107
14374
  version_type=linux
13108
14375
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13114
14381
  dynamic_linker=no
13115
14382
  ;;
13116
14383
esac
13117
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13118
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
14384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
14385
$as_echo "$dynamic_linker" >&6; }
13119
14386
test "$dynamic_linker" = no && can_build_shared=no
13120
14387
 
13121
14388
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13123
14390
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13124
14391
fi
13125
14392
 
13126
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13127
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
14393
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14394
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14395
fi
 
14396
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14397
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14398
fi
 
14399
 
 
14400
 
 
14401
 
 
14402
 
 
14403
 
 
14404
 
 
14405
 
 
14406
 
 
14407
 
 
14408
 
 
14409
 
 
14410
 
 
14411
 
 
14412
 
 
14413
 
 
14414
 
 
14415
 
 
14416
 
 
14417
 
 
14418
 
 
14419
 
 
14420
 
 
14421
 
 
14422
 
 
14423
 
 
14424
 
 
14425
 
 
14426
 
 
14427
 
 
14428
 
 
14429
 
 
14430
 
 
14431
 
 
14432
 
 
14433
 
 
14434
 
 
14435
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
14436
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13128
14437
hardcode_action_CXX=
13129
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13130
 
   test -n "$runpath_var_CXX" || \
 
14438
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
14439
   test -n "$runpath_var_CXX" ||
13131
14440
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13132
14441
 
13133
 
  # We can hardcode non-existant directories.
 
14442
  # We can hardcode non-existent directories.
13134
14443
  if test "$hardcode_direct_CXX" != no &&
13135
14444
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13136
14445
     # have to relink, otherwise we might link with an installed library
13137
14446
     # when we should be linking with a yet-to-be-installed one
13138
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
14447
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13139
14448
     test "$hardcode_minus_L_CXX" != no; then
13140
14449
    # Linking always hardcodes the temporary library directory.
13141
14450
    hardcode_action_CXX=relink
13148
14457
  # directories.
13149
14458
  hardcode_action_CXX=unsupported
13150
14459
fi
13151
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13152
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13153
 
 
13154
 
if test "$hardcode_action_CXX" = relink; then
13155
 
  # Fast installation is not supported
13156
 
  enable_fast_install=no
13157
 
elif test "$shlibpath_overrides_runpath" = yes ||
13158
 
     test "$enable_shared" = no; then
13159
 
  # Fast installation is not necessary
13160
 
  enable_fast_install=needless
13161
 
fi
13162
 
 
13163
 
 
13164
 
# The else clause should only fire when bootstrapping the
13165
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13166
 
# with your package, and you will get complaints that there are
13167
 
# no rules to generate ltmain.sh.
13168
 
if test -f "$ltmain"; then
13169
 
  # See if we are running on zsh, and set the options which allow our commands through
13170
 
  # without removal of \ escapes.
13171
 
  if test -n "${ZSH_VERSION+set}" ; then
13172
 
    setopt NO_GLOB_SUBST
13173
 
  fi
13174
 
  # Now quote all the things that may contain metacharacters while being
13175
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13176
 
  # variables and quote the copies for generation of the libtool script.
13177
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13178
 
    SED SHELL STRIP \
13179
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13180
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13181
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13182
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13183
 
    lt_cv_sys_global_symbol_to_c_name_address \
13184
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13185
 
    old_postinstall_cmds old_postuninstall_cmds \
13186
 
    compiler_CXX \
13187
 
    CC_CXX \
13188
 
    LD_CXX \
13189
 
    lt_prog_compiler_wl_CXX \
13190
 
    lt_prog_compiler_pic_CXX \
13191
 
    lt_prog_compiler_static_CXX \
13192
 
    lt_prog_compiler_no_builtin_flag_CXX \
13193
 
    export_dynamic_flag_spec_CXX \
13194
 
    thread_safe_flag_spec_CXX \
13195
 
    whole_archive_flag_spec_CXX \
13196
 
    enable_shared_with_static_runtimes_CXX \
13197
 
    old_archive_cmds_CXX \
13198
 
    old_archive_from_new_cmds_CXX \
13199
 
    predep_objects_CXX \
13200
 
    postdep_objects_CXX \
13201
 
    predeps_CXX \
13202
 
    postdeps_CXX \
13203
 
    compiler_lib_search_path_CXX \
13204
 
    archive_cmds_CXX \
13205
 
    archive_expsym_cmds_CXX \
13206
 
    postinstall_cmds_CXX \
13207
 
    postuninstall_cmds_CXX \
13208
 
    old_archive_from_expsyms_cmds_CXX \
13209
 
    allow_undefined_flag_CXX \
13210
 
    no_undefined_flag_CXX \
13211
 
    export_symbols_cmds_CXX \
13212
 
    hardcode_libdir_flag_spec_CXX \
13213
 
    hardcode_libdir_flag_spec_ld_CXX \
13214
 
    hardcode_libdir_separator_CXX \
13215
 
    hardcode_automatic_CXX \
13216
 
    module_cmds_CXX \
13217
 
    module_expsym_cmds_CXX \
13218
 
    lt_cv_prog_compiler_c_o_CXX \
13219
 
    exclude_expsyms_CXX \
13220
 
    include_expsyms_CXX; do
13221
 
 
13222
 
    case $var in
13223
 
    old_archive_cmds_CXX | \
13224
 
    old_archive_from_new_cmds_CXX | \
13225
 
    archive_cmds_CXX | \
13226
 
    archive_expsym_cmds_CXX | \
13227
 
    module_cmds_CXX | \
13228
 
    module_expsym_cmds_CXX | \
13229
 
    old_archive_from_expsyms_cmds_CXX | \
13230
 
    export_symbols_cmds_CXX | \
13231
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13232
 
    postinstall_cmds | postuninstall_cmds | \
13233
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13234
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13235
 
      # Double-quote double-evaled strings.
13236
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13237
 
      ;;
13238
 
    *)
13239
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13240
 
      ;;
13241
 
    esac
13242
 
  done
13243
 
 
13244
 
  case $lt_echo in
13245
 
  *'\$0 --fallback-echo"')
13246
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13247
 
    ;;
13248
 
  esac
13249
 
 
13250
 
cfgfile="$ofile"
13251
 
 
13252
 
  cat <<__EOF__ >> "$cfgfile"
13253
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13254
 
 
13255
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13256
 
 
13257
 
# Shell to use when invoking shell scripts.
13258
 
SHELL=$lt_SHELL
13259
 
 
13260
 
# Whether or not to build shared libraries.
13261
 
build_libtool_libs=$enable_shared
13262
 
 
13263
 
# Whether or not to build static libraries.
13264
 
build_old_libs=$enable_static
13265
 
 
13266
 
# Whether or not to add -lc for building shared libraries.
13267
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13268
 
 
13269
 
# Whether or not to disallow shared libs when runtime libs are static
13270
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13271
 
 
13272
 
# Whether or not to optimize for fast installation.
13273
 
fast_install=$enable_fast_install
13274
 
 
13275
 
# The host system.
13276
 
host_alias=$host_alias
13277
 
host=$host
13278
 
host_os=$host_os
13279
 
 
13280
 
# The build system.
13281
 
build_alias=$build_alias
13282
 
build=$build
13283
 
build_os=$build_os
13284
 
 
13285
 
# An echo program that does not interpret backslashes.
13286
 
echo=$lt_echo
13287
 
 
13288
 
# The archiver.
13289
 
AR=$lt_AR
13290
 
AR_FLAGS=$lt_AR_FLAGS
13291
 
 
13292
 
# A C compiler.
13293
 
LTCC=$lt_LTCC
13294
 
 
13295
 
# LTCC compiler flags.
13296
 
LTCFLAGS=$lt_LTCFLAGS
13297
 
 
13298
 
# A language-specific compiler.
13299
 
CC=$lt_compiler_CXX
13300
 
 
13301
 
# Is the compiler the GNU C compiler?
13302
 
with_gcc=$GCC_CXX
13303
 
 
13304
 
# An ERE matcher.
13305
 
EGREP=$lt_EGREP
13306
 
 
13307
 
# The linker used to build libraries.
13308
 
LD=$lt_LD_CXX
13309
 
 
13310
 
# Whether we need hard or soft links.
13311
 
LN_S=$lt_LN_S
13312
 
 
13313
 
# A BSD-compatible nm program.
13314
 
NM=$lt_NM
13315
 
 
13316
 
# A symbol stripping program
13317
 
STRIP=$lt_STRIP
13318
 
 
13319
 
# Used to examine libraries when file_magic_cmd begins "file"
13320
 
MAGIC_CMD=$MAGIC_CMD
13321
 
 
13322
 
# Used on cygwin: DLL creation program.
13323
 
DLLTOOL="$DLLTOOL"
13324
 
 
13325
 
# Used on cygwin: object dumper.
13326
 
OBJDUMP="$OBJDUMP"
13327
 
 
13328
 
# Used on cygwin: assembler.
13329
 
AS="$AS"
13330
 
 
13331
 
# The name of the directory that contains temporary libtool files.
13332
 
objdir=$objdir
13333
 
 
13334
 
# How to create reloadable object files.
13335
 
reload_flag=$lt_reload_flag
13336
 
reload_cmds=$lt_reload_cmds
13337
 
 
13338
 
# How to pass a linker flag through the compiler.
13339
 
wl=$lt_lt_prog_compiler_wl_CXX
13340
 
 
13341
 
# Object file suffix (normally "o").
13342
 
objext="$ac_objext"
13343
 
 
13344
 
# Old archive suffix (normally "a").
13345
 
libext="$libext"
13346
 
 
13347
 
# Shared library suffix (normally ".so").
13348
 
shrext_cmds='$shrext_cmds'
13349
 
 
13350
 
# Executable file suffix (normally "").
13351
 
exeext="$exeext"
13352
 
 
13353
 
# Additional compiler flags for building library objects.
13354
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13355
 
pic_mode=$pic_mode
13356
 
 
13357
 
# What is the maximum length of a command?
13358
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13359
 
 
13360
 
# Does compiler simultaneously support -c and -o options?
13361
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13362
 
 
13363
 
# Must we lock files when doing compilation?
13364
 
need_locks=$lt_need_locks
13365
 
 
13366
 
# Do we need the lib prefix for modules?
13367
 
need_lib_prefix=$need_lib_prefix
13368
 
 
13369
 
# Do we need a version for libraries?
13370
 
need_version=$need_version
13371
 
 
13372
 
# Whether dlopen is supported.
13373
 
dlopen_support=$enable_dlopen
13374
 
 
13375
 
# Whether dlopen of programs is supported.
13376
 
dlopen_self=$enable_dlopen_self
13377
 
 
13378
 
# Whether dlopen of statically linked programs is supported.
13379
 
dlopen_self_static=$enable_dlopen_self_static
13380
 
 
13381
 
# Compiler flag to prevent dynamic linking.
13382
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13383
 
 
13384
 
# Compiler flag to turn off builtin functions.
13385
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13386
 
 
13387
 
# Compiler flag to allow reflexive dlopens.
13388
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13389
 
 
13390
 
# Compiler flag to generate shared objects directly from archives.
13391
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13392
 
 
13393
 
# Compiler flag to generate thread-safe objects.
13394
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13395
 
 
13396
 
# Library versioning type.
13397
 
version_type=$version_type
13398
 
 
13399
 
# Format of library name prefix.
13400
 
libname_spec=$lt_libname_spec
13401
 
 
13402
 
# List of archive names.  First name is the real one, the rest are links.
13403
 
# The last name is the one that the linker finds with -lNAME.
13404
 
library_names_spec=$lt_library_names_spec
13405
 
 
13406
 
# The coded name of the library, if different from the real name.
13407
 
soname_spec=$lt_soname_spec
13408
 
 
13409
 
# Commands used to build and install an old-style archive.
13410
 
RANLIB=$lt_RANLIB
13411
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13412
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13413
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13414
 
 
13415
 
# Create an old-style archive from a shared archive.
13416
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13417
 
 
13418
 
# Create a temporary old-style archive to link instead of a shared archive.
13419
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13420
 
 
13421
 
# Commands used to build and install a shared archive.
13422
 
archive_cmds=$lt_archive_cmds_CXX
13423
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13424
 
postinstall_cmds=$lt_postinstall_cmds
13425
 
postuninstall_cmds=$lt_postuninstall_cmds
13426
 
 
13427
 
# Commands used to build a loadable module (assumed same as above if empty)
13428
 
module_cmds=$lt_module_cmds_CXX
13429
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13430
 
 
13431
 
# Commands to strip libraries.
13432
 
old_striplib=$lt_old_striplib
13433
 
striplib=$lt_striplib
13434
 
 
13435
 
# Dependencies to place before the objects being linked to create a
13436
 
# shared library.
13437
 
predep_objects=$lt_predep_objects_CXX
13438
 
 
13439
 
# Dependencies to place after the objects being linked to create a
13440
 
# shared library.
13441
 
postdep_objects=$lt_postdep_objects_CXX
13442
 
 
13443
 
# Dependencies to place before the objects being linked to create a
13444
 
# shared library.
13445
 
predeps=$lt_predeps_CXX
13446
 
 
13447
 
# Dependencies to place after the objects being linked to create a
13448
 
# shared library.
13449
 
postdeps=$lt_postdeps_CXX
13450
 
 
13451
 
# The library search path used internally by the compiler when linking
13452
 
# a shared library.
13453
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13454
 
 
13455
 
# Method to check whether dependent libraries are shared objects.
13456
 
deplibs_check_method=$lt_deplibs_check_method
13457
 
 
13458
 
# Command to use when deplibs_check_method == file_magic.
13459
 
file_magic_cmd=$lt_file_magic_cmd
13460
 
 
13461
 
# Flag that allows shared libraries with undefined symbols to be built.
13462
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13463
 
 
13464
 
# Flag that forces no undefined symbols.
13465
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13466
 
 
13467
 
# Commands used to finish a libtool library installation in a directory.
13468
 
finish_cmds=$lt_finish_cmds
13469
 
 
13470
 
# Same as above, but a single script fragment to be evaled but not shown.
13471
 
finish_eval=$lt_finish_eval
13472
 
 
13473
 
# Take the output of nm and produce a listing of raw symbols and C names.
13474
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13475
 
 
13476
 
# Transform the output of nm in a proper C declaration
13477
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13478
 
 
13479
 
# Transform the output of nm in a C name address pair
13480
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13481
 
 
13482
 
# This is the shared library runtime path variable.
13483
 
runpath_var=$runpath_var
13484
 
 
13485
 
# This is the shared library path variable.
13486
 
shlibpath_var=$shlibpath_var
13487
 
 
13488
 
# Is shlibpath searched before the hard-coded library search path?
13489
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13490
 
 
13491
 
# How to hardcode a shared library path into an executable.
13492
 
hardcode_action=$hardcode_action_CXX
13493
 
 
13494
 
# Whether we should hardcode library paths into libraries.
13495
 
hardcode_into_libs=$hardcode_into_libs
13496
 
 
13497
 
# Flag to hardcode \$libdir into a binary during linking.
13498
 
# This must work even if \$libdir does not exist.
13499
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13500
 
 
13501
 
# If ld is used when linking, flag to hardcode \$libdir into
13502
 
# a binary during linking. This must work even if \$libdir does
13503
 
# not exist.
13504
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13505
 
 
13506
 
# Whether we need a single -rpath flag with a separated argument.
13507
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13508
 
 
13509
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13510
 
# resulting binary.
13511
 
hardcode_direct=$hardcode_direct_CXX
13512
 
 
13513
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13514
 
# resulting binary.
13515
 
hardcode_minus_L=$hardcode_minus_L_CXX
13516
 
 
13517
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13518
 
# the resulting binary.
13519
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13520
 
 
13521
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13522
 
# and all subsequent libraries and executables linked against it.
13523
 
hardcode_automatic=$hardcode_automatic_CXX
13524
 
 
13525
 
# Variables whose values should be saved in libtool wrapper scripts and
13526
 
# restored at relink time.
13527
 
variables_saved_for_relink="$variables_saved_for_relink"
13528
 
 
13529
 
# Whether libtool must link a program against all its dependency libraries.
13530
 
link_all_deplibs=$link_all_deplibs_CXX
13531
 
 
13532
 
# Compile-time system search path for libraries
13533
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13534
 
 
13535
 
# Run-time system search path for libraries
13536
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13537
 
 
13538
 
# Fix the shell variable \$srcfile for the compiler.
13539
 
fix_srcfile_path="$fix_srcfile_path_CXX"
13540
 
 
13541
 
# Set to yes if exported symbols are required.
13542
 
always_export_symbols=$always_export_symbols_CXX
13543
 
 
13544
 
# The commands to list exported symbols.
13545
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13546
 
 
13547
 
# The commands to extract the exported symbol list from a shared archive.
13548
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13549
 
 
13550
 
# Symbols that should not be listed in the preloaded symbols.
13551
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13552
 
 
13553
 
# Symbols that must always be exported.
13554
 
include_expsyms=$lt_include_expsyms_CXX
13555
 
 
13556
 
# ### END LIBTOOL TAG CONFIG: $tagname
13557
 
 
13558
 
__EOF__
13559
 
 
13560
 
 
13561
 
else
13562
 
  # If there is no Makefile yet, we rely on a make rule to execute
13563
 
  # `config.status --recheck' to rerun these tests and create the
13564
 
  # libtool script then.
13565
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13566
 
  if test -f "$ltmain_in"; then
13567
 
    test -f Makefile && make "$ltmain"
13568
 
  fi
13569
 
fi
13570
 
 
13571
 
 
13572
 
ac_ext=c
13573
 
ac_cpp='$CPP $CPPFLAGS'
13574
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13575
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13576
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13577
 
 
13578
 
CC=$lt_save_CC
13579
 
LDCXX=$LD
13580
 
LD=$lt_save_LD
13581
 
GCC=$lt_save_GCC
13582
 
with_gnu_ldcxx=$with_gnu_ld
13583
 
with_gnu_ld=$lt_save_with_gnu_ld
13584
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13585
 
lt_cv_path_LD=$lt_save_path_LD
13586
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13587
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13588
 
 
13589
 
        else
13590
 
          tagname=""
13591
 
        fi
13592
 
        ;;
13593
 
 
13594
 
      F77)
13595
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
13596
 
 
13597
 
ac_ext=f
13598
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13599
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13600
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13601
 
 
13602
 
 
13603
 
archive_cmds_need_lc_F77=no
13604
 
allow_undefined_flag_F77=
13605
 
always_export_symbols_F77=no
13606
 
archive_expsym_cmds_F77=
13607
 
export_dynamic_flag_spec_F77=
13608
 
hardcode_direct_F77=no
13609
 
hardcode_libdir_flag_spec_F77=
13610
 
hardcode_libdir_flag_spec_ld_F77=
13611
 
hardcode_libdir_separator_F77=
13612
 
hardcode_minus_L_F77=no
13613
 
hardcode_automatic_F77=no
13614
 
module_cmds_F77=
13615
 
module_expsym_cmds_F77=
13616
 
link_all_deplibs_F77=unknown
13617
 
old_archive_cmds_F77=$old_archive_cmds
13618
 
no_undefined_flag_F77=
13619
 
whole_archive_flag_spec_F77=
13620
 
enable_shared_with_static_runtimes_F77=no
13621
 
 
13622
 
# Source file extension for f77 test sources.
13623
 
ac_ext=f
13624
 
 
13625
 
# Object file extension for compiled f77 test sources.
13626
 
objext=o
13627
 
objext_F77=$objext
13628
 
 
13629
 
# Code to be used in simple compile tests
13630
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
13631
 
 
13632
 
# Code to be used in simple link tests
13633
 
lt_simple_link_test_code="      program t\n      end\n"
13634
 
 
13635
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13636
 
 
13637
 
# If no C compiler was specified, use CC.
13638
 
LTCC=${LTCC-"$CC"}
13639
 
 
13640
 
# If no C compiler flags were specified, use CFLAGS.
13641
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13642
 
 
13643
 
# Allow CC to be a program name with arguments.
13644
 
compiler=$CC
13645
 
 
13646
 
 
13647
 
# save warnings/boilerplate of simple test code
13648
 
ac_outfile=conftest.$ac_objext
13649
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13650
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13651
 
_lt_compiler_boilerplate=`cat conftest.err`
13652
 
$rm conftest*
13653
 
 
13654
 
ac_outfile=conftest.$ac_objext
13655
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13656
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13657
 
_lt_linker_boilerplate=`cat conftest.err`
13658
 
$rm conftest*
13659
 
 
13660
 
 
13661
 
# Allow CC to be a program name with arguments.
13662
 
lt_save_CC="$CC"
13663
 
CC=${F77-"f77"}
13664
 
compiler=$CC
13665
 
compiler_F77=$CC
13666
 
for cc_temp in $compiler""; do
13667
 
  case $cc_temp in
13668
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13669
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13670
 
    \-*) ;;
13671
 
    *) break;;
13672
 
  esac
13673
 
done
13674
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13675
 
 
13676
 
 
13677
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13678
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13679
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13680
 
echo "${ECHO_T}$can_build_shared" >&6; }
13681
 
 
13682
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13683
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13684
 
test "$can_build_shared" = "no" && enable_shared=no
13685
 
 
13686
 
# On AIX, shared libraries and static libraries use the same namespace, and
13687
 
# are all built from PIC.
13688
 
case $host_os in
13689
 
aix3*)
13690
 
  test "$enable_shared" = yes && enable_static=no
13691
 
  if test -n "$RANLIB"; then
13692
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
13693
 
    postinstall_cmds='$RANLIB $lib'
13694
 
  fi
13695
 
  ;;
13696
 
aix4* | aix5*)
13697
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13698
 
    test "$enable_shared" = yes && enable_static=no
13699
 
  fi
13700
 
  ;;
13701
 
esac
13702
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13703
 
echo "${ECHO_T}$enable_shared" >&6; }
13704
 
 
13705
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13706
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13707
 
# Make sure either enable_shared or enable_static is yes.
13708
 
test "$enable_shared" = yes || enable_static=yes
13709
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
13710
 
echo "${ECHO_T}$enable_static" >&6; }
13711
 
 
13712
 
GCC_F77="$G77"
13713
 
LD_F77="$LD"
13714
 
 
13715
 
lt_prog_compiler_wl_F77=
13716
 
lt_prog_compiler_pic_F77=
13717
 
lt_prog_compiler_static_F77=
13718
 
 
13719
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13720
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13721
 
 
13722
 
  if test "$GCC" = yes; then
13723
 
    lt_prog_compiler_wl_F77='-Wl,'
13724
 
    lt_prog_compiler_static_F77='-static'
13725
 
 
13726
 
    case $host_os in
13727
 
      aix*)
13728
 
      # All AIX code is PIC.
13729
 
      if test "$host_cpu" = ia64; then
13730
 
        # AIX 5 now supports IA64 processor
13731
 
        lt_prog_compiler_static_F77='-Bstatic'
13732
 
      fi
13733
 
      ;;
13734
 
 
13735
 
    amigaos*)
13736
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13737
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13738
 
      # like `-m68040'.
13739
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13740
 
      ;;
13741
 
 
13742
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13743
 
      # PIC is the default for these OSes.
13744
 
      ;;
13745
 
 
13746
 
    mingw* | pw32* | os2*)
13747
 
      # This hack is so that the source file can tell whether it is being
13748
 
      # built for inclusion in a dll (and should export symbols for example).
13749
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13750
 
      ;;
13751
 
 
13752
 
    darwin* | rhapsody*)
13753
 
      # PIC is the default on this platform
13754
 
      # Common symbols not allowed in MH_DYLIB files
13755
 
      lt_prog_compiler_pic_F77='-fno-common'
13756
 
      ;;
13757
 
 
13758
 
    interix3*)
13759
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13760
 
      # Instead, we relocate shared libraries at runtime.
13761
 
      ;;
13762
 
 
13763
 
    msdosdjgpp*)
13764
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13765
 
      # on systems that don't support them.
13766
 
      lt_prog_compiler_can_build_shared_F77=no
13767
 
      enable_shared=no
13768
 
      ;;
13769
 
 
13770
 
    sysv4*MP*)
13771
 
      if test -d /usr/nec; then
13772
 
        lt_prog_compiler_pic_F77=-Kconform_pic
13773
 
      fi
13774
 
      ;;
13775
 
 
13776
 
    hpux*)
13777
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13778
 
      # not for PA HP-UX.
13779
 
      case $host_cpu in
13780
 
      hppa*64*|ia64*)
13781
 
        # +Z the default
13782
 
        ;;
13783
 
      *)
13784
 
        lt_prog_compiler_pic_F77='-fPIC'
13785
 
        ;;
13786
 
      esac
13787
 
      ;;
13788
 
 
13789
 
    *)
13790
 
      lt_prog_compiler_pic_F77='-fPIC'
13791
 
      ;;
13792
 
    esac
13793
 
  else
13794
 
    # PORTME Check for flag to pass linker flags through the system compiler.
13795
 
    case $host_os in
13796
 
    aix*)
13797
 
      lt_prog_compiler_wl_F77='-Wl,'
13798
 
      if test "$host_cpu" = ia64; then
13799
 
        # AIX 5 now supports IA64 processor
13800
 
        lt_prog_compiler_static_F77='-Bstatic'
13801
 
      else
13802
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13803
 
      fi
13804
 
      ;;
13805
 
      darwin*)
13806
 
        # PIC is the default on this platform
13807
 
        # Common symbols not allowed in MH_DYLIB files
13808
 
       case $cc_basename in
13809
 
         xlc*)
13810
 
         lt_prog_compiler_pic_F77='-qnocommon'
13811
 
         lt_prog_compiler_wl_F77='-Wl,'
13812
 
         ;;
13813
 
       esac
13814
 
       ;;
13815
 
 
13816
 
    mingw* | pw32* | os2*)
13817
 
      # This hack is so that the source file can tell whether it is being
13818
 
      # built for inclusion in a dll (and should export symbols for example).
13819
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13820
 
      ;;
13821
 
 
13822
 
    hpux9* | hpux10* | hpux11*)
13823
 
      lt_prog_compiler_wl_F77='-Wl,'
13824
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13825
 
      # not for PA HP-UX.
13826
 
      case $host_cpu in
13827
 
      hppa*64*|ia64*)
13828
 
        # +Z the default
13829
 
        ;;
13830
 
      *)
13831
 
        lt_prog_compiler_pic_F77='+Z'
13832
 
        ;;
13833
 
      esac
13834
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
13835
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13836
 
      ;;
13837
 
 
13838
 
    irix5* | irix6* | nonstopux*)
13839
 
      lt_prog_compiler_wl_F77='-Wl,'
13840
 
      # PIC (with -KPIC) is the default.
13841
 
      lt_prog_compiler_static_F77='-non_shared'
13842
 
      ;;
13843
 
 
13844
 
    newsos6)
13845
 
      lt_prog_compiler_pic_F77='-KPIC'
13846
 
      lt_prog_compiler_static_F77='-Bstatic'
13847
 
      ;;
13848
 
 
13849
 
    linux* | k*bsd*-gnu)
13850
 
      case $cc_basename in
13851
 
      icc* | ecc*)
13852
 
        lt_prog_compiler_wl_F77='-Wl,'
13853
 
        lt_prog_compiler_pic_F77='-KPIC'
13854
 
        lt_prog_compiler_static_F77='-static'
13855
 
        ;;
13856
 
      pgcc* | pgf77* | pgf90* | pgf95*)
13857
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
13858
 
        # which looks to be a dead project)
13859
 
        lt_prog_compiler_wl_F77='-Wl,'
13860
 
        lt_prog_compiler_pic_F77='-fpic'
13861
 
        lt_prog_compiler_static_F77='-Bstatic'
13862
 
        ;;
13863
 
      ccc*)
13864
 
        lt_prog_compiler_wl_F77='-Wl,'
13865
 
        # All Alpha code is PIC.
13866
 
        lt_prog_compiler_static_F77='-non_shared'
13867
 
        ;;
13868
 
      esac
13869
 
      ;;
13870
 
 
13871
 
    osf3* | osf4* | osf5*)
13872
 
      lt_prog_compiler_wl_F77='-Wl,'
13873
 
      # All OSF/1 code is PIC.
13874
 
      lt_prog_compiler_static_F77='-non_shared'
13875
 
      ;;
13876
 
 
13877
 
    solaris*)
13878
 
      lt_prog_compiler_pic_F77='-KPIC'
13879
 
      lt_prog_compiler_static_F77='-Bstatic'
13880
 
      case $cc_basename in
13881
 
      f77* | f90* | f95*)
13882
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
13883
 
      *)
13884
 
        lt_prog_compiler_wl_F77='-Wl,';;
13885
 
      esac
13886
 
      ;;
13887
 
 
13888
 
    sunos4*)
13889
 
      lt_prog_compiler_wl_F77='-Qoption ld '
13890
 
      lt_prog_compiler_pic_F77='-PIC'
13891
 
      lt_prog_compiler_static_F77='-Bstatic'
13892
 
      ;;
13893
 
 
13894
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
13895
 
      lt_prog_compiler_wl_F77='-Wl,'
13896
 
      lt_prog_compiler_pic_F77='-KPIC'
13897
 
      lt_prog_compiler_static_F77='-Bstatic'
13898
 
      ;;
13899
 
 
13900
 
    sysv4*MP*)
13901
 
      if test -d /usr/nec ;then
13902
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
13903
 
        lt_prog_compiler_static_F77='-Bstatic'
13904
 
      fi
13905
 
      ;;
13906
 
 
13907
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13908
 
      lt_prog_compiler_wl_F77='-Wl,'
13909
 
      lt_prog_compiler_pic_F77='-KPIC'
13910
 
      lt_prog_compiler_static_F77='-Bstatic'
13911
 
      ;;
13912
 
 
13913
 
    unicos*)
13914
 
      lt_prog_compiler_wl_F77='-Wl,'
13915
 
      lt_prog_compiler_can_build_shared_F77=no
13916
 
      ;;
13917
 
 
13918
 
    uts4*)
13919
 
      lt_prog_compiler_pic_F77='-pic'
13920
 
      lt_prog_compiler_static_F77='-Bstatic'
13921
 
      ;;
13922
 
 
13923
 
    *)
13924
 
      lt_prog_compiler_can_build_shared_F77=no
13925
 
      ;;
13926
 
    esac
13927
 
  fi
13928
 
 
13929
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13930
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13931
 
 
13932
 
#
13933
 
# Check to make sure the PIC flag actually works.
13934
 
#
13935
 
if test -n "$lt_prog_compiler_pic_F77"; then
13936
 
 
13937
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13938
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13939
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13940
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13941
 
else
13942
 
  lt_prog_compiler_pic_works_F77=no
13943
 
  ac_outfile=conftest.$ac_objext
13944
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13945
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13946
 
   # Insert the option either (1) after the last *FLAGS variable, or
13947
 
   # (2) before a word containing "conftest.", or (3) at the end.
13948
 
   # Note that $ac_compile itself does not contain backslashes and begins
13949
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13950
 
   # The option is referenced via a variable to avoid confusing sed.
13951
 
   lt_compile=`echo "$ac_compile" | $SED \
13952
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13953
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13954
 
   -e 's:$: $lt_compiler_flag:'`
13955
 
   (eval echo "\"\$as_me:13955: $lt_compile\"" >&5)
13956
 
   (eval "$lt_compile" 2>conftest.err)
13957
 
   ac_status=$?
13958
 
   cat conftest.err >&5
13959
 
   echo "$as_me:13959: \$? = $ac_status" >&5
13960
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13961
 
     # The compiler can only warn and ignore the option if not recognized
13962
 
     # So say no if there are warnings other than the usual output.
13963
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13964
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13965
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13966
 
       lt_prog_compiler_pic_works_F77=yes
13967
 
     fi
13968
 
   fi
13969
 
   $rm conftest*
13970
 
 
13971
 
fi
13972
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13973
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13974
 
 
13975
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13976
 
    case $lt_prog_compiler_pic_F77 in
13977
 
     "" | " "*) ;;
13978
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13979
 
     esac
13980
 
else
13981
 
    lt_prog_compiler_pic_F77=
13982
 
     lt_prog_compiler_can_build_shared_F77=no
13983
 
fi
13984
 
 
13985
 
fi
13986
 
case $host_os in
13987
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13988
 
  *djgpp*)
13989
 
    lt_prog_compiler_pic_F77=
13990
 
    ;;
13991
 
  *)
13992
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13993
 
    ;;
13994
 
esac
13995
 
 
13996
 
#
13997
 
# Check to make sure the static flag actually works.
13998
 
#
13999
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14000
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14001
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14002
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14003
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14004
 
else
14005
 
  lt_prog_compiler_static_works_F77=no
14006
 
   save_LDFLAGS="$LDFLAGS"
14007
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14008
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
14009
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14010
 
     # The linker can only warn and ignore the option if not recognized
14011
 
     # So say no if there are warnings
14012
 
     if test -s conftest.err; then
14013
 
       # Append any errors to the config.log.
14014
 
       cat conftest.err 1>&5
14015
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14016
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14017
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14018
 
         lt_prog_compiler_static_works_F77=yes
14019
 
       fi
14020
 
     else
14021
 
       lt_prog_compiler_static_works_F77=yes
14022
 
     fi
14023
 
   fi
14024
 
   $rm conftest*
14025
 
   LDFLAGS="$save_LDFLAGS"
14026
 
 
14027
 
fi
14028
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14029
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14030
 
 
14031
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14032
 
    :
14033
 
else
14034
 
    lt_prog_compiler_static_F77=
14035
 
fi
14036
 
 
14037
 
 
14038
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14039
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14040
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14041
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14042
 
else
14043
 
  lt_cv_prog_compiler_c_o_F77=no
14044
 
   $rm -r conftest 2>/dev/null
14045
 
   mkdir conftest
14046
 
   cd conftest
14047
 
   mkdir out
14048
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14049
 
 
14050
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14051
 
   # Insert the option either (1) after the last *FLAGS variable, or
14052
 
   # (2) before a word containing "conftest.", or (3) at the end.
14053
 
   # Note that $ac_compile itself does not contain backslashes and begins
14054
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14055
 
   lt_compile=`echo "$ac_compile" | $SED \
14056
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14057
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14058
 
   -e 's:$: $lt_compiler_flag:'`
14059
 
   (eval echo "\"\$as_me:14059: $lt_compile\"" >&5)
14060
 
   (eval "$lt_compile" 2>out/conftest.err)
14061
 
   ac_status=$?
14062
 
   cat out/conftest.err >&5
14063
 
   echo "$as_me:14063: \$? = $ac_status" >&5
14064
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14065
 
   then
14066
 
     # The compiler can only warn and ignore the option if not recognized
14067
 
     # So say no if there are warnings
14068
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14069
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14070
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14071
 
       lt_cv_prog_compiler_c_o_F77=yes
14072
 
     fi
14073
 
   fi
14074
 
   chmod u+w . 2>&5
14075
 
   $rm conftest*
14076
 
   # SGI C++ compiler will create directory out/ii_files/ for
14077
 
   # template instantiation
14078
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14079
 
   $rm out/* && rmdir out
14080
 
   cd ..
14081
 
   rmdir conftest
14082
 
   $rm conftest*
14083
 
 
14084
 
fi
14085
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14086
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14087
 
 
14088
 
 
14089
 
hard_links="nottested"
14090
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14091
 
  # do not overwrite the value of need_locks provided by the user
14092
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14093
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14094
 
  hard_links=yes
14095
 
  $rm conftest*
14096
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14097
 
  touch conftest.a
14098
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14099
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14100
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14101
 
echo "${ECHO_T}$hard_links" >&6; }
14102
 
  if test "$hard_links" = no; then
14103
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14104
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14105
 
    need_locks=warn
14106
 
  fi
14107
 
else
14108
 
  need_locks=no
14109
 
fi
14110
 
 
14111
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14112
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14113
 
 
14114
 
  runpath_var=
14115
 
  allow_undefined_flag_F77=
14116
 
  enable_shared_with_static_runtimes_F77=no
14117
 
  archive_cmds_F77=
14118
 
  archive_expsym_cmds_F77=
14119
 
  old_archive_From_new_cmds_F77=
14120
 
  old_archive_from_expsyms_cmds_F77=
14121
 
  export_dynamic_flag_spec_F77=
14122
 
  whole_archive_flag_spec_F77=
14123
 
  thread_safe_flag_spec_F77=
14124
 
  hardcode_libdir_flag_spec_F77=
14125
 
  hardcode_libdir_flag_spec_ld_F77=
14126
 
  hardcode_libdir_separator_F77=
14127
 
  hardcode_direct_F77=no
14128
 
  hardcode_minus_L_F77=no
14129
 
  hardcode_shlibpath_var_F77=unsupported
14130
 
  link_all_deplibs_F77=unknown
14131
 
  hardcode_automatic_F77=no
14132
 
  module_cmds_F77=
14133
 
  module_expsym_cmds_F77=
14134
 
  always_export_symbols_F77=no
14135
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14136
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14137
 
  # included in the symbol list
14138
 
  include_expsyms_F77=
14139
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14140
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14141
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14142
 
  # as well as any symbol that contains `d'.
14143
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14144
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14145
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14146
 
  # the symbol is explicitly referenced.  Since portable code cannot
14147
 
  # rely on this symbol name, it's probably fine to never include it in
14148
 
  # preloaded symbol tables.
14149
 
  extract_expsyms_cmds=
14150
 
  # Just being paranoid about ensuring that cc_basename is set.
14151
 
  for cc_temp in $compiler""; do
14152
 
  case $cc_temp in
14153
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14154
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14155
 
    \-*) ;;
14156
 
    *) break;;
14157
 
  esac
14158
 
done
14159
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14160
 
 
14161
 
  case $host_os in
14162
 
  cygwin* | mingw* | pw32*)
14163
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14164
 
    # When not using gcc, we currently assume that we are using
14165
 
    # Microsoft Visual C++.
14166
 
    if test "$GCC" != yes; then
14167
 
      with_gnu_ld=no
14168
 
    fi
14169
 
    ;;
14170
 
  interix*)
14171
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14172
 
    with_gnu_ld=yes
14173
 
    ;;
14174
 
  openbsd*)
14175
 
    with_gnu_ld=no
14176
 
    ;;
14177
 
  esac
14178
 
 
14179
 
  ld_shlibs_F77=yes
14180
 
  if test "$with_gnu_ld" = yes; then
14181
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14182
 
    wlarc='${wl}'
14183
 
 
14184
 
    # Set some defaults for GNU ld with shared library support. These
14185
 
    # are reset later if shared libraries are not supported. Putting them
14186
 
    # here allows them to be overridden if necessary.
14187
 
    runpath_var=LD_RUN_PATH
14188
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14189
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14190
 
    # ancient GNU ld didn't support --whole-archive et. al.
14191
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14192
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14193
 
      else
14194
 
        whole_archive_flag_spec_F77=
14195
 
    fi
14196
 
    supports_anon_versioning=no
14197
 
    case `$LD -v 2>/dev/null` in
14198
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14199
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14200
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14201
 
      *\ 2.11.*) ;; # other 2.11 versions
14202
 
      *) supports_anon_versioning=yes ;;
14203
 
    esac
14204
 
 
14205
 
    # See if GNU ld supports shared libraries.
14206
 
    case $host_os in
14207
 
    aix3* | aix4* | aix5*)
14208
 
      # On AIX/PPC, the GNU linker is very broken
14209
 
      if test "$host_cpu" != ia64; then
14210
 
        ld_shlibs_F77=no
14211
 
        cat <<EOF 1>&2
14212
 
 
14213
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14214
 
*** to be unable to reliably create shared libraries on AIX.
14215
 
*** Therefore, libtool is disabling shared libraries support.  If you
14216
 
*** really care for shared libraries, you may want to modify your PATH
14217
 
*** so that a non-GNU linker is found, and then restart.
14218
 
 
14219
 
EOF
14220
 
      fi
14221
 
      ;;
14222
 
 
14223
 
    amigaos*)
14224
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14225
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14226
 
      hardcode_minus_L_F77=yes
14227
 
 
14228
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14229
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14230
 
      # to version 4, is to share data among multiple programs linked
14231
 
      # with the same dynamic library.  Since this doesn't match the
14232
 
      # behavior of shared libraries on other platforms, we can't use
14233
 
      # them.
14234
 
      ld_shlibs_F77=no
14235
 
      ;;
14236
 
 
14237
 
    beos*)
14238
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14239
 
        allow_undefined_flag_F77=unsupported
14240
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14241
 
        # support --undefined.  This deserves some investigation.  FIXME
14242
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14243
 
      else
14244
 
        ld_shlibs_F77=no
14245
 
      fi
14246
 
      ;;
14247
 
 
14248
 
    cygwin* | mingw* | pw32*)
14249
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14250
 
      # as there is no search path for DLLs.
14251
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14252
 
      allow_undefined_flag_F77=unsupported
14253
 
      always_export_symbols_F77=no
14254
 
      enable_shared_with_static_runtimes_F77=yes
14255
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14256
 
 
14257
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14258
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14259
 
        # If the export-symbols file already is a .def file (1st line
14260
 
        # is EXPORTS), use it as is; otherwise, prepend...
14261
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14262
 
          cp $export_symbols $output_objdir/$soname.def;
14263
 
        else
14264
 
          echo EXPORTS > $output_objdir/$soname.def;
14265
 
          cat $export_symbols >> $output_objdir/$soname.def;
14266
 
        fi~
14267
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14268
 
      else
14269
 
        ld_shlibs_F77=no
14270
 
      fi
14271
 
      ;;
14272
 
 
14273
 
    interix3*)
14274
 
      hardcode_direct_F77=no
14275
 
      hardcode_shlibpath_var_F77=no
14276
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14277
 
      export_dynamic_flag_spec_F77='${wl}-E'
14278
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14279
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14280
 
      # default) and relocated if they conflict, which is a slow very memory
14281
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14282
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14283
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14284
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14285
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14286
 
      ;;
14287
 
 
14288
 
    linux* | k*bsd*-gnu)
14289
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14290
 
        tmp_addflag=
14291
 
        case $cc_basename,$host_cpu in
14292
 
        pgcc*)                          # Portland Group C compiler
14293
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14294
 
          tmp_addflag=' $pic_flag'
14295
 
          ;;
14296
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14297
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14298
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14299
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14300
 
          tmp_addflag=' -i_dynamic' ;;
14301
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14302
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14303
 
        ifc* | ifort*)                  # Intel Fortran compiler
14304
 
          tmp_addflag=' -nofor_main' ;;
14305
 
        esac
14306
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14307
 
 
14308
 
        if test $supports_anon_versioning = yes; then
14309
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14310
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14311
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14312
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14313
 
        fi
14314
 
        link_all_deplibs_F77=no
14315
 
      else
14316
 
        ld_shlibs_F77=no
14317
 
      fi
14318
 
      ;;
14319
 
 
14320
 
    netbsd* | netbsdelf*-gnu)
14321
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14322
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14323
 
        wlarc=
14324
 
      else
14325
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14326
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14327
 
      fi
14328
 
      ;;
14329
 
 
14330
 
    solaris*)
14331
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14332
 
        ld_shlibs_F77=no
14333
 
        cat <<EOF 1>&2
14334
 
 
14335
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14336
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14337
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14338
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14339
 
*** your PATH or compiler configuration so that the native linker is
14340
 
*** used, and then restart.
14341
 
 
14342
 
EOF
14343
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14344
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14345
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14346
 
      else
14347
 
        ld_shlibs_F77=no
14348
 
      fi
14349
 
      ;;
14350
 
 
14351
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14352
 
      case `$LD -v 2>&1` in
14353
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14354
 
        ld_shlibs_F77=no
14355
 
        cat <<_LT_EOF 1>&2
14356
 
 
14357
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14358
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14359
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14360
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14361
 
*** your PATH or compiler configuration so that the native linker is
14362
 
*** used, and then restart.
14363
 
 
14364
 
_LT_EOF
14365
 
        ;;
14366
 
        *)
14367
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14368
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14369
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14370
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14371
 
          else
14372
 
            ld_shlibs_F77=no
14373
 
          fi
14374
 
        ;;
14375
 
      esac
14376
 
      ;;
14377
 
 
14378
 
    sunos4*)
14379
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14380
 
      wlarc=
14381
 
      hardcode_direct_F77=yes
14382
 
      hardcode_shlibpath_var_F77=no
14383
 
      ;;
14384
 
 
14385
 
    *)
14386
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14387
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14388
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14389
 
      else
14390
 
        ld_shlibs_F77=no
14391
 
      fi
14392
 
      ;;
14393
 
    esac
14394
 
 
14395
 
    if test "$ld_shlibs_F77" = no; then
14396
 
      runpath_var=
14397
 
      hardcode_libdir_flag_spec_F77=
14398
 
      export_dynamic_flag_spec_F77=
14399
 
      whole_archive_flag_spec_F77=
14400
 
    fi
14401
 
  else
14402
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14403
 
    case $host_os in
14404
 
    aix3*)
14405
 
      allow_undefined_flag_F77=unsupported
14406
 
      always_export_symbols_F77=yes
14407
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14408
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14409
 
      # are no directories specified by -L.
14410
 
      hardcode_minus_L_F77=yes
14411
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14412
 
        # Neither direct hardcoding nor static linking is supported with a
14413
 
        # broken collect2.
14414
 
        hardcode_direct_F77=unsupported
14415
 
      fi
14416
 
      ;;
14417
 
 
14418
 
    aix4* | aix5*)
14419
 
      if test "$host_cpu" = ia64; then
14420
 
        # On IA64, the linker does run time linking by default, so we don't
14421
 
        # have to do anything special.
14422
 
        aix_use_runtimelinking=no
14423
 
        exp_sym_flag='-Bexport'
14424
 
        no_entry_flag=""
14425
 
      else
14426
 
        # If we're using GNU nm, then we don't want the "-C" option.
14427
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14428
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14429
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14430
 
        else
14431
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14432
 
        fi
14433
 
        aix_use_runtimelinking=no
14434
 
 
14435
 
        # Test if we are trying to use run time linking or normal
14436
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14437
 
        # need to do runtime linking.
14438
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14439
 
          for ld_flag in $LDFLAGS; do
14440
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14441
 
            aix_use_runtimelinking=yes
14442
 
            break
14443
 
          fi
14444
 
          done
14445
 
          ;;
14446
 
        esac
14447
 
 
14448
 
        exp_sym_flag='-bexport'
14449
 
        no_entry_flag='-bnoentry'
14450
 
      fi
14451
 
 
14452
 
      # When large executables or shared objects are built, AIX ld can
14453
 
      # have problems creating the table of contents.  If linking a library
14454
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14455
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14456
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14457
 
 
14458
 
      archive_cmds_F77=''
14459
 
      hardcode_direct_F77=yes
14460
 
      hardcode_libdir_separator_F77=':'
14461
 
      link_all_deplibs_F77=yes
14462
 
 
14463
 
      if test "$GCC" = yes; then
14464
 
        case $host_os in aix4.[012]|aix4.[012].*)
14465
 
        # We only want to do this on AIX 4.2 and lower, the check
14466
 
        # below for broken collect2 doesn't work under 4.3+
14467
 
          collect2name=`${CC} -print-prog-name=collect2`
14468
 
          if test -f "$collect2name" && \
14469
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14470
 
          then
14471
 
          # We have reworked collect2
14472
 
          hardcode_direct_F77=yes
14473
 
          else
14474
 
          # We have old collect2
14475
 
          hardcode_direct_F77=unsupported
14476
 
          # It fails to find uninstalled libraries when the uninstalled
14477
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14478
 
          # to unsupported forces relinking
14479
 
          hardcode_minus_L_F77=yes
14480
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14481
 
          hardcode_libdir_separator_F77=
14482
 
          fi
14483
 
          ;;
14484
 
        esac
14485
 
        shared_flag='-shared'
14486
 
        if test "$aix_use_runtimelinking" = yes; then
14487
 
          shared_flag="$shared_flag "'${wl}-G'
14488
 
        fi
14489
 
      else
14490
 
        # not using gcc
14491
 
        if test "$host_cpu" = ia64; then
14492
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14493
 
        # chokes on -Wl,-G. The following line is correct:
14494
 
          shared_flag='-G'
14495
 
        else
14496
 
          if test "$aix_use_runtimelinking" = yes; then
14497
 
            shared_flag='${wl}-G'
14498
 
          else
14499
 
            shared_flag='${wl}-bM:SRE'
14500
 
          fi
14501
 
        fi
14502
 
      fi
14503
 
 
14504
 
      # It seems that -bexpall does not export symbols beginning with
14505
 
      # underscore (_), so it is better to generate a list of symbols to export.
14506
 
      always_export_symbols_F77=yes
14507
 
      if test "$aix_use_runtimelinking" = yes; then
14508
 
        # Warning - without using the other runtime loading flags (-brtl),
14509
 
        # -berok will link without error, but may produce a broken library.
14510
 
        allow_undefined_flag_F77='-berok'
14511
 
       # Determine the default libpath from the value encoded in an empty executable.
14512
 
       cat >conftest.$ac_ext <<_ACEOF
14513
 
      program main
14514
 
 
14515
 
      end
14516
 
_ACEOF
14517
 
rm -f conftest.$ac_objext conftest$ac_exeext
14518
 
if { (ac_try="$ac_link"
14519
 
case "(($ac_try" in
14520
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14521
 
  *) ac_try_echo=$ac_try;;
14522
 
esac
14523
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14524
 
  (eval "$ac_link") 2>conftest.er1
14525
 
  ac_status=$?
14526
 
  grep -v '^ *+' conftest.er1 >conftest.err
14527
 
  rm -f conftest.er1
14528
 
  cat conftest.err >&5
14529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530
 
  (exit $ac_status); } && {
14531
 
         test -z "$ac_f77_werror_flag" ||
14532
 
         test ! -s conftest.err
14533
 
       } && test -s conftest$ac_exeext &&
14534
 
       $as_test_x conftest$ac_exeext; then
14535
 
 
14536
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14537
 
}'`
14538
 
# Check for a 64-bit object if we didn't find anything.
14539
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14540
 
}'`; fi
14541
 
else
14542
 
  echo "$as_me: failed program was:" >&5
14543
 
sed 's/^/| /' conftest.$ac_ext >&5
14544
 
 
14545
 
 
14546
 
fi
14547
 
 
14548
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14549
 
      conftest$ac_exeext conftest.$ac_ext
14550
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14551
 
 
14552
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14553
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14554
 
       else
14555
 
        if test "$host_cpu" = ia64; then
14556
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14557
 
          allow_undefined_flag_F77="-z nodefs"
14558
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14559
 
        else
14560
 
         # Determine the default libpath from the value encoded in an empty executable.
14561
 
         cat >conftest.$ac_ext <<_ACEOF
14562
 
      program main
14563
 
 
14564
 
      end
14565
 
_ACEOF
14566
 
rm -f conftest.$ac_objext conftest$ac_exeext
14567
 
if { (ac_try="$ac_link"
14568
 
case "(($ac_try" in
14569
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14570
 
  *) ac_try_echo=$ac_try;;
14571
 
esac
14572
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14573
 
  (eval "$ac_link") 2>conftest.er1
14574
 
  ac_status=$?
14575
 
  grep -v '^ *+' conftest.er1 >conftest.err
14576
 
  rm -f conftest.er1
14577
 
  cat conftest.err >&5
14578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579
 
  (exit $ac_status); } && {
14580
 
         test -z "$ac_f77_werror_flag" ||
14581
 
         test ! -s conftest.err
14582
 
       } && test -s conftest$ac_exeext &&
14583
 
       $as_test_x conftest$ac_exeext; then
14584
 
 
14585
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14586
 
}'`
14587
 
# Check for a 64-bit object if we didn't find anything.
14588
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14589
 
}'`; fi
14590
 
else
14591
 
  echo "$as_me: failed program was:" >&5
14592
 
sed 's/^/| /' conftest.$ac_ext >&5
14593
 
 
14594
 
 
14595
 
fi
14596
 
 
14597
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14598
 
      conftest$ac_exeext conftest.$ac_ext
14599
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14600
 
 
14601
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14602
 
          # Warning - without using the other run time loading flags,
14603
 
          # -berok will link without error, but may produce a broken library.
14604
 
          no_undefined_flag_F77=' ${wl}-bernotok'
14605
 
          allow_undefined_flag_F77=' ${wl}-berok'
14606
 
          # Exported symbols can be pulled into shared objects from archives
14607
 
          whole_archive_flag_spec_F77='$convenience'
14608
 
          archive_cmds_need_lc_F77=yes
14609
 
          # This is similar to how AIX traditionally builds its shared libraries.
14610
 
          archive_expsym_cmds_F77="\$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'
14611
 
        fi
14612
 
      fi
14613
 
      ;;
14614
 
 
14615
 
    amigaos*)
14616
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14617
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14618
 
      hardcode_minus_L_F77=yes
14619
 
      # see comment about different semantics on the GNU ld section
14620
 
      ld_shlibs_F77=no
14621
 
      ;;
14622
 
 
14623
 
    bsdi[45]*)
14624
 
      export_dynamic_flag_spec_F77=-rdynamic
14625
 
      ;;
14626
 
 
14627
 
    cygwin* | mingw* | pw32*)
14628
 
      # When not using gcc, we currently assume that we are using
14629
 
      # Microsoft Visual C++.
14630
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14631
 
      # no search path for DLLs.
14632
 
      hardcode_libdir_flag_spec_F77=' '
14633
 
      allow_undefined_flag_F77=unsupported
14634
 
      # Tell ltmain to make .lib files, not .a files.
14635
 
      libext=lib
14636
 
      # Tell ltmain to make .dll files, not .so files.
14637
 
      shrext_cmds=".dll"
14638
 
      # FIXME: Setting linknames here is a bad hack.
14639
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14640
 
      # The linker will automatically build a .lib file if we build a DLL.
14641
 
      old_archive_From_new_cmds_F77='true'
14642
 
      # FIXME: Should let the user specify the lib program.
14643
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14644
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14645
 
      enable_shared_with_static_runtimes_F77=yes
14646
 
      ;;
14647
 
 
14648
 
    darwin* | rhapsody*)
14649
 
      case $host_os in
14650
 
        rhapsody* | darwin1.[012])
14651
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14652
 
         ;;
14653
 
       *) # Darwin 1.3 on
14654
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14655
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14656
 
         else
14657
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
14658
 
             10.[012])
14659
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14660
 
               ;;
14661
 
             10.*)
14662
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14663
 
               ;;
14664
 
           esac
14665
 
         fi
14666
 
         ;;
14667
 
      esac
14668
 
      archive_cmds_need_lc_F77=no
14669
 
      hardcode_direct_F77=no
14670
 
      hardcode_automatic_F77=yes
14671
 
      hardcode_shlibpath_var_F77=unsupported
14672
 
      whole_archive_flag_spec_F77=''
14673
 
      link_all_deplibs_F77=yes
14674
 
    if test "$GCC" = yes ; then
14675
 
        output_verbose_link_cmd='echo'
14676
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14677
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14678
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14679
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14680
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14681
 
    else
14682
 
      case $cc_basename in
14683
 
        xlc*)
14684
 
         output_verbose_link_cmd='echo'
14685
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14686
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14687
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14688
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14689
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14690
 
          ;;
14691
 
       *)
14692
 
         ld_shlibs_F77=no
14693
 
          ;;
14694
 
      esac
14695
 
    fi
14696
 
      ;;
14697
 
 
14698
 
    dgux*)
14699
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14700
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14701
 
      hardcode_shlibpath_var_F77=no
14702
 
      ;;
14703
 
 
14704
 
    freebsd1*)
14705
 
      ld_shlibs_F77=no
14706
 
      ;;
14707
 
 
14708
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14709
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
14710
 
    # does not break anything, and helps significantly (at the cost of a little
14711
 
    # extra space).
14712
 
    freebsd2.2*)
14713
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14714
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14715
 
      hardcode_direct_F77=yes
14716
 
      hardcode_shlibpath_var_F77=no
14717
 
      ;;
14718
 
 
14719
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14720
 
    freebsd2*)
14721
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14722
 
      hardcode_direct_F77=yes
14723
 
      hardcode_minus_L_F77=yes
14724
 
      hardcode_shlibpath_var_F77=no
14725
 
      ;;
14726
 
 
14727
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14728
 
    freebsd* | dragonfly*)
14729
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14730
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14731
 
      hardcode_direct_F77=yes
14732
 
      hardcode_shlibpath_var_F77=no
14733
 
      ;;
14734
 
 
14735
 
    hpux9*)
14736
 
      if test "$GCC" = yes; then
14737
 
        archive_cmds_F77='$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'
14738
 
      else
14739
 
        archive_cmds_F77='$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'
14740
 
      fi
14741
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14742
 
      hardcode_libdir_separator_F77=:
14743
 
      hardcode_direct_F77=yes
14744
 
 
14745
 
      # hardcode_minus_L: Not really in the search PATH,
14746
 
      # but as the default location of the library.
14747
 
      hardcode_minus_L_F77=yes
14748
 
      export_dynamic_flag_spec_F77='${wl}-E'
14749
 
      ;;
14750
 
 
14751
 
    hpux10*)
14752
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14753
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14754
 
      else
14755
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14756
 
      fi
14757
 
      if test "$with_gnu_ld" = no; then
14758
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14759
 
        hardcode_libdir_separator_F77=:
14760
 
 
14761
 
        hardcode_direct_F77=yes
14762
 
        export_dynamic_flag_spec_F77='${wl}-E'
14763
 
 
14764
 
        # hardcode_minus_L: Not really in the search PATH,
14765
 
        # but as the default location of the library.
14766
 
        hardcode_minus_L_F77=yes
14767
 
      fi
14768
 
      ;;
14769
 
 
14770
 
    hpux11*)
14771
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14772
 
        case $host_cpu in
14773
 
        hppa*64*)
14774
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14775
 
          ;;
14776
 
        ia64*)
14777
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14778
 
          ;;
14779
 
        *)
14780
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14781
 
          ;;
14782
 
        esac
14783
 
      else
14784
 
        case $host_cpu in
14785
 
        hppa*64*)
14786
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14787
 
          ;;
14788
 
        ia64*)
14789
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14790
 
          ;;
14791
 
        *)
14792
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14793
 
          ;;
14794
 
        esac
14795
 
      fi
14796
 
      if test "$with_gnu_ld" = no; then
14797
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14798
 
        hardcode_libdir_separator_F77=:
14799
 
 
14800
 
        case $host_cpu in
14801
 
        hppa*64*|ia64*)
14802
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14803
 
          hardcode_direct_F77=no
14804
 
          hardcode_shlibpath_var_F77=no
14805
 
          ;;
14806
 
        *)
14807
 
          hardcode_direct_F77=yes
14808
 
          export_dynamic_flag_spec_F77='${wl}-E'
14809
 
 
14810
 
          # hardcode_minus_L: Not really in the search PATH,
14811
 
          # but as the default location of the library.
14812
 
          hardcode_minus_L_F77=yes
14813
 
          ;;
14814
 
        esac
14815
 
      fi
14816
 
      ;;
14817
 
 
14818
 
    irix5* | irix6* | nonstopux*)
14819
 
      if test "$GCC" = yes; then
14820
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14821
 
      else
14822
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14823
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
14824
 
      fi
14825
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14826
 
      hardcode_libdir_separator_F77=:
14827
 
      link_all_deplibs_F77=yes
14828
 
      ;;
14829
 
 
14830
 
    netbsd* | netbsdelf*-gnu)
14831
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14832
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14833
 
      else
14834
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14835
 
      fi
14836
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14837
 
      hardcode_direct_F77=yes
14838
 
      hardcode_shlibpath_var_F77=no
14839
 
      ;;
14840
 
 
14841
 
    newsos6)
14842
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14843
 
      hardcode_direct_F77=yes
14844
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14845
 
      hardcode_libdir_separator_F77=:
14846
 
      hardcode_shlibpath_var_F77=no
14847
 
      ;;
14848
 
 
14849
 
    openbsd*)
14850
 
      hardcode_direct_F77=yes
14851
 
      hardcode_shlibpath_var_F77=no
14852
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14853
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14854
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14855
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14856
 
        export_dynamic_flag_spec_F77='${wl}-E'
14857
 
      else
14858
 
       case $host_os in
14859
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14860
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14861
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14862
 
           ;;
14863
 
         *)
14864
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14865
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14866
 
           ;;
14867
 
       esac
14868
 
      fi
14869
 
      ;;
14870
 
 
14871
 
    os2*)
14872
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14873
 
      hardcode_minus_L_F77=yes
14874
 
      allow_undefined_flag_F77=unsupported
14875
 
      archive_cmds_F77='$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'
14876
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14877
 
      ;;
14878
 
 
14879
 
    osf3*)
14880
 
      if test "$GCC" = yes; then
14881
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14882
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14883
 
      else
14884
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
14885
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14886
 
      fi
14887
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14888
 
      hardcode_libdir_separator_F77=:
14889
 
      ;;
14890
 
 
14891
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
14892
 
      if test "$GCC" = yes; then
14893
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14894
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14895
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14896
 
      else
14897
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
14898
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14899
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14900
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14901
 
 
14902
 
        # Both c and cxx compiler support -rpath directly
14903
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14904
 
      fi
14905
 
      hardcode_libdir_separator_F77=:
14906
 
      ;;
14907
 
 
14908
 
    solaris*)
14909
 
      no_undefined_flag_F77=' -z text'
14910
 
      if test "$GCC" = yes; then
14911
 
        wlarc='${wl}'
14912
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14913
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14914
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14915
 
      else
14916
 
        wlarc=''
14917
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14918
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14919
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14920
 
      fi
14921
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14922
 
      hardcode_shlibpath_var_F77=no
14923
 
      case $host_os in
14924
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14925
 
      *)
14926
 
        # The compiler driver will combine linker options so we
14927
 
        # cannot just pass the convience library names through
14928
 
        # without $wl, iff we do not link with $LD.
14929
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
14930
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14931
 
        case $wlarc in
14932
 
        '')
14933
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14934
 
        *)
14935
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14936
 
        esac ;;
14937
 
      esac
14938
 
      link_all_deplibs_F77=yes
14939
 
      ;;
14940
 
 
14941
 
    sunos4*)
14942
 
      if test "x$host_vendor" = xsequent; then
14943
 
        # Use $CC to link under sequent, because it throws in some extra .o
14944
 
        # files that make .init and .fini sections work.
14945
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14946
 
      else
14947
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14948
 
      fi
14949
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14950
 
      hardcode_direct_F77=yes
14951
 
      hardcode_minus_L_F77=yes
14952
 
      hardcode_shlibpath_var_F77=no
14953
 
      ;;
14954
 
 
14955
 
    sysv4)
14956
 
      case $host_vendor in
14957
 
        sni)
14958
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14959
 
          hardcode_direct_F77=yes # is this really true???
14960
 
        ;;
14961
 
        siemens)
14962
 
          ## LD is ld it makes a PLAMLIB
14963
 
          ## CC just makes a GrossModule.
14964
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14965
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
14966
 
          hardcode_direct_F77=no
14967
 
        ;;
14968
 
        motorola)
14969
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14970
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
14971
 
        ;;
14972
 
      esac
14973
 
      runpath_var='LD_RUN_PATH'
14974
 
      hardcode_shlibpath_var_F77=no
14975
 
      ;;
14976
 
 
14977
 
    sysv4.3*)
14978
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14979
 
      hardcode_shlibpath_var_F77=no
14980
 
      export_dynamic_flag_spec_F77='-Bexport'
14981
 
      ;;
14982
 
 
14983
 
    sysv4*MP*)
14984
 
      if test -d /usr/nec; then
14985
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14986
 
        hardcode_shlibpath_var_F77=no
14987
 
        runpath_var=LD_RUN_PATH
14988
 
        hardcode_runpath_var=yes
14989
 
        ld_shlibs_F77=yes
14990
 
      fi
14991
 
      ;;
14992
 
 
14993
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14994
 
      no_undefined_flag_F77='${wl}-z,text'
14995
 
      archive_cmds_need_lc_F77=no
14996
 
      hardcode_shlibpath_var_F77=no
14997
 
      runpath_var='LD_RUN_PATH'
14998
 
 
14999
 
      if test "$GCC" = yes; then
15000
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15001
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15002
 
      else
15003
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15004
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15005
 
      fi
15006
 
      ;;
15007
 
 
15008
 
    sysv5* | sco3.2v5* | sco5v6*)
15009
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15010
 
      # link with -lc, and that would cause any symbols used from libc to
15011
 
      # always be unresolved, which means just about no library would
15012
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15013
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15014
 
      # as -z defs.
15015
 
      no_undefined_flag_F77='${wl}-z,text'
15016
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15017
 
      archive_cmds_need_lc_F77=no
15018
 
      hardcode_shlibpath_var_F77=no
15019
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15020
 
      hardcode_libdir_separator_F77=':'
15021
 
      link_all_deplibs_F77=yes
15022
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15023
 
      runpath_var='LD_RUN_PATH'
15024
 
 
15025
 
      if test "$GCC" = yes; then
15026
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15027
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15028
 
      else
15029
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15030
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15031
 
      fi
15032
 
      ;;
15033
 
 
15034
 
    uts4*)
15035
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15036
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15037
 
      hardcode_shlibpath_var_F77=no
15038
 
      ;;
15039
 
 
15040
 
    *)
15041
 
      ld_shlibs_F77=no
15042
 
      ;;
15043
 
    esac
15044
 
  fi
15045
 
 
15046
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15047
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15048
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15049
 
 
15050
 
#
15051
 
# Do we need to explicitly link libc?
15052
 
#
15053
 
case "x$archive_cmds_need_lc_F77" in
15054
 
x|xyes)
15055
 
  # Assume -lc should be added
15056
 
  archive_cmds_need_lc_F77=yes
15057
 
 
15058
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15059
 
    case $archive_cmds_F77 in
15060
 
    *'~'*)
15061
 
      # FIXME: we may have to deal with multi-command sequences.
15062
 
      ;;
15063
 
    '$CC '*)
15064
 
      # Test whether the compiler implicitly links with -lc since on some
15065
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15066
 
      # to ld, don't add -lc before -lgcc.
15067
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15068
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15069
 
      $rm conftest*
15070
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15071
 
 
15072
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073
 
  (eval $ac_compile) 2>&5
15074
 
  ac_status=$?
15075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076
 
  (exit $ac_status); } 2>conftest.err; then
15077
 
        soname=conftest
15078
 
        lib=conftest
15079
 
        libobjs=conftest.$ac_objext
15080
 
        deplibs=
15081
 
        wl=$lt_prog_compiler_wl_F77
15082
 
        pic_flag=$lt_prog_compiler_pic_F77
15083
 
        compiler_flags=-v
15084
 
        linker_flags=-v
15085
 
        verstring=
15086
 
        output_objdir=.
15087
 
        libname=conftest
15088
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15089
 
        allow_undefined_flag_F77=
15090
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15091
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15092
 
  ac_status=$?
15093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094
 
  (exit $ac_status); }
15095
 
        then
15096
 
          archive_cmds_need_lc_F77=no
15097
 
        else
15098
 
          archive_cmds_need_lc_F77=yes
15099
 
        fi
15100
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15101
 
      else
15102
 
        cat conftest.err 1>&5
15103
 
      fi
15104
 
      $rm conftest*
15105
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15106
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15107
 
      ;;
15108
 
    esac
15109
 
  fi
15110
 
  ;;
15111
 
esac
15112
 
 
15113
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15114
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15115
 
library_names_spec=
15116
 
libname_spec='lib$name'
15117
 
soname_spec=
15118
 
shrext_cmds=".so"
15119
 
postinstall_cmds=
15120
 
postuninstall_cmds=
15121
 
finish_cmds=
15122
 
finish_eval=
15123
 
shlibpath_var=
15124
 
shlibpath_overrides_runpath=unknown
15125
 
version_type=none
15126
 
dynamic_linker="$host_os ld.so"
15127
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15128
 
if test "$GCC" = yes; then
15129
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15130
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15131
 
    # if the path contains ";" then we assume it to be the separator
15132
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15133
 
    # assumed that no part of a normal pathname contains ";" but that should
15134
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15135
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15136
 
  else
15137
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15138
 
  fi
15139
 
else
15140
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15141
 
fi
15142
 
need_lib_prefix=unknown
15143
 
hardcode_into_libs=no
15144
 
 
15145
 
# when you set need_version to no, make sure it does not cause -set_version
15146
 
# flags to be left without arguments
15147
 
need_version=unknown
15148
 
 
15149
 
case $host_os in
15150
 
aix3*)
15151
 
  version_type=linux
15152
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15153
 
  shlibpath_var=LIBPATH
15154
 
 
15155
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15156
 
  soname_spec='${libname}${release}${shared_ext}$major'
15157
 
  ;;
15158
 
 
15159
 
aix4* | aix5*)
15160
 
  version_type=linux
15161
 
  need_lib_prefix=no
15162
 
  need_version=no
15163
 
  hardcode_into_libs=yes
15164
 
  if test "$host_cpu" = ia64; then
15165
 
    # AIX 5 supports IA64
15166
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15167
 
    shlibpath_var=LD_LIBRARY_PATH
15168
 
  else
15169
 
    # With GCC up to 2.95.x, collect2 would create an import file
15170
 
    # for dependence libraries.  The import file would start with
15171
 
    # the line `#! .'.  This would cause the generated library to
15172
 
    # depend on `.', always an invalid library.  This was fixed in
15173
 
    # development snapshots of GCC prior to 3.0.
15174
 
    case $host_os in
15175
 
      aix4 | aix4.[01] | aix4.[01].*)
15176
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15177
 
           echo ' yes '
15178
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15179
 
        :
15180
 
      else
15181
 
        can_build_shared=no
15182
 
      fi
15183
 
      ;;
15184
 
    esac
15185
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15186
 
    # soname into executable. Probably we can add versioning support to
15187
 
    # collect2, so additional links can be useful in future.
15188
 
    if test "$aix_use_runtimelinking" = yes; then
15189
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15190
 
      # instead of lib<name>.a to let people know that these are not
15191
 
      # typical AIX shared libraries.
15192
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193
 
    else
15194
 
      # We preserve .a as extension for shared libraries through AIX4.2
15195
 
      # and later when we are not doing run time linking.
15196
 
      library_names_spec='${libname}${release}.a $libname.a'
15197
 
      soname_spec='${libname}${release}${shared_ext}$major'
15198
 
    fi
15199
 
    shlibpath_var=LIBPATH
15200
 
  fi
15201
 
  ;;
15202
 
 
15203
 
amigaos*)
15204
 
  library_names_spec='$libname.ixlibrary $libname.a'
15205
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15206
 
  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'
15207
 
  ;;
15208
 
 
15209
 
beos*)
15210
 
  library_names_spec='${libname}${shared_ext}'
15211
 
  dynamic_linker="$host_os ld.so"
15212
 
  shlibpath_var=LIBRARY_PATH
15213
 
  ;;
15214
 
 
15215
 
bsdi[45]*)
15216
 
  version_type=linux
15217
 
  need_version=no
15218
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15219
 
  soname_spec='${libname}${release}${shared_ext}$major'
15220
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15221
 
  shlibpath_var=LD_LIBRARY_PATH
15222
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15223
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15224
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15225
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15226
 
  # libtool to hard-code these into programs
15227
 
  ;;
15228
 
 
15229
 
cygwin* | mingw* | pw32*)
15230
 
  version_type=windows
15231
 
  shrext_cmds=".dll"
15232
 
  need_version=no
15233
 
  need_lib_prefix=no
15234
 
 
15235
 
  case $GCC,$host_os in
15236
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15237
 
    library_names_spec='$libname.dll.a'
15238
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15239
 
    postinstall_cmds='base_file=`basename \${file}`~
15240
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15241
 
      dldir=$destdir/`dirname \$dlpath`~
15242
 
      test -d \$dldir || mkdir -p \$dldir~
15243
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15244
 
      chmod a+x \$dldir/$dlname'
15245
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15246
 
      dlpath=$dir/\$dldll~
15247
 
       $rm \$dlpath'
15248
 
    shlibpath_overrides_runpath=yes
15249
 
 
15250
 
    case $host_os in
15251
 
    cygwin*)
15252
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15253
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15254
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15255
 
      ;;
15256
 
    mingw*)
15257
 
      # MinGW DLLs use traditional 'lib' prefix
15258
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15259
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15260
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15261
 
        # It is most probably a Windows format PATH printed by
15262
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15263
 
        # path with ; separators, and with drive letters. We can handle the
15264
 
        # drive letters (cygwin fileutils understands them), so leave them,
15265
 
        # especially as we might pass files found there to a mingw objdump,
15266
 
        # which wouldn't understand a cygwinified path. Ahh.
15267
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15268
 
      else
15269
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15270
 
      fi
15271
 
      ;;
15272
 
    pw32*)
15273
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15274
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15275
 
      ;;
15276
 
    esac
15277
 
    ;;
15278
 
 
15279
 
  *)
15280
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15281
 
    ;;
15282
 
  esac
15283
 
  dynamic_linker='Win32 ld.exe'
15284
 
  # FIXME: first we should search . and the directory the executable is in
15285
 
  shlibpath_var=PATH
15286
 
  ;;
15287
 
 
15288
 
darwin* | rhapsody*)
15289
 
  dynamic_linker="$host_os dyld"
15290
 
  version_type=darwin
15291
 
  need_lib_prefix=no
15292
 
  need_version=no
15293
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15294
 
  soname_spec='${libname}${release}${major}$shared_ext'
15295
 
  shlibpath_overrides_runpath=yes
15296
 
  shlibpath_var=DYLD_LIBRARY_PATH
15297
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15298
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15299
 
  if test "$GCC" = yes; then
15300
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15301
 
  else
15302
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15303
 
  fi
15304
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15305
 
  ;;
15306
 
 
15307
 
dgux*)
15308
 
  version_type=linux
15309
 
  need_lib_prefix=no
15310
 
  need_version=no
15311
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15312
 
  soname_spec='${libname}${release}${shared_ext}$major'
15313
 
  shlibpath_var=LD_LIBRARY_PATH
15314
 
  ;;
15315
 
 
15316
 
freebsd1*)
15317
 
  dynamic_linker=no
15318
 
  ;;
15319
 
 
15320
 
freebsd* | dragonfly*)
15321
 
  # DragonFly does not have aout.  When/if they implement a new
15322
 
  # versioning mechanism, adjust this.
15323
 
  if test -x /usr/bin/objformat; then
15324
 
    objformat=`/usr/bin/objformat`
15325
 
  else
15326
 
    case $host_os in
15327
 
    freebsd[123]*) objformat=aout ;;
15328
 
    *) objformat=elf ;;
15329
 
    esac
15330
 
  fi
15331
 
  version_type=freebsd-$objformat
15332
 
  case $version_type in
15333
 
    freebsd-elf*)
15334
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15335
 
      need_version=no
15336
 
      need_lib_prefix=no
15337
 
      ;;
15338
 
    freebsd-*)
15339
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15340
 
      need_version=yes
15341
 
      ;;
15342
 
  esac
15343
 
  shlibpath_var=LD_LIBRARY_PATH
15344
 
  case $host_os in
15345
 
  freebsd2*)
15346
 
    shlibpath_overrides_runpath=yes
15347
 
    ;;
15348
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15349
 
    shlibpath_overrides_runpath=yes
15350
 
    hardcode_into_libs=yes
15351
 
    ;;
15352
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15353
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15354
 
    shlibpath_overrides_runpath=no
15355
 
    hardcode_into_libs=yes
15356
 
    ;;
15357
 
  freebsd*) # from 4.6 on
15358
 
    shlibpath_overrides_runpath=yes
15359
 
    hardcode_into_libs=yes
15360
 
    ;;
15361
 
  esac
15362
 
  ;;
15363
 
 
15364
 
gnu*)
15365
 
  version_type=linux
15366
 
  need_lib_prefix=no
15367
 
  need_version=no
15368
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15369
 
  soname_spec='${libname}${release}${shared_ext}$major'
15370
 
  shlibpath_var=LD_LIBRARY_PATH
15371
 
  hardcode_into_libs=yes
15372
 
  ;;
15373
 
 
15374
 
hpux9* | hpux10* | hpux11*)
15375
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15376
 
  # link against other versions.
15377
 
  version_type=sunos
15378
 
  need_lib_prefix=no
15379
 
  need_version=no
15380
 
  case $host_cpu in
15381
 
  ia64*)
15382
 
    shrext_cmds='.so'
15383
 
    hardcode_into_libs=yes
15384
 
    dynamic_linker="$host_os dld.so"
15385
 
    shlibpath_var=LD_LIBRARY_PATH
15386
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15387
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15388
 
    soname_spec='${libname}${release}${shared_ext}$major'
15389
 
    if test "X$HPUX_IA64_MODE" = X32; then
15390
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15391
 
    else
15392
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15393
 
    fi
15394
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15395
 
    ;;
15396
 
   hppa*64*)
15397
 
     shrext_cmds='.sl'
15398
 
     hardcode_into_libs=yes
15399
 
     dynamic_linker="$host_os dld.sl"
15400
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15401
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15402
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15403
 
     soname_spec='${libname}${release}${shared_ext}$major'
15404
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15405
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15406
 
     ;;
15407
 
   *)
15408
 
    shrext_cmds='.sl'
15409
 
    dynamic_linker="$host_os dld.sl"
15410
 
    shlibpath_var=SHLIB_PATH
15411
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15412
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413
 
    soname_spec='${libname}${release}${shared_ext}$major'
15414
 
    ;;
15415
 
  esac
15416
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15417
 
  postinstall_cmds='chmod 555 $lib'
15418
 
  ;;
15419
 
 
15420
 
interix3*)
15421
 
  version_type=linux
15422
 
  need_lib_prefix=no
15423
 
  need_version=no
15424
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15425
 
  soname_spec='${libname}${release}${shared_ext}$major'
15426
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15427
 
  shlibpath_var=LD_LIBRARY_PATH
15428
 
  shlibpath_overrides_runpath=no
15429
 
  hardcode_into_libs=yes
15430
 
  ;;
15431
 
 
15432
 
irix5* | irix6* | nonstopux*)
15433
 
  case $host_os in
15434
 
    nonstopux*) version_type=nonstopux ;;
15435
 
    *)
15436
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15437
 
                version_type=linux
15438
 
        else
15439
 
                version_type=irix
15440
 
        fi ;;
15441
 
  esac
15442
 
  need_lib_prefix=no
15443
 
  need_version=no
15444
 
  soname_spec='${libname}${release}${shared_ext}$major'
15445
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15446
 
  case $host_os in
15447
 
  irix5* | nonstopux*)
15448
 
    libsuff= shlibsuff=
15449
 
    ;;
15450
 
  *)
15451
 
    case $LD in # libtool.m4 will add one of these switches to LD
15452
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15453
 
      libsuff= shlibsuff= libmagic=32-bit;;
15454
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15455
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15456
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15457
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15458
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15459
 
    esac
15460
 
    ;;
15461
 
  esac
15462
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15463
 
  shlibpath_overrides_runpath=no
15464
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15465
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15466
 
  hardcode_into_libs=yes
15467
 
  ;;
15468
 
 
15469
 
# No shared lib support for Linux oldld, aout, or coff.
15470
 
linux*oldld* | linux*aout* | linux*coff*)
15471
 
  dynamic_linker=no
15472
 
  ;;
15473
 
 
15474
 
# This must be Linux ELF.
15475
 
linux* | k*bsd*-gnu)
15476
 
  version_type=linux
15477
 
  need_lib_prefix=no
15478
 
  need_version=no
15479
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15480
 
  soname_spec='${libname}${release}${shared_ext}$major'
15481
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15482
 
  shlibpath_var=LD_LIBRARY_PATH
15483
 
  shlibpath_overrides_runpath=no
15484
 
  # This implies no fast_install, which is unacceptable.
15485
 
  # Some rework will be needed to allow for fast_install
15486
 
  # before this can be enabled.
15487
 
  hardcode_into_libs=yes
15488
 
 
15489
 
  # Append ld.so.conf contents to the search path
15490
 
  if test -f /etc/ld.so.conf; then
15491
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15492
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15493
 
  fi
15494
 
 
15495
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15496
 
  # powerpc, because MkLinux only supported shared libraries with the
15497
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15498
 
  # most powerpc-linux boxes support dynamic linking these days and
15499
 
  # people can always --disable-shared, the test was removed, and we
15500
 
  # assume the GNU/Linux dynamic linker is in use.
15501
 
  dynamic_linker='GNU/Linux ld.so'
15502
 
  ;;
15503
 
 
15504
 
netbsdelf*-gnu)
15505
 
  version_type=linux
15506
 
  need_lib_prefix=no
15507
 
  need_version=no
15508
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15509
 
  soname_spec='${libname}${release}${shared_ext}$major'
15510
 
  shlibpath_var=LD_LIBRARY_PATH
15511
 
  shlibpath_overrides_runpath=no
15512
 
  hardcode_into_libs=yes
15513
 
  dynamic_linker='NetBSD ld.elf_so'
15514
 
  ;;
15515
 
 
15516
 
netbsd*)
15517
 
  version_type=sunos
15518
 
  need_lib_prefix=no
15519
 
  need_version=no
15520
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15521
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15522
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15523
 
    dynamic_linker='NetBSD (a.out) ld.so'
15524
 
  else
15525
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15526
 
    soname_spec='${libname}${release}${shared_ext}$major'
15527
 
    dynamic_linker='NetBSD ld.elf_so'
15528
 
  fi
15529
 
  shlibpath_var=LD_LIBRARY_PATH
15530
 
  shlibpath_overrides_runpath=yes
15531
 
  hardcode_into_libs=yes
15532
 
  ;;
15533
 
 
15534
 
newsos6)
15535
 
  version_type=linux
15536
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15537
 
  shlibpath_var=LD_LIBRARY_PATH
15538
 
  shlibpath_overrides_runpath=yes
15539
 
  ;;
15540
 
 
15541
 
nto-qnx*)
15542
 
  version_type=linux
15543
 
  need_lib_prefix=no
15544
 
  need_version=no
15545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15546
 
  soname_spec='${libname}${release}${shared_ext}$major'
15547
 
  shlibpath_var=LD_LIBRARY_PATH
15548
 
  shlibpath_overrides_runpath=yes
15549
 
  ;;
15550
 
 
15551
 
openbsd*)
15552
 
  version_type=sunos
15553
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15554
 
  need_lib_prefix=no
15555
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15556
 
  case $host_os in
15557
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15558
 
    *)                         need_version=no  ;;
15559
 
  esac
15560
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15561
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15562
 
  shlibpath_var=LD_LIBRARY_PATH
15563
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15564
 
    case $host_os in
15565
 
      openbsd2.[89] | openbsd2.[89].*)
15566
 
        shlibpath_overrides_runpath=no
15567
 
        ;;
15568
 
      *)
15569
 
        shlibpath_overrides_runpath=yes
15570
 
        ;;
15571
 
      esac
15572
 
  else
15573
 
    shlibpath_overrides_runpath=yes
15574
 
  fi
15575
 
  ;;
15576
 
 
15577
 
os2*)
15578
 
  libname_spec='$name'
15579
 
  shrext_cmds=".dll"
15580
 
  need_lib_prefix=no
15581
 
  library_names_spec='$libname${shared_ext} $libname.a'
15582
 
  dynamic_linker='OS/2 ld.exe'
15583
 
  shlibpath_var=LIBPATH
15584
 
  ;;
15585
 
 
15586
 
osf3* | osf4* | osf5*)
15587
 
  version_type=osf
15588
 
  need_lib_prefix=no
15589
 
  need_version=no
15590
 
  soname_spec='${libname}${release}${shared_ext}$major'
15591
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15592
 
  shlibpath_var=LD_LIBRARY_PATH
15593
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15594
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15595
 
  ;;
15596
 
 
15597
 
solaris*)
15598
 
  version_type=linux
15599
 
  need_lib_prefix=no
15600
 
  need_version=no
15601
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15602
 
  soname_spec='${libname}${release}${shared_ext}$major'
15603
 
  shlibpath_var=LD_LIBRARY_PATH
15604
 
  shlibpath_overrides_runpath=yes
15605
 
  hardcode_into_libs=yes
15606
 
  # ldd complains unless libraries are executable
15607
 
  postinstall_cmds='chmod +x $lib'
15608
 
  ;;
15609
 
 
15610
 
sunos4*)
15611
 
  version_type=sunos
15612
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15613
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15614
 
  shlibpath_var=LD_LIBRARY_PATH
15615
 
  shlibpath_overrides_runpath=yes
15616
 
  if test "$with_gnu_ld" = yes; then
15617
 
    need_lib_prefix=no
15618
 
  fi
15619
 
  need_version=yes
15620
 
  ;;
15621
 
 
15622
 
sysv4 | sysv4.3*)
15623
 
  version_type=linux
15624
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15625
 
  soname_spec='${libname}${release}${shared_ext}$major'
15626
 
  shlibpath_var=LD_LIBRARY_PATH
15627
 
  case $host_vendor in
15628
 
    sni)
15629
 
      shlibpath_overrides_runpath=no
15630
 
      need_lib_prefix=no
15631
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15632
 
      runpath_var=LD_RUN_PATH
15633
 
      ;;
15634
 
    siemens)
15635
 
      need_lib_prefix=no
15636
 
      ;;
15637
 
    motorola)
15638
 
      need_lib_prefix=no
15639
 
      need_version=no
15640
 
      shlibpath_overrides_runpath=no
15641
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15642
 
      ;;
15643
 
  esac
15644
 
  ;;
15645
 
 
15646
 
sysv4*MP*)
15647
 
  if test -d /usr/nec ;then
15648
 
    version_type=linux
15649
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15650
 
    soname_spec='$libname${shared_ext}.$major'
15651
 
    shlibpath_var=LD_LIBRARY_PATH
15652
 
  fi
15653
 
  ;;
15654
 
 
15655
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15656
 
  version_type=freebsd-elf
15657
 
  need_lib_prefix=no
15658
 
  need_version=no
15659
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15660
 
  soname_spec='${libname}${release}${shared_ext}$major'
15661
 
  shlibpath_var=LD_LIBRARY_PATH
15662
 
  hardcode_into_libs=yes
15663
 
  if test "$with_gnu_ld" = yes; then
15664
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15665
 
    shlibpath_overrides_runpath=no
15666
 
  else
15667
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15668
 
    shlibpath_overrides_runpath=yes
15669
 
    case $host_os in
15670
 
      sco3.2v5*)
15671
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15672
 
        ;;
15673
 
    esac
15674
 
  fi
15675
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15676
 
  ;;
15677
 
 
15678
 
uts4*)
15679
 
  version_type=linux
15680
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15681
 
  soname_spec='${libname}${release}${shared_ext}$major'
15682
 
  shlibpath_var=LD_LIBRARY_PATH
15683
 
  ;;
15684
 
 
15685
 
*)
15686
 
  dynamic_linker=no
15687
 
  ;;
15688
 
esac
15689
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15690
 
echo "${ECHO_T}$dynamic_linker" >&6; }
15691
 
test "$dynamic_linker" = no && can_build_shared=no
15692
 
 
15693
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15694
 
if test "$GCC" = yes; then
15695
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15696
 
fi
15697
 
 
15698
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15699
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15700
 
hardcode_action_F77=
15701
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
15702
 
   test -n "$runpath_var_F77" || \
15703
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15704
 
 
15705
 
  # We can hardcode non-existant directories.
15706
 
  if test "$hardcode_direct_F77" != no &&
15707
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15708
 
     # have to relink, otherwise we might link with an installed library
15709
 
     # when we should be linking with a yet-to-be-installed one
15710
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15711
 
     test "$hardcode_minus_L_F77" != no; then
15712
 
    # Linking always hardcodes the temporary library directory.
15713
 
    hardcode_action_F77=relink
15714
 
  else
15715
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15716
 
    hardcode_action_F77=immediate
15717
 
  fi
15718
 
else
15719
 
  # We cannot hardcode anything, or else we can only hardcode existing
15720
 
  # directories.
15721
 
  hardcode_action_F77=unsupported
15722
 
fi
15723
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15724
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15725
 
 
15726
 
if test "$hardcode_action_F77" = relink; then
15727
 
  # Fast installation is not supported
15728
 
  enable_fast_install=no
15729
 
elif test "$shlibpath_overrides_runpath" = yes ||
15730
 
     test "$enable_shared" = no; then
15731
 
  # Fast installation is not necessary
15732
 
  enable_fast_install=needless
15733
 
fi
15734
 
 
15735
 
 
15736
 
# The else clause should only fire when bootstrapping the
15737
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15738
 
# with your package, and you will get complaints that there are
15739
 
# no rules to generate ltmain.sh.
15740
 
if test -f "$ltmain"; then
15741
 
  # See if we are running on zsh, and set the options which allow our commands through
15742
 
  # without removal of \ escapes.
15743
 
  if test -n "${ZSH_VERSION+set}" ; then
15744
 
    setopt NO_GLOB_SUBST
15745
 
  fi
15746
 
  # Now quote all the things that may contain metacharacters while being
15747
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15748
 
  # variables and quote the copies for generation of the libtool script.
15749
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15750
 
    SED SHELL STRIP \
15751
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15752
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15753
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15754
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15755
 
    lt_cv_sys_global_symbol_to_c_name_address \
15756
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15757
 
    old_postinstall_cmds old_postuninstall_cmds \
15758
 
    compiler_F77 \
15759
 
    CC_F77 \
15760
 
    LD_F77 \
15761
 
    lt_prog_compiler_wl_F77 \
15762
 
    lt_prog_compiler_pic_F77 \
15763
 
    lt_prog_compiler_static_F77 \
15764
 
    lt_prog_compiler_no_builtin_flag_F77 \
15765
 
    export_dynamic_flag_spec_F77 \
15766
 
    thread_safe_flag_spec_F77 \
15767
 
    whole_archive_flag_spec_F77 \
15768
 
    enable_shared_with_static_runtimes_F77 \
15769
 
    old_archive_cmds_F77 \
15770
 
    old_archive_from_new_cmds_F77 \
15771
 
    predep_objects_F77 \
15772
 
    postdep_objects_F77 \
15773
 
    predeps_F77 \
15774
 
    postdeps_F77 \
15775
 
    compiler_lib_search_path_F77 \
15776
 
    archive_cmds_F77 \
15777
 
    archive_expsym_cmds_F77 \
15778
 
    postinstall_cmds_F77 \
15779
 
    postuninstall_cmds_F77 \
15780
 
    old_archive_from_expsyms_cmds_F77 \
15781
 
    allow_undefined_flag_F77 \
15782
 
    no_undefined_flag_F77 \
15783
 
    export_symbols_cmds_F77 \
15784
 
    hardcode_libdir_flag_spec_F77 \
15785
 
    hardcode_libdir_flag_spec_ld_F77 \
15786
 
    hardcode_libdir_separator_F77 \
15787
 
    hardcode_automatic_F77 \
15788
 
    module_cmds_F77 \
15789
 
    module_expsym_cmds_F77 \
15790
 
    lt_cv_prog_compiler_c_o_F77 \
15791
 
    exclude_expsyms_F77 \
15792
 
    include_expsyms_F77; do
15793
 
 
15794
 
    case $var in
15795
 
    old_archive_cmds_F77 | \
15796
 
    old_archive_from_new_cmds_F77 | \
15797
 
    archive_cmds_F77 | \
15798
 
    archive_expsym_cmds_F77 | \
15799
 
    module_cmds_F77 | \
15800
 
    module_expsym_cmds_F77 | \
15801
 
    old_archive_from_expsyms_cmds_F77 | \
15802
 
    export_symbols_cmds_F77 | \
15803
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15804
 
    postinstall_cmds | postuninstall_cmds | \
15805
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15806
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15807
 
      # Double-quote double-evaled strings.
15808
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15809
 
      ;;
15810
 
    *)
15811
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15812
 
      ;;
15813
 
    esac
15814
 
  done
15815
 
 
15816
 
  case $lt_echo in
15817
 
  *'\$0 --fallback-echo"')
15818
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15819
 
    ;;
15820
 
  esac
15821
 
 
15822
 
cfgfile="$ofile"
15823
 
 
15824
 
  cat <<__EOF__ >> "$cfgfile"
15825
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15826
 
 
15827
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15828
 
 
15829
 
# Shell to use when invoking shell scripts.
15830
 
SHELL=$lt_SHELL
15831
 
 
15832
 
# Whether or not to build shared libraries.
15833
 
build_libtool_libs=$enable_shared
15834
 
 
15835
 
# Whether or not to build static libraries.
15836
 
build_old_libs=$enable_static
15837
 
 
15838
 
# Whether or not to add -lc for building shared libraries.
15839
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
15840
 
 
15841
 
# Whether or not to disallow shared libs when runtime libs are static
15842
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15843
 
 
15844
 
# Whether or not to optimize for fast installation.
15845
 
fast_install=$enable_fast_install
15846
 
 
15847
 
# The host system.
15848
 
host_alias=$host_alias
15849
 
host=$host
15850
 
host_os=$host_os
15851
 
 
15852
 
# The build system.
15853
 
build_alias=$build_alias
15854
 
build=$build
15855
 
build_os=$build_os
15856
 
 
15857
 
# An echo program that does not interpret backslashes.
15858
 
echo=$lt_echo
15859
 
 
15860
 
# The archiver.
15861
 
AR=$lt_AR
15862
 
AR_FLAGS=$lt_AR_FLAGS
15863
 
 
15864
 
# A C compiler.
15865
 
LTCC=$lt_LTCC
15866
 
 
15867
 
# LTCC compiler flags.
15868
 
LTCFLAGS=$lt_LTCFLAGS
15869
 
 
15870
 
# A language-specific compiler.
15871
 
CC=$lt_compiler_F77
15872
 
 
15873
 
# Is the compiler the GNU C compiler?
15874
 
with_gcc=$GCC_F77
15875
 
 
15876
 
# An ERE matcher.
15877
 
EGREP=$lt_EGREP
15878
 
 
15879
 
# The linker used to build libraries.
15880
 
LD=$lt_LD_F77
15881
 
 
15882
 
# Whether we need hard or soft links.
15883
 
LN_S=$lt_LN_S
15884
 
 
15885
 
# A BSD-compatible nm program.
15886
 
NM=$lt_NM
15887
 
 
15888
 
# A symbol stripping program
15889
 
STRIP=$lt_STRIP
15890
 
 
15891
 
# Used to examine libraries when file_magic_cmd begins "file"
15892
 
MAGIC_CMD=$MAGIC_CMD
15893
 
 
15894
 
# Used on cygwin: DLL creation program.
15895
 
DLLTOOL="$DLLTOOL"
15896
 
 
15897
 
# Used on cygwin: object dumper.
15898
 
OBJDUMP="$OBJDUMP"
15899
 
 
15900
 
# Used on cygwin: assembler.
15901
 
AS="$AS"
15902
 
 
15903
 
# The name of the directory that contains temporary libtool files.
15904
 
objdir=$objdir
15905
 
 
15906
 
# How to create reloadable object files.
15907
 
reload_flag=$lt_reload_flag
15908
 
reload_cmds=$lt_reload_cmds
15909
 
 
15910
 
# How to pass a linker flag through the compiler.
15911
 
wl=$lt_lt_prog_compiler_wl_F77
15912
 
 
15913
 
# Object file suffix (normally "o").
15914
 
objext="$ac_objext"
15915
 
 
15916
 
# Old archive suffix (normally "a").
15917
 
libext="$libext"
15918
 
 
15919
 
# Shared library suffix (normally ".so").
15920
 
shrext_cmds='$shrext_cmds'
15921
 
 
15922
 
# Executable file suffix (normally "").
15923
 
exeext="$exeext"
15924
 
 
15925
 
# Additional compiler flags for building library objects.
15926
 
pic_flag=$lt_lt_prog_compiler_pic_F77
15927
 
pic_mode=$pic_mode
15928
 
 
15929
 
# What is the maximum length of a command?
15930
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15931
 
 
15932
 
# Does compiler simultaneously support -c and -o options?
15933
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15934
 
 
15935
 
# Must we lock files when doing compilation?
15936
 
need_locks=$lt_need_locks
15937
 
 
15938
 
# Do we need the lib prefix for modules?
15939
 
need_lib_prefix=$need_lib_prefix
15940
 
 
15941
 
# Do we need a version for libraries?
15942
 
need_version=$need_version
15943
 
 
15944
 
# Whether dlopen is supported.
15945
 
dlopen_support=$enable_dlopen
15946
 
 
15947
 
# Whether dlopen of programs is supported.
15948
 
dlopen_self=$enable_dlopen_self
15949
 
 
15950
 
# Whether dlopen of statically linked programs is supported.
15951
 
dlopen_self_static=$enable_dlopen_self_static
15952
 
 
15953
 
# Compiler flag to prevent dynamic linking.
15954
 
link_static_flag=$lt_lt_prog_compiler_static_F77
15955
 
 
15956
 
# Compiler flag to turn off builtin functions.
15957
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15958
 
 
15959
 
# Compiler flag to allow reflexive dlopens.
15960
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15961
 
 
15962
 
# Compiler flag to generate shared objects directly from archives.
15963
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15964
 
 
15965
 
# Compiler flag to generate thread-safe objects.
15966
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15967
 
 
15968
 
# Library versioning type.
15969
 
version_type=$version_type
15970
 
 
15971
 
# Format of library name prefix.
15972
 
libname_spec=$lt_libname_spec
15973
 
 
15974
 
# List of archive names.  First name is the real one, the rest are links.
15975
 
# The last name is the one that the linker finds with -lNAME.
15976
 
library_names_spec=$lt_library_names_spec
15977
 
 
15978
 
# The coded name of the library, if different from the real name.
15979
 
soname_spec=$lt_soname_spec
15980
 
 
15981
 
# Commands used to build and install an old-style archive.
15982
 
RANLIB=$lt_RANLIB
15983
 
old_archive_cmds=$lt_old_archive_cmds_F77
15984
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15985
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15986
 
 
15987
 
# Create an old-style archive from a shared archive.
15988
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15989
 
 
15990
 
# Create a temporary old-style archive to link instead of a shared archive.
15991
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15992
 
 
15993
 
# Commands used to build and install a shared archive.
15994
 
archive_cmds=$lt_archive_cmds_F77
15995
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15996
 
postinstall_cmds=$lt_postinstall_cmds
15997
 
postuninstall_cmds=$lt_postuninstall_cmds
15998
 
 
15999
 
# Commands used to build a loadable module (assumed same as above if empty)
16000
 
module_cmds=$lt_module_cmds_F77
16001
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16002
 
 
16003
 
# Commands to strip libraries.
16004
 
old_striplib=$lt_old_striplib
16005
 
striplib=$lt_striplib
16006
 
 
16007
 
# Dependencies to place before the objects being linked to create a
16008
 
# shared library.
16009
 
predep_objects=$lt_predep_objects_F77
16010
 
 
16011
 
# Dependencies to place after the objects being linked to create a
16012
 
# shared library.
16013
 
postdep_objects=$lt_postdep_objects_F77
16014
 
 
16015
 
# Dependencies to place before the objects being linked to create a
16016
 
# shared library.
16017
 
predeps=$lt_predeps_F77
16018
 
 
16019
 
# Dependencies to place after the objects being linked to create a
16020
 
# shared library.
16021
 
postdeps=$lt_postdeps_F77
16022
 
 
16023
 
# The library search path used internally by the compiler when linking
16024
 
# a shared library.
16025
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16026
 
 
16027
 
# Method to check whether dependent libraries are shared objects.
16028
 
deplibs_check_method=$lt_deplibs_check_method
16029
 
 
16030
 
# Command to use when deplibs_check_method == file_magic.
16031
 
file_magic_cmd=$lt_file_magic_cmd
16032
 
 
16033
 
# Flag that allows shared libraries with undefined symbols to be built.
16034
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16035
 
 
16036
 
# Flag that forces no undefined symbols.
16037
 
no_undefined_flag=$lt_no_undefined_flag_F77
16038
 
 
16039
 
# Commands used to finish a libtool library installation in a directory.
16040
 
finish_cmds=$lt_finish_cmds
16041
 
 
16042
 
# Same as above, but a single script fragment to be evaled but not shown.
16043
 
finish_eval=$lt_finish_eval
16044
 
 
16045
 
# Take the output of nm and produce a listing of raw symbols and C names.
16046
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16047
 
 
16048
 
# Transform the output of nm in a proper C declaration
16049
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16050
 
 
16051
 
# Transform the output of nm in a C name address pair
16052
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16053
 
 
16054
 
# This is the shared library runtime path variable.
16055
 
runpath_var=$runpath_var
16056
 
 
16057
 
# This is the shared library path variable.
16058
 
shlibpath_var=$shlibpath_var
16059
 
 
16060
 
# Is shlibpath searched before the hard-coded library search path?
16061
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16062
 
 
16063
 
# How to hardcode a shared library path into an executable.
16064
 
hardcode_action=$hardcode_action_F77
16065
 
 
16066
 
# Whether we should hardcode library paths into libraries.
16067
 
hardcode_into_libs=$hardcode_into_libs
16068
 
 
16069
 
# Flag to hardcode \$libdir into a binary during linking.
16070
 
# This must work even if \$libdir does not exist.
16071
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16072
 
 
16073
 
# If ld is used when linking, flag to hardcode \$libdir into
16074
 
# a binary during linking. This must work even if \$libdir does
16075
 
# not exist.
16076
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16077
 
 
16078
 
# Whether we need a single -rpath flag with a separated argument.
16079
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16080
 
 
16081
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16082
 
# resulting binary.
16083
 
hardcode_direct=$hardcode_direct_F77
16084
 
 
16085
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16086
 
# resulting binary.
16087
 
hardcode_minus_L=$hardcode_minus_L_F77
16088
 
 
16089
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16090
 
# the resulting binary.
16091
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16092
 
 
16093
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16094
 
# and all subsequent libraries and executables linked against it.
16095
 
hardcode_automatic=$hardcode_automatic_F77
16096
 
 
16097
 
# Variables whose values should be saved in libtool wrapper scripts and
16098
 
# restored at relink time.
16099
 
variables_saved_for_relink="$variables_saved_for_relink"
16100
 
 
16101
 
# Whether libtool must link a program against all its dependency libraries.
16102
 
link_all_deplibs=$link_all_deplibs_F77
16103
 
 
16104
 
# Compile-time system search path for libraries
16105
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16106
 
 
16107
 
# Run-time system search path for libraries
16108
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16109
 
 
16110
 
# Fix the shell variable \$srcfile for the compiler.
16111
 
fix_srcfile_path="$fix_srcfile_path_F77"
16112
 
 
16113
 
# Set to yes if exported symbols are required.
16114
 
always_export_symbols=$always_export_symbols_F77
16115
 
 
16116
 
# The commands to list exported symbols.
16117
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16118
 
 
16119
 
# The commands to extract the exported symbol list from a shared archive.
16120
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16121
 
 
16122
 
# Symbols that should not be listed in the preloaded symbols.
16123
 
exclude_expsyms=$lt_exclude_expsyms_F77
16124
 
 
16125
 
# Symbols that must always be exported.
16126
 
include_expsyms=$lt_include_expsyms_F77
16127
 
 
16128
 
# ### END LIBTOOL TAG CONFIG: $tagname
16129
 
 
16130
 
__EOF__
16131
 
 
16132
 
 
16133
 
else
16134
 
  # If there is no Makefile yet, we rely on a make rule to execute
16135
 
  # `config.status --recheck' to rerun these tests and create the
16136
 
  # libtool script then.
16137
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16138
 
  if test -f "$ltmain_in"; then
16139
 
    test -f Makefile && make "$ltmain"
16140
 
  fi
16141
 
fi
16142
 
 
16143
 
 
16144
 
ac_ext=c
16145
 
ac_cpp='$CPP $CPPFLAGS'
16146
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16147
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16148
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16149
 
 
16150
 
CC="$lt_save_CC"
16151
 
 
16152
 
        else
16153
 
          tagname=""
16154
 
        fi
16155
 
        ;;
16156
 
 
16157
 
      GCJ)
16158
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16159
 
 
16160
 
 
16161
 
# Source file extension for Java test sources.
16162
 
ac_ext=java
16163
 
 
16164
 
# Object file extension for compiled Java test sources.
16165
 
objext=o
16166
 
objext_GCJ=$objext
16167
 
 
16168
 
# Code to be used in simple compile tests
16169
 
lt_simple_compile_test_code="class foo {}\n"
16170
 
 
16171
 
# Code to be used in simple link tests
16172
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16173
 
 
16174
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16175
 
 
16176
 
# If no C compiler was specified, use CC.
16177
 
LTCC=${LTCC-"$CC"}
16178
 
 
16179
 
# If no C compiler flags were specified, use CFLAGS.
16180
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16181
 
 
16182
 
# Allow CC to be a program name with arguments.
16183
 
compiler=$CC
16184
 
 
16185
 
 
16186
 
# save warnings/boilerplate of simple test code
16187
 
ac_outfile=conftest.$ac_objext
16188
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16189
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16190
 
_lt_compiler_boilerplate=`cat conftest.err`
16191
 
$rm conftest*
16192
 
 
16193
 
ac_outfile=conftest.$ac_objext
16194
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16195
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16196
 
_lt_linker_boilerplate=`cat conftest.err`
16197
 
$rm conftest*
16198
 
 
16199
 
 
16200
 
# Allow CC to be a program name with arguments.
16201
 
lt_save_CC="$CC"
16202
 
CC=${GCJ-"gcj"}
16203
 
compiler=$CC
16204
 
compiler_GCJ=$CC
16205
 
for cc_temp in $compiler""; do
16206
 
  case $cc_temp in
16207
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16208
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16209
 
    \-*) ;;
16210
 
    *) break;;
16211
 
  esac
16212
 
done
16213
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16214
 
 
16215
 
 
16216
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16217
 
archive_cmds_need_lc_GCJ=no
16218
 
 
16219
 
old_archive_cmds_GCJ=$old_archive_cmds
16220
 
 
16221
 
 
16222
 
lt_prog_compiler_no_builtin_flag_GCJ=
16223
 
 
16224
 
if test "$GCC" = yes; then
16225
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16226
 
 
16227
 
 
16228
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16229
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16230
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16232
 
else
16233
 
  lt_cv_prog_compiler_rtti_exceptions=no
16234
 
  ac_outfile=conftest.$ac_objext
16235
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16236
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16237
 
   # Insert the option either (1) after the last *FLAGS variable, or
16238
 
   # (2) before a word containing "conftest.", or (3) at the end.
16239
 
   # Note that $ac_compile itself does not contain backslashes and begins
16240
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16241
 
   # The option is referenced via a variable to avoid confusing sed.
16242
 
   lt_compile=`echo "$ac_compile" | $SED \
16243
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16244
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16245
 
   -e 's:$: $lt_compiler_flag:'`
16246
 
   (eval echo "\"\$as_me:16246: $lt_compile\"" >&5)
16247
 
   (eval "$lt_compile" 2>conftest.err)
16248
 
   ac_status=$?
16249
 
   cat conftest.err >&5
16250
 
   echo "$as_me:16250: \$? = $ac_status" >&5
16251
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16252
 
     # The compiler can only warn and ignore the option if not recognized
16253
 
     # So say no if there are warnings other than the usual output.
16254
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16255
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16256
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16257
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16258
 
     fi
16259
 
   fi
16260
 
   $rm conftest*
16261
 
 
16262
 
fi
16263
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16264
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16265
 
 
16266
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16267
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16268
 
else
16269
 
    :
16270
 
fi
16271
 
 
16272
 
fi
16273
 
 
16274
 
lt_prog_compiler_wl_GCJ=
16275
 
lt_prog_compiler_pic_GCJ=
16276
 
lt_prog_compiler_static_GCJ=
16277
 
 
16278
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16279
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16280
 
 
16281
 
  if test "$GCC" = yes; then
16282
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16283
 
    lt_prog_compiler_static_GCJ='-static'
16284
 
 
16285
 
    case $host_os in
16286
 
      aix*)
16287
 
      # All AIX code is PIC.
16288
 
      if test "$host_cpu" = ia64; then
16289
 
        # AIX 5 now supports IA64 processor
16290
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16291
 
      fi
16292
 
      ;;
16293
 
 
16294
 
    amigaos*)
16295
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16296
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16297
 
      # like `-m68040'.
16298
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16299
 
      ;;
16300
 
 
16301
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16302
 
      # PIC is the default for these OSes.
16303
 
      ;;
16304
 
 
16305
 
    mingw* | pw32* | os2*)
16306
 
      # This hack is so that the source file can tell whether it is being
16307
 
      # built for inclusion in a dll (and should export symbols for example).
16308
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16309
 
      ;;
16310
 
 
16311
 
    darwin* | rhapsody*)
16312
 
      # PIC is the default on this platform
16313
 
      # Common symbols not allowed in MH_DYLIB files
16314
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16315
 
      ;;
16316
 
 
16317
 
    interix3*)
16318
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16319
 
      # Instead, we relocate shared libraries at runtime.
16320
 
      ;;
16321
 
 
16322
 
    msdosdjgpp*)
16323
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16324
 
      # on systems that don't support them.
16325
 
      lt_prog_compiler_can_build_shared_GCJ=no
16326
 
      enable_shared=no
16327
 
      ;;
16328
 
 
16329
 
    sysv4*MP*)
16330
 
      if test -d /usr/nec; then
16331
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16332
 
      fi
16333
 
      ;;
16334
 
 
16335
 
    hpux*)
16336
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16337
 
      # not for PA HP-UX.
16338
 
      case $host_cpu in
16339
 
      hppa*64*|ia64*)
16340
 
        # +Z the default
16341
 
        ;;
16342
 
      *)
16343
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16344
 
        ;;
16345
 
      esac
16346
 
      ;;
16347
 
 
16348
 
    *)
16349
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16350
 
      ;;
16351
 
    esac
16352
 
  else
16353
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16354
 
    case $host_os in
16355
 
    aix*)
16356
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16357
 
      if test "$host_cpu" = ia64; then
16358
 
        # AIX 5 now supports IA64 processor
16359
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16360
 
      else
16361
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16362
 
      fi
16363
 
      ;;
16364
 
      darwin*)
16365
 
        # PIC is the default on this platform
16366
 
        # Common symbols not allowed in MH_DYLIB files
16367
 
       case $cc_basename in
16368
 
         xlc*)
16369
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16370
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16371
 
         ;;
16372
 
       esac
16373
 
       ;;
16374
 
 
16375
 
    mingw* | pw32* | os2*)
16376
 
      # This hack is so that the source file can tell whether it is being
16377
 
      # built for inclusion in a dll (and should export symbols for example).
16378
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16379
 
      ;;
16380
 
 
16381
 
    hpux9* | hpux10* | hpux11*)
16382
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16383
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16384
 
      # not for PA HP-UX.
16385
 
      case $host_cpu in
16386
 
      hppa*64*|ia64*)
16387
 
        # +Z the default
16388
 
        ;;
16389
 
      *)
16390
 
        lt_prog_compiler_pic_GCJ='+Z'
16391
 
        ;;
16392
 
      esac
16393
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16394
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16395
 
      ;;
16396
 
 
16397
 
    irix5* | irix6* | nonstopux*)
16398
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16399
 
      # PIC (with -KPIC) is the default.
16400
 
      lt_prog_compiler_static_GCJ='-non_shared'
16401
 
      ;;
16402
 
 
16403
 
    newsos6)
16404
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16405
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16406
 
      ;;
16407
 
 
16408
 
    linux* | k*bsd*-gnu)
16409
 
      case $cc_basename in
16410
 
      icc* | ecc*)
16411
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16412
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16413
 
        lt_prog_compiler_static_GCJ='-static'
16414
 
        ;;
16415
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16416
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16417
 
        # which looks to be a dead project)
16418
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16419
 
        lt_prog_compiler_pic_GCJ='-fpic'
16420
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16421
 
        ;;
16422
 
      ccc*)
16423
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16424
 
        # All Alpha code is PIC.
16425
 
        lt_prog_compiler_static_GCJ='-non_shared'
16426
 
        ;;
16427
 
      esac
16428
 
      ;;
16429
 
 
16430
 
    osf3* | osf4* | osf5*)
16431
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16432
 
      # All OSF/1 code is PIC.
16433
 
      lt_prog_compiler_static_GCJ='-non_shared'
16434
 
      ;;
16435
 
 
16436
 
    solaris*)
16437
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16438
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16439
 
      case $cc_basename in
16440
 
      f77* | f90* | f95*)
16441
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16442
 
      *)
16443
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16444
 
      esac
16445
 
      ;;
16446
 
 
16447
 
    sunos4*)
16448
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16449
 
      lt_prog_compiler_pic_GCJ='-PIC'
16450
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16451
 
      ;;
16452
 
 
16453
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16454
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16455
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16456
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16457
 
      ;;
16458
 
 
16459
 
    sysv4*MP*)
16460
 
      if test -d /usr/nec ;then
16461
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16462
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16463
 
      fi
16464
 
      ;;
16465
 
 
16466
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16467
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16468
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16469
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16470
 
      ;;
16471
 
 
16472
 
    unicos*)
16473
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16474
 
      lt_prog_compiler_can_build_shared_GCJ=no
16475
 
      ;;
16476
 
 
16477
 
    uts4*)
16478
 
      lt_prog_compiler_pic_GCJ='-pic'
16479
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16480
 
      ;;
16481
 
 
16482
 
    *)
16483
 
      lt_prog_compiler_can_build_shared_GCJ=no
16484
 
      ;;
16485
 
    esac
16486
 
  fi
16487
 
 
16488
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16489
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16490
 
 
16491
 
#
16492
 
# Check to make sure the PIC flag actually works.
16493
 
#
16494
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16495
 
 
16496
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16497
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16498
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16500
 
else
16501
 
  lt_prog_compiler_pic_works_GCJ=no
16502
 
  ac_outfile=conftest.$ac_objext
16503
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16504
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16505
 
   # Insert the option either (1) after the last *FLAGS variable, or
16506
 
   # (2) before a word containing "conftest.", or (3) at the end.
16507
 
   # Note that $ac_compile itself does not contain backslashes and begins
16508
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16509
 
   # The option is referenced via a variable to avoid confusing sed.
16510
 
   lt_compile=`echo "$ac_compile" | $SED \
16511
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16512
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16513
 
   -e 's:$: $lt_compiler_flag:'`
16514
 
   (eval echo "\"\$as_me:16514: $lt_compile\"" >&5)
16515
 
   (eval "$lt_compile" 2>conftest.err)
16516
 
   ac_status=$?
16517
 
   cat conftest.err >&5
16518
 
   echo "$as_me:16518: \$? = $ac_status" >&5
16519
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16520
 
     # The compiler can only warn and ignore the option if not recognized
16521
 
     # So say no if there are warnings other than the usual output.
16522
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16523
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16524
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16525
 
       lt_prog_compiler_pic_works_GCJ=yes
16526
 
     fi
16527
 
   fi
16528
 
   $rm conftest*
16529
 
 
16530
 
fi
16531
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16532
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16533
 
 
16534
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16535
 
    case $lt_prog_compiler_pic_GCJ in
16536
 
     "" | " "*) ;;
16537
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16538
 
     esac
16539
 
else
16540
 
    lt_prog_compiler_pic_GCJ=
16541
 
     lt_prog_compiler_can_build_shared_GCJ=no
16542
 
fi
16543
 
 
16544
 
fi
16545
 
case $host_os in
16546
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16547
 
  *djgpp*)
16548
 
    lt_prog_compiler_pic_GCJ=
16549
 
    ;;
16550
 
  *)
16551
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16552
 
    ;;
16553
 
esac
16554
 
 
16555
 
#
16556
 
# Check to make sure the static flag actually works.
16557
 
#
16558
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16559
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16560
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16561
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16563
 
else
16564
 
  lt_prog_compiler_static_works_GCJ=no
16565
 
   save_LDFLAGS="$LDFLAGS"
16566
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16567
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
16568
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16569
 
     # The linker can only warn and ignore the option if not recognized
16570
 
     # So say no if there are warnings
16571
 
     if test -s conftest.err; then
16572
 
       # Append any errors to the config.log.
16573
 
       cat conftest.err 1>&5
16574
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16575
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16576
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16577
 
         lt_prog_compiler_static_works_GCJ=yes
16578
 
       fi
16579
 
     else
16580
 
       lt_prog_compiler_static_works_GCJ=yes
16581
 
     fi
16582
 
   fi
16583
 
   $rm conftest*
16584
 
   LDFLAGS="$save_LDFLAGS"
16585
 
 
16586
 
fi
16587
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16588
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16589
 
 
16590
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16591
 
    :
16592
 
else
16593
 
    lt_prog_compiler_static_GCJ=
16594
 
fi
16595
 
 
16596
 
 
16597
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16598
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16599
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16601
 
else
16602
 
  lt_cv_prog_compiler_c_o_GCJ=no
16603
 
   $rm -r conftest 2>/dev/null
16604
 
   mkdir conftest
16605
 
   cd conftest
16606
 
   mkdir out
16607
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16608
 
 
16609
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16610
 
   # Insert the option either (1) after the last *FLAGS variable, or
16611
 
   # (2) before a word containing "conftest.", or (3) at the end.
16612
 
   # Note that $ac_compile itself does not contain backslashes and begins
16613
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16614
 
   lt_compile=`echo "$ac_compile" | $SED \
16615
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16616
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16617
 
   -e 's:$: $lt_compiler_flag:'`
16618
 
   (eval echo "\"\$as_me:16618: $lt_compile\"" >&5)
16619
 
   (eval "$lt_compile" 2>out/conftest.err)
16620
 
   ac_status=$?
16621
 
   cat out/conftest.err >&5
16622
 
   echo "$as_me:16622: \$? = $ac_status" >&5
16623
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16624
 
   then
16625
 
     # The compiler can only warn and ignore the option if not recognized
16626
 
     # So say no if there are warnings
16627
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16628
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16629
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16630
 
       lt_cv_prog_compiler_c_o_GCJ=yes
16631
 
     fi
16632
 
   fi
16633
 
   chmod u+w . 2>&5
16634
 
   $rm conftest*
16635
 
   # SGI C++ compiler will create directory out/ii_files/ for
16636
 
   # template instantiation
16637
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16638
 
   $rm out/* && rmdir out
16639
 
   cd ..
16640
 
   rmdir conftest
16641
 
   $rm conftest*
16642
 
 
16643
 
fi
16644
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16645
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16646
 
 
16647
 
 
16648
 
hard_links="nottested"
16649
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16650
 
  # do not overwrite the value of need_locks provided by the user
16651
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16652
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16653
 
  hard_links=yes
16654
 
  $rm conftest*
16655
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16656
 
  touch conftest.a
16657
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16658
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16659
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16660
 
echo "${ECHO_T}$hard_links" >&6; }
16661
 
  if test "$hard_links" = no; then
16662
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16663
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16664
 
    need_locks=warn
16665
 
  fi
16666
 
else
16667
 
  need_locks=no
16668
 
fi
16669
 
 
16670
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16671
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16672
 
 
16673
 
  runpath_var=
16674
 
  allow_undefined_flag_GCJ=
16675
 
  enable_shared_with_static_runtimes_GCJ=no
16676
 
  archive_cmds_GCJ=
16677
 
  archive_expsym_cmds_GCJ=
16678
 
  old_archive_From_new_cmds_GCJ=
16679
 
  old_archive_from_expsyms_cmds_GCJ=
16680
 
  export_dynamic_flag_spec_GCJ=
16681
 
  whole_archive_flag_spec_GCJ=
16682
 
  thread_safe_flag_spec_GCJ=
16683
 
  hardcode_libdir_flag_spec_GCJ=
16684
 
  hardcode_libdir_flag_spec_ld_GCJ=
16685
 
  hardcode_libdir_separator_GCJ=
16686
 
  hardcode_direct_GCJ=no
16687
 
  hardcode_minus_L_GCJ=no
16688
 
  hardcode_shlibpath_var_GCJ=unsupported
16689
 
  link_all_deplibs_GCJ=unknown
16690
 
  hardcode_automatic_GCJ=no
16691
 
  module_cmds_GCJ=
16692
 
  module_expsym_cmds_GCJ=
16693
 
  always_export_symbols_GCJ=no
16694
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16695
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16696
 
  # included in the symbol list
16697
 
  include_expsyms_GCJ=
16698
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16699
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16700
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16701
 
  # as well as any symbol that contains `d'.
16702
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16703
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16704
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16705
 
  # the symbol is explicitly referenced.  Since portable code cannot
16706
 
  # rely on this symbol name, it's probably fine to never include it in
16707
 
  # preloaded symbol tables.
16708
 
  extract_expsyms_cmds=
16709
 
  # Just being paranoid about ensuring that cc_basename is set.
16710
 
  for cc_temp in $compiler""; do
16711
 
  case $cc_temp in
16712
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16713
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16714
 
    \-*) ;;
16715
 
    *) break;;
16716
 
  esac
16717
 
done
16718
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16719
 
 
16720
 
  case $host_os in
16721
 
  cygwin* | mingw* | pw32*)
16722
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16723
 
    # When not using gcc, we currently assume that we are using
16724
 
    # Microsoft Visual C++.
16725
 
    if test "$GCC" != yes; then
16726
 
      with_gnu_ld=no
16727
 
    fi
16728
 
    ;;
16729
 
  interix*)
16730
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16731
 
    with_gnu_ld=yes
16732
 
    ;;
16733
 
  openbsd*)
16734
 
    with_gnu_ld=no
16735
 
    ;;
16736
 
  esac
16737
 
 
16738
 
  ld_shlibs_GCJ=yes
16739
 
  if test "$with_gnu_ld" = yes; then
16740
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16741
 
    wlarc='${wl}'
16742
 
 
16743
 
    # Set some defaults for GNU ld with shared library support. These
16744
 
    # are reset later if shared libraries are not supported. Putting them
16745
 
    # here allows them to be overridden if necessary.
16746
 
    runpath_var=LD_RUN_PATH
16747
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16748
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16749
 
    # ancient GNU ld didn't support --whole-archive et. al.
16750
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16751
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16752
 
      else
16753
 
        whole_archive_flag_spec_GCJ=
16754
 
    fi
16755
 
    supports_anon_versioning=no
16756
 
    case `$LD -v 2>/dev/null` in
16757
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16758
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16759
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16760
 
      *\ 2.11.*) ;; # other 2.11 versions
16761
 
      *) supports_anon_versioning=yes ;;
16762
 
    esac
16763
 
 
16764
 
    # See if GNU ld supports shared libraries.
16765
 
    case $host_os in
16766
 
    aix3* | aix4* | aix5*)
16767
 
      # On AIX/PPC, the GNU linker is very broken
16768
 
      if test "$host_cpu" != ia64; then
16769
 
        ld_shlibs_GCJ=no
16770
 
        cat <<EOF 1>&2
16771
 
 
16772
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16773
 
*** to be unable to reliably create shared libraries on AIX.
16774
 
*** Therefore, libtool is disabling shared libraries support.  If you
16775
 
*** really care for shared libraries, you may want to modify your PATH
16776
 
*** so that a non-GNU linker is found, and then restart.
16777
 
 
16778
 
EOF
16779
 
      fi
16780
 
      ;;
16781
 
 
16782
 
    amigaos*)
16783
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16784
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16785
 
      hardcode_minus_L_GCJ=yes
16786
 
 
16787
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16788
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16789
 
      # to version 4, is to share data among multiple programs linked
16790
 
      # with the same dynamic library.  Since this doesn't match the
16791
 
      # behavior of shared libraries on other platforms, we can't use
16792
 
      # them.
16793
 
      ld_shlibs_GCJ=no
16794
 
      ;;
16795
 
 
16796
 
    beos*)
16797
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16798
 
        allow_undefined_flag_GCJ=unsupported
16799
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16800
 
        # support --undefined.  This deserves some investigation.  FIXME
16801
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16802
 
      else
16803
 
        ld_shlibs_GCJ=no
16804
 
      fi
16805
 
      ;;
16806
 
 
16807
 
    cygwin* | mingw* | pw32*)
16808
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16809
 
      # as there is no search path for DLLs.
16810
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
16811
 
      allow_undefined_flag_GCJ=unsupported
16812
 
      always_export_symbols_GCJ=no
16813
 
      enable_shared_with_static_runtimes_GCJ=yes
16814
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16815
 
 
16816
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16817
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16818
 
        # If the export-symbols file already is a .def file (1st line
16819
 
        # is EXPORTS), use it as is; otherwise, prepend...
16820
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16821
 
          cp $export_symbols $output_objdir/$soname.def;
16822
 
        else
16823
 
          echo EXPORTS > $output_objdir/$soname.def;
16824
 
          cat $export_symbols >> $output_objdir/$soname.def;
16825
 
        fi~
16826
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16827
 
      else
16828
 
        ld_shlibs_GCJ=no
16829
 
      fi
16830
 
      ;;
16831
 
 
16832
 
    interix3*)
16833
 
      hardcode_direct_GCJ=no
16834
 
      hardcode_shlibpath_var_GCJ=no
16835
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16836
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
16837
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16838
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16839
 
      # default) and relocated if they conflict, which is a slow very memory
16840
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16841
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16842
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16843
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16844
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16845
 
      ;;
16846
 
 
16847
 
    linux* | k*bsd*-gnu)
16848
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16849
 
        tmp_addflag=
16850
 
        case $cc_basename,$host_cpu in
16851
 
        pgcc*)                          # Portland Group C compiler
16852
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16853
 
          tmp_addflag=' $pic_flag'
16854
 
          ;;
16855
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16856
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16857
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16858
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16859
 
          tmp_addflag=' -i_dynamic' ;;
16860
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16861
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16862
 
        ifc* | ifort*)                  # Intel Fortran compiler
16863
 
          tmp_addflag=' -nofor_main' ;;
16864
 
        esac
16865
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16866
 
 
16867
 
        if test $supports_anon_versioning = yes; then
16868
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16869
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16870
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16871
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16872
 
        fi
16873
 
        link_all_deplibs_GCJ=no
16874
 
      else
16875
 
        ld_shlibs_GCJ=no
16876
 
      fi
16877
 
      ;;
16878
 
 
16879
 
    netbsd* | netbsdelf*-gnu)
16880
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16881
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16882
 
        wlarc=
16883
 
      else
16884
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16885
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16886
 
      fi
16887
 
      ;;
16888
 
 
16889
 
    solaris*)
16890
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16891
 
        ld_shlibs_GCJ=no
16892
 
        cat <<EOF 1>&2
16893
 
 
16894
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16895
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16896
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16897
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16898
 
*** your PATH or compiler configuration so that the native linker is
16899
 
*** used, and then restart.
16900
 
 
16901
 
EOF
16902
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16903
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16904
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16905
 
      else
16906
 
        ld_shlibs_GCJ=no
16907
 
      fi
16908
 
      ;;
16909
 
 
16910
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16911
 
      case `$LD -v 2>&1` in
16912
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16913
 
        ld_shlibs_GCJ=no
16914
 
        cat <<_LT_EOF 1>&2
16915
 
 
16916
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16917
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16918
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16919
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16920
 
*** your PATH or compiler configuration so that the native linker is
16921
 
*** used, and then restart.
16922
 
 
16923
 
_LT_EOF
16924
 
        ;;
16925
 
        *)
16926
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16927
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16928
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16929
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16930
 
          else
16931
 
            ld_shlibs_GCJ=no
16932
 
          fi
16933
 
        ;;
16934
 
      esac
16935
 
      ;;
16936
 
 
16937
 
    sunos4*)
16938
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16939
 
      wlarc=
16940
 
      hardcode_direct_GCJ=yes
16941
 
      hardcode_shlibpath_var_GCJ=no
16942
 
      ;;
16943
 
 
16944
 
    *)
16945
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16946
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16947
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16948
 
      else
16949
 
        ld_shlibs_GCJ=no
16950
 
      fi
16951
 
      ;;
16952
 
    esac
16953
 
 
16954
 
    if test "$ld_shlibs_GCJ" = no; then
16955
 
      runpath_var=
16956
 
      hardcode_libdir_flag_spec_GCJ=
16957
 
      export_dynamic_flag_spec_GCJ=
16958
 
      whole_archive_flag_spec_GCJ=
16959
 
    fi
16960
 
  else
16961
 
    # PORTME fill in a description of your system's linker (not GNU ld)
16962
 
    case $host_os in
16963
 
    aix3*)
16964
 
      allow_undefined_flag_GCJ=unsupported
16965
 
      always_export_symbols_GCJ=yes
16966
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16967
 
      # Note: this linker hardcodes the directories in LIBPATH if there
16968
 
      # are no directories specified by -L.
16969
 
      hardcode_minus_L_GCJ=yes
16970
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16971
 
        # Neither direct hardcoding nor static linking is supported with a
16972
 
        # broken collect2.
16973
 
        hardcode_direct_GCJ=unsupported
16974
 
      fi
16975
 
      ;;
16976
 
 
16977
 
    aix4* | aix5*)
16978
 
      if test "$host_cpu" = ia64; then
16979
 
        # On IA64, the linker does run time linking by default, so we don't
16980
 
        # have to do anything special.
16981
 
        aix_use_runtimelinking=no
16982
 
        exp_sym_flag='-Bexport'
16983
 
        no_entry_flag=""
16984
 
      else
16985
 
        # If we're using GNU nm, then we don't want the "-C" option.
16986
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
16987
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16988
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16989
 
        else
16990
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16991
 
        fi
16992
 
        aix_use_runtimelinking=no
16993
 
 
16994
 
        # Test if we are trying to use run time linking or normal
16995
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16996
 
        # need to do runtime linking.
16997
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16998
 
          for ld_flag in $LDFLAGS; do
16999
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17000
 
            aix_use_runtimelinking=yes
17001
 
            break
17002
 
          fi
17003
 
          done
17004
 
          ;;
17005
 
        esac
17006
 
 
17007
 
        exp_sym_flag='-bexport'
17008
 
        no_entry_flag='-bnoentry'
17009
 
      fi
17010
 
 
17011
 
      # When large executables or shared objects are built, AIX ld can
17012
 
      # have problems creating the table of contents.  If linking a library
17013
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17014
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17015
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17016
 
 
17017
 
      archive_cmds_GCJ=''
17018
 
      hardcode_direct_GCJ=yes
17019
 
      hardcode_libdir_separator_GCJ=':'
17020
 
      link_all_deplibs_GCJ=yes
17021
 
 
17022
 
      if test "$GCC" = yes; then
17023
 
        case $host_os in aix4.[012]|aix4.[012].*)
17024
 
        # We only want to do this on AIX 4.2 and lower, the check
17025
 
        # below for broken collect2 doesn't work under 4.3+
17026
 
          collect2name=`${CC} -print-prog-name=collect2`
17027
 
          if test -f "$collect2name" && \
17028
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17029
 
          then
17030
 
          # We have reworked collect2
17031
 
          hardcode_direct_GCJ=yes
17032
 
          else
17033
 
          # We have old collect2
17034
 
          hardcode_direct_GCJ=unsupported
17035
 
          # It fails to find uninstalled libraries when the uninstalled
17036
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17037
 
          # to unsupported forces relinking
17038
 
          hardcode_minus_L_GCJ=yes
17039
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17040
 
          hardcode_libdir_separator_GCJ=
17041
 
          fi
17042
 
          ;;
17043
 
        esac
17044
 
        shared_flag='-shared'
17045
 
        if test "$aix_use_runtimelinking" = yes; then
17046
 
          shared_flag="$shared_flag "'${wl}-G'
17047
 
        fi
17048
 
      else
17049
 
        # not using gcc
17050
 
        if test "$host_cpu" = ia64; then
17051
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17052
 
        # chokes on -Wl,-G. The following line is correct:
17053
 
          shared_flag='-G'
17054
 
        else
17055
 
          if test "$aix_use_runtimelinking" = yes; then
17056
 
            shared_flag='${wl}-G'
17057
 
          else
17058
 
            shared_flag='${wl}-bM:SRE'
17059
 
          fi
17060
 
        fi
17061
 
      fi
17062
 
 
17063
 
      # It seems that -bexpall does not export symbols beginning with
17064
 
      # underscore (_), so it is better to generate a list of symbols to export.
17065
 
      always_export_symbols_GCJ=yes
17066
 
      if test "$aix_use_runtimelinking" = yes; then
17067
 
        # Warning - without using the other runtime loading flags (-brtl),
17068
 
        # -berok will link without error, but may produce a broken library.
17069
 
        allow_undefined_flag_GCJ='-berok'
17070
 
       # Determine the default libpath from the value encoded in an empty executable.
17071
 
       cat >conftest.$ac_ext <<_ACEOF
17072
 
/* confdefs.h.  */
17073
 
_ACEOF
17074
 
cat confdefs.h >>conftest.$ac_ext
17075
 
cat >>conftest.$ac_ext <<_ACEOF
17076
 
/* end confdefs.h.  */
17077
 
 
17078
 
int
17079
 
main ()
17080
 
{
17081
 
 
17082
 
  ;
17083
 
  return 0;
17084
 
}
17085
 
_ACEOF
17086
 
rm -f conftest.$ac_objext conftest$ac_exeext
17087
 
if { (ac_try="$ac_link"
17088
 
case "(($ac_try" in
17089
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17090
 
  *) ac_try_echo=$ac_try;;
17091
 
esac
17092
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17093
 
  (eval "$ac_link") 2>conftest.er1
17094
 
  ac_status=$?
17095
 
  grep -v '^ *+' conftest.er1 >conftest.err
17096
 
  rm -f conftest.er1
17097
 
  cat conftest.err >&5
17098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099
 
  (exit $ac_status); } && {
17100
 
         test -z "$ac_c_werror_flag" ||
17101
 
         test ! -s conftest.err
17102
 
       } && test -s conftest$ac_exeext &&
17103
 
       $as_test_x conftest$ac_exeext; then
17104
 
 
17105
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17106
 
}'`
17107
 
# Check for a 64-bit object if we didn't find anything.
17108
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17109
 
}'`; fi
17110
 
else
17111
 
  echo "$as_me: failed program was:" >&5
17112
 
sed 's/^/| /' conftest.$ac_ext >&5
17113
 
 
17114
 
 
17115
 
fi
17116
 
 
17117
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17118
 
      conftest$ac_exeext conftest.$ac_ext
17119
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17120
 
 
17121
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17122
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17123
 
       else
17124
 
        if test "$host_cpu" = ia64; then
17125
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17126
 
          allow_undefined_flag_GCJ="-z nodefs"
17127
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17128
 
        else
17129
 
         # Determine the default libpath from the value encoded in an empty executable.
17130
 
         cat >conftest.$ac_ext <<_ACEOF
17131
 
/* confdefs.h.  */
17132
 
_ACEOF
17133
 
cat confdefs.h >>conftest.$ac_ext
17134
 
cat >>conftest.$ac_ext <<_ACEOF
17135
 
/* end confdefs.h.  */
17136
 
 
17137
 
int
17138
 
main ()
17139
 
{
17140
 
 
17141
 
  ;
17142
 
  return 0;
17143
 
}
17144
 
_ACEOF
17145
 
rm -f conftest.$ac_objext conftest$ac_exeext
17146
 
if { (ac_try="$ac_link"
17147
 
case "(($ac_try" in
17148
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149
 
  *) ac_try_echo=$ac_try;;
17150
 
esac
17151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152
 
  (eval "$ac_link") 2>conftest.er1
17153
 
  ac_status=$?
17154
 
  grep -v '^ *+' conftest.er1 >conftest.err
17155
 
  rm -f conftest.er1
17156
 
  cat conftest.err >&5
17157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158
 
  (exit $ac_status); } && {
17159
 
         test -z "$ac_c_werror_flag" ||
17160
 
         test ! -s conftest.err
17161
 
       } && test -s conftest$ac_exeext &&
17162
 
       $as_test_x conftest$ac_exeext; then
17163
 
 
17164
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17165
 
}'`
17166
 
# Check for a 64-bit object if we didn't find anything.
17167
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17168
 
}'`; fi
17169
 
else
17170
 
  echo "$as_me: failed program was:" >&5
17171
 
sed 's/^/| /' conftest.$ac_ext >&5
17172
 
 
17173
 
 
17174
 
fi
17175
 
 
17176
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17177
 
      conftest$ac_exeext conftest.$ac_ext
17178
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17179
 
 
17180
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17181
 
          # Warning - without using the other run time loading flags,
17182
 
          # -berok will link without error, but may produce a broken library.
17183
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17184
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17185
 
          # Exported symbols can be pulled into shared objects from archives
17186
 
          whole_archive_flag_spec_GCJ='$convenience'
17187
 
          archive_cmds_need_lc_GCJ=yes
17188
 
          # This is similar to how AIX traditionally builds its shared libraries.
17189
 
          archive_expsym_cmds_GCJ="\$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'
17190
 
        fi
17191
 
      fi
17192
 
      ;;
17193
 
 
17194
 
    amigaos*)
17195
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17196
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17197
 
      hardcode_minus_L_GCJ=yes
17198
 
      # see comment about different semantics on the GNU ld section
17199
 
      ld_shlibs_GCJ=no
17200
 
      ;;
17201
 
 
17202
 
    bsdi[45]*)
17203
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17204
 
      ;;
17205
 
 
17206
 
    cygwin* | mingw* | pw32*)
17207
 
      # When not using gcc, we currently assume that we are using
17208
 
      # Microsoft Visual C++.
17209
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17210
 
      # no search path for DLLs.
17211
 
      hardcode_libdir_flag_spec_GCJ=' '
17212
 
      allow_undefined_flag_GCJ=unsupported
17213
 
      # Tell ltmain to make .lib files, not .a files.
17214
 
      libext=lib
17215
 
      # Tell ltmain to make .dll files, not .so files.
17216
 
      shrext_cmds=".dll"
17217
 
      # FIXME: Setting linknames here is a bad hack.
17218
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17219
 
      # The linker will automatically build a .lib file if we build a DLL.
17220
 
      old_archive_From_new_cmds_GCJ='true'
17221
 
      # FIXME: Should let the user specify the lib program.
17222
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17223
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17224
 
      enable_shared_with_static_runtimes_GCJ=yes
17225
 
      ;;
17226
 
 
17227
 
    darwin* | rhapsody*)
17228
 
      case $host_os in
17229
 
        rhapsody* | darwin1.[012])
17230
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17231
 
         ;;
17232
 
       *) # Darwin 1.3 on
17233
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17234
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17235
 
         else
17236
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17237
 
             10.[012])
17238
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17239
 
               ;;
17240
 
             10.*)
17241
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17242
 
               ;;
17243
 
           esac
17244
 
         fi
17245
 
         ;;
17246
 
      esac
17247
 
      archive_cmds_need_lc_GCJ=no
17248
 
      hardcode_direct_GCJ=no
17249
 
      hardcode_automatic_GCJ=yes
17250
 
      hardcode_shlibpath_var_GCJ=unsupported
17251
 
      whole_archive_flag_spec_GCJ=''
17252
 
      link_all_deplibs_GCJ=yes
17253
 
    if test "$GCC" = yes ; then
17254
 
        output_verbose_link_cmd='echo'
17255
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17256
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17257
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17258
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17259
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17260
 
    else
17261
 
      case $cc_basename in
17262
 
        xlc*)
17263
 
         output_verbose_link_cmd='echo'
17264
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17265
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17266
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17267
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17268
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17269
 
          ;;
17270
 
       *)
17271
 
         ld_shlibs_GCJ=no
17272
 
          ;;
17273
 
      esac
17274
 
    fi
17275
 
      ;;
17276
 
 
17277
 
    dgux*)
17278
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17279
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17280
 
      hardcode_shlibpath_var_GCJ=no
17281
 
      ;;
17282
 
 
17283
 
    freebsd1*)
17284
 
      ld_shlibs_GCJ=no
17285
 
      ;;
17286
 
 
17287
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17288
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17289
 
    # does not break anything, and helps significantly (at the cost of a little
17290
 
    # extra space).
17291
 
    freebsd2.2*)
17292
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17293
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17294
 
      hardcode_direct_GCJ=yes
17295
 
      hardcode_shlibpath_var_GCJ=no
17296
 
      ;;
17297
 
 
17298
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17299
 
    freebsd2*)
17300
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17301
 
      hardcode_direct_GCJ=yes
17302
 
      hardcode_minus_L_GCJ=yes
17303
 
      hardcode_shlibpath_var_GCJ=no
17304
 
      ;;
17305
 
 
17306
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17307
 
    freebsd* | dragonfly*)
17308
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17309
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17310
 
      hardcode_direct_GCJ=yes
17311
 
      hardcode_shlibpath_var_GCJ=no
17312
 
      ;;
17313
 
 
17314
 
    hpux9*)
17315
 
      if test "$GCC" = yes; then
17316
 
        archive_cmds_GCJ='$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'
17317
 
      else
17318
 
        archive_cmds_GCJ='$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'
17319
 
      fi
17320
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17321
 
      hardcode_libdir_separator_GCJ=:
17322
 
      hardcode_direct_GCJ=yes
17323
 
 
17324
 
      # hardcode_minus_L: Not really in the search PATH,
17325
 
      # but as the default location of the library.
17326
 
      hardcode_minus_L_GCJ=yes
17327
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17328
 
      ;;
17329
 
 
17330
 
    hpux10*)
17331
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17332
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17333
 
      else
17334
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17335
 
      fi
17336
 
      if test "$with_gnu_ld" = no; then
17337
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17338
 
        hardcode_libdir_separator_GCJ=:
17339
 
 
17340
 
        hardcode_direct_GCJ=yes
17341
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17342
 
 
17343
 
        # hardcode_minus_L: Not really in the search PATH,
17344
 
        # but as the default location of the library.
17345
 
        hardcode_minus_L_GCJ=yes
17346
 
      fi
17347
 
      ;;
17348
 
 
17349
 
    hpux11*)
17350
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17351
 
        case $host_cpu in
17352
 
        hppa*64*)
17353
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17354
 
          ;;
17355
 
        ia64*)
17356
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17357
 
          ;;
17358
 
        *)
17359
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17360
 
          ;;
17361
 
        esac
17362
 
      else
17363
 
        case $host_cpu in
17364
 
        hppa*64*)
17365
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17366
 
          ;;
17367
 
        ia64*)
17368
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17369
 
          ;;
17370
 
        *)
17371
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17372
 
          ;;
17373
 
        esac
17374
 
      fi
17375
 
      if test "$with_gnu_ld" = no; then
17376
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17377
 
        hardcode_libdir_separator_GCJ=:
17378
 
 
17379
 
        case $host_cpu in
17380
 
        hppa*64*|ia64*)
17381
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17382
 
          hardcode_direct_GCJ=no
17383
 
          hardcode_shlibpath_var_GCJ=no
17384
 
          ;;
17385
 
        *)
17386
 
          hardcode_direct_GCJ=yes
17387
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17388
 
 
17389
 
          # hardcode_minus_L: Not really in the search PATH,
17390
 
          # but as the default location of the library.
17391
 
          hardcode_minus_L_GCJ=yes
17392
 
          ;;
17393
 
        esac
17394
 
      fi
17395
 
      ;;
17396
 
 
17397
 
    irix5* | irix6* | nonstopux*)
17398
 
      if test "$GCC" = yes; then
17399
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17400
 
      else
17401
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17402
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17403
 
      fi
17404
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17405
 
      hardcode_libdir_separator_GCJ=:
17406
 
      link_all_deplibs_GCJ=yes
17407
 
      ;;
17408
 
 
17409
 
    netbsd* | netbsdelf*-gnu)
17410
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17411
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17412
 
      else
17413
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17414
 
      fi
17415
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17416
 
      hardcode_direct_GCJ=yes
17417
 
      hardcode_shlibpath_var_GCJ=no
17418
 
      ;;
17419
 
 
17420
 
    newsos6)
17421
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17422
 
      hardcode_direct_GCJ=yes
17423
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17424
 
      hardcode_libdir_separator_GCJ=:
17425
 
      hardcode_shlibpath_var_GCJ=no
17426
 
      ;;
17427
 
 
17428
 
    openbsd*)
17429
 
      hardcode_direct_GCJ=yes
17430
 
      hardcode_shlibpath_var_GCJ=no
17431
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17432
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17433
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17434
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17435
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17436
 
      else
17437
 
       case $host_os in
17438
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17439
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17440
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17441
 
           ;;
17442
 
         *)
17443
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17444
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17445
 
           ;;
17446
 
       esac
17447
 
      fi
17448
 
      ;;
17449
 
 
17450
 
    os2*)
17451
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17452
 
      hardcode_minus_L_GCJ=yes
17453
 
      allow_undefined_flag_GCJ=unsupported
17454
 
      archive_cmds_GCJ='$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'
17455
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17456
 
      ;;
17457
 
 
17458
 
    osf3*)
17459
 
      if test "$GCC" = yes; then
17460
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17461
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17462
 
      else
17463
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17464
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17465
 
      fi
17466
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17467
 
      hardcode_libdir_separator_GCJ=:
17468
 
      ;;
17469
 
 
17470
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17471
 
      if test "$GCC" = yes; then
17472
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17473
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17474
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17475
 
      else
17476
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17477
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17478
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17479
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17480
 
 
17481
 
        # Both c and cxx compiler support -rpath directly
17482
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17483
 
      fi
17484
 
      hardcode_libdir_separator_GCJ=:
17485
 
      ;;
17486
 
 
17487
 
    solaris*)
17488
 
      no_undefined_flag_GCJ=' -z text'
17489
 
      if test "$GCC" = yes; then
17490
 
        wlarc='${wl}'
17491
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17492
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17493
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17494
 
      else
17495
 
        wlarc=''
17496
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17497
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17498
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17499
 
      fi
17500
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17501
 
      hardcode_shlibpath_var_GCJ=no
17502
 
      case $host_os in
17503
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17504
 
      *)
17505
 
        # The compiler driver will combine linker options so we
17506
 
        # cannot just pass the convience library names through
17507
 
        # without $wl, iff we do not link with $LD.
17508
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
17509
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17510
 
        case $wlarc in
17511
 
        '')
17512
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17513
 
        *)
17514
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17515
 
        esac ;;
17516
 
      esac
17517
 
      link_all_deplibs_GCJ=yes
17518
 
      ;;
17519
 
 
17520
 
    sunos4*)
17521
 
      if test "x$host_vendor" = xsequent; then
17522
 
        # Use $CC to link under sequent, because it throws in some extra .o
17523
 
        # files that make .init and .fini sections work.
17524
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17525
 
      else
17526
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17527
 
      fi
17528
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17529
 
      hardcode_direct_GCJ=yes
17530
 
      hardcode_minus_L_GCJ=yes
17531
 
      hardcode_shlibpath_var_GCJ=no
17532
 
      ;;
17533
 
 
17534
 
    sysv4)
17535
 
      case $host_vendor in
17536
 
        sni)
17537
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17538
 
          hardcode_direct_GCJ=yes # is this really true???
17539
 
        ;;
17540
 
        siemens)
17541
 
          ## LD is ld it makes a PLAMLIB
17542
 
          ## CC just makes a GrossModule.
17543
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17544
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17545
 
          hardcode_direct_GCJ=no
17546
 
        ;;
17547
 
        motorola)
17548
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17549
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17550
 
        ;;
17551
 
      esac
17552
 
      runpath_var='LD_RUN_PATH'
17553
 
      hardcode_shlibpath_var_GCJ=no
17554
 
      ;;
17555
 
 
17556
 
    sysv4.3*)
17557
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17558
 
      hardcode_shlibpath_var_GCJ=no
17559
 
      export_dynamic_flag_spec_GCJ='-Bexport'
17560
 
      ;;
17561
 
 
17562
 
    sysv4*MP*)
17563
 
      if test -d /usr/nec; then
17564
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17565
 
        hardcode_shlibpath_var_GCJ=no
17566
 
        runpath_var=LD_RUN_PATH
17567
 
        hardcode_runpath_var=yes
17568
 
        ld_shlibs_GCJ=yes
17569
 
      fi
17570
 
      ;;
17571
 
 
17572
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17573
 
      no_undefined_flag_GCJ='${wl}-z,text'
17574
 
      archive_cmds_need_lc_GCJ=no
17575
 
      hardcode_shlibpath_var_GCJ=no
17576
 
      runpath_var='LD_RUN_PATH'
17577
 
 
17578
 
      if test "$GCC" = yes; then
17579
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17580
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17581
 
      else
17582
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17583
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17584
 
      fi
17585
 
      ;;
17586
 
 
17587
 
    sysv5* | sco3.2v5* | sco5v6*)
17588
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17589
 
      # link with -lc, and that would cause any symbols used from libc to
17590
 
      # always be unresolved, which means just about no library would
17591
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17592
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17593
 
      # as -z defs.
17594
 
      no_undefined_flag_GCJ='${wl}-z,text'
17595
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
17596
 
      archive_cmds_need_lc_GCJ=no
17597
 
      hardcode_shlibpath_var_GCJ=no
17598
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17599
 
      hardcode_libdir_separator_GCJ=':'
17600
 
      link_all_deplibs_GCJ=yes
17601
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17602
 
      runpath_var='LD_RUN_PATH'
17603
 
 
17604
 
      if test "$GCC" = yes; then
17605
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17606
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17607
 
      else
17608
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17609
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17610
 
      fi
17611
 
      ;;
17612
 
 
17613
 
    uts4*)
17614
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17615
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17616
 
      hardcode_shlibpath_var_GCJ=no
17617
 
      ;;
17618
 
 
17619
 
    *)
17620
 
      ld_shlibs_GCJ=no
17621
 
      ;;
17622
 
    esac
17623
 
  fi
17624
 
 
17625
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17626
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17627
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17628
 
 
17629
 
#
17630
 
# Do we need to explicitly link libc?
17631
 
#
17632
 
case "x$archive_cmds_need_lc_GCJ" in
17633
 
x|xyes)
17634
 
  # Assume -lc should be added
17635
 
  archive_cmds_need_lc_GCJ=yes
17636
 
 
17637
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17638
 
    case $archive_cmds_GCJ in
17639
 
    *'~'*)
17640
 
      # FIXME: we may have to deal with multi-command sequences.
17641
 
      ;;
17642
 
    '$CC '*)
17643
 
      # Test whether the compiler implicitly links with -lc since on some
17644
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17645
 
      # to ld, don't add -lc before -lgcc.
17646
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17647
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17648
 
      $rm conftest*
17649
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17650
 
 
17651
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652
 
  (eval $ac_compile) 2>&5
17653
 
  ac_status=$?
17654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655
 
  (exit $ac_status); } 2>conftest.err; then
17656
 
        soname=conftest
17657
 
        lib=conftest
17658
 
        libobjs=conftest.$ac_objext
17659
 
        deplibs=
17660
 
        wl=$lt_prog_compiler_wl_GCJ
17661
 
        pic_flag=$lt_prog_compiler_pic_GCJ
17662
 
        compiler_flags=-v
17663
 
        linker_flags=-v
17664
 
        verstring=
17665
 
        output_objdir=.
17666
 
        libname=conftest
17667
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17668
 
        allow_undefined_flag_GCJ=
17669
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17670
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17671
 
  ac_status=$?
17672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673
 
  (exit $ac_status); }
17674
 
        then
17675
 
          archive_cmds_need_lc_GCJ=no
17676
 
        else
17677
 
          archive_cmds_need_lc_GCJ=yes
17678
 
        fi
17679
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17680
 
      else
17681
 
        cat conftest.err 1>&5
17682
 
      fi
17683
 
      $rm conftest*
17684
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17685
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17686
 
      ;;
17687
 
    esac
17688
 
  fi
17689
 
  ;;
17690
 
esac
17691
 
 
17692
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17693
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17694
 
library_names_spec=
17695
 
libname_spec='lib$name'
17696
 
soname_spec=
17697
 
shrext_cmds=".so"
17698
 
postinstall_cmds=
17699
 
postuninstall_cmds=
17700
 
finish_cmds=
17701
 
finish_eval=
17702
 
shlibpath_var=
17703
 
shlibpath_overrides_runpath=unknown
17704
 
version_type=none
17705
 
dynamic_linker="$host_os ld.so"
17706
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17707
 
if test "$GCC" = yes; then
17708
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17709
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17710
 
    # if the path contains ";" then we assume it to be the separator
17711
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17712
 
    # assumed that no part of a normal pathname contains ";" but that should
17713
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17714
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17715
 
  else
17716
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17717
 
  fi
17718
 
else
17719
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17720
 
fi
17721
 
need_lib_prefix=unknown
17722
 
hardcode_into_libs=no
17723
 
 
17724
 
# when you set need_version to no, make sure it does not cause -set_version
17725
 
# flags to be left without arguments
17726
 
need_version=unknown
17727
 
 
17728
 
case $host_os in
17729
 
aix3*)
17730
 
  version_type=linux
17731
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17732
 
  shlibpath_var=LIBPATH
17733
 
 
17734
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17735
 
  soname_spec='${libname}${release}${shared_ext}$major'
17736
 
  ;;
17737
 
 
17738
 
aix4* | aix5*)
17739
 
  version_type=linux
17740
 
  need_lib_prefix=no
17741
 
  need_version=no
17742
 
  hardcode_into_libs=yes
17743
 
  if test "$host_cpu" = ia64; then
17744
 
    # AIX 5 supports IA64
17745
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17746
 
    shlibpath_var=LD_LIBRARY_PATH
17747
 
  else
17748
 
    # With GCC up to 2.95.x, collect2 would create an import file
17749
 
    # for dependence libraries.  The import file would start with
17750
 
    # the line `#! .'.  This would cause the generated library to
17751
 
    # depend on `.', always an invalid library.  This was fixed in
17752
 
    # development snapshots of GCC prior to 3.0.
17753
 
    case $host_os in
17754
 
      aix4 | aix4.[01] | aix4.[01].*)
17755
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17756
 
           echo ' yes '
17757
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17758
 
        :
17759
 
      else
17760
 
        can_build_shared=no
17761
 
      fi
17762
 
      ;;
17763
 
    esac
17764
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17765
 
    # soname into executable. Probably we can add versioning support to
17766
 
    # collect2, so additional links can be useful in future.
17767
 
    if test "$aix_use_runtimelinking" = yes; then
17768
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17769
 
      # instead of lib<name>.a to let people know that these are not
17770
 
      # typical AIX shared libraries.
17771
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17772
 
    else
17773
 
      # We preserve .a as extension for shared libraries through AIX4.2
17774
 
      # and later when we are not doing run time linking.
17775
 
      library_names_spec='${libname}${release}.a $libname.a'
17776
 
      soname_spec='${libname}${release}${shared_ext}$major'
17777
 
    fi
17778
 
    shlibpath_var=LIBPATH
17779
 
  fi
17780
 
  ;;
17781
 
 
17782
 
amigaos*)
17783
 
  library_names_spec='$libname.ixlibrary $libname.a'
17784
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17785
 
  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'
17786
 
  ;;
17787
 
 
17788
 
beos*)
17789
 
  library_names_spec='${libname}${shared_ext}'
17790
 
  dynamic_linker="$host_os ld.so"
17791
 
  shlibpath_var=LIBRARY_PATH
17792
 
  ;;
17793
 
 
17794
 
bsdi[45]*)
17795
 
  version_type=linux
17796
 
  need_version=no
17797
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17798
 
  soname_spec='${libname}${release}${shared_ext}$major'
17799
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17800
 
  shlibpath_var=LD_LIBRARY_PATH
17801
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17802
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17803
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17804
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17805
 
  # libtool to hard-code these into programs
17806
 
  ;;
17807
 
 
17808
 
cygwin* | mingw* | pw32*)
17809
 
  version_type=windows
17810
 
  shrext_cmds=".dll"
17811
 
  need_version=no
17812
 
  need_lib_prefix=no
17813
 
 
17814
 
  case $GCC,$host_os in
17815
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17816
 
    library_names_spec='$libname.dll.a'
17817
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17818
 
    postinstall_cmds='base_file=`basename \${file}`~
17819
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17820
 
      dldir=$destdir/`dirname \$dlpath`~
17821
 
      test -d \$dldir || mkdir -p \$dldir~
17822
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17823
 
      chmod a+x \$dldir/$dlname'
17824
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17825
 
      dlpath=$dir/\$dldll~
17826
 
       $rm \$dlpath'
17827
 
    shlibpath_overrides_runpath=yes
17828
 
 
17829
 
    case $host_os in
17830
 
    cygwin*)
17831
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17832
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17833
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17834
 
      ;;
17835
 
    mingw*)
17836
 
      # MinGW DLLs use traditional 'lib' prefix
17837
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17838
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17839
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17840
 
        # It is most probably a Windows format PATH printed by
17841
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17842
 
        # path with ; separators, and with drive letters. We can handle the
17843
 
        # drive letters (cygwin fileutils understands them), so leave them,
17844
 
        # especially as we might pass files found there to a mingw objdump,
17845
 
        # which wouldn't understand a cygwinified path. Ahh.
17846
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17847
 
      else
17848
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17849
 
      fi
17850
 
      ;;
17851
 
    pw32*)
17852
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17853
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17854
 
      ;;
17855
 
    esac
17856
 
    ;;
17857
 
 
17858
 
  *)
17859
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17860
 
    ;;
17861
 
  esac
17862
 
  dynamic_linker='Win32 ld.exe'
17863
 
  # FIXME: first we should search . and the directory the executable is in
17864
 
  shlibpath_var=PATH
17865
 
  ;;
17866
 
 
17867
 
darwin* | rhapsody*)
17868
 
  dynamic_linker="$host_os dyld"
17869
 
  version_type=darwin
17870
 
  need_lib_prefix=no
17871
 
  need_version=no
17872
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17873
 
  soname_spec='${libname}${release}${major}$shared_ext'
17874
 
  shlibpath_overrides_runpath=yes
17875
 
  shlibpath_var=DYLD_LIBRARY_PATH
17876
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17877
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17878
 
  if test "$GCC" = yes; then
17879
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17880
 
  else
17881
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17882
 
  fi
17883
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17884
 
  ;;
17885
 
 
17886
 
dgux*)
17887
 
  version_type=linux
17888
 
  need_lib_prefix=no
17889
 
  need_version=no
17890
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17891
 
  soname_spec='${libname}${release}${shared_ext}$major'
17892
 
  shlibpath_var=LD_LIBRARY_PATH
17893
 
  ;;
17894
 
 
17895
 
freebsd1*)
17896
 
  dynamic_linker=no
17897
 
  ;;
17898
 
 
17899
 
freebsd* | dragonfly*)
17900
 
  # DragonFly does not have aout.  When/if they implement a new
17901
 
  # versioning mechanism, adjust this.
17902
 
  if test -x /usr/bin/objformat; then
17903
 
    objformat=`/usr/bin/objformat`
17904
 
  else
17905
 
    case $host_os in
17906
 
    freebsd[123]*) objformat=aout ;;
17907
 
    *) objformat=elf ;;
17908
 
    esac
17909
 
  fi
17910
 
  version_type=freebsd-$objformat
17911
 
  case $version_type in
17912
 
    freebsd-elf*)
17913
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17914
 
      need_version=no
17915
 
      need_lib_prefix=no
17916
 
      ;;
17917
 
    freebsd-*)
17918
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17919
 
      need_version=yes
17920
 
      ;;
17921
 
  esac
17922
 
  shlibpath_var=LD_LIBRARY_PATH
17923
 
  case $host_os in
17924
 
  freebsd2*)
17925
 
    shlibpath_overrides_runpath=yes
17926
 
    ;;
17927
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17928
 
    shlibpath_overrides_runpath=yes
17929
 
    hardcode_into_libs=yes
17930
 
    ;;
17931
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17932
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17933
 
    shlibpath_overrides_runpath=no
17934
 
    hardcode_into_libs=yes
17935
 
    ;;
17936
 
  freebsd*) # from 4.6 on
17937
 
    shlibpath_overrides_runpath=yes
17938
 
    hardcode_into_libs=yes
17939
 
    ;;
17940
 
  esac
17941
 
  ;;
17942
 
 
17943
 
gnu*)
17944
 
  version_type=linux
17945
 
  need_lib_prefix=no
17946
 
  need_version=no
17947
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17948
 
  soname_spec='${libname}${release}${shared_ext}$major'
17949
 
  shlibpath_var=LD_LIBRARY_PATH
17950
 
  hardcode_into_libs=yes
17951
 
  ;;
17952
 
 
17953
 
hpux9* | hpux10* | hpux11*)
17954
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17955
 
  # link against other versions.
17956
 
  version_type=sunos
17957
 
  need_lib_prefix=no
17958
 
  need_version=no
17959
 
  case $host_cpu in
17960
 
  ia64*)
17961
 
    shrext_cmds='.so'
17962
 
    hardcode_into_libs=yes
17963
 
    dynamic_linker="$host_os dld.so"
17964
 
    shlibpath_var=LD_LIBRARY_PATH
17965
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17966
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17967
 
    soname_spec='${libname}${release}${shared_ext}$major'
17968
 
    if test "X$HPUX_IA64_MODE" = X32; then
17969
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17970
 
    else
17971
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17972
 
    fi
17973
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17974
 
    ;;
17975
 
   hppa*64*)
17976
 
     shrext_cmds='.sl'
17977
 
     hardcode_into_libs=yes
17978
 
     dynamic_linker="$host_os dld.sl"
17979
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17980
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17981
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17982
 
     soname_spec='${libname}${release}${shared_ext}$major'
17983
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17984
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17985
 
     ;;
17986
 
   *)
17987
 
    shrext_cmds='.sl'
17988
 
    dynamic_linker="$host_os dld.sl"
17989
 
    shlibpath_var=SHLIB_PATH
17990
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17991
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17992
 
    soname_spec='${libname}${release}${shared_ext}$major'
17993
 
    ;;
17994
 
  esac
17995
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17996
 
  postinstall_cmds='chmod 555 $lib'
17997
 
  ;;
17998
 
 
17999
 
interix3*)
18000
 
  version_type=linux
18001
 
  need_lib_prefix=no
18002
 
  need_version=no
18003
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18004
 
  soname_spec='${libname}${release}${shared_ext}$major'
18005
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18006
 
  shlibpath_var=LD_LIBRARY_PATH
18007
 
  shlibpath_overrides_runpath=no
18008
 
  hardcode_into_libs=yes
18009
 
  ;;
18010
 
 
18011
 
irix5* | irix6* | nonstopux*)
18012
 
  case $host_os in
18013
 
    nonstopux*) version_type=nonstopux ;;
18014
 
    *)
18015
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18016
 
                version_type=linux
18017
 
        else
18018
 
                version_type=irix
18019
 
        fi ;;
18020
 
  esac
18021
 
  need_lib_prefix=no
18022
 
  need_version=no
18023
 
  soname_spec='${libname}${release}${shared_ext}$major'
18024
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18025
 
  case $host_os in
18026
 
  irix5* | nonstopux*)
18027
 
    libsuff= shlibsuff=
18028
 
    ;;
18029
 
  *)
18030
 
    case $LD in # libtool.m4 will add one of these switches to LD
18031
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18032
 
      libsuff= shlibsuff= libmagic=32-bit;;
18033
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18034
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18035
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18036
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18037
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18038
 
    esac
18039
 
    ;;
18040
 
  esac
18041
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18042
 
  shlibpath_overrides_runpath=no
18043
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18044
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18045
 
  hardcode_into_libs=yes
18046
 
  ;;
18047
 
 
18048
 
# No shared lib support for Linux oldld, aout, or coff.
18049
 
linux*oldld* | linux*aout* | linux*coff*)
18050
 
  dynamic_linker=no
18051
 
  ;;
18052
 
 
18053
 
# This must be Linux ELF.
18054
 
linux* | k*bsd*-gnu)
18055
 
  version_type=linux
18056
 
  need_lib_prefix=no
18057
 
  need_version=no
18058
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18059
 
  soname_spec='${libname}${release}${shared_ext}$major'
18060
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18061
 
  shlibpath_var=LD_LIBRARY_PATH
18062
 
  shlibpath_overrides_runpath=no
18063
 
  # This implies no fast_install, which is unacceptable.
18064
 
  # Some rework will be needed to allow for fast_install
18065
 
  # before this can be enabled.
18066
 
  hardcode_into_libs=yes
18067
 
 
18068
 
  # Append ld.so.conf contents to the search path
18069
 
  if test -f /etc/ld.so.conf; then
18070
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18071
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18072
 
  fi
18073
 
 
18074
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18075
 
  # powerpc, because MkLinux only supported shared libraries with the
18076
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18077
 
  # most powerpc-linux boxes support dynamic linking these days and
18078
 
  # people can always --disable-shared, the test was removed, and we
18079
 
  # assume the GNU/Linux dynamic linker is in use.
18080
 
  dynamic_linker='GNU/Linux ld.so'
18081
 
  ;;
18082
 
 
18083
 
netbsdelf*-gnu)
18084
 
  version_type=linux
18085
 
  need_lib_prefix=no
18086
 
  need_version=no
18087
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18088
 
  soname_spec='${libname}${release}${shared_ext}$major'
18089
 
  shlibpath_var=LD_LIBRARY_PATH
18090
 
  shlibpath_overrides_runpath=no
18091
 
  hardcode_into_libs=yes
18092
 
  dynamic_linker='NetBSD ld.elf_so'
18093
 
  ;;
18094
 
 
18095
 
netbsd*)
18096
 
  version_type=sunos
18097
 
  need_lib_prefix=no
18098
 
  need_version=no
18099
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18100
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18101
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18102
 
    dynamic_linker='NetBSD (a.out) ld.so'
18103
 
  else
18104
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18105
 
    soname_spec='${libname}${release}${shared_ext}$major'
18106
 
    dynamic_linker='NetBSD ld.elf_so'
18107
 
  fi
18108
 
  shlibpath_var=LD_LIBRARY_PATH
18109
 
  shlibpath_overrides_runpath=yes
18110
 
  hardcode_into_libs=yes
18111
 
  ;;
18112
 
 
18113
 
newsos6)
18114
 
  version_type=linux
18115
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18116
 
  shlibpath_var=LD_LIBRARY_PATH
18117
 
  shlibpath_overrides_runpath=yes
18118
 
  ;;
18119
 
 
18120
 
nto-qnx*)
18121
 
  version_type=linux
18122
 
  need_lib_prefix=no
18123
 
  need_version=no
18124
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18125
 
  soname_spec='${libname}${release}${shared_ext}$major'
18126
 
  shlibpath_var=LD_LIBRARY_PATH
18127
 
  shlibpath_overrides_runpath=yes
18128
 
  ;;
18129
 
 
18130
 
openbsd*)
18131
 
  version_type=sunos
18132
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18133
 
  need_lib_prefix=no
18134
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18135
 
  case $host_os in
18136
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18137
 
    *)                         need_version=no  ;;
18138
 
  esac
18139
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18140
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18141
 
  shlibpath_var=LD_LIBRARY_PATH
18142
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18143
 
    case $host_os in
18144
 
      openbsd2.[89] | openbsd2.[89].*)
18145
 
        shlibpath_overrides_runpath=no
18146
 
        ;;
18147
 
      *)
18148
 
        shlibpath_overrides_runpath=yes
18149
 
        ;;
18150
 
      esac
18151
 
  else
18152
 
    shlibpath_overrides_runpath=yes
18153
 
  fi
18154
 
  ;;
18155
 
 
18156
 
os2*)
18157
 
  libname_spec='$name'
18158
 
  shrext_cmds=".dll"
18159
 
  need_lib_prefix=no
18160
 
  library_names_spec='$libname${shared_ext} $libname.a'
18161
 
  dynamic_linker='OS/2 ld.exe'
18162
 
  shlibpath_var=LIBPATH
18163
 
  ;;
18164
 
 
18165
 
osf3* | osf4* | osf5*)
18166
 
  version_type=osf
18167
 
  need_lib_prefix=no
18168
 
  need_version=no
18169
 
  soname_spec='${libname}${release}${shared_ext}$major'
18170
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18171
 
  shlibpath_var=LD_LIBRARY_PATH
18172
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18173
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18174
 
  ;;
18175
 
 
18176
 
solaris*)
18177
 
  version_type=linux
18178
 
  need_lib_prefix=no
18179
 
  need_version=no
18180
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18181
 
  soname_spec='${libname}${release}${shared_ext}$major'
18182
 
  shlibpath_var=LD_LIBRARY_PATH
18183
 
  shlibpath_overrides_runpath=yes
18184
 
  hardcode_into_libs=yes
18185
 
  # ldd complains unless libraries are executable
18186
 
  postinstall_cmds='chmod +x $lib'
18187
 
  ;;
18188
 
 
18189
 
sunos4*)
18190
 
  version_type=sunos
18191
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18192
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18193
 
  shlibpath_var=LD_LIBRARY_PATH
18194
 
  shlibpath_overrides_runpath=yes
18195
 
  if test "$with_gnu_ld" = yes; then
18196
 
    need_lib_prefix=no
18197
 
  fi
18198
 
  need_version=yes
18199
 
  ;;
18200
 
 
18201
 
sysv4 | sysv4.3*)
18202
 
  version_type=linux
18203
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18204
 
  soname_spec='${libname}${release}${shared_ext}$major'
18205
 
  shlibpath_var=LD_LIBRARY_PATH
18206
 
  case $host_vendor in
18207
 
    sni)
18208
 
      shlibpath_overrides_runpath=no
18209
 
      need_lib_prefix=no
18210
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18211
 
      runpath_var=LD_RUN_PATH
18212
 
      ;;
18213
 
    siemens)
18214
 
      need_lib_prefix=no
18215
 
      ;;
18216
 
    motorola)
18217
 
      need_lib_prefix=no
18218
 
      need_version=no
18219
 
      shlibpath_overrides_runpath=no
18220
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18221
 
      ;;
18222
 
  esac
18223
 
  ;;
18224
 
 
18225
 
sysv4*MP*)
18226
 
  if test -d /usr/nec ;then
18227
 
    version_type=linux
18228
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18229
 
    soname_spec='$libname${shared_ext}.$major'
18230
 
    shlibpath_var=LD_LIBRARY_PATH
18231
 
  fi
18232
 
  ;;
18233
 
 
18234
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18235
 
  version_type=freebsd-elf
18236
 
  need_lib_prefix=no
18237
 
  need_version=no
18238
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18239
 
  soname_spec='${libname}${release}${shared_ext}$major'
18240
 
  shlibpath_var=LD_LIBRARY_PATH
18241
 
  hardcode_into_libs=yes
18242
 
  if test "$with_gnu_ld" = yes; then
18243
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18244
 
    shlibpath_overrides_runpath=no
18245
 
  else
18246
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18247
 
    shlibpath_overrides_runpath=yes
18248
 
    case $host_os in
18249
 
      sco3.2v5*)
18250
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18251
 
        ;;
18252
 
    esac
18253
 
  fi
18254
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18255
 
  ;;
18256
 
 
18257
 
uts4*)
18258
 
  version_type=linux
18259
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18260
 
  soname_spec='${libname}${release}${shared_ext}$major'
18261
 
  shlibpath_var=LD_LIBRARY_PATH
18262
 
  ;;
18263
 
 
18264
 
*)
18265
 
  dynamic_linker=no
18266
 
  ;;
18267
 
esac
18268
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18269
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18270
 
test "$dynamic_linker" = no && can_build_shared=no
18271
 
 
18272
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18273
 
if test "$GCC" = yes; then
18274
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18275
 
fi
18276
 
 
18277
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18278
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18279
 
hardcode_action_GCJ=
18280
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18281
 
   test -n "$runpath_var_GCJ" || \
18282
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18283
 
 
18284
 
  # We can hardcode non-existant directories.
18285
 
  if test "$hardcode_direct_GCJ" != no &&
18286
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18287
 
     # have to relink, otherwise we might link with an installed library
18288
 
     # when we should be linking with a yet-to-be-installed one
18289
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18290
 
     test "$hardcode_minus_L_GCJ" != no; then
18291
 
    # Linking always hardcodes the temporary library directory.
18292
 
    hardcode_action_GCJ=relink
18293
 
  else
18294
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18295
 
    hardcode_action_GCJ=immediate
18296
 
  fi
18297
 
else
18298
 
  # We cannot hardcode anything, or else we can only hardcode existing
18299
 
  # directories.
18300
 
  hardcode_action_GCJ=unsupported
18301
 
fi
18302
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18303
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18304
 
 
18305
 
if test "$hardcode_action_GCJ" = relink; then
18306
 
  # Fast installation is not supported
18307
 
  enable_fast_install=no
18308
 
elif test "$shlibpath_overrides_runpath" = yes ||
18309
 
     test "$enable_shared" = no; then
18310
 
  # Fast installation is not necessary
18311
 
  enable_fast_install=needless
18312
 
fi
18313
 
 
18314
 
 
18315
 
# The else clause should only fire when bootstrapping the
18316
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18317
 
# with your package, and you will get complaints that there are
18318
 
# no rules to generate ltmain.sh.
18319
 
if test -f "$ltmain"; then
18320
 
  # See if we are running on zsh, and set the options which allow our commands through
18321
 
  # without removal of \ escapes.
18322
 
  if test -n "${ZSH_VERSION+set}" ; then
18323
 
    setopt NO_GLOB_SUBST
18324
 
  fi
18325
 
  # Now quote all the things that may contain metacharacters while being
18326
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18327
 
  # variables and quote the copies for generation of the libtool script.
18328
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18329
 
    SED SHELL STRIP \
18330
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18331
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18332
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18333
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18334
 
    lt_cv_sys_global_symbol_to_c_name_address \
18335
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18336
 
    old_postinstall_cmds old_postuninstall_cmds \
18337
 
    compiler_GCJ \
18338
 
    CC_GCJ \
18339
 
    LD_GCJ \
18340
 
    lt_prog_compiler_wl_GCJ \
18341
 
    lt_prog_compiler_pic_GCJ \
18342
 
    lt_prog_compiler_static_GCJ \
18343
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18344
 
    export_dynamic_flag_spec_GCJ \
18345
 
    thread_safe_flag_spec_GCJ \
18346
 
    whole_archive_flag_spec_GCJ \
18347
 
    enable_shared_with_static_runtimes_GCJ \
18348
 
    old_archive_cmds_GCJ \
18349
 
    old_archive_from_new_cmds_GCJ \
18350
 
    predep_objects_GCJ \
18351
 
    postdep_objects_GCJ \
18352
 
    predeps_GCJ \
18353
 
    postdeps_GCJ \
18354
 
    compiler_lib_search_path_GCJ \
18355
 
    archive_cmds_GCJ \
18356
 
    archive_expsym_cmds_GCJ \
18357
 
    postinstall_cmds_GCJ \
18358
 
    postuninstall_cmds_GCJ \
18359
 
    old_archive_from_expsyms_cmds_GCJ \
18360
 
    allow_undefined_flag_GCJ \
18361
 
    no_undefined_flag_GCJ \
18362
 
    export_symbols_cmds_GCJ \
18363
 
    hardcode_libdir_flag_spec_GCJ \
18364
 
    hardcode_libdir_flag_spec_ld_GCJ \
18365
 
    hardcode_libdir_separator_GCJ \
18366
 
    hardcode_automatic_GCJ \
18367
 
    module_cmds_GCJ \
18368
 
    module_expsym_cmds_GCJ \
18369
 
    lt_cv_prog_compiler_c_o_GCJ \
18370
 
    exclude_expsyms_GCJ \
18371
 
    include_expsyms_GCJ; do
18372
 
 
18373
 
    case $var in
18374
 
    old_archive_cmds_GCJ | \
18375
 
    old_archive_from_new_cmds_GCJ | \
18376
 
    archive_cmds_GCJ | \
18377
 
    archive_expsym_cmds_GCJ | \
18378
 
    module_cmds_GCJ | \
18379
 
    module_expsym_cmds_GCJ | \
18380
 
    old_archive_from_expsyms_cmds_GCJ | \
18381
 
    export_symbols_cmds_GCJ | \
18382
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18383
 
    postinstall_cmds | postuninstall_cmds | \
18384
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18385
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18386
 
      # Double-quote double-evaled strings.
18387
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18388
 
      ;;
18389
 
    *)
18390
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18391
 
      ;;
18392
 
    esac
18393
 
  done
18394
 
 
18395
 
  case $lt_echo in
18396
 
  *'\$0 --fallback-echo"')
18397
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18398
 
    ;;
18399
 
  esac
18400
 
 
18401
 
cfgfile="$ofile"
18402
 
 
18403
 
  cat <<__EOF__ >> "$cfgfile"
18404
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18405
 
 
18406
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18407
 
 
18408
 
# Shell to use when invoking shell scripts.
18409
 
SHELL=$lt_SHELL
18410
 
 
18411
 
# Whether or not to build shared libraries.
18412
 
build_libtool_libs=$enable_shared
18413
 
 
18414
 
# Whether or not to build static libraries.
18415
 
build_old_libs=$enable_static
18416
 
 
18417
 
# Whether or not to add -lc for building shared libraries.
18418
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18419
 
 
18420
 
# Whether or not to disallow shared libs when runtime libs are static
18421
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18422
 
 
18423
 
# Whether or not to optimize for fast installation.
18424
 
fast_install=$enable_fast_install
18425
 
 
18426
 
# The host system.
18427
 
host_alias=$host_alias
18428
 
host=$host
18429
 
host_os=$host_os
18430
 
 
18431
 
# The build system.
18432
 
build_alias=$build_alias
18433
 
build=$build
18434
 
build_os=$build_os
18435
 
 
18436
 
# An echo program that does not interpret backslashes.
18437
 
echo=$lt_echo
18438
 
 
18439
 
# The archiver.
18440
 
AR=$lt_AR
18441
 
AR_FLAGS=$lt_AR_FLAGS
18442
 
 
18443
 
# A C compiler.
18444
 
LTCC=$lt_LTCC
18445
 
 
18446
 
# LTCC compiler flags.
18447
 
LTCFLAGS=$lt_LTCFLAGS
18448
 
 
18449
 
# A language-specific compiler.
18450
 
CC=$lt_compiler_GCJ
18451
 
 
18452
 
# Is the compiler the GNU C compiler?
18453
 
with_gcc=$GCC_GCJ
18454
 
 
18455
 
# An ERE matcher.
18456
 
EGREP=$lt_EGREP
18457
 
 
18458
 
# The linker used to build libraries.
18459
 
LD=$lt_LD_GCJ
18460
 
 
18461
 
# Whether we need hard or soft links.
18462
 
LN_S=$lt_LN_S
18463
 
 
18464
 
# A BSD-compatible nm program.
18465
 
NM=$lt_NM
18466
 
 
18467
 
# A symbol stripping program
18468
 
STRIP=$lt_STRIP
18469
 
 
18470
 
# Used to examine libraries when file_magic_cmd begins "file"
18471
 
MAGIC_CMD=$MAGIC_CMD
18472
 
 
18473
 
# Used on cygwin: DLL creation program.
18474
 
DLLTOOL="$DLLTOOL"
18475
 
 
18476
 
# Used on cygwin: object dumper.
18477
 
OBJDUMP="$OBJDUMP"
18478
 
 
18479
 
# Used on cygwin: assembler.
18480
 
AS="$AS"
18481
 
 
18482
 
# The name of the directory that contains temporary libtool files.
18483
 
objdir=$objdir
18484
 
 
18485
 
# How to create reloadable object files.
18486
 
reload_flag=$lt_reload_flag
18487
 
reload_cmds=$lt_reload_cmds
18488
 
 
18489
 
# How to pass a linker flag through the compiler.
18490
 
wl=$lt_lt_prog_compiler_wl_GCJ
18491
 
 
18492
 
# Object file suffix (normally "o").
18493
 
objext="$ac_objext"
18494
 
 
18495
 
# Old archive suffix (normally "a").
18496
 
libext="$libext"
18497
 
 
18498
 
# Shared library suffix (normally ".so").
18499
 
shrext_cmds='$shrext_cmds'
18500
 
 
18501
 
# Executable file suffix (normally "").
18502
 
exeext="$exeext"
18503
 
 
18504
 
# Additional compiler flags for building library objects.
18505
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18506
 
pic_mode=$pic_mode
18507
 
 
18508
 
# What is the maximum length of a command?
18509
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18510
 
 
18511
 
# Does compiler simultaneously support -c and -o options?
18512
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18513
 
 
18514
 
# Must we lock files when doing compilation?
18515
 
need_locks=$lt_need_locks
18516
 
 
18517
 
# Do we need the lib prefix for modules?
18518
 
need_lib_prefix=$need_lib_prefix
18519
 
 
18520
 
# Do we need a version for libraries?
18521
 
need_version=$need_version
18522
 
 
18523
 
# Whether dlopen is supported.
18524
 
dlopen_support=$enable_dlopen
18525
 
 
18526
 
# Whether dlopen of programs is supported.
18527
 
dlopen_self=$enable_dlopen_self
18528
 
 
18529
 
# Whether dlopen of statically linked programs is supported.
18530
 
dlopen_self_static=$enable_dlopen_self_static
18531
 
 
18532
 
# Compiler flag to prevent dynamic linking.
18533
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18534
 
 
18535
 
# Compiler flag to turn off builtin functions.
18536
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18537
 
 
18538
 
# Compiler flag to allow reflexive dlopens.
18539
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18540
 
 
18541
 
# Compiler flag to generate shared objects directly from archives.
18542
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18543
 
 
18544
 
# Compiler flag to generate thread-safe objects.
18545
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18546
 
 
18547
 
# Library versioning type.
18548
 
version_type=$version_type
18549
 
 
18550
 
# Format of library name prefix.
18551
 
libname_spec=$lt_libname_spec
18552
 
 
18553
 
# List of archive names.  First name is the real one, the rest are links.
18554
 
# The last name is the one that the linker finds with -lNAME.
18555
 
library_names_spec=$lt_library_names_spec
18556
 
 
18557
 
# The coded name of the library, if different from the real name.
18558
 
soname_spec=$lt_soname_spec
18559
 
 
18560
 
# Commands used to build and install an old-style archive.
18561
 
RANLIB=$lt_RANLIB
18562
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
18563
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18564
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18565
 
 
18566
 
# Create an old-style archive from a shared archive.
18567
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18568
 
 
18569
 
# Create a temporary old-style archive to link instead of a shared archive.
18570
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18571
 
 
18572
 
# Commands used to build and install a shared archive.
18573
 
archive_cmds=$lt_archive_cmds_GCJ
18574
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18575
 
postinstall_cmds=$lt_postinstall_cmds
18576
 
postuninstall_cmds=$lt_postuninstall_cmds
18577
 
 
18578
 
# Commands used to build a loadable module (assumed same as above if empty)
18579
 
module_cmds=$lt_module_cmds_GCJ
18580
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18581
 
 
18582
 
# Commands to strip libraries.
18583
 
old_striplib=$lt_old_striplib
18584
 
striplib=$lt_striplib
18585
 
 
18586
 
# Dependencies to place before the objects being linked to create a
18587
 
# shared library.
18588
 
predep_objects=$lt_predep_objects_GCJ
18589
 
 
18590
 
# Dependencies to place after the objects being linked to create a
18591
 
# shared library.
18592
 
postdep_objects=$lt_postdep_objects_GCJ
18593
 
 
18594
 
# Dependencies to place before the objects being linked to create a
18595
 
# shared library.
18596
 
predeps=$lt_predeps_GCJ
18597
 
 
18598
 
# Dependencies to place after the objects being linked to create a
18599
 
# shared library.
18600
 
postdeps=$lt_postdeps_GCJ
18601
 
 
18602
 
# The library search path used internally by the compiler when linking
18603
 
# a shared library.
18604
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18605
 
 
18606
 
# Method to check whether dependent libraries are shared objects.
18607
 
deplibs_check_method=$lt_deplibs_check_method
18608
 
 
18609
 
# Command to use when deplibs_check_method == file_magic.
18610
 
file_magic_cmd=$lt_file_magic_cmd
18611
 
 
18612
 
# Flag that allows shared libraries with undefined symbols to be built.
18613
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18614
 
 
18615
 
# Flag that forces no undefined symbols.
18616
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
18617
 
 
18618
 
# Commands used to finish a libtool library installation in a directory.
18619
 
finish_cmds=$lt_finish_cmds
18620
 
 
18621
 
# Same as above, but a single script fragment to be evaled but not shown.
18622
 
finish_eval=$lt_finish_eval
18623
 
 
18624
 
# Take the output of nm and produce a listing of raw symbols and C names.
18625
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18626
 
 
18627
 
# Transform the output of nm in a proper C declaration
18628
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18629
 
 
18630
 
# Transform the output of nm in a C name address pair
18631
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18632
 
 
18633
 
# This is the shared library runtime path variable.
18634
 
runpath_var=$runpath_var
18635
 
 
18636
 
# This is the shared library path variable.
18637
 
shlibpath_var=$shlibpath_var
18638
 
 
18639
 
# Is shlibpath searched before the hard-coded library search path?
18640
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18641
 
 
18642
 
# How to hardcode a shared library path into an executable.
18643
 
hardcode_action=$hardcode_action_GCJ
18644
 
 
18645
 
# Whether we should hardcode library paths into libraries.
18646
 
hardcode_into_libs=$hardcode_into_libs
18647
 
 
18648
 
# Flag to hardcode \$libdir into a binary during linking.
18649
 
# This must work even if \$libdir does not exist.
18650
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18651
 
 
18652
 
# If ld is used when linking, flag to hardcode \$libdir into
18653
 
# a binary during linking. This must work even if \$libdir does
18654
 
# not exist.
18655
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18656
 
 
18657
 
# Whether we need a single -rpath flag with a separated argument.
18658
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18659
 
 
18660
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18661
 
# resulting binary.
18662
 
hardcode_direct=$hardcode_direct_GCJ
18663
 
 
18664
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18665
 
# resulting binary.
18666
 
hardcode_minus_L=$hardcode_minus_L_GCJ
18667
 
 
18668
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18669
 
# the resulting binary.
18670
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18671
 
 
18672
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18673
 
# and all subsequent libraries and executables linked against it.
18674
 
hardcode_automatic=$hardcode_automatic_GCJ
18675
 
 
18676
 
# Variables whose values should be saved in libtool wrapper scripts and
18677
 
# restored at relink time.
18678
 
variables_saved_for_relink="$variables_saved_for_relink"
18679
 
 
18680
 
# Whether libtool must link a program against all its dependency libraries.
18681
 
link_all_deplibs=$link_all_deplibs_GCJ
18682
 
 
18683
 
# Compile-time system search path for libraries
18684
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18685
 
 
18686
 
# Run-time system search path for libraries
18687
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18688
 
 
18689
 
# Fix the shell variable \$srcfile for the compiler.
18690
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
18691
 
 
18692
 
# Set to yes if exported symbols are required.
18693
 
always_export_symbols=$always_export_symbols_GCJ
18694
 
 
18695
 
# The commands to list exported symbols.
18696
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18697
 
 
18698
 
# The commands to extract the exported symbol list from a shared archive.
18699
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18700
 
 
18701
 
# Symbols that should not be listed in the preloaded symbols.
18702
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
18703
 
 
18704
 
# Symbols that must always be exported.
18705
 
include_expsyms=$lt_include_expsyms_GCJ
18706
 
 
18707
 
# ### END LIBTOOL TAG CONFIG: $tagname
18708
 
 
18709
 
__EOF__
18710
 
 
18711
 
 
18712
 
else
18713
 
  # If there is no Makefile yet, we rely on a make rule to execute
18714
 
  # `config.status --recheck' to rerun these tests and create the
18715
 
  # libtool script then.
18716
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18717
 
  if test -f "$ltmain_in"; then
18718
 
    test -f Makefile && make "$ltmain"
18719
 
  fi
18720
 
fi
18721
 
 
18722
 
 
18723
 
ac_ext=c
18724
 
ac_cpp='$CPP $CPPFLAGS'
18725
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18726
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18727
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18728
 
 
18729
 
CC="$lt_save_CC"
18730
 
 
18731
 
        else
18732
 
          tagname=""
18733
 
        fi
18734
 
        ;;
18735
 
 
18736
 
      RC)
18737
 
 
18738
 
 
18739
 
# Source file extension for RC test sources.
18740
 
ac_ext=rc
18741
 
 
18742
 
# Object file extension for compiled RC test sources.
18743
 
objext=o
18744
 
objext_RC=$objext
18745
 
 
18746
 
# Code to be used in simple compile tests
18747
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18748
 
 
18749
 
# Code to be used in simple link tests
18750
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
18751
 
 
18752
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18753
 
 
18754
 
# If no C compiler was specified, use CC.
18755
 
LTCC=${LTCC-"$CC"}
18756
 
 
18757
 
# If no C compiler flags were specified, use CFLAGS.
18758
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18759
 
 
18760
 
# Allow CC to be a program name with arguments.
18761
 
compiler=$CC
18762
 
 
18763
 
 
18764
 
# save warnings/boilerplate of simple test code
18765
 
ac_outfile=conftest.$ac_objext
18766
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18767
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18768
 
_lt_compiler_boilerplate=`cat conftest.err`
18769
 
$rm conftest*
18770
 
 
18771
 
ac_outfile=conftest.$ac_objext
18772
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
18773
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18774
 
_lt_linker_boilerplate=`cat conftest.err`
18775
 
$rm conftest*
18776
 
 
18777
 
 
18778
 
# Allow CC to be a program name with arguments.
18779
 
lt_save_CC="$CC"
18780
 
CC=${RC-"windres"}
18781
 
compiler=$CC
18782
 
compiler_RC=$CC
18783
 
for cc_temp in $compiler""; do
18784
 
  case $cc_temp in
18785
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18786
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18787
 
    \-*) ;;
18788
 
    *) break;;
18789
 
  esac
18790
 
done
18791
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18792
 
 
18793
 
lt_cv_prog_compiler_c_o_RC=yes
18794
 
 
18795
 
# The else clause should only fire when bootstrapping the
18796
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18797
 
# with your package, and you will get complaints that there are
18798
 
# no rules to generate ltmain.sh.
18799
 
if test -f "$ltmain"; then
18800
 
  # See if we are running on zsh, and set the options which allow our commands through
18801
 
  # without removal of \ escapes.
18802
 
  if test -n "${ZSH_VERSION+set}" ; then
18803
 
    setopt NO_GLOB_SUBST
18804
 
  fi
18805
 
  # Now quote all the things that may contain metacharacters while being
18806
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18807
 
  # variables and quote the copies for generation of the libtool script.
18808
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18809
 
    SED SHELL STRIP \
18810
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18811
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18812
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18813
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18814
 
    lt_cv_sys_global_symbol_to_c_name_address \
18815
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18816
 
    old_postinstall_cmds old_postuninstall_cmds \
18817
 
    compiler_RC \
18818
 
    CC_RC \
18819
 
    LD_RC \
18820
 
    lt_prog_compiler_wl_RC \
18821
 
    lt_prog_compiler_pic_RC \
18822
 
    lt_prog_compiler_static_RC \
18823
 
    lt_prog_compiler_no_builtin_flag_RC \
18824
 
    export_dynamic_flag_spec_RC \
18825
 
    thread_safe_flag_spec_RC \
18826
 
    whole_archive_flag_spec_RC \
18827
 
    enable_shared_with_static_runtimes_RC \
18828
 
    old_archive_cmds_RC \
18829
 
    old_archive_from_new_cmds_RC \
18830
 
    predep_objects_RC \
18831
 
    postdep_objects_RC \
18832
 
    predeps_RC \
18833
 
    postdeps_RC \
18834
 
    compiler_lib_search_path_RC \
18835
 
    archive_cmds_RC \
18836
 
    archive_expsym_cmds_RC \
18837
 
    postinstall_cmds_RC \
18838
 
    postuninstall_cmds_RC \
18839
 
    old_archive_from_expsyms_cmds_RC \
18840
 
    allow_undefined_flag_RC \
18841
 
    no_undefined_flag_RC \
18842
 
    export_symbols_cmds_RC \
18843
 
    hardcode_libdir_flag_spec_RC \
18844
 
    hardcode_libdir_flag_spec_ld_RC \
18845
 
    hardcode_libdir_separator_RC \
18846
 
    hardcode_automatic_RC \
18847
 
    module_cmds_RC \
18848
 
    module_expsym_cmds_RC \
18849
 
    lt_cv_prog_compiler_c_o_RC \
18850
 
    exclude_expsyms_RC \
18851
 
    include_expsyms_RC; do
18852
 
 
18853
 
    case $var in
18854
 
    old_archive_cmds_RC | \
18855
 
    old_archive_from_new_cmds_RC | \
18856
 
    archive_cmds_RC | \
18857
 
    archive_expsym_cmds_RC | \
18858
 
    module_cmds_RC | \
18859
 
    module_expsym_cmds_RC | \
18860
 
    old_archive_from_expsyms_cmds_RC | \
18861
 
    export_symbols_cmds_RC | \
18862
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18863
 
    postinstall_cmds | postuninstall_cmds | \
18864
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18865
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18866
 
      # Double-quote double-evaled strings.
18867
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18868
 
      ;;
18869
 
    *)
18870
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18871
 
      ;;
18872
 
    esac
18873
 
  done
18874
 
 
18875
 
  case $lt_echo in
18876
 
  *'\$0 --fallback-echo"')
18877
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18878
 
    ;;
18879
 
  esac
18880
 
 
18881
 
cfgfile="$ofile"
18882
 
 
18883
 
  cat <<__EOF__ >> "$cfgfile"
18884
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18885
 
 
18886
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18887
 
 
18888
 
# Shell to use when invoking shell scripts.
18889
 
SHELL=$lt_SHELL
18890
 
 
18891
 
# Whether or not to build shared libraries.
18892
 
build_libtool_libs=$enable_shared
18893
 
 
18894
 
# Whether or not to build static libraries.
18895
 
build_old_libs=$enable_static
18896
 
 
18897
 
# Whether or not to add -lc for building shared libraries.
18898
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
18899
 
 
18900
 
# Whether or not to disallow shared libs when runtime libs are static
18901
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18902
 
 
18903
 
# Whether or not to optimize for fast installation.
18904
 
fast_install=$enable_fast_install
18905
 
 
18906
 
# The host system.
18907
 
host_alias=$host_alias
18908
 
host=$host
18909
 
host_os=$host_os
18910
 
 
18911
 
# The build system.
18912
 
build_alias=$build_alias
18913
 
build=$build
18914
 
build_os=$build_os
18915
 
 
18916
 
# An echo program that does not interpret backslashes.
18917
 
echo=$lt_echo
18918
 
 
18919
 
# The archiver.
18920
 
AR=$lt_AR
18921
 
AR_FLAGS=$lt_AR_FLAGS
18922
 
 
18923
 
# A C compiler.
18924
 
LTCC=$lt_LTCC
18925
 
 
18926
 
# LTCC compiler flags.
18927
 
LTCFLAGS=$lt_LTCFLAGS
18928
 
 
18929
 
# A language-specific compiler.
18930
 
CC=$lt_compiler_RC
18931
 
 
18932
 
# Is the compiler the GNU C compiler?
18933
 
with_gcc=$GCC_RC
18934
 
 
18935
 
# An ERE matcher.
18936
 
EGREP=$lt_EGREP
18937
 
 
18938
 
# The linker used to build libraries.
18939
 
LD=$lt_LD_RC
18940
 
 
18941
 
# Whether we need hard or soft links.
18942
 
LN_S=$lt_LN_S
18943
 
 
18944
 
# A BSD-compatible nm program.
18945
 
NM=$lt_NM
18946
 
 
18947
 
# A symbol stripping program
18948
 
STRIP=$lt_STRIP
18949
 
 
18950
 
# Used to examine libraries when file_magic_cmd begins "file"
18951
 
MAGIC_CMD=$MAGIC_CMD
18952
 
 
18953
 
# Used on cygwin: DLL creation program.
18954
 
DLLTOOL="$DLLTOOL"
18955
 
 
18956
 
# Used on cygwin: object dumper.
18957
 
OBJDUMP="$OBJDUMP"
18958
 
 
18959
 
# Used on cygwin: assembler.
18960
 
AS="$AS"
18961
 
 
18962
 
# The name of the directory that contains temporary libtool files.
18963
 
objdir=$objdir
18964
 
 
18965
 
# How to create reloadable object files.
18966
 
reload_flag=$lt_reload_flag
18967
 
reload_cmds=$lt_reload_cmds
18968
 
 
18969
 
# How to pass a linker flag through the compiler.
18970
 
wl=$lt_lt_prog_compiler_wl_RC
18971
 
 
18972
 
# Object file suffix (normally "o").
18973
 
objext="$ac_objext"
18974
 
 
18975
 
# Old archive suffix (normally "a").
18976
 
libext="$libext"
18977
 
 
18978
 
# Shared library suffix (normally ".so").
18979
 
shrext_cmds='$shrext_cmds'
18980
 
 
18981
 
# Executable file suffix (normally "").
18982
 
exeext="$exeext"
18983
 
 
18984
 
# Additional compiler flags for building library objects.
18985
 
pic_flag=$lt_lt_prog_compiler_pic_RC
18986
 
pic_mode=$pic_mode
18987
 
 
18988
 
# What is the maximum length of a command?
18989
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18990
 
 
18991
 
# Does compiler simultaneously support -c and -o options?
18992
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18993
 
 
18994
 
# Must we lock files when doing compilation?
18995
 
need_locks=$lt_need_locks
18996
 
 
18997
 
# Do we need the lib prefix for modules?
18998
 
need_lib_prefix=$need_lib_prefix
18999
 
 
19000
 
# Do we need a version for libraries?
19001
 
need_version=$need_version
19002
 
 
19003
 
# Whether dlopen is supported.
19004
 
dlopen_support=$enable_dlopen
19005
 
 
19006
 
# Whether dlopen of programs is supported.
19007
 
dlopen_self=$enable_dlopen_self
19008
 
 
19009
 
# Whether dlopen of statically linked programs is supported.
19010
 
dlopen_self_static=$enable_dlopen_self_static
19011
 
 
19012
 
# Compiler flag to prevent dynamic linking.
19013
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19014
 
 
19015
 
# Compiler flag to turn off builtin functions.
19016
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19017
 
 
19018
 
# Compiler flag to allow reflexive dlopens.
19019
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19020
 
 
19021
 
# Compiler flag to generate shared objects directly from archives.
19022
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19023
 
 
19024
 
# Compiler flag to generate thread-safe objects.
19025
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19026
 
 
19027
 
# Library versioning type.
19028
 
version_type=$version_type
19029
 
 
19030
 
# Format of library name prefix.
19031
 
libname_spec=$lt_libname_spec
19032
 
 
19033
 
# List of archive names.  First name is the real one, the rest are links.
19034
 
# The last name is the one that the linker finds with -lNAME.
19035
 
library_names_spec=$lt_library_names_spec
19036
 
 
19037
 
# The coded name of the library, if different from the real name.
19038
 
soname_spec=$lt_soname_spec
19039
 
 
19040
 
# Commands used to build and install an old-style archive.
19041
 
RANLIB=$lt_RANLIB
19042
 
old_archive_cmds=$lt_old_archive_cmds_RC
19043
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19044
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19045
 
 
19046
 
# Create an old-style archive from a shared archive.
19047
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19048
 
 
19049
 
# Create a temporary old-style archive to link instead of a shared archive.
19050
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19051
 
 
19052
 
# Commands used to build and install a shared archive.
19053
 
archive_cmds=$lt_archive_cmds_RC
19054
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19055
 
postinstall_cmds=$lt_postinstall_cmds
19056
 
postuninstall_cmds=$lt_postuninstall_cmds
19057
 
 
19058
 
# Commands used to build a loadable module (assumed same as above if empty)
19059
 
module_cmds=$lt_module_cmds_RC
19060
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19061
 
 
19062
 
# Commands to strip libraries.
19063
 
old_striplib=$lt_old_striplib
19064
 
striplib=$lt_striplib
19065
 
 
19066
 
# Dependencies to place before the objects being linked to create a
19067
 
# shared library.
19068
 
predep_objects=$lt_predep_objects_RC
19069
 
 
19070
 
# Dependencies to place after the objects being linked to create a
19071
 
# shared library.
19072
 
postdep_objects=$lt_postdep_objects_RC
19073
 
 
19074
 
# Dependencies to place before the objects being linked to create a
19075
 
# shared library.
19076
 
predeps=$lt_predeps_RC
19077
 
 
19078
 
# Dependencies to place after the objects being linked to create a
19079
 
# shared library.
19080
 
postdeps=$lt_postdeps_RC
19081
 
 
19082
 
# The library search path used internally by the compiler when linking
19083
 
# a shared library.
19084
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19085
 
 
19086
 
# Method to check whether dependent libraries are shared objects.
19087
 
deplibs_check_method=$lt_deplibs_check_method
19088
 
 
19089
 
# Command to use when deplibs_check_method == file_magic.
19090
 
file_magic_cmd=$lt_file_magic_cmd
19091
 
 
19092
 
# Flag that allows shared libraries with undefined symbols to be built.
19093
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19094
 
 
19095
 
# Flag that forces no undefined symbols.
19096
 
no_undefined_flag=$lt_no_undefined_flag_RC
19097
 
 
19098
 
# Commands used to finish a libtool library installation in a directory.
19099
 
finish_cmds=$lt_finish_cmds
19100
 
 
19101
 
# Same as above, but a single script fragment to be evaled but not shown.
19102
 
finish_eval=$lt_finish_eval
19103
 
 
19104
 
# Take the output of nm and produce a listing of raw symbols and C names.
19105
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19106
 
 
19107
 
# Transform the output of nm in a proper C declaration
19108
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19109
 
 
19110
 
# Transform the output of nm in a C name address pair
19111
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19112
 
 
19113
 
# This is the shared library runtime path variable.
19114
 
runpath_var=$runpath_var
19115
 
 
19116
 
# This is the shared library path variable.
19117
 
shlibpath_var=$shlibpath_var
19118
 
 
19119
 
# Is shlibpath searched before the hard-coded library search path?
19120
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19121
 
 
19122
 
# How to hardcode a shared library path into an executable.
19123
 
hardcode_action=$hardcode_action_RC
19124
 
 
19125
 
# Whether we should hardcode library paths into libraries.
19126
 
hardcode_into_libs=$hardcode_into_libs
19127
 
 
19128
 
# Flag to hardcode \$libdir into a binary during linking.
19129
 
# This must work even if \$libdir does not exist.
19130
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19131
 
 
19132
 
# If ld is used when linking, flag to hardcode \$libdir into
19133
 
# a binary during linking. This must work even if \$libdir does
19134
 
# not exist.
19135
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19136
 
 
19137
 
# Whether we need a single -rpath flag with a separated argument.
19138
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19139
 
 
19140
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19141
 
# resulting binary.
19142
 
hardcode_direct=$hardcode_direct_RC
19143
 
 
19144
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19145
 
# resulting binary.
19146
 
hardcode_minus_L=$hardcode_minus_L_RC
19147
 
 
19148
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19149
 
# the resulting binary.
19150
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19151
 
 
19152
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19153
 
# and all subsequent libraries and executables linked against it.
19154
 
hardcode_automatic=$hardcode_automatic_RC
19155
 
 
19156
 
# Variables whose values should be saved in libtool wrapper scripts and
19157
 
# restored at relink time.
19158
 
variables_saved_for_relink="$variables_saved_for_relink"
19159
 
 
19160
 
# Whether libtool must link a program against all its dependency libraries.
19161
 
link_all_deplibs=$link_all_deplibs_RC
19162
 
 
19163
 
# Compile-time system search path for libraries
19164
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19165
 
 
19166
 
# Run-time system search path for libraries
19167
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19168
 
 
19169
 
# Fix the shell variable \$srcfile for the compiler.
19170
 
fix_srcfile_path="$fix_srcfile_path_RC"
19171
 
 
19172
 
# Set to yes if exported symbols are required.
19173
 
always_export_symbols=$always_export_symbols_RC
19174
 
 
19175
 
# The commands to list exported symbols.
19176
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19177
 
 
19178
 
# The commands to extract the exported symbol list from a shared archive.
19179
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19180
 
 
19181
 
# Symbols that should not be listed in the preloaded symbols.
19182
 
exclude_expsyms=$lt_exclude_expsyms_RC
19183
 
 
19184
 
# Symbols that must always be exported.
19185
 
include_expsyms=$lt_include_expsyms_RC
19186
 
 
19187
 
# ### END LIBTOOL TAG CONFIG: $tagname
19188
 
 
19189
 
__EOF__
19190
 
 
19191
 
 
19192
 
else
19193
 
  # If there is no Makefile yet, we rely on a make rule to execute
19194
 
  # `config.status --recheck' to rerun these tests and create the
19195
 
  # libtool script then.
19196
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19197
 
  if test -f "$ltmain_in"; then
19198
 
    test -f Makefile && make "$ltmain"
19199
 
  fi
19200
 
fi
19201
 
 
19202
 
 
19203
 
ac_ext=c
19204
 
ac_cpp='$CPP $CPPFLAGS'
19205
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19208
 
 
19209
 
CC="$lt_save_CC"
19210
 
 
19211
 
        ;;
19212
 
 
19213
 
      *)
19214
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19215
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19216
 
   { (exit 1); exit 1; }; }
19217
 
        ;;
19218
 
      esac
19219
 
 
19220
 
      # Append the new tag name to the list of available tags.
19221
 
      if test -n "$tagname" ; then
19222
 
      available_tags="$available_tags $tagname"
19223
 
    fi
19224
 
    fi
19225
 
  done
19226
 
  IFS="$lt_save_ifs"
19227
 
 
19228
 
  # Now substitute the updated list of available tags.
19229
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19230
 
    mv "${ofile}T" "$ofile"
19231
 
    chmod +x "$ofile"
19232
 
  else
19233
 
    rm -f "${ofile}T"
19234
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19235
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19236
 
   { (exit 1); exit 1; }; }
19237
 
  fi
19238
 
fi
19239
 
 
19240
 
 
19241
 
 
19242
 
# This can be used to rebuild libtool when needed
19243
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19244
 
 
19245
 
# Always use our own libtool.
19246
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19247
 
 
19248
 
# Prevent multiple expansion
19249
 
 
19250
 
 
19251
 
 
19252
 
 
19253
 
 
19254
 
 
19255
 
 
19256
 
 
19257
 
 
19258
 
 
19259
 
 
19260
 
 
19261
 
 
19262
 
 
19263
 
 
19264
 
 
19265
 
 
19266
 
 
19267
 
 
19268
 
 
19269
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
19270
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
14460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
14461
$as_echo "$hardcode_action_CXX" >&6; }
 
14462
 
 
14463
if test "$hardcode_action_CXX" = relink ||
 
14464
   test "$inherit_rpath_CXX" = yes; then
 
14465
  # Fast installation is not supported
 
14466
  enable_fast_install=no
 
14467
elif test "$shlibpath_overrides_runpath" = yes ||
 
14468
     test "$enable_shared" = no; then
 
14469
  # Fast installation is not necessary
 
14470
  enable_fast_install=needless
 
14471
fi
 
14472
 
 
14473
 
 
14474
 
 
14475
 
 
14476
 
 
14477
 
 
14478
 
 
14479
  fi # test -n "$compiler"
 
14480
 
 
14481
  CC=$lt_save_CC
 
14482
  LDCXX=$LD
 
14483
  LD=$lt_save_LD
 
14484
  GCC=$lt_save_GCC
 
14485
  with_gnu_ld=$lt_save_with_gnu_ld
 
14486
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
14487
  lt_cv_path_LD=$lt_save_path_LD
 
14488
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
14489
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
14490
fi # test "$_lt_caught_CXX_error" != yes
 
14491
 
 
14492
ac_ext=c
 
14493
ac_cpp='$CPP $CPPFLAGS'
 
14494
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14495
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14496
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14497
 
 
14498
 
 
14499
 
 
14500
 
 
14501
 
 
14502
 
 
14503
 
 
14504
 
 
14505
 
 
14506
 
 
14507
 
 
14508
 
 
14509
 
 
14510
        ac_config_commands="$ac_config_commands libtool"
 
14511
 
 
14512
 
 
14513
 
 
14514
 
 
14515
# Only expand once:
 
14516
 
 
14517
 
 
14518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
14519
$as_echo_n "checking whether ln -s works... " >&6; }
19271
14520
LN_S=$as_ln_s
19272
14521
if test "$LN_S" = "ln -s"; then
19273
 
  { echo "$as_me:$LINENO: result: yes" >&5
19274
 
echo "${ECHO_T}yes" >&6; }
 
14522
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14523
$as_echo "yes" >&6; }
19275
14524
else
19276
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19277
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
14525
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
14526
$as_echo "no, using $LN_S" >&6; }
19278
14527
fi
19279
14528
 
19280
14529
 
19285
14534
do
19286
14535
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19287
14536
set dummy $ac_prog; ac_word=$2
19288
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19289
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19290
 
if test "${ac_cv_prog_JADE+set}" = set; then
19291
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14538
$as_echo_n "checking for $ac_word... " >&6; }
 
14539
if test "${ac_cv_prog_JADE+set}" = set; then :
 
14540
  $as_echo_n "(cached) " >&6
19292
14541
else
19293
14542
  if test -n "$JADE"; then
19294
14543
  ac_cv_prog_JADE="$JADE" # Let the user override the test.
19298
14547
do
19299
14548
  IFS=$as_save_IFS
19300
14549
  test -z "$as_dir" && as_dir=.
19301
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14550
    for ac_exec_ext in '' $ac_executable_extensions; do
19302
14551
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19303
14552
    ac_cv_prog_JADE="$ac_prog"
19304
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14553
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19305
14554
    break 2
19306
14555
  fi
19307
14556
done
19308
 
done
 
14557
  done
19309
14558
IFS=$as_save_IFS
19310
14559
 
19311
14560
fi
19312
14561
fi
19313
14562
JADE=$ac_cv_prog_JADE
19314
14563
if test -n "$JADE"; then
19315
 
  { echo "$as_me:$LINENO: result: $JADE" >&5
19316
 
echo "${ECHO_T}$JADE" >&6; }
 
14564
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JADE" >&5
 
14565
$as_echo "$JADE" >&6; }
19317
14566
else
19318
 
  { echo "$as_me:$LINENO: result: no" >&5
19319
 
echo "${ECHO_T}no" >&6; }
 
14567
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14568
$as_echo "no" >&6; }
19320
14569
fi
19321
14570
 
19322
14571
 
19328
14577
do
19329
14578
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19330
14579
set dummy $ac_prog; ac_word=$2
19331
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19332
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19333
 
if test "${ac_cv_prog_NSGMLS+set}" = set; then
19334
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14581
$as_echo_n "checking for $ac_word... " >&6; }
 
14582
if test "${ac_cv_prog_NSGMLS+set}" = set; then :
 
14583
  $as_echo_n "(cached) " >&6
19335
14584
else
19336
14585
  if test -n "$NSGMLS"; then
19337
14586
  ac_cv_prog_NSGMLS="$NSGMLS" # Let the user override the test.
19341
14590
do
19342
14591
  IFS=$as_save_IFS
19343
14592
  test -z "$as_dir" && as_dir=.
19344
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14593
    for ac_exec_ext in '' $ac_executable_extensions; do
19345
14594
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19346
14595
    ac_cv_prog_NSGMLS="$ac_prog"
19347
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14596
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19348
14597
    break 2
19349
14598
  fi
19350
14599
done
19351
 
done
 
14600
  done
19352
14601
IFS=$as_save_IFS
19353
14602
 
19354
14603
fi
19355
14604
fi
19356
14605
NSGMLS=$ac_cv_prog_NSGMLS
19357
14606
if test -n "$NSGMLS"; then
19358
 
  { echo "$as_me:$LINENO: result: $NSGMLS" >&5
19359
 
echo "${ECHO_T}$NSGMLS" >&6; }
 
14607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NSGMLS" >&5
 
14608
$as_echo "$NSGMLS" >&6; }
19360
14609
else
19361
 
  { echo "$as_me:$LINENO: result: no" >&5
19362
 
echo "${ECHO_T}no" >&6; }
 
14610
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14611
$as_echo "no" >&6; }
19363
14612
fi
19364
14613
 
19365
14614
 
19367
14616
done
19368
14617
 
19369
14618
 
19370
 
{ echo "$as_me:$LINENO: checking for DocBook V4.1" >&5
19371
 
echo $ECHO_N "checking for DocBook V4.1... $ECHO_C" >&6; }
19372
 
if test "${pgac_cv_check_docbook+set}" = set; then
19373
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook V4.1" >&5
 
14620
$as_echo_n "checking for DocBook V4.1... " >&6; }
 
14621
if test "${pgac_cv_check_docbook+set}" = set; then :
 
14622
  $as_echo_n "(cached) " >&6
19374
14623
else
19375
14624
  cat >conftest.sgml <<EOF
19376
14625
<!doctype book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
19394
14643
fi
19395
14644
rm -f conftest.sgml
19396
14645
fi
19397
 
{ echo "$as_me:$LINENO: result: $pgac_cv_check_docbook" >&5
19398
 
echo "${ECHO_T}$pgac_cv_check_docbook" >&6; }
 
14646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_check_docbook" >&5
 
14647
$as_echo "$pgac_cv_check_docbook" >&6; }
19399
14648
 
19400
14649
have_docbook=$pgac_cv_check_docbook
19401
14650
 
19402
14651
 
19403
14652
  if test "$pgac_cv_check_docbook" = "yes"; then
19404
14653
 
19405
 
{ echo "$as_me:$LINENO: checking for DocBook stylesheets" >&5
19406
 
echo $ECHO_N "checking for DocBook stylesheets... $ECHO_C" >&6; }
 
14654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook stylesheets" >&5
 
14655
$as_echo_n "checking for DocBook stylesheets... " >&6; }
19407
14656
 
19408
14657
# Check whether --with-docbook-stylesheets was given.
19409
 
if test "${with_docbook_stylesheets+set}" = set; then
 
14658
if test "${with_docbook_stylesheets+set}" = set; then :
19410
14659
  withval=$with_docbook_stylesheets; muse_docbook_prefix="$withval"
19411
14660
fi
19412
14661
 
19413
 
if test "${pgac_cv_path_stylesheets+set}" = set; then
19414
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14662
if test "${pgac_cv_path_stylesheets+set}" = set; then :
 
14663
  $as_echo_n "(cached) " >&6
19415
14664
else
19416
14665
 
19417
14666
if test -n "$muse_docbook_prefix"; then
19454
14703
DOCBOOKSTYLE=$pgac_cv_path_stylesheets
19455
14704
 
19456
14705
if test -n "$DOCBOOKSTYLE"; then
19457
 
  { echo "$as_me:$LINENO: result: $DOCBOOKSTYLE" >&5
19458
 
echo "${ECHO_T}$DOCBOOKSTYLE" >&6; }
 
14706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOKSTYLE" >&5
 
14707
$as_echo "$DOCBOOKSTYLE" >&6; }
19459
14708
else
19460
 
  { echo "$as_me:$LINENO: result: no" >&5
19461
 
echo "${ECHO_T}no" >&6; }
 
14709
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14710
$as_echo "no" >&6; }
19462
14711
fi
19463
14712
    if test -n "$DOCBOOKSTYLE"; then
19464
14713
      DOCBOOKTARGETS="book1.html"
19465
14714
    else
19466
 
      { echo "$as_me:$LINENO: WARNING: DocBook stylesheets not found or not usable - documentation will not be built" >&5
19467
 
echo "$as_me: WARNING: DocBook stylesheets not found or not usable - documentation will not be built" >&2;}
 
14715
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: DocBook stylesheets not found or not usable - documentation will not be built" >&5
 
14716
$as_echo "$as_me: WARNING: DocBook stylesheets not found or not usable - documentation will not be built" >&2;}
19468
14717
    fi
19469
14718
  else
19470
 
    { echo "$as_me:$LINENO: WARNING: DocBook 4.1 DTD not found or not usable - documentation will not be built" >&5
19471
 
echo "$as_me: WARNING: DocBook 4.1 DTD not found or not usable - documentation will not be built" >&2;}
 
14719
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: DocBook 4.1 DTD not found or not usable - documentation will not be built" >&5
 
14720
$as_echo "$as_me: WARNING: DocBook 4.1 DTD not found or not usable - documentation will not be built" >&2;}
19472
14721
  fi
19473
14722
else
19474
 
  { echo "$as_me:$LINENO: WARNING: jade not found - documentation will not be built" >&5
19475
 
echo "$as_me: WARNING: jade not found - documentation will not be built" >&2;}
 
14723
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: jade not found - documentation will not be built" >&5
 
14724
$as_echo "$as_me: WARNING: jade not found - documentation will not be built" >&2;}
19476
14725
fi
19477
14726
 
19478
14727
 
19482
14731
 
19483
14732
# Extract the first word of "doxygen", so it can be a program name with args.
19484
14733
set dummy doxygen; ac_word=$2
19485
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19486
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19487
 
if test "${ac_cv_path_DOXYGEN+set}" = set; then
19488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14735
$as_echo_n "checking for $ac_word... " >&6; }
 
14736
if test "${ac_cv_path_DOXYGEN+set}" = set; then :
 
14737
  $as_echo_n "(cached) " >&6
19489
14738
else
19490
14739
  case $DOXYGEN in
19491
14740
  [\\/]* | ?:[\\/]*)
19497
14746
do
19498
14747
  IFS=$as_save_IFS
19499
14748
  test -z "$as_dir" && as_dir=.
19500
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14749
    for ac_exec_ext in '' $ac_executable_extensions; do
19501
14750
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19502
14751
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
19503
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14752
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19504
14753
    break 2
19505
14754
  fi
19506
14755
done
19507
 
done
 
14756
  done
19508
14757
IFS=$as_save_IFS
19509
14758
 
19510
14759
  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
19513
14762
fi
19514
14763
DOXYGEN=$ac_cv_path_DOXYGEN
19515
14764
if test -n "$DOXYGEN"; then
19516
 
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
19517
 
echo "${ECHO_T}$DOXYGEN" >&6; }
 
14765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
 
14766
$as_echo "$DOXYGEN" >&6; }
19518
14767
else
19519
 
  { echo "$as_me:$LINENO: result: no" >&5
19520
 
echo "${ECHO_T}no" >&6; }
 
14768
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14769
$as_echo "no" >&6; }
19521
14770
fi
19522
14771
 
19523
14772
 
19528
14777
 
19529
14778
# Extract the first word of "dot", so it can be a program name with args.
19530
14779
set dummy dot; ac_word=$2
19531
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19532
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19533
 
if test "${ac_cv_path_DOT+set}" = set; then
19534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14781
$as_echo_n "checking for $ac_word... " >&6; }
 
14782
if test "${ac_cv_path_DOT+set}" = set; then :
 
14783
  $as_echo_n "(cached) " >&6
19535
14784
else
19536
14785
  case $DOT in
19537
14786
  [\\/]* | ?:[\\/]*)
19543
14792
do
19544
14793
  IFS=$as_save_IFS
19545
14794
  test -z "$as_dir" && as_dir=.
19546
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14795
    for ac_exec_ext in '' $ac_executable_extensions; do
19547
14796
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19548
14797
    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
19549
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14798
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19550
14799
    break 2
19551
14800
  fi
19552
14801
done
19553
 
done
 
14802
  done
19554
14803
IFS=$as_save_IFS
19555
14804
 
19556
14805
  test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="no"
19559
14808
fi
19560
14809
DOT=$ac_cv_path_DOT
19561
14810
if test -n "$DOT"; then
19562
 
  { echo "$as_me:$LINENO: result: $DOT" >&5
19563
 
echo "${ECHO_T}$DOT" >&6; }
 
14811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
 
14812
$as_echo "$DOT" >&6; }
19564
14813
else
19565
 
  { echo "$as_me:$LINENO: result: no" >&5
19566
 
echo "${ECHO_T}no" >&6; }
 
14814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14815
$as_echo "no" >&6; }
19567
14816
fi
19568
14817
 
19569
14818
 
19582
14831
 
19583
14832
# Extract the first word of "perl", so it can be a program name with args.
19584
14833
set dummy perl; ac_word=$2
19585
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19586
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19587
 
if test "${ac_cv_path_PERL+set}" = set; then
19588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14835
$as_echo_n "checking for $ac_word... " >&6; }
 
14836
if test "${ac_cv_path_PERL+set}" = set; then :
 
14837
  $as_echo_n "(cached) " >&6
19589
14838
else
19590
14839
  case $PERL in
19591
14840
  [\\/]* | ?:[\\/]*)
19597
14846
do
19598
14847
  IFS=$as_save_IFS
19599
14848
  test -z "$as_dir" && as_dir=.
19600
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
14849
    for ac_exec_ext in '' $ac_executable_extensions; do
19601
14850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19602
14851
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
19603
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14852
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19604
14853
    break 2
19605
14854
  fi
19606
14855
done
19607
 
done
 
14856
  done
19608
14857
IFS=$as_save_IFS
19609
14858
 
19610
14859
  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
19613
14862
fi
19614
14863
PERL=$ac_cv_path_PERL
19615
14864
if test -n "$PERL"; then
19616
 
  { echo "$as_me:$LINENO: result: $PERL" >&5
19617
 
echo "${ECHO_T}$PERL" >&6; }
 
14865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
 
14866
$as_echo "$PERL" >&6; }
19618
14867
else
19619
 
  { echo "$as_me:$LINENO: result: no" >&5
19620
 
echo "${ECHO_T}no" >&6; }
 
14868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14869
$as_echo "no" >&6; }
19621
14870
fi
19622
14871
 
19623
14872
 
19624
14873
if test "$PERL" == "no"; then
19625
 
  { echo "$as_me:$LINENO: WARNING: you don't have perl installed!  wierdo!  (and doxygen might not like this)" >&5
19626
 
echo "$as_me: WARNING: you don't have perl installed!  wierdo!  (and doxygen might not like this)" >&2;}
 
14874
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you don't have perl installed!  wierdo!  (and doxygen might not like this)" >&5
 
14875
$as_echo "$as_me: WARNING: you don't have perl installed!  wierdo!  (and doxygen might not like this)" >&2;}
19627
14876
fi
19628
14877
 
19629
14878
 
19630
14879
#########
19631
14880
### X ###
19632
14881
#########
19633
 
{ echo "$as_me:$LINENO: checking for X" >&5
19634
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
14882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
14883
$as_echo_n "checking for X... " >&6; }
19635
14884
 
19636
14885
 
19637
14886
# Check whether --with-x was given.
19638
 
if test "${with_x+set}" = set; then
 
14887
if test "${with_x+set}" = set; then :
19639
14888
  withval=$with_x;
19640
14889
fi
19641
14890
 
19645
14894
  have_x=disabled
19646
14895
else
19647
14896
  case $x_includes,$x_libraries in #(
19648
 
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
19649
 
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
19650
 
   { (exit 1); exit 1; }; };; #(
19651
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
19652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14897
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
 
14898
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
14899
  $as_echo_n "(cached) " >&6
19653
14900
else
19654
14901
  # One or both of the vars are not set, and there is no cached value.
19655
14902
ac_x_includes=no ac_x_libraries=no
19670
14917
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19671
14918
    done
19672
14919
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19673
 
    for ac_extension in a so sl; do
 
14920
    for ac_extension in a so sl dylib la dll; do
19674
14921
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19675
14922
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
19676
14923
        ac_im_usrlibdir=$ac_im_libdir; break
19684
14931
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19685
14932
    esac
19686
14933
    case $ac_im_usrlibdir in
19687
 
        /usr/lib | /lib) ;;
 
14934
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19688
14935
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19689
14936
    esac
19690
14937
  fi
19696
14943
# Check X11 before X11Rn because it is often a symlink to the current release.
19697
14944
ac_x_header_dirs='
19698
14945
/usr/X11/include
 
14946
/usr/X11R7/include
19699
14947
/usr/X11R6/include
19700
14948
/usr/X11R5/include
19701
14949
/usr/X11R4/include
19702
14950
 
19703
14951
/usr/include/X11
 
14952
/usr/include/X11R7
19704
14953
/usr/include/X11R6
19705
14954
/usr/include/X11R5
19706
14955
/usr/include/X11R4
19707
14956
 
19708
14957
/usr/local/X11/include
 
14958
/usr/local/X11R7/include
19709
14959
/usr/local/X11R6/include
19710
14960
/usr/local/X11R5/include
19711
14961
/usr/local/X11R4/include
19712
14962
 
19713
14963
/usr/local/include/X11
 
14964
/usr/local/include/X11R7
19714
14965
/usr/local/include/X11R6
19715
14966
/usr/local/include/X11R5
19716
14967
/usr/local/include/X11R4
19732
14983
if test "$ac_x_includes" = no; then
19733
14984
  # Guess where to find include files, by looking for Xlib.h.
19734
14985
  # First, try using that file with no special directory specified.
19735
 
  cat >conftest.$ac_ext <<_ACEOF
19736
 
/* confdefs.h.  */
19737
 
_ACEOF
19738
 
cat confdefs.h >>conftest.$ac_ext
19739
 
cat >>conftest.$ac_ext <<_ACEOF
 
14986
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740
14987
/* end confdefs.h.  */
19741
14988
#include <X11/Xlib.h>
19742
14989
_ACEOF
19743
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19744
 
case "(($ac_try" in
19745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746
 
  *) ac_try_echo=$ac_try;;
19747
 
esac
19748
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19750
 
  ac_status=$?
19751
 
  grep -v '^ *+' conftest.er1 >conftest.err
19752
 
  rm -f conftest.er1
19753
 
  cat conftest.err >&5
19754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755
 
  (exit $ac_status); } >/dev/null && {
19756
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19757
 
         test ! -s conftest.err
19758
 
       }; then
 
14990
if ac_fn_c_try_cpp "$LINENO"; then :
19759
14991
  # We can compile using X headers with no special include directory.
19760
14992
ac_x_includes=
19761
14993
else
19762
 
  echo "$as_me: failed program was:" >&5
19763
 
sed 's/^/| /' conftest.$ac_ext >&5
19764
 
 
19765
14994
  for ac_dir in $ac_x_header_dirs; do
19766
14995
  if test -r "$ac_dir/X11/Xlib.h"; then
19767
14996
    ac_x_includes=$ac_dir
19769
14998
  fi
19770
14999
done
19771
15000
fi
19772
 
 
19773
15001
rm -f conftest.err conftest.$ac_ext
19774
15002
fi # $ac_x_includes = no
19775
15003
 
19779
15007
  # Don't add to $LIBS permanently.
19780
15008
  ac_save_LIBS=$LIBS
19781
15009
  LIBS="-lX11 $LIBS"
19782
 
  cat >conftest.$ac_ext <<_ACEOF
19783
 
/* confdefs.h.  */
19784
 
_ACEOF
19785
 
cat confdefs.h >>conftest.$ac_ext
19786
 
cat >>conftest.$ac_ext <<_ACEOF
 
15010
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787
15011
/* end confdefs.h.  */
19788
15012
#include <X11/Xlib.h>
19789
15013
int
19794
15018
  return 0;
19795
15019
}
19796
15020
_ACEOF
19797
 
rm -f conftest.$ac_objext conftest$ac_exeext
19798
 
if { (ac_try="$ac_link"
19799
 
case "(($ac_try" in
19800
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19801
 
  *) ac_try_echo=$ac_try;;
19802
 
esac
19803
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804
 
  (eval "$ac_link") 2>conftest.er1
19805
 
  ac_status=$?
19806
 
  grep -v '^ *+' conftest.er1 >conftest.err
19807
 
  rm -f conftest.er1
19808
 
  cat conftest.err >&5
19809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810
 
  (exit $ac_status); } && {
19811
 
         test -z "$ac_c_werror_flag" ||
19812
 
         test ! -s conftest.err
19813
 
       } && test -s conftest$ac_exeext &&
19814
 
       $as_test_x conftest$ac_exeext; then
 
15021
if ac_fn_c_try_link "$LINENO"; then :
19815
15022
  LIBS=$ac_save_LIBS
19816
15023
# We can link X programs with no special library path.
19817
15024
ac_x_libraries=
19818
15025
else
19819
 
  echo "$as_me: failed program was:" >&5
19820
 
sed 's/^/| /' conftest.$ac_ext >&5
19821
 
 
19822
 
        LIBS=$ac_save_LIBS
19823
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
15026
  LIBS=$ac_save_LIBS
 
15027
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19824
15028
do
19825
15029
  # Don't even attempt the hair of trying to link an X program!
19826
 
  for ac_extension in a so sl; do
 
15030
  for ac_extension in a so sl dylib la dll; do
19827
15031
    if test -r "$ac_dir/libX11.$ac_extension"; then
19828
15032
      ac_x_libraries=$ac_dir
19829
15033
      break 2
19831
15035
  done
19832
15036
done
19833
15037
fi
19834
 
 
19835
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19836
 
      conftest$ac_exeext conftest.$ac_ext
 
15038
rm -f core conftest.err conftest.$ac_objext \
 
15039
    conftest$ac_exeext conftest.$ac_ext
19837
15040
fi # $ac_x_libraries = no
19838
15041
 
19839
15042
case $ac_x_includes,$ac_x_libraries in #(
19854
15057
fi # $with_x != no
19855
15058
 
19856
15059
if test "$have_x" != yes; then
19857
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
19858
 
echo "${ECHO_T}$have_x" >&6; }
 
15060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
15061
$as_echo "$have_x" >&6; }
19859
15062
  no_x=yes
19860
15063
else
19861
15064
  # If each of the values was on the command line, it overrides each guess.
19865
15068
  ac_cv_have_x="have_x=yes\
19866
15069
        ac_x_includes='$x_includes'\
19867
15070
        ac_x_libraries='$x_libraries'"
19868
 
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19869
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
 
15071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
15072
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19870
15073
fi
19871
15074
 
19872
15075
if test "$no_x" = yes; then
19873
15076
  # Not all programs may use this symbol, but it does not hurt to define it.
19874
15077
 
19875
 
cat >>confdefs.h <<\_ACEOF
19876
 
#define X_DISPLAY_MISSING 1
19877
 
_ACEOF
 
15078
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19878
15079
 
19879
15080
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19880
15081
else
19887
15088
    X_LIBS="$X_LIBS -L$x_libraries"
19888
15089
    # For Solaris; some versions of Sun CC require a space after -R and
19889
15090
    # others require no space.  Words are not sufficient . . . .
19890
 
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19891
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
15091
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
15092
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
19892
15093
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19893
15094
    ac_xsave_c_werror_flag=$ac_c_werror_flag
19894
15095
    ac_c_werror_flag=yes
19895
 
    cat >conftest.$ac_ext <<_ACEOF
19896
 
/* confdefs.h.  */
19897
 
_ACEOF
19898
 
cat confdefs.h >>conftest.$ac_ext
19899
 
cat >>conftest.$ac_ext <<_ACEOF
 
15096
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900
15097
/* end confdefs.h.  */
19901
15098
 
19902
15099
int
19907
15104
  return 0;
19908
15105
}
19909
15106
_ACEOF
19910
 
rm -f conftest.$ac_objext conftest$ac_exeext
19911
 
if { (ac_try="$ac_link"
19912
 
case "(($ac_try" in
19913
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19914
 
  *) ac_try_echo=$ac_try;;
19915
 
esac
19916
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19917
 
  (eval "$ac_link") 2>conftest.er1
19918
 
  ac_status=$?
19919
 
  grep -v '^ *+' conftest.er1 >conftest.err
19920
 
  rm -f conftest.er1
19921
 
  cat conftest.err >&5
19922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923
 
  (exit $ac_status); } && {
19924
 
         test -z "$ac_c_werror_flag" ||
19925
 
         test ! -s conftest.err
19926
 
       } && test -s conftest$ac_exeext &&
19927
 
       $as_test_x conftest$ac_exeext; then
19928
 
  { echo "$as_me:$LINENO: result: no" >&5
19929
 
echo "${ECHO_T}no" >&6; }
 
15107
if ac_fn_c_try_link "$LINENO"; then :
 
15108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15109
$as_echo "no" >&6; }
19930
15110
       X_LIBS="$X_LIBS -R$x_libraries"
19931
15111
else
19932
 
  echo "$as_me: failed program was:" >&5
19933
 
sed 's/^/| /' conftest.$ac_ext >&5
19934
 
 
19935
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
19936
 
       cat >conftest.$ac_ext <<_ACEOF
19937
 
/* confdefs.h.  */
19938
 
_ACEOF
19939
 
cat confdefs.h >>conftest.$ac_ext
19940
 
cat >>conftest.$ac_ext <<_ACEOF
 
15112
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
15113
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941
15114
/* end confdefs.h.  */
19942
15115
 
19943
15116
int
19948
15121
  return 0;
19949
15122
}
19950
15123
_ACEOF
19951
 
rm -f conftest.$ac_objext conftest$ac_exeext
19952
 
if { (ac_try="$ac_link"
19953
 
case "(($ac_try" in
19954
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19955
 
  *) ac_try_echo=$ac_try;;
19956
 
esac
19957
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19958
 
  (eval "$ac_link") 2>conftest.er1
19959
 
  ac_status=$?
19960
 
  grep -v '^ *+' conftest.er1 >conftest.err
19961
 
  rm -f conftest.er1
19962
 
  cat conftest.err >&5
19963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964
 
  (exit $ac_status); } && {
19965
 
         test -z "$ac_c_werror_flag" ||
19966
 
         test ! -s conftest.err
19967
 
       } && test -s conftest$ac_exeext &&
19968
 
       $as_test_x conftest$ac_exeext; then
19969
 
  { echo "$as_me:$LINENO: result: yes" >&5
19970
 
echo "${ECHO_T}yes" >&6; }
 
15124
if ac_fn_c_try_link "$LINENO"; then :
 
15125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15126
$as_echo "yes" >&6; }
19971
15127
          X_LIBS="$X_LIBS -R $x_libraries"
19972
15128
else
19973
 
  echo "$as_me: failed program was:" >&5
19974
 
sed 's/^/| /' conftest.$ac_ext >&5
19975
 
 
19976
 
        { echo "$as_me:$LINENO: result: neither works" >&5
19977
 
echo "${ECHO_T}neither works" >&6; }
19978
 
fi
19979
 
 
19980
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19981
 
      conftest$ac_exeext conftest.$ac_ext
19982
 
fi
19983
 
 
19984
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19985
 
      conftest$ac_exeext conftest.$ac_ext
 
15129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
15130
$as_echo "neither works" >&6; }
 
15131
fi
 
15132
rm -f core conftest.err conftest.$ac_objext \
 
15133
    conftest$ac_exeext conftest.$ac_ext
 
15134
fi
 
15135
rm -f core conftest.err conftest.$ac_objext \
 
15136
    conftest$ac_exeext conftest.$ac_ext
19986
15137
    ac_c_werror_flag=$ac_xsave_c_werror_flag
19987
15138
    LIBS=$ac_xsave_LIBS
19988
15139
  fi
19998
15149
    # libraries were built with DECnet support.  And Karl Berry says
19999
15150
    # the Alpha needs dnet_stub (dnet does not exist).
20000
15151
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20001
 
    cat >conftest.$ac_ext <<_ACEOF
20002
 
/* confdefs.h.  */
20003
 
_ACEOF
20004
 
cat confdefs.h >>conftest.$ac_ext
20005
 
cat >>conftest.$ac_ext <<_ACEOF
 
15152
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006
15153
/* end confdefs.h.  */
20007
15154
 
20008
15155
/* Override any GCC internal prototype to avoid an error.
20020
15167
  return 0;
20021
15168
}
20022
15169
_ACEOF
20023
 
rm -f conftest.$ac_objext conftest$ac_exeext
20024
 
if { (ac_try="$ac_link"
20025
 
case "(($ac_try" in
20026
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027
 
  *) ac_try_echo=$ac_try;;
20028
 
esac
20029
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030
 
  (eval "$ac_link") 2>conftest.er1
20031
 
  ac_status=$?
20032
 
  grep -v '^ *+' conftest.er1 >conftest.err
20033
 
  rm -f conftest.er1
20034
 
  cat conftest.err >&5
20035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036
 
  (exit $ac_status); } && {
20037
 
         test -z "$ac_c_werror_flag" ||
20038
 
         test ! -s conftest.err
20039
 
       } && test -s conftest$ac_exeext &&
20040
 
       $as_test_x conftest$ac_exeext; then
20041
 
  :
20042
 
else
20043
 
  echo "$as_me: failed program was:" >&5
20044
 
sed 's/^/| /' conftest.$ac_ext >&5
 
15170
if ac_fn_c_try_link "$LINENO"; then :
20045
15171
 
20046
 
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20047
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
20048
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20049
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15172
else
 
15173
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
15174
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 
15175
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
15176
  $as_echo_n "(cached) " >&6
20050
15177
else
20051
15178
  ac_check_lib_save_LIBS=$LIBS
20052
15179
LIBS="-ldnet  $LIBS"
20053
 
cat >conftest.$ac_ext <<_ACEOF
20054
 
/* confdefs.h.  */
20055
 
_ACEOF
20056
 
cat confdefs.h >>conftest.$ac_ext
20057
 
cat >>conftest.$ac_ext <<_ACEOF
 
15180
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058
15181
/* end confdefs.h.  */
20059
15182
 
20060
15183
/* Override any GCC internal prototype to avoid an error.
20072
15195
  return 0;
20073
15196
}
20074
15197
_ACEOF
20075
 
rm -f conftest.$ac_objext conftest$ac_exeext
20076
 
if { (ac_try="$ac_link"
20077
 
case "(($ac_try" in
20078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20079
 
  *) ac_try_echo=$ac_try;;
20080
 
esac
20081
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082
 
  (eval "$ac_link") 2>conftest.er1
20083
 
  ac_status=$?
20084
 
  grep -v '^ *+' conftest.er1 >conftest.err
20085
 
  rm -f conftest.er1
20086
 
  cat conftest.err >&5
20087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088
 
  (exit $ac_status); } && {
20089
 
         test -z "$ac_c_werror_flag" ||
20090
 
         test ! -s conftest.err
20091
 
       } && test -s conftest$ac_exeext &&
20092
 
       $as_test_x conftest$ac_exeext; then
 
15198
if ac_fn_c_try_link "$LINENO"; then :
20093
15199
  ac_cv_lib_dnet_dnet_ntoa=yes
20094
15200
else
20095
 
  echo "$as_me: failed program was:" >&5
20096
 
sed 's/^/| /' conftest.$ac_ext >&5
20097
 
 
20098
 
        ac_cv_lib_dnet_dnet_ntoa=no
 
15201
  ac_cv_lib_dnet_dnet_ntoa=no
20099
15202
fi
20100
 
 
20101
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20102
 
      conftest$ac_exeext conftest.$ac_ext
 
15203
rm -f core conftest.err conftest.$ac_objext \
 
15204
    conftest$ac_exeext conftest.$ac_ext
20103
15205
LIBS=$ac_check_lib_save_LIBS
20104
15206
fi
20105
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20106
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20107
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
15207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
15208
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
15209
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20108
15210
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20109
15211
fi
20110
15212
 
20111
15213
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20112
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20113
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
20114
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15214
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
15215
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 
15216
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
15217
  $as_echo_n "(cached) " >&6
20116
15218
else
20117
15219
  ac_check_lib_save_LIBS=$LIBS
20118
15220
LIBS="-ldnet_stub  $LIBS"
20119
 
cat >conftest.$ac_ext <<_ACEOF
20120
 
/* confdefs.h.  */
20121
 
_ACEOF
20122
 
cat confdefs.h >>conftest.$ac_ext
20123
 
cat >>conftest.$ac_ext <<_ACEOF
 
15221
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20124
15222
/* end confdefs.h.  */
20125
15223
 
20126
15224
/* Override any GCC internal prototype to avoid an error.
20138
15236
  return 0;
20139
15237
}
20140
15238
_ACEOF
20141
 
rm -f conftest.$ac_objext conftest$ac_exeext
20142
 
if { (ac_try="$ac_link"
20143
 
case "(($ac_try" in
20144
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145
 
  *) ac_try_echo=$ac_try;;
20146
 
esac
20147
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20148
 
  (eval "$ac_link") 2>conftest.er1
20149
 
  ac_status=$?
20150
 
  grep -v '^ *+' conftest.er1 >conftest.err
20151
 
  rm -f conftest.er1
20152
 
  cat conftest.err >&5
20153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154
 
  (exit $ac_status); } && {
20155
 
         test -z "$ac_c_werror_flag" ||
20156
 
         test ! -s conftest.err
20157
 
       } && test -s conftest$ac_exeext &&
20158
 
       $as_test_x conftest$ac_exeext; then
 
15239
if ac_fn_c_try_link "$LINENO"; then :
20159
15240
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
20160
15241
else
20161
 
  echo "$as_me: failed program was:" >&5
20162
 
sed 's/^/| /' conftest.$ac_ext >&5
20163
 
 
20164
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
 
15242
  ac_cv_lib_dnet_stub_dnet_ntoa=no
20165
15243
fi
20166
 
 
20167
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20168
 
      conftest$ac_exeext conftest.$ac_ext
 
15244
rm -f core conftest.err conftest.$ac_objext \
 
15245
    conftest$ac_exeext conftest.$ac_ext
20169
15246
LIBS=$ac_check_lib_save_LIBS
20170
15247
fi
20171
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20172
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20173
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
15248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
15249
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
15250
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20174
15251
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20175
15252
fi
20176
15253
 
20177
15254
    fi
20178
15255
fi
20179
 
 
20180
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20181
 
      conftest$ac_exeext conftest.$ac_ext
 
15256
rm -f core conftest.err conftest.$ac_objext \
 
15257
    conftest$ac_exeext conftest.$ac_ext
20182
15258
    LIBS="$ac_xsave_LIBS"
20183
15259
 
20184
15260
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20189
15265
    # on Irix 5.2, according to T.E. Dickey.
20190
15266
    # The functions gethostbyname, getservbyname, and inet_addr are
20191
15267
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20192
 
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
20193
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
20194
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
20195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20196
 
else
20197
 
  cat >conftest.$ac_ext <<_ACEOF
20198
 
/* confdefs.h.  */
20199
 
_ACEOF
20200
 
cat confdefs.h >>conftest.$ac_ext
20201
 
cat >>conftest.$ac_ext <<_ACEOF
20202
 
/* end confdefs.h.  */
20203
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20204
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20205
 
#define gethostbyname innocuous_gethostbyname
20206
 
 
20207
 
/* System header to define __stub macros and hopefully few prototypes,
20208
 
    which can conflict with char gethostbyname (); below.
20209
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20210
 
    <limits.h> exists even on freestanding compilers.  */
20211
 
 
20212
 
#ifdef __STDC__
20213
 
# include <limits.h>
20214
 
#else
20215
 
# include <assert.h>
20216
 
#endif
20217
 
 
20218
 
#undef gethostbyname
20219
 
 
20220
 
/* Override any GCC internal prototype to avoid an error.
20221
 
   Use char because int might match the return type of a GCC
20222
 
   builtin and then its argument prototype would still apply.  */
20223
 
#ifdef __cplusplus
20224
 
extern "C"
20225
 
#endif
20226
 
char gethostbyname ();
20227
 
/* The GNU C library defines this for functions which it implements
20228
 
    to always fail with ENOSYS.  Some functions are actually named
20229
 
    something starting with __ and the normal name is an alias.  */
20230
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
20231
 
choke me
20232
 
#endif
20233
 
 
20234
 
int
20235
 
main ()
20236
 
{
20237
 
return gethostbyname ();
20238
 
  ;
20239
 
  return 0;
20240
 
}
20241
 
_ACEOF
20242
 
rm -f conftest.$ac_objext conftest$ac_exeext
20243
 
if { (ac_try="$ac_link"
20244
 
case "(($ac_try" in
20245
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20246
 
  *) ac_try_echo=$ac_try;;
20247
 
esac
20248
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249
 
  (eval "$ac_link") 2>conftest.er1
20250
 
  ac_status=$?
20251
 
  grep -v '^ *+' conftest.er1 >conftest.err
20252
 
  rm -f conftest.er1
20253
 
  cat conftest.err >&5
20254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255
 
  (exit $ac_status); } && {
20256
 
         test -z "$ac_c_werror_flag" ||
20257
 
         test ! -s conftest.err
20258
 
       } && test -s conftest$ac_exeext &&
20259
 
       $as_test_x conftest$ac_exeext; then
20260
 
  ac_cv_func_gethostbyname=yes
20261
 
else
20262
 
  echo "$as_me: failed program was:" >&5
20263
 
sed 's/^/| /' conftest.$ac_ext >&5
20264
 
 
20265
 
        ac_cv_func_gethostbyname=no
20266
 
fi
20267
 
 
20268
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20269
 
      conftest$ac_exeext conftest.$ac_ext
20270
 
fi
20271
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20272
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
15268
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
15269
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
15270
 
 
15271
fi
20273
15272
 
20274
15273
    if test $ac_cv_func_gethostbyname = no; then
20275
 
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20276
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
20277
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20278
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15274
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
15275
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 
15276
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
15277
  $as_echo_n "(cached) " >&6
20279
15278
else
20280
15279
  ac_check_lib_save_LIBS=$LIBS
20281
15280
LIBS="-lnsl  $LIBS"
20282
 
cat >conftest.$ac_ext <<_ACEOF
20283
 
/* confdefs.h.  */
20284
 
_ACEOF
20285
 
cat confdefs.h >>conftest.$ac_ext
20286
 
cat >>conftest.$ac_ext <<_ACEOF
 
15281
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287
15282
/* end confdefs.h.  */
20288
15283
 
20289
15284
/* Override any GCC internal prototype to avoid an error.
20301
15296
  return 0;
20302
15297
}
20303
15298
_ACEOF
20304
 
rm -f conftest.$ac_objext conftest$ac_exeext
20305
 
if { (ac_try="$ac_link"
20306
 
case "(($ac_try" in
20307
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308
 
  *) ac_try_echo=$ac_try;;
20309
 
esac
20310
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20311
 
  (eval "$ac_link") 2>conftest.er1
20312
 
  ac_status=$?
20313
 
  grep -v '^ *+' conftest.er1 >conftest.err
20314
 
  rm -f conftest.er1
20315
 
  cat conftest.err >&5
20316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317
 
  (exit $ac_status); } && {
20318
 
         test -z "$ac_c_werror_flag" ||
20319
 
         test ! -s conftest.err
20320
 
       } && test -s conftest$ac_exeext &&
20321
 
       $as_test_x conftest$ac_exeext; then
 
15299
if ac_fn_c_try_link "$LINENO"; then :
20322
15300
  ac_cv_lib_nsl_gethostbyname=yes
20323
15301
else
20324
 
  echo "$as_me: failed program was:" >&5
20325
 
sed 's/^/| /' conftest.$ac_ext >&5
20326
 
 
20327
 
        ac_cv_lib_nsl_gethostbyname=no
 
15302
  ac_cv_lib_nsl_gethostbyname=no
20328
15303
fi
20329
 
 
20330
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20331
 
      conftest$ac_exeext conftest.$ac_ext
 
15304
rm -f core conftest.err conftest.$ac_objext \
 
15305
    conftest$ac_exeext conftest.$ac_ext
20332
15306
LIBS=$ac_check_lib_save_LIBS
20333
15307
fi
20334
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20335
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
20336
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
15308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
15309
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
15310
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20337
15311
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20338
15312
fi
20339
15313
 
20340
15314
      if test $ac_cv_lib_nsl_gethostbyname = no; then
20341
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20342
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
20343
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15315
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
15316
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 
15317
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
15318
  $as_echo_n "(cached) " >&6
20345
15319
else
20346
15320
  ac_check_lib_save_LIBS=$LIBS
20347
15321
LIBS="-lbsd  $LIBS"
20348
 
cat >conftest.$ac_ext <<_ACEOF
20349
 
/* confdefs.h.  */
20350
 
_ACEOF
20351
 
cat confdefs.h >>conftest.$ac_ext
20352
 
cat >>conftest.$ac_ext <<_ACEOF
 
15322
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20353
15323
/* end confdefs.h.  */
20354
15324
 
20355
15325
/* Override any GCC internal prototype to avoid an error.
20367
15337
  return 0;
20368
15338
}
20369
15339
_ACEOF
20370
 
rm -f conftest.$ac_objext conftest$ac_exeext
20371
 
if { (ac_try="$ac_link"
20372
 
case "(($ac_try" in
20373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374
 
  *) ac_try_echo=$ac_try;;
20375
 
esac
20376
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377
 
  (eval "$ac_link") 2>conftest.er1
20378
 
  ac_status=$?
20379
 
  grep -v '^ *+' conftest.er1 >conftest.err
20380
 
  rm -f conftest.er1
20381
 
  cat conftest.err >&5
20382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383
 
  (exit $ac_status); } && {
20384
 
         test -z "$ac_c_werror_flag" ||
20385
 
         test ! -s conftest.err
20386
 
       } && test -s conftest$ac_exeext &&
20387
 
       $as_test_x conftest$ac_exeext; then
 
15340
if ac_fn_c_try_link "$LINENO"; then :
20388
15341
  ac_cv_lib_bsd_gethostbyname=yes
20389
15342
else
20390
 
  echo "$as_me: failed program was:" >&5
20391
 
sed 's/^/| /' conftest.$ac_ext >&5
20392
 
 
20393
 
        ac_cv_lib_bsd_gethostbyname=no
 
15343
  ac_cv_lib_bsd_gethostbyname=no
20394
15344
fi
20395
 
 
20396
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20397
 
      conftest$ac_exeext conftest.$ac_ext
 
15345
rm -f core conftest.err conftest.$ac_objext \
 
15346
    conftest$ac_exeext conftest.$ac_ext
20398
15347
LIBS=$ac_check_lib_save_LIBS
20399
15348
fi
20400
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20401
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
20402
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
15349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
15350
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
15351
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20403
15352
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20404
15353
fi
20405
15354
 
20413
15362
    # variants that don't use the name server (or something).  -lsocket
20414
15363
    # must be given before -lnsl if both are needed.  We assume that
20415
15364
    # if connect needs -lnsl, so does gethostbyname.
20416
 
    { echo "$as_me:$LINENO: checking for connect" >&5
20417
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
20418
 
if test "${ac_cv_func_connect+set}" = set; then
20419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20420
 
else
20421
 
  cat >conftest.$ac_ext <<_ACEOF
20422
 
/* confdefs.h.  */
20423
 
_ACEOF
20424
 
cat confdefs.h >>conftest.$ac_ext
20425
 
cat >>conftest.$ac_ext <<_ACEOF
20426
 
/* end confdefs.h.  */
20427
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
20428
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20429
 
#define connect innocuous_connect
20430
 
 
20431
 
/* System header to define __stub macros and hopefully few prototypes,
20432
 
    which can conflict with char connect (); below.
20433
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20434
 
    <limits.h> exists even on freestanding compilers.  */
20435
 
 
20436
 
#ifdef __STDC__
20437
 
# include <limits.h>
20438
 
#else
20439
 
# include <assert.h>
20440
 
#endif
20441
 
 
20442
 
#undef connect
20443
 
 
20444
 
/* Override any GCC internal prototype to avoid an error.
20445
 
   Use char because int might match the return type of a GCC
20446
 
   builtin and then its argument prototype would still apply.  */
20447
 
#ifdef __cplusplus
20448
 
extern "C"
20449
 
#endif
20450
 
char connect ();
20451
 
/* The GNU C library defines this for functions which it implements
20452
 
    to always fail with ENOSYS.  Some functions are actually named
20453
 
    something starting with __ and the normal name is an alias.  */
20454
 
#if defined __stub_connect || defined __stub___connect
20455
 
choke me
20456
 
#endif
20457
 
 
20458
 
int
20459
 
main ()
20460
 
{
20461
 
return connect ();
20462
 
  ;
20463
 
  return 0;
20464
 
}
20465
 
_ACEOF
20466
 
rm -f conftest.$ac_objext conftest$ac_exeext
20467
 
if { (ac_try="$ac_link"
20468
 
case "(($ac_try" in
20469
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20470
 
  *) ac_try_echo=$ac_try;;
20471
 
esac
20472
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20473
 
  (eval "$ac_link") 2>conftest.er1
20474
 
  ac_status=$?
20475
 
  grep -v '^ *+' conftest.er1 >conftest.err
20476
 
  rm -f conftest.er1
20477
 
  cat conftest.err >&5
20478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479
 
  (exit $ac_status); } && {
20480
 
         test -z "$ac_c_werror_flag" ||
20481
 
         test ! -s conftest.err
20482
 
       } && test -s conftest$ac_exeext &&
20483
 
       $as_test_x conftest$ac_exeext; then
20484
 
  ac_cv_func_connect=yes
20485
 
else
20486
 
  echo "$as_me: failed program was:" >&5
20487
 
sed 's/^/| /' conftest.$ac_ext >&5
20488
 
 
20489
 
        ac_cv_func_connect=no
20490
 
fi
20491
 
 
20492
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20493
 
      conftest$ac_exeext conftest.$ac_ext
20494
 
fi
20495
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20496
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
15365
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
15366
if test "x$ac_cv_func_connect" = x""yes; then :
 
15367
 
 
15368
fi
20497
15369
 
20498
15370
    if test $ac_cv_func_connect = no; then
20499
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20500
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20501
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
20502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15371
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
15372
$as_echo_n "checking for connect in -lsocket... " >&6; }
 
15373
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
15374
  $as_echo_n "(cached) " >&6
20503
15375
else
20504
15376
  ac_check_lib_save_LIBS=$LIBS
20505
15377
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20506
 
cat >conftest.$ac_ext <<_ACEOF
20507
 
/* confdefs.h.  */
20508
 
_ACEOF
20509
 
cat confdefs.h >>conftest.$ac_ext
20510
 
cat >>conftest.$ac_ext <<_ACEOF
 
15378
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20511
15379
/* end confdefs.h.  */
20512
15380
 
20513
15381
/* Override any GCC internal prototype to avoid an error.
20525
15393
  return 0;
20526
15394
}
20527
15395
_ACEOF
20528
 
rm -f conftest.$ac_objext conftest$ac_exeext
20529
 
if { (ac_try="$ac_link"
20530
 
case "(($ac_try" in
20531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20532
 
  *) ac_try_echo=$ac_try;;
20533
 
esac
20534
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20535
 
  (eval "$ac_link") 2>conftest.er1
20536
 
  ac_status=$?
20537
 
  grep -v '^ *+' conftest.er1 >conftest.err
20538
 
  rm -f conftest.er1
20539
 
  cat conftest.err >&5
20540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541
 
  (exit $ac_status); } && {
20542
 
         test -z "$ac_c_werror_flag" ||
20543
 
         test ! -s conftest.err
20544
 
       } && test -s conftest$ac_exeext &&
20545
 
       $as_test_x conftest$ac_exeext; then
 
15396
if ac_fn_c_try_link "$LINENO"; then :
20546
15397
  ac_cv_lib_socket_connect=yes
20547
15398
else
20548
 
  echo "$as_me: failed program was:" >&5
20549
 
sed 's/^/| /' conftest.$ac_ext >&5
20550
 
 
20551
 
        ac_cv_lib_socket_connect=no
 
15399
  ac_cv_lib_socket_connect=no
20552
15400
fi
20553
 
 
20554
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20555
 
      conftest$ac_exeext conftest.$ac_ext
 
15401
rm -f core conftest.err conftest.$ac_objext \
 
15402
    conftest$ac_exeext conftest.$ac_ext
20556
15403
LIBS=$ac_check_lib_save_LIBS
20557
15404
fi
20558
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20559
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20560
 
if test $ac_cv_lib_socket_connect = yes; then
 
15405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
15406
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
15407
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20561
15408
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20562
15409
fi
20563
15410
 
20564
15411
    fi
20565
15412
 
20566
15413
    # Guillermo Gomez says -lposix is necessary on A/UX.
20567
 
    { echo "$as_me:$LINENO: checking for remove" >&5
20568
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
20569
 
if test "${ac_cv_func_remove+set}" = set; then
20570
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20571
 
else
20572
 
  cat >conftest.$ac_ext <<_ACEOF
20573
 
/* confdefs.h.  */
20574
 
_ACEOF
20575
 
cat confdefs.h >>conftest.$ac_ext
20576
 
cat >>conftest.$ac_ext <<_ACEOF
20577
 
/* end confdefs.h.  */
20578
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
20579
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20580
 
#define remove innocuous_remove
20581
 
 
20582
 
/* System header to define __stub macros and hopefully few prototypes,
20583
 
    which can conflict with char remove (); below.
20584
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20585
 
    <limits.h> exists even on freestanding compilers.  */
20586
 
 
20587
 
#ifdef __STDC__
20588
 
# include <limits.h>
20589
 
#else
20590
 
# include <assert.h>
20591
 
#endif
20592
 
 
20593
 
#undef remove
20594
 
 
20595
 
/* Override any GCC internal prototype to avoid an error.
20596
 
   Use char because int might match the return type of a GCC
20597
 
   builtin and then its argument prototype would still apply.  */
20598
 
#ifdef __cplusplus
20599
 
extern "C"
20600
 
#endif
20601
 
char remove ();
20602
 
/* The GNU C library defines this for functions which it implements
20603
 
    to always fail with ENOSYS.  Some functions are actually named
20604
 
    something starting with __ and the normal name is an alias.  */
20605
 
#if defined __stub_remove || defined __stub___remove
20606
 
choke me
20607
 
#endif
20608
 
 
20609
 
int
20610
 
main ()
20611
 
{
20612
 
return remove ();
20613
 
  ;
20614
 
  return 0;
20615
 
}
20616
 
_ACEOF
20617
 
rm -f conftest.$ac_objext conftest$ac_exeext
20618
 
if { (ac_try="$ac_link"
20619
 
case "(($ac_try" in
20620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20621
 
  *) ac_try_echo=$ac_try;;
20622
 
esac
20623
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20624
 
  (eval "$ac_link") 2>conftest.er1
20625
 
  ac_status=$?
20626
 
  grep -v '^ *+' conftest.er1 >conftest.err
20627
 
  rm -f conftest.er1
20628
 
  cat conftest.err >&5
20629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630
 
  (exit $ac_status); } && {
20631
 
         test -z "$ac_c_werror_flag" ||
20632
 
         test ! -s conftest.err
20633
 
       } && test -s conftest$ac_exeext &&
20634
 
       $as_test_x conftest$ac_exeext; then
20635
 
  ac_cv_func_remove=yes
20636
 
else
20637
 
  echo "$as_me: failed program was:" >&5
20638
 
sed 's/^/| /' conftest.$ac_ext >&5
20639
 
 
20640
 
        ac_cv_func_remove=no
20641
 
fi
20642
 
 
20643
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20644
 
      conftest$ac_exeext conftest.$ac_ext
20645
 
fi
20646
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20647
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
 
15414
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
15415
if test "x$ac_cv_func_remove" = x""yes; then :
 
15416
 
 
15417
fi
20648
15418
 
20649
15419
    if test $ac_cv_func_remove = no; then
20650
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20651
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
20652
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
20653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15420
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
15421
$as_echo_n "checking for remove in -lposix... " >&6; }
 
15422
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
15423
  $as_echo_n "(cached) " >&6
20654
15424
else
20655
15425
  ac_check_lib_save_LIBS=$LIBS
20656
15426
LIBS="-lposix  $LIBS"
20657
 
cat >conftest.$ac_ext <<_ACEOF
20658
 
/* confdefs.h.  */
20659
 
_ACEOF
20660
 
cat confdefs.h >>conftest.$ac_ext
20661
 
cat >>conftest.$ac_ext <<_ACEOF
 
15427
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662
15428
/* end confdefs.h.  */
20663
15429
 
20664
15430
/* Override any GCC internal prototype to avoid an error.
20676
15442
  return 0;
20677
15443
}
20678
15444
_ACEOF
20679
 
rm -f conftest.$ac_objext conftest$ac_exeext
20680
 
if { (ac_try="$ac_link"
20681
 
case "(($ac_try" in
20682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683
 
  *) ac_try_echo=$ac_try;;
20684
 
esac
20685
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686
 
  (eval "$ac_link") 2>conftest.er1
20687
 
  ac_status=$?
20688
 
  grep -v '^ *+' conftest.er1 >conftest.err
20689
 
  rm -f conftest.er1
20690
 
  cat conftest.err >&5
20691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692
 
  (exit $ac_status); } && {
20693
 
         test -z "$ac_c_werror_flag" ||
20694
 
         test ! -s conftest.err
20695
 
       } && test -s conftest$ac_exeext &&
20696
 
       $as_test_x conftest$ac_exeext; then
 
15445
if ac_fn_c_try_link "$LINENO"; then :
20697
15446
  ac_cv_lib_posix_remove=yes
20698
15447
else
20699
 
  echo "$as_me: failed program was:" >&5
20700
 
sed 's/^/| /' conftest.$ac_ext >&5
20701
 
 
20702
 
        ac_cv_lib_posix_remove=no
 
15448
  ac_cv_lib_posix_remove=no
20703
15449
fi
20704
 
 
20705
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20706
 
      conftest$ac_exeext conftest.$ac_ext
 
15450
rm -f core conftest.err conftest.$ac_objext \
 
15451
    conftest$ac_exeext conftest.$ac_ext
20707
15452
LIBS=$ac_check_lib_save_LIBS
20708
15453
fi
20709
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20710
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
20711
 
if test $ac_cv_lib_posix_remove = yes; then
 
15454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
15455
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
15456
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20712
15457
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20713
15458
fi
20714
15459
 
20715
15460
    fi
20716
15461
 
20717
15462
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20718
 
    { echo "$as_me:$LINENO: checking for shmat" >&5
20719
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
20720
 
if test "${ac_cv_func_shmat+set}" = set; then
20721
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20722
 
else
20723
 
  cat >conftest.$ac_ext <<_ACEOF
20724
 
/* confdefs.h.  */
20725
 
_ACEOF
20726
 
cat confdefs.h >>conftest.$ac_ext
20727
 
cat >>conftest.$ac_ext <<_ACEOF
20728
 
/* end confdefs.h.  */
20729
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20730
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20731
 
#define shmat innocuous_shmat
20732
 
 
20733
 
/* System header to define __stub macros and hopefully few prototypes,
20734
 
    which can conflict with char shmat (); below.
20735
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20736
 
    <limits.h> exists even on freestanding compilers.  */
20737
 
 
20738
 
#ifdef __STDC__
20739
 
# include <limits.h>
20740
 
#else
20741
 
# include <assert.h>
20742
 
#endif
20743
 
 
20744
 
#undef shmat
20745
 
 
20746
 
/* Override any GCC internal prototype to avoid an error.
20747
 
   Use char because int might match the return type of a GCC
20748
 
   builtin and then its argument prototype would still apply.  */
20749
 
#ifdef __cplusplus
20750
 
extern "C"
20751
 
#endif
20752
 
char shmat ();
20753
 
/* The GNU C library defines this for functions which it implements
20754
 
    to always fail with ENOSYS.  Some functions are actually named
20755
 
    something starting with __ and the normal name is an alias.  */
20756
 
#if defined __stub_shmat || defined __stub___shmat
20757
 
choke me
20758
 
#endif
20759
 
 
20760
 
int
20761
 
main ()
20762
 
{
20763
 
return shmat ();
20764
 
  ;
20765
 
  return 0;
20766
 
}
20767
 
_ACEOF
20768
 
rm -f conftest.$ac_objext conftest$ac_exeext
20769
 
if { (ac_try="$ac_link"
20770
 
case "(($ac_try" in
20771
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20772
 
  *) ac_try_echo=$ac_try;;
20773
 
esac
20774
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775
 
  (eval "$ac_link") 2>conftest.er1
20776
 
  ac_status=$?
20777
 
  grep -v '^ *+' conftest.er1 >conftest.err
20778
 
  rm -f conftest.er1
20779
 
  cat conftest.err >&5
20780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781
 
  (exit $ac_status); } && {
20782
 
         test -z "$ac_c_werror_flag" ||
20783
 
         test ! -s conftest.err
20784
 
       } && test -s conftest$ac_exeext &&
20785
 
       $as_test_x conftest$ac_exeext; then
20786
 
  ac_cv_func_shmat=yes
20787
 
else
20788
 
  echo "$as_me: failed program was:" >&5
20789
 
sed 's/^/| /' conftest.$ac_ext >&5
20790
 
 
20791
 
        ac_cv_func_shmat=no
20792
 
fi
20793
 
 
20794
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20795
 
      conftest$ac_exeext conftest.$ac_ext
20796
 
fi
20797
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20798
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 
15463
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
15464
if test "x$ac_cv_func_shmat" = x""yes; then :
 
15465
 
 
15466
fi
20799
15467
 
20800
15468
    if test $ac_cv_func_shmat = no; then
20801
 
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20802
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
20803
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15469
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
15470
$as_echo_n "checking for shmat in -lipc... " >&6; }
 
15471
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
15472
  $as_echo_n "(cached) " >&6
20805
15473
else
20806
15474
  ac_check_lib_save_LIBS=$LIBS
20807
15475
LIBS="-lipc  $LIBS"
20808
 
cat >conftest.$ac_ext <<_ACEOF
20809
 
/* confdefs.h.  */
20810
 
_ACEOF
20811
 
cat confdefs.h >>conftest.$ac_ext
20812
 
cat >>conftest.$ac_ext <<_ACEOF
 
15476
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813
15477
/* end confdefs.h.  */
20814
15478
 
20815
15479
/* Override any GCC internal prototype to avoid an error.
20827
15491
  return 0;
20828
15492
}
20829
15493
_ACEOF
20830
 
rm -f conftest.$ac_objext conftest$ac_exeext
20831
 
if { (ac_try="$ac_link"
20832
 
case "(($ac_try" in
20833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20834
 
  *) ac_try_echo=$ac_try;;
20835
 
esac
20836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20837
 
  (eval "$ac_link") 2>conftest.er1
20838
 
  ac_status=$?
20839
 
  grep -v '^ *+' conftest.er1 >conftest.err
20840
 
  rm -f conftest.er1
20841
 
  cat conftest.err >&5
20842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843
 
  (exit $ac_status); } && {
20844
 
         test -z "$ac_c_werror_flag" ||
20845
 
         test ! -s conftest.err
20846
 
       } && test -s conftest$ac_exeext &&
20847
 
       $as_test_x conftest$ac_exeext; then
 
15494
if ac_fn_c_try_link "$LINENO"; then :
20848
15495
  ac_cv_lib_ipc_shmat=yes
20849
15496
else
20850
 
  echo "$as_me: failed program was:" >&5
20851
 
sed 's/^/| /' conftest.$ac_ext >&5
20852
 
 
20853
 
        ac_cv_lib_ipc_shmat=no
 
15497
  ac_cv_lib_ipc_shmat=no
20854
15498
fi
20855
 
 
20856
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20857
 
      conftest$ac_exeext conftest.$ac_ext
 
15499
rm -f core conftest.err conftest.$ac_objext \
 
15500
    conftest$ac_exeext conftest.$ac_ext
20858
15501
LIBS=$ac_check_lib_save_LIBS
20859
15502
fi
20860
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20861
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
20862
 
if test $ac_cv_lib_ipc_shmat = yes; then
 
15503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
15504
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
15505
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20863
15506
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20864
15507
fi
20865
15508
 
20875
15518
  # These have to be linked with before -lX11, unlike the other
20876
15519
  # libraries we check for below, so use a different variable.
20877
15520
  # John Interrante, Karl Berry
20878
 
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20879
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
20880
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20881
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15521
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
15522
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 
15523
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
15524
  $as_echo_n "(cached) " >&6
20882
15525
else
20883
15526
  ac_check_lib_save_LIBS=$LIBS
20884
15527
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20885
 
cat >conftest.$ac_ext <<_ACEOF
20886
 
/* confdefs.h.  */
20887
 
_ACEOF
20888
 
cat confdefs.h >>conftest.$ac_ext
20889
 
cat >>conftest.$ac_ext <<_ACEOF
 
15528
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20890
15529
/* end confdefs.h.  */
20891
15530
 
20892
15531
/* Override any GCC internal prototype to avoid an error.
20904
15543
  return 0;
20905
15544
}
20906
15545
_ACEOF
20907
 
rm -f conftest.$ac_objext conftest$ac_exeext
20908
 
if { (ac_try="$ac_link"
20909
 
case "(($ac_try" in
20910
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911
 
  *) ac_try_echo=$ac_try;;
20912
 
esac
20913
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914
 
  (eval "$ac_link") 2>conftest.er1
20915
 
  ac_status=$?
20916
 
  grep -v '^ *+' conftest.er1 >conftest.err
20917
 
  rm -f conftest.er1
20918
 
  cat conftest.err >&5
20919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920
 
  (exit $ac_status); } && {
20921
 
         test -z "$ac_c_werror_flag" ||
20922
 
         test ! -s conftest.err
20923
 
       } && test -s conftest$ac_exeext &&
20924
 
       $as_test_x conftest$ac_exeext; then
 
15546
if ac_fn_c_try_link "$LINENO"; then :
20925
15547
  ac_cv_lib_ICE_IceConnectionNumber=yes
20926
15548
else
20927
 
  echo "$as_me: failed program was:" >&5
20928
 
sed 's/^/| /' conftest.$ac_ext >&5
20929
 
 
20930
 
        ac_cv_lib_ICE_IceConnectionNumber=no
 
15549
  ac_cv_lib_ICE_IceConnectionNumber=no
20931
15550
fi
20932
 
 
20933
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20934
 
      conftest$ac_exeext conftest.$ac_ext
 
15551
rm -f core conftest.err conftest.$ac_objext \
 
15552
    conftest$ac_exeext conftest.$ac_ext
20935
15553
LIBS=$ac_check_lib_save_LIBS
20936
15554
fi
20937
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20938
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20939
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
15555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
15556
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
15557
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20940
15558
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20941
15559
fi
20942
15560
 
20945
15563
fi
20946
15564
 
20947
15565
if test "$X_DISPLAY_MISSING" != ""; then
20948
 
  { { echo "$as_me:$LINENO: error: X required" >&5
20949
 
echo "$as_me: error: X required" >&2;}
20950
 
   { (exit 1); exit 1; }; }
 
15566
  as_fn_error "X required" "$LINENO" 5
20951
15567
fi
20952
15568
 
20953
15569
 
20968
15584
  qt_binaries=""
20969
15585
 
20970
15586
  if test "$qt_error" = "no"; then
20971
 
    { echo "$as_me:$LINENO: checking for QT environment variable QTDIR" >&5
20972
 
echo $ECHO_N "checking for QT environment variable QTDIR... $ECHO_C" >&6; }
 
15587
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT environment variable QTDIR" >&5
 
15588
$as_echo_n "checking for QT environment variable QTDIR... " >&6; }
20973
15589
    if test -z "$QTDIR"; then
20974
 
      { echo "$as_me:$LINENO: result: no" >&5
20975
 
echo "${ECHO_T}no" >&6; }
20976
 
      { echo "$as_me:$LINENO: WARNING:
 
15590
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15591
$as_echo "no" >&6; }
 
15592
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
20977
15593
 
20978
15594
    ***************** WARNING *****************
20979
15595
 
20987
15603
    *******************************************
20988
15604
 
20989
15605
" >&5
20990
 
echo "$as_me: WARNING:
 
15606
$as_echo "$as_me: WARNING:
20991
15607
 
20992
15608
    ***************** WARNING *****************
20993
15609
 
21006
15622
      echo -ne "\a"
21007
15623
      sleep 7
21008
15624
    else
21009
 
      { echo "$as_me:$LINENO: result: yes" >&5
21010
 
echo "${ECHO_T}yes" >&6; }
 
15625
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15626
$as_echo "yes" >&6; }
21011
15627
      qt_includes="$QTDIR/include"
21012
15628
      qt_libraries="$QTDIR/lib"
21013
15629
      qt_binaries="$QTDIR/bin"
21018
15634
 
21019
15635
  muse_qttest="yes"
21020
15636
  # Check whether --enable-qttest was given.
21021
 
if test "${enable_qttest+set}" = set; then
 
15637
if test "${enable_qttest+set}" = set; then :
21022
15638
  enableval=$enable_qttest;
21023
15639
    case "$enableval" in
21024
15640
      "yes")
21028
15644
        muse_qttest="no"
21029
15645
        ;;
21030
15646
      *)
21031
 
        { { echo "$as_me:$LINENO: error: must use --enable-qttest(=yes/no) or --disable-qttest" >&5
21032
 
echo "$as_me: error: must use --enable-qttest(=yes/no) or --disable-qttest" >&2;}
21033
 
   { (exit 1); exit 1; }; }
 
15647
        as_fn_error "must use --enable-qttest(=yes/no) or --disable-qttest" "$LINENO" 5
21034
15648
      ;;
21035
15649
    esac
21036
15650
 
21040
15654
 
21041
15655
 
21042
15656
# Check whether --with-qt-prefix was given.
21043
 
if test "${with_qt_prefix+set}" = set; then
 
15657
if test "${with_qt_prefix+set}" = set; then :
21044
15658
  withval=$with_qt_prefix;
21045
15659
      qt_includes="$withval/include"
21046
15660
      qt_libraries="$withval/lib"
21053
15667
 
21054
15668
 
21055
15669
# Check whether --with-qt-includes was given.
21056
 
if test "${with_qt_includes+set}" = set; then
 
15670
if test "${with_qt_includes+set}" = set; then :
21057
15671
  withval=$with_qt_includes;
21058
15672
      qt_includes="$withval"
21059
15673
 
21062
15676
 
21063
15677
 
21064
15678
# Check whether --with-qt-libraries was given.
21065
 
if test "${with_qt_libraries+set}" = set; then
 
15679
if test "${with_qt_libraries+set}" = set; then :
21066
15680
  withval=$with_qt_libraries;
21067
15681
      qt_libraries="$withval"
21068
15682
 
21071
15685
 
21072
15686
 
21073
15687
# Check whether --with-qt-binaries was given.
21074
 
if test "${with_qt_binaries+set}" = set; then
 
15688
if test "${with_qt_binaries+set}" = set; then :
21075
15689
  withval=$with_qt_binaries;
21076
15690
      qt_binaries="$withval"
21077
15691
      MOC="$qt_binaries/moc";
21082
15696
 
21083
15697
 
21084
15698
# Check whether --with-qt-moc was given.
21085
 
if test "${with_qt_moc+set}" = set; then
 
15699
if test "${with_qt_moc+set}" = set; then :
21086
15700
  withval=$with_qt_moc;
21087
15701
      MOC="$withval"
21088
15702
 
21091
15705
 
21092
15706
 
21093
15707
# Check whether --with-qt-uic was given.
21094
 
if test "${with_qt_uic+set}" = set; then
 
15708
if test "${with_qt_uic+set}" = set; then :
21095
15709
  withval=$with_qt_uic;
21096
15710
      UIC="$withval"
21097
15711
 
21109
15723
      LIBS="$saved_LIBS -lqt-mt -lqui -lm $X11_LIBS"
21110
15724
      QT_LIBS="-lqt-mt -lqui"
21111
15725
    fi
21112
 
    { echo "$as_me:$LINENO: checking for QT includes ($qt_includes)" >&5
21113
 
echo $ECHO_N "checking for QT includes ($qt_includes)... $ECHO_C" >&6; }
21114
 
    if test "${qt_includes_found+set}" = set; then
21115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15726
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT includes ($qt_includes)" >&5
 
15727
$as_echo_n "checking for QT includes ($qt_includes)... " >&6; }
 
15728
    if test "${qt_includes_found+set}" = set; then :
 
15729
  $as_echo_n "(cached) " >&6
21116
15730
else
21117
15731
 
21118
15732
      ac_ext=cpp
21121
15735
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122
15736
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21123
15737
 
21124
 
      cat >conftest.$ac_ext <<_ACEOF
21125
 
/* confdefs.h.  */
21126
 
_ACEOF
21127
 
cat confdefs.h >>conftest.$ac_ext
21128
 
cat >>conftest.$ac_ext <<_ACEOF
 
15738
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129
15739
/* end confdefs.h.  */
21130
15740
#include <qapplication.h>
21131
15741
_ACEOF
21132
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21133
 
case "(($ac_try" in
21134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21135
 
  *) ac_try_echo=$ac_try;;
21136
 
esac
21137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21139
 
  ac_status=$?
21140
 
  grep -v '^ *+' conftest.er1 >conftest.err
21141
 
  rm -f conftest.er1
21142
 
  cat conftest.err >&5
21143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144
 
  (exit $ac_status); } >/dev/null && {
21145
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
21146
 
         test ! -s conftest.err
21147
 
       }; then
 
15742
if ac_fn_cxx_try_cpp "$LINENO"; then :
21148
15743
  qt_includes_found=yes
21149
15744
else
21150
 
  echo "$as_me: failed program was:" >&5
21151
 
sed 's/^/| /' conftest.$ac_ext >&5
21152
 
 
21153
15745
  qt_includes_found=no
21154
15746
fi
21155
 
 
21156
15747
rm -f conftest.err conftest.$ac_ext
21157
15748
      ac_ext=c
21158
15749
ac_cpp='$CPP $CPPFLAGS'
21162
15753
 
21163
15754
      if test "$qt_includes_found" = "yes"; then
21164
15755
        QT_CFLAGS="-I$qt_includes"
21165
 
        { echo "$as_me:$LINENO: result: yes" >&5
21166
 
echo "${ECHO_T}yes" >&6; }
 
15756
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15757
$as_echo "yes" >&6; }
21167
15758
      else
21168
15759
        qt_error=yes
21169
 
        { echo "$as_me:$LINENO: result: no" >&5
21170
 
echo "${ECHO_T}no" >&6; }
 
15760
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15761
$as_echo "no" >&6; }
21171
15762
      fi
21172
15763
 
21173
15764
fi
21174
15765
 
21175
15766
 
21176
 
    { echo "$as_me:$LINENO: checking for QT libraries ($qt_libraries)" >&5
21177
 
echo $ECHO_N "checking for QT libraries ($qt_libraries)... $ECHO_C" >&6; }
21178
 
    if test "${qt_libraries_found+set}" = set; then
21179
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15767
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT libraries ($qt_libraries)" >&5
 
15768
$as_echo_n "checking for QT libraries ($qt_libraries)... " >&6; }
 
15769
    if test "${qt_libraries_found+set}" = set; then :
 
15770
  $as_echo_n "(cached) " >&6
21180
15771
else
21181
15772
 
21182
15773
 
21193
15784
 
21194
15785
 
21195
15786
      if test "$muse_qttest" = "yes"; then
21196
 
          if test "$cross_compiling" = yes; then
21197
 
  { { echo "$as_me:$LINENO: error: cross compiling unsupported" >&5
21198
 
echo "$as_me: error: cross compiling unsupported" >&2;}
21199
 
   { (exit 1); exit 1; }; }
 
15787
          if test "$cross_compiling" = yes; then :
 
15788
  as_fn_error "cross compiling unsupported" "$LINENO" 5
21200
15789
 
21201
15790
else
21202
 
  cat >conftest.$ac_ext <<_ACEOF
21203
 
/* confdefs.h.  */
21204
 
_ACEOF
21205
 
cat confdefs.h >>conftest.$ac_ext
21206
 
cat >>conftest.$ac_ext <<_ACEOF
 
15791
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21207
15792
/* end confdefs.h.  */
21208
15793
 
21209
15794
              #include <qapplication.h>
21214
15799
              }
21215
15800
 
21216
15801
_ACEOF
21217
 
rm -f conftest$ac_exeext
21218
 
if { (ac_try="$ac_link"
21219
 
case "(($ac_try" in
21220
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221
 
  *) ac_try_echo=$ac_try;;
21222
 
esac
21223
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224
 
  (eval "$ac_link") 2>&5
21225
 
  ac_status=$?
21226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21228
 
  { (case "(($ac_try" in
21229
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21230
 
  *) ac_try_echo=$ac_try;;
21231
 
esac
21232
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233
 
  (eval "$ac_try") 2>&5
21234
 
  ac_status=$?
21235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236
 
  (exit $ac_status); }; }; then
 
15802
if ac_fn_cxx_try_run "$LINENO"; then :
21237
15803
 
21238
 
              { echo "$as_me:$LINENO: result: yes" >&5
21239
 
echo "${ECHO_T}yes" >&6; }
 
15804
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15805
$as_echo "yes" >&6; }
21240
15806
 
21241
15807
else
21242
 
  echo "$as_me: program exited with status $ac_status" >&5
21243
 
echo "$as_me: failed program was:" >&5
21244
 
sed 's/^/| /' conftest.$ac_ext >&5
21245
 
 
21246
 
( exit $ac_status )
21247
 
 
21248
 
              { echo "$as_me:$LINENO: result: no" >&5
21249
 
echo "${ECHO_T}no" >&6; }
 
15808
 
 
15809
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15810
$as_echo "no" >&6; }
21250
15811
              qt_error="yes"
21251
15812
 
21252
15813
fi
21253
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
15814
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15815
  conftest.$ac_objext conftest.beam conftest.$ac_ext
21254
15816
fi
21255
15817
 
21256
 
 
21257
15818
      else
21258
 
        { echo "$as_me:$LINENO: result: yes (assumed due to --disable-qttest)" >&5
21259
 
echo "${ECHO_T}yes (assumed due to --disable-qttest)" >&6; }
 
15819
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (assumed due to --disable-qttest)" >&5
 
15820
$as_echo "yes (assumed due to --disable-qttest)" >&6; }
21260
15821
      fi
21261
15822
 
21262
15823
      LIBS="$saved_LIBS"
21271
15832
fi
21272
15833
 
21273
15834
 
21274
 
    { echo "$as_me:$LINENO: checking for QT moc ($MOC)" >&5
21275
 
echo $ECHO_N "checking for QT moc ($MOC)... $ECHO_C" >&6; }
 
15835
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT moc ($MOC)" >&5
 
15836
$as_echo_n "checking for QT moc ($MOC)... " >&6; }
21276
15837
    output=`eval "$MOC --help 2>&1 | grep Qt"`
21277
15838
    if test -z "$output"; then
21278
 
      { echo "$as_me:$LINENO: result: no" >&5
21279
 
echo "${ECHO_T}no" >&6; }
 
15839
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15840
$as_echo "no" >&6; }
21280
15841
      qt_error="yes"
21281
15842
    else
21282
 
      { echo "$as_me:$LINENO: result: yes" >&5
21283
 
echo "${ECHO_T}yes" >&6; }
 
15843
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15844
$as_echo "yes" >&6; }
21284
15845
    fi
21285
15846
 
21286
 
    { echo "$as_me:$LINENO: checking for QT uic ($UIC)" >&5
21287
 
echo $ECHO_N "checking for QT uic ($UIC)... $ECHO_C" >&6; }
 
15847
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT uic ($UIC)" >&5
 
15848
$as_echo_n "checking for QT uic ($UIC)... " >&6; }
21288
15849
    output=`eval "$UIC --help 2>&1 | grep Qt"`
21289
15850
    if test -z "$output"; then
21290
 
      { echo "$as_me:$LINENO: result: no" >&5
21291
 
echo "${ECHO_T}no" >&6; }
 
15851
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15852
$as_echo "no" >&6; }
21292
15853
      qt_error="yes"
21293
15854
    else
21294
 
      { echo "$as_me:$LINENO: result: yes" >&5
21295
 
echo "${ECHO_T}yes" >&6; }
 
15855
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15856
$as_echo "yes" >&6; }
21296
15857
    fi
21297
15858
    CPPFLAGS="$saved_CPPFLAGS"
21298
15859
    LIBS="$saved_LIBS"
21299
15860
  fi
21300
15861
 
21301
15862
  if test "$qt_error" = "no"; then
21302
 
    { echo "$as_me:$LINENO: checking for QT version >= 3.2.0" >&5
21303
 
echo $ECHO_N "checking for QT version >= 3.2.0... $ECHO_C" >&6; }
 
15863
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT version >= 3.2.0" >&5
 
15864
$as_echo_n "checking for QT version >= 3.2.0... " >&6; }
21304
15865
    qt_major_version=`echo 3.2.0 | \
21305
15866
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21306
15867
    qt_minor_version=`echo 3.2.0 | \
21322
15883
    LIBS="$QT_LIBS $LIBS"
21323
15884
 
21324
15885
    if test "$muse_qttest" = "yes"; then
21325
 
        if test "$cross_compiling" = yes; then
21326
 
  { { echo "$as_me:$LINENO: error: cross compiling unsupported" >&5
21327
 
echo "$as_me: error: cross compiling unsupported" >&2;}
21328
 
   { (exit 1); exit 1; }; }
 
15886
        if test "$cross_compiling" = yes; then :
 
15887
  as_fn_error "cross compiling unsupported" "$LINENO" 5
21329
15888
 
21330
15889
else
21331
 
  cat >conftest.$ac_ext <<_ACEOF
21332
 
/* confdefs.h.  */
21333
 
_ACEOF
21334
 
cat confdefs.h >>conftest.$ac_ext
21335
 
cat >>conftest.$ac_ext <<_ACEOF
 
15890
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336
15891
/* end confdefs.h.  */
21337
15892
 
21338
15893
            #include <qglobal.h>
21346
15901
            }
21347
15902
 
21348
15903
_ACEOF
21349
 
rm -f conftest$ac_exeext
21350
 
if { (ac_try="$ac_link"
21351
 
case "(($ac_try" in
21352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353
 
  *) ac_try_echo=$ac_try;;
21354
 
esac
21355
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356
 
  (eval "$ac_link") 2>&5
21357
 
  ac_status=$?
21358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21360
 
  { (case "(($ac_try" in
21361
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21362
 
  *) ac_try_echo=$ac_try;;
21363
 
esac
21364
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21365
 
  (eval "$ac_try") 2>&5
21366
 
  ac_status=$?
21367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368
 
  (exit $ac_status); }; }; then
 
15904
if ac_fn_cxx_try_run "$LINENO"; then :
21369
15905
 
21370
 
            { echo "$as_me:$LINENO: result: yes" >&5
21371
 
echo "${ECHO_T}yes" >&6; }
 
15906
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15907
$as_echo "yes" >&6; }
21372
15908
 
21373
15909
else
21374
 
  echo "$as_me: program exited with status $ac_status" >&5
21375
 
echo "$as_me: failed program was:" >&5
21376
 
sed 's/^/| /' conftest.$ac_ext >&5
21377
 
 
21378
 
( exit $ac_status )
21379
 
 
21380
 
            { echo "$as_me:$LINENO: result: no" >&5
21381
 
echo "${ECHO_T}no" >&6; }
 
15910
 
 
15911
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15912
$as_echo "no" >&6; }
21382
15913
            qt_error="yes"
21383
15914
 
21384
15915
fi
21385
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
15916
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15917
  conftest.$ac_objext conftest.beam conftest.$ac_ext
21386
15918
fi
21387
15919
 
21388
 
 
21389
15920
    else
21390
 
      { echo "$as_me:$LINENO: result: yes (assumed due to --disable-qttest)" >&5
21391
 
echo "${ECHO_T}yes (assumed due to --disable-qttest)" >&6; }
 
15921
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (assumed due to --disable-qttest)" >&5
 
15922
$as_echo "yes (assumed due to --disable-qttest)" >&6; }
21392
15923
    fi
21393
15924
 
21394
15925
    LIBS="$saved_LIBS"
21408
15939
  if test "$qt_error" = "no"; then
21409
15940
     :
21410
15941
  else
21411
 
     { { echo "$as_me:$LINENO: error: need qt >= 3.2.0" >&5
21412
 
echo "$as_me: error: need qt >= 3.2.0" >&2;}
21413
 
   { (exit 1); exit 1; }; }
 
15942
     as_fn_error "need qt >= 3.2.0" "$LINENO" 5
21414
15943
  fi
21415
15944
 
21416
15945
if test "$muse_qttest" = "yes"; then
21426
15955
  CXXFLAGS="$CXXFLAGS $QT_CFLAGS"
21427
15956
  muse_save_LDFLAGS="$LDFLAGS"
21428
15957
  LDFLAGS="$LDFLAGS $QT_LIBS"
21429
 
  { echo "$as_me:$LINENO: checking for qt_selection_property in -lqt-mt" >&5
21430
 
echo $ECHO_N "checking for qt_selection_property in -lqt-mt... $ECHO_C" >&6; }
21431
 
if test "${ac_cv_lib_qt_mt_qt_selection_property+set}" = set; then
21432
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15958
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt_selection_property in -lqt-mt" >&5
 
15959
$as_echo_n "checking for qt_selection_property in -lqt-mt... " >&6; }
 
15960
if test "${ac_cv_lib_qt_mt_qt_selection_property+set}" = set; then :
 
15961
  $as_echo_n "(cached) " >&6
21433
15962
else
21434
15963
  ac_check_lib_save_LIBS=$LIBS
21435
15964
LIBS="-lqt-mt  $LIBS"
21436
 
cat >conftest.$ac_ext <<_ACEOF
21437
 
/* confdefs.h.  */
21438
 
_ACEOF
21439
 
cat confdefs.h >>conftest.$ac_ext
21440
 
cat >>conftest.$ac_ext <<_ACEOF
 
15965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21441
15966
/* end confdefs.h.  */
21442
15967
 
21443
15968
/* Override any GCC internal prototype to avoid an error.
21455
15980
  return 0;
21456
15981
}
21457
15982
_ACEOF
21458
 
rm -f conftest.$ac_objext conftest$ac_exeext
21459
 
if { (ac_try="$ac_link"
21460
 
case "(($ac_try" in
21461
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462
 
  *) ac_try_echo=$ac_try;;
21463
 
esac
21464
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21465
 
  (eval "$ac_link") 2>conftest.er1
21466
 
  ac_status=$?
21467
 
  grep -v '^ *+' conftest.er1 >conftest.err
21468
 
  rm -f conftest.er1
21469
 
  cat conftest.err >&5
21470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471
 
  (exit $ac_status); } && {
21472
 
         test -z "$ac_cxx_werror_flag" ||
21473
 
         test ! -s conftest.err
21474
 
       } && test -s conftest$ac_exeext &&
21475
 
       $as_test_x conftest$ac_exeext; then
 
15983
if ac_fn_cxx_try_link "$LINENO"; then :
21476
15984
  ac_cv_lib_qt_mt_qt_selection_property=yes
21477
15985
else
21478
 
  echo "$as_me: failed program was:" >&5
21479
 
sed 's/^/| /' conftest.$ac_ext >&5
21480
 
 
21481
 
        ac_cv_lib_qt_mt_qt_selection_property=no
 
15986
  ac_cv_lib_qt_mt_qt_selection_property=no
21482
15987
fi
21483
 
 
21484
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21485
 
      conftest$ac_exeext conftest.$ac_ext
 
15988
rm -f core conftest.err conftest.$ac_objext \
 
15989
    conftest$ac_exeext conftest.$ac_ext
21486
15990
LIBS=$ac_check_lib_save_LIBS
21487
15991
fi
21488
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_qt_mt_qt_selection_property" >&5
21489
 
echo "${ECHO_T}$ac_cv_lib_qt_mt_qt_selection_property" >&6; }
21490
 
if test $ac_cv_lib_qt_mt_qt_selection_property = yes; then
 
15992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qt_mt_qt_selection_property" >&5
 
15993
$as_echo "$ac_cv_lib_qt_mt_qt_selection_property" >&6; }
 
15994
if test "x$ac_cv_lib_qt_mt_qt_selection_property" = x""yes; then :
21491
15995
 
21492
15996
    true
21493
15997
 
21494
15998
else
21495
15999
 
21496
 
    { { echo "$as_me:$LINENO: error:
21497
 
 
21498
 
  MusE requires thread enabled QT (qt-mt) >= 3.2.0
21499
 
 
21500
 
  You can either compile your own version of QT (making sure you enable
21501
 
  threading!) or install the appropriate package for your distribution.
21502
 
" >&5
21503
 
echo "$as_me: error:
21504
 
 
21505
 
  MusE requires thread enabled QT (qt-mt) >= 3.2.0
21506
 
 
21507
 
  You can either compile your own version of QT (making sure you enable
21508
 
  threading!) or install the appropriate package for your distribution.
21509
 
" >&2;}
21510
 
   { (exit 1); exit 1; }; }
 
16000
    as_fn_error "
 
16001
 
 
16002
  MusE requires thread enabled QT (qt-mt) >= 3.2.0
 
16003
 
 
16004
  You can either compile your own version of QT (making sure you enable
 
16005
  threading!) or install the appropriate package for your distribution.
 
16006
" "$LINENO" 5
21511
16007
 
21512
16008
fi
21513
16009
 
21535
16031
 
21536
16032
 
21537
16033
# Check whether --with-alsa-prefix was given.
21538
 
if test "${with_alsa_prefix+set}" = set; then
 
16034
if test "${with_alsa_prefix+set}" = set; then :
21539
16035
  withval=$with_alsa_prefix; alsa_prefix="$withval"
21540
16036
else
21541
16037
  alsa_prefix=""
21544
16040
 
21545
16041
 
21546
16042
# Check whether --with-alsa-inc-prefix was given.
21547
 
if test "${with_alsa_inc_prefix+set}" = set; then
 
16043
if test "${with_alsa_inc_prefix+set}" = set; then :
21548
16044
  withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
21549
16045
else
21550
16046
  alsa_inc_prefix=""
21552
16048
 
21553
16049
 
21554
16050
# Check whether --enable-alsatest was given.
21555
 
if test "${enable_alsatest+set}" = set; then
 
16051
if test "${enable_alsatest+set}" = set; then :
21556
16052
  enableval=$enable_alsatest; enable_alsatest=no
21557
16053
else
21558
16054
  enable_alsatest=yes
21559
16055
fi
21560
16056
 
21561
16057
 
21562
 
{ echo "$as_me:$LINENO: checking for ALSA CFLAGS" >&5
21563
 
echo $ECHO_N "checking for ALSA CFLAGS... $ECHO_C" >&6; }
 
16058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
 
16059
$as_echo_n "checking for ALSA CFLAGS... " >&6; }
21564
16060
if test "$alsa_inc_prefix" != "" ; then
21565
16061
        ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
21566
16062
        CFLAGS="$CFLAGS -I$alsa_inc_prefix"
21567
16063
fi
21568
 
{ echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
21569
 
echo "${ECHO_T}$ALSA_CFLAGS" >&6; }
 
16064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
 
16065
$as_echo "$ALSA_CFLAGS" >&6; }
21570
16066
 
21571
 
{ echo "$as_me:$LINENO: checking for ALSA LDFLAGS" >&5
21572
 
echo $ECHO_N "checking for ALSA LDFLAGS... $ECHO_C" >&6; }
 
16067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
 
16068
$as_echo_n "checking for ALSA LDFLAGS... " >&6; }
21573
16069
if test "$alsa_prefix" != "" ; then
21574
16070
        ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
21575
16071
        LDFLAGS="$LDFLAGS $ALSA_LIBS"
21580
16076
LIBS=`echo $LIBS | sed 's/-ldl//'`
21581
16077
LIBS=`echo $LIBS | sed 's/  //'`
21582
16078
LIBS="$ALSA_LIBS $LIBS"
21583
 
{ echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
21584
 
echo "${ECHO_T}$ALSA_LIBS" >&6; }
 
16079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
 
16080
$as_echo "$ALSA_LIBS" >&6; }
21585
16081
 
21586
16082
min_alsa_version=0.9.0
21587
 
{ echo "$as_me:$LINENO: checking for libasound headers version >= $min_alsa_version" >&5
21588
 
echo $ECHO_N "checking for libasound headers version >= $min_alsa_version... $ECHO_C" >&6; }
 
16083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
 
16084
$as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
21589
16085
no_alsa=""
21590
16086
    alsa_min_major_version=`echo $min_alsa_version | \
21591
16087
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21601
16097
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21602
16098
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21603
16099
 
21604
 
cat >conftest.$ac_ext <<_ACEOF
21605
 
/* confdefs.h.  */
21606
 
_ACEOF
21607
 
cat confdefs.h >>conftest.$ac_ext
21608
 
cat >>conftest.$ac_ext <<_ACEOF
 
16100
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21609
16101
/* end confdefs.h.  */
21610
16102
 
21611
16103
#include <alsa/asoundlib.h>
21653
16145
  return 0;
21654
16146
}
21655
16147
_ACEOF
21656
 
rm -f conftest.$ac_objext
21657
 
if { (ac_try="$ac_compile"
21658
 
case "(($ac_try" in
21659
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21660
 
  *) ac_try_echo=$ac_try;;
21661
 
esac
21662
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21663
 
  (eval "$ac_compile") 2>conftest.er1
21664
 
  ac_status=$?
21665
 
  grep -v '^ *+' conftest.er1 >conftest.err
21666
 
  rm -f conftest.er1
21667
 
  cat conftest.err >&5
21668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669
 
  (exit $ac_status); } && {
21670
 
         test -z "$ac_c_werror_flag" ||
21671
 
         test ! -s conftest.err
21672
 
       } && test -s conftest.$ac_objext; then
21673
 
  { echo "$as_me:$LINENO: result: found." >&5
21674
 
echo "${ECHO_T}found." >&6; }
 
16148
if ac_fn_c_try_compile "$LINENO"; then :
 
16149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
 
16150
$as_echo "found." >&6; }
21675
16151
else
21676
 
  echo "$as_me: failed program was:" >&5
21677
 
sed 's/^/| /' conftest.$ac_ext >&5
21678
 
 
21679
 
        { echo "$as_me:$LINENO: result: not present." >&5
21680
 
echo "${ECHO_T}not present." >&6; }
 
16152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
 
16153
$as_echo "not present." >&6; }
21681
16154
 
21682
16155
   alsa_found=no
21683
16156
 
21684
16157
fi
21685
 
 
21686
16158
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687
16159
ac_ext=c
21688
16160
ac_cpp='$CPP $CPPFLAGS'
21698
16170
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699
16171
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21700
16172
 
21701
 
 
21702
 
{ echo "$as_me:$LINENO: checking for snd_seq_create_event in -lasound" >&5
21703
 
echo $ECHO_N "checking for snd_seq_create_event in -lasound... $ECHO_C" >&6; }
21704
 
if test "${ac_cv_lib_asound_snd_seq_create_event+set}" = set; then
21705
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_create_event in -lasound" >&5
 
16174
$as_echo_n "checking for snd_seq_create_event in -lasound... " >&6; }
 
16175
if test "${ac_cv_lib_asound_snd_seq_create_event+set}" = set; then :
 
16176
  $as_echo_n "(cached) " >&6
21706
16177
else
21707
16178
  ac_check_lib_save_LIBS=$LIBS
21708
16179
LIBS="-lasound  $LIBS"
21709
 
cat >conftest.$ac_ext <<_ACEOF
21710
 
/* confdefs.h.  */
21711
 
_ACEOF
21712
 
cat confdefs.h >>conftest.$ac_ext
21713
 
cat >>conftest.$ac_ext <<_ACEOF
 
16180
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714
16181
/* end confdefs.h.  */
21715
16182
 
21716
16183
/* Override any GCC internal prototype to avoid an error.
21728
16195
  return 0;
21729
16196
}
21730
16197
_ACEOF
21731
 
rm -f conftest.$ac_objext conftest$ac_exeext
21732
 
if { (ac_try="$ac_link"
21733
 
case "(($ac_try" in
21734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21735
 
  *) ac_try_echo=$ac_try;;
21736
 
esac
21737
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21738
 
  (eval "$ac_link") 2>conftest.er1
21739
 
  ac_status=$?
21740
 
  grep -v '^ *+' conftest.er1 >conftest.err
21741
 
  rm -f conftest.er1
21742
 
  cat conftest.err >&5
21743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744
 
  (exit $ac_status); } && {
21745
 
         test -z "$ac_cxx_werror_flag" ||
21746
 
         test ! -s conftest.err
21747
 
       } && test -s conftest$ac_exeext &&
21748
 
       $as_test_x conftest$ac_exeext; then
 
16198
if ac_fn_cxx_try_link "$LINENO"; then :
21749
16199
  ac_cv_lib_asound_snd_seq_create_event=yes
21750
16200
else
21751
 
  echo "$as_me: failed program was:" >&5
21752
 
sed 's/^/| /' conftest.$ac_ext >&5
21753
 
 
21754
 
        ac_cv_lib_asound_snd_seq_create_event=no
 
16201
  ac_cv_lib_asound_snd_seq_create_event=no
21755
16202
fi
21756
 
 
21757
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21758
 
      conftest$ac_exeext conftest.$ac_ext
 
16203
rm -f core conftest.err conftest.$ac_objext \
 
16204
    conftest$ac_exeext conftest.$ac_ext
21759
16205
LIBS=$ac_check_lib_save_LIBS
21760
16206
fi
21761
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_seq_create_event" >&5
21762
 
echo "${ECHO_T}$ac_cv_lib_asound_snd_seq_create_event" >&6; }
21763
 
if test $ac_cv_lib_asound_snd_seq_create_event = yes; then
 
16207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_create_event" >&5
 
16208
$as_echo "$ac_cv_lib_asound_snd_seq_create_event" >&6; }
 
16209
if test "x$ac_cv_lib_asound_snd_seq_create_event" = x""yes; then :
21764
16210
  cat >>confdefs.h <<_ACEOF
21765
16211
#define HAVE_LIBASOUND 1
21766
16212
_ACEOF
21787
16233
   LIBS="-lasound $LIBS"
21788
16234
fi
21789
16235
if test "x$alsa_found" = "xno" ; then
21790
 
   { { echo "$as_me:$LINENO: error: latest alsa (0.9.x) is required" >&5
21791
 
echo "$as_me: error: latest alsa (0.9.x) is required" >&2;}
21792
 
   { (exit 1); exit 1; }; }
 
16236
   as_fn_error "latest alsa (0.9.x) is required" "$LINENO" 5
21793
16237
 
21794
16238
   CFLAGS="$alsa_save_CFLAGS"
21795
16239
   LDFLAGS="$alsa_save_LDFLAGS"
21810
16254
synth_fluidsynth="fluidsynth"
21811
16255
synth_fluid="fluid"
21812
16256
# Check whether --enable-fluidsynth was given.
21813
 
if test "${enable_fluidsynth+set}" = set; then
 
16257
if test "${enable_fluidsynth+set}" = set; then :
21814
16258
  enableval=$enable_fluidsynth;
21815
16259
  case "$enableval" in
21816
16260
    "yes")
21823
16267
      synth_fluid=""
21824
16268
      ;;
21825
16269
    *)
21826
 
      { { echo "$as_me:$LINENO: error: must use --enable-fluidsynth(=yes/no) or --disable-fluidsynth" >&5
21827
 
echo "$as_me: error: must use --enable-fluidsynth(=yes/no) or --disable-fluidsynth" >&2;}
21828
 
   { (exit 1); exit 1; }; }
 
16270
      as_fn_error "must use --enable-fluidsynth(=yes/no) or --disable-fluidsynth" "$LINENO" 5
21829
16271
      ;;
21830
16272
  esac
21831
16273
 
21832
16274
fi
21833
16275
 
21834
16276
 
21835
 
 
21836
 
 
21837
 
if test "$muse_enable_fluidlib" = "yes"; then
 
16277
 if test "$muse_enable_fluidlib" = "yes"; then
21838
16278
  ENABLEFLUIDSYNTH_TRUE=
21839
16279
  ENABLEFLUIDSYNTH_FALSE='#'
21840
16280
else
21848
16288
        if test -n "$ac_tool_prefix"; then
21849
16289
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21850
16290
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21851
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21852
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21853
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21854
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16292
$as_echo_n "checking for $ac_word... " >&6; }
 
16293
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
16294
  $as_echo_n "(cached) " >&6
21855
16295
else
21856
16296
  case $PKG_CONFIG in
21857
16297
  [\\/]* | ?:[\\/]*)
21863
16303
do
21864
16304
  IFS=$as_save_IFS
21865
16305
  test -z "$as_dir" && as_dir=.
21866
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16306
    for ac_exec_ext in '' $ac_executable_extensions; do
21867
16307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21868
16308
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21869
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16309
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21870
16310
    break 2
21871
16311
  fi
21872
16312
done
21873
 
done
 
16313
  done
21874
16314
IFS=$as_save_IFS
21875
16315
 
21876
16316
  ;;
21878
16318
fi
21879
16319
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21880
16320
if test -n "$PKG_CONFIG"; then
21881
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21882
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
16321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
16322
$as_echo "$PKG_CONFIG" >&6; }
21883
16323
else
21884
 
  { echo "$as_me:$LINENO: result: no" >&5
21885
 
echo "${ECHO_T}no" >&6; }
 
16324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16325
$as_echo "no" >&6; }
21886
16326
fi
21887
16327
 
21888
16328
 
21891
16331
  ac_pt_PKG_CONFIG=$PKG_CONFIG
21892
16332
  # Extract the first word of "pkg-config", so it can be a program name with args.
21893
16333
set dummy pkg-config; ac_word=$2
21894
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21895
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21896
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16335
$as_echo_n "checking for $ac_word... " >&6; }
 
16336
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
16337
  $as_echo_n "(cached) " >&6
21898
16338
else
21899
16339
  case $ac_pt_PKG_CONFIG in
21900
16340
  [\\/]* | ?:[\\/]*)
21906
16346
do
21907
16347
  IFS=$as_save_IFS
21908
16348
  test -z "$as_dir" && as_dir=.
21909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16349
    for ac_exec_ext in '' $ac_executable_extensions; do
21910
16350
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21911
16351
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21912
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16352
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21913
16353
    break 2
21914
16354
  fi
21915
16355
done
21916
 
done
 
16356
  done
21917
16357
IFS=$as_save_IFS
21918
16358
 
21919
16359
  ;;
21921
16361
fi
21922
16362
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21923
16363
if test -n "$ac_pt_PKG_CONFIG"; then
21924
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21925
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
16364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
16365
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
21926
16366
else
21927
 
  { echo "$as_me:$LINENO: result: no" >&5
21928
 
echo "${ECHO_T}no" >&6; }
 
16367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16368
$as_echo "no" >&6; }
21929
16369
fi
21930
16370
 
21931
16371
  if test "x$ac_pt_PKG_CONFIG" = x; then
21933
16373
  else
21934
16374
    case $cross_compiling:$ac_tool_warned in
21935
16375
yes:)
21936
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21937
 
whose name does not start with the host triplet.  If you think this
21938
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
21939
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21940
 
whose name does not start with the host triplet.  If you think this
21941
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
16376
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
16377
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21942
16378
ac_tool_warned=yes ;;
21943
16379
esac
21944
16380
    PKG_CONFIG=$ac_pt_PKG_CONFIG
21950
16386
fi
21951
16387
if test -n "$PKG_CONFIG"; then
21952
16388
        _pkg_min_version=0.9.0
21953
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21954
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
16389
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
16390
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21955
16391
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21956
 
                { echo "$as_me:$LINENO: result: yes" >&5
21957
 
echo "${ECHO_T}yes" >&6; }
 
16392
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16393
$as_echo "yes" >&6; }
21958
16394
        else
21959
 
                { echo "$as_me:$LINENO: result: no" >&5
21960
 
echo "${ECHO_T}no" >&6; }
 
16395
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16396
$as_echo "no" >&6; }
21961
16397
                PKG_CONFIG=""
21962
16398
        fi
21963
16399
 
21964
16400
fi
21965
16401
 
21966
16402
pkg_failed=no
21967
 
{ echo "$as_me:$LINENO: checking for Fluidsynth" >&5
21968
 
echo $ECHO_N "checking for Fluidsynth... $ECHO_C" >&6; }
 
16403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fluidsynth" >&5
 
16404
$as_echo_n "checking for Fluidsynth... " >&6; }
21969
16405
 
21970
16406
if test -n "$PKG_CONFIG"; then
21971
16407
    if test -n "$Fluidsynth_CFLAGS"; then
21972
16408
        pkg_cv_Fluidsynth_CFLAGS="$Fluidsynth_CFLAGS"
21973
16409
    else
21974
16410
        if test -n "$PKG_CONFIG" && \
21975
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fluidsynth\"") >&5
 
16411
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth\""; } >&5
21976
16412
  ($PKG_CONFIG --exists --print-errors "fluidsynth") 2>&5
21977
16413
  ac_status=$?
21978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979
 
  (exit $ac_status); }; then
 
16414
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16415
  test $ac_status = 0; }; then
21980
16416
  pkg_cv_Fluidsynth_CFLAGS=`$PKG_CONFIG --cflags "fluidsynth" 2>/dev/null`
21981
16417
else
21982
16418
  pkg_failed=yes
21990
16426
        pkg_cv_Fluidsynth_LIBS="$Fluidsynth_LIBS"
21991
16427
    else
21992
16428
        if test -n "$PKG_CONFIG" && \
21993
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fluidsynth\"") >&5
 
16429
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fluidsynth\""; } >&5
21994
16430
  ($PKG_CONFIG --exists --print-errors "fluidsynth") 2>&5
21995
16431
  ac_status=$?
21996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997
 
  (exit $ac_status); }; then
 
16432
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16433
  test $ac_status = 0; }; then
21998
16434
  pkg_cv_Fluidsynth_LIBS=`$PKG_CONFIG --libs "fluidsynth" 2>/dev/null`
21999
16435
else
22000
16436
  pkg_failed=yes
22021
16457
        # Put the nasty error message in config.log where it belongs
22022
16458
        echo "$Fluidsynth_PKG_ERRORS" >&5
22023
16459
 
22024
 
        { echo "$as_me:$LINENO: result: no" >&5
22025
 
echo "${ECHO_T}no" >&6; }
22026
 
                { echo "$as_me:$LINENO: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&5
22027
 
echo "$as_me: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&2;} ;
 
16460
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16461
$as_echo "no" >&6; }
 
16462
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&5
 
16463
$as_echo "$as_me: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&2;} ;
22028
16464
  muse_enable_fluidlib="no"
22029
16465
 
22030
16466
elif test $pkg_failed = untried; then
22031
 
        { echo "$as_me:$LINENO: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&5
22032
 
echo "$as_me: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&2;} ;
 
16467
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&5
 
16468
$as_echo "$as_me: WARNING: libfluidsynth not found; disabling fluidsynth plugins" >&2;} ;
22033
16469
  muse_enable_fluidlib="no"
22034
16470
 
22035
16471
else
22036
16472
        Fluidsynth_CFLAGS=$pkg_cv_Fluidsynth_CFLAGS
22037
16473
        Fluidsynth_LIBS=$pkg_cv_Fluidsynth_LIBS
22038
 
        { echo "$as_me:$LINENO: result: yes" >&5
22039
 
echo "${ECHO_T}yes" >&6; }
 
16474
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16475
$as_echo "yes" >&6; }
22040
16476
        FLUIDSYNTHDIRS="fluid fluidsynth";
22041
 
cat >>confdefs.h <<\_ACEOF
22042
 
#define ENABLEFLUIDSYNTH 1
22043
 
_ACEOF
 
16477
$as_echo "#define ENABLEFLUIDSYNTH 1" >>confdefs.h
22044
16478
 
22045
16479
fi
22046
16480
 
22057
16491
###############
22058
16492
 
22059
16493
pkg_failed=no
22060
 
{ echo "$as_me:$LINENO: checking for SNDFILE" >&5
22061
 
echo $ECHO_N "checking for SNDFILE... $ECHO_C" >&6; }
 
16494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
 
16495
$as_echo_n "checking for SNDFILE... " >&6; }
22062
16496
 
22063
16497
if test -n "$PKG_CONFIG"; then
22064
16498
    if test -n "$SNDFILE_CFLAGS"; then
22065
16499
        pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
22066
16500
    else
22067
16501
        if test -n "$PKG_CONFIG" && \
22068
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.0\"") >&5
 
16502
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.0\""; } >&5
22069
16503
  ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.0") 2>&5
22070
16504
  ac_status=$?
22071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072
 
  (exit $ac_status); }; then
 
16505
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16506
  test $ac_status = 0; }; then
22073
16507
  pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.0" 2>/dev/null`
22074
16508
else
22075
16509
  pkg_failed=yes
22083
16517
        pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
22084
16518
    else
22085
16519
        if test -n "$PKG_CONFIG" && \
22086
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.0\"") >&5
 
16520
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.0\""; } >&5
22087
16521
  ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.0") 2>&5
22088
16522
  ac_status=$?
22089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090
 
  (exit $ac_status); }; then
 
16523
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16524
  test $ac_status = 0; }; then
22091
16525
  pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.0" 2>/dev/null`
22092
16526
else
22093
16527
  pkg_failed=yes
22114
16548
        # Put the nasty error message in config.log where it belongs
22115
16549
        echo "$SNDFILE_PKG_ERRORS" >&5
22116
16550
 
22117
 
        { echo "$as_me:$LINENO: result: no" >&5
22118
 
echo "${ECHO_T}no" >&6; }
22119
 
                { { echo "$as_me:$LINENO: error: need libsndfile >= 1.0.0" >&5
22120
 
echo "$as_me: error: need libsndfile >= 1.0.0" >&2;}
22121
 
   { (exit 1); exit 1; }; }
 
16551
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16552
$as_echo "no" >&6; }
 
16553
                as_fn_error "need libsndfile >= 1.0.0" "$LINENO" 5
22122
16554
 
22123
16555
elif test $pkg_failed = untried; then
22124
 
        { { echo "$as_me:$LINENO: error: need libsndfile >= 1.0.0" >&5
22125
 
echo "$as_me: error: need libsndfile >= 1.0.0" >&2;}
22126
 
   { (exit 1); exit 1; }; }
 
16556
        as_fn_error "need libsndfile >= 1.0.0" "$LINENO" 5
22127
16557
 
22128
16558
else
22129
16559
        SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
22130
16560
        SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
22131
 
        { echo "$as_me:$LINENO: result: yes" >&5
22132
 
echo "${ECHO_T}yes" >&6; }
 
16561
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16562
$as_echo "yes" >&6; }
22133
16563
        true
22134
16564
fi
22135
16565
 
22138
16568
###############
22139
16569
 
22140
16570
pkg_failed=no
22141
 
{ echo "$as_me:$LINENO: checking for SAMPLERATE" >&5
22142
 
echo $ECHO_N "checking for SAMPLERATE... $ECHO_C" >&6; }
 
16571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5
 
16572
$as_echo_n "checking for SAMPLERATE... " >&6; }
22143
16573
 
22144
16574
if test -n "$PKG_CONFIG"; then
22145
16575
    if test -n "$SAMPLERATE_CFLAGS"; then
22146
16576
        pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS"
22147
16577
    else
22148
16578
        if test -n "$PKG_CONFIG" && \
22149
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.0\"") >&5
 
16579
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.0\""; } >&5
22150
16580
  ($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.0") 2>&5
22151
16581
  ac_status=$?
22152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153
 
  (exit $ac_status); }; then
 
16582
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16583
  test $ac_status = 0; }; then
22154
16584
  pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate >= 0.1.0" 2>/dev/null`
22155
16585
else
22156
16586
  pkg_failed=yes
22164
16594
        pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS"
22165
16595
    else
22166
16596
        if test -n "$PKG_CONFIG" && \
22167
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.0\"") >&5
 
16597
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= 0.1.0\""; } >&5
22168
16598
  ($PKG_CONFIG --exists --print-errors "samplerate >= 0.1.0") 2>&5
22169
16599
  ac_status=$?
22170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171
 
  (exit $ac_status); }; then
 
16600
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16601
  test $ac_status = 0; }; then
22172
16602
  pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate >= 0.1.0" 2>/dev/null`
22173
16603
else
22174
16604
  pkg_failed=yes
22195
16625
        # Put the nasty error message in config.log where it belongs
22196
16626
        echo "$SAMPLERATE_PKG_ERRORS" >&5
22197
16627
 
22198
 
        { echo "$as_me:$LINENO: result: no" >&5
22199
 
echo "${ECHO_T}no" >&6; }
22200
 
                { { echo "$as_me:$LINENO: error: need libsamplerate" >&5
22201
 
echo "$as_me: error: need libsamplerate" >&2;}
22202
 
   { (exit 1); exit 1; }; }
 
16628
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16629
$as_echo "no" >&6; }
 
16630
                as_fn_error "need libsamplerate" "$LINENO" 5
22203
16631
 
22204
16632
elif test $pkg_failed = untried; then
22205
 
        { { echo "$as_me:$LINENO: error: need libsamplerate" >&5
22206
 
echo "$as_me: error: need libsamplerate" >&2;}
22207
 
   { (exit 1); exit 1; }; }
 
16633
        as_fn_error "need libsamplerate" "$LINENO" 5
22208
16634
 
22209
16635
else
22210
16636
        SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS
22211
16637
        SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS
22212
 
        { echo "$as_me:$LINENO: result: yes" >&5
22213
 
echo "${ECHO_T}yes" >&6; }
 
16638
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16639
$as_echo "yes" >&6; }
22214
16640
        true
22215
16641
fi
22216
16642
 
22217
16643
###############
22218
16644
### libuuid ###
22219
16645
###############
22220
 
if test "${ac_cv_header_uuid_uuid_h+set}" = set; then
22221
 
  { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5
22222
 
echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; }
22223
 
if test "${ac_cv_header_uuid_uuid_h+set}" = set; then
22224
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22225
 
fi
22226
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5
22227
 
echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; }
22228
 
else
22229
 
  # Is the header compilable?
22230
 
{ echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5
22231
 
echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; }
22232
 
cat >conftest.$ac_ext <<_ACEOF
22233
 
/* confdefs.h.  */
22234
 
_ACEOF
22235
 
cat confdefs.h >>conftest.$ac_ext
22236
 
cat >>conftest.$ac_ext <<_ACEOF
22237
 
/* end confdefs.h.  */
22238
 
$ac_includes_default
22239
 
#include <uuid/uuid.h>
22240
 
_ACEOF
22241
 
rm -f conftest.$ac_objext
22242
 
if { (ac_try="$ac_compile"
22243
 
case "(($ac_try" in
22244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245
 
  *) ac_try_echo=$ac_try;;
22246
 
esac
22247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248
 
  (eval "$ac_compile") 2>conftest.er1
22249
 
  ac_status=$?
22250
 
  grep -v '^ *+' conftest.er1 >conftest.err
22251
 
  rm -f conftest.er1
22252
 
  cat conftest.err >&5
22253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254
 
  (exit $ac_status); } && {
22255
 
         test -z "$ac_c_werror_flag" ||
22256
 
         test ! -s conftest.err
22257
 
       } && test -s conftest.$ac_objext; then
22258
 
  ac_header_compiler=yes
22259
 
else
22260
 
  echo "$as_me: failed program was:" >&5
22261
 
sed 's/^/| /' conftest.$ac_ext >&5
22262
 
 
22263
 
        ac_header_compiler=no
22264
 
fi
22265
 
 
22266
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22268
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22269
 
 
22270
 
# Is the header present?
22271
 
{ echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5
22272
 
echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; }
22273
 
cat >conftest.$ac_ext <<_ACEOF
22274
 
/* confdefs.h.  */
22275
 
_ACEOF
22276
 
cat confdefs.h >>conftest.$ac_ext
22277
 
cat >>conftest.$ac_ext <<_ACEOF
22278
 
/* end confdefs.h.  */
22279
 
#include <uuid/uuid.h>
22280
 
_ACEOF
22281
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22282
 
case "(($ac_try" in
22283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22284
 
  *) ac_try_echo=$ac_try;;
22285
 
esac
22286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22288
 
  ac_status=$?
22289
 
  grep -v '^ *+' conftest.er1 >conftest.err
22290
 
  rm -f conftest.er1
22291
 
  cat conftest.err >&5
22292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293
 
  (exit $ac_status); } >/dev/null && {
22294
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22295
 
         test ! -s conftest.err
22296
 
       }; then
22297
 
  ac_header_preproc=yes
22298
 
else
22299
 
  echo "$as_me: failed program was:" >&5
22300
 
sed 's/^/| /' conftest.$ac_ext >&5
22301
 
 
22302
 
  ac_header_preproc=no
22303
 
fi
22304
 
 
22305
 
rm -f conftest.err conftest.$ac_ext
22306
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22307
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22308
 
 
22309
 
# So?  What about this header?
22310
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22311
 
  yes:no: )
22312
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5
22313
 
echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22314
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5
22315
 
echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;}
22316
 
    ac_header_preproc=yes
22317
 
    ;;
22318
 
  no:yes:* )
22319
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5
22320
 
echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;}
22321
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5
22322
 
echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;}
22323
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5
22324
 
echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;}
22325
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5
22326
 
echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22327
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5
22328
 
echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;}
22329
 
    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5
22330
 
echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;}
22331
 
 
22332
 
    ;;
22333
 
esac
22334
 
{ echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5
22335
 
echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; }
22336
 
if test "${ac_cv_header_uuid_uuid_h+set}" = set; then
22337
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22338
 
else
22339
 
  ac_cv_header_uuid_uuid_h=$ac_header_preproc
22340
 
fi
22341
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5
22342
 
echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; }
22343
 
 
22344
 
fi
22345
 
if test $ac_cv_header_uuid_uuid_h = yes; then
 
16646
ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
 
16647
if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then :
22346
16648
  UUID_FOUND="yes"
22347
16649
else
22348
16650
  UUID_FOUND="no"
22350
16652
 
22351
16653
 
22352
16654
if test x$UUID_FOUND = xno; then
22353
 
  { { echo "$as_me:$LINENO: error: Header file uuid.h, from the uuid-dev (sometimes in e2fsprogs) package, is required" >&5
22354
 
echo "$as_me: error: Header file uuid.h, from the uuid-dev (sometimes in e2fsprogs) package, is required" >&2;}
22355
 
   { (exit 1); exit 1; }; }
 
16655
  as_fn_error "Header file uuid.h, from the uuid-dev (sometimes in e2fsprogs) package, is required" "$LINENO" 5
22356
16656
fi
22357
16657
 
22358
 
{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5
22359
 
echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }
22360
 
if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then
22361
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
 
16659
$as_echo_n "checking for uuid_generate in -luuid... " >&6; }
 
16660
if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :
 
16661
  $as_echo_n "(cached) " >&6
22362
16662
else
22363
16663
  ac_check_lib_save_LIBS=$LIBS
22364
16664
LIBS="-luuid  $LIBS"
22365
 
cat >conftest.$ac_ext <<_ACEOF
22366
 
/* confdefs.h.  */
22367
 
_ACEOF
22368
 
cat confdefs.h >>conftest.$ac_ext
22369
 
cat >>conftest.$ac_ext <<_ACEOF
 
16665
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22370
16666
/* end confdefs.h.  */
22371
16667
 
22372
16668
/* Override any GCC internal prototype to avoid an error.
22384
16680
  return 0;
22385
16681
}
22386
16682
_ACEOF
22387
 
rm -f conftest.$ac_objext conftest$ac_exeext
22388
 
if { (ac_try="$ac_link"
22389
 
case "(($ac_try" in
22390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22391
 
  *) ac_try_echo=$ac_try;;
22392
 
esac
22393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22394
 
  (eval "$ac_link") 2>conftest.er1
22395
 
  ac_status=$?
22396
 
  grep -v '^ *+' conftest.er1 >conftest.err
22397
 
  rm -f conftest.er1
22398
 
  cat conftest.err >&5
22399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400
 
  (exit $ac_status); } && {
22401
 
         test -z "$ac_c_werror_flag" ||
22402
 
         test ! -s conftest.err
22403
 
       } && test -s conftest$ac_exeext &&
22404
 
       $as_test_x conftest$ac_exeext; then
 
16683
if ac_fn_c_try_link "$LINENO"; then :
22405
16684
  ac_cv_lib_uuid_uuid_generate=yes
22406
16685
else
22407
 
  echo "$as_me: failed program was:" >&5
22408
 
sed 's/^/| /' conftest.$ac_ext >&5
22409
 
 
22410
 
        ac_cv_lib_uuid_uuid_generate=no
 
16686
  ac_cv_lib_uuid_uuid_generate=no
22411
16687
fi
22412
 
 
22413
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22414
 
      conftest$ac_exeext conftest.$ac_ext
 
16688
rm -f core conftest.err conftest.$ac_objext \
 
16689
    conftest$ac_exeext conftest.$ac_ext
22415
16690
LIBS=$ac_check_lib_save_LIBS
22416
16691
fi
22417
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5
22418
 
echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }
22419
 
if test $ac_cv_lib_uuid_uuid_generate = yes; then
 
16692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
 
16693
$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
 
16694
if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :
22420
16695
  UUID_FOUND="yes"
22421
16696
else
22422
16697
  UUID_FOUND="no"
22423
16698
fi
22424
16699
 
22425
16700
if test x$UUID_FOUND = xno; then
22426
 
  { { echo "$as_me:$LINENO: error: libuuid (sometimes in e2fsprogs package) is required" >&5
22427
 
echo "$as_me: error: libuuid (sometimes in e2fsprogs package) is required" >&2;}
22428
 
   { (exit 1); exit 1; }; }
 
16701
  as_fn_error "libuuid (sometimes in e2fsprogs package) is required" "$LINENO" 5
22429
16702
fi
22430
16703
UUID_LIBS="-luuid"
22431
16704
 
22442
16715
 
22443
16716
 
22444
16717
pkg_failed=no
22445
 
{ echo "$as_me:$LINENO: checking for JACK" >&5
22446
 
echo $ECHO_N "checking for JACK... $ECHO_C" >&6; }
 
16718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
 
16719
$as_echo_n "checking for JACK... " >&6; }
22447
16720
 
22448
16721
if test -n "$PKG_CONFIG"; then
22449
16722
    if test -n "$JACK_CFLAGS"; then
22450
16723
        pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
22451
16724
    else
22452
16725
        if test -n "$PKG_CONFIG" && \
22453
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98.0\"") >&5
 
16726
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98.0\""; } >&5
22454
16727
  ($PKG_CONFIG --exists --print-errors "jack >= 0.98.0") 2>&5
22455
16728
  ac_status=$?
22456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457
 
  (exit $ac_status); }; then
 
16729
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16730
  test $ac_status = 0; }; then
22458
16731
  pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.98.0" 2>/dev/null`
22459
16732
else
22460
16733
  pkg_failed=yes
22468
16741
        pkg_cv_JACK_LIBS="$JACK_LIBS"
22469
16742
    else
22470
16743
        if test -n "$PKG_CONFIG" && \
22471
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98.0\"") >&5
 
16744
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98.0\""; } >&5
22472
16745
  ($PKG_CONFIG --exists --print-errors "jack >= 0.98.0") 2>&5
22473
16746
  ac_status=$?
22474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475
 
  (exit $ac_status); }; then
 
16747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16748
  test $ac_status = 0; }; then
22476
16749
  pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.98.0" 2>/dev/null`
22477
16750
else
22478
16751
  pkg_failed=yes
22499
16772
        # Put the nasty error message in config.log where it belongs
22500
16773
        echo "$JACK_PKG_ERRORS" >&5
22501
16774
 
22502
 
        { echo "$as_me:$LINENO: result: no" >&5
22503
 
echo "${ECHO_T}no" >&6; }
22504
 
                { { echo "$as_me:$LINENO: error: need JACK >= 0.98.0" >&5
22505
 
echo "$as_me: error: need JACK >= 0.98.0" >&2;}
22506
 
   { (exit 1); exit 1; }; }
 
16775
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16776
$as_echo "no" >&6; }
 
16777
                as_fn_error "need JACK >= 0.98.0" "$LINENO" 5
22507
16778
 
22508
16779
elif test $pkg_failed = untried; then
22509
 
        { { echo "$as_me:$LINENO: error: need JACK >= 0.98.0" >&5
22510
 
echo "$as_me: error: need JACK >= 0.98.0" >&2;}
22511
 
   { (exit 1); exit 1; }; }
 
16780
        as_fn_error "need JACK >= 0.98.0" "$LINENO" 5
22512
16781
 
22513
16782
else
22514
16783
        JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
22515
16784
        JACK_LIBS=$pkg_cv_JACK_LIBS
22516
 
        { echo "$as_me:$LINENO: result: yes" >&5
22517
 
echo "${ECHO_T}yes" >&6; }
 
16785
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16786
$as_echo "yes" >&6; }
22518
16787
        true
22519
16788
fi
22520
16789
 
22523
16792
##############
22524
16793
muse_enable_lash="no"
22525
16794
# Check whether --enable-lash was given.
22526
 
if test "${enable_lash+set}" = set; then
 
16795
if test "${enable_lash+set}" = set; then :
22527
16796
  enableval=$enable_lash;
22528
16797
  case "$enableval" in
22529
16798
    "yes")
22533
16802
      muse_enable_lash="no"
22534
16803
      ;;
22535
16804
    *)
22536
 
      { { echo "$as_me:$LINENO: error: must use --enable-lash(=yes/no) or --disable-lash" >&5
22537
 
echo "$as_me: error: must use --enable-lash(=yes/no) or --disable-lash" >&2;}
22538
 
   { (exit 1); exit 1; }; }
 
16805
      as_fn_error "must use --enable-lash(=yes/no) or --disable-lash" "$LINENO" 5
22539
16806
      ;;
22540
16807
  esac
22541
16808
 
22545
16812
if test "$muse_enable_lash" = "yes"; then
22546
16813
 
22547
16814
pkg_failed=no
22548
 
{ echo "$as_me:$LINENO: checking for LASH" >&5
22549
 
echo $ECHO_N "checking for LASH... $ECHO_C" >&6; }
 
16815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LASH" >&5
 
16816
$as_echo_n "checking for LASH... " >&6; }
22550
16817
 
22551
16818
if test -n "$PKG_CONFIG"; then
22552
16819
    if test -n "$LASH_CFLAGS"; then
22553
16820
        pkg_cv_LASH_CFLAGS="$LASH_CFLAGS"
22554
16821
    else
22555
16822
        if test -n "$PKG_CONFIG" && \
22556
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.2\"") >&5
 
16823
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.2\""; } >&5
22557
16824
  ($PKG_CONFIG --exists --print-errors "lash-1.0 >= 0.2") 2>&5
22558
16825
  ac_status=$?
22559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560
 
  (exit $ac_status); }; then
 
16826
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16827
  test $ac_status = 0; }; then
22561
16828
  pkg_cv_LASH_CFLAGS=`$PKG_CONFIG --cflags "lash-1.0 >= 0.2" 2>/dev/null`
22562
16829
else
22563
16830
  pkg_failed=yes
22571
16838
        pkg_cv_LASH_LIBS="$LASH_LIBS"
22572
16839
    else
22573
16840
        if test -n "$PKG_CONFIG" && \
22574
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.2\"") >&5
 
16841
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lash-1.0 >= 0.2\""; } >&5
22575
16842
  ($PKG_CONFIG --exists --print-errors "lash-1.0 >= 0.2") 2>&5
22576
16843
  ac_status=$?
22577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578
 
  (exit $ac_status); }; then
 
16844
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16845
  test $ac_status = 0; }; then
22579
16846
  pkg_cv_LASH_LIBS=`$PKG_CONFIG --libs "lash-1.0 >= 0.2" 2>/dev/null`
22580
16847
else
22581
16848
  pkg_failed=yes
22602
16869
        # Put the nasty error message in config.log where it belongs
22603
16870
        echo "$LASH_PKG_ERRORS" >&5
22604
16871
 
22605
 
        { echo "$as_me:$LINENO: result: no" >&5
22606
 
echo "${ECHO_T}no" >&6; }
 
16872
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16873
$as_echo "no" >&6; }
22607
16874
                LASH_FOUND="no"
22608
16875
elif test $pkg_failed = untried; then
22609
16876
        LASH_FOUND="no"
22610
16877
else
22611
16878
        LASH_CFLAGS=$pkg_cv_LASH_CFLAGS
22612
16879
        LASH_LIBS=$pkg_cv_LASH_LIBS
22613
 
        { echo "$as_me:$LINENO: result: yes" >&5
22614
 
echo "${ECHO_T}yes" >&6; }
 
16880
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16881
$as_echo "yes" >&6; }
22615
16882
        LASH_FOUND="yes"
22616
16883
fi
22617
16884
 
22619
16886
 
22620
16887
  if test "$LASH_FOUND" = "yes"; then
22621
16888
 
22622
 
cat >>confdefs.h <<\_ACEOF
22623
 
#define HAVE_LASH 1
22624
 
_ACEOF
 
16889
$as_echo "#define HAVE_LASH 1" >>confdefs.h
22625
16890
 
22626
16891
    LASH_VERSION=$( pkg-config --modversion lash-1.0 )
22627
16892
 
22631
16896
 
22632
16897
  fi
22633
16898
else
22634
 
  { echo "$as_me:$LINENO: WARNING: LASH support is disabled" >&5
22635
 
echo "$as_me: WARNING: LASH support is disabled" >&2;}
 
16899
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LASH support is disabled" >&5
 
16900
$as_echo "$as_me: WARNING: LASH support is disabled" >&2;}
22636
16901
  LASH_FOUND="no"
22637
16902
fi
22638
 
 
22639
 
 
22640
 
if test "$LASH_FOUND" = "yes"; then
 
16903
 if test "$LASH_FOUND" = "yes"; then
22641
16904
  HAVE_LASH_TRUE=
22642
16905
  HAVE_LASH_FALSE='#'
22643
16906
else
22656
16919
GIVERTCAP=
22657
16920
report_rtcap="no"
22658
16921
# Check whether --enable-rtcap was given.
22659
 
if test "${enable_rtcap+set}" = set; then
 
16922
if test "${enable_rtcap+set}" = set; then :
22660
16923
  enableval=$enable_rtcap;
22661
16924
  case "$enableval" in
22662
16925
    "yes")
22663
16926
 
22664
 
cat >>confdefs.h <<\_ACEOF
22665
 
#define RTCAP 1
22666
 
_ACEOF
 
16927
$as_echo "#define RTCAP 1" >>confdefs.h
22667
16928
 
22668
16929
      MUSECXXFLAGS="$MUSECXXFLAGS -DRTCAP"
22669
16930
      GIVERTCAP="givertcap"
22670
16931
 
22671
 
      if test "${ac_cv_header_sys_capability_h+set}" = set; then
22672
 
  { echo "$as_me:$LINENO: checking for sys/capability.h" >&5
22673
 
echo $ECHO_N "checking for sys/capability.h... $ECHO_C" >&6; }
22674
 
if test "${ac_cv_header_sys_capability_h+set}" = set; then
22675
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22676
 
fi
22677
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_capability_h" >&5
22678
 
echo "${ECHO_T}$ac_cv_header_sys_capability_h" >&6; }
22679
 
else
22680
 
  # Is the header compilable?
22681
 
{ echo "$as_me:$LINENO: checking sys/capability.h usability" >&5
22682
 
echo $ECHO_N "checking sys/capability.h usability... $ECHO_C" >&6; }
22683
 
cat >conftest.$ac_ext <<_ACEOF
22684
 
/* confdefs.h.  */
22685
 
_ACEOF
22686
 
cat confdefs.h >>conftest.$ac_ext
22687
 
cat >>conftest.$ac_ext <<_ACEOF
22688
 
/* end confdefs.h.  */
22689
 
$ac_includes_default
22690
 
#include <sys/capability.h>
22691
 
_ACEOF
22692
 
rm -f conftest.$ac_objext
22693
 
if { (ac_try="$ac_compile"
22694
 
case "(($ac_try" in
22695
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696
 
  *) ac_try_echo=$ac_try;;
22697
 
esac
22698
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699
 
  (eval "$ac_compile") 2>conftest.er1
22700
 
  ac_status=$?
22701
 
  grep -v '^ *+' conftest.er1 >conftest.err
22702
 
  rm -f conftest.er1
22703
 
  cat conftest.err >&5
22704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705
 
  (exit $ac_status); } && {
22706
 
         test -z "$ac_c_werror_flag" ||
22707
 
         test ! -s conftest.err
22708
 
       } && test -s conftest.$ac_objext; then
22709
 
  ac_header_compiler=yes
22710
 
else
22711
 
  echo "$as_me: failed program was:" >&5
22712
 
sed 's/^/| /' conftest.$ac_ext >&5
22713
 
 
22714
 
        ac_header_compiler=no
22715
 
fi
22716
 
 
22717
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22718
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22719
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22720
 
 
22721
 
# Is the header present?
22722
 
{ echo "$as_me:$LINENO: checking sys/capability.h presence" >&5
22723
 
echo $ECHO_N "checking sys/capability.h presence... $ECHO_C" >&6; }
22724
 
cat >conftest.$ac_ext <<_ACEOF
22725
 
/* confdefs.h.  */
22726
 
_ACEOF
22727
 
cat confdefs.h >>conftest.$ac_ext
22728
 
cat >>conftest.$ac_ext <<_ACEOF
22729
 
/* end confdefs.h.  */
22730
 
#include <sys/capability.h>
22731
 
_ACEOF
22732
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22733
 
case "(($ac_try" in
22734
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735
 
  *) ac_try_echo=$ac_try;;
22736
 
esac
22737
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22739
 
  ac_status=$?
22740
 
  grep -v '^ *+' conftest.er1 >conftest.err
22741
 
  rm -f conftest.er1
22742
 
  cat conftest.err >&5
22743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744
 
  (exit $ac_status); } >/dev/null && {
22745
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22746
 
         test ! -s conftest.err
22747
 
       }; then
22748
 
  ac_header_preproc=yes
22749
 
else
22750
 
  echo "$as_me: failed program was:" >&5
22751
 
sed 's/^/| /' conftest.$ac_ext >&5
22752
 
 
22753
 
  ac_header_preproc=no
22754
 
fi
22755
 
 
22756
 
rm -f conftest.err conftest.$ac_ext
22757
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22758
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22759
 
 
22760
 
# So?  What about this header?
22761
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22762
 
  yes:no: )
22763
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h: accepted by the compiler, rejected by the preprocessor!" >&5
22764
 
echo "$as_me: WARNING: sys/capability.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22765
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h: proceeding with the compiler's result" >&5
22766
 
echo "$as_me: WARNING: sys/capability.h: proceeding with the compiler's result" >&2;}
22767
 
    ac_header_preproc=yes
22768
 
    ;;
22769
 
  no:yes:* )
22770
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h: present but cannot be compiled" >&5
22771
 
echo "$as_me: WARNING: sys/capability.h: present but cannot be compiled" >&2;}
22772
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h:     check for missing prerequisite headers?" >&5
22773
 
echo "$as_me: WARNING: sys/capability.h:     check for missing prerequisite headers?" >&2;}
22774
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h: see the Autoconf documentation" >&5
22775
 
echo "$as_me: WARNING: sys/capability.h: see the Autoconf documentation" >&2;}
22776
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h:     section \"Present But Cannot Be Compiled\"" >&5
22777
 
echo "$as_me: WARNING: sys/capability.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22778
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h: proceeding with the preprocessor's result" >&5
22779
 
echo "$as_me: WARNING: sys/capability.h: proceeding with the preprocessor's result" >&2;}
22780
 
    { echo "$as_me:$LINENO: WARNING: sys/capability.h: in the future, the compiler will take precedence" >&5
22781
 
echo "$as_me: WARNING: sys/capability.h: in the future, the compiler will take precedence" >&2;}
22782
 
 
22783
 
    ;;
22784
 
esac
22785
 
{ echo "$as_me:$LINENO: checking for sys/capability.h" >&5
22786
 
echo $ECHO_N "checking for sys/capability.h... $ECHO_C" >&6; }
22787
 
if test "${ac_cv_header_sys_capability_h+set}" = set; then
22788
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22789
 
else
22790
 
  ac_cv_header_sys_capability_h=$ac_header_preproc
22791
 
fi
22792
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_capability_h" >&5
22793
 
echo "${ECHO_T}$ac_cv_header_sys_capability_h" >&6; }
22794
 
 
22795
 
fi
22796
 
if test $ac_cv_header_sys_capability_h = yes; then
 
16932
      ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
 
16933
if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
22797
16934
  report_rtcap="yes"
22798
16935
else
22799
 
  { { echo "$as_me:$LINENO: error: Missing sys/capability.h" >&5
22800
 
echo "$as_me: error: Missing sys/capability.h" >&2;}
22801
 
   { (exit 1); exit 1; }; }
 
16936
  as_fn_error "Missing sys/capability.h" "$LINENO" 5
22802
16937
fi
22803
16938
 
22804
16939
 
22806
16941
    "no")
22807
16942
      ;;
22808
16943
    *)
22809
 
      { { echo "$as_me:$LINENO: error: must use --enable-rtcap(=yes/no) or --disable-rtcap" >&5
22810
 
echo "$as_me: error: must use --enable-rtcap(=yes/no) or --disable-rtcap" >&2;}
22811
 
   { (exit 1); exit 1; }; }
 
16944
      as_fn_error "must use --enable-rtcap(=yes/no) or --disable-rtcap" "$LINENO" 5
22812
16945
  esac
22813
16946
 
22814
16947
fi
22815
16948
 
22816
 
 
22817
 
 
22818
 
if test "$report_rtcap" = "yes"; then
 
16949
 if test "$report_rtcap" = "yes"; then
22819
16950
  RTCAP_TRUE=
22820
16951
  RTCAP_FALSE='#'
22821
16952
else
22832
16963
 
22833
16964
SUIDINSTALL="no"
22834
16965
# Check whether --enable-suid-install was given.
22835
 
if test "${enable_suid_install+set}" = set; then
 
16966
if test "${enable_suid_install+set}" = set; then :
22836
16967
  enableval=$enable_suid_install;
22837
16968
  case "$enableval" in
22838
16969
    "yes")
22841
16972
    "no")
22842
16973
      ;;
22843
16974
    *)
22844
 
      { { echo "$as_me:$LINENO: error: must use --enable-suid-install(=yes/no) or --disable-suid-install" >&5
22845
 
echo "$as_me: error: must use --enable-suid-install(=yes/no) or --disable-suid-install" >&2;}
22846
 
   { (exit 1); exit 1; }; }
 
16975
      as_fn_error "must use --enable-suid-install(=yes/no) or --disable-suid-install" "$LINENO" 5
22847
16976
      ;;
22848
16977
  esac
22849
16978
 
22856
16985
##################
22857
16986
SUIDBUILD="no"
22858
16987
# Check whether --enable-suid-build was given.
22859
 
if test "${enable_suid_build+set}" = set; then
 
16988
if test "${enable_suid_build+set}" = set; then :
22860
16989
  enableval=$enable_suid_build;
22861
16990
  case "$enableval" in
22862
16991
    "yes")
22866
16995
      SUIDBUILD="no"
22867
16996
      ;;
22868
16997
    *)
22869
 
      { { echo "$as_me:$LINENO: error: must use --enable-suid-build(=yes/no) or --disable-suid-build" >&5
22870
 
echo "$as_me: error: must use --enable-suid-build(=yes/no) or --disable-suid-build" >&2;}
22871
 
   { (exit 1); exit 1; }; }
 
16998
      as_fn_error "must use --enable-suid-build(=yes/no) or --disable-suid-build" "$LINENO" 5
22872
16999
      ;;
22873
17000
  esac
22874
17001
 
22883
17010
DOXYGEN_TREEVIEW="YES"
22884
17011
report_doxy_treeview="yes";
22885
17012
# Check whether --enable-doxy-treeview was given.
22886
 
if test "${enable_doxy_treeview+set}" = set; then
 
17013
if test "${enable_doxy_treeview+set}" = set; then :
22887
17014
  enableval=$enable_doxy_treeview;
22888
17015
  case "$enableval" in
22889
17016
    "yes")
22893
17020
      report_doxy_treeview="no";
22894
17021
      ;;
22895
17022
    *)
22896
 
      { { echo "$as_me:$LINENO: error: must use --enable-doxy-treeview(=yes/no) or --disable-doxy-treeview" >&5
22897
 
echo "$as_me: error: must use --enable-doxy-treeview(=yes/no) or --disable-doxy-treeview" >&2;}
22898
 
   { (exit 1); exit 1; }; }
 
17023
      as_fn_error "must use --enable-doxy-treeview(=yes/no) or --disable-doxy-treeview" "$LINENO" 5
22899
17024
      ;;
22900
17025
  esac
22901
17026
 
22927
17052
################
22928
17053
report_optimise="no"
22929
17054
# Check whether --enable-optimize was given.
22930
 
if test "${enable_optimize+set}" = set; then
 
17055
if test "${enable_optimize+set}" = set; then :
22931
17056
  enableval=$enable_optimize;
22932
17057
    case "$enableval" in
22933
17058
      "yes")
22938
17063
      "no")
22939
17064
        ;;
22940
17065
      *)
22941
 
        { { echo "$as_me:$LINENO: error: must use --enable-optimize(=yes/no) or --disable-optimize" >&5
22942
 
echo "$as_me: error: must use --enable-optimize(=yes/no) or --disable-optimize" >&2;}
22943
 
   { (exit 1); exit 1; }; }
 
17066
        as_fn_error "must use --enable-optimize(=yes/no) or --disable-optimize" "$LINENO" 5
22944
17067
        ;;
22945
17068
    esac
22946
17069
 
22952
17075
#############
22953
17076
report_debug="no"
22954
17077
# Check whether --enable-debug was given.
22955
 
if test "${enable_debug+set}" = set; then
 
17078
if test "${enable_debug+set}" = set; then :
22956
17079
  enableval=$enable_debug;
22957
17080
    case "$enableval" in
22958
17081
      "yes")
22962
17085
      "no")
22963
17086
        ;;
22964
17087
      *)
22965
 
        { { echo "$as_me:$LINENO: error: must use --enable-debug(=yes/no) or --disable-debug" >&5
22966
 
echo "$as_me: error: must use --enable-debug(=yes/no) or --disable-debug" >&2;}
22967
 
   { (exit 1); exit 1; }; }
 
17088
        as_fn_error "must use --enable-debug(=yes/no) or --disable-debug" "$LINENO" 5
22968
17089
        ;;
22969
17090
    esac
22970
17091
 
22977
17098
###########################
22978
17099
 
22979
17100
# Check whether --enable-pch was given.
22980
 
if test "${enable_pch+set}" = set; then
 
17101
if test "${enable_pch+set}" = set; then :
22981
17102
  enableval=$enable_pch;
22982
17103
    case "$enableval" in
22983
17104
      "yes")
22985
17106
        PCH="yes"
22986
17107
 
22987
17108
 
22988
 
cat >>confdefs.h <<\_ACEOF
22989
 
#define PCH 1
22990
 
_ACEOF
 
17109
$as_echo "#define PCH 1" >>confdefs.h
22991
17110
 
22992
17111
        ;;
22993
17112
      "no")
22994
17113
        ;;
22995
17114
      *)
22996
 
        { { echo "$as_me:$LINENO: error: must use --enable-pch(=yes/no) or --disable-pch" >&5
22997
 
echo "$as_me: error: must use --enable-pch(=yes/no) or --disable-pch" >&2;}
22998
 
   { (exit 1); exit 1; }; }
 
17115
        as_fn_error "must use --enable-pch(=yes/no) or --disable-pch" "$LINENO" 5
22999
17116
        ;;
23000
17117
    esac
23001
17118
 
23002
17119
fi
23003
17120
 
23004
 
 
23005
 
 
23006
 
if test "$PCH" = "yes"; then
 
17121
 if test "$PCH" = "yes"; then
23007
17122
  PCH_TRUE=
23008
17123
  PCH_FALSE='#'
23009
17124
else
23018
17133
 
23019
17134
report_march="none"
23020
17135
# Check whether --enable-arch was given.
23021
 
if test "${enable_arch+set}" = set; then
 
17136
if test "${enable_arch+set}" = set; then :
23022
17137
  enableval=$enable_arch;
23023
17138
    case "$enableval" in
23024
17139
      "no")
23039
17154
 
23040
17155
report_sse="no"
23041
17156
# Check whether --enable-sse was given.
23042
 
if test "${enable_sse+set}" = set; then
 
17157
if test "${enable_sse+set}" = set; then :
23043
17158
  enableval=$enable_sse;
23044
17159
    case "$enableval" in
23045
17160
      "yes")
23048
17163
        USE_SSE="yes"
23049
17164
 
23050
17165
 
23051
 
cat >>confdefs.h <<\_ACEOF
23052
 
#define USE_SSE 1
23053
 
_ACEOF
 
17166
$as_echo "#define USE_SSE 1" >>confdefs.h
23054
17167
 
23055
17168
        ;;
23056
17169
      "no")
23057
17170
        ;;
23058
17171
      *)
23059
 
        { { echo "$as_me:$LINENO: error: must use --enable-sse(=yes/no) or --disable-sse" >&5
23060
 
echo "$as_me: error: must use --enable-sse(=yes/no) or --disable-sse" >&2;}
23061
 
   { (exit 1); exit 1; }; }
 
17172
        as_fn_error "must use --enable-sse(=yes/no) or --disable-sse" "$LINENO" 5
23062
17173
        ;;
23063
17174
    esac
23064
17175
 
23065
17176
fi
23066
17177
 
23067
 
 
23068
 
 
23069
 
if test "$USE_SSE" = "yes"; then
 
17178
 if test "$USE_SSE" = "yes"; then
23070
17179
  USE_SSE_TRUE=
23071
17180
  USE_SSE_FALSE='#'
23072
17181
else
23081
17190
# python detection borrowed from libvirt (http://libvirt.org)
23082
17191
 
23083
17192
# Check whether --with-python was given.
23084
 
if test "${with_python+set}" = set; then
 
17193
if test "${with_python+set}" = set; then :
23085
17194
  withval=$with_python;
23086
17195
else
23087
17196
  enable_python=yes
23093
17202
if test "$enable_python" != "no" ; then
23094
17203
    if test -x "$enable_python/bin/python"
23095
17204
    then
23096
 
        { echo "$as_me:$LINENO: Found python in $enable_python/bin/python" >&5
23097
 
echo "$as_me: Found python in $enable_python/bin/python" >&6;}
 
17205
        { $as_echo "$as_me:${as_lineno-$LINENO}: Found python in $enable_python/bin/python" >&5
 
17206
$as_echo "$as_me: Found python in $enable_python/bin/python" >&6;}
23098
17207
        PYTHON="$enable_python/bin/python"
23099
17208
        enable_python=yes
23100
17209
    else
23101
17210
        if test -x "$enable_python"
23102
17211
        then
23103
 
            { echo "$as_me:$LINENO: Found python in $enable_python" >&5
23104
 
echo "$as_me: Found python in $enable_python" >&6;}
 
17212
            { $as_echo "$as_me:${as_lineno-$LINENO}: Found python in $enable_python" >&5
 
17213
$as_echo "$as_me: Found python in $enable_python" >&6;}
23105
17214
            PYTHON="$enable_python"
23106
17215
            enable_python=yes
23107
17216
        else
23108
17217
            if test -x "$PYTHON"
23109
17218
            then
23110
 
                { echo "$as_me:$LINENO: Found python in environment PYTHON=$PYTHON" >&5
23111
 
echo "$as_me: Found python in environment PYTHON=$PYTHON" >&6;}
 
17219
                { $as_echo "$as_me:${as_lineno-$LINENO}: Found python in environment PYTHON=$PYTHON" >&5
 
17220
$as_echo "$as_me: Found python in environment PYTHON=$PYTHON" >&6;}
23112
17221
                enable_python=yes
23113
17222
            fi
23114
17223
        fi
23121
17230
 
23122
17231
        # Find any Python interpreter.
23123
17232
    if test -z "$PYTHON"; then
23124
 
      for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
 
17233
      for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
23125
17234
do
23126
17235
  # Extract the first word of "$ac_prog", so it can be a program name with args.
23127
17236
set dummy $ac_prog; ac_word=$2
23128
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23129
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23130
 
if test "${ac_cv_path_PYTHON+set}" = set; then
23131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17238
$as_echo_n "checking for $ac_word... " >&6; }
 
17239
if test "${ac_cv_path_PYTHON+set}" = set; then :
 
17240
  $as_echo_n "(cached) " >&6
23132
17241
else
23133
17242
  case $PYTHON in
23134
17243
  [\\/]* | ?:[\\/]*)
23140
17249
do
23141
17250
  IFS=$as_save_IFS
23142
17251
  test -z "$as_dir" && as_dir=.
23143
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17252
    for ac_exec_ext in '' $ac_executable_extensions; do
23144
17253
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23145
17254
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
23146
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17255
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23147
17256
    break 2
23148
17257
  fi
23149
17258
done
23150
 
done
 
17259
  done
23151
17260
IFS=$as_save_IFS
23152
17261
 
23153
17262
  ;;
23155
17264
fi
23156
17265
PYTHON=$ac_cv_path_PYTHON
23157
17266
if test -n "$PYTHON"; then
23158
 
  { echo "$as_me:$LINENO: result: $PYTHON" >&5
23159
 
echo "${ECHO_T}$PYTHON" >&6; }
 
17267
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
17268
$as_echo "$PYTHON" >&6; }
23160
17269
else
23161
 
  { echo "$as_me:$LINENO: result: no" >&5
23162
 
echo "${ECHO_T}no" >&6; }
 
17270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17271
$as_echo "no" >&6; }
23163
17272
fi
23164
17273
 
23165
17274
 
23176
17285
  else
23177
17286
 
23178
17287
 
23179
 
  { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
23180
 
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
23181
 
if test "${am_cv_python_version+set}" = set; then
23182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17288
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
17289
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
17290
if test "${am_cv_python_version+set}" = set; then :
 
17291
  $as_echo_n "(cached) " >&6
23183
17292
else
23184
 
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
 
17293
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
23185
17294
fi
23186
 
{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
23187
 
echo "${ECHO_T}$am_cv_python_version" >&6; }
 
17295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
17296
$as_echo "$am_cv_python_version" >&6; }
23188
17297
  PYTHON_VERSION=$am_cv_python_version
23189
17298
 
23190
17299
 
23195
17304
 
23196
17305
 
23197
17306
 
23198
 
  { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
23199
 
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
23200
 
if test "${am_cv_python_platform+set}" = set; then
23201
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17307
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
17308
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
17309
if test "${am_cv_python_platform+set}" = set; then :
 
17310
  $as_echo_n "(cached) " >&6
23202
17311
else
23203
 
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
 
17312
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
23204
17313
fi
23205
 
{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
23206
 
echo "${ECHO_T}$am_cv_python_platform" >&6; }
 
17314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
17315
$as_echo "$am_cv_python_platform" >&6; }
23207
17316
  PYTHON_PLATFORM=$am_cv_python_platform
23208
17317
 
23209
17318
 
23210
17319
 
23211
17320
 
23212
 
                { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
23213
 
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
23214
 
if test "${am_cv_python_pythondir+set}" = set; then
23215
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17321
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
17322
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
17323
if test "${am_cv_python_pythondir+set}" = set; then :
 
17324
  $as_echo_n "(cached) " >&6
23216
17325
else
23217
 
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
 
17326
  if test "x$prefix" = xNONE
 
17327
     then
 
17328
       am_py_prefix=$ac_default_prefix
 
17329
     else
 
17330
       am_py_prefix=$prefix
 
17331
     fi
 
17332
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
23218
17333
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
17334
     case $am_cv_python_pythondir in
 
17335
     $am_py_prefix*)
 
17336
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
17337
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
17338
       ;;
 
17339
     esac
 
17340
 
23219
17341
fi
23220
 
{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
23221
 
echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
 
17342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
17343
$as_echo "$am_cv_python_pythondir" >&6; }
23222
17344
  pythondir=$am_cv_python_pythondir
23223
17345
 
23224
17346
 
23226
17348
  pkgpythondir=\${pythondir}/$PACKAGE
23227
17349
 
23228
17350
 
23229
 
            { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
23230
 
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
23231
 
if test "${am_cv_python_pyexecdir+set}" = set; then
23232
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17351
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
17352
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
17353
if test "${am_cv_python_pyexecdir+set}" = set; then :
 
17354
  $as_echo_n "(cached) " >&6
23233
17355
else
23234
 
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
23235
 
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
 
17356
  if test "x$exec_prefix" = xNONE
 
17357
     then
 
17358
       am_py_exec_prefix=$am_py_prefix
 
17359
     else
 
17360
       am_py_exec_prefix=$exec_prefix
 
17361
     fi
 
17362
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
 
17363
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
17364
     case $am_cv_python_pyexecdir in
 
17365
     $am_py_exec_prefix*)
 
17366
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
17367
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
17368
       ;;
 
17369
     esac
 
17370
 
23236
17371
fi
23237
 
{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
23238
 
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
 
17372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
17373
$as_echo "$am_cv_python_pyexecdir" >&6; }
23239
17374
  pyexecdir=$am_cv_python_pyexecdir
23240
17375
 
23241
17376
 
23268
17403
                        then
23269
17404
                            PYTHON_INCLUDES=-I/usr/include/python$PYTHON_VERSION
23270
17405
                        else
23271
 
                            { echo "$as_me:$LINENO: Could not find python$PYTHON_VERSION/Python.h, disabling bindings" >&5
23272
 
echo "$as_me: Could not find python$PYTHON_VERSION/Python.h, disabling bindings" >&6;}
 
17406
                            { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find python$PYTHON_VERSION/Python.h, disabling bindings" >&5
 
17407
$as_echo "$as_me: Could not find python$PYTHON_VERSION/Python.h, disabling bindings" >&6;}
23273
17408
                            enable_python=no
23274
17409
                        fi
23275
17410
                    fi
23276
17411
                fi
23277
17412
            fi
23278
17413
        else
23279
 
            { echo "$as_me:$LINENO: Could not find python interpreter, disabling bindings" >&5
23280
 
echo "$as_me: Could not find python interpreter, disabling bindings" >&6;}
 
17414
            { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find python interpreter, disabling bindings" >&5
 
17415
$as_echo "$as_me: Could not find python interpreter, disabling bindings" >&6;}
23281
17416
            enable_python=no
23282
17417
        fi
23283
17418
    else
23284
 
        { echo "$as_me:$LINENO: Could not find python in $enable_python, disabling bindings" >&5
23285
 
echo "$as_me: Could not find python in $enable_python, disabling bindings" >&6;}
 
17419
        { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find python in $enable_python, disabling bindings" >&5
 
17420
$as_echo "$as_me: Could not find python in $enable_python, disabling bindings" >&6;}
23286
17421
        enable_python=no
23287
17422
    fi
23288
17423
fi
23289
 
 
23290
 
 
23291
 
if test "$enable_python" = "yes"; then
 
17424
 if test "$enable_python" = "yes"; then
23292
17425
  ENABLE_PYTHON_TRUE=
23293
17426
  ENABLE_PYTHON_FALSE='#'
23294
17427
else
23332
17465
vst_possible=no
23333
17466
VST="no"
23334
17467
# Check whether --enable-vst was given.
23335
 
if test "${enable_vst+set}" = set; then
 
17468
if test "${enable_vst+set}" = set; then :
23336
17469
  enableval=$enable_vst;  if test x$enable_vst = xyes ; then
23337
17470
            vst_requested=yes;
23338
17471
        fi
23344
17477
if test x$vst_requested = xyes ; then
23345
17478
 
23346
17479
pkg_failed=no
23347
 
{ echo "$as_me:$LINENO: checking for FST" >&5
23348
 
echo $ECHO_N "checking for FST... $ECHO_C" >&6; }
 
17480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FST" >&5
 
17481
$as_echo_n "checking for FST... " >&6; }
23349
17482
 
23350
17483
if test -n "$PKG_CONFIG"; then
23351
17484
    if test -n "$FST_CFLAGS"; then
23352
17485
        pkg_cv_FST_CFLAGS="$FST_CFLAGS"
23353
17486
    else
23354
17487
        if test -n "$PKG_CONFIG" && \
23355
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libfst\"") >&5
 
17488
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfst\""; } >&5
23356
17489
  ($PKG_CONFIG --exists --print-errors "libfst") 2>&5
23357
17490
  ac_status=$?
23358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359
 
  (exit $ac_status); }; then
 
17491
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17492
  test $ac_status = 0; }; then
23360
17493
  pkg_cv_FST_CFLAGS=`$PKG_CONFIG --cflags "libfst" 2>/dev/null`
23361
17494
else
23362
17495
  pkg_failed=yes
23370
17503
        pkg_cv_FST_LIBS="$FST_LIBS"
23371
17504
    else
23372
17505
        if test -n "$PKG_CONFIG" && \
23373
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libfst\"") >&5
 
17506
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfst\""; } >&5
23374
17507
  ($PKG_CONFIG --exists --print-errors "libfst") 2>&5
23375
17508
  ac_status=$?
23376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377
 
  (exit $ac_status); }; then
 
17509
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17510
  test $ac_status = 0; }; then
23378
17511
  pkg_cv_FST_LIBS=`$PKG_CONFIG --libs "libfst" 2>/dev/null`
23379
17512
else
23380
17513
  pkg_failed=yes
23401
17534
        # Put the nasty error message in config.log where it belongs
23402
17535
        echo "$FST_PKG_ERRORS" >&5
23403
17536
 
23404
 
        { echo "$as_me:$LINENO: result: no" >&5
23405
 
echo "${ECHO_T}no" >&6; }
 
17537
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17538
$as_echo "no" >&6; }
23406
17539
                 vst_possible=no
23407
17540
elif test $pkg_failed = untried; then
23408
17541
         vst_possible=no
23409
17542
else
23410
17543
        FST_CFLAGS=$pkg_cv_FST_CFLAGS
23411
17544
        FST_LIBS=$pkg_cv_FST_LIBS
23412
 
        { echo "$as_me:$LINENO: result: yes" >&5
23413
 
echo "${ECHO_T}yes" >&6; }
 
17545
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17546
$as_echo "yes" >&6; }
23414
17547
         vst_possible=yes
23415
17548
fi
23416
17549
fi
23417
17550
 
23418
17551
if test x$vst_possible = xyes -a x$vst_requested = xyes ; then
23419
 
      { echo "$as_me:$LINENO: checking support for VST/win plugins" >&5
23420
 
echo $ECHO_N "checking support for VST/win plugins... $ECHO_C" >&6; }
 
17552
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking support for VST/win plugins" >&5
 
17553
$as_echo_n "checking support for VST/win plugins... " >&6; }
23421
17554
      VST_CFLAGS="$FST_CFLAGS"
23422
17555
      VST_LIBS="$FST_LIBS"
23423
17556
      VST="yes"
23424
17557
 
23425
 
cat >>confdefs.h <<\_ACEOF
23426
 
#define VST_SUPPORT 1
23427
 
_ACEOF
 
17558
$as_echo "#define VST_SUPPORT 1" >>confdefs.h
23428
17559
 
23429
17560
fi
23430
17561
 
23431
 
 
23432
 
 
23433
 
if test x$vst_possible = xyes -a x$vst_requested = xyes; then
 
17562
 if test x$vst_possible = xyes -a x$vst_requested = xyes; then
23434
17563
  VST_SUPPORT_TRUE=
23435
17564
  VST_SUPPORT_FALSE='#'
23436
17565
else
23441
17570
 
23442
17571
 
23443
17572
###################
23444
 
### dssi plugins ###
 
17573
### OSC support ###
23445
17574
###################
23446
17575
 
23447
 
dssi_requested=no
 
17576
osc_requested=no
23448
17577
LO_LIB_FOUND="no"
23449
 
DSSI_H_FOUND="no"
23450
 
DSSI="no"
23451
 
# Check whether --enable-dssi was given.
23452
 
if test "${enable_dssi+set}" = set; then
23453
 
  enableval=$enable_dssi;  if test x$enable_dssi = xyes ; then
23454
 
            dssi_requested=yes;
 
17578
OSC="no"
 
17579
# Check whether --enable-osc was given.
 
17580
if test "${enable_osc+set}" = set; then :
 
17581
  enableval=$enable_osc;  if test x$enable_osc = xyes ; then
 
17582
            osc_requested=yes;
23455
17583
        fi
23456
17584
 
23457
17585
 
23458
17586
fi
23459
17587
 
23460
17588
 
23461
 
 
23462
 
if test x$dssi_requested = xyes ; then
23463
 
      { echo "$as_me:$LINENO: checking support for DSSI + DSSI-Vst plugins" >&5
23464
 
echo $ECHO_N "checking support for DSSI + DSSI-Vst plugins... $ECHO_C" >&6; }
 
17589
if test x$osc_requested = xyes ; then
 
17590
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking support for OSC" >&5
 
17591
$as_echo_n "checking support for OSC... " >&6; }
23465
17592
##      AC_CHECK_LIB(lo, lo_send, LO_LIB_FOUND="yes", LO_LIB_FOUND="no")
23466
17593
##      PKG_CHECK_MODULES(LO, lo >= 0.2, LO_LIB_FOUND="yes", LO_LIB_FOUND="no")
23467
17594
 
23468
17595
pkg_failed=no
23469
 
{ echo "$as_me:$LINENO: checking for LO" >&5
23470
 
echo $ECHO_N "checking for LO... $ECHO_C" >&6; }
 
17596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LO" >&5
 
17597
$as_echo_n "checking for LO... " >&6; }
23471
17598
 
23472
17599
if test -n "$PKG_CONFIG"; then
23473
17600
    if test -n "$LO_CFLAGS"; then
23474
17601
        pkg_cv_LO_CFLAGS="$LO_CFLAGS"
23475
17602
    else
23476
17603
        if test -n "$PKG_CONFIG" && \
23477
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblo\"") >&5
 
17604
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo\""; } >&5
23478
17605
  ($PKG_CONFIG --exists --print-errors "liblo") 2>&5
23479
17606
  ac_status=$?
23480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481
 
  (exit $ac_status); }; then
 
17607
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17608
  test $ac_status = 0; }; then
23482
17609
  pkg_cv_LO_CFLAGS=`$PKG_CONFIG --cflags "liblo" 2>/dev/null`
23483
17610
else
23484
17611
  pkg_failed=yes
23492
17619
        pkg_cv_LO_LIBS="$LO_LIBS"
23493
17620
    else
23494
17621
        if test -n "$PKG_CONFIG" && \
23495
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblo\"") >&5
 
17622
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo\""; } >&5
23496
17623
  ($PKG_CONFIG --exists --print-errors "liblo") 2>&5
23497
17624
  ac_status=$?
23498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499
 
  (exit $ac_status); }; then
 
17625
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17626
  test $ac_status = 0; }; then
23500
17627
  pkg_cv_LO_LIBS=`$PKG_CONFIG --libs "liblo" 2>/dev/null`
23501
17628
else
23502
17629
  pkg_failed=yes
23523
17650
        # Put the nasty error message in config.log where it belongs
23524
17651
        echo "$LO_PKG_ERRORS" >&5
23525
17652
 
23526
 
        { echo "$as_me:$LINENO: result: no" >&5
23527
 
echo "${ECHO_T}no" >&6; }
 
17653
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17654
$as_echo "no" >&6; }
23528
17655
                 LO_LIB_FOUND=no
23529
17656
elif test $pkg_failed = untried; then
23530
17657
         LO_LIB_FOUND=no
23531
17658
else
23532
17659
        LO_CFLAGS=$pkg_cv_LO_CFLAGS
23533
17660
        LO_LIBS=$pkg_cv_LO_LIBS
23534
 
        { echo "$as_me:$LINENO: result: yes" >&5
23535
 
echo "${ECHO_T}yes" >&6; }
 
17661
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17662
$as_echo "yes" >&6; }
23536
17663
         LO_LIB_FOUND=yes
23537
17664
fi
23538
17665
      if test x$LO_LIB_FOUND = xno; then
23539
 
        { { echo "$as_me:$LINENO: error: Library liblo from The Lightweight OSC Implementation is required" >&5
23540
 
echo "$as_me: error: Library liblo from The Lightweight OSC Implementation is required" >&2;}
23541
 
   { (exit 1); exit 1; }; }
 
17666
        as_fn_error "Library liblo from The Lightweight OSC Implementation is required" "$LINENO" 5
23542
17667
      fi
23543
 
 
23544
 
      if test "${ac_cv_header_dssi_h+set}" = set; then
23545
 
  { echo "$as_me:$LINENO: checking for dssi.h" >&5
23546
 
echo $ECHO_N "checking for dssi.h... $ECHO_C" >&6; }
23547
 
if test "${ac_cv_header_dssi_h+set}" = set; then
23548
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23549
 
fi
23550
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dssi_h" >&5
23551
 
echo "${ECHO_T}$ac_cv_header_dssi_h" >&6; }
23552
 
else
23553
 
  # Is the header compilable?
23554
 
{ echo "$as_me:$LINENO: checking dssi.h usability" >&5
23555
 
echo $ECHO_N "checking dssi.h usability... $ECHO_C" >&6; }
23556
 
cat >conftest.$ac_ext <<_ACEOF
23557
 
/* confdefs.h.  */
23558
 
_ACEOF
23559
 
cat confdefs.h >>conftest.$ac_ext
23560
 
cat >>conftest.$ac_ext <<_ACEOF
23561
 
/* end confdefs.h.  */
23562
 
$ac_includes_default
23563
 
#include <dssi.h>
23564
 
_ACEOF
23565
 
rm -f conftest.$ac_objext
23566
 
if { (ac_try="$ac_compile"
23567
 
case "(($ac_try" in
23568
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23569
 
  *) ac_try_echo=$ac_try;;
23570
 
esac
23571
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23572
 
  (eval "$ac_compile") 2>conftest.er1
23573
 
  ac_status=$?
23574
 
  grep -v '^ *+' conftest.er1 >conftest.err
23575
 
  rm -f conftest.er1
23576
 
  cat conftest.err >&5
23577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578
 
  (exit $ac_status); } && {
23579
 
         test -z "$ac_c_werror_flag" ||
23580
 
         test ! -s conftest.err
23581
 
       } && test -s conftest.$ac_objext; then
23582
 
  ac_header_compiler=yes
23583
 
else
23584
 
  echo "$as_me: failed program was:" >&5
23585
 
sed 's/^/| /' conftest.$ac_ext >&5
23586
 
 
23587
 
        ac_header_compiler=no
23588
 
fi
23589
 
 
23590
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23591
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23592
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
23593
 
 
23594
 
# Is the header present?
23595
 
{ echo "$as_me:$LINENO: checking dssi.h presence" >&5
23596
 
echo $ECHO_N "checking dssi.h presence... $ECHO_C" >&6; }
23597
 
cat >conftest.$ac_ext <<_ACEOF
23598
 
/* confdefs.h.  */
23599
 
_ACEOF
23600
 
cat confdefs.h >>conftest.$ac_ext
23601
 
cat >>conftest.$ac_ext <<_ACEOF
23602
 
/* end confdefs.h.  */
23603
 
#include <dssi.h>
23604
 
_ACEOF
23605
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
23606
 
case "(($ac_try" in
23607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23608
 
  *) ac_try_echo=$ac_try;;
23609
 
esac
23610
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23611
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23612
 
  ac_status=$?
23613
 
  grep -v '^ *+' conftest.er1 >conftest.err
23614
 
  rm -f conftest.er1
23615
 
  cat conftest.err >&5
23616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617
 
  (exit $ac_status); } >/dev/null && {
23618
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23619
 
         test ! -s conftest.err
23620
 
       }; then
23621
 
  ac_header_preproc=yes
23622
 
else
23623
 
  echo "$as_me: failed program was:" >&5
23624
 
sed 's/^/| /' conftest.$ac_ext >&5
23625
 
 
23626
 
  ac_header_preproc=no
23627
 
fi
23628
 
 
23629
 
rm -f conftest.err conftest.$ac_ext
23630
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23631
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
23632
 
 
23633
 
# So?  What about this header?
23634
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23635
 
  yes:no: )
23636
 
    { echo "$as_me:$LINENO: WARNING: dssi.h: accepted by the compiler, rejected by the preprocessor!" >&5
23637
 
echo "$as_me: WARNING: dssi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23638
 
    { echo "$as_me:$LINENO: WARNING: dssi.h: proceeding with the compiler's result" >&5
23639
 
echo "$as_me: WARNING: dssi.h: proceeding with the compiler's result" >&2;}
23640
 
    ac_header_preproc=yes
23641
 
    ;;
23642
 
  no:yes:* )
23643
 
    { echo "$as_me:$LINENO: WARNING: dssi.h: present but cannot be compiled" >&5
23644
 
echo "$as_me: WARNING: dssi.h: present but cannot be compiled" >&2;}
23645
 
    { echo "$as_me:$LINENO: WARNING: dssi.h:     check for missing prerequisite headers?" >&5
23646
 
echo "$as_me: WARNING: dssi.h:     check for missing prerequisite headers?" >&2;}
23647
 
    { echo "$as_me:$LINENO: WARNING: dssi.h: see the Autoconf documentation" >&5
23648
 
echo "$as_me: WARNING: dssi.h: see the Autoconf documentation" >&2;}
23649
 
    { echo "$as_me:$LINENO: WARNING: dssi.h:     section \"Present But Cannot Be Compiled\"" >&5
23650
 
echo "$as_me: WARNING: dssi.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23651
 
    { echo "$as_me:$LINENO: WARNING: dssi.h: proceeding with the preprocessor's result" >&5
23652
 
echo "$as_me: WARNING: dssi.h: proceeding with the preprocessor's result" >&2;}
23653
 
    { echo "$as_me:$LINENO: WARNING: dssi.h: in the future, the compiler will take precedence" >&5
23654
 
echo "$as_me: WARNING: dssi.h: in the future, the compiler will take precedence" >&2;}
23655
 
 
23656
 
    ;;
23657
 
esac
23658
 
{ echo "$as_me:$LINENO: checking for dssi.h" >&5
23659
 
echo $ECHO_N "checking for dssi.h... $ECHO_C" >&6; }
23660
 
if test "${ac_cv_header_dssi_h+set}" = set; then
23661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23662
 
else
23663
 
  ac_cv_header_dssi_h=$ac_header_preproc
23664
 
fi
23665
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dssi_h" >&5
23666
 
echo "${ECHO_T}$ac_cv_header_dssi_h" >&6; }
23667
 
 
23668
 
fi
23669
 
if test $ac_cv_header_dssi_h = yes; then
 
17668
fi
 
17669
 
 
17670
if test x$LO_LIB_FOUND = xyes ; then
 
17671
      LO_CFLAGS="$LO_CFLAGS"
 
17672
      ##LO_LIBS="$LO_LIBS"
 
17673
      LO_LIBS="-llo"
 
17674
      OSC="yes"
 
17675
 
 
17676
 
 
17677
 
 
17678
$as_echo "#define OSC_SUPPORT 1" >>confdefs.h
 
17679
 
 
17680
fi
 
17681
 
 
17682
 if test x$LO_LIB_FOUND = xyes; then
 
17683
  OSC_SUPPORT_TRUE=
 
17684
  OSC_SUPPORT_FALSE='#'
 
17685
else
 
17686
  OSC_SUPPORT_TRUE='#'
 
17687
  OSC_SUPPORT_FALSE=
 
17688
fi
 
17689
 
 
17690
 
 
17691
## LO_LIBS="-llo"
 
17692
## AC_SUBST(LO_CFLAGS)
 
17693
## AC_SUBST(LO_LIBS)
 
17694
 
 
17695
## PKG_CHECK_MODULES(LO, lo >= 0.23,
 
17696
##   true,
 
17697
##   AC_MSG_ERROR([need liblo >= 0.23 ])
 
17698
## )
 
17699
 
 
17700
 
 
17701
 
 
17702
###################
 
17703
### dssi plugins ###
 
17704
###################
 
17705
 
 
17706
dssi_requested=no
 
17707
## LO_LIB_FOUND="no"
 
17708
DSSI_H_FOUND="no"
 
17709
DSSI="no"
 
17710
# Check whether --enable-dssi was given.
 
17711
if test "${enable_dssi+set}" = set; then :
 
17712
  enableval=$enable_dssi;  if test x$enable_dssi = xyes ; then
 
17713
            dssi_requested=yes;
 
17714
        fi
 
17715
 
 
17716
 
 
17717
fi
 
17718
 
 
17719
 
 
17720
 
 
17721
if test x$dssi_requested = xyes ; then
 
17722
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking support for DSSI + DSSI-Vst plugins" >&5
 
17723
$as_echo_n "checking support for DSSI + DSSI-Vst plugins... " >&6; }
 
17724
      ## AC_CHECK_LIB(lo, lo_send, LO_LIB_FOUND="yes", LO_LIB_FOUND="no")
 
17725
      ## PKG_CHECK_MODULES(LO, lo >= 0.2, LO_LIB_FOUND="yes", LO_LIB_FOUND="no")
 
17726
##      PKG_CHECK_MODULES(LO,liblo, [ LO_LIB_FOUND=yes ], [ LO_LIB_FOUND=no ])
 
17727
##      if test x$LO_LIB_FOUND = xno; then
 
17728
##        AC_MSG_ERROR([Library liblo from The Lightweight OSC Implementation is required])
 
17729
##      fi
 
17730
 
 
17731
      ac_fn_c_check_header_mongrel "$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
 
17732
if test "x$ac_cv_header_dssi_h" = x""yes; then :
23670
17733
  DSSI_FOUND="yes"
23671
17734
else
23672
17735
  DSSI_FOUND="no"
23673
17736
fi
23674
17737
 
23675
17738
 
23676
 
##      PKG_CHECK_MODULES(DSSI [ DSSI_FOUND=yes ], [ DSSI_FOUND=no ])
 
17739
      ## PKG_CHECK_MODULES(DSSI [ DSSI_FOUND=yes ], [ DSSI_FOUND=no ])
23677
17740
      if test x$DSSI_FOUND = xno; then
23678
 
      { { echo "$as_me:$LINENO: error: Header file dssi.h from DSSI (Disposable Soft Synth Interface) is required" >&5
23679
 
echo "$as_me: error: Header file dssi.h from DSSI (Disposable Soft Synth Interface) is required" >&2;}
23680
 
   { (exit 1); exit 1; }; }
 
17741
      as_fn_error "Header file dssi.h from DSSI (Disposable Soft Synth Interface) is required" "$LINENO" 5
23681
17742
      fi
23682
17743
fi
23683
17744
 
23684
 
if test x$LO_LIB_FOUND = xyes -a x$DSSI_FOUND = xyes ; then
23685
 
      LO_CFLAGS="$LO_CFLAGS"
 
17745
## if test x$LO_LIB_FOUND = xyes -a x$DSSI_FOUND = xyes ; then
 
17746
if test x$DSSI_FOUND = xyes ; then
 
17747
##      LO_CFLAGS="$LO_CFLAGS"
23686
17748
      ##LO_LIBS="$LO_LIBS"
23687
 
      LO_LIBS="-llo"
 
17749
##      LO_LIBS="-llo"
23688
17750
      DSSI="yes"
23689
 
 
23690
 
 
23691
 
 
23692
 
cat >>confdefs.h <<\_ACEOF
23693
 
#define DSSI_SUPPORT 1
23694
 
_ACEOF
 
17751
##      AC_SUBST(LO_CFLAGS)
 
17752
##      AC_SUBST(LO_LIBS)
 
17753
 
 
17754
$as_echo "#define DSSI_SUPPORT 1" >>confdefs.h
23695
17755
 
23696
17756
fi
23697
17757
 
23698
 
 
23699
 
 
23700
 
if test x$LO_LIB_FOUND = xyes -a x$DSSI_FOUND = xyes; then
 
17758
## AM_CONDITIONAL(DSSI_SUPPORT, test x$LO_LIB_FOUND = xyes -a x$DSSI_FOUND = xyes)
 
17759
 if test x$DSSI_FOUND = xyes; then
23701
17760
  DSSI_SUPPORT_TRUE=
23702
17761
  DSSI_SUPPORT_FALSE='#'
23703
17762
else
23722
17781
 
23723
17782
 
23724
17783
 
23725
 
cat >>confdefs.h <<\_ACEOF
23726
 
#define HAVE_AUDIO 1
23727
 
_ACEOF
23728
 
 
23729
 
 
23730
 
 
23731
 
if test "yes" = "yes"; then
 
17784
$as_echo "#define HAVE_AUDIO 1" >>confdefs.h
 
17785
 
 
17786
 if test "yes" = "yes"; then
23732
17787
  HAVE_AUDIO_TRUE=
23733
17788
  HAVE_AUDIO_FALSE='#'
23734
17789
else
23773
17828
    case $ac_val in #(
23774
17829
    *${as_nl}*)
23775
17830
      case $ac_var in #(
23776
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23777
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
17831
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
17832
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23778
17833
      esac
23779
17834
      case $ac_var in #(
23780
17835
      _ | IFS | as_nl) ;; #(
23781
 
      *) $as_unset $ac_var ;;
 
17836
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
17837
      *) { eval $ac_var=; unset $ac_var;} ;;
23782
17838
      esac ;;
23783
17839
    esac
23784
17840
  done
23786
17842
  (set) 2>&1 |
23787
17843
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
23788
17844
    *${as_nl}ac_space=\ *)
23789
 
      # `set' does not quote correctly, so add quotes (double-quote
23790
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
17845
      # `set' does not quote correctly, so add quotes: double-quote
 
17846
      # substitution turns \\\\ into \\, and sed turns \\ into \.
23791
17847
      sed -n \
23792
17848
        "s/'/'\\\\''/g;
23793
17849
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23810
17866
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23811
17867
  if test -w "$cache_file"; then
23812
17868
    test "x$cache_file" != "x/dev/null" &&
23813
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23814
 
echo "$as_me: updating cache $cache_file" >&6;}
 
17869
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
17870
$as_echo "$as_me: updating cache $cache_file" >&6;}
23815
17871
    cat confcache >$cache_file
23816
17872
  else
23817
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23818
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
17873
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
17874
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23819
17875
  fi
23820
17876
fi
23821
17877
rm -f confcache
23831
17887
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23832
17888
  # 1. Remove the extension, and $U if already installed.
23833
17889
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23834
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
17890
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23835
17891
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
23836
17892
  #    will be set to the directory where LIBOBJS objects are built.
23837
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23838
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
17893
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17894
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23839
17895
done
23840
17896
LIBOBJS=$ac_libobjs
23841
17897
 
23842
17898
LTLIBOBJS=$ac_ltlibobjs
23843
17899
 
23844
17900
 
 
17901
 if test -n "$EXEEXT"; then
 
17902
  am__EXEEXT_TRUE=
 
17903
  am__EXEEXT_FALSE='#'
 
17904
else
 
17905
  am__EXEEXT_TRUE='#'
 
17906
  am__EXEEXT_FALSE=
 
17907
fi
 
17908
 
23845
17909
if test -z "${INSIDE_GNOME_COMMON_TRUE}" && test -z "${INSIDE_GNOME_COMMON_FALSE}"; then
23846
 
  { { echo "$as_me:$LINENO: error: conditional \"INSIDE_GNOME_COMMON\" was never defined.
23847
 
Usually this means the macro was only invoked conditionally." >&5
23848
 
echo "$as_me: error: conditional \"INSIDE_GNOME_COMMON\" was never defined.
23849
 
Usually this means the macro was only invoked conditionally." >&2;}
23850
 
   { (exit 1); exit 1; }; }
 
17910
  as_fn_error "conditional \"INSIDE_GNOME_COMMON\" was never defined.
 
17911
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23851
17912
fi
23852
17913
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23853
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23854
 
Usually this means the macro was only invoked conditionally." >&5
23855
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
23856
 
Usually this means the macro was only invoked conditionally." >&2;}
23857
 
   { (exit 1); exit 1; }; }
 
17914
  as_fn_error "conditional \"AMDEP\" was never defined.
 
17915
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23858
17916
fi
23859
17917
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23860
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23861
 
Usually this means the macro was only invoked conditionally." >&5
23862
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23863
 
Usually this means the macro was only invoked conditionally." >&2;}
23864
 
   { (exit 1); exit 1; }; }
 
17918
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
17919
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23865
17920
fi
23866
17921
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23867
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23868
 
Usually this means the macro was only invoked conditionally." >&5
23869
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23870
 
Usually this means the macro was only invoked conditionally." >&2;}
23871
 
   { (exit 1); exit 1; }; }
 
17922
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
17923
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17924
fi
 
17925
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
17926
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
17927
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23872
17928
fi
23873
17929
if test -z "${ENABLEFLUIDSYNTH_TRUE}" && test -z "${ENABLEFLUIDSYNTH_FALSE}"; then
23874
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLEFLUIDSYNTH\" was never defined.
23875
 
Usually this means the macro was only invoked conditionally." >&5
23876
 
echo "$as_me: error: conditional \"ENABLEFLUIDSYNTH\" was never defined.
23877
 
Usually this means the macro was only invoked conditionally." >&2;}
23878
 
   { (exit 1); exit 1; }; }
 
17930
  as_fn_error "conditional \"ENABLEFLUIDSYNTH\" was never defined.
 
17931
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23879
17932
fi
23880
17933
if test -z "${HAVE_LASH_TRUE}" && test -z "${HAVE_LASH_FALSE}"; then
23881
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LASH\" was never defined.
23882
 
Usually this means the macro was only invoked conditionally." >&5
23883
 
echo "$as_me: error: conditional \"HAVE_LASH\" was never defined.
23884
 
Usually this means the macro was only invoked conditionally." >&2;}
23885
 
   { (exit 1); exit 1; }; }
 
17934
  as_fn_error "conditional \"HAVE_LASH\" was never defined.
 
17935
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23886
17936
fi
23887
17937
if test -z "${RTCAP_TRUE}" && test -z "${RTCAP_FALSE}"; then
23888
 
  { { echo "$as_me:$LINENO: error: conditional \"RTCAP\" was never defined.
23889
 
Usually this means the macro was only invoked conditionally." >&5
23890
 
echo "$as_me: error: conditional \"RTCAP\" was never defined.
23891
 
Usually this means the macro was only invoked conditionally." >&2;}
23892
 
   { (exit 1); exit 1; }; }
 
17938
  as_fn_error "conditional \"RTCAP\" was never defined.
 
17939
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23893
17940
fi
23894
17941
if test -z "${PCH_TRUE}" && test -z "${PCH_FALSE}"; then
23895
 
  { { echo "$as_me:$LINENO: error: conditional \"PCH\" was never defined.
23896
 
Usually this means the macro was only invoked conditionally." >&5
23897
 
echo "$as_me: error: conditional \"PCH\" was never defined.
23898
 
Usually this means the macro was only invoked conditionally." >&2;}
23899
 
   { (exit 1); exit 1; }; }
 
17942
  as_fn_error "conditional \"PCH\" was never defined.
 
17943
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23900
17944
fi
23901
17945
if test -z "${USE_SSE_TRUE}" && test -z "${USE_SSE_FALSE}"; then
23902
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_SSE\" was never defined.
23903
 
Usually this means the macro was only invoked conditionally." >&5
23904
 
echo "$as_me: error: conditional \"USE_SSE\" was never defined.
23905
 
Usually this means the macro was only invoked conditionally." >&2;}
23906
 
   { (exit 1); exit 1; }; }
 
17946
  as_fn_error "conditional \"USE_SSE\" was never defined.
 
17947
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23907
17948
fi
23908
17949
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
23909
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PYTHON\" was never defined.
23910
 
Usually this means the macro was only invoked conditionally." >&5
23911
 
echo "$as_me: error: conditional \"ENABLE_PYTHON\" was never defined.
23912
 
Usually this means the macro was only invoked conditionally." >&2;}
23913
 
   { (exit 1); exit 1; }; }
 
17950
  as_fn_error "conditional \"ENABLE_PYTHON\" was never defined.
 
17951
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23914
17952
fi
23915
17953
if test -z "${VST_SUPPORT_TRUE}" && test -z "${VST_SUPPORT_FALSE}"; then
23916
 
  { { echo "$as_me:$LINENO: error: conditional \"VST_SUPPORT\" was never defined.
23917
 
Usually this means the macro was only invoked conditionally." >&5
23918
 
echo "$as_me: error: conditional \"VST_SUPPORT\" was never defined.
23919
 
Usually this means the macro was only invoked conditionally." >&2;}
23920
 
   { (exit 1); exit 1; }; }
 
17954
  as_fn_error "conditional \"VST_SUPPORT\" was never defined.
 
17955
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17956
fi
 
17957
if test -z "${OSC_SUPPORT_TRUE}" && test -z "${OSC_SUPPORT_FALSE}"; then
 
17958
  as_fn_error "conditional \"OSC_SUPPORT\" was never defined.
 
17959
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23921
17960
fi
23922
17961
if test -z "${DSSI_SUPPORT_TRUE}" && test -z "${DSSI_SUPPORT_FALSE}"; then
23923
 
  { { echo "$as_me:$LINENO: error: conditional \"DSSI_SUPPORT\" was never defined.
23924
 
Usually this means the macro was only invoked conditionally." >&5
23925
 
echo "$as_me: error: conditional \"DSSI_SUPPORT\" was never defined.
23926
 
Usually this means the macro was only invoked conditionally." >&2;}
23927
 
   { (exit 1); exit 1; }; }
 
17962
  as_fn_error "conditional \"DSSI_SUPPORT\" was never defined.
 
17963
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23928
17964
fi
23929
17965
if test -z "${HAVE_AUDIO_TRUE}" && test -z "${HAVE_AUDIO_FALSE}"; then
23930
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_AUDIO\" was never defined.
23931
 
Usually this means the macro was only invoked conditionally." >&5
23932
 
echo "$as_me: error: conditional \"HAVE_AUDIO\" was never defined.
23933
 
Usually this means the macro was only invoked conditionally." >&2;}
23934
 
   { (exit 1); exit 1; }; }
 
17966
  as_fn_error "conditional \"HAVE_AUDIO\" was never defined.
 
17967
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23935
17968
fi
23936
17969
 
23937
17970
: ${CONFIG_STATUS=./config.status}
 
17971
ac_write_fail=0
23938
17972
ac_clean_files_save=$ac_clean_files
23939
17973
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23940
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23941
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
23942
 
cat >$CONFIG_STATUS <<_ACEOF
 
17974
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
17975
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
17976
as_write_fail=0
 
17977
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23943
17978
#! $SHELL
23944
17979
# Generated by $as_me.
23945
17980
# Run this file to recreate the current configuration.
23949
17984
debug=false
23950
17985
ac_cs_recheck=false
23951
17986
ac_cs_silent=false
 
17987
 
23952
17988
SHELL=\${CONFIG_SHELL-$SHELL}
23953
 
_ACEOF
23954
 
 
23955
 
cat >>$CONFIG_STATUS <<\_ACEOF
23956
 
## --------------------- ##
23957
 
## M4sh Initialization.  ##
23958
 
## --------------------- ##
 
17989
export SHELL
 
17990
_ASEOF
 
17991
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
17992
## -------------------- ##
 
17993
## M4sh Initialization. ##
 
17994
## -------------------- ##
23959
17995
 
23960
17996
# Be more Bourne compatible
23961
17997
DUALCASE=1; export DUALCASE # for MKS sh
23962
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17998
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23963
17999
  emulate sh
23964
18000
  NULLCMD=:
23965
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18001
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23966
18002
  # is contrary to our usage.  Disable this feature.
23967
18003
  alias -g '${1+"$@"}'='"$@"'
23968
18004
  setopt NO_GLOB_SUBST
23969
18005
else
23970
 
  case `(set -o) 2>/dev/null` in
23971
 
  *posix*) set -o posix ;;
 
18006
  case `(set -o) 2>/dev/null` in #(
 
18007
  *posix*) :
 
18008
    set -o posix ;; #(
 
18009
  *) :
 
18010
     ;;
23972
18011
esac
23973
 
 
23974
 
fi
23975
 
 
23976
 
 
23977
 
 
23978
 
 
23979
 
# PATH needs CR
23980
 
# Avoid depending upon Character Ranges.
23981
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23982
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23983
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23984
 
as_cr_digits='0123456789'
23985
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
18012
fi
 
18013
 
 
18014
 
 
18015
as_nl='
 
18016
'
 
18017
export as_nl
 
18018
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
18019
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
18020
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
18021
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
18022
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
18023
# but without wasting forks for bash or zsh.
 
18024
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
18025
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18026
  as_echo='print -r --'
 
18027
  as_echo_n='print -rn --'
 
18028
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18029
  as_echo='printf %s\n'
 
18030
  as_echo_n='printf %s'
 
18031
else
 
18032
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
18033
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
18034
    as_echo_n='/usr/ucb/echo -n'
 
18035
  else
 
18036
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
18037
    as_echo_n_body='eval
 
18038
      arg=$1;
 
18039
      case $arg in #(
 
18040
      *"$as_nl"*)
 
18041
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
18042
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
18043
      esac;
 
18044
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
18045
    '
 
18046
    export as_echo_n_body
 
18047
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
18048
  fi
 
18049
  export as_echo_body
 
18050
  as_echo='sh -c $as_echo_body as_echo'
 
18051
fi
23986
18052
 
23987
18053
# The user is always right.
23988
18054
if test "${PATH_SEPARATOR+set}" != set; then
23989
 
  echo "#! /bin/sh" >conf$$.sh
23990
 
  echo  "exit 0"   >>conf$$.sh
23991
 
  chmod +x conf$$.sh
23992
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23993
 
    PATH_SEPARATOR=';'
23994
 
  else
23995
 
    PATH_SEPARATOR=:
23996
 
  fi
23997
 
  rm -f conf$$.sh
23998
 
fi
23999
 
 
24000
 
# Support unset when possible.
24001
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24002
 
  as_unset=unset
24003
 
else
24004
 
  as_unset=false
 
18055
  PATH_SEPARATOR=:
 
18056
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
18057
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
18058
      PATH_SEPARATOR=';'
 
18059
  }
24005
18060
fi
24006
18061
 
24007
18062
 
24010
18065
# there to prevent editors from complaining about space-tab.
24011
18066
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24012
18067
# splitting by setting IFS to empty value.)
24013
 
as_nl='
24014
 
'
24015
18068
IFS=" ""        $as_nl"
24016
18069
 
24017
18070
# Find who we are.  Look in the path if we contain no directory separator.
24018
 
case $0 in
 
18071
case $0 in #((
24019
18072
  *[\\/]* ) as_myself=$0 ;;
24020
18073
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24021
18074
for as_dir in $PATH
24022
18075
do
24023
18076
  IFS=$as_save_IFS
24024
18077
  test -z "$as_dir" && as_dir=.
24025
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24026
 
done
 
18078
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
18079
  done
24027
18080
IFS=$as_save_IFS
24028
18081
 
24029
18082
     ;;
24034
18087
  as_myself=$0
24035
18088
fi
24036
18089
if test ! -f "$as_myself"; then
24037
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24038
 
  { (exit 1); exit 1; }
 
18090
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
18091
  exit 1
24039
18092
fi
24040
18093
 
24041
 
# Work around bugs in pre-3.0 UWIN ksh.
24042
 
for as_var in ENV MAIL MAILPATH
24043
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
18094
# Unset variables that we do not need and which cause bugs (e.g. in
 
18095
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
18096
# suppresses any "Segmentation fault" message there.  '((' could
 
18097
# trigger a bug in pdksh 5.2.14.
 
18098
for as_var in BASH_ENV ENV MAIL MAILPATH
 
18099
do eval test x\${$as_var+set} = xset \
 
18100
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
24044
18101
done
24045
18102
PS1='$ '
24046
18103
PS2='> '
24047
18104
PS4='+ '
24048
18105
 
24049
18106
# NLS nuisances.
24050
 
for as_var in \
24051
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24052
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24053
 
  LC_TELEPHONE LC_TIME
24054
 
do
24055
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24056
 
    eval $as_var=C; export $as_var
24057
 
  else
24058
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
18107
LC_ALL=C
 
18108
export LC_ALL
 
18109
LANGUAGE=C
 
18110
export LANGUAGE
 
18111
 
 
18112
# CDPATH.
 
18113
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18114
 
 
18115
 
 
18116
# as_fn_error ERROR [LINENO LOG_FD]
 
18117
# ---------------------------------
 
18118
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
18119
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
18120
# script with status $?, using 1 if that was 0.
 
18121
as_fn_error ()
 
18122
{
 
18123
  as_status=$?; test $as_status -eq 0 && as_status=1
 
18124
  if test "$3"; then
 
18125
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
18126
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24059
18127
  fi
24060
 
done
24061
 
 
24062
 
# Required to use basename.
 
18128
  $as_echo "$as_me: error: $1" >&2
 
18129
  as_fn_exit $as_status
 
18130
} # as_fn_error
 
18131
 
 
18132
 
 
18133
# as_fn_set_status STATUS
 
18134
# -----------------------
 
18135
# Set $? to STATUS, without forking.
 
18136
as_fn_set_status ()
 
18137
{
 
18138
  return $1
 
18139
} # as_fn_set_status
 
18140
 
 
18141
# as_fn_exit STATUS
 
18142
# -----------------
 
18143
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
18144
as_fn_exit ()
 
18145
{
 
18146
  set +e
 
18147
  as_fn_set_status $1
 
18148
  exit $1
 
18149
} # as_fn_exit
 
18150
 
 
18151
# as_fn_unset VAR
 
18152
# ---------------
 
18153
# Portably unset VAR.
 
18154
as_fn_unset ()
 
18155
{
 
18156
  { eval $1=; unset $1;}
 
18157
}
 
18158
as_unset=as_fn_unset
 
18159
# as_fn_append VAR VALUE
 
18160
# ----------------------
 
18161
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
18162
# advantage of any shell optimizations that allow amortized linear growth over
 
18163
# repeated appends, instead of the typical quadratic growth present in naive
 
18164
# implementations.
 
18165
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
18166
  eval 'as_fn_append ()
 
18167
  {
 
18168
    eval $1+=\$2
 
18169
  }'
 
18170
else
 
18171
  as_fn_append ()
 
18172
  {
 
18173
    eval $1=\$$1\$2
 
18174
  }
 
18175
fi # as_fn_append
 
18176
 
 
18177
# as_fn_arith ARG...
 
18178
# ------------------
 
18179
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
18180
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
18181
# must be portable across $(()) and expr.
 
18182
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
18183
  eval 'as_fn_arith ()
 
18184
  {
 
18185
    as_val=$(( $* ))
 
18186
  }'
 
18187
else
 
18188
  as_fn_arith ()
 
18189
  {
 
18190
    as_val=`expr "$@" || test $? -eq 1`
 
18191
  }
 
18192
fi # as_fn_arith
 
18193
 
 
18194
 
24063
18195
if expr a : '\(a\)' >/dev/null 2>&1 &&
24064
18196
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24065
18197
  as_expr=expr
24073
18205
  as_basename=false
24074
18206
fi
24075
18207
 
 
18208
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
18209
  as_dirname=dirname
 
18210
else
 
18211
  as_dirname=false
 
18212
fi
24076
18213
 
24077
 
# Name of the executable.
24078
18214
as_me=`$as_basename -- "$0" ||
24079
18215
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24080
18216
         X"$0" : 'X\(//\)$' \| \
24081
18217
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24082
 
echo X/"$0" |
 
18218
$as_echo X/"$0" |
24083
18219
    sed '/^.*\/\([^/][^/]*\)\/*$/{
24084
18220
            s//\1/
24085
18221
            q
24094
18230
          }
24095
18231
          s/.*/./; q'`
24096
18232
 
24097
 
# CDPATH.
24098
 
$as_unset CDPATH
24099
 
 
24100
 
 
24101
 
 
24102
 
  as_lineno_1=$LINENO
24103
 
  as_lineno_2=$LINENO
24104
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
24105
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24106
 
 
24107
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24108
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
24109
 
  # line-number line after each line using $LINENO; the second 'sed'
24110
 
  # does the real work.  The second script uses 'N' to pair each
24111
 
  # line-number line with the line containing $LINENO, and appends
24112
 
  # trailing '-' during substitution so that $LINENO is not a special
24113
 
  # case at line end.
24114
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24115
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
24116
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
24117
 
  sed -n '
24118
 
    p
24119
 
    /[$]LINENO/=
24120
 
  ' <$as_myself |
24121
 
    sed '
24122
 
      s/[$]LINENO.*/&-/
24123
 
      t lineno
24124
 
      b
24125
 
      :lineno
24126
 
      N
24127
 
      :loop
24128
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24129
 
      t loop
24130
 
      s/-\n.*//
24131
 
    ' >$as_me.lineno &&
24132
 
  chmod +x "$as_me.lineno" ||
24133
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24134
 
   { (exit 1); exit 1; }; }
24135
 
 
24136
 
  # Don't try to exec as it changes $[0], causing all sort of problems
24137
 
  # (the dirname of $[0] is not the place where we might find the
24138
 
  # original and so on.  Autoconf is especially sensitive to this).
24139
 
  . "./$as_me.lineno"
24140
 
  # Exit status is that of the last command.
24141
 
  exit
24142
 
}
24143
 
 
24144
 
 
24145
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24146
 
  as_dirname=dirname
24147
 
else
24148
 
  as_dirname=false
24149
 
fi
 
18233
# Avoid depending upon Character Ranges.
 
18234
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
18235
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
18236
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
18237
as_cr_digits='0123456789'
 
18238
as_cr_alnum=$as_cr_Letters$as_cr_digits
24150
18239
 
24151
18240
ECHO_C= ECHO_N= ECHO_T=
24152
 
case `echo -n x` in
 
18241
case `echo -n x` in #(((((
24153
18242
-n*)
24154
 
  case `echo 'x\c'` in
 
18243
  case `echo 'xy\c'` in
24155
18244
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
24156
 
  *)   ECHO_C='\c';;
 
18245
  xy)  ECHO_C='\c';;
 
18246
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
18247
       ECHO_T=' ';;
24157
18248
  esac;;
24158
18249
*)
24159
18250
  ECHO_N='-n';;
24160
18251
esac
24161
18252
 
24162
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
24163
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24164
 
  as_expr=expr
24165
 
else
24166
 
  as_expr=false
24167
 
fi
24168
 
 
24169
18253
rm -f conf$$ conf$$.exe conf$$.file
24170
18254
if test -d conf$$.dir; then
24171
18255
  rm -f conf$$.dir/conf$$.file
24172
18256
else
24173
18257
  rm -f conf$$.dir
24174
 
  mkdir conf$$.dir
 
18258
  mkdir conf$$.dir 2>/dev/null
24175
18259
fi
24176
 
echo >conf$$.file
24177
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
24178
 
  as_ln_s='ln -s'
24179
 
  # ... but there are two gotchas:
24180
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24181
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24182
 
  # In both cases, we have to default to `cp -p'.
24183
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
18260
if (echo >conf$$.file) 2>/dev/null; then
 
18261
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
18262
    as_ln_s='ln -s'
 
18263
    # ... but there are two gotchas:
 
18264
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
18265
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
18266
    # In both cases, we have to default to `cp -p'.
 
18267
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
18268
      as_ln_s='cp -p'
 
18269
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
18270
    as_ln_s=ln
 
18271
  else
24184
18272
    as_ln_s='cp -p'
24185
 
elif ln conf$$.file conf$$ 2>/dev/null; then
24186
 
  as_ln_s=ln
 
18273
  fi
24187
18274
else
24188
18275
  as_ln_s='cp -p'
24189
18276
fi
24190
18277
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24191
18278
rmdir conf$$.dir 2>/dev/null
24192
18279
 
 
18280
 
 
18281
# as_fn_mkdir_p
 
18282
# -------------
 
18283
# Create "$as_dir" as a directory, including parents if necessary.
 
18284
as_fn_mkdir_p ()
 
18285
{
 
18286
 
 
18287
  case $as_dir in #(
 
18288
  -*) as_dir=./$as_dir;;
 
18289
  esac
 
18290
  test -d "$as_dir" || eval $as_mkdir_p || {
 
18291
    as_dirs=
 
18292
    while :; do
 
18293
      case $as_dir in #(
 
18294
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
18295
      *) as_qdir=$as_dir;;
 
18296
      esac
 
18297
      as_dirs="'$as_qdir' $as_dirs"
 
18298
      as_dir=`$as_dirname -- "$as_dir" ||
 
18299
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18300
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18301
         X"$as_dir" : 'X\(//\)$' \| \
 
18302
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
18303
$as_echo X"$as_dir" |
 
18304
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18305
            s//\1/
 
18306
            q
 
18307
          }
 
18308
          /^X\(\/\/\)[^/].*/{
 
18309
            s//\1/
 
18310
            q
 
18311
          }
 
18312
          /^X\(\/\/\)$/{
 
18313
            s//\1/
 
18314
            q
 
18315
          }
 
18316
          /^X\(\/\).*/{
 
18317
            s//\1/
 
18318
            q
 
18319
          }
 
18320
          s/.*/./; q'`
 
18321
      test -d "$as_dir" && break
 
18322
    done
 
18323
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
18324
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
18325
 
 
18326
 
 
18327
} # as_fn_mkdir_p
24193
18328
if mkdir -p . 2>/dev/null; then
24194
 
  as_mkdir_p=:
 
18329
  as_mkdir_p='mkdir -p "$as_dir"'
24195
18330
else
24196
18331
  test -d ./-p && rmdir ./-p
24197
18332
  as_mkdir_p=false
24208
18343
  as_test_x='
24209
18344
    eval sh -c '\''
24210
18345
      if test -d "$1"; then
24211
 
        test -d "$1/.";
 
18346
        test -d "$1/.";
24212
18347
      else
24213
 
        case $1 in
24214
 
        -*)set "./$1";;
 
18348
        case $1 in #(
 
18349
        -*)set "./$1";;
24215
18350
        esac;
24216
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
18351
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
24217
18352
        ???[sx]*):;;*)false;;esac;fi
24218
18353
    '\'' sh
24219
18354
  '
24228
18363
 
24229
18364
 
24230
18365
exec 6>&1
 
18366
## ----------------------------------- ##
 
18367
## Main body of $CONFIG_STATUS script. ##
 
18368
## ----------------------------------- ##
 
18369
_ASEOF
 
18370
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
24231
18371
 
24232
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
18372
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18373
# Save the log message, to keep $0 and so on meaningful, and to
24233
18374
# report actual input values of CONFIG_FILES etc. instead of their
24234
18375
# values after options handling.
24235
18376
ac_log="
24236
 
This file was extended by MusE $as_me 1.0.1, which was
24237
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
18377
This file was extended by MusE $as_me 1.1, which was
 
18378
generated by GNU Autoconf 2.64.  Invocation command line was
24238
18379
 
24239
18380
  CONFIG_FILES    = $CONFIG_FILES
24240
18381
  CONFIG_HEADERS  = $CONFIG_HEADERS
24247
18388
 
24248
18389
_ACEOF
24249
18390
 
24250
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18391
case $ac_config_files in *"
 
18392
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
18393
esac
 
18394
 
 
18395
case $ac_config_headers in *"
 
18396
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
18397
esac
 
18398
 
 
18399
 
 
18400
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24251
18401
# Files that config.status was made for.
24252
18402
config_files="$ac_config_files"
24253
18403
config_headers="$ac_config_headers"
24255
18405
 
24256
18406
_ACEOF
24257
18407
 
24258
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18408
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24259
18409
ac_cs_usage="\
24260
 
\`$as_me' instantiates files from templates according to the
24261
 
current configuration.
 
18410
\`$as_me' instantiates files and other configuration actions
 
18411
from templates according to the current configuration.  Unless the files
 
18412
and actions are specified as TAGs, all are instantiated by default.
24262
18413
 
24263
 
Usage: $0 [OPTIONS] [FILE]...
 
18414
Usage: $0 [OPTION]... [TAG]...
24264
18415
 
24265
18416
  -h, --help       print this help, then exit
24266
18417
  -V, --version    print version number and configuration settings, then exit
24267
 
  -q, --quiet      do not print progress messages
 
18418
  -q, --quiet, --silent
 
18419
                   do not print progress messages
24268
18420
  -d, --debug      don't remove temporary files
24269
18421
      --recheck    update $as_me by reconfiguring in the same conditions
24270
 
  --file=FILE[:TEMPLATE]
24271
 
                   instantiate the configuration file FILE
24272
 
  --header=FILE[:TEMPLATE]
24273
 
                   instantiate the configuration header FILE
 
18422
      --file=FILE[:TEMPLATE]
 
18423
                   instantiate the configuration file FILE
 
18424
      --header=FILE[:TEMPLATE]
 
18425
                   instantiate the configuration header FILE
24274
18426
 
24275
18427
Configuration files:
24276
18428
$config_files
24281
18433
Configuration commands:
24282
18434
$config_commands
24283
18435
 
24284
 
Report bugs to <bug-autoconf@gnu.org>."
 
18436
Report bugs to the package provider."
24285
18437
 
24286
18438
_ACEOF
24287
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18439
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24288
18440
ac_cs_version="\\
24289
 
MusE config.status 1.0.1
24290
 
configured by $0, generated by GNU Autoconf 2.61,
24291
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
18441
MusE config.status 1.1
 
18442
configured by $0, generated by GNU Autoconf 2.64,
 
18443
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24292
18444
 
24293
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
18445
Copyright (C) 2009 Free Software Foundation, Inc.
24294
18446
This config.status script is free software; the Free Software Foundation
24295
18447
gives unlimited permission to copy, distribute and modify it."
24296
18448
 
24297
18449
ac_pwd='$ac_pwd'
24298
18450
srcdir='$srcdir'
24299
18451
INSTALL='$INSTALL'
 
18452
MKDIR_P='$MKDIR_P'
 
18453
AWK='$AWK'
 
18454
test -n "\$AWK" || AWK=awk
24300
18455
_ACEOF
24301
18456
 
24302
 
cat >>$CONFIG_STATUS <<\_ACEOF
24303
 
# If no file are specified by the user, then we need to provide default
24304
 
# value.  By we need to know if files were specified by the user.
 
18457
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18458
# The default lists apply if the user does not specify any file.
24305
18459
ac_need_defaults=:
24306
18460
while test $# != 0
24307
18461
do
24323
18477
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24324
18478
    ac_cs_recheck=: ;;
24325
18479
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24326
 
    echo "$ac_cs_version"; exit ;;
 
18480
    $as_echo "$ac_cs_version"; exit ;;
24327
18481
  --debug | --debu | --deb | --de | --d | -d )
24328
18482
    debug=: ;;
24329
18483
  --file | --fil | --fi | --f )
24330
18484
    $ac_shift
24331
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
18485
    case $ac_optarg in
 
18486
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18487
    esac
 
18488
    as_fn_append CONFIG_FILES " '$ac_optarg'"
24332
18489
    ac_need_defaults=false;;
24333
18490
  --header | --heade | --head | --hea )
24334
18491
    $ac_shift
24335
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
18492
    case $ac_optarg in
 
18493
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
18494
    esac
 
18495
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
24336
18496
    ac_need_defaults=false;;
24337
18497
  --he | --h)
24338
18498
    # Conflict between --help and --header
24339
 
    { echo "$as_me: error: ambiguous option: $1
24340
 
Try \`$0 --help' for more information." >&2
24341
 
   { (exit 1); exit 1; }; };;
 
18499
    as_fn_error "ambiguous option: \`$1'
 
18500
Try \`$0 --help' for more information.";;
24342
18501
  --help | --hel | -h )
24343
 
    echo "$ac_cs_usage"; exit ;;
 
18502
    $as_echo "$ac_cs_usage"; exit ;;
24344
18503
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24345
18504
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
24346
18505
    ac_cs_silent=: ;;
24347
18506
 
24348
18507
  # This is an error.
24349
 
  -*) { echo "$as_me: error: unrecognized option: $1
24350
 
Try \`$0 --help' for more information." >&2
24351
 
   { (exit 1); exit 1; }; } ;;
 
18508
  -*) as_fn_error "unrecognized option: \`$1'
 
18509
Try \`$0 --help' for more information." ;;
24352
18510
 
24353
 
  *) ac_config_targets="$ac_config_targets $1"
 
18511
  *) as_fn_append ac_config_targets " $1"
24354
18512
     ac_need_defaults=false ;;
24355
18513
 
24356
18514
  esac
24365
18523
fi
24366
18524
 
24367
18525
_ACEOF
24368
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24369
18527
if \$ac_cs_recheck; then
24370
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24371
 
  CONFIG_SHELL=$SHELL
 
18528
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18529
  shift
 
18530
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
18531
  CONFIG_SHELL='$SHELL'
24372
18532
  export CONFIG_SHELL
24373
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18533
  exec "\$@"
24374
18534
fi
24375
18535
 
24376
18536
_ACEOF
24377
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18537
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24378
18538
exec 5>>config.log
24379
18539
{
24380
18540
  echo
24381
18541
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24382
18542
## Running $as_me. ##
24383
18543
_ASBOX
24384
 
  echo "$ac_log"
 
18544
  $as_echo "$ac_log"
24385
18545
} >&5
24386
18546
 
24387
18547
_ACEOF
24388
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18548
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24389
18549
#
24390
18550
# INIT-COMMANDS
24391
18551
#
24392
18552
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24393
18553
 
 
18554
 
 
18555
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
18556
# if CDPATH is set.
 
18557
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18558
 
 
18559
sed_quote_subst='$sed_quote_subst'
 
18560
double_quote_subst='$double_quote_subst'
 
18561
delay_variable_subst='$delay_variable_subst'
 
18562
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18563
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
18564
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
18565
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18566
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
18567
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
18568
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18569
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
18570
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18571
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18572
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
18573
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18574
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
18575
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
18576
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18577
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18578
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18579
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
18580
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
18581
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
18582
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
18583
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
18584
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
18585
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
18586
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
18587
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
18588
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18589
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18590
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
18591
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
18592
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
18593
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
18594
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18595
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
18596
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
18597
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18598
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18599
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18600
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
18601
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18602
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
18603
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
18604
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
18605
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
18606
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
18607
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18608
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
18609
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
18610
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
18611
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
18612
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18613
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
18614
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
18615
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18616
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
18617
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
18618
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
18619
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
18620
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
18621
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18622
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
18623
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
18624
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18625
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18626
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
18627
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
18628
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18629
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18630
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
18631
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18632
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18633
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18634
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18635
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18636
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18637
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18638
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18639
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18640
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18641
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18642
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
18643
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
18644
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
18645
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
18646
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18647
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
18648
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18649
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
18650
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18651
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
18652
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18653
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18654
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18655
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18656
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18657
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
18658
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18659
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18660
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
18661
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18662
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18663
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18664
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18665
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18666
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18667
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18668
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18669
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18670
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
18671
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
18672
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18673
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18674
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
18675
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
18676
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
18677
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18678
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18679
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18680
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
18681
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
18682
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
18683
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
18684
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
18685
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18686
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18687
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18688
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18689
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18690
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18691
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18692
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18693
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18694
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18695
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18696
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18697
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18698
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18699
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18700
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18701
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18702
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18703
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18704
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18705
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18706
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18707
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18708
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18709
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18710
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18711
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18712
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18713
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18714
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18715
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18716
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18717
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18718
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18719
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18720
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18721
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18722
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18723
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18724
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18725
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18726
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18727
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18728
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18729
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18730
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18731
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18732
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18733
 
 
18734
LTCC='$LTCC'
 
18735
LTCFLAGS='$LTCFLAGS'
 
18736
compiler='$compiler_DEFAULT'
 
18737
 
 
18738
# Quote evaled strings.
 
18739
for var in SED \
 
18740
GREP \
 
18741
EGREP \
 
18742
FGREP \
 
18743
LD \
 
18744
NM \
 
18745
LN_S \
 
18746
lt_SP2NL \
 
18747
lt_NL2SP \
 
18748
reload_flag \
 
18749
OBJDUMP \
 
18750
deplibs_check_method \
 
18751
file_magic_cmd \
 
18752
AR \
 
18753
AR_FLAGS \
 
18754
STRIP \
 
18755
RANLIB \
 
18756
CC \
 
18757
CFLAGS \
 
18758
compiler \
 
18759
lt_cv_sys_global_symbol_pipe \
 
18760
lt_cv_sys_global_symbol_to_cdecl \
 
18761
lt_cv_sys_global_symbol_to_c_name_address \
 
18762
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
18763
SHELL \
 
18764
ECHO \
 
18765
lt_prog_compiler_no_builtin_flag \
 
18766
lt_prog_compiler_wl \
 
18767
lt_prog_compiler_pic \
 
18768
lt_prog_compiler_static \
 
18769
lt_cv_prog_compiler_c_o \
 
18770
need_locks \
 
18771
DSYMUTIL \
 
18772
NMEDIT \
 
18773
LIPO \
 
18774
OTOOL \
 
18775
OTOOL64 \
 
18776
shrext_cmds \
 
18777
export_dynamic_flag_spec \
 
18778
whole_archive_flag_spec \
 
18779
compiler_needs_object \
 
18780
with_gnu_ld \
 
18781
allow_undefined_flag \
 
18782
no_undefined_flag \
 
18783
hardcode_libdir_flag_spec \
 
18784
hardcode_libdir_flag_spec_ld \
 
18785
hardcode_libdir_separator \
 
18786
fix_srcfile_path \
 
18787
exclude_expsyms \
 
18788
include_expsyms \
 
18789
file_list_spec \
 
18790
variables_saved_for_relink \
 
18791
libname_spec \
 
18792
library_names_spec \
 
18793
soname_spec \
 
18794
finish_eval \
 
18795
old_striplib \
 
18796
striplib \
 
18797
compiler_lib_search_dirs \
 
18798
predep_objects \
 
18799
postdep_objects \
 
18800
predeps \
 
18801
postdeps \
 
18802
compiler_lib_search_path \
 
18803
LD_CXX \
 
18804
compiler_CXX \
 
18805
lt_prog_compiler_no_builtin_flag_CXX \
 
18806
lt_prog_compiler_wl_CXX \
 
18807
lt_prog_compiler_pic_CXX \
 
18808
lt_prog_compiler_static_CXX \
 
18809
lt_cv_prog_compiler_c_o_CXX \
 
18810
export_dynamic_flag_spec_CXX \
 
18811
whole_archive_flag_spec_CXX \
 
18812
compiler_needs_object_CXX \
 
18813
with_gnu_ld_CXX \
 
18814
allow_undefined_flag_CXX \
 
18815
no_undefined_flag_CXX \
 
18816
hardcode_libdir_flag_spec_CXX \
 
18817
hardcode_libdir_flag_spec_ld_CXX \
 
18818
hardcode_libdir_separator_CXX \
 
18819
fix_srcfile_path_CXX \
 
18820
exclude_expsyms_CXX \
 
18821
include_expsyms_CXX \
 
18822
file_list_spec_CXX \
 
18823
compiler_lib_search_dirs_CXX \
 
18824
predep_objects_CXX \
 
18825
postdep_objects_CXX \
 
18826
predeps_CXX \
 
18827
postdeps_CXX \
 
18828
compiler_lib_search_path_CXX; do
 
18829
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18830
    *[\\\\\\\`\\"\\\$]*)
 
18831
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
18832
      ;;
 
18833
    *)
 
18834
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18835
      ;;
 
18836
    esac
 
18837
done
 
18838
 
 
18839
# Double-quote double-evaled strings.
 
18840
for var in reload_cmds \
 
18841
old_postinstall_cmds \
 
18842
old_postuninstall_cmds \
 
18843
old_archive_cmds \
 
18844
extract_expsyms_cmds \
 
18845
old_archive_from_new_cmds \
 
18846
old_archive_from_expsyms_cmds \
 
18847
archive_cmds \
 
18848
archive_expsym_cmds \
 
18849
module_cmds \
 
18850
module_expsym_cmds \
 
18851
export_symbols_cmds \
 
18852
prelink_cmds \
 
18853
postinstall_cmds \
 
18854
postuninstall_cmds \
 
18855
finish_cmds \
 
18856
sys_lib_search_path_spec \
 
18857
sys_lib_dlsearch_path_spec \
 
18858
old_archive_cmds_CXX \
 
18859
old_archive_from_new_cmds_CXX \
 
18860
old_archive_from_expsyms_cmds_CXX \
 
18861
archive_cmds_CXX \
 
18862
archive_expsym_cmds_CXX \
 
18863
module_cmds_CXX \
 
18864
module_expsym_cmds_CXX \
 
18865
export_symbols_cmds_CXX \
 
18866
prelink_cmds_CXX; do
 
18867
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
18868
    *[\\\\\\\`\\"\\\$]*)
 
18869
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
18870
      ;;
 
18871
    *)
 
18872
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
18873
      ;;
 
18874
    esac
 
18875
done
 
18876
 
 
18877
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
18878
case \$lt_ECHO in
 
18879
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
18880
  ;;
 
18881
esac
 
18882
 
 
18883
ac_aux_dir='$ac_aux_dir'
 
18884
xsi_shell='$xsi_shell'
 
18885
lt_shell_append='$lt_shell_append'
 
18886
 
 
18887
# See if we are running on zsh, and set the options which allow our
 
18888
# commands through without removal of \ escapes INIT.
 
18889
if test -n "\${ZSH_VERSION+set}" ; then
 
18890
   setopt NO_GLOB_SUBST
 
18891
fi
 
18892
 
 
18893
 
 
18894
    PACKAGE='$PACKAGE'
 
18895
    VERSION='$VERSION'
 
18896
    TIMESTAMP='$TIMESTAMP'
 
18897
    RM='$RM'
 
18898
    ofile='$ofile'
 
18899
 
 
18900
 
 
18901
 
 
18902
 
 
18903
 
 
18904
 
24394
18905
_ACEOF
24395
18906
 
24396
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18907
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24397
18908
 
24398
18909
# Handling of arguments.
24399
18910
for ac_config_target in $ac_config_targets
24401
18912
  case $ac_config_target in
24402
18913
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24403
18914
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
18915
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24404
18916
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24405
18917
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
24406
18918
    "al/Makefile") CONFIG_FILES="$CONFIG_FILES al/Makefile" ;;
24453
18965
    "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
24454
18966
    "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
24455
18967
 
24456
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24457
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24458
 
   { (exit 1); exit 1; }; };;
 
18968
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24459
18969
  esac
24460
18970
done
24461
18971
 
24482
18992
  trap 'exit_status=$?
24483
18993
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24484
18994
' 0
24485
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
18995
  trap 'as_fn_exit 1' 1 2 13 15
24486
18996
}
24487
18997
# Create a (secure) tmp directory for tmp files.
24488
18998
 
24493
19003
{
24494
19004
  tmp=./conf$$-$RANDOM
24495
19005
  (umask 077 && mkdir "$tmp")
24496
 
} ||
24497
 
{
24498
 
   echo "$me: cannot create a temporary directory in ." >&2
24499
 
   { (exit 1); exit 1; }
24500
 
}
24501
 
 
24502
 
#
24503
 
# Set up the sed scripts for CONFIG_FILES section.
24504
 
#
24505
 
 
24506
 
# No need to generate the scripts if there are no CONFIG_FILES.
24507
 
# This happens for instance when ./config.status config.h
 
19006
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
19007
 
 
19008
# Set up the scripts for CONFIG_FILES section.
 
19009
# No need to generate them if there are no CONFIG_FILES.
 
19010
# This happens for instance with `./config.status config.h'.
24508
19011
if test -n "$CONFIG_FILES"; then
24509
19012
 
24510
 
_ACEOF
24511
 
 
24512
 
 
24513
 
 
24514
 
ac_delim='%!_!# '
24515
 
for ac_last_try in false false false false false :; do
24516
 
  cat >conf$$subs.sed <<_ACEOF
24517
 
SHELL!$SHELL$ac_delim
24518
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24519
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24520
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24521
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24522
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24523
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24524
 
exec_prefix!$exec_prefix$ac_delim
24525
 
prefix!$prefix$ac_delim
24526
 
program_transform_name!$program_transform_name$ac_delim
24527
 
bindir!$bindir$ac_delim
24528
 
sbindir!$sbindir$ac_delim
24529
 
libexecdir!$libexecdir$ac_delim
24530
 
datarootdir!$datarootdir$ac_delim
24531
 
datadir!$datadir$ac_delim
24532
 
sysconfdir!$sysconfdir$ac_delim
24533
 
sharedstatedir!$sharedstatedir$ac_delim
24534
 
localstatedir!$localstatedir$ac_delim
24535
 
includedir!$includedir$ac_delim
24536
 
oldincludedir!$oldincludedir$ac_delim
24537
 
docdir!$docdir$ac_delim
24538
 
infodir!$infodir$ac_delim
24539
 
htmldir!$htmldir$ac_delim
24540
 
dvidir!$dvidir$ac_delim
24541
 
pdfdir!$pdfdir$ac_delim
24542
 
psdir!$psdir$ac_delim
24543
 
libdir!$libdir$ac_delim
24544
 
localedir!$localedir$ac_delim
24545
 
mandir!$mandir$ac_delim
24546
 
DEFS!$DEFS$ac_delim
24547
 
ECHO_C!$ECHO_C$ac_delim
24548
 
ECHO_N!$ECHO_N$ac_delim
24549
 
ECHO_T!$ECHO_T$ac_delim
24550
 
LIBS!$LIBS$ac_delim
24551
 
build_alias!$build_alias$ac_delim
24552
 
host_alias!$host_alias$ac_delim
24553
 
target_alias!$target_alias$ac_delim
24554
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24555
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24556
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
24557
 
CYGPATH_W!$CYGPATH_W$ac_delim
24558
 
PACKAGE!$PACKAGE$ac_delim
24559
 
VERSION!$VERSION$ac_delim
24560
 
ACLOCAL!$ACLOCAL$ac_delim
24561
 
AUTOCONF!$AUTOCONF$ac_delim
24562
 
AUTOMAKE!$AUTOMAKE$ac_delim
24563
 
AUTOHEADER!$AUTOHEADER$ac_delim
24564
 
MAKEINFO!$MAKEINFO$ac_delim
24565
 
install_sh!$install_sh$ac_delim
24566
 
STRIP!$STRIP$ac_delim
24567
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24568
 
mkdir_p!$mkdir_p$ac_delim
24569
 
AWK!$AWK$ac_delim
24570
 
SET_MAKE!$SET_MAKE$ac_delim
24571
 
am__leading_dot!$am__leading_dot$ac_delim
24572
 
AMTAR!$AMTAR$ac_delim
24573
 
am__tar!$am__tar$ac_delim
24574
 
am__untar!$am__untar$ac_delim
24575
 
INSIDE_GNOME_COMMON_TRUE!$INSIDE_GNOME_COMMON_TRUE$ac_delim
24576
 
INSIDE_GNOME_COMMON_FALSE!$INSIDE_GNOME_COMMON_FALSE$ac_delim
24577
 
CXX!$CXX$ac_delim
24578
 
CXXFLAGS!$CXXFLAGS$ac_delim
24579
 
LDFLAGS!$LDFLAGS$ac_delim
24580
 
CPPFLAGS!$CPPFLAGS$ac_delim
24581
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
24582
 
EXEEXT!$EXEEXT$ac_delim
24583
 
OBJEXT!$OBJEXT$ac_delim
24584
 
DEPDIR!$DEPDIR$ac_delim
24585
 
am__include!$am__include$ac_delim
24586
 
am__quote!$am__quote$ac_delim
24587
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24588
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24589
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24590
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
24591
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24592
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24593
 
build!$build$ac_delim
24594
 
build_cpu!$build_cpu$ac_delim
24595
 
build_vendor!$build_vendor$ac_delim
24596
 
build_os!$build_os$ac_delim
24597
 
host!$host$ac_delim
24598
 
host_cpu!$host_cpu$ac_delim
24599
 
host_vendor!$host_vendor$ac_delim
24600
 
host_os!$host_os$ac_delim
24601
 
CC!$CC$ac_delim
24602
 
CFLAGS!$CFLAGS$ac_delim
24603
 
ac_ct_CC!$ac_ct_CC$ac_delim
24604
 
CCDEPMODE!$CCDEPMODE$ac_delim
24605
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24606
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24607
 
GREP!$GREP$ac_delim
24608
 
EGREP!$EGREP$ac_delim
24609
 
LN_S!$LN_S$ac_delim
24610
 
ECHO!$ECHO$ac_delim
24611
 
AR!$AR$ac_delim
24612
 
RANLIB!$RANLIB$ac_delim
24613
 
CPP!$CPP$ac_delim
24614
 
_ACEOF
24615
 
 
24616
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24617
 
    break
24618
 
  elif $ac_last_try; then
24619
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24620
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24621
 
   { (exit 1); exit 1; }; }
24622
 
  else
24623
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24624
 
  fi
24625
 
done
24626
 
 
24627
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24628
 
if test -n "$ac_eof"; then
24629
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24630
 
  ac_eof=`expr $ac_eof + 1`
24631
 
fi
24632
 
 
24633
 
cat >>$CONFIG_STATUS <<_ACEOF
24634
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24635
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24636
 
_ACEOF
24637
 
sed '
24638
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24639
 
s/^/s,@/; s/!/@,|#_!!_#|/
24640
 
:n
24641
 
t n
24642
 
s/'"$ac_delim"'$/,g/; t
24643
 
s/$/\\/; p
24644
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24645
 
' >>$CONFIG_STATUS <conf$$subs.sed
24646
 
rm -f conf$$subs.sed
24647
 
cat >>$CONFIG_STATUS <<_ACEOF
24648
 
CEOF$ac_eof
24649
 
_ACEOF
24650
 
 
24651
 
 
24652
 
ac_delim='%!_!# '
24653
 
for ac_last_try in false false false false false :; do
24654
 
  cat >conf$$subs.sed <<_ACEOF
24655
 
CXXCPP!$CXXCPP$ac_delim
24656
 
F77!$F77$ac_delim
24657
 
FFLAGS!$FFLAGS$ac_delim
24658
 
ac_ct_F77!$ac_ct_F77$ac_delim
24659
 
LIBTOOL!$LIBTOOL$ac_delim
24660
 
JADE!$JADE$ac_delim
24661
 
NSGMLS!$NSGMLS$ac_delim
24662
 
have_docbook!$have_docbook$ac_delim
24663
 
DOCBOOKSTYLE!$DOCBOOKSTYLE$ac_delim
24664
 
DOCBOOKTARGETS!$DOCBOOKTARGETS$ac_delim
24665
 
DOXYGEN!$DOXYGEN$ac_delim
24666
 
DOT!$DOT$ac_delim
24667
 
HAVEDOT!$HAVEDOT$ac_delim
24668
 
DOTPATH!$DOTPATH$ac_delim
24669
 
PERL!$PERL$ac_delim
24670
 
XMKMF!$XMKMF$ac_delim
24671
 
X_CFLAGS!$X_CFLAGS$ac_delim
24672
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24673
 
X_LIBS!$X_LIBS$ac_delim
24674
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24675
 
QT_CFLAGS!$QT_CFLAGS$ac_delim
24676
 
QT_LIBS!$QT_LIBS$ac_delim
24677
 
MOC!$MOC$ac_delim
24678
 
UIC!$UIC$ac_delim
24679
 
ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
24680
 
ALSA_LIBS!$ALSA_LIBS$ac_delim
24681
 
ENABLEFLUIDSYNTH_TRUE!$ENABLEFLUIDSYNTH_TRUE$ac_delim
24682
 
ENABLEFLUIDSYNTH_FALSE!$ENABLEFLUIDSYNTH_FALSE$ac_delim
24683
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
24684
 
Fluidsynth_CFLAGS!$Fluidsynth_CFLAGS$ac_delim
24685
 
Fluidsynth_LIBS!$Fluidsynth_LIBS$ac_delim
24686
 
FLUIDSYNTHDIRS!$FLUIDSYNTHDIRS$ac_delim
24687
 
synth_fluidsynth!$synth_fluidsynth$ac_delim
24688
 
synth_fluid!$synth_fluid$ac_delim
24689
 
SNDFILE_CFLAGS!$SNDFILE_CFLAGS$ac_delim
24690
 
SNDFILE_LIBS!$SNDFILE_LIBS$ac_delim
24691
 
SAMPLERATE_CFLAGS!$SAMPLERATE_CFLAGS$ac_delim
24692
 
SAMPLERATE_LIBS!$SAMPLERATE_LIBS$ac_delim
24693
 
UUID_CFLAGS!$UUID_CFLAGS$ac_delim
24694
 
UUID_LIBS!$UUID_LIBS$ac_delim
24695
 
JACK_CFLAGS!$JACK_CFLAGS$ac_delim
24696
 
JACK_LIBS!$JACK_LIBS$ac_delim
24697
 
LASH_CFLAGS!$LASH_CFLAGS$ac_delim
24698
 
LASH_LIBS!$LASH_LIBS$ac_delim
24699
 
HAVE_LASH_TRUE!$HAVE_LASH_TRUE$ac_delim
24700
 
HAVE_LASH_FALSE!$HAVE_LASH_FALSE$ac_delim
24701
 
RTCAP_TRUE!$RTCAP_TRUE$ac_delim
24702
 
RTCAP_FALSE!$RTCAP_FALSE$ac_delim
24703
 
GIVERTCAP!$GIVERTCAP$ac_delim
24704
 
SUIDINSTALL!$SUIDINSTALL$ac_delim
24705
 
SUIDBUILD!$SUIDBUILD$ac_delim
24706
 
DOXYGEN_TREEVIEW!$DOXYGEN_TREEVIEW$ac_delim
24707
 
PCH!$PCH$ac_delim
24708
 
PCH_TRUE!$PCH_TRUE$ac_delim
24709
 
PCH_FALSE!$PCH_FALSE$ac_delim
24710
 
USE_SSE!$USE_SSE$ac_delim
24711
 
USE_SSE_TRUE!$USE_SSE_TRUE$ac_delim
24712
 
USE_SSE_FALSE!$USE_SSE_FALSE$ac_delim
24713
 
PYTHON!$PYTHON$ac_delim
24714
 
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
24715
 
PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
24716
 
PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
24717
 
PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
24718
 
pythondir!$pythondir$ac_delim
24719
 
pkgpythondir!$pkgpythondir$ac_delim
24720
 
pyexecdir!$pyexecdir$ac_delim
24721
 
pkgpyexecdir!$pkgpyexecdir$ac_delim
24722
 
ENABLE_PYTHON_TRUE!$ENABLE_PYTHON_TRUE$ac_delim
24723
 
ENABLE_PYTHON_FALSE!$ENABLE_PYTHON_FALSE$ac_delim
24724
 
PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
24725
 
PYTHON_LIB!$PYTHON_LIB$ac_delim
24726
 
FST_CFLAGS!$FST_CFLAGS$ac_delim
24727
 
FST_LIBS!$FST_LIBS$ac_delim
24728
 
VST_SUPPORT_TRUE!$VST_SUPPORT_TRUE$ac_delim
24729
 
VST_SUPPORT_FALSE!$VST_SUPPORT_FALSE$ac_delim
24730
 
LO_CFLAGS!$LO_CFLAGS$ac_delim
24731
 
LO_LIBS!$LO_LIBS$ac_delim
24732
 
DSSI_SUPPORT_TRUE!$DSSI_SUPPORT_TRUE$ac_delim
24733
 
DSSI_SUPPORT_FALSE!$DSSI_SUPPORT_FALSE$ac_delim
24734
 
HAVE_AUDIO_TRUE!$HAVE_AUDIO_TRUE$ac_delim
24735
 
HAVE_AUDIO_FALSE!$HAVE_AUDIO_FALSE$ac_delim
24736
 
MUSECXXFLAGS!$MUSECXXFLAGS$ac_delim
24737
 
LIBOBJS!$LIBOBJS$ac_delim
24738
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
24739
 
_ACEOF
24740
 
 
24741
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
24742
 
    break
24743
 
  elif $ac_last_try; then
24744
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24745
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24746
 
   { (exit 1); exit 1; }; }
24747
 
  else
24748
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24749
 
  fi
24750
 
done
24751
 
 
24752
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24753
 
if test -n "$ac_eof"; then
24754
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24755
 
  ac_eof=`expr $ac_eof + 1`
24756
 
fi
24757
 
 
24758
 
cat >>$CONFIG_STATUS <<_ACEOF
24759
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24760
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24761
 
_ACEOF
24762
 
sed '
24763
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24764
 
s/^/s,@/; s/!/@,|#_!!_#|/
24765
 
:n
24766
 
t n
24767
 
s/'"$ac_delim"'$/,g/; t
24768
 
s/$/\\/; p
24769
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24770
 
' >>$CONFIG_STATUS <conf$$subs.sed
24771
 
rm -f conf$$subs.sed
24772
 
cat >>$CONFIG_STATUS <<_ACEOF
24773
 
:end
24774
 
s/|#_!!_#|//g
24775
 
CEOF$ac_eof
24776
 
_ACEOF
24777
 
 
 
19013
 
 
19014
ac_cr=`echo X | tr X '\015'`
 
19015
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
19016
# But we know of no other shell where ac_cr would be empty at this
 
19017
# point, so we can use a bashism as a fallback.
 
19018
if test "x$ac_cr" = x; then
 
19019
  eval ac_cr=\$\'\\r\'
 
19020
fi
 
19021
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
19022
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
19023
  ac_cs_awk_cr='\r'
 
19024
else
 
19025
  ac_cs_awk_cr=$ac_cr
 
19026
fi
 
19027
 
 
19028
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
19029
_ACEOF
 
19030
 
 
19031
 
 
19032
{
 
19033
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
19034
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
19035
  echo "_ACEOF"
 
19036
} >conf$$subs.sh ||
 
19037
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19038
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
19039
ac_delim='%!_!# '
 
19040
for ac_last_try in false false false false false :; do
 
19041
  . ./conf$$subs.sh ||
 
19042
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19043
 
 
19044
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
19045
  if test $ac_delim_n = $ac_delim_num; then
 
19046
    break
 
19047
  elif $ac_last_try; then
 
19048
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
19049
  else
 
19050
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19051
  fi
 
19052
done
 
19053
rm -f conf$$subs.sh
 
19054
 
 
19055
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19056
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
19057
_ACEOF
 
19058
sed -n '
 
19059
h
 
19060
s/^/S["/; s/!.*/"]=/
 
19061
p
 
19062
g
 
19063
s/^[^!]*!//
 
19064
:repl
 
19065
t repl
 
19066
s/'"$ac_delim"'$//
 
19067
t delim
 
19068
:nl
 
19069
h
 
19070
s/\(.\{148\}\).*/\1/
 
19071
t more1
 
19072
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
19073
p
 
19074
n
 
19075
b repl
 
19076
:more1
 
19077
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
19078
p
 
19079
g
 
19080
s/.\{148\}//
 
19081
t nl
 
19082
:delim
 
19083
h
 
19084
s/\(.\{148\}\).*/\1/
 
19085
t more2
 
19086
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
19087
p
 
19088
b
 
19089
:more2
 
19090
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
19091
p
 
19092
g
 
19093
s/.\{148\}//
 
19094
t delim
 
19095
' <conf$$subs.awk | sed '
 
19096
/^[^""]/{
 
19097
  N
 
19098
  s/\n//
 
19099
}
 
19100
' >>$CONFIG_STATUS || ac_write_fail=1
 
19101
rm -f conf$$subs.awk
 
19102
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19103
_ACAWK
 
19104
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
19105
  for (key in S) S_is_set[key] = 1
 
19106
  FS = ""
 
19107
 
 
19108
}
 
19109
{
 
19110
  line = $ 0
 
19111
  nfields = split(line, field, "@")
 
19112
  substed = 0
 
19113
  len = length(field[1])
 
19114
  for (i = 2; i < nfields; i++) {
 
19115
    key = field[i]
 
19116
    keylen = length(key)
 
19117
    if (S_is_set[key]) {
 
19118
      value = S[key]
 
19119
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
19120
      len += length(value) + length(field[++i])
 
19121
      substed = 1
 
19122
    } else
 
19123
      len += 1 + keylen
 
19124
  }
 
19125
 
 
19126
  print line
 
19127
}
 
19128
 
 
19129
_ACAWK
 
19130
_ACEOF
 
19131
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19132
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
19133
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
19134
else
 
19135
  cat
 
19136
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
19137
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
19138
_ACEOF
24778
19139
 
24779
19140
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24780
19141
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24791
19152
}'
24792
19153
fi
24793
19154
 
24794
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
19155
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24795
19156
fi # test -n "$CONFIG_FILES"
24796
19157
 
24797
 
 
24798
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
19158
# Set up the scripts for CONFIG_HEADERS section.
 
19159
# No need to generate them if there are no CONFIG_HEADERS.
 
19160
# This happens for instance with `./config.status Makefile'.
 
19161
if test -n "$CONFIG_HEADERS"; then
 
19162
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
19163
BEGIN {
 
19164
_ACEOF
 
19165
 
 
19166
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
19167
# here-document in config.status, that substitutes the proper values into
 
19168
# config.h.in to produce config.h.
 
19169
 
 
19170
# Create a delimiter string that does not exist in confdefs.h, to ease
 
19171
# handling of long lines.
 
19172
ac_delim='%!_!# '
 
19173
for ac_last_try in false false :; do
 
19174
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
19175
  if test -z "$ac_t"; then
 
19176
    break
 
19177
  elif $ac_last_try; then
 
19178
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
19179
  else
 
19180
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19181
  fi
 
19182
done
 
19183
 
 
19184
# For the awk script, D is an array of macro values keyed by name,
 
19185
# likewise P contains macro parameters if any.  Preserve backslash
 
19186
# newline sequences.
 
19187
 
 
19188
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
19189
sed -n '
 
19190
s/.\{148\}/&'"$ac_delim"'/g
 
19191
t rset
 
19192
:rset
 
19193
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
19194
t def
 
19195
d
 
19196
:def
 
19197
s/\\$//
 
19198
t bsnl
 
19199
s/["\\]/\\&/g
 
19200
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
19201
D["\1"]=" \3"/p
 
19202
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
19203
d
 
19204
:bsnl
 
19205
s/["\\]/\\&/g
 
19206
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
19207
D["\1"]=" \3\\\\\\n"\\/p
 
19208
t cont
 
19209
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
19210
t cont
 
19211
d
 
19212
:cont
 
19213
n
 
19214
s/.\{148\}/&'"$ac_delim"'/g
 
19215
t clear
 
19216
:clear
 
19217
s/\\$//
 
19218
t bsnlc
 
19219
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
19220
d
 
19221
:bsnlc
 
19222
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
19223
b cont
 
19224
' <confdefs.h | sed '
 
19225
s/'"$ac_delim"'/"\\\
 
19226
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
19227
 
 
19228
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19229
  for (key in D) D_is_set[key] = 1
 
19230
  FS = ""
 
19231
}
 
19232
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
19233
  line = \$ 0
 
19234
  split(line, arg, " ")
 
19235
  if (arg[1] == "#") {
 
19236
    defundef = arg[2]
 
19237
    mac1 = arg[3]
 
19238
  } else {
 
19239
    defundef = substr(arg[1], 2)
 
19240
    mac1 = arg[2]
 
19241
  }
 
19242
  split(mac1, mac2, "(") #)
 
19243
  macro = mac2[1]
 
19244
  prefix = substr(line, 1, index(line, defundef) - 1)
 
19245
  if (D_is_set[macro]) {
 
19246
    # Preserve the white space surrounding the "#".
 
19247
    print prefix "define", macro P[macro] D[macro]
 
19248
    next
 
19249
  } else {
 
19250
    # Replace #undef with comments.  This is necessary, for example,
 
19251
    # in the case of _POSIX_SOURCE, which is predefined and required
 
19252
    # on some systems where configure will not decide to define it.
 
19253
    if (defundef == "undef") {
 
19254
      print "/*", prefix defundef, macro, "*/"
 
19255
      next
 
19256
    }
 
19257
  }
 
19258
}
 
19259
{ print }
 
19260
_ACAWK
 
19261
_ACEOF
 
19262
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
19263
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
19264
fi # test -n "$CONFIG_HEADERS"
 
19265
 
 
19266
 
 
19267
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
19268
shift
 
19269
for ac_tag
24799
19270
do
24800
19271
  case $ac_tag in
24801
19272
  :[FHLC]) ac_mode=$ac_tag; continue;;
24802
19273
  esac
24803
19274
  case $ac_mode$ac_tag in
24804
19275
  :[FHL]*:*);;
24805
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24806
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24807
 
   { (exit 1); exit 1; }; };;
 
19276
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
24808
19277
  :[FH]-) ac_tag=-:-;;
24809
19278
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24810
19279
  esac
24832
19301
           [\\/$]*) false;;
24833
19302
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24834
19303
           esac ||
24835
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24836
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24837
 
   { (exit 1); exit 1; }; };;
 
19304
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24838
19305
      esac
24839
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
19306
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
19307
      as_fn_append ac_file_inputs " '$ac_f'"
24840
19308
    done
24841
19309
 
24842
19310
    # Let's still pretend it is `configure' which instantiates (i.e., don't
24843
19311
    # use $as_me), people would be surprised to read:
24844
19312
    #    /* config.h.  Generated by config.status.  */
24845
 
    configure_input="Generated from "`IFS=:
24846
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
19313
    configure_input='Generated from '`
 
19314
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
19315
        `' by configure.'
24847
19316
    if test x"$ac_file" != x-; then
24848
19317
      configure_input="$ac_file.  $configure_input"
24849
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
24850
 
echo "$as_me: creating $ac_file" >&6;}
 
19318
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
19319
$as_echo "$as_me: creating $ac_file" >&6;}
24851
19320
    fi
 
19321
    # Neutralize special characters interpreted by sed in replacement strings.
 
19322
    case $configure_input in #(
 
19323
    *\&* | *\|* | *\\* )
 
19324
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
19325
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
19326
    *) ac_sed_conf_input=$configure_input;;
 
19327
    esac
24852
19328
 
24853
19329
    case $ac_tag in
24854
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
19330
    *:-:* | *:-) cat >"$tmp/stdin" \
 
19331
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
24855
19332
    esac
24856
19333
    ;;
24857
19334
  esac
24861
19338
         X"$ac_file" : 'X\(//\)[^/]' \| \
24862
19339
         X"$ac_file" : 'X\(//\)$' \| \
24863
19340
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24864
 
echo X"$ac_file" |
24865
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24866
 
            s//\1/
24867
 
            q
24868
 
          }
24869
 
          /^X\(\/\/\)[^/].*/{
24870
 
            s//\1/
24871
 
            q
24872
 
          }
24873
 
          /^X\(\/\/\)$/{
24874
 
            s//\1/
24875
 
            q
24876
 
          }
24877
 
          /^X\(\/\).*/{
24878
 
            s//\1/
24879
 
            q
24880
 
          }
24881
 
          s/.*/./; q'`
24882
 
  { as_dir="$ac_dir"
24883
 
  case $as_dir in #(
24884
 
  -*) as_dir=./$as_dir;;
24885
 
  esac
24886
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24887
 
    as_dirs=
24888
 
    while :; do
24889
 
      case $as_dir in #(
24890
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24891
 
      *) as_qdir=$as_dir;;
24892
 
      esac
24893
 
      as_dirs="'$as_qdir' $as_dirs"
24894
 
      as_dir=`$as_dirname -- "$as_dir" ||
24895
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24896
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24897
 
         X"$as_dir" : 'X\(//\)$' \| \
24898
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24899
 
echo X"$as_dir" |
24900
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24901
 
            s//\1/
24902
 
            q
24903
 
          }
24904
 
          /^X\(\/\/\)[^/].*/{
24905
 
            s//\1/
24906
 
            q
24907
 
          }
24908
 
          /^X\(\/\/\)$/{
24909
 
            s//\1/
24910
 
            q
24911
 
          }
24912
 
          /^X\(\/\).*/{
24913
 
            s//\1/
24914
 
            q
24915
 
          }
24916
 
          s/.*/./; q'`
24917
 
      test -d "$as_dir" && break
24918
 
    done
24919
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
24920
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24921
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24922
 
   { (exit 1); exit 1; }; }; }
 
19341
$as_echo X"$ac_file" |
 
19342
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19343
            s//\1/
 
19344
            q
 
19345
          }
 
19346
          /^X\(\/\/\)[^/].*/{
 
19347
            s//\1/
 
19348
            q
 
19349
          }
 
19350
          /^X\(\/\/\)$/{
 
19351
            s//\1/
 
19352
            q
 
19353
          }
 
19354
          /^X\(\/\).*/{
 
19355
            s//\1/
 
19356
            q
 
19357
          }
 
19358
          s/.*/./; q'`
 
19359
  as_dir="$ac_dir"; as_fn_mkdir_p
24923
19360
  ac_builddir=.
24924
19361
 
24925
19362
case "$ac_dir" in
24926
19363
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24927
19364
*)
24928
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
19365
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24929
19366
  # A ".." for each directory in $ac_dir_suffix.
24930
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
19367
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24931
19368
  case $ac_top_builddir_sub in
24932
19369
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24933
19370
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24965
19402
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24966
19403
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24967
19404
  esac
 
19405
  ac_MKDIR_P=$MKDIR_P
 
19406
  case $MKDIR_P in
 
19407
  [\\/$]* | ?:[\\/]* ) ;;
 
19408
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
19409
  esac
24968
19410
_ACEOF
24969
19411
 
24970
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
19412
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24971
19413
# If the template does not know about datarootdir, expand it.
24972
19414
# FIXME: This hack should be removed a few years after 2.60.
24973
19415
ac_datarootdir_hack=; ac_datarootdir_seen=
24974
 
 
24975
 
case `sed -n '/datarootdir/ {
 
19416
ac_sed_dataroot='
 
19417
/datarootdir/ {
24976
19418
  p
24977
19419
  q
24978
19420
}
24980
19422
/@docdir@/p
24981
19423
/@infodir@/p
24982
19424
/@localedir@/p
24983
 
/@mandir@/p
24984
 
' $ac_file_inputs` in
 
19425
/@mandir@/p'
 
19426
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24985
19427
*datarootdir*) ac_datarootdir_seen=yes;;
24986
19428
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24987
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24988
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
19429
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
19430
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24989
19431
_ACEOF
24990
 
cat >>$CONFIG_STATUS <<_ACEOF
 
19432
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24991
19433
  ac_datarootdir_hack='
24992
19434
  s&@datadir@&$datadir&g
24993
19435
  s&@docdir@&$docdir&g
24994
19436
  s&@infodir@&$infodir&g
24995
19437
  s&@localedir@&$localedir&g
24996
19438
  s&@mandir@&$mandir&g
24997
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
19439
  s&\\\${datarootdir}&$datarootdir&g' ;;
24998
19440
esac
24999
19441
_ACEOF
25000
19442
 
25001
19443
# Neutralize VPATH when `$srcdir' = `.'.
25002
19444
# Shell code in configure.ac might set extrasub.
25003
19445
# FIXME: do we really want to maintain this feature?
25004
 
cat >>$CONFIG_STATUS <<_ACEOF
25005
 
  sed "$ac_vpsub
 
19446
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
19447
ac_sed_extra="$ac_vpsub
25006
19448
$extrasub
25007
19449
_ACEOF
25008
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
19450
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25009
19451
:t
25010
19452
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25011
 
s&@configure_input@&$configure_input&;t t
 
19453
s|@configure_input@|$ac_sed_conf_input|;t t
25012
19454
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
19455
s&@top_build_prefix@&$ac_top_build_prefix&;t t
25013
19456
s&@srcdir@&$ac_srcdir&;t t
25014
19457
s&@abs_srcdir@&$ac_abs_srcdir&;t t
25015
19458
s&@top_srcdir@&$ac_top_srcdir&;t t
25018
19461
s&@abs_builddir@&$ac_abs_builddir&;t t
25019
19462
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25020
19463
s&@INSTALL@&$ac_INSTALL&;t t
 
19464
s&@MKDIR_P@&$ac_MKDIR_P&;t t
25021
19465
$ac_datarootdir_hack
25022
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
19466
"
 
19467
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
19468
  || as_fn_error "could not create $ac_file" "$LINENO" 5
25023
19469
 
25024
19470
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25025
19471
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25026
19472
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25027
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19473
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25028
19474
which seems to be undefined.  Please make sure it is defined." >&5
25029
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19475
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25030
19476
which seems to be undefined.  Please make sure it is defined." >&2;}
25031
19477
 
25032
19478
  rm -f "$tmp/stdin"
25033
19479
  case $ac_file in
25034
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
25035
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25036
 
  esac
 
19480
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
19481
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
19482
  esac \
 
19483
  || as_fn_error "could not create $ac_file" "$LINENO" 5
25037
19484
 ;;
25038
19485
  :H)
25039
19486
  #
25040
19487
  # CONFIG_HEADER
25041
19488
  #
25042
 
_ACEOF
25043
 
 
25044
 
# Transform confdefs.h into a sed script `conftest.defines', that
25045
 
# substitutes the proper values into config.h.in to produce config.h.
25046
 
rm -f conftest.defines conftest.tail
25047
 
# First, append a space to every undef/define line, to ease matching.
25048
 
echo 's/$/ /' >conftest.defines
25049
 
# Then, protect against being on the right side of a sed subst, or in
25050
 
# an unquoted here document, in config.status.  If some macros were
25051
 
# called several times there might be several #defines for the same
25052
 
# symbol, which is useless.  But do not sort them, since the last
25053
 
# AC_DEFINE must be honored.
25054
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25055
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25056
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
25057
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
25058
 
# just an empty string.
25059
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
25060
 
ac_dB='\\)[      (].*,\\1define\\2'
25061
 
ac_dC=' '
25062
 
ac_dD=' ,'
25063
 
 
25064
 
uniq confdefs.h |
25065
 
  sed -n '
25066
 
        t rset
25067
 
        :rset
25068
 
        s/^[     ]*#[    ]*define[       ][      ]*//
25069
 
        t ok
25070
 
        d
25071
 
        :ok
25072
 
        s/[\\&,]/\\&/g
25073
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25074
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25075
 
  ' >>conftest.defines
25076
 
 
25077
 
# Remove the space that was appended to ease matching.
25078
 
# Then replace #undef with comments.  This is necessary, for
25079
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
25080
 
# on some systems where configure will not decide to define it.
25081
 
# (The regexp can be short, since the line contains either #define or #undef.)
25082
 
echo 's/ $//
25083
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
25084
 
 
25085
 
# Break up conftest.defines:
25086
 
ac_max_sed_lines=50
25087
 
 
25088
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25089
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25090
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25091
 
# et cetera.
25092
 
ac_in='$ac_file_inputs'
25093
 
ac_out='"$tmp/out1"'
25094
 
ac_nxt='"$tmp/out2"'
25095
 
 
25096
 
while :
25097
 
do
25098
 
  # Write a here document:
25099
 
    cat >>$CONFIG_STATUS <<_ACEOF
25100
 
    # First, check the format of the line:
25101
 
    cat >"\$tmp/defines.sed" <<\\CEOF
25102
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
25103
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
25104
 
b
25105
 
:def
25106
 
_ACEOF
25107
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25108
 
  echo 'CEOF
25109
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25110
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25111
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25112
 
  grep . conftest.tail >/dev/null || break
25113
 
  rm -f conftest.defines
25114
 
  mv conftest.tail conftest.defines
25115
 
done
25116
 
rm -f conftest.defines conftest.tail
25117
 
 
25118
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
25119
 
cat >>$CONFIG_STATUS <<\_ACEOF
25120
19489
  if test x"$ac_file" != x-; then
25121
 
    echo "/* $configure_input  */" >"$tmp/config.h"
25122
 
    cat "$ac_result" >>"$tmp/config.h"
25123
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25124
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25125
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
19490
    {
 
19491
      $as_echo "/* $configure_input  */" \
 
19492
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
19493
    } >"$tmp/config.h" \
 
19494
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
19495
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
19496
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
19497
$as_echo "$as_me: $ac_file is unchanged" >&6;}
25126
19498
    else
25127
 
      rm -f $ac_file
25128
 
      mv "$tmp/config.h" $ac_file
 
19499
      rm -f "$ac_file"
 
19500
      mv "$tmp/config.h" "$ac_file" \
 
19501
        || as_fn_error "could not create $ac_file" "$LINENO" 5
25129
19502
    fi
25130
19503
  else
25131
 
    echo "/* $configure_input  */"
25132
 
    cat "$ac_result"
 
19504
    $as_echo "/* $configure_input  */" \
 
19505
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
19506
      || as_fn_error "could not create -" "$LINENO" 5
25133
19507
  fi
25134
 
  rm -f "$tmp/out12"
25135
 
# Compute $ac_file's index in $config_headers.
 
19508
# Compute "$ac_file"'s index in $config_headers.
 
19509
_am_arg="$ac_file"
25136
19510
_am_stamp_count=1
25137
19511
for _am_header in $config_headers :; do
25138
19512
  case $_am_header in
25139
 
    $ac_file | $ac_file:* )
 
19513
    $_am_arg | $_am_arg:* )
25140
19514
      break ;;
25141
19515
    * )
25142
19516
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25143
19517
  esac
25144
19518
done
25145
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
25146
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25147
 
         X$ac_file : 'X\(//\)[^/]' \| \
25148
 
         X$ac_file : 'X\(//\)$' \| \
25149
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
25150
 
echo X$ac_file |
 
19519
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
19520
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19521
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
19522
         X"$_am_arg" : 'X\(//\)$' \| \
 
19523
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
19524
$as_echo X"$_am_arg" |
25151
19525
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25152
19526
            s//\1/
25153
19527
            q
25167
19541
          s/.*/./; q'`/stamp-h$_am_stamp_count
25168
19542
 ;;
25169
19543
 
25170
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25171
 
echo "$as_me: executing $ac_file commands" >&6;}
 
19544
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
19545
$as_echo "$as_me: executing $ac_file commands" >&6;}
25172
19546
 ;;
25173
19547
  esac
25174
19548
 
25175
19549
 
25176
19550
  case $ac_file$ac_mode in
25177
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25178
 
  # Strip MF so we end up with the name of the file.
25179
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
25180
 
  # Check whether this is an Automake generated Makefile or not.
25181
 
  # We used to match only the files named `Makefile.in', but
25182
 
  # some people rename them; so instead we look at the file content.
25183
 
  # Grep'ing the first line is not enough: some people post-process
25184
 
  # each Makefile.in and add a new line on top of each file to say so.
25185
 
  # So let's grep whole file.
25186
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25187
 
    dirpart=`$as_dirname -- "$mf" ||
 
19551
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
19552
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
19553
  # are listed without --file.  Let's play safe and only enable the eval
 
19554
  # if we detect the quoting.
 
19555
  case $CONFIG_FILES in
 
19556
  *\'*) eval set x "$CONFIG_FILES" ;;
 
19557
  *)   set x $CONFIG_FILES ;;
 
19558
  esac
 
19559
  shift
 
19560
  for mf
 
19561
  do
 
19562
    # Strip MF so we end up with the name of the file.
 
19563
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
19564
    # Check whether this is an Automake generated Makefile or not.
 
19565
    # We used to match only the files named `Makefile.in', but
 
19566
    # some people rename them; so instead we look at the file content.
 
19567
    # Grep'ing the first line is not enough: some people post-process
 
19568
    # each Makefile.in and add a new line on top of each file to say so.
 
19569
    # Grep'ing the whole file is not good either: AIX grep has a line
 
19570
    # limit of 2048, but all sed's we know have understand at least 4000.
 
19571
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
19572
      dirpart=`$as_dirname -- "$mf" ||
25188
19573
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25189
19574
         X"$mf" : 'X\(//\)[^/]' \| \
25190
19575
         X"$mf" : 'X\(//\)$' \| \
25191
19576
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25192
 
echo X"$mf" |
 
19577
$as_echo X"$mf" |
25193
19578
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25194
19579
            s//\1/
25195
19580
            q
25207
19592
            q
25208
19593
          }
25209
19594
          s/.*/./; q'`
25210
 
  else
25211
 
    continue
25212
 
  fi
25213
 
  # Extract the definition of DEPDIR, am__include, and am__quote
25214
 
  # from the Makefile without running `make'.
25215
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25216
 
  test -z "$DEPDIR" && continue
25217
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
25218
 
  test -z "am__include" && continue
25219
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25220
 
  # When using ansi2knr, U may be empty or an underscore; expand it
25221
 
  U=`sed -n 's/^U = //p' < "$mf"`
25222
 
  # Find all dependency output files, they are included files with
25223
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
25224
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
25225
 
  # expansion.
25226
 
  for file in `sed -n "
25227
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25228
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25229
 
    # Make sure the directory exists.
25230
 
    test -f "$dirpart/$file" && continue
25231
 
    fdir=`$as_dirname -- "$file" ||
 
19595
    else
 
19596
      continue
 
19597
    fi
 
19598
    # Extract the definition of DEPDIR, am__include, and am__quote
 
19599
    # from the Makefile without running `make'.
 
19600
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
19601
    test -z "$DEPDIR" && continue
 
19602
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
19603
    test -z "am__include" && continue
 
19604
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
19605
    # When using ansi2knr, U may be empty or an underscore; expand it
 
19606
    U=`sed -n 's/^U = //p' < "$mf"`
 
19607
    # Find all dependency output files, they are included files with
 
19608
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
19609
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
19610
    # expansion.
 
19611
    for file in `sed -n "
 
19612
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
19613
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
19614
      # Make sure the directory exists.
 
19615
      test -f "$dirpart/$file" && continue
 
19616
      fdir=`$as_dirname -- "$file" ||
25232
19617
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25233
19618
         X"$file" : 'X\(//\)[^/]' \| \
25234
19619
         X"$file" : 'X\(//\)$' \| \
25235
19620
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25236
 
echo X"$file" |
25237
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25238
 
            s//\1/
25239
 
            q
25240
 
          }
25241
 
          /^X\(\/\/\)[^/].*/{
25242
 
            s//\1/
25243
 
            q
25244
 
          }
25245
 
          /^X\(\/\/\)$/{
25246
 
            s//\1/
25247
 
            q
25248
 
          }
25249
 
          /^X\(\/\).*/{
25250
 
            s//\1/
25251
 
            q
25252
 
          }
25253
 
          s/.*/./; q'`
25254
 
    { as_dir=$dirpart/$fdir
25255
 
  case $as_dir in #(
25256
 
  -*) as_dir=./$as_dir;;
25257
 
  esac
25258
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25259
 
    as_dirs=
25260
 
    while :; do
25261
 
      case $as_dir in #(
25262
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25263
 
      *) as_qdir=$as_dir;;
25264
 
      esac
25265
 
      as_dirs="'$as_qdir' $as_dirs"
25266
 
      as_dir=`$as_dirname -- "$as_dir" ||
25267
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25268
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
25269
 
         X"$as_dir" : 'X\(//\)$' \| \
25270
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25271
 
echo X"$as_dir" |
25272
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25273
 
            s//\1/
25274
 
            q
25275
 
          }
25276
 
          /^X\(\/\/\)[^/].*/{
25277
 
            s//\1/
25278
 
            q
25279
 
          }
25280
 
          /^X\(\/\/\)$/{
25281
 
            s//\1/
25282
 
            q
25283
 
          }
25284
 
          /^X\(\/\).*/{
25285
 
            s//\1/
25286
 
            q
25287
 
          }
25288
 
          s/.*/./; q'`
25289
 
      test -d "$as_dir" && break
 
19621
$as_echo X"$file" |
 
19622
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19623
            s//\1/
 
19624
            q
 
19625
          }
 
19626
          /^X\(\/\/\)[^/].*/{
 
19627
            s//\1/
 
19628
            q
 
19629
          }
 
19630
          /^X\(\/\/\)$/{
 
19631
            s//\1/
 
19632
            q
 
19633
          }
 
19634
          /^X\(\/\).*/{
 
19635
            s//\1/
 
19636
            q
 
19637
          }
 
19638
          s/.*/./; q'`
 
19639
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
19640
      # echo "creating $dirpart/$file"
 
19641
      echo '# dummy' > "$dirpart/$file"
25290
19642
    done
25291
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
25292
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25293
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25294
 
   { (exit 1); exit 1; }; }; }
25295
 
    # echo "creating $dirpart/$file"
25296
 
    echo '# dummy' > "$dirpart/$file"
25297
19643
  done
25298
 
done
 
19644
}
 
19645
 ;;
 
19646
    "libtool":C)
 
19647
 
 
19648
    # See if we are running on zsh, and set the options which allow our
 
19649
    # commands through without removal of \ escapes.
 
19650
    if test -n "${ZSH_VERSION+set}" ; then
 
19651
      setopt NO_GLOB_SUBST
 
19652
    fi
 
19653
 
 
19654
    cfgfile="${ofile}T"
 
19655
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
19656
    $RM "$cfgfile"
 
19657
 
 
19658
    cat <<_LT_EOF >> "$cfgfile"
 
19659
#! $SHELL
 
19660
 
 
19661
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
19662
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
19663
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
19664
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
19665
#
 
19666
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
19667
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
19668
#   Written by Gordon Matzigkeit, 1996
 
19669
#
 
19670
#   This file is part of GNU Libtool.
 
19671
#
 
19672
# GNU Libtool is free software; you can redistribute it and/or
 
19673
# modify it under the terms of the GNU General Public License as
 
19674
# published by the Free Software Foundation; either version 2 of
 
19675
# the License, or (at your option) any later version.
 
19676
#
 
19677
# As a special exception to the GNU General Public License,
 
19678
# if you distribute this file as part of a program or library that
 
19679
# is built using GNU Libtool, you may include this file under the
 
19680
# same distribution terms that you use for the rest of that program.
 
19681
#
 
19682
# GNU Libtool is distributed in the hope that it will be useful,
 
19683
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19684
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19685
# GNU General Public License for more details.
 
19686
#
 
19687
# You should have received a copy of the GNU General Public License
 
19688
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
19689
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
19690
# obtained by writing to the Free Software Foundation, Inc.,
 
19691
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
19692
 
 
19693
 
 
19694
# The names of the tagged configurations supported by this script.
 
19695
available_tags="CXX "
 
19696
 
 
19697
# ### BEGIN LIBTOOL CONFIG
 
19698
 
 
19699
# Which release of libtool.m4 was used?
 
19700
macro_version=$macro_version
 
19701
macro_revision=$macro_revision
 
19702
 
 
19703
# Whether or not to build shared libraries.
 
19704
build_libtool_libs=$enable_shared
 
19705
 
 
19706
# Whether or not to build static libraries.
 
19707
build_old_libs=$enable_static
 
19708
 
 
19709
# What type of objects to build.
 
19710
pic_mode=$pic_mode
 
19711
 
 
19712
# Whether or not to optimize for fast installation.
 
19713
fast_install=$enable_fast_install
 
19714
 
 
19715
# The host system.
 
19716
host_alias=$host_alias
 
19717
host=$host
 
19718
host_os=$host_os
 
19719
 
 
19720
# The build system.
 
19721
build_alias=$build_alias
 
19722
build=$build
 
19723
build_os=$build_os
 
19724
 
 
19725
# A sed program that does not truncate output.
 
19726
SED=$lt_SED
 
19727
 
 
19728
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
19729
Xsed="\$SED -e 1s/^X//"
 
19730
 
 
19731
# A grep program that handles long lines.
 
19732
GREP=$lt_GREP
 
19733
 
 
19734
# An ERE matcher.
 
19735
EGREP=$lt_EGREP
 
19736
 
 
19737
# A literal string matcher.
 
19738
FGREP=$lt_FGREP
 
19739
 
 
19740
# A BSD- or MS-compatible name lister.
 
19741
NM=$lt_NM
 
19742
 
 
19743
# Whether we need soft or hard links.
 
19744
LN_S=$lt_LN_S
 
19745
 
 
19746
# What is the maximum length of a command?
 
19747
max_cmd_len=$max_cmd_len
 
19748
 
 
19749
# Object file suffix (normally "o").
 
19750
objext=$ac_objext
 
19751
 
 
19752
# Executable file suffix (normally "").
 
19753
exeext=$exeext
 
19754
 
 
19755
# whether the shell understands "unset".
 
19756
lt_unset=$lt_unset
 
19757
 
 
19758
# turn spaces into newlines.
 
19759
SP2NL=$lt_lt_SP2NL
 
19760
 
 
19761
# turn newlines into spaces.
 
19762
NL2SP=$lt_lt_NL2SP
 
19763
 
 
19764
# How to create reloadable object files.
 
19765
reload_flag=$lt_reload_flag
 
19766
reload_cmds=$lt_reload_cmds
 
19767
 
 
19768
# An object symbol dumper.
 
19769
OBJDUMP=$lt_OBJDUMP
 
19770
 
 
19771
# Method to check whether dependent libraries are shared objects.
 
19772
deplibs_check_method=$lt_deplibs_check_method
 
19773
 
 
19774
# Command to use when deplibs_check_method == "file_magic".
 
19775
file_magic_cmd=$lt_file_magic_cmd
 
19776
 
 
19777
# The archiver.
 
19778
AR=$lt_AR
 
19779
AR_FLAGS=$lt_AR_FLAGS
 
19780
 
 
19781
# A symbol stripping program.
 
19782
STRIP=$lt_STRIP
 
19783
 
 
19784
# Commands used to install an old-style archive.
 
19785
RANLIB=$lt_RANLIB
 
19786
old_postinstall_cmds=$lt_old_postinstall_cmds
 
19787
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
19788
 
 
19789
# A C compiler.
 
19790
LTCC=$lt_CC
 
19791
 
 
19792
# LTCC compiler flags.
 
19793
LTCFLAGS=$lt_CFLAGS
 
19794
 
 
19795
# Take the output of nm and produce a listing of raw symbols and C names.
 
19796
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
19797
 
 
19798
# Transform the output of nm in a proper C declaration.
 
19799
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
19800
 
 
19801
# Transform the output of nm in a C name address pair.
 
19802
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
19803
 
 
19804
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
19805
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
19806
 
 
19807
# The name of the directory that contains temporary libtool files.
 
19808
objdir=$objdir
 
19809
 
 
19810
# Shell to use when invoking shell scripts.
 
19811
SHELL=$lt_SHELL
 
19812
 
 
19813
# An echo program that does not interpret backslashes.
 
19814
ECHO=$lt_ECHO
 
19815
 
 
19816
# Used to examine libraries when file_magic_cmd begins with "file".
 
19817
MAGIC_CMD=$MAGIC_CMD
 
19818
 
 
19819
# Must we lock files when doing compilation?
 
19820
need_locks=$lt_need_locks
 
19821
 
 
19822
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
19823
DSYMUTIL=$lt_DSYMUTIL
 
19824
 
 
19825
# Tool to change global to local symbols on Mac OS X.
 
19826
NMEDIT=$lt_NMEDIT
 
19827
 
 
19828
# Tool to manipulate fat objects and archives on Mac OS X.
 
19829
LIPO=$lt_LIPO
 
19830
 
 
19831
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
19832
OTOOL=$lt_OTOOL
 
19833
 
 
19834
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
19835
OTOOL64=$lt_OTOOL64
 
19836
 
 
19837
# Old archive suffix (normally "a").
 
19838
libext=$libext
 
19839
 
 
19840
# Shared library suffix (normally ".so").
 
19841
shrext_cmds=$lt_shrext_cmds
 
19842
 
 
19843
# The commands to extract the exported symbol list from a shared archive.
 
19844
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
19845
 
 
19846
# Variables whose values should be saved in libtool wrapper scripts and
 
19847
# restored at link time.
 
19848
variables_saved_for_relink=$lt_variables_saved_for_relink
 
19849
 
 
19850
# Do we need the "lib" prefix for modules?
 
19851
need_lib_prefix=$need_lib_prefix
 
19852
 
 
19853
# Do we need a version for libraries?
 
19854
need_version=$need_version
 
19855
 
 
19856
# Library versioning type.
 
19857
version_type=$version_type
 
19858
 
 
19859
# Shared library runtime path variable.
 
19860
runpath_var=$runpath_var
 
19861
 
 
19862
# Shared library path variable.
 
19863
shlibpath_var=$shlibpath_var
 
19864
 
 
19865
# Is shlibpath searched before the hard-coded library search path?
 
19866
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
19867
 
 
19868
# Format of library name prefix.
 
19869
libname_spec=$lt_libname_spec
 
19870
 
 
19871
# List of archive names.  First name is the real one, the rest are links.
 
19872
# The last name is the one that the linker finds with -lNAME
 
19873
library_names_spec=$lt_library_names_spec
 
19874
 
 
19875
# The coded name of the library, if different from the real name.
 
19876
soname_spec=$lt_soname_spec
 
19877
 
 
19878
# Command to use after installation of a shared archive.
 
19879
postinstall_cmds=$lt_postinstall_cmds
 
19880
 
 
19881
# Command to use after uninstallation of a shared archive.
 
19882
postuninstall_cmds=$lt_postuninstall_cmds
 
19883
 
 
19884
# Commands used to finish a libtool library installation in a directory.
 
19885
finish_cmds=$lt_finish_cmds
 
19886
 
 
19887
# As "finish_cmds", except a single script fragment to be evaled but
 
19888
# not shown.
 
19889
finish_eval=$lt_finish_eval
 
19890
 
 
19891
# Whether we should hardcode library paths into libraries.
 
19892
hardcode_into_libs=$hardcode_into_libs
 
19893
 
 
19894
# Compile-time system search path for libraries.
 
19895
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
19896
 
 
19897
# Run-time system search path for libraries.
 
19898
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
19899
 
 
19900
# Whether dlopen is supported.
 
19901
dlopen_support=$enable_dlopen
 
19902
 
 
19903
# Whether dlopen of programs is supported.
 
19904
dlopen_self=$enable_dlopen_self
 
19905
 
 
19906
# Whether dlopen of statically linked programs is supported.
 
19907
dlopen_self_static=$enable_dlopen_self_static
 
19908
 
 
19909
# Commands to strip libraries.
 
19910
old_striplib=$lt_old_striplib
 
19911
striplib=$lt_striplib
 
19912
 
 
19913
 
 
19914
# The linker used to build libraries.
 
19915
LD=$lt_LD
 
19916
 
 
19917
# Commands used to build an old-style archive.
 
19918
old_archive_cmds=$lt_old_archive_cmds
 
19919
 
 
19920
# A language specific compiler.
 
19921
CC=$lt_compiler
 
19922
 
 
19923
# Is the compiler the GNU compiler?
 
19924
with_gcc=$GCC
 
19925
 
 
19926
# Compiler flag to turn off builtin functions.
 
19927
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
19928
 
 
19929
# How to pass a linker flag through the compiler.
 
19930
wl=$lt_lt_prog_compiler_wl
 
19931
 
 
19932
# Additional compiler flags for building library objects.
 
19933
pic_flag=$lt_lt_prog_compiler_pic
 
19934
 
 
19935
# Compiler flag to prevent dynamic linking.
 
19936
link_static_flag=$lt_lt_prog_compiler_static
 
19937
 
 
19938
# Does compiler simultaneously support -c and -o options?
 
19939
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
19940
 
 
19941
# Whether or not to add -lc for building shared libraries.
 
19942
build_libtool_need_lc=$archive_cmds_need_lc
 
19943
 
 
19944
# Whether or not to disallow shared libs when runtime libs are static.
 
19945
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
19946
 
 
19947
# Compiler flag to allow reflexive dlopens.
 
19948
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
19949
 
 
19950
# Compiler flag to generate shared objects directly from archives.
 
19951
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
19952
 
 
19953
# Whether the compiler copes with passing no objects directly.
 
19954
compiler_needs_object=$lt_compiler_needs_object
 
19955
 
 
19956
# Create an old-style archive from a shared archive.
 
19957
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
19958
 
 
19959
# Create a temporary old-style archive to link instead of a shared archive.
 
19960
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
19961
 
 
19962
# Commands used to build a shared archive.
 
19963
archive_cmds=$lt_archive_cmds
 
19964
archive_expsym_cmds=$lt_archive_expsym_cmds
 
19965
 
 
19966
# Commands used to build a loadable module if different from building
 
19967
# a shared archive.
 
19968
module_cmds=$lt_module_cmds
 
19969
module_expsym_cmds=$lt_module_expsym_cmds
 
19970
 
 
19971
# Whether we are building with GNU ld or not.
 
19972
with_gnu_ld=$lt_with_gnu_ld
 
19973
 
 
19974
# Flag that allows shared libraries with undefined symbols to be built.
 
19975
allow_undefined_flag=$lt_allow_undefined_flag
 
19976
 
 
19977
# Flag that enforces no undefined symbols.
 
19978
no_undefined_flag=$lt_no_undefined_flag
 
19979
 
 
19980
# Flag to hardcode \$libdir into a binary during linking.
 
19981
# This must work even if \$libdir does not exist
 
19982
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
19983
 
 
19984
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
19985
# during linking.  This must work even if \$libdir does not exist.
 
19986
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
19987
 
 
19988
# Whether we need a single "-rpath" flag with a separated argument.
 
19989
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
19990
 
 
19991
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19992
# DIR into the resulting binary.
 
19993
hardcode_direct=$hardcode_direct
 
19994
 
 
19995
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19996
# DIR into the resulting binary and the resulting library dependency is
 
19997
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
19998
# library is relocated.
 
19999
hardcode_direct_absolute=$hardcode_direct_absolute
 
20000
 
 
20001
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
20002
# into the resulting binary.
 
20003
hardcode_minus_L=$hardcode_minus_L
 
20004
 
 
20005
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
20006
# into the resulting binary.
 
20007
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
20008
 
 
20009
# Set to "yes" if building a shared library automatically hardcodes DIR
 
20010
# into the library and all subsequent libraries and executables linked
 
20011
# against it.
 
20012
hardcode_automatic=$hardcode_automatic
 
20013
 
 
20014
# Set to yes if linker adds runtime paths of dependent libraries
 
20015
# to runtime path list.
 
20016
inherit_rpath=$inherit_rpath
 
20017
 
 
20018
# Whether libtool must link a program against all its dependency libraries.
 
20019
link_all_deplibs=$link_all_deplibs
 
20020
 
 
20021
# Fix the shell variable \$srcfile for the compiler.
 
20022
fix_srcfile_path=$lt_fix_srcfile_path
 
20023
 
 
20024
# Set to "yes" if exported symbols are required.
 
20025
always_export_symbols=$always_export_symbols
 
20026
 
 
20027
# The commands to list exported symbols.
 
20028
export_symbols_cmds=$lt_export_symbols_cmds
 
20029
 
 
20030
# Symbols that should not be listed in the preloaded symbols.
 
20031
exclude_expsyms=$lt_exclude_expsyms
 
20032
 
 
20033
# Symbols that must always be exported.
 
20034
include_expsyms=$lt_include_expsyms
 
20035
 
 
20036
# Commands necessary for linking programs (against libraries) with templates.
 
20037
prelink_cmds=$lt_prelink_cmds
 
20038
 
 
20039
# Specify filename containing input files.
 
20040
file_list_spec=$lt_file_list_spec
 
20041
 
 
20042
# How to hardcode a shared library path into an executable.
 
20043
hardcode_action=$hardcode_action
 
20044
 
 
20045
# The directories searched by this compiler when creating a shared library.
 
20046
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
20047
 
 
20048
# Dependencies to place before and after the objects being linked to
 
20049
# create a shared library.
 
20050
predep_objects=$lt_predep_objects
 
20051
postdep_objects=$lt_postdep_objects
 
20052
predeps=$lt_predeps
 
20053
postdeps=$lt_postdeps
 
20054
 
 
20055
# The library search path used internally by the compiler when linking
 
20056
# a shared library.
 
20057
compiler_lib_search_path=$lt_compiler_lib_search_path
 
20058
 
 
20059
# ### END LIBTOOL CONFIG
 
20060
 
 
20061
_LT_EOF
 
20062
 
 
20063
  case $host_os in
 
20064
  aix3*)
 
20065
    cat <<\_LT_EOF >> "$cfgfile"
 
20066
# AIX sometimes has problems with the GCC collect2 program.  For some
 
20067
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
20068
# vanish in a puff of smoke.
 
20069
if test "X${COLLECT_NAMES+set}" != Xset; then
 
20070
  COLLECT_NAMES=
 
20071
  export COLLECT_NAMES
 
20072
fi
 
20073
_LT_EOF
 
20074
    ;;
 
20075
  esac
 
20076
 
 
20077
 
 
20078
ltmain="$ac_aux_dir/ltmain.sh"
 
20079
 
 
20080
 
 
20081
  # We use sed instead of cat because bash on DJGPP gets confused if
 
20082
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
20083
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
20084
  # is reportedly fixed, but why not run on old versions too?
 
20085
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
20086
    || (rm -f "$cfgfile"; exit 1)
 
20087
 
 
20088
  case $xsi_shell in
 
20089
  yes)
 
20090
    cat << \_LT_EOF >> "$cfgfile"
 
20091
 
 
20092
# func_dirname file append nondir_replacement
 
20093
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20094
# otherwise set result to NONDIR_REPLACEMENT.
 
20095
func_dirname ()
 
20096
{
 
20097
  case ${1} in
 
20098
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20099
    *  ) func_dirname_result="${3}" ;;
 
20100
  esac
 
20101
}
 
20102
 
 
20103
# func_basename file
 
20104
func_basename ()
 
20105
{
 
20106
  func_basename_result="${1##*/}"
 
20107
}
 
20108
 
 
20109
# func_dirname_and_basename file append nondir_replacement
 
20110
# perform func_basename and func_dirname in a single function
 
20111
# call:
 
20112
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
20113
#             add APPEND to the result, otherwise set result
 
20114
#             to NONDIR_REPLACEMENT.
 
20115
#             value returned in "$func_dirname_result"
 
20116
#   basename: Compute filename of FILE.
 
20117
#             value retuned in "$func_basename_result"
 
20118
# Implementation must be kept synchronized with func_dirname
 
20119
# and func_basename. For efficiency, we do not delegate to
 
20120
# those functions but instead duplicate the functionality here.
 
20121
func_dirname_and_basename ()
 
20122
{
 
20123
  case ${1} in
 
20124
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20125
    *  ) func_dirname_result="${3}" ;;
 
20126
  esac
 
20127
  func_basename_result="${1##*/}"
 
20128
}
 
20129
 
 
20130
# func_stripname prefix suffix name
 
20131
# strip PREFIX and SUFFIX off of NAME.
 
20132
# PREFIX and SUFFIX must not contain globbing or regex special
 
20133
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20134
# dot (in which case that matches only a dot).
 
20135
func_stripname ()
 
20136
{
 
20137
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
20138
  # positional parameters, so assign one to ordinary parameter first.
 
20139
  func_stripname_result=${3}
 
20140
  func_stripname_result=${func_stripname_result#"${1}"}
 
20141
  func_stripname_result=${func_stripname_result%"${2}"}
 
20142
}
 
20143
 
 
20144
# func_opt_split
 
20145
func_opt_split ()
 
20146
{
 
20147
  func_opt_split_opt=${1%%=*}
 
20148
  func_opt_split_arg=${1#*=}
 
20149
}
 
20150
 
 
20151
# func_lo2o object
 
20152
func_lo2o ()
 
20153
{
 
20154
  case ${1} in
 
20155
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
20156
    *)    func_lo2o_result=${1} ;;
 
20157
  esac
 
20158
}
 
20159
 
 
20160
# func_xform libobj-or-source
 
20161
func_xform ()
 
20162
{
 
20163
  func_xform_result=${1%.*}.lo
 
20164
}
 
20165
 
 
20166
# func_arith arithmetic-term...
 
20167
func_arith ()
 
20168
{
 
20169
  func_arith_result=$(( $* ))
 
20170
}
 
20171
 
 
20172
# func_len string
 
20173
# STRING may not start with a hyphen.
 
20174
func_len ()
 
20175
{
 
20176
  func_len_result=${#1}
 
20177
}
 
20178
 
 
20179
_LT_EOF
 
20180
    ;;
 
20181
  *) # Bourne compatible functions.
 
20182
    cat << \_LT_EOF >> "$cfgfile"
 
20183
 
 
20184
# func_dirname file append nondir_replacement
 
20185
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20186
# otherwise set result to NONDIR_REPLACEMENT.
 
20187
func_dirname ()
 
20188
{
 
20189
  # Extract subdirectory from the argument.
 
20190
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
20191
  if test "X$func_dirname_result" = "X${1}"; then
 
20192
    func_dirname_result="${3}"
 
20193
  else
 
20194
    func_dirname_result="$func_dirname_result${2}"
 
20195
  fi
 
20196
}
 
20197
 
 
20198
# func_basename file
 
20199
func_basename ()
 
20200
{
 
20201
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
20202
}
 
20203
 
 
20204
 
 
20205
# func_stripname prefix suffix name
 
20206
# strip PREFIX and SUFFIX off of NAME.
 
20207
# PREFIX and SUFFIX must not contain globbing or regex special
 
20208
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20209
# dot (in which case that matches only a dot).
 
20210
# func_strip_suffix prefix name
 
20211
func_stripname ()
 
20212
{
 
20213
  case ${2} in
 
20214
    .*) func_stripname_result=`$ECHO "X${3}" \
 
20215
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
20216
    *)  func_stripname_result=`$ECHO "X${3}" \
 
20217
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
20218
  esac
 
20219
}
 
20220
 
 
20221
# sed scripts:
 
20222
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
20223
my_sed_long_arg='1s/^-[^=]*=//'
 
20224
 
 
20225
# func_opt_split
 
20226
func_opt_split ()
 
20227
{
 
20228
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
20229
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
20230
}
 
20231
 
 
20232
# func_lo2o object
 
20233
func_lo2o ()
 
20234
{
 
20235
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
20236
}
 
20237
 
 
20238
# func_xform libobj-or-source
 
20239
func_xform ()
 
20240
{
 
20241
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
20242
}
 
20243
 
 
20244
# func_arith arithmetic-term...
 
20245
func_arith ()
 
20246
{
 
20247
  func_arith_result=`expr "$@"`
 
20248
}
 
20249
 
 
20250
# func_len string
 
20251
# STRING may not start with a hyphen.
 
20252
func_len ()
 
20253
{
 
20254
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
20255
}
 
20256
 
 
20257
_LT_EOF
 
20258
esac
 
20259
 
 
20260
case $lt_shell_append in
 
20261
  yes)
 
20262
    cat << \_LT_EOF >> "$cfgfile"
 
20263
 
 
20264
# func_append var value
 
20265
# Append VALUE to the end of shell variable VAR.
 
20266
func_append ()
 
20267
{
 
20268
  eval "$1+=\$2"
 
20269
}
 
20270
_LT_EOF
 
20271
    ;;
 
20272
  *)
 
20273
    cat << \_LT_EOF >> "$cfgfile"
 
20274
 
 
20275
# func_append var value
 
20276
# Append VALUE to the end of shell variable VAR.
 
20277
func_append ()
 
20278
{
 
20279
  eval "$1=\$$1\$2"
 
20280
}
 
20281
 
 
20282
_LT_EOF
 
20283
    ;;
 
20284
  esac
 
20285
 
 
20286
 
 
20287
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
20288
    || (rm -f "$cfgfile"; exit 1)
 
20289
 
 
20290
  mv -f "$cfgfile" "$ofile" ||
 
20291
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
20292
  chmod +x "$ofile"
 
20293
 
 
20294
 
 
20295
    cat <<_LT_EOF >> "$ofile"
 
20296
 
 
20297
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
20298
 
 
20299
# The linker used to build libraries.
 
20300
LD=$lt_LD_CXX
 
20301
 
 
20302
# Commands used to build an old-style archive.
 
20303
old_archive_cmds=$lt_old_archive_cmds_CXX
 
20304
 
 
20305
# A language specific compiler.
 
20306
CC=$lt_compiler_CXX
 
20307
 
 
20308
# Is the compiler the GNU compiler?
 
20309
with_gcc=$GCC_CXX
 
20310
 
 
20311
# Compiler flag to turn off builtin functions.
 
20312
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
20313
 
 
20314
# How to pass a linker flag through the compiler.
 
20315
wl=$lt_lt_prog_compiler_wl_CXX
 
20316
 
 
20317
# Additional compiler flags for building library objects.
 
20318
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
20319
 
 
20320
# Compiler flag to prevent dynamic linking.
 
20321
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
20322
 
 
20323
# Does compiler simultaneously support -c and -o options?
 
20324
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
20325
 
 
20326
# Whether or not to add -lc for building shared libraries.
 
20327
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
20328
 
 
20329
# Whether or not to disallow shared libs when runtime libs are static.
 
20330
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
20331
 
 
20332
# Compiler flag to allow reflexive dlopens.
 
20333
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
20334
 
 
20335
# Compiler flag to generate shared objects directly from archives.
 
20336
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
20337
 
 
20338
# Whether the compiler copes with passing no objects directly.
 
20339
compiler_needs_object=$lt_compiler_needs_object_CXX
 
20340
 
 
20341
# Create an old-style archive from a shared archive.
 
20342
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
20343
 
 
20344
# Create a temporary old-style archive to link instead of a shared archive.
 
20345
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
20346
 
 
20347
# Commands used to build a shared archive.
 
20348
archive_cmds=$lt_archive_cmds_CXX
 
20349
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
20350
 
 
20351
# Commands used to build a loadable module if different from building
 
20352
# a shared archive.
 
20353
module_cmds=$lt_module_cmds_CXX
 
20354
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
20355
 
 
20356
# Whether we are building with GNU ld or not.
 
20357
with_gnu_ld=$lt_with_gnu_ld_CXX
 
20358
 
 
20359
# Flag that allows shared libraries with undefined symbols to be built.
 
20360
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
20361
 
 
20362
# Flag that enforces no undefined symbols.
 
20363
no_undefined_flag=$lt_no_undefined_flag_CXX
 
20364
 
 
20365
# Flag to hardcode \$libdir into a binary during linking.
 
20366
# This must work even if \$libdir does not exist
 
20367
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
20368
 
 
20369
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
20370
# during linking.  This must work even if \$libdir does not exist.
 
20371
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
20372
 
 
20373
# Whether we need a single "-rpath" flag with a separated argument.
 
20374
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
20375
 
 
20376
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20377
# DIR into the resulting binary.
 
20378
hardcode_direct=$hardcode_direct_CXX
 
20379
 
 
20380
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20381
# DIR into the resulting binary and the resulting library dependency is
 
20382
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
20383
# library is relocated.
 
20384
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
20385
 
 
20386
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
20387
# into the resulting binary.
 
20388
hardcode_minus_L=$hardcode_minus_L_CXX
 
20389
 
 
20390
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
20391
# into the resulting binary.
 
20392
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
20393
 
 
20394
# Set to "yes" if building a shared library automatically hardcodes DIR
 
20395
# into the library and all subsequent libraries and executables linked
 
20396
# against it.
 
20397
hardcode_automatic=$hardcode_automatic_CXX
 
20398
 
 
20399
# Set to yes if linker adds runtime paths of dependent libraries
 
20400
# to runtime path list.
 
20401
inherit_rpath=$inherit_rpath_CXX
 
20402
 
 
20403
# Whether libtool must link a program against all its dependency libraries.
 
20404
link_all_deplibs=$link_all_deplibs_CXX
 
20405
 
 
20406
# Fix the shell variable \$srcfile for the compiler.
 
20407
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
20408
 
 
20409
# Set to "yes" if exported symbols are required.
 
20410
always_export_symbols=$always_export_symbols_CXX
 
20411
 
 
20412
# The commands to list exported symbols.
 
20413
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
20414
 
 
20415
# Symbols that should not be listed in the preloaded symbols.
 
20416
exclude_expsyms=$lt_exclude_expsyms_CXX
 
20417
 
 
20418
# Symbols that must always be exported.
 
20419
include_expsyms=$lt_include_expsyms_CXX
 
20420
 
 
20421
# Commands necessary for linking programs (against libraries) with templates.
 
20422
prelink_cmds=$lt_prelink_cmds_CXX
 
20423
 
 
20424
# Specify filename containing input files.
 
20425
file_list_spec=$lt_file_list_spec_CXX
 
20426
 
 
20427
# How to hardcode a shared library path into an executable.
 
20428
hardcode_action=$hardcode_action_CXX
 
20429
 
 
20430
# The directories searched by this compiler when creating a shared library.
 
20431
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
20432
 
 
20433
# Dependencies to place before and after the objects being linked to
 
20434
# create a shared library.
 
20435
predep_objects=$lt_predep_objects_CXX
 
20436
postdep_objects=$lt_postdep_objects_CXX
 
20437
predeps=$lt_predeps_CXX
 
20438
postdeps=$lt_postdeps_CXX
 
20439
 
 
20440
# The library search path used internally by the compiler when linking
 
20441
# a shared library.
 
20442
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
20443
 
 
20444
# ### END LIBTOOL TAG CONFIG: CXX
 
20445
_LT_EOF
 
20446
 
25299
20447
 ;;
25300
20448
 
25301
20449
  esac
25302
20450
done # for ac_tag
25303
20451
 
25304
20452
 
25305
 
{ (exit 0); exit 0; }
 
20453
as_fn_exit 0
25306
20454
_ACEOF
25307
 
chmod +x $CONFIG_STATUS
25308
20455
ac_clean_files=$ac_clean_files_save
25309
20456
 
 
20457
test $ac_write_fail = 0 ||
 
20458
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
20459
 
25310
20460
 
25311
20461
# configure is writing to config.log, and then calls config.status.
25312
20462
# config.status does its own redirection, appending to config.log.
25326
20476
  exec 5>>config.log
25327
20477
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25328
20478
  # would make configure fail if this is the last instruction.
25329
 
  $ac_cs_success || { (exit 1); exit 1; }
 
20479
  $ac_cs_success || as_fn_exit $?
 
20480
fi
 
20481
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
20482
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
20483
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25330
20484
fi
25331
20485
 
25332
20486
 
25336
20490
else
25337
20491
  jade_report="not present"
25338
20492
fi
25339
 
{ echo "$as_me:$LINENO:
 
20493
{ $as_echo "$as_me:${as_lineno-$LINENO}:
25340
20494
 
25341
20495
  MusE configured
25342
20496
 
25343
20497
  LASH support:                  $LASH_FOUND
 
20498
  OSC support:                   $OSC
25344
20499
  DSSI support:                  $DSSI
25345
20500
  FluidSynth:                    $muse_enable_fluidlib
25346
20501
 
25368
20523
  VST/win support:               $VST
25369
20524
 
25370
20525
" >&5
25371
 
echo "$as_me:
 
20526
$as_echo "$as_me:
25372
20527
 
25373
20528
  MusE configured
25374
20529
 
25375
20530
  LASH support:                  $LASH_FOUND
 
20531
  OSC support:                   $OSC
25376
20532
  DSSI support:                  $DSSI
25377
20533
  FluidSynth:                    $muse_enable_fluidlib
25378
20534