~ubuntu-branches/ubuntu/precise/gnomeradio/precise-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Namuri
  • Date: 2008-05-12 00:36:27 UTC
  • mfrom: (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080512003627-m4r405wwqc2e3xgv
Tags: 1.7-6
* debian/changelog: sync with the one from ubuntu.
* debian/patches/prefs.c.patch: fixed. In 1.7-6 I've uploaded a wrong
  version of the patch, now it's the right one that Cesare Tirabassi
  has included in the ubuntu's package. (Closes: #468796, #462891)

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.59 for gnomeradio 1.6.
 
3
# Generated by GNU Autoconf 2.60 for gnomeradio 1.7.
4
4
#
5
5
# Report bugs to <http://mfcn.ilo.de/gnomeradio>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
18
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
20
  # is contrary to our usage.  Disable this feature.
20
21
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
 
22
  setopt NO_GLOB_SUBST
 
23
else
 
24
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23
25
fi
 
26
BIN_SH=xpg4; export BIN_SH # for Tru64
24
27
DUALCASE=1; export DUALCASE # for MKS sh
25
28
 
 
29
 
 
30
# PATH needs CR
 
31
# Avoid depending upon Character Ranges.
 
32
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
33
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
34
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
35
as_cr_digits='0123456789'
 
36
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
37
 
 
38
# The user is always right.
 
39
if test "${PATH_SEPARATOR+set}" != set; then
 
40
  echo "#! /bin/sh" >conf$$.sh
 
41
  echo  "exit 0"   >>conf$$.sh
 
42
  chmod +x conf$$.sh
 
43
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
44
    PATH_SEPARATOR=';'
 
45
  else
 
46
    PATH_SEPARATOR=:
 
47
  fi
 
48
  rm -f conf$$.sh
 
49
fi
 
50
 
26
51
# Support unset when possible.
27
52
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
53
  as_unset=unset
31
56
fi
32
57
 
33
58
 
 
59
# IFS
 
60
# We need space, tab and new line, in precisely that order.  Quoting is
 
61
# there to prevent editors from complaining about space-tab.
 
62
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
63
# splitting by setting IFS to empty value.)
 
64
as_nl='
 
65
'
 
66
IFS=" ""        $as_nl"
 
67
 
 
68
# Find who we are.  Look in the path if we contain no directory separator.
 
69
case $0 in
 
70
  *[\\/]* ) as_myself=$0 ;;
 
71
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
72
for as_dir in $PATH
 
73
do
 
74
  IFS=$as_save_IFS
 
75
  test -z "$as_dir" && as_dir=.
 
76
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
77
done
 
78
IFS=$as_save_IFS
 
79
 
 
80
     ;;
 
81
esac
 
82
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
83
# in which case we are not to be found in the path.
 
84
if test "x$as_myself" = x; then
 
85
  as_myself=$0
 
86
fi
 
87
if test ! -f "$as_myself"; then
 
88
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
89
  { (exit 1); exit 1; }
 
90
fi
 
91
 
34
92
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
93
for as_var in ENV MAIL MAILPATH
 
94
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
95
done
36
96
PS1='$ '
37
97
PS2='> '
38
98
PS4='+ '
46
106
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
107
    eval $as_var=C; export $as_var
48
108
  else
49
 
    $as_unset $as_var
 
109
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
110
  fi
51
111
done
52
112
 
53
113
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
114
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
115
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
116
  as_expr=expr
56
117
else
57
118
  as_expr=false
58
119
fi
59
120
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
121
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
122
  as_basename=basename
62
123
else
63
124
  as_basename=false
65
126
 
66
127
 
67
128
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
132
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
133
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
134
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
135
            s//\1/
 
136
            q
 
137
          }
 
138
          /^X\/\(\/\/\)$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\).*/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          s/.*/./; q'`
 
147
 
 
148
# CDPATH.
 
149
$as_unset CDPATH
 
150
 
 
151
 
 
152
if test "x$CONFIG_SHELL" = x; then
 
153
  if (eval ":") 2>/dev/null; then
 
154
  as_have_required=yes
 
155
else
 
156
  as_have_required=no
 
157
fi
 
158
 
 
159
  if test $as_have_required = yes &&     (eval ":
 
160
(as_func_return () {
 
161
  (exit \$1)
 
162
}
 
163
as_func_success () {
 
164
  as_func_return 0
 
165
}
 
166
as_func_failure () {
 
167
  as_func_return 1
 
168
}
 
169
as_func_ret_success () {
 
170
  return 0
 
171
}
 
172
as_func_ret_failure () {
 
173
  return 1
 
174
}
 
175
 
 
176
exitcode=0
 
177
if as_func_success; then
 
178
  :
 
179
else
 
180
  exitcode=1
 
181
  echo as_func_success failed.
 
182
fi
 
183
 
 
184
if as_func_failure; then
 
185
  exitcode=1
 
186
  echo as_func_failure succeeded.
 
187
fi
 
188
 
 
189
if as_func_ret_success; then
 
190
  :
 
191
else
 
192
  exitcode=1
 
193
  echo as_func_ret_success failed.
 
194
fi
 
195
 
 
196
if as_func_ret_failure; then
 
197
  exitcode=1
 
198
  echo as_func_ret_failure succeeded.
 
199
fi
 
200
 
 
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
202
  :
 
203
else
 
204
  exitcode=1
 
205
  echo positional parameters were not saved.
 
206
fi
 
207
 
 
208
test \$exitcode = 0) || { (exit 1); exit 1; }
 
209
 
 
210
(
 
211
  as_lineno_1=\$LINENO
 
212
  as_lineno_2=\$LINENO
 
213
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
214
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
215
") 2> /dev/null; then
 
216
  :
 
217
else
 
218
  as_candidate_shells=
132
219
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
do
135
222
  IFS=$as_save_IFS
136
223
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
224
  case $as_dir in
139
225
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
226
           for as_base in sh bash ksh sh5; do
 
227
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
228
           done;;
 
229
       esac
154
230
done
155
 
;;
156
 
  esac
 
231
IFS=$as_save_IFS
 
232
 
 
233
 
 
234
      for as_shell in $as_candidate_shells $SHELL; do
 
235
         # Try only shells that exist, to save several forks.
 
236
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
237
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
238
# Be Bourne compatible
 
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
240
  emulate sh
 
241
  NULLCMD=:
 
242
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
243
  # is contrary to our usage.  Disable this feature.
 
244
  alias -g '${1+"$@"}'='"$@"'
 
245
  setopt NO_GLOB_SUBST
 
246
else
 
247
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
248
fi
 
249
BIN_SH=xpg4; export BIN_SH # for Tru64
 
250
DUALCASE=1; export DUALCASE # for MKS sh
 
251
 
 
252
:
 
253
_ASEOF
 
254
}; then
 
255
  CONFIG_SHELL=$as_shell
 
256
               as_have_required=yes
 
257
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
258
# Be Bourne compatible
 
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
260
  emulate sh
 
261
  NULLCMD=:
 
262
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
263
  # is contrary to our usage.  Disable this feature.
 
264
  alias -g '${1+"$@"}'='"$@"'
 
265
  setopt NO_GLOB_SUBST
 
266
else
 
267
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
268
fi
 
269
BIN_SH=xpg4; export BIN_SH # for Tru64
 
270
DUALCASE=1; export DUALCASE # for MKS sh
 
271
 
 
272
:
 
273
(as_func_return () {
 
274
  (exit $1)
 
275
}
 
276
as_func_success () {
 
277
  as_func_return 0
 
278
}
 
279
as_func_failure () {
 
280
  as_func_return 1
 
281
}
 
282
as_func_ret_success () {
 
283
  return 0
 
284
}
 
285
as_func_ret_failure () {
 
286
  return 1
 
287
}
 
288
 
 
289
exitcode=0
 
290
if as_func_success; then
 
291
  :
 
292
else
 
293
  exitcode=1
 
294
  echo as_func_success failed.
 
295
fi
 
296
 
 
297
if as_func_failure; then
 
298
  exitcode=1
 
299
  echo as_func_failure succeeded.
 
300
fi
 
301
 
 
302
if as_func_ret_success; then
 
303
  :
 
304
else
 
305
  exitcode=1
 
306
  echo as_func_ret_success failed.
 
307
fi
 
308
 
 
309
if as_func_ret_failure; then
 
310
  exitcode=1
 
311
  echo as_func_ret_failure succeeded.
 
312
fi
 
313
 
 
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
315
  :
 
316
else
 
317
  exitcode=1
 
318
  echo positional parameters were not saved.
 
319
fi
 
320
 
 
321
test $exitcode = 0) || { (exit 1); exit 1; }
 
322
 
 
323
(
 
324
  as_lineno_1=$LINENO
 
325
  as_lineno_2=$LINENO
 
326
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
327
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
328
 
 
329
_ASEOF
 
330
}; then
 
331
  break
 
332
fi
 
333
 
 
334
fi
 
335
 
 
336
      done
 
337
 
 
338
      if test "x$CONFIG_SHELL" != x; then
 
339
  for as_var in BASH_ENV ENV
 
340
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
341
        done
 
342
        export CONFIG_SHELL
 
343
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
344
fi
 
345
 
 
346
 
 
347
    if test $as_have_required = no; then
 
348
  echo This script requires a shell more modern than all the
 
349
      echo shells that I found on your system.  Please install a
 
350
      echo modern shell, or manually run the script under such a
 
351
      echo shell if you do have one.
 
352
      { (exit 1); exit 1; }
 
353
fi
 
354
 
 
355
 
 
356
fi
 
357
 
 
358
fi
 
359
 
 
360
 
 
361
 
 
362
(eval "as_func_return () {
 
363
  (exit \$1)
 
364
}
 
365
as_func_success () {
 
366
  as_func_return 0
 
367
}
 
368
as_func_failure () {
 
369
  as_func_return 1
 
370
}
 
371
as_func_ret_success () {
 
372
  return 0
 
373
}
 
374
as_func_ret_failure () {
 
375
  return 1
 
376
}
 
377
 
 
378
exitcode=0
 
379
if as_func_success; then
 
380
  :
 
381
else
 
382
  exitcode=1
 
383
  echo as_func_success failed.
 
384
fi
 
385
 
 
386
if as_func_failure; then
 
387
  exitcode=1
 
388
  echo as_func_failure succeeded.
 
389
fi
 
390
 
 
391
if as_func_ret_success; then
 
392
  :
 
393
else
 
394
  exitcode=1
 
395
  echo as_func_ret_success failed.
 
396
fi
 
397
 
 
398
if as_func_ret_failure; then
 
399
  exitcode=1
 
400
  echo as_func_ret_failure succeeded.
 
401
fi
 
402
 
 
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
404
  :
 
405
else
 
406
  exitcode=1
 
407
  echo positional parameters were not saved.
 
408
fi
 
409
 
 
410
test \$exitcode = 0") || {
 
411
  echo No shell found that supports shell functions.
 
412
  echo Please tell autoconf@gnu.org about your system,
 
413
  echo including any error possibly output before this
 
414
  echo message
 
415
}
 
416
 
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO
 
420
  as_lineno_2=$LINENO
 
421
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
422
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
423
 
158
424
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
426
  # line-number line after each line using $LINENO; the second 'sed'
 
427
  # does the real work.  The second script uses 'N' to pair each
 
428
  # line-number line with the line containing $LINENO, and appends
 
429
  # trailing '-' during substitution so that $LINENO is not a special
 
430
  # case at line end.
164
431
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
432
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
433
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
434
  sed -n '
 
435
    p
 
436
    /[$]LINENO/=
 
437
  ' <$as_myself |
167
438
    sed '
 
439
      s/[$]LINENO.*/&-/
 
440
      t lineno
 
441
      b
 
442
      :lineno
168
443
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
444
      :loop
 
445
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
446
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
447
      s/-\n.*//
175
448
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
449
  chmod +x "$as_me.lineno" ||
177
450
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
   { (exit 1); exit 1; }; }
179
452
 
180
453
  # Don't try to exec as it changes $[0], causing all sort of problems
181
454
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
455
  # original and so on.  Autoconf is especially sensitive to this).
 
456
  . "./$as_me.lineno"
184
457
  # Exit status is that of the last command.
185
458
  exit
186
459
}
187
460
 
188
461
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
463
  as_dirname=dirname
 
464
else
 
465
  as_dirname=false
 
466
fi
 
467
 
 
468
ECHO_C= ECHO_N= ECHO_T=
 
469
case `echo -n x` in
 
470
-n*)
 
471
  case `echo 'x\c'` in
 
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
473
  *)   ECHO_C='\c';;
 
474
  esac;;
 
475
*)
 
476
  ECHO_N='-n';;
194
477
esac
195
478
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
480
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
481
  as_expr=expr
198
482
else
199
483
  as_expr=false
200
484
fi
201
485
 
202
486
rm -f conf$$ conf$$.exe conf$$.file
 
487
if test -d conf$$.dir; then
 
488
  rm -f conf$$.dir/conf$$.file
 
489
else
 
490
  rm -f conf$$.dir
 
491
  mkdir conf$$.dir
 
492
fi
203
493
echo >conf$$.file
204
494
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
495
  as_ln_s='ln -s'
 
496
  # ... but there are two gotchas:
 
497
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
498
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
499
  # In both cases, we have to default to `cp -p'.
 
500
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
501
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
214
503
  as_ln_s=ln
215
504
else
216
505
  as_ln_s='cp -p'
217
506
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
508
rmdir conf$$.dir 2>/dev/null
219
509
 
220
510
if mkdir -p . 2>/dev/null; then
221
511
  as_mkdir_p=:
224
514
  as_mkdir_p=false
225
515
fi
226
516
 
227
 
as_executable_p="test -f"
 
517
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
518
# systems may use methods other than mode bits to determine executability.
 
519
cat >conf$$.file <<_ASEOF
 
520
#! /bin/sh
 
521
exit 0
 
522
_ASEOF
 
523
chmod +x conf$$.file
 
524
if test -x conf$$.file >/dev/null 2>&1; then
 
525
  as_executable_p="test -x"
 
526
else
 
527
  as_executable_p=:
 
528
fi
 
529
rm -f conf$$.file
228
530
 
229
531
# Sed expression to map a string onto a valid CPP name.
230
532
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
535
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
536
 
235
537
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
538
 
246
539
 
247
540
# Check that we are running under the correct shell.
280
573
 
281
574
# The HP-UX ksh and POSIX shell print the target directory to stdout
282
575
# if CDPATH is set.
283
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
576
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
284
577
 
285
578
if test -z "$ECHO"; then
286
579
if test "X${echo_test_string+set}" != Xset; then
287
580
# find a string as large as possible, as long as the shell can cope with it
288
581
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289
582
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
291
 
       echo_test_string="`eval $cmd`" &&
 
583
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
584
       echo_test_string=`eval $cmd` &&
292
585
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
293
586
    then
294
587
      break
397
690
 
398
691
tagnames=${tagnames+${tagnames},}F77
399
692
 
 
693
exec 7<&0 </dev/null 6>&1
 
694
 
400
695
# Name of the host.
401
696
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
697
# so uname gets run too.
403
698
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
699
 
405
 
exec 6>&1
406
 
 
407
700
#
408
701
# Initializations.
409
702
#
410
703
ac_default_prefix=/usr/local
 
704
ac_clean_files=
411
705
ac_config_libobj_dir=.
 
706
LIBOBJS=
412
707
cross_compiling=no
413
708
subdirs=
414
709
MFLAGS=
415
710
MAKEFLAGS=
416
711
SHELL=${CONFIG_SHELL-/bin/sh}
417
712
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
713
# Identity of this package.
424
714
PACKAGE_NAME='gnomeradio'
425
715
PACKAGE_TARNAME='gnomeradio'
426
 
PACKAGE_VERSION='1.6'
427
 
PACKAGE_STRING='gnomeradio 1.6'
 
716
PACKAGE_VERSION='1.7'
 
717
PACKAGE_STRING='gnomeradio 1.7'
428
718
PACKAGE_BUGREPORT='http://mfcn.ilo.de/gnomeradio'
429
719
 
430
720
ac_unique_file="src/gui.c"
456
746
#endif
457
747
#if HAVE_INTTYPES_H
458
748
# include <inttypes.h>
459
 
#else
460
 
# if HAVE_STDINT_H
461
 
#  include <stdint.h>
462
 
# endif
 
749
#endif
 
750
#if HAVE_STDINT_H
 
751
# include <stdint.h>
463
752
#endif
464
753
#if HAVE_UNISTD_H
465
754
# include <unistd.h>
466
755
#endif"
467
756
 
468
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT mkdir_p build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS GETTEXT_PACKAGE PKG_CONFIG ac_pt_PKG_CONFIG GNOMERADIO_CFLAGS GNOMERADIO_LIBS LIRC GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE INSTALL_SCHEMAS_TRUE INSTALL_SCHEMAS_FALSE LIBOBJS LTLIBOBJS'
 
757
ac_subst_vars='SHELL
 
758
PATH_SEPARATOR
 
759
PACKAGE_NAME
 
760
PACKAGE_TARNAME
 
761
PACKAGE_VERSION
 
762
PACKAGE_STRING
 
763
PACKAGE_BUGREPORT
 
764
exec_prefix
 
765
prefix
 
766
program_transform_name
 
767
bindir
 
768
sbindir
 
769
libexecdir
 
770
datarootdir
 
771
datadir
 
772
sysconfdir
 
773
sharedstatedir
 
774
localstatedir
 
775
includedir
 
776
oldincludedir
 
777
docdir
 
778
infodir
 
779
htmldir
 
780
dvidir
 
781
pdfdir
 
782
psdir
 
783
libdir
 
784
localedir
 
785
mandir
 
786
DEFS
 
787
ECHO_C
 
788
ECHO_N
 
789
ECHO_T
 
790
LIBS
 
791
build_alias
 
792
host_alias
 
793
target_alias
 
794
INSTALL_PROGRAM
 
795
INSTALL_SCRIPT
 
796
INSTALL_DATA
 
797
CYGPATH_W
 
798
PACKAGE
 
799
VERSION
 
800
ACLOCAL
 
801
AUTOCONF
 
802
AUTOMAKE
 
803
AUTOHEADER
 
804
MAKEINFO
 
805
install_sh
 
806
STRIP
 
807
INSTALL_STRIP_PROGRAM
 
808
mkdir_p
 
809
AWK
 
810
SET_MAKE
 
811
am__leading_dot
 
812
AMTAR
 
813
am__tar
 
814
am__untar
 
815
MAINTAINER_MODE_TRUE
 
816
MAINTAINER_MODE_FALSE
 
817
MAINT
 
818
INTLTOOL_DESKTOP_RULE
 
819
INTLTOOL_DIRECTORY_RULE
 
820
INTLTOOL_KEYS_RULE
 
821
INTLTOOL_PROP_RULE
 
822
INTLTOOL_OAF_RULE
 
823
INTLTOOL_PONG_RULE
 
824
INTLTOOL_SERVER_RULE
 
825
INTLTOOL_SHEET_RULE
 
826
INTLTOOL_SOUNDLIST_RULE
 
827
INTLTOOL_UI_RULE
 
828
INTLTOOL_XAM_RULE
 
829
INTLTOOL_KBD_RULE
 
830
INTLTOOL_XML_RULE
 
831
INTLTOOL_XML_NOMERGE_RULE
 
832
INTLTOOL_CAVES_RULE
 
833
INTLTOOL_SCHEMAS_RULE
 
834
INTLTOOL_THEME_RULE
 
835
INTLTOOL_SERVICE_RULE
 
836
INTLTOOL_EXTRACT
 
837
INTLTOOL_MERGE
 
838
INTLTOOL_UPDATE
 
839
INTLTOOL_PERL
 
840
INTLTOOL_ICONV
 
841
INTLTOOL_MSGFMT
 
842
INTLTOOL_MSGMERGE
 
843
INTLTOOL_XGETTEXT
 
844
ALL_LINGUAS
 
845
build
 
846
build_cpu
 
847
build_vendor
 
848
build_os
 
849
host
 
850
host_cpu
 
851
host_vendor
 
852
host_os
 
853
CC
 
854
CFLAGS
 
855
LDFLAGS
 
856
CPPFLAGS
 
857
ac_ct_CC
 
858
EXEEXT
 
859
OBJEXT
 
860
DEPDIR
 
861
am__include
 
862
am__quote
 
863
AMDEP_TRUE
 
864
AMDEP_FALSE
 
865
AMDEPBACKSLASH
 
866
CCDEPMODE
 
867
am__fastdepCC_TRUE
 
868
am__fastdepCC_FALSE
 
869
GREP
 
870
EGREP
 
871
LN_S
 
872
ECHO
 
873
AR
 
874
RANLIB
 
875
CPP
 
876
CXX
 
877
CXXFLAGS
 
878
ac_ct_CXX
 
879
CXXDEPMODE
 
880
am__fastdepCXX_TRUE
 
881
am__fastdepCXX_FALSE
 
882
CXXCPP
 
883
F77
 
884
FFLAGS
 
885
ac_ct_F77
 
886
LIBTOOL
 
887
USE_NLS
 
888
MSGFMT
 
889
GMSGFMT
 
890
XGETTEXT
 
891
CATALOGS
 
892
CATOBJEXT
 
893
DATADIRNAME
 
894
GMOFILES
 
895
INSTOBJEXT
 
896
INTLLIBS
 
897
PO_IN_DATADIR_TRUE
 
898
PO_IN_DATADIR_FALSE
 
899
POFILES
 
900
POSUB
 
901
MKINSTALLDIRS
 
902
GETTEXT_PACKAGE
 
903
PKG_CONFIG
 
904
GNOME_CFLAGS
 
905
GNOME_LIBS
 
906
GNOME14_CFLAGS
 
907
GNOME14_LIBS
 
908
GNOME_14
 
909
LIRC
 
910
GSTREAMER_CFLAGS
 
911
GSTREAMER_LIBS
 
912
GDU_MODULE_VERSION_CHECK_CFLAGS
 
913
GDU_MODULE_VERSION_CHECK_LIBS
 
914
HELP_DIR
 
915
OMF_DIR
 
916
DOC_USER_FORMATS
 
917
ENABLE_SK_TRUE
 
918
ENABLE_SK_FALSE
 
919
GCONFTOOL
 
920
GCONF_SCHEMA_CONFIG_SOURCE
 
921
GCONF_SCHEMA_FILE_DIR
 
922
GCONF_SCHEMAS_INSTALL_TRUE
 
923
GCONF_SCHEMAS_INSTALL_FALSE
 
924
INSTALL_SCHEMAS_TRUE
 
925
INSTALL_SCHEMAS_FALSE
 
926
LIBOBJS
 
927
LTLIBOBJS'
469
928
ac_subst_files=''
 
929
      ac_precious_vars='build_alias
 
930
host_alias
 
931
target_alias
 
932
CC
 
933
CFLAGS
 
934
LDFLAGS
 
935
CPPFLAGS
 
936
CPP
 
937
CXX
 
938
CXXFLAGS
 
939
CCC
 
940
CXXCPP
 
941
F77
 
942
FFLAGS
 
943
PKG_CONFIG
 
944
GNOME_CFLAGS
 
945
GNOME_LIBS
 
946
GNOME14_CFLAGS
 
947
GNOME14_LIBS
 
948
GSTREAMER_CFLAGS
 
949
GSTREAMER_LIBS
 
950
GDU_MODULE_VERSION_CHECK_CFLAGS
 
951
GDU_MODULE_VERSION_CHECK_LIBS'
 
952
 
470
953
 
471
954
# Initialize some variables set by options.
472
955
ac_init_help=
493
976
# and all the variables that are supposed to be based on exec_prefix
494
977
# by default will actually change.
495
978
# Use braces instead of parens because sh, perl, etc. also accept them.
 
979
# (The list follows the same order as the GNU Coding Standards.)
496
980
bindir='${exec_prefix}/bin'
497
981
sbindir='${exec_prefix}/sbin'
498
982
libexecdir='${exec_prefix}/libexec'
499
 
datadir='${prefix}/share'
 
983
datarootdir='${prefix}/share'
 
984
datadir='${datarootdir}'
500
985
sysconfdir='${prefix}/etc'
501
986
sharedstatedir='${prefix}/com'
502
987
localstatedir='${prefix}/var'
503
 
libdir='${exec_prefix}/lib'
504
988
includedir='${prefix}/include'
505
989
oldincludedir='/usr/include'
506
 
infodir='${prefix}/info'
507
 
mandir='${prefix}/man'
 
990
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
991
infodir='${datarootdir}/info'
 
992
htmldir='${docdir}'
 
993
dvidir='${docdir}'
 
994
pdfdir='${docdir}'
 
995
psdir='${docdir}'
 
996
libdir='${exec_prefix}/lib'
 
997
localedir='${datarootdir}/locale'
 
998
mandir='${datarootdir}/man'
508
999
 
509
1000
ac_prev=
 
1001
ac_dashdash=
510
1002
for ac_option
511
1003
do
512
1004
  # If the previous option needs an argument, assign it.
513
1005
  if test -n "$ac_prev"; then
514
 
    eval "$ac_prev=\$ac_option"
 
1006
    eval $ac_prev=\$ac_option
515
1007
    ac_prev=
516
1008
    continue
517
1009
  fi
518
1010
 
519
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1011
  case $ac_option in
 
1012
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1013
  *)    ac_optarg=yes ;;
 
1014
  esac
520
1015
 
521
1016
  # Accept the important Cygnus configure options, so we can diagnose typos.
522
1017
 
523
 
  case $ac_option in
 
1018
  case $ac_dashdash$ac_option in
 
1019
  --)
 
1020
    ac_dashdash=yes ;;
524
1021
 
525
1022
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
526
1023
    ac_prev=bindir ;;
542
1039
  --config-cache | -C)
543
1040
    cache_file=config.cache ;;
544
1041
 
545
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1042
  -datadir | --datadir | --datadi | --datad)
546
1043
    ac_prev=datadir ;;
547
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
 
  | --da=*)
 
1044
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
549
1045
    datadir=$ac_optarg ;;
550
1046
 
 
1047
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1048
  | --dataroo | --dataro | --datar)
 
1049
    ac_prev=datarootdir ;;
 
1050
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1051
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1052
    datarootdir=$ac_optarg ;;
 
1053
 
551
1054
  -disable-* | --disable-*)
552
1055
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553
1056
    # Reject names that are not valid shell variable names.
555
1058
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556
1059
   { (exit 1); exit 1; }; }
557
1060
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558
 
    eval "enable_$ac_feature=no" ;;
 
1061
    eval enable_$ac_feature=no ;;
 
1062
 
 
1063
  -docdir | --docdir | --docdi | --doc | --do)
 
1064
    ac_prev=docdir ;;
 
1065
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1066
    docdir=$ac_optarg ;;
 
1067
 
 
1068
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1069
    ac_prev=dvidir ;;
 
1070
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1071
    dvidir=$ac_optarg ;;
559
1072
 
560
1073
  -enable-* | --enable-*)
561
1074
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564
1077
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565
1078
   { (exit 1); exit 1; }; }
566
1079
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
 
    case $ac_option in
568
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569
 
      *) ac_optarg=yes ;;
570
 
    esac
571
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1080
    eval enable_$ac_feature=\$ac_optarg ;;
572
1081
 
573
1082
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574
1083
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
595
1104
  -host=* | --host=* | --hos=* | --ho=*)
596
1105
    host_alias=$ac_optarg ;;
597
1106
 
 
1107
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1108
    ac_prev=htmldir ;;
 
1109
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1110
  | --ht=*)
 
1111
    htmldir=$ac_optarg ;;
 
1112
 
598
1113
  -includedir | --includedir | --includedi | --included | --include \
599
1114
  | --includ | --inclu | --incl | --inc)
600
1115
    ac_prev=includedir ;;
619
1134
  | --libexe=* | --libex=* | --libe=*)
620
1135
    libexecdir=$ac_optarg ;;
621
1136
 
 
1137
  -localedir | --localedir | --localedi | --localed | --locale)
 
1138
    ac_prev=localedir ;;
 
1139
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1140
    localedir=$ac_optarg ;;
 
1141
 
622
1142
  -localstatedir | --localstatedir | --localstatedi | --localstated \
623
 
  | --localstate | --localstat | --localsta | --localst \
624
 
  | --locals | --local | --loca | --loc | --lo)
 
1143
  | --localstate | --localstat | --localsta | --localst | --locals)
625
1144
    ac_prev=localstatedir ;;
626
1145
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1146
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
629
1147
    localstatedir=$ac_optarg ;;
630
1148
 
631
1149
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
690
1208
  | --progr-tra=* | --program-tr=* | --program-t=*)
691
1209
    program_transform_name=$ac_optarg ;;
692
1210
 
 
1211
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1212
    ac_prev=pdfdir ;;
 
1213
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1214
    pdfdir=$ac_optarg ;;
 
1215
 
 
1216
  -psdir | --psdir | --psdi | --psd | --ps)
 
1217
    ac_prev=psdir ;;
 
1218
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1219
    psdir=$ac_optarg ;;
 
1220
 
693
1221
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694
1222
  | -silent | --silent | --silen | --sile | --sil)
695
1223
    silent=yes ;;
746
1274
      { echo "$as_me: error: invalid package name: $ac_package" >&2
747
1275
   { (exit 1); exit 1; }; }
748
1276
    ac_package=`echo $ac_package| sed 's/-/_/g'`
749
 
    case $ac_option in
750
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751
 
      *) ac_optarg=yes ;;
752
 
    esac
753
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1277
    eval with_$ac_package=\$ac_optarg ;;
754
1278
 
755
1279
  -without-* | --without-*)
756
1280
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759
1283
      { echo "$as_me: error: invalid package name: $ac_package" >&2
760
1284
   { (exit 1); exit 1; }; }
761
1285
    ac_package=`echo $ac_package | sed 's/-/_/g'`
762
 
    eval "with_$ac_package=no" ;;
 
1286
    eval with_$ac_package=no ;;
763
1287
 
764
1288
  --x)
765
1289
    # Obsolete; use --with-x.
790
1314
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791
1315
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792
1316
   { (exit 1); exit 1; }; }
793
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794
 
    eval "$ac_envvar='$ac_optarg'"
 
1317
    eval $ac_envvar=\$ac_optarg
795
1318
    export $ac_envvar ;;
796
1319
 
797
1320
  *)
811
1334
   { (exit 1); exit 1; }; }
812
1335
fi
813
1336
 
814
 
# Be sure to have absolute paths.
815
 
for ac_var in exec_prefix prefix
816
 
do
817
 
  eval ac_val=$`echo $ac_var`
818
 
  case $ac_val in
819
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
820
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821
 
   { (exit 1); exit 1; }; };;
822
 
  esac
823
 
done
824
 
 
825
 
# Be sure to have absolute paths.
826
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827
 
              localstatedir libdir includedir oldincludedir infodir mandir
828
 
do
829
 
  eval ac_val=$`echo $ac_var`
830
 
  case $ac_val in
831
 
    [\\/$]* | ?:[\\/]* ) ;;
832
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833
 
   { (exit 1); exit 1; }; };;
834
 
  esac
 
1337
# Be sure to have absolute directory names.
 
1338
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1339
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1340
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1341
                libdir localedir mandir
 
1342
do
 
1343
  eval ac_val=\$$ac_var
 
1344
  case $ac_val in
 
1345
    [\\/$]* | ?:[\\/]* )  continue;;
 
1346
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1347
  esac
 
1348
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1349
   { (exit 1); exit 1; }; }
835
1350
done
836
1351
 
837
1352
# There might be people who depend on the old broken behavior: `$host'
858
1373
test "$silent" = yes && exec 6>/dev/null
859
1374
 
860
1375
 
 
1376
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1377
ac_ls_di=`ls -di .` &&
 
1378
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1379
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1380
   { (exit 1); exit 1; }; }
 
1381
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1382
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1383
   { (exit 1); exit 1; }; }
 
1384
 
 
1385
 
861
1386
# Find the source files, if location was not specified.
862
1387
if test -z "$srcdir"; then
863
1388
  ac_srcdir_defaulted=yes
864
 
  # Try the directory containing this script, then its parent.
865
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1389
  # Try the directory containing this script, then the parent directory.
 
1390
  ac_confdir=`$as_dirname -- "$0" ||
866
1391
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867
1392
         X"$0" : 'X\(//\)[^/]' \| \
868
1393
         X"$0" : 'X\(//\)$' \| \
869
 
         X"$0" : 'X\(/\)' \| \
870
 
         .     : '\(.\)' 2>/dev/null ||
 
1394
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
871
1395
echo X"$0" |
872
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874
 
          /^X\(\/\/\)$/{ s//\1/; q; }
875
 
          /^X\(\/\).*/{ s//\1/; q; }
876
 
          s/.*/./; q'`
 
1396
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1397
            s//\1/
 
1398
            q
 
1399
          }
 
1400
          /^X\(\/\/\)[^/].*/{
 
1401
            s//\1/
 
1402
            q
 
1403
          }
 
1404
          /^X\(\/\/\)$/{
 
1405
            s//\1/
 
1406
            q
 
1407
          }
 
1408
          /^X\(\/\).*/{
 
1409
            s//\1/
 
1410
            q
 
1411
          }
 
1412
          s/.*/./; q'`
877
1413
  srcdir=$ac_confdir
878
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1414
  if test ! -r "$srcdir/$ac_unique_file"; then
879
1415
    srcdir=..
880
1416
  fi
881
1417
else
882
1418
  ac_srcdir_defaulted=no
883
1419
fi
884
 
if test ! -r $srcdir/$ac_unique_file; then
885
 
  if test "$ac_srcdir_defaulted" = yes; then
886
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887
 
   { (exit 1); exit 1; }; }
888
 
  else
889
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890
 
   { (exit 1); exit 1; }; }
891
 
  fi
892
 
fi
893
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
894
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895
 
   { (exit 1); exit 1; }; }
896
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897
 
ac_env_build_alias_set=${build_alias+set}
898
 
ac_env_build_alias_value=$build_alias
899
 
ac_cv_env_build_alias_set=${build_alias+set}
900
 
ac_cv_env_build_alias_value=$build_alias
901
 
ac_env_host_alias_set=${host_alias+set}
902
 
ac_env_host_alias_value=$host_alias
903
 
ac_cv_env_host_alias_set=${host_alias+set}
904
 
ac_cv_env_host_alias_value=$host_alias
905
 
ac_env_target_alias_set=${target_alias+set}
906
 
ac_env_target_alias_value=$target_alias
907
 
ac_cv_env_target_alias_set=${target_alias+set}
908
 
ac_cv_env_target_alias_value=$target_alias
909
 
ac_env_CC_set=${CC+set}
910
 
ac_env_CC_value=$CC
911
 
ac_cv_env_CC_set=${CC+set}
912
 
ac_cv_env_CC_value=$CC
913
 
ac_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_env_CFLAGS_value=$CFLAGS
915
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
916
 
ac_cv_env_CFLAGS_value=$CFLAGS
917
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_env_LDFLAGS_value=$LDFLAGS
919
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
921
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
924
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
925
 
ac_env_CPP_set=${CPP+set}
926
 
ac_env_CPP_value=$CPP
927
 
ac_cv_env_CPP_set=${CPP+set}
928
 
ac_cv_env_CPP_value=$CPP
929
 
ac_env_CXX_set=${CXX+set}
930
 
ac_env_CXX_value=$CXX
931
 
ac_cv_env_CXX_set=${CXX+set}
932
 
ac_cv_env_CXX_value=$CXX
933
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
936
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
937
 
ac_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_env_CXXCPP_value=$CXXCPP
939
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
940
 
ac_cv_env_CXXCPP_value=$CXXCPP
941
 
ac_env_F77_set=${F77+set}
942
 
ac_env_F77_value=$F77
943
 
ac_cv_env_F77_set=${F77+set}
944
 
ac_cv_env_F77_value=$F77
945
 
ac_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_env_FFLAGS_value=$FFLAGS
947
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
948
 
ac_cv_env_FFLAGS_value=$FFLAGS
949
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
951
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
952
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
953
 
ac_env_GNOMERADIO_CFLAGS_set=${GNOMERADIO_CFLAGS+set}
954
 
ac_env_GNOMERADIO_CFLAGS_value=$GNOMERADIO_CFLAGS
955
 
ac_cv_env_GNOMERADIO_CFLAGS_set=${GNOMERADIO_CFLAGS+set}
956
 
ac_cv_env_GNOMERADIO_CFLAGS_value=$GNOMERADIO_CFLAGS
957
 
ac_env_GNOMERADIO_LIBS_set=${GNOMERADIO_LIBS+set}
958
 
ac_env_GNOMERADIO_LIBS_value=$GNOMERADIO_LIBS
959
 
ac_cv_env_GNOMERADIO_LIBS_set=${GNOMERADIO_LIBS+set}
960
 
ac_cv_env_GNOMERADIO_LIBS_value=$GNOMERADIO_LIBS
 
1420
if test ! -r "$srcdir/$ac_unique_file"; then
 
1421
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1422
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1423
   { (exit 1); exit 1; }; }
 
1424
fi
 
1425
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1426
ac_abs_confdir=`(
 
1427
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1428
   { (exit 1); exit 1; }; }
 
1429
        pwd)`
 
1430
# When building in place, set srcdir=.
 
1431
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1432
  srcdir=.
 
1433
fi
 
1434
# Remove unnecessary trailing slashes from srcdir.
 
1435
# Double slashes in file names in object file debugging info
 
1436
# mess up M-x gdb in Emacs.
 
1437
case $srcdir in
 
1438
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1439
esac
 
1440
for ac_var in $ac_precious_vars; do
 
1441
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1442
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1443
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1444
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1445
done
961
1446
 
962
1447
#
963
1448
# Report the --help message.
966
1451
  # Omit some internal or obsolete options to make the list less imposing.
967
1452
  # This message is too long to be a string in the A/UX 3.1 sh.
968
1453
  cat <<_ACEOF
969
 
\`configure' configures gnomeradio 1.6 to adapt to many kinds of systems.
 
1454
\`configure' configures gnomeradio 1.7 to adapt to many kinds of systems.
970
1455
 
971
1456
Usage: $0 [OPTION]... [VAR=VALUE]...
972
1457
 
986
1471
  -n, --no-create         do not create output files
987
1472
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
988
1473
 
989
 
_ACEOF
990
 
 
991
 
  cat <<_ACEOF
992
1474
Installation directories:
993
1475
  --prefix=PREFIX         install architecture-independent files in PREFIX
994
1476
                          [$ac_default_prefix]
1006
1488
  --bindir=DIR           user executables [EPREFIX/bin]
1007
1489
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1008
1490
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1009
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1010
1491
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1011
1492
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1012
1493
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1013
1494
  --libdir=DIR           object code libraries [EPREFIX/lib]
1014
1495
  --includedir=DIR       C header files [PREFIX/include]
1015
1496
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1016
 
  --infodir=DIR          info documentation [PREFIX/info]
1017
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1497
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1498
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1499
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1500
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1501
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1502
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gnomeradio]
 
1503
  --htmldir=DIR          html documentation [DOCDIR]
 
1504
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1505
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1506
  --psdir=DIR            ps documentation [DOCDIR]
1018
1507
_ACEOF
1019
1508
 
1020
1509
  cat <<\_ACEOF
1032
1521
 
1033
1522
if test -n "$ac_init_help"; then
1034
1523
  case $ac_init_help in
1035
 
     short | recursive ) echo "Configuration of gnomeradio 1.6:";;
 
1524
     short | recursive ) echo "Configuration of gnomeradio 1.7:";;
1036
1525
   esac
1037
1526
  cat <<\_ACEOF
1038
1527
 
1039
1528
Optional Features:
1040
1529
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1041
1530
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1042
 
  --enable-maintainer-mode enable make rules and dependencies not useful
1043
 
                          (and sometimes confusing) to the casual installer
1044
 
  --enable-shared[=PKGS]
1045
 
                          build shared libraries [default=yes]
1046
 
  --enable-static[=PKGS]
1047
 
                          build static libraries [default=yes]
 
1531
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1532
                          (and sometimes confusing) to the casual installer
 
1533
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1534
  --enable-static[=PKGS]  build static libraries [default=yes]
1048
1535
  --enable-fast-install[=PKGS]
1049
1536
                          optimize for fast installation [default=yes]
1050
 
  --disable-dependency-tracking Speeds up one-time builds
1051
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1537
  --disable-dependency-tracking  speeds up one-time build
 
1538
  --enable-dependency-tracking   do not reject slow dependency extractors
1052
1539
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1540
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1053
1541
  --disable-schemas-install     Disable the schemas installation
1054
1542
  --disable-install-schemas        Disable installation of the gconf schemas
1055
1543
 
1059
1547
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1060
1548
  --with-pic              try to use only PIC/non-PIC objects [default=use
1061
1549
                          both]
1062
 
  --with-tags[=TAGS]
1063
 
                          include additional configurations [automatic]
 
1550
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1551
  --with-help-dir=DIR     path to help docs
 
1552
  --with-omf-dir=DIR      path to OMF files
 
1553
  --with-help-formats=FORMATS
 
1554
                          list of formats
1064
1555
  --with-gconf-source=sourceaddress      Config database for installing schema files.
1065
1556
  --with-gconf-schema-file-dir=dir        Directory for installing schema files.
1066
1557
 
1069
1560
  CFLAGS      C compiler flags
1070
1561
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1071
1562
              nonstandard directory <lib dir>
1072
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1073
 
              headers in a nonstandard directory <include dir>
 
1563
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1564
              you have headers in a nonstandard directory <include dir>
1074
1565
  CPP         C preprocessor
1075
1566
  CXX         C++ compiler command
1076
1567
  CXXFLAGS    C++ compiler flags
1078
1569
  F77         Fortran 77 compiler command
1079
1570
  FFLAGS      Fortran 77 compiler flags
1080
1571
  PKG_CONFIG  path to pkg-config utility
1081
 
  GNOMERADIO_CFLAGS
1082
 
              C compiler flags for GNOMERADIO, overriding pkg-config
1083
 
  GNOMERADIO_LIBS
1084
 
              linker flags for GNOMERADIO, overriding pkg-config
 
1572
  GNOME_CFLAGS
 
1573
              C compiler flags for GNOME, overriding pkg-config
 
1574
  GNOME_LIBS  linker flags for GNOME, overriding pkg-config
 
1575
  GNOME14_CFLAGS
 
1576
              C compiler flags for GNOME14, overriding pkg-config
 
1577
  GNOME14_LIBS
 
1578
              linker flags for GNOME14, overriding pkg-config
 
1579
  GSTREAMER_CFLAGS
 
1580
              C compiler flags for GSTREAMER, overriding pkg-config
 
1581
  GSTREAMER_LIBS
 
1582
              linker flags for GSTREAMER, overriding pkg-config
 
1583
  GDU_MODULE_VERSION_CHECK_CFLAGS
 
1584
              C compiler flags for GDU_MODULE_VERSION_CHECK, overriding
 
1585
              pkg-config
 
1586
  GDU_MODULE_VERSION_CHECK_LIBS
 
1587
              linker flags for GDU_MODULE_VERSION_CHECK, overriding pkg-config
1085
1588
 
1086
1589
Use these variables to override the choices made by `configure' or to help
1087
1590
it to find libraries and programs with nonstandard names/locations.
1088
1591
 
1089
1592
Report bugs to <http://mfcn.ilo.de/gnomeradio>.
1090
1593
_ACEOF
 
1594
ac_status=$?
1091
1595
fi
1092
1596
 
1093
1597
if test "$ac_init_help" = "recursive"; then
1094
1598
  # If there are subdirs, report their specific --help.
1095
 
  ac_popdir=`pwd`
1096
1599
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1097
 
    test -d $ac_dir || continue
 
1600
    test -d "$ac_dir" || continue
1098
1601
    ac_builddir=.
1099
1602
 
1100
 
if test "$ac_dir" != .; then
 
1603
case "$ac_dir" in
 
1604
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1605
*)
1101
1606
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102
 
  # A "../" for each directory in $ac_dir_suffix.
1103
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1104
 
else
1105
 
  ac_dir_suffix= ac_top_builddir=
1106
 
fi
 
1607
  # A ".." for each directory in $ac_dir_suffix.
 
1608
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1609
  case $ac_top_builddir_sub in
 
1610
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1611
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1612
  esac ;;
 
1613
esac
 
1614
ac_abs_top_builddir=$ac_pwd
 
1615
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1616
# for backward compatibility:
 
1617
ac_top_builddir=$ac_top_build_prefix
1107
1618
 
1108
1619
case $srcdir in
1109
 
  .)  # No --srcdir option.  We are building in place.
 
1620
  .)  # We are building in place.
1110
1621
    ac_srcdir=.
1111
 
    if test -z "$ac_top_builddir"; then
1112
 
       ac_top_srcdir=.
1113
 
    else
1114
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1115
 
    fi ;;
1116
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1622
    ac_top_srcdir=$ac_top_builddir_sub
 
1623
    ac_abs_top_srcdir=$ac_pwd ;;
 
1624
  [\\/]* | ?:[\\/]* )  # Absolute name.
1117
1625
    ac_srcdir=$srcdir$ac_dir_suffix;
1118
 
    ac_top_srcdir=$srcdir ;;
1119
 
  *) # Relative path.
1120
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1121
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1122
 
esac
1123
 
 
1124
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1125
 
# the directories may not exist.
1126
 
case `pwd` in
1127
 
.) ac_abs_builddir="$ac_dir";;
1128
 
*)
1129
 
  case "$ac_dir" in
1130
 
  .) ac_abs_builddir=`pwd`;;
1131
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1132
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1133
 
  esac;;
1134
 
esac
1135
 
case $ac_abs_builddir in
1136
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1137
 
*)
1138
 
  case ${ac_top_builddir}. in
1139
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1140
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1141
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1142
 
  esac;;
1143
 
esac
1144
 
case $ac_abs_builddir in
1145
 
.) ac_abs_srcdir=$ac_srcdir;;
1146
 
*)
1147
 
  case $ac_srcdir in
1148
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1149
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1150
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1151
 
  esac;;
1152
 
esac
1153
 
case $ac_abs_builddir in
1154
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1155
 
*)
1156
 
  case $ac_top_srcdir in
1157
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1158
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1159
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1160
 
  esac;;
1161
 
esac
1162
 
 
1163
 
    cd $ac_dir
1164
 
    # Check for guested configure; otherwise get Cygnus style configure.
1165
 
    if test -f $ac_srcdir/configure.gnu; then
1166
 
      echo
1167
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1168
 
    elif test -f $ac_srcdir/configure; then
1169
 
      echo
1170
 
      $SHELL $ac_srcdir/configure  --help=recursive
1171
 
    elif test -f $ac_srcdir/configure.ac ||
1172
 
           test -f $ac_srcdir/configure.in; then
1173
 
      echo
1174
 
      $ac_configure --help
 
1626
    ac_top_srcdir=$srcdir
 
1627
    ac_abs_top_srcdir=$srcdir ;;
 
1628
  *) # Relative name.
 
1629
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1630
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1631
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1632
esac
 
1633
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1634
 
 
1635
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1636
    # Check for guested configure.
 
1637
    if test -f "$ac_srcdir/configure.gnu"; then
 
1638
      echo &&
 
1639
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1640
    elif test -f "$ac_srcdir/configure"; then
 
1641
      echo &&
 
1642
      $SHELL "$ac_srcdir/configure" --help=recursive
1175
1643
    else
1176
1644
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1177
 
    fi
1178
 
    cd "$ac_popdir"
 
1645
    fi || ac_status=$?
 
1646
    cd "$ac_pwd" || { ac_status=$?; break; }
1179
1647
  done
1180
1648
fi
1181
1649
 
1182
 
test -n "$ac_init_help" && exit 0
 
1650
test -n "$ac_init_help" && exit $ac_status
1183
1651
if $ac_init_version; then
1184
1652
  cat <<\_ACEOF
1185
 
gnomeradio configure 1.6
1186
 
generated by GNU Autoconf 2.59
 
1653
gnomeradio configure 1.7
 
1654
generated by GNU Autoconf 2.60
1187
1655
 
1188
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1656
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1657
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1189
1658
This configure script is free software; the Free Software Foundation
1190
1659
gives unlimited permission to copy, distribute and modify it.
1191
1660
_ACEOF
1192
 
  exit 0
 
1661
  exit
1193
1662
fi
1194
 
exec 5>config.log
1195
 
cat >&5 <<_ACEOF
 
1663
cat >config.log <<_ACEOF
1196
1664
This file contains any messages produced by compilers while
1197
1665
running configure, to aid debugging if configure makes a mistake.
1198
1666
 
1199
 
It was created by gnomeradio $as_me 1.6, which was
1200
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1667
It was created by gnomeradio $as_me 1.7, which was
 
1668
generated by GNU Autoconf 2.60.  Invocation command line was
1201
1669
 
1202
1670
  $ $0 $@
1203
1671
 
1204
1672
_ACEOF
 
1673
exec 5>>config.log
1205
1674
{
1206
1675
cat <<_ASUNAME
1207
1676
## --------- ##
1220
1689
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1221
1690
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1222
1691
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1692
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1224
1693
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1225
1694
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1226
1695
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1234
1703
  test -z "$as_dir" && as_dir=.
1235
1704
  echo "PATH: $as_dir"
1236
1705
done
 
1706
IFS=$as_save_IFS
1237
1707
 
1238
1708
} >&5
1239
1709
 
1255
1725
ac_configure_args=
1256
1726
ac_configure_args0=
1257
1727
ac_configure_args1=
1258
 
ac_sep=
1259
1728
ac_must_keep_next=false
1260
1729
for ac_pass in 1 2
1261
1730
do
1266
1735
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267
1736
    | -silent | --silent | --silen | --sile | --sil)
1268
1737
      continue ;;
1269
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1738
    *\'*)
1270
1739
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1271
1740
    esac
1272
1741
    case $ac_pass in
1288
1757
          -* ) ac_must_keep_next=true ;;
1289
1758
        esac
1290
1759
      fi
1291
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1292
 
      # Get rid of the leading space.
1293
 
      ac_sep=" "
 
1760
      ac_configure_args="$ac_configure_args '$ac_arg'"
1294
1761
      ;;
1295
1762
    esac
1296
1763
  done
1301
1768
# When interrupted or exit'd, cleanup temporary files, and complete
1302
1769
# config.log.  We remove comments because anyway the quotes in there
1303
1770
# would cause problems or look ugly.
1304
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1305
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1771
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1772
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1306
1773
trap 'exit_status=$?
1307
1774
  # Save into config.log some information that might help in debugging.
1308
1775
  {
1315
1782
_ASBOX
1316
1783
    echo
1317
1784
    # The following way of writing the cache mishandles newlines in values,
1318
 
{
 
1785
(
 
1786
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1787
    eval ac_val=\$$ac_var
 
1788
    case $ac_val in #(
 
1789
    *${as_nl}*)
 
1790
      case $ac_var in #(
 
1791
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1792
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1793
      esac
 
1794
      case $ac_var in #(
 
1795
      _ | IFS | as_nl) ;; #(
 
1796
      *) $as_unset $ac_var ;;
 
1797
      esac ;;
 
1798
    esac
 
1799
  done
1319
1800
  (set) 2>&1 |
1320
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1321
 
    *ac_space=\ *)
 
1801
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1802
    *${as_nl}ac_space=\ *)
1322
1803
      sed -n \
1323
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1325
 
      ;;
 
1804
        "s/'\''/'\''\\\\'\'''\''/g;
 
1805
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1806
      ;; #(
1326
1807
    *)
1327
 
      sed -n \
1328
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1808
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1329
1809
      ;;
1330
 
    esac;
1331
 
}
 
1810
    esac |
 
1811
    sort
 
1812
)
1332
1813
    echo
1333
1814
 
1334
1815
    cat <<\_ASBOX
1339
1820
    echo
1340
1821
    for ac_var in $ac_subst_vars
1341
1822
    do
1342
 
      eval ac_val=$`echo $ac_var`
1343
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1823
      eval ac_val=\$$ac_var
 
1824
      case $ac_val in
 
1825
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1826
      esac
 
1827
      echo "$ac_var='\''$ac_val'\''"
1344
1828
    done | sort
1345
1829
    echo
1346
1830
 
1347
1831
    if test -n "$ac_subst_files"; then
1348
1832
      cat <<\_ASBOX
1349
 
## ------------- ##
1350
 
## Output files. ##
1351
 
## ------------- ##
 
1833
## ------------------- ##
 
1834
## File substitutions. ##
 
1835
## ------------------- ##
1352
1836
_ASBOX
1353
1837
      echo
1354
1838
      for ac_var in $ac_subst_files
1355
1839
      do
1356
 
        eval ac_val=$`echo $ac_var`
1357
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1840
        eval ac_val=\$$ac_var
 
1841
        case $ac_val in
 
1842
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1843
        esac
 
1844
        echo "$ac_var='\''$ac_val'\''"
1358
1845
      done | sort
1359
1846
      echo
1360
1847
    fi
1366
1853
## ----------- ##
1367
1854
_ASBOX
1368
1855
      echo
1369
 
      sed "/^$/d" confdefs.h | sort
 
1856
      cat confdefs.h
1370
1857
      echo
1371
1858
    fi
1372
1859
    test "$ac_signal" != 0 &&
1373
1860
      echo "$as_me: caught signal $ac_signal"
1374
1861
    echo "$as_me: exit $exit_status"
1375
1862
  } >&5
1376
 
  rm -f core *.core &&
1377
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1863
  rm -f core *.core core.conftest.* &&
 
1864
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1378
1865
    exit $exit_status
1379
 
     ' 0
 
1866
' 0
1380
1867
for ac_signal in 1 2 13 15; do
1381
1868
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1382
1869
done
1383
1870
ac_signal=0
1384
1871
 
1385
1872
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1386
 
rm -rf conftest* confdefs.h
1387
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1388
 
echo >confdefs.h
 
1873
rm -f -r conftest* confdefs.h
1389
1874
 
1390
1875
# Predefined preprocessor variables.
1391
1876
 
1416
1901
 
1417
1902
# Let the site file select an alternate cache file if it wants to.
1418
1903
# Prefer explicitly selected file to automatically selected ones.
1419
 
if test -z "$CONFIG_SITE"; then
1420
 
  if test "x$prefix" != xNONE; then
1421
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1422
 
  else
1423
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1424
 
  fi
 
1904
if test -n "$CONFIG_SITE"; then
 
1905
  set x "$CONFIG_SITE"
 
1906
elif test "x$prefix" != xNONE; then
 
1907
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1908
else
 
1909
  set x "$ac_default_prefix/share/config.site" \
 
1910
        "$ac_default_prefix/etc/config.site"
1425
1911
fi
1426
 
for ac_site_file in $CONFIG_SITE; do
 
1912
shift
 
1913
for ac_site_file
 
1914
do
1427
1915
  if test -r "$ac_site_file"; then
1428
1916
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429
1917
echo "$as_me: loading site script $ac_site_file" >&6;}
1439
1927
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440
1928
echo "$as_me: loading cache $cache_file" >&6;}
1441
1929
    case $cache_file in
1442
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1443
 
      *)                      . ./$cache_file;;
 
1930
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1931
      *)                      . "./$cache_file";;
1444
1932
    esac
1445
1933
  fi
1446
1934
else
1452
1940
# Check that the precious variables saved in the cache have kept the same
1453
1941
# value.
1454
1942
ac_cache_corrupted=false
1455
 
for ac_var in `(set) 2>&1 |
1456
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1943
for ac_var in $ac_precious_vars; do
1457
1944
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1458
1945
  eval ac_new_set=\$ac_env_${ac_var}_set
1459
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1460
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1946
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1947
  eval ac_new_val=\$ac_env_${ac_var}_value
1461
1948
  case $ac_old_set,$ac_new_set in
1462
1949
    set,)
1463
1950
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1482
1969
  # Pass precious variables to config.status.
1483
1970
  if test "$ac_new_set" = set; then
1484
1971
    case $ac_new_val in
1485
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1972
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487
1973
    *) ac_arg=$ac_var=$ac_new_val ;;
1488
1974
    esac
1489
1975
    case " $ac_configure_args " in
1500
1986
   { (exit 1); exit 1; }; }
1501
1987
fi
1502
1988
 
 
1989
 
 
1990
 
 
1991
 
 
1992
 
 
1993
 
 
1994
 
 
1995
 
 
1996
 
 
1997
 
 
1998
 
 
1999
 
 
2000
 
 
2001
 
 
2002
 
 
2003
 
 
2004
 
 
2005
 
 
2006
 
 
2007
 
 
2008
 
 
2009
 
 
2010
 
 
2011
 
 
2012
 
1503
2013
ac_ext=c
1504
2014
ac_cpp='$CPP $CPPFLAGS'
1505
2015
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508
2018
 
1509
2019
 
1510
2020
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
 
1529
 
 
1530
 
 
1531
 
 
1532
 
 
1533
 
 
1534
 
 
1535
 
 
1536
 
am__api_version="1.7"
 
2021
am__api_version="1.9"
1537
2022
ac_aux_dir=
1538
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1539
 
  if test -f $ac_dir/install-sh; then
 
2023
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2024
  if test -f "$ac_dir/install-sh"; then
1540
2025
    ac_aux_dir=$ac_dir
1541
2026
    ac_install_sh="$ac_aux_dir/install-sh -c"
1542
2027
    break
1543
 
  elif test -f $ac_dir/install.sh; then
 
2028
  elif test -f "$ac_dir/install.sh"; then
1544
2029
    ac_aux_dir=$ac_dir
1545
2030
    ac_install_sh="$ac_aux_dir/install.sh -c"
1546
2031
    break
1547
 
  elif test -f $ac_dir/shtool; then
 
2032
  elif test -f "$ac_dir/shtool"; then
1548
2033
    ac_aux_dir=$ac_dir
1549
2034
    ac_install_sh="$ac_aux_dir/shtool install -c"
1550
2035
    break
1551
2036
  fi
1552
2037
done
1553
2038
if test -z "$ac_aux_dir"; then
1554
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1555
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2039
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2040
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1556
2041
   { (exit 1); exit 1; }; }
1557
2042
fi
1558
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1559
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1560
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2043
 
 
2044
# These three variables are undocumented and unsupported,
 
2045
# and are intended to be withdrawn in a future Autoconf release.
 
2046
# They can cause serious problems if a builder's source tree is in a directory
 
2047
# whose full name contains unusual characters.
 
2048
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2049
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2050
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2051
 
1561
2052
 
1562
2053
# Find a good install program.  We prefer a C program (faster),
1563
2054
# so one script is as good as another.  But avoid the broken or
1572
2063
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573
2064
# OS/2's system install, which has a completely different semantic
1574
2065
# ./install, which can be erroneously created by make from ./install.sh.
1575
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2066
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2067
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1577
2068
if test -z "$INSTALL"; then
1578
2069
if test "${ac_cv_path_install+set}" = set; then
1579
2070
  echo $ECHO_N "(cached) $ECHO_C" >&6
1595
2086
    # by default.
1596
2087
    for ac_prog in ginstall scoinst install; do
1597
2088
      for ac_exec_ext in '' $ac_executable_extensions; do
1598
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2089
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1599
2090
          if test $ac_prog = install &&
1600
2091
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601
2092
            # AIX install.  It has an incompatible calling convention.
1614
2105
    ;;
1615
2106
esac
1616
2107
done
 
2108
IFS=$as_save_IFS
1617
2109
 
1618
2110
 
1619
2111
fi
1620
2112
  if test "${ac_cv_path_install+set}" = set; then
1621
2113
    INSTALL=$ac_cv_path_install
1622
2114
  else
1623
 
    # As a last resort, use the slow shell script.  We don't cache a
1624
 
    # path for INSTALL within a source directory, because that will
 
2115
    # As a last resort, use the slow shell script.  Don't cache a
 
2116
    # value for INSTALL within a source directory, because that will
1625
2117
    # break other packages using the cache if that directory is
1626
 
    # removed, or if the path is relative.
 
2118
    # removed, or if the value is a relative name.
1627
2119
    INSTALL=$ac_install_sh
1628
2120
  fi
1629
2121
fi
1630
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1631
 
echo "${ECHO_T}$INSTALL" >&6
 
2122
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2123
echo "${ECHO_T}$INSTALL" >&6; }
1632
2124
 
1633
2125
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634
2126
# It thinks the first close brace ends the variable substitution.
1638
2130
 
1639
2131
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
2132
 
1641
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2133
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2134
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1643
2135
# Just in case
1644
2136
sleep 1
1645
2137
echo timestamp > conftest.file
1681
2173
Check your system clock" >&2;}
1682
2174
   { (exit 1); exit 1; }; }
1683
2175
fi
1684
 
echo "$as_me:$LINENO: result: yes" >&5
1685
 
echo "${ECHO_T}yes" >&6
 
2176
{ echo "$as_me:$LINENO: result: yes" >&5
 
2177
echo "${ECHO_T}yes" >&6; }
1686
2178
test "$program_prefix" != NONE &&
1687
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2179
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1688
2180
# Use a double $ so make ignores it.
1689
2181
test "$program_suffix" != NONE &&
1690
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2182
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1691
2183
# Double any \ or $.  echo might interpret backslashes.
1692
2184
# By default was `s,x,x', remove it if useless.
1693
2185
cat <<\_ACEOF >conftest.sed
1694
2186
s/[\\$]/&&/g;s/;s,x,x,$//
1695
2187
_ACEOF
1696
2188
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697
 
rm conftest.sed
1698
 
 
 
2189
rm -f conftest.sed
1699
2190
 
1700
2191
# expand $ac_aux_dir to an absolute path
1701
2192
am_aux_dir=`cd $ac_aux_dir && pwd`
1710
2201
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1711
2202
fi
1712
2203
 
 
2204
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
2205
  # We used to keeping the `.' as first argument, in order to
 
2206
  # allow $(mkdir_p) to be used without argument.  As in
 
2207
  #   $(mkdir_p) $(somedir)
 
2208
  # where $(somedir) is conditionally defined.  However this is wrong
 
2209
  # for two reasons:
 
2210
  #  1. if the package is installed by a user who cannot write `.'
 
2211
  #     make install will fail,
 
2212
  #  2. the above comment should most certainly read
 
2213
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
2214
  #     so it does not work when $(somedir) is undefined and
 
2215
  #     $(DESTDIR) is not.
 
2216
  #  To support the latter case, we have to write
 
2217
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
2218
  #  so the `.' trick is pointless.
 
2219
  mkdir_p='mkdir -p --'
 
2220
else
 
2221
  # On NextStep and OpenStep, the `mkdir' command does not
 
2222
  # recognize any option.  It will interpret all options as
 
2223
  # directories to create, and then abort because `.' already
 
2224
  # exists.
 
2225
  for d in ./-p ./--version;
 
2226
  do
 
2227
    test -d $d && rmdir $d
 
2228
  done
 
2229
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
2230
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
2231
    mkdir_p='$(mkinstalldirs)'
 
2232
  else
 
2233
    mkdir_p='$(install_sh) -d'
 
2234
  fi
 
2235
fi
 
2236
 
1713
2237
for ac_prog in gawk mawk nawk awk
1714
2238
do
1715
2239
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1716
2240
set dummy $ac_prog; ac_word=$2
1717
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1718
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2241
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2242
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1719
2243
if test "${ac_cv_prog_AWK+set}" = set; then
1720
2244
  echo $ECHO_N "(cached) $ECHO_C" >&6
1721
2245
else
1728
2252
  IFS=$as_save_IFS
1729
2253
  test -z "$as_dir" && as_dir=.
1730
2254
  for ac_exec_ext in '' $ac_executable_extensions; do
1731
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2255
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1732
2256
    ac_cv_prog_AWK="$ac_prog"
1733
2257
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734
2258
    break 2
1735
2259
  fi
1736
2260
done
1737
2261
done
 
2262
IFS=$as_save_IFS
1738
2263
 
1739
2264
fi
1740
2265
fi
1741
2266
AWK=$ac_cv_prog_AWK
1742
2267
if test -n "$AWK"; then
1743
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1744
 
echo "${ECHO_T}$AWK" >&6
 
2268
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2269
echo "${ECHO_T}$AWK" >&6; }
1745
2270
else
1746
 
  echo "$as_me:$LINENO: result: no" >&5
1747
 
echo "${ECHO_T}no" >&6
 
2271
  { echo "$as_me:$LINENO: result: no" >&5
 
2272
echo "${ECHO_T}no" >&6; }
1748
2273
fi
1749
2274
 
 
2275
 
1750
2276
  test -n "$AWK" && break
1751
2277
done
1752
2278
 
1753
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1754
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1755
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1756
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2279
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2280
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2281
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2282
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1757
2283
  echo $ECHO_N "(cached) $ECHO_C" >&6
1758
2284
else
1759
2285
  cat >conftest.make <<\_ACEOF
 
2286
SHELL = /bin/sh
1760
2287
all:
1761
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2288
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1762
2289
_ACEOF
1763
2290
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1764
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1765
 
if test -n "$ac_maketemp"; then
1766
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1767
 
else
1768
 
  eval ac_cv_prog_make_${ac_make}_set=no
1769
 
fi
 
2291
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2292
  *@@@%%%=?*=@@@%%%*)
 
2293
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2294
  *)
 
2295
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2296
esac
1770
2297
rm -f conftest.make
1771
2298
fi
1772
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1773
 
  echo "$as_me:$LINENO: result: yes" >&5
1774
 
echo "${ECHO_T}yes" >&6
 
2299
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2300
  { echo "$as_me:$LINENO: result: yes" >&5
 
2301
echo "${ECHO_T}yes" >&6; }
1775
2302
  SET_MAKE=
1776
2303
else
1777
 
  echo "$as_me:$LINENO: result: no" >&5
1778
 
echo "${ECHO_T}no" >&6
 
2304
  { echo "$as_me:$LINENO: result: no" >&5
 
2305
echo "${ECHO_T}no" >&6; }
1779
2306
  SET_MAKE="MAKE=${MAKE-make}"
1780
2307
fi
1781
2308
 
1788
2315
fi
1789
2316
rmdir .tst 2>/dev/null
1790
2317
 
1791
 
 # test to see if srcdir already configured
 
2318
# test to see if srcdir already configured
1792
2319
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1793
2320
   test -f $srcdir/config.status; then
1794
2321
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1808
2335
 
1809
2336
# Define the identity of the package.
1810
2337
 PACKAGE=gnomeradio
1811
 
 VERSION=1.6
 
2338
 VERSION=1.7
1812
2339
 
1813
2340
 
1814
2341
cat >>confdefs.h <<_ACEOF
1836
2363
 
1837
2364
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1838
2365
 
1839
 
 
1840
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1841
 
 
1842
2366
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1843
2367
 
1844
2368
# Installed binaries are usually stripped using `strip' when the user
1849
2373
  if test -n "$ac_tool_prefix"; then
1850
2374
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1851
2375
set dummy ${ac_tool_prefix}strip; ac_word=$2
1852
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1853
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2376
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2377
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1854
2378
if test "${ac_cv_prog_STRIP+set}" = set; then
1855
2379
  echo $ECHO_N "(cached) $ECHO_C" >&6
1856
2380
else
1863
2387
  IFS=$as_save_IFS
1864
2388
  test -z "$as_dir" && as_dir=.
1865
2389
  for ac_exec_ext in '' $ac_executable_extensions; do
1866
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1867
2391
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1868
2392
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869
2393
    break 2
1870
2394
  fi
1871
2395
done
1872
2396
done
 
2397
IFS=$as_save_IFS
1873
2398
 
1874
2399
fi
1875
2400
fi
1876
2401
STRIP=$ac_cv_prog_STRIP
1877
2402
if test -n "$STRIP"; then
1878
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1879
 
echo "${ECHO_T}$STRIP" >&6
 
2403
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2404
echo "${ECHO_T}$STRIP" >&6; }
1880
2405
else
1881
 
  echo "$as_me:$LINENO: result: no" >&5
1882
 
echo "${ECHO_T}no" >&6
 
2406
  { echo "$as_me:$LINENO: result: no" >&5
 
2407
echo "${ECHO_T}no" >&6; }
1883
2408
fi
 
2409
 
1884
2410
 
1885
2411
fi
1886
2412
if test -z "$ac_cv_prog_STRIP"; then
1887
2413
  ac_ct_STRIP=$STRIP
1888
2414
  # Extract the first word of "strip", so it can be a program name with args.
1889
2415
set dummy strip; ac_word=$2
1890
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1891
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2416
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2417
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1892
2418
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1893
2419
  echo $ECHO_N "(cached) $ECHO_C" >&6
1894
2420
else
1901
2427
  IFS=$as_save_IFS
1902
2428
  test -z "$as_dir" && as_dir=.
1903
2429
  for ac_exec_ext in '' $ac_executable_extensions; do
1904
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2430
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1905
2431
    ac_cv_prog_ac_ct_STRIP="strip"
1906
2432
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907
2433
    break 2
1908
2434
  fi
1909
2435
done
1910
2436
done
 
2437
IFS=$as_save_IFS
1911
2438
 
1912
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1913
2439
fi
1914
2440
fi
1915
2441
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1916
2442
if test -n "$ac_ct_STRIP"; then
1917
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1918
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2443
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2444
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1919
2445
else
1920
 
  echo "$as_me:$LINENO: result: no" >&5
1921
 
echo "${ECHO_T}no" >&6
 
2446
  { echo "$as_me:$LINENO: result: no" >&5
 
2447
echo "${ECHO_T}no" >&6; }
1922
2448
fi
1923
2449
 
1924
 
  STRIP=$ac_ct_STRIP
 
2450
  if test "x$ac_ct_STRIP" = x; then
 
2451
    STRIP=":"
 
2452
  else
 
2453
    case $cross_compiling:$ac_tool_warned in
 
2454
yes:)
 
2455
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2456
whose name does not start with the host triplet.  If you think this
 
2457
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2458
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2459
whose name does not start with the host triplet.  If you think this
 
2460
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2461
ac_tool_warned=yes ;;
 
2462
esac
 
2463
    STRIP=$ac_ct_STRIP
 
2464
  fi
1925
2465
else
1926
2466
  STRIP="$ac_cv_prog_STRIP"
1927
2467
fi
1931
2471
 
1932
2472
# We need awk for the "check" target.  The system "awk" is bad on
1933
2473
# some platforms.
1934
 
 
1935
 
 
1936
 
 
1937
 
 
1938
 
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
1939
 
 
1940
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1941
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1942
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2474
# Always define AMTAR for backward compatibility.
 
2475
 
 
2476
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2477
 
 
2478
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2479
 
 
2480
 
 
2481
 
 
2482
 
 
2483
 
 
2484
 
 
2485
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2486
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2487
    # Check whether --enable-maintainer-mode was given.
1943
2488
if test "${enable_maintainer_mode+set}" = set; then
1944
 
  enableval="$enable_maintainer_mode"
1945
 
  USE_MAINTAINER_MODE=$enableval
 
2489
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1946
2490
else
1947
2491
  USE_MAINTAINER_MODE=no
1948
 
fi;
1949
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1950
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2492
fi
 
2493
 
 
2494
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2495
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1951
2496
 
1952
2497
 
1953
2498
if test $USE_MAINTAINER_MODE = yes; then
1961
2506
  MAINT=$MAINTAINER_MODE_TRUE
1962
2507
 
1963
2508
 
1964
 
          ac_config_headers="$ac_config_headers config.h"
1965
 
 
1966
 
 
1967
 
 
 
2509
ac_config_headers="$ac_config_headers config.h"
 
2510
 
 
2511
case m4 in
 
2512
  [\\/]* | ?:[\\/]* ) ac_macro_dir=m4         ;;
 
2513
  *)                      ac_macro_dir=$srcdir/m4 ;;
 
2514
esac
 
2515
test -d "$ac_macro_dir" ||
 
2516
  { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
 
2517
echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
 
2518
   { (exit 1); exit 1; }; }
 
2519
 
 
2520
 
 
2521
case "$am__api_version" in
 
2522
    1.01234)
 
2523
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
2524
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
2525
   { (exit 1); exit 1; }; }
 
2526
    ;;
 
2527
    *)
 
2528
    ;;
 
2529
esac
1968
2530
 
1969
2531
if test -n "0.21"; then
1970
 
    echo "$as_me:$LINENO: checking for intltool >= 0.21" >&5
1971
 
echo $ECHO_N "checking for intltool >= 0.21... $ECHO_C" >&6
1972
 
 
1973
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
1974
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }'  < ${ac_aux_dir}/intltool-update.in`
1975
 
 
1976
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
1977
 
 
1978
 
 
1979
 
    if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
1980
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
1981
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
1982
 
    else
1983
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool 0.21 or later." >&5
1984
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool 0.21 or later." >&6
1985
 
        exit 1
1986
 
    fi
 
2532
    { echo "$as_me:$LINENO: checking for intltool >= 0.21" >&5
 
2533
echo $ECHO_N "checking for intltool >= 0.21... $ECHO_C" >&6; }
 
2534
 
 
2535
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
2536
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
 
2537
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
 
2538
 
 
2539
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
2540
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
 
2541
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
2542
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.21 or later." >&5
 
2543
echo "$as_me: error: Your intltool is too old.  You need intltool 0.21 or later." >&2;}
 
2544
   { (exit 1); exit 1; }; }
1987
2545
fi
1988
2546
 
1989
2547
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2003
2561
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2004
2562
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2005
2563
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
2564
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
2565
 
2006
2566
 
2007
2567
 
2008
2568
 
2023
2583
 
2024
2584
 
2025
2585
# Use the tools built into the package, not the ones that are installed.
2026
 
 
2027
2586
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
2587
 
2028
2588
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
 
2589
 
2029
2590
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
2030
2591
 
2031
2592
 
2032
 
 
2033
 
 
2034
 
 
2035
2593
# Extract the first word of "perl", so it can be a program name with args.
2036
2594
set dummy perl; ac_word=$2
2037
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2038
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2595
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2596
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2039
2597
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
2040
2598
  echo $ECHO_N "(cached) $ECHO_C" >&6
2041
2599
else
2050
2608
  IFS=$as_save_IFS
2051
2609
  test -z "$as_dir" && as_dir=.
2052
2610
  for ac_exec_ext in '' $ac_executable_extensions; do
2053
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2611
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2054
2612
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
2055
2613
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056
2614
    break 2
2057
2615
  fi
2058
2616
done
2059
2617
done
 
2618
IFS=$as_save_IFS
2060
2619
 
2061
2620
  ;;
2062
2621
esac
2063
2622
fi
2064
2623
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
2065
 
 
2066
2624
if test -n "$INTLTOOL_PERL"; then
2067
 
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
2068
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6
 
2625
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
2626
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
2069
2627
else
2070
 
  echo "$as_me:$LINENO: result: no" >&5
2071
 
echo "${ECHO_T}no" >&6
 
2628
  { echo "$as_me:$LINENO: result: no" >&5
 
2629
echo "${ECHO_T}no" >&6; }
2072
2630
fi
2073
2631
 
 
2632
 
2074
2633
if test -z "$INTLTOOL_PERL"; then
2075
2634
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
2076
2635
echo "$as_me: error: perl not found; required for intltool" >&2;}
2082
2641
   { (exit 1); exit 1; }; }
2083
2642
fi
2084
2643
if test "x" != "xno-xml"; then
2085
 
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
2086
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
 
2644
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
2645
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
2087
2646
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
2088
 
       echo "$as_me:$LINENO: result: ok" >&5
2089
 
echo "${ECHO_T}ok" >&6
 
2647
       { echo "$as_me:$LINENO: result: ok" >&5
 
2648
echo "${ECHO_T}ok" >&6; }
2090
2649
   else
2091
2650
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
2092
2651
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
2096
2655
 
2097
2656
# Extract the first word of "iconv", so it can be a program name with args.
2098
2657
set dummy iconv; ac_word=$2
2099
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2100
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2658
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2659
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2101
2660
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
2102
2661
  echo $ECHO_N "(cached) $ECHO_C" >&6
2103
2662
else
2112
2671
  IFS=$as_save_IFS
2113
2672
  test -z "$as_dir" && as_dir=.
2114
2673
  for ac_exec_ext in '' $ac_executable_extensions; do
2115
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2116
2675
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
2117
2676
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118
2677
    break 2
2119
2678
  fi
2120
2679
done
2121
2680
done
 
2681
IFS=$as_save_IFS
2122
2682
 
2123
2683
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
2124
2684
  ;;
2125
2685
esac
2126
2686
fi
2127
2687
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
2128
 
 
2129
2688
if test -n "$INTLTOOL_ICONV"; then
2130
 
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
2131
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
 
2689
  { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
 
2690
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
2132
2691
else
2133
 
  echo "$as_me:$LINENO: result: no" >&5
2134
 
echo "${ECHO_T}no" >&6
 
2692
  { echo "$as_me:$LINENO: result: no" >&5
 
2693
echo "${ECHO_T}no" >&6; }
2135
2694
fi
2136
2695
 
 
2696
 
2137
2697
# Extract the first word of "msgfmt", so it can be a program name with args.
2138
2698
set dummy msgfmt; ac_word=$2
2139
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2140
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2699
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2700
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2141
2701
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
2142
2702
  echo $ECHO_N "(cached) $ECHO_C" >&6
2143
2703
else
2152
2712
  IFS=$as_save_IFS
2153
2713
  test -z "$as_dir" && as_dir=.
2154
2714
  for ac_exec_ext in '' $ac_executable_extensions; do
2155
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2715
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2156
2716
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
2157
2717
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158
2718
    break 2
2159
2719
  fi
2160
2720
done
2161
2721
done
 
2722
IFS=$as_save_IFS
2162
2723
 
2163
2724
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
2164
2725
  ;;
2165
2726
esac
2166
2727
fi
2167
2728
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
2168
 
 
2169
2729
if test -n "$INTLTOOL_MSGFMT"; then
2170
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
2171
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
 
2730
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
 
2731
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
2172
2732
else
2173
 
  echo "$as_me:$LINENO: result: no" >&5
2174
 
echo "${ECHO_T}no" >&6
 
2733
  { echo "$as_me:$LINENO: result: no" >&5
 
2734
echo "${ECHO_T}no" >&6; }
2175
2735
fi
2176
2736
 
 
2737
 
2177
2738
# Extract the first word of "msgmerge", so it can be a program name with args.
2178
2739
set dummy msgmerge; ac_word=$2
2179
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2180
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2740
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2741
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2181
2742
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
2182
2743
  echo $ECHO_N "(cached) $ECHO_C" >&6
2183
2744
else
2192
2753
  IFS=$as_save_IFS
2193
2754
  test -z "$as_dir" && as_dir=.
2194
2755
  for ac_exec_ext in '' $ac_executable_extensions; do
2195
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2756
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2196
2757
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
2197
2758
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198
2759
    break 2
2199
2760
  fi
2200
2761
done
2201
2762
done
 
2763
IFS=$as_save_IFS
2202
2764
 
2203
2765
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
2204
2766
  ;;
2205
2767
esac
2206
2768
fi
2207
2769
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
2208
 
 
2209
2770
if test -n "$INTLTOOL_MSGMERGE"; then
2210
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
2211
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
 
2771
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
 
2772
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
2212
2773
else
2213
 
  echo "$as_me:$LINENO: result: no" >&5
2214
 
echo "${ECHO_T}no" >&6
 
2774
  { echo "$as_me:$LINENO: result: no" >&5
 
2775
echo "${ECHO_T}no" >&6; }
2215
2776
fi
2216
2777
 
 
2778
 
2217
2779
# Extract the first word of "xgettext", so it can be a program name with args.
2218
2780
set dummy xgettext; ac_word=$2
2219
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2220
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2781
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2782
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2221
2783
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
2222
2784
  echo $ECHO_N "(cached) $ECHO_C" >&6
2223
2785
else
2232
2794
  IFS=$as_save_IFS
2233
2795
  test -z "$as_dir" && as_dir=.
2234
2796
  for ac_exec_ext in '' $ac_executable_extensions; do
2235
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2236
2798
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
2237
2799
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238
2800
    break 2
2239
2801
  fi
2240
2802
done
2241
2803
done
 
2804
IFS=$as_save_IFS
2242
2805
 
2243
2806
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
2244
2807
  ;;
2245
2808
esac
2246
2809
fi
2247
2810
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
2248
 
 
2249
2811
if test -n "$INTLTOOL_XGETTEXT"; then
2250
 
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
2251
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
2252
 
else
2253
 
  echo "$as_me:$LINENO: result: no" >&5
2254
 
echo "${ECHO_T}no" >&6
2255
 
fi
2256
 
 
2257
 
 
2258
 
# Remove file type tags (using []) from po/POTFILES.
2259
 
 
2260
 
 
2261
 
 
2262
 
 
2263
 
 
2264
 
 
2265
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2266
 
  # Keeping the `.' argument allows $(mkdir_p) to be used without
2267
 
  # argument.  Indeed, we sometimes output rules like
2268
 
  #   $(mkdir_p) $(somedir)
2269
 
  # where $(somedir) is conditionally defined.
2270
 
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
2271
 
  # expensive solution, as it forces Make to start a sub-shell.)
2272
 
  mkdir_p='mkdir -p -- .'
2273
 
else
2274
 
  # On NextStep and OpenStep, the `mkdir' command does not
2275
 
  # recognize any option.  It will interpret all options as
2276
 
  # directories to create, and then abort because `.' already
2277
 
  # exists.
2278
 
  for d in ./-p ./--version;
2279
 
  do
2280
 
    test -d $d && rmdir $d
2281
 
  done
2282
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2283
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2284
 
    mkdir_p='$(mkinstalldirs)'
2285
 
  else
2286
 
    mkdir_p='$(install_sh) -d'
2287
 
  fi
2288
 
fi
2289
 
 
2290
 
 
2291
 
 
2292
 
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
2293
 
 
2294
 
          ac_config_commands="$ac_config_commands intltool"
2295
 
 
2296
 
 
2297
 
 
2298
 
 
2299
 
# Check whether --enable-shared or --disable-shared was given.
 
2812
  { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
 
2813
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
 
2814
else
 
2815
  { echo "$as_me:$LINENO: result: no" >&5
 
2816
echo "${ECHO_T}no" >&6; }
 
2817
fi
 
2818
 
 
2819
 
 
2820
 
 
2821
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
2822
 
 
2823
 
 
2824
 
 
2825
 
 
2826
 
 
2827
ac_config_commands="$ac_config_commands intltool"
 
2828
 
 
2829
 
 
2830
 
 
2831
 
 
2832
# Check whether --enable-shared was given.
2300
2833
if test "${enable_shared+set}" = set; then
2301
 
  enableval="$enable_shared"
2302
 
  p=${PACKAGE-default}
 
2834
  enableval=$enable_shared; p=${PACKAGE-default}
2303
2835
    case $enableval in
2304
2836
    yes) enable_shared=yes ;;
2305
2837
    no) enable_shared=no ;;
2318
2850
    esac
2319
2851
else
2320
2852
  enable_shared=yes
2321
 
fi;
2322
 
 
2323
 
# Check whether --enable-static or --disable-static was given.
 
2853
fi
 
2854
 
 
2855
 
 
2856
# Check whether --enable-static was given.
2324
2857
if test "${enable_static+set}" = set; then
2325
 
  enableval="$enable_static"
2326
 
  p=${PACKAGE-default}
 
2858
  enableval=$enable_static; p=${PACKAGE-default}
2327
2859
    case $enableval in
2328
2860
    yes) enable_static=yes ;;
2329
2861
    no) enable_static=no ;;
2342
2874
    esac
2343
2875
else
2344
2876
  enable_static=yes
2345
 
fi;
2346
 
 
2347
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
2877
fi
 
2878
 
 
2879
 
 
2880
# Check whether --enable-fast-install was given.
2348
2881
if test "${enable_fast_install+set}" = set; then
2349
 
  enableval="$enable_fast_install"
2350
 
  p=${PACKAGE-default}
 
2882
  enableval=$enable_fast_install; p=${PACKAGE-default}
2351
2883
    case $enableval in
2352
2884
    yes) enable_fast_install=yes ;;
2353
2885
    no) enable_fast_install=no ;;
2366
2898
    esac
2367
2899
else
2368
2900
  enable_fast_install=yes
2369
 
fi;
 
2901
fi
 
2902
 
2370
2903
 
2371
2904
# Make sure we can run config.sub.
2372
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2373
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2374
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2905
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2906
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2907
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2375
2908
   { (exit 1); exit 1; }; }
2376
2909
 
2377
 
echo "$as_me:$LINENO: checking build system type" >&5
2378
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2910
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2911
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2379
2912
if test "${ac_cv_build+set}" = set; then
2380
2913
  echo $ECHO_N "(cached) $ECHO_C" >&6
2381
2914
else
2382
 
  ac_cv_build_alias=$build_alias
2383
 
test -z "$ac_cv_build_alias" &&
2384
 
  ac_cv_build_alias=`$ac_config_guess`
2385
 
test -z "$ac_cv_build_alias" &&
 
2915
  ac_build_alias=$build_alias
 
2916
test "x$ac_build_alias" = x &&
 
2917
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2918
test "x$ac_build_alias" = x &&
2386
2919
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2387
2920
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2388
2921
   { (exit 1); exit 1; }; }
2389
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2390
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2391
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2922
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2923
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2924
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2392
2925
   { (exit 1); exit 1; }; }
2393
2926
 
2394
2927
fi
2395
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2396
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2928
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2929
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2930
case $ac_cv_build in
 
2931
*-*-*) ;;
 
2932
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2933
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2934
   { (exit 1); exit 1; }; };;
 
2935
esac
2397
2936
build=$ac_cv_build
2398
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2399
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2400
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2401
 
 
2402
 
 
2403
 
echo "$as_me:$LINENO: checking host system type" >&5
2404
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2937
ac_save_IFS=$IFS; IFS='-'
 
2938
set x $ac_cv_build
 
2939
shift
 
2940
build_cpu=$1
 
2941
build_vendor=$2
 
2942
shift; shift
 
2943
# Remember, the first character of IFS is used to create $*,
 
2944
# except with old shells:
 
2945
build_os=$*
 
2946
IFS=$ac_save_IFS
 
2947
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2948
 
 
2949
 
 
2950
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2951
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2405
2952
if test "${ac_cv_host+set}" = set; then
2406
2953
  echo $ECHO_N "(cached) $ECHO_C" >&6
2407
2954
else
2408
 
  ac_cv_host_alias=$host_alias
2409
 
test -z "$ac_cv_host_alias" &&
2410
 
  ac_cv_host_alias=$ac_cv_build_alias
2411
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2412
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2413
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2955
  if test "x$host_alias" = x; then
 
2956
  ac_cv_host=$ac_cv_build
 
2957
else
 
2958
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2959
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2960
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2414
2961
   { (exit 1); exit 1; }; }
 
2962
fi
2415
2963
 
2416
2964
fi
2417
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2418
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2965
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2966
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2967
case $ac_cv_host in
 
2968
*-*-*) ;;
 
2969
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2970
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2971
   { (exit 1); exit 1; }; };;
 
2972
esac
2419
2973
host=$ac_cv_host
2420
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2421
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2422
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2974
ac_save_IFS=$IFS; IFS='-'
 
2975
set x $ac_cv_host
 
2976
shift
 
2977
host_cpu=$1
 
2978
host_vendor=$2
 
2979
shift; shift
 
2980
# Remember, the first character of IFS is used to create $*,
 
2981
# except with old shells:
 
2982
host_os=$*
 
2983
IFS=$ac_save_IFS
 
2984
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2423
2985
 
2424
2986
 
2425
2987
DEPDIR="${am__leading_dot}deps"
2426
2988
 
2427
 
          ac_config_commands="$ac_config_commands depfiles"
 
2989
ac_config_commands="$ac_config_commands depfiles"
2428
2990
 
2429
2991
 
2430
2992
am_make=${MAKE-make}
2434
2996
.PHONY: am__doit
2435
2997
END
2436
2998
# If we don't find an include directive, just comment out the code.
2437
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2438
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2999
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3000
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2439
3001
am__include="#"
2440
3002
am__quote=
2441
3003
_am_result=none
2462
3024
fi
2463
3025
 
2464
3026
 
2465
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2466
 
echo "${ECHO_T}$_am_result" >&6
 
3027
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3028
echo "${ECHO_T}$_am_result" >&6; }
2467
3029
rm -f confinc confmf
2468
3030
 
2469
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3031
# Check whether --enable-dependency-tracking was given.
2470
3032
if test "${enable_dependency_tracking+set}" = set; then
2471
 
  enableval="$enable_dependency_tracking"
 
3033
  enableval=$enable_dependency_tracking;
 
3034
fi
2472
3035
 
2473
 
fi;
2474
3036
if test "x$enable_dependency_tracking" != xno; then
2475
3037
  am_depcomp="$ac_aux_dir/depcomp"
2476
3038
  AMDEPBACKSLASH='\'
2495
3057
if test -n "$ac_tool_prefix"; then
2496
3058
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2497
3059
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2498
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2499
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3060
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3061
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2500
3062
if test "${ac_cv_prog_CC+set}" = set; then
2501
3063
  echo $ECHO_N "(cached) $ECHO_C" >&6
2502
3064
else
2509
3071
  IFS=$as_save_IFS
2510
3072
  test -z "$as_dir" && as_dir=.
2511
3073
  for ac_exec_ext in '' $ac_executable_extensions; do
2512
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3074
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2513
3075
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2514
3076
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515
3077
    break 2
2516
3078
  fi
2517
3079
done
2518
3080
done
 
3081
IFS=$as_save_IFS
2519
3082
 
2520
3083
fi
2521
3084
fi
2522
3085
CC=$ac_cv_prog_CC
2523
3086
if test -n "$CC"; then
2524
 
  echo "$as_me:$LINENO: result: $CC" >&5
2525
 
echo "${ECHO_T}$CC" >&6
 
3087
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3088
echo "${ECHO_T}$CC" >&6; }
2526
3089
else
2527
 
  echo "$as_me:$LINENO: result: no" >&5
2528
 
echo "${ECHO_T}no" >&6
 
3090
  { echo "$as_me:$LINENO: result: no" >&5
 
3091
echo "${ECHO_T}no" >&6; }
2529
3092
fi
 
3093
 
2530
3094
 
2531
3095
fi
2532
3096
if test -z "$ac_cv_prog_CC"; then
2533
3097
  ac_ct_CC=$CC
2534
3098
  # Extract the first word of "gcc", so it can be a program name with args.
2535
3099
set dummy gcc; ac_word=$2
2536
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2537
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3100
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3101
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2538
3102
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2539
3103
  echo $ECHO_N "(cached) $ECHO_C" >&6
2540
3104
else
2547
3111
  IFS=$as_save_IFS
2548
3112
  test -z "$as_dir" && as_dir=.
2549
3113
  for ac_exec_ext in '' $ac_executable_extensions; do
2550
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2551
3115
    ac_cv_prog_ac_ct_CC="gcc"
2552
3116
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553
3117
    break 2
2554
3118
  fi
2555
3119
done
2556
3120
done
 
3121
IFS=$as_save_IFS
2557
3122
 
2558
3123
fi
2559
3124
fi
2560
3125
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2561
3126
if test -n "$ac_ct_CC"; then
2562
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2563
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3127
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3128
echo "${ECHO_T}$ac_ct_CC" >&6; }
2564
3129
else
2565
 
  echo "$as_me:$LINENO: result: no" >&5
2566
 
echo "${ECHO_T}no" >&6
 
3130
  { echo "$as_me:$LINENO: result: no" >&5
 
3131
echo "${ECHO_T}no" >&6; }
2567
3132
fi
2568
3133
 
2569
 
  CC=$ac_ct_CC
 
3134
  if test "x$ac_ct_CC" = x; then
 
3135
    CC=""
 
3136
  else
 
3137
    case $cross_compiling:$ac_tool_warned in
 
3138
yes:)
 
3139
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3140
whose name does not start with the host triplet.  If you think this
 
3141
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3142
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3143
whose name does not start with the host triplet.  If you think this
 
3144
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3145
ac_tool_warned=yes ;;
 
3146
esac
 
3147
    CC=$ac_ct_CC
 
3148
  fi
2570
3149
else
2571
3150
  CC="$ac_cv_prog_CC"
2572
3151
fi
2573
3152
 
2574
3153
if test -z "$CC"; then
2575
 
  if test -n "$ac_tool_prefix"; then
2576
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3154
          if test -n "$ac_tool_prefix"; then
 
3155
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2577
3156
set dummy ${ac_tool_prefix}cc; ac_word=$2
2578
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2579
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3157
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3158
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2580
3159
if test "${ac_cv_prog_CC+set}" = set; then
2581
3160
  echo $ECHO_N "(cached) $ECHO_C" >&6
2582
3161
else
2589
3168
  IFS=$as_save_IFS
2590
3169
  test -z "$as_dir" && as_dir=.
2591
3170
  for ac_exec_ext in '' $ac_executable_extensions; do
2592
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3171
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2593
3172
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2594
3173
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595
3174
    break 2
2596
3175
  fi
2597
3176
done
2598
3177
done
 
3178
IFS=$as_save_IFS
2599
3179
 
2600
3180
fi
2601
3181
fi
2602
3182
CC=$ac_cv_prog_CC
2603
3183
if test -n "$CC"; then
2604
 
  echo "$as_me:$LINENO: result: $CC" >&5
2605
 
echo "${ECHO_T}$CC" >&6
2606
 
else
2607
 
  echo "$as_me:$LINENO: result: no" >&5
2608
 
echo "${ECHO_T}no" >&6
2609
 
fi
2610
 
 
2611
 
fi
2612
 
if test -z "$ac_cv_prog_CC"; then
2613
 
  ac_ct_CC=$CC
2614
 
  # Extract the first word of "cc", so it can be a program name with args.
2615
 
set dummy cc; ac_word=$2
2616
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2617
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2618
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2619
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2620
 
else
2621
 
  if test -n "$ac_ct_CC"; then
2622
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2623
 
else
2624
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625
 
for as_dir in $PATH
2626
 
do
2627
 
  IFS=$as_save_IFS
2628
 
  test -z "$as_dir" && as_dir=.
2629
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2630
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2631
 
    ac_cv_prog_ac_ct_CC="cc"
2632
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2633
 
    break 2
 
3184
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3185
echo "${ECHO_T}$CC" >&6; }
 
3186
else
 
3187
  { echo "$as_me:$LINENO: result: no" >&5
 
3188
echo "${ECHO_T}no" >&6; }
 
3189
fi
 
3190
 
 
3191
 
2634
3192
  fi
2635
 
done
2636
 
done
2637
 
 
2638
 
fi
2639
 
fi
2640
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2641
 
if test -n "$ac_ct_CC"; then
2642
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2643
 
echo "${ECHO_T}$ac_ct_CC" >&6
2644
 
else
2645
 
  echo "$as_me:$LINENO: result: no" >&5
2646
 
echo "${ECHO_T}no" >&6
2647
 
fi
2648
 
 
2649
 
  CC=$ac_ct_CC
2650
 
else
2651
 
  CC="$ac_cv_prog_CC"
2652
 
fi
2653
 
 
2654
3193
fi
2655
3194
if test -z "$CC"; then
2656
3195
  # Extract the first word of "cc", so it can be a program name with args.
2657
3196
set dummy cc; ac_word=$2
2658
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2659
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2660
3199
if test "${ac_cv_prog_CC+set}" = set; then
2661
3200
  echo $ECHO_N "(cached) $ECHO_C" >&6
2662
3201
else
2670
3209
  IFS=$as_save_IFS
2671
3210
  test -z "$as_dir" && as_dir=.
2672
3211
  for ac_exec_ext in '' $ac_executable_extensions; do
2673
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3212
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2674
3213
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2675
3214
       ac_prog_rejected=yes
2676
3215
       continue
2681
3220
  fi
2682
3221
done
2683
3222
done
 
3223
IFS=$as_save_IFS
2684
3224
 
2685
3225
if test $ac_prog_rejected = yes; then
2686
3226
  # We found a bogon in the path, so make sure we never use it.
2698
3238
fi
2699
3239
CC=$ac_cv_prog_CC
2700
3240
if test -n "$CC"; then
2701
 
  echo "$as_me:$LINENO: result: $CC" >&5
2702
 
echo "${ECHO_T}$CC" >&6
 
3241
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3242
echo "${ECHO_T}$CC" >&6; }
2703
3243
else
2704
 
  echo "$as_me:$LINENO: result: no" >&5
2705
 
echo "${ECHO_T}no" >&6
 
3244
  { echo "$as_me:$LINENO: result: no" >&5
 
3245
echo "${ECHO_T}no" >&6; }
2706
3246
fi
 
3247
 
2707
3248
 
2708
3249
fi
2709
3250
if test -z "$CC"; then
2710
3251
  if test -n "$ac_tool_prefix"; then
2711
 
  for ac_prog in cl
 
3252
  for ac_prog in cl.exe
2712
3253
  do
2713
3254
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2714
3255
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2715
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2716
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3256
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3257
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2717
3258
if test "${ac_cv_prog_CC+set}" = set; then
2718
3259
  echo $ECHO_N "(cached) $ECHO_C" >&6
2719
3260
else
2726
3267
  IFS=$as_save_IFS
2727
3268
  test -z "$as_dir" && as_dir=.
2728
3269
  for ac_exec_ext in '' $ac_executable_extensions; do
2729
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3270
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2730
3271
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2731
3272
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2732
3273
    break 2
2733
3274
  fi
2734
3275
done
2735
3276
done
 
3277
IFS=$as_save_IFS
2736
3278
 
2737
3279
fi
2738
3280
fi
2739
3281
CC=$ac_cv_prog_CC
2740
3282
if test -n "$CC"; then
2741
 
  echo "$as_me:$LINENO: result: $CC" >&5
2742
 
echo "${ECHO_T}$CC" >&6
 
3283
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3284
echo "${ECHO_T}$CC" >&6; }
2743
3285
else
2744
 
  echo "$as_me:$LINENO: result: no" >&5
2745
 
echo "${ECHO_T}no" >&6
 
3286
  { echo "$as_me:$LINENO: result: no" >&5
 
3287
echo "${ECHO_T}no" >&6; }
2746
3288
fi
2747
3289
 
 
3290
 
2748
3291
    test -n "$CC" && break
2749
3292
  done
2750
3293
fi
2751
3294
if test -z "$CC"; then
2752
3295
  ac_ct_CC=$CC
2753
 
  for ac_prog in cl
 
3296
  for ac_prog in cl.exe
2754
3297
do
2755
3298
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2756
3299
set dummy $ac_prog; ac_word=$2
2757
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2758
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3300
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3301
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2759
3302
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2760
3303
  echo $ECHO_N "(cached) $ECHO_C" >&6
2761
3304
else
2768
3311
  IFS=$as_save_IFS
2769
3312
  test -z "$as_dir" && as_dir=.
2770
3313
  for ac_exec_ext in '' $ac_executable_extensions; do
2771
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3314
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2772
3315
    ac_cv_prog_ac_ct_CC="$ac_prog"
2773
3316
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2774
3317
    break 2
2775
3318
  fi
2776
3319
done
2777
3320
done
 
3321
IFS=$as_save_IFS
2778
3322
 
2779
3323
fi
2780
3324
fi
2781
3325
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2782
3326
if test -n "$ac_ct_CC"; then
2783
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2784
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3327
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3328
echo "${ECHO_T}$ac_ct_CC" >&6; }
2785
3329
else
2786
 
  echo "$as_me:$LINENO: result: no" >&5
2787
 
echo "${ECHO_T}no" >&6
 
3330
  { echo "$as_me:$LINENO: result: no" >&5
 
3331
echo "${ECHO_T}no" >&6; }
2788
3332
fi
2789
3333
 
 
3334
 
2790
3335
  test -n "$ac_ct_CC" && break
2791
3336
done
2792
3337
 
2793
 
  CC=$ac_ct_CC
 
3338
  if test "x$ac_ct_CC" = x; then
 
3339
    CC=""
 
3340
  else
 
3341
    case $cross_compiling:$ac_tool_warned in
 
3342
yes:)
 
3343
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3344
whose name does not start with the host triplet.  If you think this
 
3345
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3346
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3347
whose name does not start with the host triplet.  If you think this
 
3348
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3349
ac_tool_warned=yes ;;
 
3350
esac
 
3351
    CC=$ac_ct_CC
 
3352
  fi
2794
3353
fi
2795
3354
 
2796
3355
fi
2803
3362
   { (exit 1); exit 1; }; }
2804
3363
 
2805
3364
# Provide some information about the compiler.
2806
 
echo "$as_me:$LINENO:" \
2807
 
     "checking for C compiler version" >&5
 
3365
echo "$as_me:$LINENO: checking for C compiler version" >&5
2808
3366
ac_compiler=`set X $ac_compile; echo $2`
2809
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2810
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2811
 
  ac_status=$?
2812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813
 
  (exit $ac_status); }
2814
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2815
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2816
 
  ac_status=$?
2817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818
 
  (exit $ac_status); }
2819
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2820
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3367
{ (ac_try="$ac_compiler --version >&5"
 
3368
case "(($ac_try" in
 
3369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3370
  *) ac_try_echo=$ac_try;;
 
3371
esac
 
3372
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3373
  (eval "$ac_compiler --version >&5") 2>&5
 
3374
  ac_status=$?
 
3375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3376
  (exit $ac_status); }
 
3377
{ (ac_try="$ac_compiler -v >&5"
 
3378
case "(($ac_try" in
 
3379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3380
  *) ac_try_echo=$ac_try;;
 
3381
esac
 
3382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3383
  (eval "$ac_compiler -v >&5") 2>&5
 
3384
  ac_status=$?
 
3385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3386
  (exit $ac_status); }
 
3387
{ (ac_try="$ac_compiler -V >&5"
 
3388
case "(($ac_try" in
 
3389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3390
  *) ac_try_echo=$ac_try;;
 
3391
esac
 
3392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3393
  (eval "$ac_compiler -V >&5") 2>&5
2821
3394
  ac_status=$?
2822
3395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823
3396
  (exit $ac_status); }
2842
3415
# Try to create an executable without -o first, disregard a.out.
2843
3416
# It will help us diagnose broken compilers, and finding out an intuition
2844
3417
# of exeext.
2845
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2846
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3418
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3419
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2847
3420
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2848
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2849
 
  (eval $ac_link_default) 2>&5
 
3421
#
 
3422
# List of possible output files, starting from the most likely.
 
3423
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3424
# only as a last resort.  b.out is created by i960 compilers.
 
3425
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3426
#
 
3427
# The IRIX 6 linker writes into existing files which may not be
 
3428
# executable, retaining their permissions.  Remove them first so a
 
3429
# subsequent execution test works.
 
3430
ac_rmfiles=
 
3431
for ac_file in $ac_files
 
3432
do
 
3433
  case $ac_file in
 
3434
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3435
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3436
  esac
 
3437
done
 
3438
rm -f $ac_rmfiles
 
3439
 
 
3440
if { (ac_try="$ac_link_default"
 
3441
case "(($ac_try" in
 
3442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3443
  *) ac_try_echo=$ac_try;;
 
3444
esac
 
3445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3446
  (eval "$ac_link_default") 2>&5
2850
3447
  ac_status=$?
2851
3448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852
3449
  (exit $ac_status); }; then
2853
 
  # Find the output, starting from the most likely.  This scheme is
2854
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2855
 
# resort.
2856
 
 
2857
 
# Be careful to initialize this variable, since it used to be cached.
2858
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2859
 
ac_cv_exeext=
2860
 
# b.out is created by i960 compilers.
2861
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3450
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3451
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3452
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3453
# so that the user can short-circuit this test for compilers unknown to
 
3454
# Autoconf.
 
3455
for ac_file in $ac_files
2862
3456
do
2863
3457
  test -f "$ac_file" || continue
2864
3458
  case $ac_file in
2865
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2866
 
        ;;
2867
 
    conftest.$ac_ext )
2868
 
        # This is the source file.
 
3459
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2869
3460
        ;;
2870
3461
    [ab].out )
2871
3462
        # We found the default executable, but exeext='' is most
2872
3463
        # certainly right.
2873
3464
        break;;
2874
3465
    *.* )
2875
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2876
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2877
 
        # but it would be cool to find out if it's true.  Does anybody
2878
 
        # maintain Libtool? --akim.
2879
 
        export ac_cv_exeext
 
3466
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3467
        then :; else
 
3468
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3469
        fi
 
3470
        # We set ac_cv_exeext here because the later test for it is not
 
3471
        # safe: cross compilers may not add the suffix if given an `-o'
 
3472
        # argument, so we may need to know it at that point already.
 
3473
        # Even if this section looks crufty: it has the advantage of
 
3474
        # actually working.
2880
3475
        break;;
2881
3476
    * )
2882
3477
        break;;
2883
3478
  esac
2884
3479
done
 
3480
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3481
 
2885
3482
else
2886
3483
  echo "$as_me: failed program was:" >&5
2887
3484
sed 's/^/| /' conftest.$ac_ext >&5
2894
3491
fi
2895
3492
 
2896
3493
ac_exeext=$ac_cv_exeext
2897
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2898
 
echo "${ECHO_T}$ac_file" >&6
 
3494
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3495
echo "${ECHO_T}$ac_file" >&6; }
2899
3496
 
2900
 
# Check the compiler produces executables we can run.  If not, either
 
3497
# Check that the compiler produces executables we can run.  If not, either
2901
3498
# the compiler is broken, or we cross compile.
2902
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2903
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3499
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3500
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2904
3501
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2905
3502
# If not cross compiling, check that we can run a simple program.
2906
3503
if test "$cross_compiling" != yes; then
2907
3504
  if { ac_try='./$ac_file'
2908
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2909
 
  (eval $ac_try) 2>&5
 
3505
  { (case "(($ac_try" in
 
3506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3507
  *) ac_try_echo=$ac_try;;
 
3508
esac
 
3509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3510
  (eval "$ac_try") 2>&5
2910
3511
  ac_status=$?
2911
3512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
3513
  (exit $ac_status); }; }; then
2925
3526
    fi
2926
3527
  fi
2927
3528
fi
2928
 
echo "$as_me:$LINENO: result: yes" >&5
2929
 
echo "${ECHO_T}yes" >&6
 
3529
{ echo "$as_me:$LINENO: result: yes" >&5
 
3530
echo "${ECHO_T}yes" >&6; }
2930
3531
 
2931
3532
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2932
3533
ac_clean_files=$ac_clean_files_save
2933
 
# Check the compiler produces executables we can run.  If not, either
 
3534
# Check that the compiler produces executables we can run.  If not, either
2934
3535
# the compiler is broken, or we cross compile.
2935
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2936
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2937
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2938
 
echo "${ECHO_T}$cross_compiling" >&6
 
3536
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3537
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3538
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3539
echo "${ECHO_T}$cross_compiling" >&6; }
2939
3540
 
2940
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2941
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2942
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2943
 
  (eval $ac_link) 2>&5
 
3541
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3542
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3543
if { (ac_try="$ac_link"
 
3544
case "(($ac_try" in
 
3545
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3546
  *) ac_try_echo=$ac_try;;
 
3547
esac
 
3548
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3549
  (eval "$ac_link") 2>&5
2944
3550
  ac_status=$?
2945
3551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946
3552
  (exit $ac_status); }; then
2951
3557
for ac_file in conftest.exe conftest conftest.*; do
2952
3558
  test -f "$ac_file" || continue
2953
3559
  case $ac_file in
2954
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3560
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2955
3561
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2956
 
          export ac_cv_exeext
2957
3562
          break;;
2958
3563
    * ) break;;
2959
3564
  esac
2967
3572
fi
2968
3573
 
2969
3574
rm -f conftest$ac_cv_exeext
2970
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2971
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3575
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3576
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2972
3577
 
2973
3578
rm -f conftest.$ac_ext
2974
3579
EXEEXT=$ac_cv_exeext
2975
3580
ac_exeext=$EXEEXT
2976
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2977
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3581
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3582
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2978
3583
if test "${ac_cv_objext+set}" = set; then
2979
3584
  echo $ECHO_N "(cached) $ECHO_C" >&6
2980
3585
else
2994
3599
}
2995
3600
_ACEOF
2996
3601
rm -f conftest.o conftest.obj
2997
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2998
 
  (eval $ac_compile) 2>&5
 
3602
if { (ac_try="$ac_compile"
 
3603
case "(($ac_try" in
 
3604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3605
  *) ac_try_echo=$ac_try;;
 
3606
esac
 
3607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3608
  (eval "$ac_compile") 2>&5
2999
3609
  ac_status=$?
3000
3610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001
3611
  (exit $ac_status); }; then
3002
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3612
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3613
  test -f "$ac_file" || continue;
3003
3614
  case $ac_file in
3004
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3615
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3005
3616
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3006
3617
       break;;
3007
3618
  esac
3019
3630
 
3020
3631
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3021
3632
fi
3022
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3023
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3633
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3634
echo "${ECHO_T}$ac_cv_objext" >&6; }
3024
3635
OBJEXT=$ac_cv_objext
3025
3636
ac_objext=$OBJEXT
3026
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3027
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3637
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3638
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3028
3639
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3029
3640
  echo $ECHO_N "(cached) $ECHO_C" >&6
3030
3641
else
3047
3658
}
3048
3659
_ACEOF
3049
3660
rm -f conftest.$ac_objext
3050
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3051
 
  (eval $ac_compile) 2>conftest.er1
 
3661
if { (ac_try="$ac_compile"
 
3662
case "(($ac_try" in
 
3663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3664
  *) ac_try_echo=$ac_try;;
 
3665
esac
 
3666
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3667
  (eval "$ac_compile") 2>conftest.er1
3052
3668
  ac_status=$?
3053
3669
  grep -v '^ *+' conftest.er1 >conftest.err
3054
3670
  rm -f conftest.er1
3055
3671
  cat conftest.err >&5
3056
3672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
3673
  (exit $ac_status); } &&
3058
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3059
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060
 
  (eval $ac_try) 2>&5
 
3674
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3675
  { (case "(($ac_try" in
 
3676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3677
  *) ac_try_echo=$ac_try;;
 
3678
esac
 
3679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3680
  (eval "$ac_try") 2>&5
3061
3681
  ac_status=$?
3062
3682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063
3683
  (exit $ac_status); }; } &&
3064
3684
         { ac_try='test -s conftest.$ac_objext'
3065
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066
 
  (eval $ac_try) 2>&5
 
3685
  { (case "(($ac_try" in
 
3686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3687
  *) ac_try_echo=$ac_try;;
 
3688
esac
 
3689
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3690
  (eval "$ac_try") 2>&5
3067
3691
  ac_status=$?
3068
3692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069
3693
  (exit $ac_status); }; }; then
3072
3696
  echo "$as_me: failed program was:" >&5
3073
3697
sed 's/^/| /' conftest.$ac_ext >&5
3074
3698
 
3075
 
ac_compiler_gnu=no
 
3699
        ac_compiler_gnu=no
3076
3700
fi
3077
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3701
 
 
3702
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078
3703
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3079
3704
 
3080
3705
fi
3081
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3082
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3706
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3707
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3083
3708
GCC=`test $ac_compiler_gnu = yes && echo yes`
3084
3709
ac_test_CFLAGS=${CFLAGS+set}
3085
3710
ac_save_CFLAGS=$CFLAGS
3086
 
CFLAGS="-g"
3087
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3088
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3711
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3712
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3089
3713
if test "${ac_cv_prog_cc_g+set}" = set; then
3090
3714
  echo $ECHO_N "(cached) $ECHO_C" >&6
3091
3715
else
3092
 
  cat >conftest.$ac_ext <<_ACEOF
3093
 
/* confdefs.h.  */
3094
 
_ACEOF
3095
 
cat confdefs.h >>conftest.$ac_ext
3096
 
cat >>conftest.$ac_ext <<_ACEOF
3097
 
/* end confdefs.h.  */
3098
 
 
3099
 
int
3100
 
main ()
3101
 
{
3102
 
 
3103
 
  ;
3104
 
  return 0;
3105
 
}
3106
 
_ACEOF
3107
 
rm -f conftest.$ac_objext
3108
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3109
 
  (eval $ac_compile) 2>conftest.er1
3110
 
  ac_status=$?
3111
 
  grep -v '^ *+' conftest.er1 >conftest.err
3112
 
  rm -f conftest.er1
3113
 
  cat conftest.err >&5
3114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115
 
  (exit $ac_status); } &&
3116
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3117
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118
 
  (eval $ac_try) 2>&5
3119
 
  ac_status=$?
3120
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121
 
  (exit $ac_status); }; } &&
3122
 
         { ac_try='test -s conftest.$ac_objext'
3123
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124
 
  (eval $ac_try) 2>&5
3125
 
  ac_status=$?
3126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127
 
  (exit $ac_status); }; }; then
3128
 
  ac_cv_prog_cc_g=yes
3129
 
else
3130
 
  echo "$as_me: failed program was:" >&5
3131
 
sed 's/^/| /' conftest.$ac_ext >&5
3132
 
 
3133
 
ac_cv_prog_cc_g=no
3134
 
fi
3135
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3136
 
fi
3137
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3138
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3716
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3717
   ac_c_werror_flag=yes
 
3718
   ac_cv_prog_cc_g=no
 
3719
   CFLAGS="-g"
 
3720
   cat >conftest.$ac_ext <<_ACEOF
 
3721
/* confdefs.h.  */
 
3722
_ACEOF
 
3723
cat confdefs.h >>conftest.$ac_ext
 
3724
cat >>conftest.$ac_ext <<_ACEOF
 
3725
/* end confdefs.h.  */
 
3726
 
 
3727
int
 
3728
main ()
 
3729
{
 
3730
 
 
3731
  ;
 
3732
  return 0;
 
3733
}
 
3734
_ACEOF
 
3735
rm -f conftest.$ac_objext
 
3736
if { (ac_try="$ac_compile"
 
3737
case "(($ac_try" in
 
3738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3739
  *) ac_try_echo=$ac_try;;
 
3740
esac
 
3741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3742
  (eval "$ac_compile") 2>conftest.er1
 
3743
  ac_status=$?
 
3744
  grep -v '^ *+' conftest.er1 >conftest.err
 
3745
  rm -f conftest.er1
 
3746
  cat conftest.err >&5
 
3747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3748
  (exit $ac_status); } &&
 
3749
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3750
  { (case "(($ac_try" in
 
3751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3752
  *) ac_try_echo=$ac_try;;
 
3753
esac
 
3754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3755
  (eval "$ac_try") 2>&5
 
3756
  ac_status=$?
 
3757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3758
  (exit $ac_status); }; } &&
 
3759
         { ac_try='test -s conftest.$ac_objext'
 
3760
  { (case "(($ac_try" in
 
3761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3762
  *) ac_try_echo=$ac_try;;
 
3763
esac
 
3764
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3765
  (eval "$ac_try") 2>&5
 
3766
  ac_status=$?
 
3767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3768
  (exit $ac_status); }; }; then
 
3769
  ac_cv_prog_cc_g=yes
 
3770
else
 
3771
  echo "$as_me: failed program was:" >&5
 
3772
sed 's/^/| /' conftest.$ac_ext >&5
 
3773
 
 
3774
        CFLAGS=""
 
3775
      cat >conftest.$ac_ext <<_ACEOF
 
3776
/* confdefs.h.  */
 
3777
_ACEOF
 
3778
cat confdefs.h >>conftest.$ac_ext
 
3779
cat >>conftest.$ac_ext <<_ACEOF
 
3780
/* end confdefs.h.  */
 
3781
 
 
3782
int
 
3783
main ()
 
3784
{
 
3785
 
 
3786
  ;
 
3787
  return 0;
 
3788
}
 
3789
_ACEOF
 
3790
rm -f conftest.$ac_objext
 
3791
if { (ac_try="$ac_compile"
 
3792
case "(($ac_try" in
 
3793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3794
  *) ac_try_echo=$ac_try;;
 
3795
esac
 
3796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3797
  (eval "$ac_compile") 2>conftest.er1
 
3798
  ac_status=$?
 
3799
  grep -v '^ *+' conftest.er1 >conftest.err
 
3800
  rm -f conftest.er1
 
3801
  cat conftest.err >&5
 
3802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3803
  (exit $ac_status); } &&
 
3804
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3805
  { (case "(($ac_try" in
 
3806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3807
  *) ac_try_echo=$ac_try;;
 
3808
esac
 
3809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3810
  (eval "$ac_try") 2>&5
 
3811
  ac_status=$?
 
3812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3813
  (exit $ac_status); }; } &&
 
3814
         { ac_try='test -s conftest.$ac_objext'
 
3815
  { (case "(($ac_try" in
 
3816
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3817
  *) ac_try_echo=$ac_try;;
 
3818
esac
 
3819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3820
  (eval "$ac_try") 2>&5
 
3821
  ac_status=$?
 
3822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3823
  (exit $ac_status); }; }; then
 
3824
  :
 
3825
else
 
3826
  echo "$as_me: failed program was:" >&5
 
3827
sed 's/^/| /' conftest.$ac_ext >&5
 
3828
 
 
3829
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3830
         CFLAGS="-g"
 
3831
         cat >conftest.$ac_ext <<_ACEOF
 
3832
/* confdefs.h.  */
 
3833
_ACEOF
 
3834
cat confdefs.h >>conftest.$ac_ext
 
3835
cat >>conftest.$ac_ext <<_ACEOF
 
3836
/* end confdefs.h.  */
 
3837
 
 
3838
int
 
3839
main ()
 
3840
{
 
3841
 
 
3842
  ;
 
3843
  return 0;
 
3844
}
 
3845
_ACEOF
 
3846
rm -f conftest.$ac_objext
 
3847
if { (ac_try="$ac_compile"
 
3848
case "(($ac_try" in
 
3849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3850
  *) ac_try_echo=$ac_try;;
 
3851
esac
 
3852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3853
  (eval "$ac_compile") 2>conftest.er1
 
3854
  ac_status=$?
 
3855
  grep -v '^ *+' conftest.er1 >conftest.err
 
3856
  rm -f conftest.er1
 
3857
  cat conftest.err >&5
 
3858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3859
  (exit $ac_status); } &&
 
3860
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3861
  { (case "(($ac_try" in
 
3862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3863
  *) ac_try_echo=$ac_try;;
 
3864
esac
 
3865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3866
  (eval "$ac_try") 2>&5
 
3867
  ac_status=$?
 
3868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3869
  (exit $ac_status); }; } &&
 
3870
         { ac_try='test -s conftest.$ac_objext'
 
3871
  { (case "(($ac_try" in
 
3872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3873
  *) ac_try_echo=$ac_try;;
 
3874
esac
 
3875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3876
  (eval "$ac_try") 2>&5
 
3877
  ac_status=$?
 
3878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3879
  (exit $ac_status); }; }; then
 
3880
  ac_cv_prog_cc_g=yes
 
3881
else
 
3882
  echo "$as_me: failed program was:" >&5
 
3883
sed 's/^/| /' conftest.$ac_ext >&5
 
3884
 
 
3885
 
 
3886
fi
 
3887
 
 
3888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3889
fi
 
3890
 
 
3891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3892
fi
 
3893
 
 
3894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3895
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3896
fi
 
3897
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3898
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3139
3899
if test "$ac_test_CFLAGS" = set; then
3140
3900
  CFLAGS=$ac_save_CFLAGS
3141
3901
elif test $ac_cv_prog_cc_g = yes; then
3151
3911
    CFLAGS=
3152
3912
  fi
3153
3913
fi
3154
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3155
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3156
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3914
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3915
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3916
if test "${ac_cv_prog_cc_c89+set}" = set; then
3157
3917
  echo $ECHO_N "(cached) $ECHO_C" >&6
3158
3918
else
3159
 
  ac_cv_prog_cc_stdc=no
 
3919
  ac_cv_prog_cc_c89=no
3160
3920
ac_save_CC=$CC
3161
3921
cat >conftest.$ac_ext <<_ACEOF
3162
3922
/* confdefs.h.  */
3190
3950
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3191
3951
   function prototypes and stuff, but not '\xHH' hex character constants.
3192
3952
   These don't provoke an error unfortunately, instead are silently treated
3193
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3953
   as 'x'.  The following induces an error, until -std is added to get
3194
3954
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3195
3955
   array size at least.  It's necessary to write '\x00'==0 to get something
3196
 
   that's true only with -std1.  */
 
3956
   that's true only with -std.  */
3197
3957
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3198
3958
 
 
3959
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3960
   inside strings and character constants.  */
 
3961
#define FOO(x) 'x'
 
3962
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3963
 
3199
3964
int test (int i, double x);
3200
3965
struct s1 {int (*f) (int a);};
3201
3966
struct s2 {int (*f) (double a);};
3210
3975
  return 0;
3211
3976
}
3212
3977
_ACEOF
3213
 
# Don't try gcc -ansi; that turns off useful extensions and
3214
 
# breaks some systems' header files.
3215
 
# AIX                   -qlanglvl=ansi
3216
 
# Ultrix and OSF/1      -std1
3217
 
# HP-UX 10.20 and later -Ae
3218
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3219
 
# SVR4                  -Xc -D__EXTENSIONS__
3220
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3978
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3979
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3221
3980
do
3222
3981
  CC="$ac_save_CC $ac_arg"
3223
3982
  rm -f conftest.$ac_objext
3224
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3225
 
  (eval $ac_compile) 2>conftest.er1
 
3983
if { (ac_try="$ac_compile"
 
3984
case "(($ac_try" in
 
3985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3986
  *) ac_try_echo=$ac_try;;
 
3987
esac
 
3988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3989
  (eval "$ac_compile") 2>conftest.er1
3226
3990
  ac_status=$?
3227
3991
  grep -v '^ *+' conftest.er1 >conftest.err
3228
3992
  rm -f conftest.er1
3229
3993
  cat conftest.err >&5
3230
3994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231
3995
  (exit $ac_status); } &&
3232
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234
 
  (eval $ac_try) 2>&5
 
3996
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3997
  { (case "(($ac_try" in
 
3998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3999
  *) ac_try_echo=$ac_try;;
 
4000
esac
 
4001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4002
  (eval "$ac_try") 2>&5
3235
4003
  ac_status=$?
3236
4004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237
4005
  (exit $ac_status); }; } &&
3238
4006
         { ac_try='test -s conftest.$ac_objext'
3239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3240
 
  (eval $ac_try) 2>&5
 
4007
  { (case "(($ac_try" in
 
4008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4009
  *) ac_try_echo=$ac_try;;
 
4010
esac
 
4011
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4012
  (eval "$ac_try") 2>&5
3241
4013
  ac_status=$?
3242
4014
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243
4015
  (exit $ac_status); }; }; then
3244
 
  ac_cv_prog_cc_stdc=$ac_arg
3245
 
break
 
4016
  ac_cv_prog_cc_c89=$ac_arg
3246
4017
else
3247
4018
  echo "$as_me: failed program was:" >&5
3248
4019
sed 's/^/| /' conftest.$ac_ext >&5
3249
4020
 
 
4021
 
3250
4022
fi
3251
 
rm -f conftest.err conftest.$ac_objext
 
4023
 
 
4024
rm -f core conftest.err conftest.$ac_objext
 
4025
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3252
4026
done
3253
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4027
rm -f conftest.$ac_ext
3254
4028
CC=$ac_save_CC
3255
4029
 
3256
4030
fi
3257
 
 
3258
 
case "x$ac_cv_prog_cc_stdc" in
3259
 
  x|xno)
3260
 
    echo "$as_me:$LINENO: result: none needed" >&5
3261
 
echo "${ECHO_T}none needed" >&6 ;;
 
4031
# AC_CACHE_VAL
 
4032
case "x$ac_cv_prog_cc_c89" in
 
4033
  x)
 
4034
    { echo "$as_me:$LINENO: result: none needed" >&5
 
4035
echo "${ECHO_T}none needed" >&6; } ;;
 
4036
  xno)
 
4037
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
4038
echo "${ECHO_T}unsupported" >&6; } ;;
3262
4039
  *)
3263
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3264
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3265
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4040
    CC="$CC $ac_cv_prog_cc_c89"
 
4041
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4042
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3266
4043
esac
3267
4044
 
3268
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3269
 
# in C++ we need to declare it.  In case someone uses the same compiler
3270
 
# for both compiling C and C++ we need to have the C++ compiler decide
3271
 
# the declaration of exit, since it's the most demanding environment.
3272
 
cat >conftest.$ac_ext <<_ACEOF
3273
 
#ifndef __cplusplus
3274
 
  choke me
3275
 
#endif
3276
 
_ACEOF
3277
 
rm -f conftest.$ac_objext
3278
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279
 
  (eval $ac_compile) 2>conftest.er1
3280
 
  ac_status=$?
3281
 
  grep -v '^ *+' conftest.er1 >conftest.err
3282
 
  rm -f conftest.er1
3283
 
  cat conftest.err >&5
3284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285
 
  (exit $ac_status); } &&
3286
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3287
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288
 
  (eval $ac_try) 2>&5
3289
 
  ac_status=$?
3290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291
 
  (exit $ac_status); }; } &&
3292
 
         { ac_try='test -s conftest.$ac_objext'
3293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294
 
  (eval $ac_try) 2>&5
3295
 
  ac_status=$?
3296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297
 
  (exit $ac_status); }; }; then
3298
 
  for ac_declaration in \
3299
 
   '' \
3300
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3301
 
   'extern "C" void std::exit (int); using std::exit;' \
3302
 
   'extern "C" void exit (int) throw ();' \
3303
 
   'extern "C" void exit (int);' \
3304
 
   'void exit (int);'
3305
 
do
3306
 
  cat >conftest.$ac_ext <<_ACEOF
3307
 
/* confdefs.h.  */
3308
 
_ACEOF
3309
 
cat confdefs.h >>conftest.$ac_ext
3310
 
cat >>conftest.$ac_ext <<_ACEOF
3311
 
/* end confdefs.h.  */
3312
 
$ac_declaration
3313
 
#include <stdlib.h>
3314
 
int
3315
 
main ()
3316
 
{
3317
 
exit (42);
3318
 
  ;
3319
 
  return 0;
3320
 
}
3321
 
_ACEOF
3322
 
rm -f conftest.$ac_objext
3323
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3324
 
  (eval $ac_compile) 2>conftest.er1
3325
 
  ac_status=$?
3326
 
  grep -v '^ *+' conftest.er1 >conftest.err
3327
 
  rm -f conftest.er1
3328
 
  cat conftest.err >&5
3329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330
 
  (exit $ac_status); } &&
3331
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3332
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333
 
  (eval $ac_try) 2>&5
3334
 
  ac_status=$?
3335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336
 
  (exit $ac_status); }; } &&
3337
 
         { ac_try='test -s conftest.$ac_objext'
3338
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3339
 
  (eval $ac_try) 2>&5
3340
 
  ac_status=$?
3341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342
 
  (exit $ac_status); }; }; then
3343
 
  :
3344
 
else
3345
 
  echo "$as_me: failed program was:" >&5
3346
 
sed 's/^/| /' conftest.$ac_ext >&5
3347
 
 
3348
 
continue
3349
 
fi
3350
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3351
 
  cat >conftest.$ac_ext <<_ACEOF
3352
 
/* confdefs.h.  */
3353
 
_ACEOF
3354
 
cat confdefs.h >>conftest.$ac_ext
3355
 
cat >>conftest.$ac_ext <<_ACEOF
3356
 
/* end confdefs.h.  */
3357
 
$ac_declaration
3358
 
int
3359
 
main ()
3360
 
{
3361
 
exit (42);
3362
 
  ;
3363
 
  return 0;
3364
 
}
3365
 
_ACEOF
3366
 
rm -f conftest.$ac_objext
3367
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3368
 
  (eval $ac_compile) 2>conftest.er1
3369
 
  ac_status=$?
3370
 
  grep -v '^ *+' conftest.er1 >conftest.err
3371
 
  rm -f conftest.er1
3372
 
  cat conftest.err >&5
3373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374
 
  (exit $ac_status); } &&
3375
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3376
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377
 
  (eval $ac_try) 2>&5
3378
 
  ac_status=$?
3379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380
 
  (exit $ac_status); }; } &&
3381
 
         { ac_try='test -s conftest.$ac_objext'
3382
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3383
 
  (eval $ac_try) 2>&5
3384
 
  ac_status=$?
3385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386
 
  (exit $ac_status); }; }; then
3387
 
  break
3388
 
else
3389
 
  echo "$as_me: failed program was:" >&5
3390
 
sed 's/^/| /' conftest.$ac_ext >&5
3391
 
 
3392
 
fi
3393
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3394
 
done
3395
 
rm -f conftest*
3396
 
if test -n "$ac_declaration"; then
3397
 
  echo '#ifdef __cplusplus' >>confdefs.h
3398
 
  echo $ac_declaration      >>confdefs.h
3399
 
  echo '#endif'             >>confdefs.h
3400
 
fi
3401
 
 
3402
 
else
3403
 
  echo "$as_me: failed program was:" >&5
3404
 
sed 's/^/| /' conftest.$ac_ext >&5
3405
 
 
3406
 
fi
3407
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4045
 
3408
4046
ac_ext=c
3409
4047
ac_cpp='$CPP $CPPFLAGS'
3410
4048
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3413
4051
 
3414
4052
depcc="$CC"   am_compiler_list=
3415
4053
 
3416
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3417
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4054
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4055
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3418
4056
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3419
4057
  echo $ECHO_N "(cached) $ECHO_C" >&6
3420
4058
else
3452
4090
    : > sub/conftest.c
3453
4091
    for i in 1 2 3 4 5 6; do
3454
4092
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3455
 
      : > sub/conftst$i.h
 
4093
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4094
      # Solaris 8's {/usr,}/bin/sh.
 
4095
      touch sub/conftst$i.h
3456
4096
    done
3457
4097
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3458
4098
 
3480
4120
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3481
4121
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3482
4122
      # icc doesn't choke on unknown options, it will just issue warnings
3483
 
      # (even with -Werror).  So we grep stderr for any message
3484
 
      # that says an option was ignored.
3485
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
4123
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4124
      # that says an option was ignored or not supported.
 
4125
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4126
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4127
      # The diagnosis changed in icc 8.0:
 
4128
      #   icc: Command line remark: option '-MP' not supported
 
4129
      if (grep 'ignoring option' conftest.err ||
 
4130
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3486
4131
        am_cv_CC_dependencies_compiler_type=$depmode
3487
4132
        break
3488
4133
      fi
3496
4141
fi
3497
4142
 
3498
4143
fi
3499
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3500
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
4144
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4145
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3501
4146
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3502
4147
 
3503
4148
 
3513
4158
fi
3514
4159
 
3515
4160
 
3516
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3517
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4161
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4162
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3518
4163
if test "${lt_cv_path_SED+set}" = set; then
3519
4164
  echo $ECHO_N "(cached) $ECHO_C" >&6
3520
4165
else
3538
4183
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3539
4184
# along with /bin/sed that truncates output.
3540
4185
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3541
 
  test ! -f $lt_ac_sed && break
 
4186
  test ! -f $lt_ac_sed && continue
3542
4187
  cat /dev/null > conftest.in
3543
4188
  lt_ac_count=0
3544
4189
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3563
4208
    fi
3564
4209
  done
3565
4210
done
 
4211
 
 
4212
fi
 
4213
 
3566
4214
SED=$lt_cv_path_SED
3567
 
 
3568
 
fi
3569
 
 
3570
 
echo "$as_me:$LINENO: result: $SED" >&5
3571
 
echo "${ECHO_T}$SED" >&6
3572
 
 
3573
 
echo "$as_me:$LINENO: checking for egrep" >&5
3574
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3575
 
if test "${ac_cv_prog_egrep+set}" = set; then
3576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3577
 
else
3578
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3579
 
    then ac_cv_prog_egrep='grep -E'
3580
 
    else ac_cv_prog_egrep='egrep'
3581
 
    fi
3582
 
fi
3583
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3584
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3585
 
 EGREP=$ac_cv_prog_egrep
3586
 
 
3587
 
 
3588
 
 
3589
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4215
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4216
echo "${ECHO_T}$SED" >&6; }
 
4217
 
 
4218
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4219
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4220
if test "${ac_cv_path_GREP+set}" = set; then
 
4221
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4222
else
 
4223
  # Extract the first word of "grep ggrep" to use in msg output
 
4224
if test -z "$GREP"; then
 
4225
set dummy grep ggrep; ac_prog_name=$2
 
4226
if test "${ac_cv_path_GREP+set}" = set; then
 
4227
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4228
else
 
4229
  ac_path_GREP_found=false
 
4230
# Loop through the user's path and test for each of PROGNAME-LIST
 
4231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4232
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4233
do
 
4234
  IFS=$as_save_IFS
 
4235
  test -z "$as_dir" && as_dir=.
 
4236
  for ac_prog in grep ggrep; do
 
4237
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4238
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4239
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
4240
    # Check for GNU ac_path_GREP and select it if it is found.
 
4241
  # Check for GNU $ac_path_GREP
 
4242
case `"$ac_path_GREP" --version 2>&1` in
 
4243
*GNU*)
 
4244
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4245
*)
 
4246
  ac_count=0
 
4247
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4248
  while :
 
4249
  do
 
4250
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4251
    mv "conftest.tmp" "conftest.in"
 
4252
    cp "conftest.in" "conftest.nl"
 
4253
    echo 'GREP' >> "conftest.nl"
 
4254
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4255
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4256
    ac_count=`expr $ac_count + 1`
 
4257
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4258
      # Best one so far, save it but keep looking for a better one
 
4259
      ac_cv_path_GREP="$ac_path_GREP"
 
4260
      ac_path_GREP_max=$ac_count
 
4261
    fi
 
4262
    # 10*(2^10) chars as input seems more than enough
 
4263
    test $ac_count -gt 10 && break
 
4264
  done
 
4265
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4266
esac
 
4267
 
 
4268
 
 
4269
    $ac_path_GREP_found && break 3
 
4270
  done
 
4271
done
 
4272
 
 
4273
done
 
4274
IFS=$as_save_IFS
 
4275
 
 
4276
 
 
4277
fi
 
4278
 
 
4279
GREP="$ac_cv_path_GREP"
 
4280
if test -z "$GREP"; then
 
4281
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4282
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4283
   { (exit 1); exit 1; }; }
 
4284
fi
 
4285
 
 
4286
else
 
4287
  ac_cv_path_GREP=$GREP
 
4288
fi
 
4289
 
 
4290
 
 
4291
fi
 
4292
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4293
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4294
 GREP="$ac_cv_path_GREP"
 
4295
 
 
4296
 
 
4297
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4298
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4299
if test "${ac_cv_path_EGREP+set}" = set; then
 
4300
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4301
else
 
4302
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4303
   then ac_cv_path_EGREP="$GREP -E"
 
4304
   else
 
4305
     # Extract the first word of "egrep" to use in msg output
 
4306
if test -z "$EGREP"; then
 
4307
set dummy egrep; ac_prog_name=$2
 
4308
if test "${ac_cv_path_EGREP+set}" = set; then
 
4309
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4310
else
 
4311
  ac_path_EGREP_found=false
 
4312
# Loop through the user's path and test for each of PROGNAME-LIST
 
4313
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4314
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4315
do
 
4316
  IFS=$as_save_IFS
 
4317
  test -z "$as_dir" && as_dir=.
 
4318
  for ac_prog in egrep; do
 
4319
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4320
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4321
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
4322
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4323
  # Check for GNU $ac_path_EGREP
 
4324
case `"$ac_path_EGREP" --version 2>&1` in
 
4325
*GNU*)
 
4326
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4327
*)
 
4328
  ac_count=0
 
4329
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4330
  while :
 
4331
  do
 
4332
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4333
    mv "conftest.tmp" "conftest.in"
 
4334
    cp "conftest.in" "conftest.nl"
 
4335
    echo 'EGREP' >> "conftest.nl"
 
4336
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4337
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4338
    ac_count=`expr $ac_count + 1`
 
4339
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4340
      # Best one so far, save it but keep looking for a better one
 
4341
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4342
      ac_path_EGREP_max=$ac_count
 
4343
    fi
 
4344
    # 10*(2^10) chars as input seems more than enough
 
4345
    test $ac_count -gt 10 && break
 
4346
  done
 
4347
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4348
esac
 
4349
 
 
4350
 
 
4351
    $ac_path_EGREP_found && break 3
 
4352
  done
 
4353
done
 
4354
 
 
4355
done
 
4356
IFS=$as_save_IFS
 
4357
 
 
4358
 
 
4359
fi
 
4360
 
 
4361
EGREP="$ac_cv_path_EGREP"
 
4362
if test -z "$EGREP"; then
 
4363
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4364
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4365
   { (exit 1); exit 1; }; }
 
4366
fi
 
4367
 
 
4368
else
 
4369
  ac_cv_path_EGREP=$EGREP
 
4370
fi
 
4371
 
 
4372
 
 
4373
   fi
 
4374
fi
 
4375
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4376
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4377
 EGREP="$ac_cv_path_EGREP"
 
4378
 
 
4379
 
 
4380
 
 
4381
# Check whether --with-gnu-ld was given.
3590
4382
if test "${with_gnu_ld+set}" = set; then
3591
 
  withval="$with_gnu_ld"
3592
 
  test "$withval" = no || with_gnu_ld=yes
 
4383
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3593
4384
else
3594
4385
  with_gnu_ld=no
3595
 
fi;
 
4386
fi
 
4387
 
3596
4388
ac_prog=ld
3597
4389
if test "$GCC" = yes; then
3598
4390
  # Check if gcc -print-prog-name=ld gives a path.
3599
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3600
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4391
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4392
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3601
4393
  case $host in
3602
4394
  *-*-mingw*)
3603
4395
    # gcc leaves a trailing carriage return which upsets mingw
3626
4418
    ;;
3627
4419
  esac
3628
4420
elif test "$with_gnu_ld" = yes; then
3629
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3630
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4421
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4422
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3631
4423
else
3632
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3633
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4424
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4425
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3634
4426
fi
3635
4427
if test "${lt_cv_path_LD+set}" = set; then
3636
4428
  echo $ECHO_N "(cached) $ECHO_C" >&6
3643
4435
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3644
4436
      lt_cv_path_LD="$ac_dir/$ac_prog"
3645
4437
      # Check to see if the program is GNU ld.  I'd rather use --version,
3646
 
      # but apparently some GNU ld's only accept -v.
 
4438
      # but apparently some variants of GNU ld only accept -v.
3647
4439
      # Break only if it was the GNU/non-GNU ld that we prefer.
3648
4440
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3649
4441
      *GNU* | *'with BFD'*)
3663
4455
 
3664
4456
LD="$lt_cv_path_LD"
3665
4457
if test -n "$LD"; then
3666
 
  echo "$as_me:$LINENO: result: $LD" >&5
3667
 
echo "${ECHO_T}$LD" >&6
 
4458
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4459
echo "${ECHO_T}$LD" >&6; }
3668
4460
else
3669
 
  echo "$as_me:$LINENO: result: no" >&5
3670
 
echo "${ECHO_T}no" >&6
 
4461
  { echo "$as_me:$LINENO: result: no" >&5
 
4462
echo "${ECHO_T}no" >&6; }
3671
4463
fi
3672
4464
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3673
4465
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3674
4466
   { (exit 1); exit 1; }; }
3675
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3676
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4467
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4468
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3677
4469
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3678
4470
  echo $ECHO_N "(cached) $ECHO_C" >&6
3679
4471
else
3680
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4472
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3681
4473
case `$LD -v 2>&1 </dev/null` in
3682
4474
*GNU* | *'with BFD'*)
3683
4475
  lt_cv_prog_gnu_ld=yes
3687
4479
  ;;
3688
4480
esac
3689
4481
fi
3690
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3691
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4482
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4483
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3692
4484
with_gnu_ld=$lt_cv_prog_gnu_ld
3693
4485
 
3694
4486
 
3695
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3696
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4487
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4488
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3697
4489
if test "${lt_cv_ld_reload_flag+set}" = set; then
3698
4490
  echo $ECHO_N "(cached) $ECHO_C" >&6
3699
4491
else
3700
4492
  lt_cv_ld_reload_flag='-r'
3701
4493
fi
3702
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3703
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4494
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4495
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3704
4496
reload_flag=$lt_cv_ld_reload_flag
3705
4497
case $reload_flag in
3706
4498
"" | " "*) ;;
3707
4499
*) reload_flag=" $reload_flag" ;;
3708
4500
esac
3709
4501
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4502
case $host_os in
 
4503
  darwin*)
 
4504
    if test "$GCC" = yes; then
 
4505
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4506
    else
 
4507
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4508
    fi
 
4509
    ;;
 
4510
esac
3710
4511
 
3711
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3712
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4512
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4513
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3713
4514
if test "${lt_cv_path_NM+set}" = set; then
3714
4515
  echo $ECHO_N "(cached) $ECHO_C" >&6
3715
4516
else
3717
4518
  # Let the user override the test.
3718
4519
  lt_cv_path_NM="$NM"
3719
4520
else
3720
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3721
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3722
 
    IFS="$lt_save_ifs"
3723
 
    test -z "$ac_dir" && ac_dir=.
3724
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3725
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3726
 
      # Check to see if the nm accepts a BSD-compat flag.
3727
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3728
 
      #   nm: unknown option "B" ignored
3729
 
      # Tru64's nm complains that /dev/null is an invalid object file
3730
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3731
 
      */dev/null* | *'Invalid file or object type'*)
3732
 
        lt_cv_path_NM="$tmp_nm -B"
3733
 
        break
3734
 
        ;;
3735
 
      *)
3736
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3737
 
        */dev/null*)
3738
 
          lt_cv_path_NM="$tmp_nm -p"
 
4521
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4522
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4523
    lt_nm_to_check="$lt_nm_to_check nm"
 
4524
  fi
 
4525
  for lt_tmp_nm in $lt_nm_to_check; do
 
4526
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4527
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4528
      IFS="$lt_save_ifs"
 
4529
      test -z "$ac_dir" && ac_dir=.
 
4530
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4531
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4532
        # Check to see if the nm accepts a BSD-compat flag.
 
4533
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4534
        #   nm: unknown option "B" ignored
 
4535
        # Tru64's nm complains that /dev/null is an invalid object file
 
4536
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4537
        */dev/null* | *'Invalid file or object type'*)
 
4538
          lt_cv_path_NM="$tmp_nm -B"
3739
4539
          break
3740
4540
          ;;
3741
4541
        *)
3742
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3743
 
          continue # so that we can try to find one that supports BSD flags
 
4542
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4543
          */dev/null*)
 
4544
            lt_cv_path_NM="$tmp_nm -p"
 
4545
            break
 
4546
            ;;
 
4547
          *)
 
4548
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4549
            continue # so that we can try to find one that supports BSD flags
 
4550
            ;;
 
4551
          esac
3744
4552
          ;;
3745
4553
        esac
3746
 
      esac
3747
 
    fi
 
4554
      fi
 
4555
    done
 
4556
    IFS="$lt_save_ifs"
3748
4557
  done
3749
 
  IFS="$lt_save_ifs"
3750
4558
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3751
4559
fi
3752
4560
fi
3753
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3754
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4561
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4562
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3755
4563
NM="$lt_cv_path_NM"
3756
4564
 
3757
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3758
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4565
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4566
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3759
4567
LN_S=$as_ln_s
3760
4568
if test "$LN_S" = "ln -s"; then
3761
 
  echo "$as_me:$LINENO: result: yes" >&5
3762
 
echo "${ECHO_T}yes" >&6
 
4569
  { echo "$as_me:$LINENO: result: yes" >&5
 
4570
echo "${ECHO_T}yes" >&6; }
3763
4571
else
3764
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3765
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4572
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4573
echo "${ECHO_T}no, using $LN_S" >&6; }
3766
4574
fi
3767
4575
 
3768
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3769
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4576
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4577
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3770
4578
if test "${lt_cv_deplibs_check_method+set}" = set; then
3771
4579
  echo $ECHO_N "(cached) $ECHO_C" >&6
3772
4580
else
3793
4601
  lt_cv_deplibs_check_method=pass_all
3794
4602
  ;;
3795
4603
 
3796
 
bsdi4*)
 
4604
bsdi[45]*)
3797
4605
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3798
4606
  lt_cv_file_magic_cmd='/usr/bin/file -L'
3799
4607
  lt_cv_file_magic_test_file=/shlib/libc.so
3816
4624
  lt_cv_deplibs_check_method=pass_all
3817
4625
  ;;
3818
4626
 
3819
 
freebsd* | kfreebsd*-gnu)
 
4627
freebsd* | dragonfly*)
3820
4628
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3821
4629
    case $host_cpu in
3822
4630
    i*86 )
3823
4631
      # Not sure whether the presence of OpenBSD here was a mistake.
3824
4632
      # Let's accept both of them until this is cleared up.
3825
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
4633
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3826
4634
      lt_cv_file_magic_cmd=/usr/bin/file
3827
4635
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3828
4636
      ;;
3838
4646
 
3839
4647
hpux10.20* | hpux11*)
3840
4648
  lt_cv_file_magic_cmd=/usr/bin/file
3841
 
  case "$host_cpu" in
 
4649
  case $host_cpu in
3842
4650
  ia64*)
3843
4651
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3844
4652
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3854
4662
  esac
3855
4663
  ;;
3856
4664
 
 
4665
interix3*)
 
4666
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
4667
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
4668
  ;;
 
4669
 
3857
4670
irix5* | irix6* | nonstopux*)
3858
4671
  case $LD in
3859
4672
  *-32|*"-32 ") libmagic=32-bit;;
3865
4678
  ;;
3866
4679
 
3867
4680
# This must be Linux ELF.
3868
 
linux*)
 
4681
linux* | k*bsd*-gnu)
3869
4682
  lt_cv_deplibs_check_method=pass_all
3870
4683
  ;;
3871
4684
 
3872
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
4685
netbsd* | netbsdelf*-gnu)
3873
4686
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3874
4687
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3875
4688
  else
3888
4701
  ;;
3889
4702
 
3890
4703
openbsd*)
3891
 
  lt_cv_file_magic_cmd=/usr/bin/file
3892
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3893
4704
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3894
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
4705
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3895
4706
  else
3896
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
4707
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3897
4708
  fi
3898
4709
  ;;
3899
4710
 
3901
4712
  lt_cv_deplibs_check_method=pass_all
3902
4713
  ;;
3903
4714
 
3904
 
sco3.2v5*)
3905
 
  lt_cv_deplibs_check_method=pass_all
3906
 
  ;;
3907
 
 
3908
4715
solaris*)
3909
4716
  lt_cv_deplibs_check_method=pass_all
3910
4717
  ;;
3911
4718
 
3912
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
4719
sysv4 | sysv4.3*)
3913
4720
  case $host_vendor in
3914
4721
  motorola)
3915
4722
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3930
4737
  siemens)
3931
4738
    lt_cv_deplibs_check_method=pass_all
3932
4739
    ;;
 
4740
  pc)
 
4741
    lt_cv_deplibs_check_method=pass_all
 
4742
    ;;
3933
4743
  esac
3934
4744
  ;;
3935
4745
 
3936
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
4746
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3937
4747
  lt_cv_deplibs_check_method=pass_all
3938
4748
  ;;
3939
4749
esac
3940
4750
 
3941
4751
fi
3942
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3943
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4752
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4753
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3944
4754
file_magic_cmd=$lt_cv_file_magic_cmd
3945
4755
deplibs_check_method=$lt_cv_deplibs_check_method
3946
4756
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3951
4761
# If no C compiler was specified, use CC.
3952
4762
LTCC=${LTCC-"$CC"}
3953
4763
 
 
4764
# If no C compiler flags were specified, use CFLAGS.
 
4765
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
4766
 
3954
4767
# Allow CC to be a program name with arguments.
3955
4768
compiler=$CC
3956
4769
 
3957
4770
 
3958
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4771
# Check whether --enable-libtool-lock was given.
3959
4772
if test "${enable_libtool_lock+set}" = set; then
3960
 
  enableval="$enable_libtool_lock"
 
4773
  enableval=$enable_libtool_lock;
 
4774
fi
3961
4775
 
3962
 
fi;
3963
4776
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3964
4777
 
3965
4778
# Some flags need to be propagated to the compiler or linker for good
3986
4799
  ;;
3987
4800
*-*-irix6*)
3988
4801
  # Find out which ABI we are using.
3989
 
  echo '#line 3989 "configure"' > conftest.$ac_ext
 
4802
  echo '#line 4802 "configure"' > conftest.$ac_ext
3990
4803
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3991
4804
  (eval $ac_compile) 2>&5
3992
4805
  ac_status=$?
4029
4842
  ac_status=$?
4030
4843
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031
4844
  (exit $ac_status); }; then
4032
 
    case "`/usr/bin/file conftest.o`" in
 
4845
    case `/usr/bin/file conftest.o` in
4033
4846
    *32-bit*)
4034
4847
      case $host in
4035
4848
        x86_64-*linux*)
4071
4884
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4072
4885
  SAVE_CFLAGS="$CFLAGS"
4073
4886
  CFLAGS="$CFLAGS -belf"
4074
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4075
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4887
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4888
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4076
4889
if test "${lt_cv_cc_needs_belf+set}" = set; then
4077
4890
  echo $ECHO_N "(cached) $ECHO_C" >&6
4078
4891
else
4098
4911
}
4099
4912
_ACEOF
4100
4913
rm -f conftest.$ac_objext conftest$ac_exeext
4101
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4102
 
  (eval $ac_link) 2>conftest.er1
 
4914
if { (ac_try="$ac_link"
 
4915
case "(($ac_try" in
 
4916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4917
  *) ac_try_echo=$ac_try;;
 
4918
esac
 
4919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4920
  (eval "$ac_link") 2>conftest.er1
4103
4921
  ac_status=$?
4104
4922
  grep -v '^ *+' conftest.er1 >conftest.err
4105
4923
  rm -f conftest.er1
4106
4924
  cat conftest.err >&5
4107
4925
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108
4926
  (exit $ac_status); } &&
4109
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4111
 
  (eval $ac_try) 2>&5
 
4927
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4928
  { (case "(($ac_try" in
 
4929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4930
  *) ac_try_echo=$ac_try;;
 
4931
esac
 
4932
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4933
  (eval "$ac_try") 2>&5
4112
4934
  ac_status=$?
4113
4935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114
4936
  (exit $ac_status); }; } &&
4115
4937
         { ac_try='test -s conftest$ac_exeext'
4116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117
 
  (eval $ac_try) 2>&5
 
4938
  { (case "(($ac_try" in
 
4939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4940
  *) ac_try_echo=$ac_try;;
 
4941
esac
 
4942
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4943
  (eval "$ac_try") 2>&5
4118
4944
  ac_status=$?
4119
4945
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120
4946
  (exit $ac_status); }; }; then
4123
4949
  echo "$as_me: failed program was:" >&5
4124
4950
sed 's/^/| /' conftest.$ac_ext >&5
4125
4951
 
4126
 
lt_cv_cc_needs_belf=no
 
4952
        lt_cv_cc_needs_belf=no
4127
4953
fi
4128
 
rm -f conftest.err conftest.$ac_objext \
 
4954
 
 
4955
rm -f core conftest.err conftest.$ac_objext \
4129
4956
      conftest$ac_exeext conftest.$ac_ext
4130
4957
     ac_ext=c
4131
4958
ac_cpp='$CPP $CPPFLAGS'
4134
4961
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4135
4962
 
4136
4963
fi
4137
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4138
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4964
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4965
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4139
4966
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4140
4967
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4141
4968
    CFLAGS="$SAVE_CFLAGS"
4142
4969
  fi
4143
4970
  ;;
 
4971
sparc*-*solaris*)
 
4972
  # Find out which ABI we are using.
 
4973
  echo 'int i;' > conftest.$ac_ext
 
4974
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4975
  (eval $ac_compile) 2>&5
 
4976
  ac_status=$?
 
4977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4978
  (exit $ac_status); }; then
 
4979
    case `/usr/bin/file conftest.o` in
 
4980
    *64-bit*)
 
4981
      case $lt_cv_prog_gnu_ld in
 
4982
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
4983
      *)    LD="${LD-ld} -64" ;;
 
4984
      esac
 
4985
      ;;
 
4986
    esac
 
4987
  fi
 
4988
  rm -rf conftest*
 
4989
  ;;
 
4990
 
4144
4991
 
4145
4992
esac
4146
4993
 
4152
4999
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4153
5000
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4154
5001
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4155
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4156
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5002
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5003
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4157
5004
# On Suns, sometimes $CPP names a directory.
4158
5005
if test -n "$CPP" && test -d "$CPP"; then
4159
5006
  CPP=
4187
5034
#endif
4188
5035
                     Syntax error
4189
5036
_ACEOF
4190
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4191
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5037
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5038
case "(($ac_try" in
 
5039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5040
  *) ac_try_echo=$ac_try;;
 
5041
esac
 
5042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5043
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4192
5044
  ac_status=$?
4193
5045
  grep -v '^ *+' conftest.er1 >conftest.err
4194
5046
  rm -f conftest.er1
4213
5065
  # Broken: fails on valid input.
4214
5066
continue
4215
5067
fi
 
5068
 
4216
5069
rm -f conftest.err conftest.$ac_ext
4217
5070
 
4218
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5071
  # OK, works on sane cases.  Now check whether nonexistent headers
4219
5072
  # can be detected and how.
4220
5073
  cat >conftest.$ac_ext <<_ACEOF
4221
5074
/* confdefs.h.  */
4225
5078
/* end confdefs.h.  */
4226
5079
#include <ac_nonexistent.h>
4227
5080
_ACEOF
4228
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4229
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5081
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5082
case "(($ac_try" in
 
5083
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5084
  *) ac_try_echo=$ac_try;;
 
5085
esac
 
5086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5087
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4230
5088
  ac_status=$?
4231
5089
  grep -v '^ *+' conftest.er1 >conftest.err
4232
5090
  rm -f conftest.er1
4253
5111
ac_preproc_ok=:
4254
5112
break
4255
5113
fi
 
5114
 
4256
5115
rm -f conftest.err conftest.$ac_ext
4257
5116
 
4258
5117
done
4270
5129
else
4271
5130
  ac_cv_prog_CPP=$CPP
4272
5131
fi
4273
 
echo "$as_me:$LINENO: result: $CPP" >&5
4274
 
echo "${ECHO_T}$CPP" >&6
 
5132
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
5133
echo "${ECHO_T}$CPP" >&6; }
4275
5134
ac_preproc_ok=false
4276
5135
for ac_c_preproc_warn_flag in '' yes
4277
5136
do
4294
5153
#endif
4295
5154
                     Syntax error
4296
5155
_ACEOF
4297
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4298
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5156
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5157
case "(($ac_try" in
 
5158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5159
  *) ac_try_echo=$ac_try;;
 
5160
esac
 
5161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5162
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4299
5163
  ac_status=$?
4300
5164
  grep -v '^ *+' conftest.er1 >conftest.err
4301
5165
  rm -f conftest.er1
4320
5184
  # Broken: fails on valid input.
4321
5185
continue
4322
5186
fi
 
5187
 
4323
5188
rm -f conftest.err conftest.$ac_ext
4324
5189
 
4325
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5190
  # OK, works on sane cases.  Now check whether nonexistent headers
4326
5191
  # can be detected and how.
4327
5192
  cat >conftest.$ac_ext <<_ACEOF
4328
5193
/* confdefs.h.  */
4332
5197
/* end confdefs.h.  */
4333
5198
#include <ac_nonexistent.h>
4334
5199
_ACEOF
4335
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4336
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5200
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5201
case "(($ac_try" in
 
5202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5203
  *) ac_try_echo=$ac_try;;
 
5204
esac
 
5205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5206
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4337
5207
  ac_status=$?
4338
5208
  grep -v '^ *+' conftest.er1 >conftest.err
4339
5209
  rm -f conftest.er1
4360
5230
ac_preproc_ok=:
4361
5231
break
4362
5232
fi
 
5233
 
4363
5234
rm -f conftest.err conftest.$ac_ext
4364
5235
 
4365
5236
done
4382
5253
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4383
5254
 
4384
5255
 
4385
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4386
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5256
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5257
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4387
5258
if test "${ac_cv_header_stdc+set}" = set; then
4388
5259
  echo $ECHO_N "(cached) $ECHO_C" >&6
4389
5260
else
4407
5278
}
4408
5279
_ACEOF
4409
5280
rm -f conftest.$ac_objext
4410
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4411
 
  (eval $ac_compile) 2>conftest.er1
 
5281
if { (ac_try="$ac_compile"
 
5282
case "(($ac_try" in
 
5283
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5284
  *) ac_try_echo=$ac_try;;
 
5285
esac
 
5286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5287
  (eval "$ac_compile") 2>conftest.er1
4412
5288
  ac_status=$?
4413
5289
  grep -v '^ *+' conftest.er1 >conftest.err
4414
5290
  rm -f conftest.er1
4415
5291
  cat conftest.err >&5
4416
5292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417
5293
  (exit $ac_status); } &&
4418
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4419
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4420
 
  (eval $ac_try) 2>&5
 
5294
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5295
  { (case "(($ac_try" in
 
5296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5297
  *) ac_try_echo=$ac_try;;
 
5298
esac
 
5299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5300
  (eval "$ac_try") 2>&5
4421
5301
  ac_status=$?
4422
5302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423
5303
  (exit $ac_status); }; } &&
4424
5304
         { ac_try='test -s conftest.$ac_objext'
4425
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426
 
  (eval $ac_try) 2>&5
 
5305
  { (case "(($ac_try" in
 
5306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5307
  *) ac_try_echo=$ac_try;;
 
5308
esac
 
5309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5310
  (eval "$ac_try") 2>&5
4427
5311
  ac_status=$?
4428
5312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429
5313
  (exit $ac_status); }; }; then
4432
5316
  echo "$as_me: failed program was:" >&5
4433
5317
sed 's/^/| /' conftest.$ac_ext >&5
4434
5318
 
4435
 
ac_cv_header_stdc=no
 
5319
        ac_cv_header_stdc=no
4436
5320
fi
4437
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5321
 
 
5322
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438
5323
 
4439
5324
if test $ac_cv_header_stdc = yes; then
4440
5325
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4490
5375
cat >>conftest.$ac_ext <<_ACEOF
4491
5376
/* end confdefs.h.  */
4492
5377
#include <ctype.h>
 
5378
#include <stdlib.h>
4493
5379
#if ((' ' & 0x0FF) == 0x020)
4494
5380
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4495
5381
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4509
5395
  for (i = 0; i < 256; i++)
4510
5396
    if (XOR (islower (i), ISLOWER (i))
4511
5397
        || toupper (i) != TOUPPER (i))
4512
 
      exit(2);
4513
 
  exit (0);
 
5398
      return 2;
 
5399
  return 0;
4514
5400
}
4515
5401
_ACEOF
4516
5402
rm -f conftest$ac_exeext
4517
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4518
 
  (eval $ac_link) 2>&5
 
5403
if { (ac_try="$ac_link"
 
5404
case "(($ac_try" in
 
5405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5406
  *) ac_try_echo=$ac_try;;
 
5407
esac
 
5408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5409
  (eval "$ac_link") 2>&5
4519
5410
  ac_status=$?
4520
5411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521
5412
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4522
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523
 
  (eval $ac_try) 2>&5
 
5413
  { (case "(($ac_try" in
 
5414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5415
  *) ac_try_echo=$ac_try;;
 
5416
esac
 
5417
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5418
  (eval "$ac_try") 2>&5
4524
5419
  ac_status=$?
4525
5420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526
5421
  (exit $ac_status); }; }; then
4533
5428
( exit $ac_status )
4534
5429
ac_cv_header_stdc=no
4535
5430
fi
4536
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4537
 
fi
4538
 
fi
4539
 
fi
4540
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4541
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5431
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5432
fi
 
5433
 
 
5434
 
 
5435
fi
 
5436
fi
 
5437
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5438
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4542
5439
if test $ac_cv_header_stdc = yes; then
4543
5440
 
4544
5441
cat >>confdefs.h <<\_ACEOF
4561
5458
                  inttypes.h stdint.h unistd.h
4562
5459
do
4563
5460
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4564
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4565
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4566
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5461
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5462
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5463
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4567
5464
  echo $ECHO_N "(cached) $ECHO_C" >&6
4568
5465
else
4569
5466
  cat >conftest.$ac_ext <<_ACEOF
4577
5474
#include <$ac_header>
4578
5475
_ACEOF
4579
5476
rm -f conftest.$ac_objext
4580
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4581
 
  (eval $ac_compile) 2>conftest.er1
 
5477
if { (ac_try="$ac_compile"
 
5478
case "(($ac_try" in
 
5479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5480
  *) ac_try_echo=$ac_try;;
 
5481
esac
 
5482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5483
  (eval "$ac_compile") 2>conftest.er1
4582
5484
  ac_status=$?
4583
5485
  grep -v '^ *+' conftest.er1 >conftest.err
4584
5486
  rm -f conftest.er1
4585
5487
  cat conftest.err >&5
4586
5488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587
5489
  (exit $ac_status); } &&
4588
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590
 
  (eval $ac_try) 2>&5
 
5490
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5491
  { (case "(($ac_try" in
 
5492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5493
  *) ac_try_echo=$ac_try;;
 
5494
esac
 
5495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5496
  (eval "$ac_try") 2>&5
4591
5497
  ac_status=$?
4592
5498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593
5499
  (exit $ac_status); }; } &&
4594
5500
         { ac_try='test -s conftest.$ac_objext'
4595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596
 
  (eval $ac_try) 2>&5
 
5501
  { (case "(($ac_try" in
 
5502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5503
  *) ac_try_echo=$ac_try;;
 
5504
esac
 
5505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5506
  (eval "$ac_try") 2>&5
4597
5507
  ac_status=$?
4598
5508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599
5509
  (exit $ac_status); }; }; then
4602
5512
  echo "$as_me: failed program was:" >&5
4603
5513
sed 's/^/| /' conftest.$ac_ext >&5
4604
5514
 
4605
 
eval "$as_ac_Header=no"
4606
 
fi
4607
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4608
 
fi
4609
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4610
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5515
        eval "$as_ac_Header=no"
 
5516
fi
 
5517
 
 
5518
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5519
fi
 
5520
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5521
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5522
echo "${ECHO_T}$ac_res" >&6; }
4611
5523
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4612
5524
  cat >>confdefs.h <<_ACEOF
4613
5525
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4622
5534
for ac_header in dlfcn.h
4623
5535
do
4624
5536
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4625
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4626
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4627
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4628
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5537
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5538
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5539
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5540
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4629
5541
  echo $ECHO_N "(cached) $ECHO_C" >&6
4630
5542
fi
4631
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4632
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5543
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5544
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5545
echo "${ECHO_T}$ac_res" >&6; }
4633
5546
else
4634
5547
  # Is the header compilable?
4635
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4636
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5548
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5549
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4637
5550
cat >conftest.$ac_ext <<_ACEOF
4638
5551
/* confdefs.h.  */
4639
5552
_ACEOF
4644
5557
#include <$ac_header>
4645
5558
_ACEOF
4646
5559
rm -f conftest.$ac_objext
4647
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4648
 
  (eval $ac_compile) 2>conftest.er1
 
5560
if { (ac_try="$ac_compile"
 
5561
case "(($ac_try" in
 
5562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5563
  *) ac_try_echo=$ac_try;;
 
5564
esac
 
5565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5566
  (eval "$ac_compile") 2>conftest.er1
4649
5567
  ac_status=$?
4650
5568
  grep -v '^ *+' conftest.er1 >conftest.err
4651
5569
  rm -f conftest.er1
4652
5570
  cat conftest.err >&5
4653
5571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654
5572
  (exit $ac_status); } &&
4655
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4656
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657
 
  (eval $ac_try) 2>&5
 
5573
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5574
  { (case "(($ac_try" in
 
5575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5576
  *) ac_try_echo=$ac_try;;
 
5577
esac
 
5578
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5579
  (eval "$ac_try") 2>&5
4658
5580
  ac_status=$?
4659
5581
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660
5582
  (exit $ac_status); }; } &&
4661
5583
         { ac_try='test -s conftest.$ac_objext'
4662
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663
 
  (eval $ac_try) 2>&5
 
5584
  { (case "(($ac_try" in
 
5585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5586
  *) ac_try_echo=$ac_try;;
 
5587
esac
 
5588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5589
  (eval "$ac_try") 2>&5
4664
5590
  ac_status=$?
4665
5591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666
5592
  (exit $ac_status); }; }; then
4669
5595
  echo "$as_me: failed program was:" >&5
4670
5596
sed 's/^/| /' conftest.$ac_ext >&5
4671
5597
 
4672
 
ac_header_compiler=no
 
5598
        ac_header_compiler=no
4673
5599
fi
4674
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4675
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4676
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5600
 
 
5601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5602
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5603
echo "${ECHO_T}$ac_header_compiler" >&6; }
4677
5604
 
4678
5605
# Is the header present?
4679
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4680
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5606
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5607
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4681
5608
cat >conftest.$ac_ext <<_ACEOF
4682
5609
/* confdefs.h.  */
4683
5610
_ACEOF
4686
5613
/* end confdefs.h.  */
4687
5614
#include <$ac_header>
4688
5615
_ACEOF
4689
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4690
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5616
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5617
case "(($ac_try" in
 
5618
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5619
  *) ac_try_echo=$ac_try;;
 
5620
esac
 
5621
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5622
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4691
5623
  ac_status=$?
4692
5624
  grep -v '^ *+' conftest.er1 >conftest.err
4693
5625
  rm -f conftest.er1
4711
5643
 
4712
5644
  ac_header_preproc=no
4713
5645
fi
 
5646
 
4714
5647
rm -f conftest.err conftest.$ac_ext
4715
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4716
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5648
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5649
echo "${ECHO_T}$ac_header_preproc" >&6; }
4717
5650
 
4718
5651
# So?  What about this header?
4719
5652
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4737
5670
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4738
5671
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4739
5672
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4740
 
    (
4741
 
      cat <<\_ASBOX
 
5673
    ( cat <<\_ASBOX
4742
5674
## -------------------------------------------- ##
4743
5675
## Report this to http://mfcn.ilo.de/gnomeradio ##
4744
5676
## -------------------------------------------- ##
4745
5677
_ASBOX
4746
 
    ) |
4747
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5678
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4748
5679
    ;;
4749
5680
esac
4750
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4751
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4752
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5681
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5682
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5683
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4753
5684
  echo $ECHO_N "(cached) $ECHO_C" >&6
4754
5685
else
4755
5686
  eval "$as_ac_Header=\$ac_header_preproc"
4756
5687
fi
4757
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4758
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5688
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5689
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5690
echo "${ECHO_T}$ac_res" >&6; }
4759
5691
 
4760
5692
fi
4761
5693
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4767
5699
 
4768
5700
done
4769
5701
 
4770
 
ac_ext=cc
 
5702
ac_ext=cpp
4771
5703
ac_cpp='$CXXCPP $CPPFLAGS'
4772
5704
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773
5705
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774
5706
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4775
 
if test -n "$ac_tool_prefix"; then
4776
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5707
if test -z "$CXX"; then
 
5708
  if test -n "$CCC"; then
 
5709
    CXX=$CCC
 
5710
  else
 
5711
    if test -n "$ac_tool_prefix"; then
 
5712
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4777
5713
  do
4778
5714
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4779
5715
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4780
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4781
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5716
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5717
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4782
5718
if test "${ac_cv_prog_CXX+set}" = set; then
4783
5719
  echo $ECHO_N "(cached) $ECHO_C" >&6
4784
5720
else
4791
5727
  IFS=$as_save_IFS
4792
5728
  test -z "$as_dir" && as_dir=.
4793
5729
  for ac_exec_ext in '' $ac_executable_extensions; do
4794
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5730
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4795
5731
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4796
5732
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4797
5733
    break 2
4798
5734
  fi
4799
5735
done
4800
5736
done
 
5737
IFS=$as_save_IFS
4801
5738
 
4802
5739
fi
4803
5740
fi
4804
5741
CXX=$ac_cv_prog_CXX
4805
5742
if test -n "$CXX"; then
4806
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4807
 
echo "${ECHO_T}$CXX" >&6
 
5743
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5744
echo "${ECHO_T}$CXX" >&6; }
4808
5745
else
4809
 
  echo "$as_me:$LINENO: result: no" >&5
4810
 
echo "${ECHO_T}no" >&6
 
5746
  { echo "$as_me:$LINENO: result: no" >&5
 
5747
echo "${ECHO_T}no" >&6; }
4811
5748
fi
4812
5749
 
 
5750
 
4813
5751
    test -n "$CXX" && break
4814
5752
  done
4815
5753
fi
4816
5754
if test -z "$CXX"; then
4817
5755
  ac_ct_CXX=$CXX
4818
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5756
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4819
5757
do
4820
5758
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4821
5759
set dummy $ac_prog; ac_word=$2
4822
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4823
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5760
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5761
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4824
5762
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4825
5763
  echo $ECHO_N "(cached) $ECHO_C" >&6
4826
5764
else
4833
5771
  IFS=$as_save_IFS
4834
5772
  test -z "$as_dir" && as_dir=.
4835
5773
  for ac_exec_ext in '' $ac_executable_extensions; do
4836
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5774
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4837
5775
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4838
5776
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4839
5777
    break 2
4840
5778
  fi
4841
5779
done
4842
5780
done
 
5781
IFS=$as_save_IFS
4843
5782
 
4844
5783
fi
4845
5784
fi
4846
5785
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4847
5786
if test -n "$ac_ct_CXX"; then
4848
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4849
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5787
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5788
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4850
5789
else
4851
 
  echo "$as_me:$LINENO: result: no" >&5
4852
 
echo "${ECHO_T}no" >&6
 
5790
  { echo "$as_me:$LINENO: result: no" >&5
 
5791
echo "${ECHO_T}no" >&6; }
4853
5792
fi
4854
5793
 
 
5794
 
4855
5795
  test -n "$ac_ct_CXX" && break
4856
5796
done
4857
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4858
 
 
4859
 
  CXX=$ac_ct_CXX
4860
 
fi
4861
 
 
4862
 
 
 
5797
 
 
5798
  if test "x$ac_ct_CXX" = x; then
 
5799
    CXX="g++"
 
5800
  else
 
5801
    case $cross_compiling:$ac_tool_warned in
 
5802
yes:)
 
5803
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5804
whose name does not start with the host triplet.  If you think this
 
5805
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5806
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5807
whose name does not start with the host triplet.  If you think this
 
5808
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5809
ac_tool_warned=yes ;;
 
5810
esac
 
5811
    CXX=$ac_ct_CXX
 
5812
  fi
 
5813
fi
 
5814
 
 
5815
  fi
 
5816
fi
4863
5817
# Provide some information about the compiler.
4864
 
echo "$as_me:$LINENO:" \
4865
 
     "checking for C++ compiler version" >&5
 
5818
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4866
5819
ac_compiler=`set X $ac_compile; echo $2`
4867
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4868
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4869
 
  ac_status=$?
4870
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871
 
  (exit $ac_status); }
4872
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4873
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4874
 
  ac_status=$?
4875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876
 
  (exit $ac_status); }
4877
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4878
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5820
{ (ac_try="$ac_compiler --version >&5"
 
5821
case "(($ac_try" in
 
5822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5823
  *) ac_try_echo=$ac_try;;
 
5824
esac
 
5825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5826
  (eval "$ac_compiler --version >&5") 2>&5
 
5827
  ac_status=$?
 
5828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5829
  (exit $ac_status); }
 
5830
{ (ac_try="$ac_compiler -v >&5"
 
5831
case "(($ac_try" in
 
5832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5833
  *) ac_try_echo=$ac_try;;
 
5834
esac
 
5835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5836
  (eval "$ac_compiler -v >&5") 2>&5
 
5837
  ac_status=$?
 
5838
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5839
  (exit $ac_status); }
 
5840
{ (ac_try="$ac_compiler -V >&5"
 
5841
case "(($ac_try" in
 
5842
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5843
  *) ac_try_echo=$ac_try;;
 
5844
esac
 
5845
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5846
  (eval "$ac_compiler -V >&5") 2>&5
4879
5847
  ac_status=$?
4880
5848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881
5849
  (exit $ac_status); }
4882
5850
 
4883
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4884
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5851
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5852
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4885
5853
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4886
5854
  echo $ECHO_N "(cached) $ECHO_C" >&6
4887
5855
else
4904
5872
}
4905
5873
_ACEOF
4906
5874
rm -f conftest.$ac_objext
4907
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4908
 
  (eval $ac_compile) 2>conftest.er1
 
5875
if { (ac_try="$ac_compile"
 
5876
case "(($ac_try" in
 
5877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5878
  *) ac_try_echo=$ac_try;;
 
5879
esac
 
5880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5881
  (eval "$ac_compile") 2>conftest.er1
4909
5882
  ac_status=$?
4910
5883
  grep -v '^ *+' conftest.er1 >conftest.err
4911
5884
  rm -f conftest.er1
4912
5885
  cat conftest.err >&5
4913
5886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914
5887
  (exit $ac_status); } &&
4915
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917
 
  (eval $ac_try) 2>&5
 
5888
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5889
  { (case "(($ac_try" in
 
5890
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5891
  *) ac_try_echo=$ac_try;;
 
5892
esac
 
5893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5894
  (eval "$ac_try") 2>&5
4918
5895
  ac_status=$?
4919
5896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920
5897
  (exit $ac_status); }; } &&
4921
5898
         { ac_try='test -s conftest.$ac_objext'
4922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923
 
  (eval $ac_try) 2>&5
 
5899
  { (case "(($ac_try" in
 
5900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5901
  *) ac_try_echo=$ac_try;;
 
5902
esac
 
5903
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5904
  (eval "$ac_try") 2>&5
4924
5905
  ac_status=$?
4925
5906
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
5907
  (exit $ac_status); }; }; then
4929
5910
  echo "$as_me: failed program was:" >&5
4930
5911
sed 's/^/| /' conftest.$ac_ext >&5
4931
5912
 
4932
 
ac_compiler_gnu=no
 
5913
        ac_compiler_gnu=no
4933
5914
fi
4934
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5915
 
 
5916
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935
5917
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4936
5918
 
4937
5919
fi
4938
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4939
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5920
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5921
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4940
5922
GXX=`test $ac_compiler_gnu = yes && echo yes`
4941
5923
ac_test_CXXFLAGS=${CXXFLAGS+set}
4942
5924
ac_save_CXXFLAGS=$CXXFLAGS
4943
 
CXXFLAGS="-g"
4944
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4945
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5925
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5926
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4946
5927
if test "${ac_cv_prog_cxx_g+set}" = set; then
4947
5928
  echo $ECHO_N "(cached) $ECHO_C" >&6
4948
5929
else
4949
 
  cat >conftest.$ac_ext <<_ACEOF
4950
 
/* confdefs.h.  */
4951
 
_ACEOF
4952
 
cat confdefs.h >>conftest.$ac_ext
4953
 
cat >>conftest.$ac_ext <<_ACEOF
4954
 
/* end confdefs.h.  */
4955
 
 
4956
 
int
4957
 
main ()
4958
 
{
4959
 
 
4960
 
  ;
4961
 
  return 0;
4962
 
}
4963
 
_ACEOF
4964
 
rm -f conftest.$ac_objext
4965
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4966
 
  (eval $ac_compile) 2>conftest.er1
4967
 
  ac_status=$?
4968
 
  grep -v '^ *+' conftest.er1 >conftest.err
4969
 
  rm -f conftest.er1
4970
 
  cat conftest.err >&5
4971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972
 
  (exit $ac_status); } &&
4973
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4974
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975
 
  (eval $ac_try) 2>&5
4976
 
  ac_status=$?
4977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978
 
  (exit $ac_status); }; } &&
4979
 
         { ac_try='test -s conftest.$ac_objext'
4980
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4981
 
  (eval $ac_try) 2>&5
4982
 
  ac_status=$?
4983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984
 
  (exit $ac_status); }; }; then
4985
 
  ac_cv_prog_cxx_g=yes
4986
 
else
4987
 
  echo "$as_me: failed program was:" >&5
4988
 
sed 's/^/| /' conftest.$ac_ext >&5
4989
 
 
4990
 
ac_cv_prog_cxx_g=no
4991
 
fi
4992
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4993
 
fi
4994
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4995
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5930
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5931
   ac_cxx_werror_flag=yes
 
5932
   ac_cv_prog_cxx_g=no
 
5933
   CXXFLAGS="-g"
 
5934
   cat >conftest.$ac_ext <<_ACEOF
 
5935
/* confdefs.h.  */
 
5936
_ACEOF
 
5937
cat confdefs.h >>conftest.$ac_ext
 
5938
cat >>conftest.$ac_ext <<_ACEOF
 
5939
/* end confdefs.h.  */
 
5940
 
 
5941
int
 
5942
main ()
 
5943
{
 
5944
 
 
5945
  ;
 
5946
  return 0;
 
5947
}
 
5948
_ACEOF
 
5949
rm -f conftest.$ac_objext
 
5950
if { (ac_try="$ac_compile"
 
5951
case "(($ac_try" in
 
5952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5953
  *) ac_try_echo=$ac_try;;
 
5954
esac
 
5955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5956
  (eval "$ac_compile") 2>conftest.er1
 
5957
  ac_status=$?
 
5958
  grep -v '^ *+' conftest.er1 >conftest.err
 
5959
  rm -f conftest.er1
 
5960
  cat conftest.err >&5
 
5961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5962
  (exit $ac_status); } &&
 
5963
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5964
  { (case "(($ac_try" in
 
5965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5966
  *) ac_try_echo=$ac_try;;
 
5967
esac
 
5968
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5969
  (eval "$ac_try") 2>&5
 
5970
  ac_status=$?
 
5971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5972
  (exit $ac_status); }; } &&
 
5973
         { ac_try='test -s conftest.$ac_objext'
 
5974
  { (case "(($ac_try" in
 
5975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5976
  *) ac_try_echo=$ac_try;;
 
5977
esac
 
5978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5979
  (eval "$ac_try") 2>&5
 
5980
  ac_status=$?
 
5981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5982
  (exit $ac_status); }; }; then
 
5983
  ac_cv_prog_cxx_g=yes
 
5984
else
 
5985
  echo "$as_me: failed program was:" >&5
 
5986
sed 's/^/| /' conftest.$ac_ext >&5
 
5987
 
 
5988
        CXXFLAGS=""
 
5989
      cat >conftest.$ac_ext <<_ACEOF
 
5990
/* confdefs.h.  */
 
5991
_ACEOF
 
5992
cat confdefs.h >>conftest.$ac_ext
 
5993
cat >>conftest.$ac_ext <<_ACEOF
 
5994
/* end confdefs.h.  */
 
5995
 
 
5996
int
 
5997
main ()
 
5998
{
 
5999
 
 
6000
  ;
 
6001
  return 0;
 
6002
}
 
6003
_ACEOF
 
6004
rm -f conftest.$ac_objext
 
6005
if { (ac_try="$ac_compile"
 
6006
case "(($ac_try" in
 
6007
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6008
  *) ac_try_echo=$ac_try;;
 
6009
esac
 
6010
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6011
  (eval "$ac_compile") 2>conftest.er1
 
6012
  ac_status=$?
 
6013
  grep -v '^ *+' conftest.er1 >conftest.err
 
6014
  rm -f conftest.er1
 
6015
  cat conftest.err >&5
 
6016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6017
  (exit $ac_status); } &&
 
6018
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6019
  { (case "(($ac_try" in
 
6020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6021
  *) ac_try_echo=$ac_try;;
 
6022
esac
 
6023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6024
  (eval "$ac_try") 2>&5
 
6025
  ac_status=$?
 
6026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6027
  (exit $ac_status); }; } &&
 
6028
         { ac_try='test -s conftest.$ac_objext'
 
6029
  { (case "(($ac_try" in
 
6030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6031
  *) ac_try_echo=$ac_try;;
 
6032
esac
 
6033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6034
  (eval "$ac_try") 2>&5
 
6035
  ac_status=$?
 
6036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6037
  (exit $ac_status); }; }; then
 
6038
  :
 
6039
else
 
6040
  echo "$as_me: failed program was:" >&5
 
6041
sed 's/^/| /' conftest.$ac_ext >&5
 
6042
 
 
6043
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6044
         CXXFLAGS="-g"
 
6045
         cat >conftest.$ac_ext <<_ACEOF
 
6046
/* confdefs.h.  */
 
6047
_ACEOF
 
6048
cat confdefs.h >>conftest.$ac_ext
 
6049
cat >>conftest.$ac_ext <<_ACEOF
 
6050
/* end confdefs.h.  */
 
6051
 
 
6052
int
 
6053
main ()
 
6054
{
 
6055
 
 
6056
  ;
 
6057
  return 0;
 
6058
}
 
6059
_ACEOF
 
6060
rm -f conftest.$ac_objext
 
6061
if { (ac_try="$ac_compile"
 
6062
case "(($ac_try" in
 
6063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6064
  *) ac_try_echo=$ac_try;;
 
6065
esac
 
6066
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6067
  (eval "$ac_compile") 2>conftest.er1
 
6068
  ac_status=$?
 
6069
  grep -v '^ *+' conftest.er1 >conftest.err
 
6070
  rm -f conftest.er1
 
6071
  cat conftest.err >&5
 
6072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6073
  (exit $ac_status); } &&
 
6074
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6075
  { (case "(($ac_try" in
 
6076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6077
  *) ac_try_echo=$ac_try;;
 
6078
esac
 
6079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6080
  (eval "$ac_try") 2>&5
 
6081
  ac_status=$?
 
6082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6083
  (exit $ac_status); }; } &&
 
6084
         { ac_try='test -s conftest.$ac_objext'
 
6085
  { (case "(($ac_try" in
 
6086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6087
  *) ac_try_echo=$ac_try;;
 
6088
esac
 
6089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6090
  (eval "$ac_try") 2>&5
 
6091
  ac_status=$?
 
6092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6093
  (exit $ac_status); }; }; then
 
6094
  ac_cv_prog_cxx_g=yes
 
6095
else
 
6096
  echo "$as_me: failed program was:" >&5
 
6097
sed 's/^/| /' conftest.$ac_ext >&5
 
6098
 
 
6099
 
 
6100
fi
 
6101
 
 
6102
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6103
fi
 
6104
 
 
6105
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6106
fi
 
6107
 
 
6108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6109
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6110
fi
 
6111
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6112
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4996
6113
if test "$ac_test_CXXFLAGS" = set; then
4997
6114
  CXXFLAGS=$ac_save_CXXFLAGS
4998
6115
elif test $ac_cv_prog_cxx_g = yes; then
5008
6125
    CXXFLAGS=
5009
6126
  fi
5010
6127
fi
5011
 
for ac_declaration in \
5012
 
   '' \
5013
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5014
 
   'extern "C" void std::exit (int); using std::exit;' \
5015
 
   'extern "C" void exit (int) throw ();' \
5016
 
   'extern "C" void exit (int);' \
5017
 
   'void exit (int);'
5018
 
do
5019
 
  cat >conftest.$ac_ext <<_ACEOF
5020
 
/* confdefs.h.  */
5021
 
_ACEOF
5022
 
cat confdefs.h >>conftest.$ac_ext
5023
 
cat >>conftest.$ac_ext <<_ACEOF
5024
 
/* end confdefs.h.  */
5025
 
$ac_declaration
5026
 
#include <stdlib.h>
5027
 
int
5028
 
main ()
5029
 
{
5030
 
exit (42);
5031
 
  ;
5032
 
  return 0;
5033
 
}
5034
 
_ACEOF
5035
 
rm -f conftest.$ac_objext
5036
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037
 
  (eval $ac_compile) 2>conftest.er1
5038
 
  ac_status=$?
5039
 
  grep -v '^ *+' conftest.er1 >conftest.err
5040
 
  rm -f conftest.er1
5041
 
  cat conftest.err >&5
5042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043
 
  (exit $ac_status); } &&
5044
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5045
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046
 
  (eval $ac_try) 2>&5
5047
 
  ac_status=$?
5048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049
 
  (exit $ac_status); }; } &&
5050
 
         { ac_try='test -s conftest.$ac_objext'
5051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052
 
  (eval $ac_try) 2>&5
5053
 
  ac_status=$?
5054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055
 
  (exit $ac_status); }; }; then
5056
 
  :
5057
 
else
5058
 
  echo "$as_me: failed program was:" >&5
5059
 
sed 's/^/| /' conftest.$ac_ext >&5
5060
 
 
5061
 
continue
5062
 
fi
5063
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5064
 
  cat >conftest.$ac_ext <<_ACEOF
5065
 
/* confdefs.h.  */
5066
 
_ACEOF
5067
 
cat confdefs.h >>conftest.$ac_ext
5068
 
cat >>conftest.$ac_ext <<_ACEOF
5069
 
/* end confdefs.h.  */
5070
 
$ac_declaration
5071
 
int
5072
 
main ()
5073
 
{
5074
 
exit (42);
5075
 
  ;
5076
 
  return 0;
5077
 
}
5078
 
_ACEOF
5079
 
rm -f conftest.$ac_objext
5080
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5081
 
  (eval $ac_compile) 2>conftest.er1
5082
 
  ac_status=$?
5083
 
  grep -v '^ *+' conftest.er1 >conftest.err
5084
 
  rm -f conftest.er1
5085
 
  cat conftest.err >&5
5086
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087
 
  (exit $ac_status); } &&
5088
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5089
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090
 
  (eval $ac_try) 2>&5
5091
 
  ac_status=$?
5092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093
 
  (exit $ac_status); }; } &&
5094
 
         { ac_try='test -s conftest.$ac_objext'
5095
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096
 
  (eval $ac_try) 2>&5
5097
 
  ac_status=$?
5098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099
 
  (exit $ac_status); }; }; then
5100
 
  break
5101
 
else
5102
 
  echo "$as_me: failed program was:" >&5
5103
 
sed 's/^/| /' conftest.$ac_ext >&5
5104
 
 
5105
 
fi
5106
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5107
 
done
5108
 
rm -f conftest*
5109
 
if test -n "$ac_declaration"; then
5110
 
  echo '#ifdef __cplusplus' >>confdefs.h
5111
 
  echo $ac_declaration      >>confdefs.h
5112
 
  echo '#endif'             >>confdefs.h
5113
 
fi
5114
 
 
5115
 
ac_ext=cc
 
6128
ac_ext=cpp
5116
6129
ac_cpp='$CXXCPP $CPPFLAGS'
5117
6130
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118
6131
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5120
6133
 
5121
6134
depcc="$CXX"  am_compiler_list=
5122
6135
 
5123
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5124
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
6136
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6137
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5125
6138
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5126
6139
  echo $ECHO_N "(cached) $ECHO_C" >&6
5127
6140
else
5159
6172
    : > sub/conftest.c
5160
6173
    for i in 1 2 3 4 5 6; do
5161
6174
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5162
 
      : > sub/conftst$i.h
 
6175
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6176
      # Solaris 8's {/usr,}/bin/sh.
 
6177
      touch sub/conftst$i.h
5163
6178
    done
5164
6179
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5165
6180
 
5187
6202
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5188
6203
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5189
6204
      # icc doesn't choke on unknown options, it will just issue warnings
5190
 
      # (even with -Werror).  So we grep stderr for any message
5191
 
      # that says an option was ignored.
5192
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
6205
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6206
      # that says an option was ignored or not supported.
 
6207
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6208
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6209
      # The diagnosis changed in icc 8.0:
 
6210
      #   icc: Command line remark: option '-MP' not supported
 
6211
      if (grep 'ignoring option' conftest.err ||
 
6212
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5193
6213
        am_cv_CXX_dependencies_compiler_type=$depmode
5194
6214
        break
5195
6215
      fi
5203
6223
fi
5204
6224
 
5205
6225
fi
5206
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5207
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6226
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6227
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5208
6228
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5209
6229
 
5210
6230
 
5220
6240
fi
5221
6241
 
5222
6242
 
5223
 
ac_ext=cc
 
6243
 
 
6244
 
 
6245
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
6246
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
6247
    (test "X$CXX" != "Xg++"))) ; then
 
6248
  ac_ext=cpp
5224
6249
ac_cpp='$CXXCPP $CPPFLAGS'
5225
6250
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5226
6251
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5227
6252
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5228
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5229
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6253
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6254
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5230
6255
if test -z "$CXXCPP"; then
5231
6256
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5232
6257
  echo $ECHO_N "(cached) $ECHO_C" >&6
5256
6281
#endif
5257
6282
                     Syntax error
5258
6283
_ACEOF
5259
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5260
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6284
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6285
case "(($ac_try" in
 
6286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6287
  *) ac_try_echo=$ac_try;;
 
6288
esac
 
6289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6290
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5261
6291
  ac_status=$?
5262
6292
  grep -v '^ *+' conftest.er1 >conftest.err
5263
6293
  rm -f conftest.er1
5282
6312
  # Broken: fails on valid input.
5283
6313
continue
5284
6314
fi
 
6315
 
5285
6316
rm -f conftest.err conftest.$ac_ext
5286
6317
 
5287
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6318
  # OK, works on sane cases.  Now check whether nonexistent headers
5288
6319
  # can be detected and how.
5289
6320
  cat >conftest.$ac_ext <<_ACEOF
5290
6321
/* confdefs.h.  */
5294
6325
/* end confdefs.h.  */
5295
6326
#include <ac_nonexistent.h>
5296
6327
_ACEOF
5297
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5298
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6328
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6329
case "(($ac_try" in
 
6330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6331
  *) ac_try_echo=$ac_try;;
 
6332
esac
 
6333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6334
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5299
6335
  ac_status=$?
5300
6336
  grep -v '^ *+' conftest.er1 >conftest.err
5301
6337
  rm -f conftest.er1
5322
6358
ac_preproc_ok=:
5323
6359
break
5324
6360
fi
 
6361
 
5325
6362
rm -f conftest.err conftest.$ac_ext
5326
6363
 
5327
6364
done
5339
6376
else
5340
6377
  ac_cv_prog_CXXCPP=$CXXCPP
5341
6378
fi
5342
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5343
 
echo "${ECHO_T}$CXXCPP" >&6
 
6379
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6380
echo "${ECHO_T}$CXXCPP" >&6; }
5344
6381
ac_preproc_ok=false
5345
6382
for ac_cxx_preproc_warn_flag in '' yes
5346
6383
do
5363
6400
#endif
5364
6401
                     Syntax error
5365
6402
_ACEOF
5366
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5367
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6403
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6404
case "(($ac_try" in
 
6405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6406
  *) ac_try_echo=$ac_try;;
 
6407
esac
 
6408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6409
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5368
6410
  ac_status=$?
5369
6411
  grep -v '^ *+' conftest.er1 >conftest.err
5370
6412
  rm -f conftest.er1
5389
6431
  # Broken: fails on valid input.
5390
6432
continue
5391
6433
fi
 
6434
 
5392
6435
rm -f conftest.err conftest.$ac_ext
5393
6436
 
5394
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6437
  # OK, works on sane cases.  Now check whether nonexistent headers
5395
6438
  # can be detected and how.
5396
6439
  cat >conftest.$ac_ext <<_ACEOF
5397
6440
/* confdefs.h.  */
5401
6444
/* end confdefs.h.  */
5402
6445
#include <ac_nonexistent.h>
5403
6446
_ACEOF
5404
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5405
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6447
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6448
case "(($ac_try" in
 
6449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6450
  *) ac_try_echo=$ac_try;;
 
6451
esac
 
6452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6453
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5406
6454
  ac_status=$?
5407
6455
  grep -v '^ *+' conftest.er1 >conftest.err
5408
6456
  rm -f conftest.er1
5429
6477
ac_preproc_ok=:
5430
6478
break
5431
6479
fi
 
6480
 
5432
6481
rm -f conftest.err conftest.$ac_ext
5433
6482
 
5434
6483
done
5444
6493
   { (exit 1); exit 1; }; }
5445
6494
fi
5446
6495
 
5447
 
ac_ext=cc
 
6496
ac_ext=cpp
5448
6497
ac_cpp='$CXXCPP $CPPFLAGS'
5449
6498
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5450
6499
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5451
6500
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5452
6501
 
 
6502
fi
 
6503
 
5453
6504
 
5454
6505
ac_ext=f
5455
6506
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5456
6507
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5457
6508
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5458
6509
if test -n "$ac_tool_prefix"; then
5459
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6510
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5460
6511
  do
5461
6512
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5462
6513
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5463
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5464
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6514
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6515
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5465
6516
if test "${ac_cv_prog_F77+set}" = set; then
5466
6517
  echo $ECHO_N "(cached) $ECHO_C" >&6
5467
6518
else
5474
6525
  IFS=$as_save_IFS
5475
6526
  test -z "$as_dir" && as_dir=.
5476
6527
  for ac_exec_ext in '' $ac_executable_extensions; do
5477
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6528
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5478
6529
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5479
6530
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480
6531
    break 2
5481
6532
  fi
5482
6533
done
5483
6534
done
 
6535
IFS=$as_save_IFS
5484
6536
 
5485
6537
fi
5486
6538
fi
5487
6539
F77=$ac_cv_prog_F77
5488
6540
if test -n "$F77"; then
5489
 
  echo "$as_me:$LINENO: result: $F77" >&5
5490
 
echo "${ECHO_T}$F77" >&6
 
6541
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6542
echo "${ECHO_T}$F77" >&6; }
5491
6543
else
5492
 
  echo "$as_me:$LINENO: result: no" >&5
5493
 
echo "${ECHO_T}no" >&6
 
6544
  { echo "$as_me:$LINENO: result: no" >&5
 
6545
echo "${ECHO_T}no" >&6; }
5494
6546
fi
5495
6547
 
 
6548
 
5496
6549
    test -n "$F77" && break
5497
6550
  done
5498
6551
fi
5499
6552
if test -z "$F77"; then
5500
6553
  ac_ct_F77=$F77
5501
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6554
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5502
6555
do
5503
6556
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5504
6557
set dummy $ac_prog; ac_word=$2
5505
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5506
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6558
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6559
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5507
6560
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5508
6561
  echo $ECHO_N "(cached) $ECHO_C" >&6
5509
6562
else
5516
6569
  IFS=$as_save_IFS
5517
6570
  test -z "$as_dir" && as_dir=.
5518
6571
  for ac_exec_ext in '' $ac_executable_extensions; do
5519
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6572
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5520
6573
    ac_cv_prog_ac_ct_F77="$ac_prog"
5521
6574
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5522
6575
    break 2
5523
6576
  fi
5524
6577
done
5525
6578
done
 
6579
IFS=$as_save_IFS
5526
6580
 
5527
6581
fi
5528
6582
fi
5529
6583
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5530
6584
if test -n "$ac_ct_F77"; then
5531
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5532
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6585
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6586
echo "${ECHO_T}$ac_ct_F77" >&6; }
5533
6587
else
5534
 
  echo "$as_me:$LINENO: result: no" >&5
5535
 
echo "${ECHO_T}no" >&6
 
6588
  { echo "$as_me:$LINENO: result: no" >&5
 
6589
echo "${ECHO_T}no" >&6; }
5536
6590
fi
5537
6591
 
 
6592
 
5538
6593
  test -n "$ac_ct_F77" && break
5539
6594
done
5540
6595
 
5541
 
  F77=$ac_ct_F77
 
6596
  if test "x$ac_ct_F77" = x; then
 
6597
    F77=""
 
6598
  else
 
6599
    case $cross_compiling:$ac_tool_warned in
 
6600
yes:)
 
6601
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6602
whose name does not start with the host triplet.  If you think this
 
6603
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6604
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6605
whose name does not start with the host triplet.  If you think this
 
6606
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6607
ac_tool_warned=yes ;;
 
6608
esac
 
6609
    F77=$ac_ct_F77
 
6610
  fi
5542
6611
fi
5543
6612
 
5544
6613
 
5545
6614
# Provide some information about the compiler.
5546
 
echo "$as_me:5546:" \
5547
 
     "checking for Fortran 77 compiler version" >&5
 
6615
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5548
6616
ac_compiler=`set X $ac_compile; echo $2`
5549
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5550
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5551
 
  ac_status=$?
5552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553
 
  (exit $ac_status); }
5554
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5555
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5556
 
  ac_status=$?
5557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558
 
  (exit $ac_status); }
5559
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5560
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6617
{ (ac_try="$ac_compiler --version >&5"
 
6618
case "(($ac_try" in
 
6619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6620
  *) ac_try_echo=$ac_try;;
 
6621
esac
 
6622
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6623
  (eval "$ac_compiler --version >&5") 2>&5
 
6624
  ac_status=$?
 
6625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6626
  (exit $ac_status); }
 
6627
{ (ac_try="$ac_compiler -v >&5"
 
6628
case "(($ac_try" in
 
6629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6630
  *) ac_try_echo=$ac_try;;
 
6631
esac
 
6632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6633
  (eval "$ac_compiler -v >&5") 2>&5
 
6634
  ac_status=$?
 
6635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6636
  (exit $ac_status); }
 
6637
{ (ac_try="$ac_compiler -V >&5"
 
6638
case "(($ac_try" in
 
6639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6640
  *) ac_try_echo=$ac_try;;
 
6641
esac
 
6642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6643
  (eval "$ac_compiler -V >&5") 2>&5
5561
6644
  ac_status=$?
5562
6645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563
6646
  (exit $ac_status); }
5567
6650
# input file.  (Note that this only needs to work for GNU compilers.)
5568
6651
ac_save_ext=$ac_ext
5569
6652
ac_ext=F
5570
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5571
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6653
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6654
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5572
6655
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5573
6656
  echo $ECHO_N "(cached) $ECHO_C" >&6
5574
6657
else
5581
6664
      end
5582
6665
_ACEOF
5583
6666
rm -f conftest.$ac_objext
5584
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5585
 
  (eval $ac_compile) 2>conftest.er1
 
6667
if { (ac_try="$ac_compile"
 
6668
case "(($ac_try" in
 
6669
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6670
  *) ac_try_echo=$ac_try;;
 
6671
esac
 
6672
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6673
  (eval "$ac_compile") 2>conftest.er1
5586
6674
  ac_status=$?
5587
6675
  grep -v '^ *+' conftest.er1 >conftest.err
5588
6676
  rm -f conftest.er1
5589
6677
  cat conftest.err >&5
5590
6678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591
6679
  (exit $ac_status); } &&
5592
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5593
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594
 
  (eval $ac_try) 2>&5
 
6680
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6681
  { (case "(($ac_try" in
 
6682
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6683
  *) ac_try_echo=$ac_try;;
 
6684
esac
 
6685
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6686
  (eval "$ac_try") 2>&5
5595
6687
  ac_status=$?
5596
6688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597
6689
  (exit $ac_status); }; } &&
5598
6690
         { ac_try='test -s conftest.$ac_objext'
5599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600
 
  (eval $ac_try) 2>&5
 
6691
  { (case "(($ac_try" in
 
6692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6693
  *) ac_try_echo=$ac_try;;
 
6694
esac
 
6695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6696
  (eval "$ac_try") 2>&5
5601
6697
  ac_status=$?
5602
6698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603
6699
  (exit $ac_status); }; }; then
5606
6702
  echo "$as_me: failed program was:" >&5
5607
6703
sed 's/^/| /' conftest.$ac_ext >&5
5608
6704
 
5609
 
ac_compiler_gnu=no
 
6705
        ac_compiler_gnu=no
5610
6706
fi
5611
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6707
 
 
6708
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5612
6709
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5613
6710
 
5614
6711
fi
5615
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5616
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6712
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6713
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5617
6714
ac_ext=$ac_save_ext
5618
6715
ac_test_FFLAGS=${FFLAGS+set}
5619
6716
ac_save_FFLAGS=$FFLAGS
5620
6717
FFLAGS=
5621
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5622
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6718
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6719
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5623
6720
if test "${ac_cv_prog_f77_g+set}" = set; then
5624
6721
  echo $ECHO_N "(cached) $ECHO_C" >&6
5625
6722
else
5630
6727
      end
5631
6728
_ACEOF
5632
6729
rm -f conftest.$ac_objext
5633
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5634
 
  (eval $ac_compile) 2>conftest.er1
 
6730
if { (ac_try="$ac_compile"
 
6731
case "(($ac_try" in
 
6732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6733
  *) ac_try_echo=$ac_try;;
 
6734
esac
 
6735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6736
  (eval "$ac_compile") 2>conftest.er1
5635
6737
  ac_status=$?
5636
6738
  grep -v '^ *+' conftest.er1 >conftest.err
5637
6739
  rm -f conftest.er1
5638
6740
  cat conftest.err >&5
5639
6741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640
6742
  (exit $ac_status); } &&
5641
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5642
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643
 
  (eval $ac_try) 2>&5
 
6743
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6744
  { (case "(($ac_try" in
 
6745
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6746
  *) ac_try_echo=$ac_try;;
 
6747
esac
 
6748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6749
  (eval "$ac_try") 2>&5
5644
6750
  ac_status=$?
5645
6751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646
6752
  (exit $ac_status); }; } &&
5647
6753
         { ac_try='test -s conftest.$ac_objext'
5648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649
 
  (eval $ac_try) 2>&5
 
6754
  { (case "(($ac_try" in
 
6755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6756
  *) ac_try_echo=$ac_try;;
 
6757
esac
 
6758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6759
  (eval "$ac_try") 2>&5
5650
6760
  ac_status=$?
5651
6761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652
6762
  (exit $ac_status); }; }; then
5655
6765
  echo "$as_me: failed program was:" >&5
5656
6766
sed 's/^/| /' conftest.$ac_ext >&5
5657
6767
 
5658
 
ac_cv_prog_f77_g=no
5659
 
fi
5660
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5661
 
 
5662
 
fi
5663
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5664
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6768
        ac_cv_prog_f77_g=no
 
6769
fi
 
6770
 
 
6771
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6772
 
 
6773
fi
 
6774
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6775
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5665
6776
if test "$ac_test_FFLAGS" = set; then
5666
6777
  FFLAGS=$ac_save_FFLAGS
5667
6778
elif test $ac_cv_prog_f77_g = yes; then
5690
6801
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5691
6802
 
5692
6803
# find the maximum length of command line arguments
5693
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5694
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6804
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6805
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5695
6806
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5696
6807
  echo $ECHO_N "(cached) $ECHO_C" >&6
5697
6808
else
5731
6842
    lt_cv_sys_max_cmd_len=8192;
5732
6843
    ;;
5733
6844
 
5734
 
 *)
 
6845
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6846
    # This has been around since 386BSD, at least.  Likely further.
 
6847
    if test -x /sbin/sysctl; then
 
6848
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6849
    elif test -x /usr/sbin/sysctl; then
 
6850
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6851
    else
 
6852
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6853
    fi
 
6854
    # And add a safety zone
 
6855
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6856
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6857
    ;;
 
6858
 
 
6859
  interix*)
 
6860
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6861
    lt_cv_sys_max_cmd_len=196608
 
6862
    ;;
 
6863
 
 
6864
  osf*)
 
6865
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6866
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6867
    # nice to cause kernel panics so lets avoid the loop below.
 
6868
    # First set a reasonable default.
 
6869
    lt_cv_sys_max_cmd_len=16384
 
6870
    #
 
6871
    if test -x /sbin/sysconfig; then
 
6872
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6873
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6874
      esac
 
6875
    fi
 
6876
    ;;
 
6877
  sco3.2v5*)
 
6878
    lt_cv_sys_max_cmd_len=102400
 
6879
    ;;
 
6880
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6881
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6882
    if test -n "$kargmax"; then
 
6883
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6884
    else
 
6885
      lt_cv_sys_max_cmd_len=32768
 
6886
    fi
 
6887
    ;;
 
6888
  *)
5735
6889
    # If test is not a shell built-in, we'll probably end up computing a
5736
6890
    # maximum length that is only half of the actual maximum length, but
5737
6891
    # we can't tell.
5738
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6892
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6893
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5739
6894
               = "XX$teststring") >/dev/null 2>&1 &&
5740
6895
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5741
6896
            lt_cv_sys_max_cmd_len=$new_result &&
5755
6910
fi
5756
6911
 
5757
6912
if test -n $lt_cv_sys_max_cmd_len ; then
5758
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5759
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6913
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6914
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5760
6915
else
5761
 
  echo "$as_me:$LINENO: result: none" >&5
5762
 
echo "${ECHO_T}none" >&6
 
6916
  { echo "$as_me:$LINENO: result: none" >&5
 
6917
echo "${ECHO_T}none" >&6; }
5763
6918
fi
5764
6919
 
5765
6920
 
5766
6921
 
5767
6922
 
5768
6923
# Check for command to grab the raw symbol name followed by C symbol from nm.
5769
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5770
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6924
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6925
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5771
6926
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5772
6927
  echo $ECHO_N "(cached) $ECHO_C" >&6
5773
6928
else
5781
6936
# Regexp to match symbols that can be accessed directly from C.
5782
6937
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5783
6938
 
5784
 
# Transform the above into a raw symbol and a C symbol.
5785
 
symxfrm='\1 \2\3 \3'
5786
 
 
5787
6939
# Transform an extracted symbol line into a proper C declaration
5788
6940
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5789
6941
 
5805
6957
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5806
6958
  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'"
5807
6959
  ;;
 
6960
linux* | k*bsd*-gnu)
 
6961
  if test "$host_cpu" = ia64; then
 
6962
    symcode='[ABCDGIRSTW]'
 
6963
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6964
    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'"
 
6965
  fi
 
6966
  ;;
5808
6967
irix* | nonstopux*)
5809
6968
  symcode='[BCDEGRST]'
5810
6969
  ;;
5811
6970
osf*)
5812
6971
  symcode='[BCDEGQRST]'
5813
6972
  ;;
5814
 
solaris* | sysv5*)
 
6973
solaris*)
5815
6974
  symcode='[BDRT]'
5816
6975
  ;;
 
6976
sco3.2v5*)
 
6977
  symcode='[DT]'
 
6978
  ;;
 
6979
sysv4.2uw2*)
 
6980
  symcode='[DT]'
 
6981
  ;;
 
6982
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6983
  symcode='[ABDT]'
 
6984
  ;;
5817
6985
sysv4)
5818
6986
  symcode='[DFNSTU]'
5819
6987
  ;;
5836
7004
# Try without a prefix undercore, then with it.
5837
7005
for ac_symprfx in "" "_"; do
5838
7006
 
 
7007
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
7008
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
7009
 
5839
7010
  # Write the raw and C identifiers.
5840
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
7011
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5841
7012
 
5842
7013
  # Check to see that the pipe works correctly.
5843
7014
  pipe_works=no
5955
7126
  lt_cv_sys_global_symbol_to_cdecl=
5956
7127
fi
5957
7128
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5958
 
  echo "$as_me:$LINENO: result: failed" >&5
5959
 
echo "${ECHO_T}failed" >&6
 
7129
  { echo "$as_me:$LINENO: result: failed" >&5
 
7130
echo "${ECHO_T}failed" >&6; }
5960
7131
else
5961
 
  echo "$as_me:$LINENO: result: ok" >&5
5962
 
echo "${ECHO_T}ok" >&6
 
7132
  { echo "$as_me:$LINENO: result: ok" >&5
 
7133
echo "${ECHO_T}ok" >&6; }
5963
7134
fi
5964
7135
 
5965
 
echo "$as_me:$LINENO: checking for objdir" >&5
5966
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
7136
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7137
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5967
7138
if test "${lt_cv_objdir+set}" = set; then
5968
7139
  echo $ECHO_N "(cached) $ECHO_C" >&6
5969
7140
else
5977
7148
fi
5978
7149
rmdir .libs 2>/dev/null
5979
7150
fi
5980
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5981
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
7151
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7152
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5982
7153
objdir=$lt_cv_objdir
5983
7154
 
5984
7155
 
5999
7170
 
6000
7171
# Sed substitution that helps us do robust quoting.  It backslashifies
6001
7172
# metacharacters that are still active within double-quoted strings.
6002
 
Xsed='sed -e s/^X//'
 
7173
Xsed='sed -e 1s/^X//'
6003
7174
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6004
7175
 
6005
7176
# Same as above, but do not quote variable references.
6019
7190
default_ofile=libtool
6020
7191
can_build_shared=yes
6021
7192
 
6022
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
7193
# All known linkers require a `.a' archive for static linking (except MSVC,
6023
7194
# which needs '.lib').
6024
7195
libext=a
6025
7196
ltmain="$ac_aux_dir/ltmain.sh"
6029
7200
if test -n "$ac_tool_prefix"; then
6030
7201
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6031
7202
set dummy ${ac_tool_prefix}ar; ac_word=$2
6032
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6033
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7203
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7204
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6034
7205
if test "${ac_cv_prog_AR+set}" = set; then
6035
7206
  echo $ECHO_N "(cached) $ECHO_C" >&6
6036
7207
else
6043
7214
  IFS=$as_save_IFS
6044
7215
  test -z "$as_dir" && as_dir=.
6045
7216
  for ac_exec_ext in '' $ac_executable_extensions; do
6046
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6047
7218
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6048
7219
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6049
7220
    break 2
6050
7221
  fi
6051
7222
done
6052
7223
done
 
7224
IFS=$as_save_IFS
6053
7225
 
6054
7226
fi
6055
7227
fi
6056
7228
AR=$ac_cv_prog_AR
6057
7229
if test -n "$AR"; then
6058
 
  echo "$as_me:$LINENO: result: $AR" >&5
6059
 
echo "${ECHO_T}$AR" >&6
 
7230
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7231
echo "${ECHO_T}$AR" >&6; }
6060
7232
else
6061
 
  echo "$as_me:$LINENO: result: no" >&5
6062
 
echo "${ECHO_T}no" >&6
 
7233
  { echo "$as_me:$LINENO: result: no" >&5
 
7234
echo "${ECHO_T}no" >&6; }
6063
7235
fi
 
7236
 
6064
7237
 
6065
7238
fi
6066
7239
if test -z "$ac_cv_prog_AR"; then
6067
7240
  ac_ct_AR=$AR
6068
7241
  # Extract the first word of "ar", so it can be a program name with args.
6069
7242
set dummy ar; ac_word=$2
6070
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6071
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7243
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7244
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6072
7245
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6073
7246
  echo $ECHO_N "(cached) $ECHO_C" >&6
6074
7247
else
6081
7254
  IFS=$as_save_IFS
6082
7255
  test -z "$as_dir" && as_dir=.
6083
7256
  for ac_exec_ext in '' $ac_executable_extensions; do
6084
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6085
7258
    ac_cv_prog_ac_ct_AR="ar"
6086
7259
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6087
7260
    break 2
6088
7261
  fi
6089
7262
done
6090
7263
done
 
7264
IFS=$as_save_IFS
6091
7265
 
6092
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6093
7266
fi
6094
7267
fi
6095
7268
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6096
7269
if test -n "$ac_ct_AR"; then
6097
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6098
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7270
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7271
echo "${ECHO_T}$ac_ct_AR" >&6; }
6099
7272
else
6100
 
  echo "$as_me:$LINENO: result: no" >&5
6101
 
echo "${ECHO_T}no" >&6
 
7273
  { echo "$as_me:$LINENO: result: no" >&5
 
7274
echo "${ECHO_T}no" >&6; }
6102
7275
fi
6103
7276
 
6104
 
  AR=$ac_ct_AR
 
7277
  if test "x$ac_ct_AR" = x; then
 
7278
    AR="false"
 
7279
  else
 
7280
    case $cross_compiling:$ac_tool_warned in
 
7281
yes:)
 
7282
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7283
whose name does not start with the host triplet.  If you think this
 
7284
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7285
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7286
whose name does not start with the host triplet.  If you think this
 
7287
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7288
ac_tool_warned=yes ;;
 
7289
esac
 
7290
    AR=$ac_ct_AR
 
7291
  fi
6105
7292
else
6106
7293
  AR="$ac_cv_prog_AR"
6107
7294
fi
6109
7296
if test -n "$ac_tool_prefix"; then
6110
7297
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6111
7298
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6112
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6113
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7299
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7300
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114
7301
if test "${ac_cv_prog_RANLIB+set}" = set; then
6115
7302
  echo $ECHO_N "(cached) $ECHO_C" >&6
6116
7303
else
6123
7310
  IFS=$as_save_IFS
6124
7311
  test -z "$as_dir" && as_dir=.
6125
7312
  for ac_exec_ext in '' $ac_executable_extensions; do
6126
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7313
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6127
7314
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6128
7315
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6129
7316
    break 2
6130
7317
  fi
6131
7318
done
6132
7319
done
 
7320
IFS=$as_save_IFS
6133
7321
 
6134
7322
fi
6135
7323
fi
6136
7324
RANLIB=$ac_cv_prog_RANLIB
6137
7325
if test -n "$RANLIB"; then
6138
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6139
 
echo "${ECHO_T}$RANLIB" >&6
 
7326
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7327
echo "${ECHO_T}$RANLIB" >&6; }
6140
7328
else
6141
 
  echo "$as_me:$LINENO: result: no" >&5
6142
 
echo "${ECHO_T}no" >&6
 
7329
  { echo "$as_me:$LINENO: result: no" >&5
 
7330
echo "${ECHO_T}no" >&6; }
6143
7331
fi
 
7332
 
6144
7333
 
6145
7334
fi
6146
7335
if test -z "$ac_cv_prog_RANLIB"; then
6147
7336
  ac_ct_RANLIB=$RANLIB
6148
7337
  # Extract the first word of "ranlib", so it can be a program name with args.
6149
7338
set dummy ranlib; ac_word=$2
6150
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6151
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7339
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7340
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6152
7341
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6153
7342
  echo $ECHO_N "(cached) $ECHO_C" >&6
6154
7343
else
6161
7350
  IFS=$as_save_IFS
6162
7351
  test -z "$as_dir" && as_dir=.
6163
7352
  for ac_exec_ext in '' $ac_executable_extensions; do
6164
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7353
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6165
7354
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6166
7355
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6167
7356
    break 2
6168
7357
  fi
6169
7358
done
6170
7359
done
 
7360
IFS=$as_save_IFS
6171
7361
 
6172
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6173
7362
fi
6174
7363
fi
6175
7364
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6176
7365
if test -n "$ac_ct_RANLIB"; then
6177
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6178
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7366
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7367
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6179
7368
else
6180
 
  echo "$as_me:$LINENO: result: no" >&5
6181
 
echo "${ECHO_T}no" >&6
 
7369
  { echo "$as_me:$LINENO: result: no" >&5
 
7370
echo "${ECHO_T}no" >&6; }
6182
7371
fi
6183
7372
 
6184
 
  RANLIB=$ac_ct_RANLIB
 
7373
  if test "x$ac_ct_RANLIB" = x; then
 
7374
    RANLIB=":"
 
7375
  else
 
7376
    case $cross_compiling:$ac_tool_warned in
 
7377
yes:)
 
7378
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7379
whose name does not start with the host triplet.  If you think this
 
7380
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7381
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7382
whose name does not start with the host triplet.  If you think this
 
7383
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7384
ac_tool_warned=yes ;;
 
7385
esac
 
7386
    RANLIB=$ac_ct_RANLIB
 
7387
  fi
6185
7388
else
6186
7389
  RANLIB="$ac_cv_prog_RANLIB"
6187
7390
fi
6189
7392
if test -n "$ac_tool_prefix"; then
6190
7393
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6191
7394
set dummy ${ac_tool_prefix}strip; ac_word=$2
6192
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6193
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7395
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7396
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6194
7397
if test "${ac_cv_prog_STRIP+set}" = set; then
6195
7398
  echo $ECHO_N "(cached) $ECHO_C" >&6
6196
7399
else
6203
7406
  IFS=$as_save_IFS
6204
7407
  test -z "$as_dir" && as_dir=.
6205
7408
  for ac_exec_ext in '' $ac_executable_extensions; do
6206
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6207
7410
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6208
7411
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6209
7412
    break 2
6210
7413
  fi
6211
7414
done
6212
7415
done
 
7416
IFS=$as_save_IFS
6213
7417
 
6214
7418
fi
6215
7419
fi
6216
7420
STRIP=$ac_cv_prog_STRIP
6217
7421
if test -n "$STRIP"; then
6218
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6219
 
echo "${ECHO_T}$STRIP" >&6
 
7422
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7423
echo "${ECHO_T}$STRIP" >&6; }
6220
7424
else
6221
 
  echo "$as_me:$LINENO: result: no" >&5
6222
 
echo "${ECHO_T}no" >&6
 
7425
  { echo "$as_me:$LINENO: result: no" >&5
 
7426
echo "${ECHO_T}no" >&6; }
6223
7427
fi
 
7428
 
6224
7429
 
6225
7430
fi
6226
7431
if test -z "$ac_cv_prog_STRIP"; then
6227
7432
  ac_ct_STRIP=$STRIP
6228
7433
  # Extract the first word of "strip", so it can be a program name with args.
6229
7434
set dummy strip; ac_word=$2
6230
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6231
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7435
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7436
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6232
7437
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6233
7438
  echo $ECHO_N "(cached) $ECHO_C" >&6
6234
7439
else
6241
7446
  IFS=$as_save_IFS
6242
7447
  test -z "$as_dir" && as_dir=.
6243
7448
  for ac_exec_ext in '' $ac_executable_extensions; do
6244
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7449
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6245
7450
    ac_cv_prog_ac_ct_STRIP="strip"
6246
7451
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6247
7452
    break 2
6248
7453
  fi
6249
7454
done
6250
7455
done
 
7456
IFS=$as_save_IFS
6251
7457
 
6252
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6253
7458
fi
6254
7459
fi
6255
7460
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6256
7461
if test -n "$ac_ct_STRIP"; then
6257
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6258
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7462
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7463
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6259
7464
else
6260
 
  echo "$as_me:$LINENO: result: no" >&5
6261
 
echo "${ECHO_T}no" >&6
 
7465
  { echo "$as_me:$LINENO: result: no" >&5
 
7466
echo "${ECHO_T}no" >&6; }
6262
7467
fi
6263
7468
 
6264
 
  STRIP=$ac_ct_STRIP
 
7469
  if test "x$ac_ct_STRIP" = x; then
 
7470
    STRIP=":"
 
7471
  else
 
7472
    case $cross_compiling:$ac_tool_warned in
 
7473
yes:)
 
7474
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7475
whose name does not start with the host triplet.  If you think this
 
7476
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7477
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7478
whose name does not start with the host triplet.  If you think this
 
7479
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7480
ac_tool_warned=yes ;;
 
7481
esac
 
7482
    STRIP=$ac_ct_STRIP
 
7483
  fi
6265
7484
else
6266
7485
  STRIP="$ac_cv_prog_STRIP"
6267
7486
fi
6276
7495
test -z "$AS" && AS=as
6277
7496
test -z "$CC" && CC=cc
6278
7497
test -z "$LTCC" && LTCC=$CC
 
7498
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6279
7499
test -z "$DLLTOOL" && DLLTOOL=dlltool
6280
7500
test -z "$LD" && LD=ld
6281
7501
test -z "$LN_S" && LN_S="ln -s"
6295
7515
if test -n "$RANLIB"; then
6296
7516
  case $host_os in
6297
7517
  openbsd*)
6298
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
7518
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6299
7519
    ;;
6300
7520
  *)
6301
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
7521
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6302
7522
    ;;
6303
7523
  esac
6304
7524
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6305
7525
fi
6306
7526
 
 
7527
for cc_temp in $compiler""; do
 
7528
  case $cc_temp in
 
7529
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7530
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7531
    \-*) ;;
 
7532
    *) break;;
 
7533
  esac
 
7534
done
 
7535
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7536
 
 
7537
 
6307
7538
# Only perform the check for file, if the check method requires it
6308
7539
case $deplibs_check_method in
6309
7540
file_magic*)
6310
7541
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6311
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6312
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7542
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7543
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6313
7544
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6314
7545
  echo $ECHO_N "(cached) $ECHO_C" >&6
6315
7546
else
6329
7560
      if test -n "$file_magic_test_file"; then
6330
7561
        case $deplibs_check_method in
6331
7562
        "file_magic "*)
6332
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7563
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6333
7564
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6334
7565
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6335
7566
            $EGREP "$file_magic_regex" > /dev/null; then
6361
7592
 
6362
7593
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6363
7594
if test -n "$MAGIC_CMD"; then
6364
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6365
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7595
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7596
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6366
7597
else
6367
 
  echo "$as_me:$LINENO: result: no" >&5
6368
 
echo "${ECHO_T}no" >&6
 
7598
  { echo "$as_me:$LINENO: result: no" >&5
 
7599
echo "${ECHO_T}no" >&6; }
6369
7600
fi
6370
7601
 
6371
7602
if test -z "$lt_cv_path_MAGIC_CMD"; then
6372
7603
  if test -n "$ac_tool_prefix"; then
6373
 
    echo "$as_me:$LINENO: checking for file" >&5
6374
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7604
    { echo "$as_me:$LINENO: checking for file" >&5
 
7605
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6375
7606
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6376
7607
  echo $ECHO_N "(cached) $ECHO_C" >&6
6377
7608
else
6391
7622
      if test -n "$file_magic_test_file"; then
6392
7623
        case $deplibs_check_method in
6393
7624
        "file_magic "*)
6394
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7625
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6395
7626
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6396
7627
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6397
7628
            $EGREP "$file_magic_regex" > /dev/null; then
6423
7654
 
6424
7655
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6425
7656
if test -n "$MAGIC_CMD"; then
6426
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6427
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7657
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7658
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6428
7659
else
6429
 
  echo "$as_me:$LINENO: result: no" >&5
6430
 
echo "${ECHO_T}no" >&6
 
7660
  { echo "$as_me:$LINENO: result: no" >&5
 
7661
echo "${ECHO_T}no" >&6; }
6431
7662
fi
6432
7663
 
6433
7664
  else
6442
7673
enable_dlopen=no
6443
7674
enable_win32_dll=no
6444
7675
 
6445
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7676
# Check whether --enable-libtool-lock was given.
6446
7677
if test "${enable_libtool_lock+set}" = set; then
6447
 
  enableval="$enable_libtool_lock"
 
7678
  enableval=$enable_libtool_lock;
 
7679
fi
6448
7680
 
6449
 
fi;
6450
7681
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6451
7682
 
6452
7683
 
6453
 
# Check whether --with-pic or --without-pic was given.
 
7684
# Check whether --with-pic was given.
6454
7685
if test "${with_pic+set}" = set; then
6455
 
  withval="$with_pic"
6456
 
  pic_mode="$withval"
 
7686
  withval=$with_pic; pic_mode="$withval"
6457
7687
else
6458
7688
  pic_mode=default
6459
 
fi;
 
7689
fi
 
7690
 
6460
7691
test -z "$pic_mode" && pic_mode=default
6461
7692
 
6462
7693
# Use C for the default configuration in the libtool script
6486
7717
# If no C compiler was specified, use CC.
6487
7718
LTCC=${LTCC-"$CC"}
6488
7719
 
 
7720
# If no C compiler flags were specified, use CFLAGS.
 
7721
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7722
 
6489
7723
# Allow CC to be a program name with arguments.
6490
7724
compiler=$CC
6491
7725
 
6492
7726
 
6493
 
#
6494
 
# Check for any special shared library compilation flags.
6495
 
#
6496
 
lt_prog_cc_shlib=
6497
 
if test "$GCC" = no; then
6498
 
  case $host_os in
6499
 
  sco3.2v5*)
6500
 
    lt_prog_cc_shlib='-belf'
6501
 
    ;;
6502
 
  esac
6503
 
fi
6504
 
if test -n "$lt_prog_cc_shlib"; then
6505
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6506
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6507
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6508
 
  else
6509
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6510
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6511
 
    lt_cv_prog_cc_can_build_shared=no
6512
 
  fi
6513
 
fi
6514
 
 
6515
 
 
6516
 
#
6517
 
# Check to make sure the static flag actually works.
6518
 
#
6519
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6520
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6521
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6522
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6523
 
else
6524
 
  lt_prog_compiler_static_works=no
6525
 
   save_LDFLAGS="$LDFLAGS"
6526
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6527
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6528
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6529
 
     # The compiler can only warn and ignore the option if not recognized
6530
 
     # So say no if there are warnings
6531
 
     if test -s conftest.err; then
6532
 
       # Append any errors to the config.log.
6533
 
       cat conftest.err 1>&5
6534
 
     else
6535
 
       lt_prog_compiler_static_works=yes
6536
 
     fi
6537
 
   fi
6538
 
   $rm conftest*
6539
 
   LDFLAGS="$save_LDFLAGS"
6540
 
 
6541
 
fi
6542
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6543
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6544
 
 
6545
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6546
 
    :
6547
 
else
6548
 
    lt_prog_compiler_static=
6549
 
fi
6550
 
 
 
7727
# save warnings/boilerplate of simple test code
 
7728
ac_outfile=conftest.$ac_objext
 
7729
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7730
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7731
_lt_compiler_boilerplate=`cat conftest.err`
 
7732
$rm conftest*
 
7733
 
 
7734
ac_outfile=conftest.$ac_objext
 
7735
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7736
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7737
_lt_linker_boilerplate=`cat conftest.err`
 
7738
$rm conftest*
6551
7739
 
6552
7740
 
6553
7741
 
6557
7745
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6558
7746
 
6559
7747
 
6560
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6561
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7748
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7749
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6562
7750
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6563
7751
  echo $ECHO_N "(cached) $ECHO_C" >&6
6564
7752
else
6572
7760
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6573
7761
   # The option is referenced via a variable to avoid confusing sed.
6574
7762
   lt_compile=`echo "$ac_compile" | $SED \
6575
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6576
7764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6577
7765
   -e 's:$: $lt_compiler_flag:'`
6578
 
   (eval echo "\"\$as_me:6578: $lt_compile\"" >&5)
 
7766
   (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
6579
7767
   (eval "$lt_compile" 2>conftest.err)
6580
7768
   ac_status=$?
6581
7769
   cat conftest.err >&5
6582
 
   echo "$as_me:6582: \$? = $ac_status" >&5
 
7770
   echo "$as_me:7770: \$? = $ac_status" >&5
6583
7771
   if (exit $ac_status) && test -s "$ac_outfile"; then
6584
7772
     # The compiler can only warn and ignore the option if not recognized
6585
 
     # So say no if there are warnings
6586
 
     if test ! -s conftest.err; then
 
7773
     # So say no if there are warnings other than the usual output.
 
7774
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7775
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7776
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6587
7777
       lt_cv_prog_compiler_rtti_exceptions=yes
6588
7778
     fi
6589
7779
   fi
6590
7780
   $rm conftest*
6591
7781
 
6592
7782
fi
6593
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6594
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7783
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7784
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6595
7785
 
6596
7786
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6597
7787
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6605
7795
lt_prog_compiler_pic=
6606
7796
lt_prog_compiler_static=
6607
7797
 
6608
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6609
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7798
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7799
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6610
7800
 
6611
7801
  if test "$GCC" = yes; then
6612
7802
    lt_prog_compiler_wl='-Wl,'
6644
7834
      lt_prog_compiler_pic='-fno-common'
6645
7835
      ;;
6646
7836
 
 
7837
    interix3*)
 
7838
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7839
      # Instead, we relocate shared libraries at runtime.
 
7840
      ;;
 
7841
 
6647
7842
    msdosdjgpp*)
6648
7843
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6649
7844
      # on systems that don't support them.
6660
7855
    hpux*)
6661
7856
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6662
7857
      # not for PA HP-UX.
6663
 
      case "$host_cpu" in
 
7858
      case $host_cpu in
6664
7859
      hppa*64*|ia64*)
6665
7860
        # +Z the default
6666
7861
        ;;
6686
7881
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6687
7882
      fi
6688
7883
      ;;
 
7884
      darwin*)
 
7885
        # PIC is the default on this platform
 
7886
        # Common symbols not allowed in MH_DYLIB files
 
7887
       case $cc_basename in
 
7888
         xlc*)
 
7889
         lt_prog_compiler_pic='-qnocommon'
 
7890
         lt_prog_compiler_wl='-Wl,'
 
7891
         ;;
 
7892
       esac
 
7893
       ;;
6689
7894
 
6690
7895
    mingw* | pw32* | os2*)
6691
7896
      # This hack is so that the source file can tell whether it is being
6697
7902
      lt_prog_compiler_wl='-Wl,'
6698
7903
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6699
7904
      # not for PA HP-UX.
6700
 
      case "$host_cpu" in
 
7905
      case $host_cpu in
6701
7906
      hppa*64*|ia64*)
6702
7907
        # +Z the default
6703
7908
        ;;
6720
7925
      lt_prog_compiler_static='-Bstatic'
6721
7926
      ;;
6722
7927
 
6723
 
    linux*)
6724
 
      case $CC in
 
7928
    linux* | k*bsd*-gnu)
 
7929
      case $cc_basename in
6725
7930
      icc* | ecc*)
6726
7931
        lt_prog_compiler_wl='-Wl,'
6727
7932
        lt_prog_compiler_pic='-KPIC'
6728
7933
        lt_prog_compiler_static='-static'
6729
7934
        ;;
 
7935
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7936
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7937
        # which looks to be a dead project)
 
7938
        lt_prog_compiler_wl='-Wl,'
 
7939
        lt_prog_compiler_pic='-fpic'
 
7940
        lt_prog_compiler_static='-Bstatic'
 
7941
        ;;
6730
7942
      ccc*)
6731
7943
        lt_prog_compiler_wl='-Wl,'
6732
7944
        # All Alpha code is PIC.
6741
7953
      lt_prog_compiler_static='-non_shared'
6742
7954
      ;;
6743
7955
 
6744
 
    sco3.2v5*)
6745
 
      lt_prog_compiler_pic='-Kpic'
6746
 
      lt_prog_compiler_static='-dn'
6747
 
      ;;
6748
 
 
6749
7956
    solaris*)
6750
 
      lt_prog_compiler_wl='-Wl,'
6751
7957
      lt_prog_compiler_pic='-KPIC'
6752
7958
      lt_prog_compiler_static='-Bstatic'
 
7959
      case $cc_basename in
 
7960
      f77* | f90* | f95*)
 
7961
        lt_prog_compiler_wl='-Qoption ld ';;
 
7962
      *)
 
7963
        lt_prog_compiler_wl='-Wl,';;
 
7964
      esac
6753
7965
      ;;
6754
7966
 
6755
7967
    sunos4*)
6758
7970
      lt_prog_compiler_static='-Bstatic'
6759
7971
      ;;
6760
7972
 
6761
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7973
    sysv4 | sysv4.2uw2* | sysv4.3*)
6762
7974
      lt_prog_compiler_wl='-Wl,'
6763
7975
      lt_prog_compiler_pic='-KPIC'
6764
7976
      lt_prog_compiler_static='-Bstatic'
6771
7983
      fi
6772
7984
      ;;
6773
7985
 
 
7986
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7987
      lt_prog_compiler_wl='-Wl,'
 
7988
      lt_prog_compiler_pic='-KPIC'
 
7989
      lt_prog_compiler_static='-Bstatic'
 
7990
      ;;
 
7991
 
 
7992
    unicos*)
 
7993
      lt_prog_compiler_wl='-Wl,'
 
7994
      lt_prog_compiler_can_build_shared=no
 
7995
      ;;
 
7996
 
6774
7997
    uts4*)
6775
7998
      lt_prog_compiler_pic='-pic'
6776
7999
      lt_prog_compiler_static='-Bstatic'
6782
8005
    esac
6783
8006
  fi
6784
8007
 
6785
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6786
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8008
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8009
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6787
8010
 
6788
8011
#
6789
8012
# Check to make sure the PIC flag actually works.
6790
8013
#
6791
8014
if test -n "$lt_prog_compiler_pic"; then
6792
8015
 
6793
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6794
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
8016
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8017
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6795
8018
if test "${lt_prog_compiler_pic_works+set}" = set; then
6796
8019
  echo $ECHO_N "(cached) $ECHO_C" >&6
6797
8020
else
6805
8028
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6806
8029
   # The option is referenced via a variable to avoid confusing sed.
6807
8030
   lt_compile=`echo "$ac_compile" | $SED \
6808
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8031
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6809
8032
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6810
8033
   -e 's:$: $lt_compiler_flag:'`
6811
 
   (eval echo "\"\$as_me:6811: $lt_compile\"" >&5)
 
8034
   (eval echo "\"\$as_me:8034: $lt_compile\"" >&5)
6812
8035
   (eval "$lt_compile" 2>conftest.err)
6813
8036
   ac_status=$?
6814
8037
   cat conftest.err >&5
6815
 
   echo "$as_me:6815: \$? = $ac_status" >&5
 
8038
   echo "$as_me:8038: \$? = $ac_status" >&5
6816
8039
   if (exit $ac_status) && test -s "$ac_outfile"; then
6817
8040
     # The compiler can only warn and ignore the option if not recognized
6818
 
     # So say no if there are warnings
6819
 
     if test ! -s conftest.err; then
 
8041
     # So say no if there are warnings other than the usual output.
 
8042
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8043
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8044
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6820
8045
       lt_prog_compiler_pic_works=yes
6821
8046
     fi
6822
8047
   fi
6823
8048
   $rm conftest*
6824
8049
 
6825
8050
fi
6826
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6827
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8051
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
8052
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6828
8053
 
6829
8054
if test x"$lt_prog_compiler_pic_works" = xyes; then
6830
8055
    case $lt_prog_compiler_pic in
6837
8062
fi
6838
8063
 
6839
8064
fi
6840
 
case "$host_os" in
 
8065
case $host_os in
6841
8066
  # For platforms which do not support PIC, -DPIC is meaningless:
6842
8067
  *djgpp*)
6843
8068
    lt_prog_compiler_pic=
6847
8072
    ;;
6848
8073
esac
6849
8074
 
6850
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6851
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
8075
#
 
8076
# Check to make sure the static flag actually works.
 
8077
#
 
8078
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8079
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8080
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8081
if test "${lt_prog_compiler_static_works+set}" = set; then
 
8082
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8083
else
 
8084
  lt_prog_compiler_static_works=no
 
8085
   save_LDFLAGS="$LDFLAGS"
 
8086
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8087
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8088
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8089
     # The linker can only warn and ignore the option if not recognized
 
8090
     # So say no if there are warnings
 
8091
     if test -s conftest.err; then
 
8092
       # Append any errors to the config.log.
 
8093
       cat conftest.err 1>&5
 
8094
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8095
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8096
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8097
         lt_prog_compiler_static_works=yes
 
8098
       fi
 
8099
     else
 
8100
       lt_prog_compiler_static_works=yes
 
8101
     fi
 
8102
   fi
 
8103
   $rm conftest*
 
8104
   LDFLAGS="$save_LDFLAGS"
 
8105
 
 
8106
fi
 
8107
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
8108
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8109
 
 
8110
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8111
    :
 
8112
else
 
8113
    lt_prog_compiler_static=
 
8114
fi
 
8115
 
 
8116
 
 
8117
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8118
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6852
8119
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6853
8120
  echo $ECHO_N "(cached) $ECHO_C" >&6
6854
8121
else
6865
8132
   # Note that $ac_compile itself does not contain backslashes and begins
6866
8133
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6867
8134
   lt_compile=`echo "$ac_compile" | $SED \
6868
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8135
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6869
8136
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6870
8137
   -e 's:$: $lt_compiler_flag:'`
6871
 
   (eval echo "\"\$as_me:6871: $lt_compile\"" >&5)
 
8138
   (eval echo "\"\$as_me:8138: $lt_compile\"" >&5)
6872
8139
   (eval "$lt_compile" 2>out/conftest.err)
6873
8140
   ac_status=$?
6874
8141
   cat out/conftest.err >&5
6875
 
   echo "$as_me:6875: \$? = $ac_status" >&5
 
8142
   echo "$as_me:8142: \$? = $ac_status" >&5
6876
8143
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6877
8144
   then
6878
8145
     # The compiler can only warn and ignore the option if not recognized
6879
8146
     # So say no if there are warnings
6880
 
     if test ! -s out/conftest.err; then
 
8147
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8148
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8149
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6881
8150
       lt_cv_prog_compiler_c_o=yes
6882
8151
     fi
6883
8152
   fi
6884
 
   chmod u+w .
 
8153
   chmod u+w . 2>&5
6885
8154
   $rm conftest*
6886
8155
   # SGI C++ compiler will create directory out/ii_files/ for
6887
8156
   # template instantiation
6892
8161
   $rm conftest*
6893
8162
 
6894
8163
fi
6895
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6896
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8164
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8165
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6897
8166
 
6898
8167
 
6899
8168
hard_links="nottested"
6900
8169
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6901
8170
  # do not overwrite the value of need_locks provided by the user
6902
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6903
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8171
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8172
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6904
8173
  hard_links=yes
6905
8174
  $rm conftest*
6906
8175
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6907
8176
  touch conftest.a
6908
8177
  ln conftest.a conftest.b 2>&5 || hard_links=no
6909
8178
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6910
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6911
 
echo "${ECHO_T}$hard_links" >&6
 
8179
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
8180
echo "${ECHO_T}$hard_links" >&6; }
6912
8181
  if test "$hard_links" = no; then
6913
8182
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6914
8183
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6918
8187
  need_locks=no
6919
8188
fi
6920
8189
 
6921
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6922
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8190
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8191
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6923
8192
 
6924
8193
  runpath_var=
6925
8194
  allow_undefined_flag=
6957
8226
  # rely on this symbol name, it's probably fine to never include it in
6958
8227
  # preloaded symbol tables.
6959
8228
  extract_expsyms_cmds=
 
8229
  # Just being paranoid about ensuring that cc_basename is set.
 
8230
  for cc_temp in $compiler""; do
 
8231
  case $cc_temp in
 
8232
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8233
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8234
    \-*) ;;
 
8235
    *) break;;
 
8236
  esac
 
8237
done
 
8238
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6960
8239
 
6961
8240
  case $host_os in
6962
8241
  cygwin* | mingw* | pw32*)
6967
8246
      with_gnu_ld=no
6968
8247
    fi
6969
8248
    ;;
 
8249
  interix*)
 
8250
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8251
    with_gnu_ld=yes
 
8252
    ;;
6970
8253
  openbsd*)
6971
8254
    with_gnu_ld=no
6972
8255
    ;;
6977
8260
    # If archive_cmds runs LD, not CC, wlarc should be empty
6978
8261
    wlarc='${wl}'
6979
8262
 
 
8263
    # Set some defaults for GNU ld with shared library support. These
 
8264
    # are reset later if shared libraries are not supported. Putting them
 
8265
    # here allows them to be overridden if necessary.
 
8266
    runpath_var=LD_RUN_PATH
 
8267
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8268
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8269
    # ancient GNU ld didn't support --whole-archive et. al.
 
8270
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
8271
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8272
      else
 
8273
        whole_archive_flag_spec=
 
8274
    fi
 
8275
    supports_anon_versioning=no
 
8276
    case `$LD -v 2>/dev/null` in
 
8277
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8278
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8279
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8280
      *\ 2.11.*) ;; # other 2.11 versions
 
8281
      *) supports_anon_versioning=yes ;;
 
8282
    esac
 
8283
 
6980
8284
    # See if GNU ld supports shared libraries.
6981
8285
    case $host_os in
6982
8286
    aix3* | aix4* | aix5*)
7027
8331
      allow_undefined_flag=unsupported
7028
8332
      always_export_symbols=no
7029
8333
      enable_shared_with_static_runtimes=yes
7030
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8334
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7031
8335
 
7032
8336
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7033
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8337
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7034
8338
        # If the export-symbols file already is a .def file (1st line
7035
8339
        # is EXPORTS), use it as is; otherwise, prepend...
7036
8340
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7039
8343
          echo EXPORTS > $output_objdir/$soname.def;
7040
8344
          cat $export_symbols >> $output_objdir/$soname.def;
7041
8345
        fi~
7042
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
7043
 
      else
7044
 
        ld_shlibs=no
7045
 
      fi
7046
 
      ;;
7047
 
 
7048
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8346
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8347
      else
 
8348
        ld_shlibs=no
 
8349
      fi
 
8350
      ;;
 
8351
 
 
8352
    interix3*)
 
8353
      hardcode_direct=no
 
8354
      hardcode_shlibpath_var=no
 
8355
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8356
      export_dynamic_flag_spec='${wl}-E'
 
8357
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8358
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8359
      # default) and relocated if they conflict, which is a slow very memory
 
8360
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8361
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8362
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8363
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8364
      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'
 
8365
      ;;
 
8366
 
 
8367
    linux* | k*bsd*-gnu)
 
8368
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8369
        tmp_addflag=
 
8370
        case $cc_basename,$host_cpu in
 
8371
        pgcc*)                          # Portland Group C compiler
 
8372
          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'
 
8373
          tmp_addflag=' $pic_flag'
 
8374
          ;;
 
8375
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8376
          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'
 
8377
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8378
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8379
          tmp_addflag=' -i_dynamic' ;;
 
8380
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8381
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8382
        ifc* | ifort*)                  # Intel Fortran compiler
 
8383
          tmp_addflag=' -nofor_main' ;;
 
8384
        esac
 
8385
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8386
 
 
8387
        if test $supports_anon_versioning = yes; then
 
8388
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
8389
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8390
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
8391
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8392
        fi
 
8393
        link_all_deplibs=no
 
8394
      else
 
8395
        ld_shlibs=no
 
8396
      fi
 
8397
      ;;
 
8398
 
 
8399
    netbsd* | netbsdelf*-gnu)
7049
8400
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7050
8401
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7051
8402
        wlarc=
7055
8406
      fi
7056
8407
      ;;
7057
8408
 
7058
 
    solaris* | sysv5*)
 
8409
    solaris*)
7059
8410
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7060
8411
        ld_shlibs=no
7061
8412
        cat <<EOF 1>&2
7076
8427
      fi
7077
8428
      ;;
7078
8429
 
 
8430
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8431
      case `$LD -v 2>&1` in
 
8432
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8433
        ld_shlibs=no
 
8434
        cat <<_LT_EOF 1>&2
 
8435
 
 
8436
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8437
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8438
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8439
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8440
*** your PATH or compiler configuration so that the native linker is
 
8441
*** used, and then restart.
 
8442
 
 
8443
_LT_EOF
 
8444
        ;;
 
8445
        *)
 
8446
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8447
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8448
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8449
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8450
          else
 
8451
            ld_shlibs=no
 
8452
          fi
 
8453
        ;;
 
8454
      esac
 
8455
      ;;
 
8456
 
7079
8457
    sunos4*)
7080
8458
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7081
8459
      wlarc=
7083
8461
      hardcode_shlibpath_var=no
7084
8462
      ;;
7085
8463
 
7086
 
  linux*)
7087
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7088
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7089
 
        archive_cmds="$tmp_archive_cmds"
7090
 
      supports_anon_versioning=no
7091
 
      case `$LD -v 2>/dev/null` in
7092
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7093
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7094
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7095
 
        *\ 2.11.*) ;; # other 2.11 versions
7096
 
        *) supports_anon_versioning=yes ;;
7097
 
      esac
7098
 
      if test $supports_anon_versioning = yes; then
7099
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7100
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7101
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
7102
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7103
 
      else
7104
 
        archive_expsym_cmds="$tmp_archive_cmds"
7105
 
      fi
7106
 
      link_all_deplibs=no
7107
 
    else
7108
 
      ld_shlibs=no
7109
 
    fi
7110
 
    ;;
7111
 
 
7112
8464
    *)
7113
8465
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7114
8466
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7119
8471
      ;;
7120
8472
    esac
7121
8473
 
7122
 
    if test "$ld_shlibs" = yes; then
7123
 
      runpath_var=LD_RUN_PATH
7124
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7125
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
7126
 
      # ancient GNU ld didn't support --whole-archive et. al.
7127
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7128
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7129
 
      else
7130
 
        whole_archive_flag_spec=
7131
 
      fi
 
8474
    if test "$ld_shlibs" = no; then
 
8475
      runpath_var=
 
8476
      hardcode_libdir_flag_spec=
 
8477
      export_dynamic_flag_spec=
 
8478
      whole_archive_flag_spec=
7132
8479
    fi
7133
8480
  else
7134
8481
    # PORTME fill in a description of your system's linker (not GNU ld)
7140
8487
      # Note: this linker hardcodes the directories in LIBPATH if there
7141
8488
      # are no directories specified by -L.
7142
8489
      hardcode_minus_L=yes
7143
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
8490
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7144
8491
        # Neither direct hardcoding nor static linking is supported with a
7145
8492
        # broken collect2.
7146
8493
        hardcode_direct=unsupported
7174
8521
            break
7175
8522
          fi
7176
8523
          done
 
8524
          ;;
7177
8525
        esac
7178
8526
 
7179
8527
        exp_sym_flag='-bexport'
7192
8540
      link_all_deplibs=yes
7193
8541
 
7194
8542
      if test "$GCC" = yes; then
7195
 
        case $host_os in aix4.012|aix4.012.*)
 
8543
        case $host_os in aix4.[012]|aix4.[012].*)
7196
8544
        # We only want to do this on AIX 4.2 and lower, the check
7197
8545
        # below for broken collect2 doesn't work under 4.3+
7198
8546
          collect2name=`${CC} -print-prog-name=collect2`
7211
8559
          hardcode_libdir_flag_spec='-L$libdir'
7212
8560
          hardcode_libdir_separator=
7213
8561
          fi
 
8562
          ;;
7214
8563
        esac
7215
8564
        shared_flag='-shared'
 
8565
        if test "$aix_use_runtimelinking" = yes; then
 
8566
          shared_flag="$shared_flag "'${wl}-G'
 
8567
        fi
7216
8568
      else
7217
8569
        # not using gcc
7218
8570
        if test "$host_cpu" = ia64; then
7220
8572
        # chokes on -Wl,-G. The following line is correct:
7221
8573
          shared_flag='-G'
7222
8574
        else
7223
 
        if test "$aix_use_runtimelinking" = yes; then
 
8575
          if test "$aix_use_runtimelinking" = yes; then
7224
8576
            shared_flag='${wl}-G'
7225
8577
          else
7226
8578
            shared_flag='${wl}-bM:SRE'
7227
 
        fi
 
8579
          fi
7228
8580
        fi
7229
8581
      fi
7230
8582
 
7252
8604
}
7253
8605
_ACEOF
7254
8606
rm -f conftest.$ac_objext conftest$ac_exeext
7255
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7256
 
  (eval $ac_link) 2>conftest.er1
 
8607
if { (ac_try="$ac_link"
 
8608
case "(($ac_try" in
 
8609
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8610
  *) ac_try_echo=$ac_try;;
 
8611
esac
 
8612
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8613
  (eval "$ac_link") 2>conftest.er1
7257
8614
  ac_status=$?
7258
8615
  grep -v '^ *+' conftest.er1 >conftest.err
7259
8616
  rm -f conftest.er1
7260
8617
  cat conftest.err >&5
7261
8618
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262
8619
  (exit $ac_status); } &&
7263
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7265
 
  (eval $ac_try) 2>&5
 
8620
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8621
  { (case "(($ac_try" in
 
8622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8623
  *) ac_try_echo=$ac_try;;
 
8624
esac
 
8625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8626
  (eval "$ac_try") 2>&5
7266
8627
  ac_status=$?
7267
8628
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268
8629
  (exit $ac_status); }; } &&
7269
8630
         { ac_try='test -s conftest$ac_exeext'
7270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271
 
  (eval $ac_try) 2>&5
 
8631
  { (case "(($ac_try" in
 
8632
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8633
  *) ac_try_echo=$ac_try;;
 
8634
esac
 
8635
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8636
  (eval "$ac_try") 2>&5
7272
8637
  ac_status=$?
7273
8638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274
8639
  (exit $ac_status); }; }; then
7282
8647
  echo "$as_me: failed program was:" >&5
7283
8648
sed 's/^/| /' conftest.$ac_ext >&5
7284
8649
 
 
8650
 
7285
8651
fi
7286
 
rm -f conftest.err conftest.$ac_objext \
 
8652
 
 
8653
rm -f core conftest.err conftest.$ac_objext \
7287
8654
      conftest$ac_exeext conftest.$ac_ext
7288
8655
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7289
8656
 
7290
8657
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7291
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8658
        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"
7292
8659
       else
7293
8660
        if test "$host_cpu" = ia64; then
7294
8661
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7295
8662
          allow_undefined_flag="-z nodefs"
7296
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
8663
          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"
7297
8664
        else
7298
8665
         # Determine the default libpath from the value encoded in an empty executable.
7299
8666
         cat >conftest.$ac_ext <<_ACEOF
7312
8679
}
7313
8680
_ACEOF
7314
8681
rm -f conftest.$ac_objext conftest$ac_exeext
7315
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7316
 
  (eval $ac_link) 2>conftest.er1
 
8682
if { (ac_try="$ac_link"
 
8683
case "(($ac_try" in
 
8684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8685
  *) ac_try_echo=$ac_try;;
 
8686
esac
 
8687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8688
  (eval "$ac_link") 2>conftest.er1
7317
8689
  ac_status=$?
7318
8690
  grep -v '^ *+' conftest.er1 >conftest.err
7319
8691
  rm -f conftest.er1
7320
8692
  cat conftest.err >&5
7321
8693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322
8694
  (exit $ac_status); } &&
7323
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7324
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325
 
  (eval $ac_try) 2>&5
 
8695
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8696
  { (case "(($ac_try" in
 
8697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8698
  *) ac_try_echo=$ac_try;;
 
8699
esac
 
8700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8701
  (eval "$ac_try") 2>&5
7326
8702
  ac_status=$?
7327
8703
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328
8704
  (exit $ac_status); }; } &&
7329
8705
         { ac_try='test -s conftest$ac_exeext'
7330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331
 
  (eval $ac_try) 2>&5
 
8706
  { (case "(($ac_try" in
 
8707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8708
  *) ac_try_echo=$ac_try;;
 
8709
esac
 
8710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8711
  (eval "$ac_try") 2>&5
7332
8712
  ac_status=$?
7333
8713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334
8714
  (exit $ac_status); }; }; then
7342
8722
  echo "$as_me: failed program was:" >&5
7343
8723
sed 's/^/| /' conftest.$ac_ext >&5
7344
8724
 
 
8725
 
7345
8726
fi
7346
 
rm -f conftest.err conftest.$ac_objext \
 
8727
 
 
8728
rm -f core conftest.err conftest.$ac_objext \
7347
8729
      conftest$ac_exeext conftest.$ac_ext
7348
8730
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7349
8731
 
7352
8734
          # -berok will link without error, but may produce a broken library.
7353
8735
          no_undefined_flag=' ${wl}-bernotok'
7354
8736
          allow_undefined_flag=' ${wl}-berok'
7355
 
          # -bexpall does not export symbols beginning with underscore (_)
7356
 
          always_export_symbols=yes
7357
8737
          # Exported symbols can be pulled into shared objects from archives
7358
 
          whole_archive_flag_spec=' '
 
8738
          whole_archive_flag_spec='$convenience'
7359
8739
          archive_cmds_need_lc=yes
7360
 
          # This is similar to how AIX traditionally builds it's shared libraries.
7361
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
8740
          # This is similar to how AIX traditionally builds its shared libraries.
 
8741
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7362
8742
        fi
7363
8743
      fi
7364
8744
      ;;
7371
8751
      ld_shlibs=no
7372
8752
      ;;
7373
8753
 
7374
 
    bsdi4*)
 
8754
    bsdi[45]*)
7375
8755
      export_dynamic_flag_spec=-rdynamic
7376
8756
      ;;
7377
8757
 
7397
8777
      ;;
7398
8778
 
7399
8779
    darwin* | rhapsody*)
7400
 
    if test "$GXX" = yes ; then
 
8780
      case $host_os in
 
8781
        rhapsody* | darwin1.[012])
 
8782
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
8783
         ;;
 
8784
       *) # Darwin 1.3 on
 
8785
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8786
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8787
         else
 
8788
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
8789
             10.[012])
 
8790
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8791
               ;;
 
8792
             10.*)
 
8793
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
8794
               ;;
 
8795
           esac
 
8796
         fi
 
8797
         ;;
 
8798
      esac
7401
8799
      archive_cmds_need_lc=no
7402
 
      case "$host_os" in
7403
 
      rhapsody* | darwin1.[012])
7404
 
        allow_undefined_flag='-undefined suppress'
7405
 
        ;;
7406
 
      *) # Darwin 1.3 on
7407
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7408
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
7409
 
      else
7410
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
7411
 
          10.[012])
7412
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
7413
 
            ;;
7414
 
          10.*)
7415
 
            allow_undefined_flag='-undefined dynamic_lookup'
7416
 
            ;;
7417
 
        esac
7418
 
      fi
7419
 
        ;;
7420
 
      esac
7421
 
        lt_int_apple_cc_single_mod=no
7422
 
        output_verbose_link_cmd='echo'
7423
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7424
 
          lt_int_apple_cc_single_mod=yes
7425
 
        fi
7426
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7427
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7428
 
        else
7429
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7430
 
      fi
7431
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7432
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7433
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7434
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7435
 
        else
7436
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7437
 
        fi
7438
 
          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}'
7439
8800
      hardcode_direct=no
7440
8801
      hardcode_automatic=yes
7441
8802
      hardcode_shlibpath_var=unsupported
7442
 
      whole_archive_flag_spec='-all_load $convenience'
 
8803
      whole_archive_flag_spec=''
7443
8804
      link_all_deplibs=yes
 
8805
    if test "$GCC" = yes ; then
 
8806
        output_verbose_link_cmd='echo'
 
8807
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
8808
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8809
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8810
      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}'
 
8811
      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}'
7444
8812
    else
7445
 
      ld_shlibs=no
 
8813
      case $cc_basename in
 
8814
        xlc*)
 
8815
         output_verbose_link_cmd='echo'
 
8816
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8817
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8818
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8819
         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}'
 
8820
          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}'
 
8821
          ;;
 
8822
       *)
 
8823
         ld_shlibs=no
 
8824
          ;;
 
8825
      esac
7446
8826
    fi
7447
8827
      ;;
7448
8828
 
7476
8856
      ;;
7477
8857
 
7478
8858
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7479
 
    freebsd* | kfreebsd*-gnu)
 
8859
    freebsd* | dragonfly*)
7480
8860
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7481
8861
      hardcode_libdir_flag_spec='-R$libdir'
7482
8862
      hardcode_direct=yes
7499
8879
      export_dynamic_flag_spec='${wl}-E'
7500
8880
      ;;
7501
8881
 
7502
 
    hpux10* | hpux11*)
7503
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7504
 
        case "$host_cpu" in
7505
 
        hppa*64*|ia64*)
 
8882
    hpux10*)
 
8883
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8884
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8885
      else
 
8886
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8887
      fi
 
8888
      if test "$with_gnu_ld" = no; then
 
8889
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8890
        hardcode_libdir_separator=:
 
8891
 
 
8892
        hardcode_direct=yes
 
8893
        export_dynamic_flag_spec='${wl}-E'
 
8894
 
 
8895
        # hardcode_minus_L: Not really in the search PATH,
 
8896
        # but as the default location of the library.
 
8897
        hardcode_minus_L=yes
 
8898
      fi
 
8899
      ;;
 
8900
 
 
8901
    hpux11*)
 
8902
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8903
        case $host_cpu in
 
8904
        hppa*64*)
7506
8905
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7507
8906
          ;;
 
8907
        ia64*)
 
8908
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8909
          ;;
7508
8910
        *)
7509
8911
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7510
8912
          ;;
7511
8913
        esac
7512
8914
      else
7513
 
        case "$host_cpu" in
7514
 
        hppa*64*|ia64*)
7515
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8915
        case $host_cpu in
 
8916
        hppa*64*)
 
8917
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8918
          ;;
 
8919
        ia64*)
 
8920
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7516
8921
          ;;
7517
8922
        *)
7518
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8923
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7519
8924
          ;;
7520
8925
        esac
7521
8926
      fi
7522
8927
      if test "$with_gnu_ld" = no; then
7523
 
        case "$host_cpu" in
7524
 
        hppa*64*)
7525
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8928
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8929
        hardcode_libdir_separator=:
 
8930
 
 
8931
        case $host_cpu in
 
8932
        hppa*64*|ia64*)
7526
8933
          hardcode_libdir_flag_spec_ld='+b $libdir'
7527
 
          hardcode_libdir_separator=:
7528
 
          hardcode_direct=no
7529
 
          hardcode_shlibpath_var=no
7530
 
          ;;
7531
 
        ia64*)
7532
 
          hardcode_libdir_flag_spec='-L$libdir'
7533
 
          hardcode_direct=no
7534
 
          hardcode_shlibpath_var=no
7535
 
 
7536
 
          # hardcode_minus_L: Not really in the search PATH,
7537
 
          # but as the default location of the library.
7538
 
          hardcode_minus_L=yes
 
8934
          hardcode_direct=no
 
8935
          hardcode_shlibpath_var=no
7539
8936
          ;;
7540
8937
        *)
7541
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7542
 
          hardcode_libdir_separator=:
7543
8938
          hardcode_direct=yes
7544
8939
          export_dynamic_flag_spec='${wl}-E'
7545
8940
 
7563
8958
      link_all_deplibs=yes
7564
8959
      ;;
7565
8960
 
7566
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8961
    netbsd* | netbsdelf*-gnu)
7567
8962
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7568
8963
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7569
8964
      else
7587
8982
      hardcode_shlibpath_var=no
7588
8983
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7589
8984
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8985
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7590
8986
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7591
8987
        export_dynamic_flag_spec='${wl}-E'
7592
8988
      else
7632
9028
        allow_undefined_flag=' -expect_unresolved \*'
7633
9029
        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'
7634
9030
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7635
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
9031
        $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'
7636
9032
 
7637
9033
        # Both c and cxx compiler support -rpath directly
7638
9034
        hardcode_libdir_flag_spec='-rpath $libdir'
7640
9036
      hardcode_libdir_separator=:
7641
9037
      ;;
7642
9038
 
7643
 
    sco3.2v5*)
7644
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7645
 
      hardcode_shlibpath_var=no
7646
 
      export_dynamic_flag_spec='${wl}-Bexport'
7647
 
      runpath_var=LD_RUN_PATH
7648
 
      hardcode_runpath_var=yes
7649
 
      ;;
7650
 
 
7651
9039
    solaris*)
7652
9040
      no_undefined_flag=' -z text'
7653
9041
      if test "$GCC" = yes; then
 
9042
        wlarc='${wl}'
7654
9043
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7655
9044
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7656
9045
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7657
9046
      else
 
9047
        wlarc=''
7658
9048
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7659
9049
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7660
9050
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7663
9053
      hardcode_shlibpath_var=no
7664
9054
      case $host_os in
7665
9055
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7666
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7667
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
9056
      *)
 
9057
        # The compiler driver will combine linker options so we
 
9058
        # cannot just pass the convience library names through
 
9059
        # without $wl, iff we do not link with $LD.
 
9060
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
9061
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9062
        case $wlarc in
 
9063
        '')
 
9064
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
9065
        *)
 
9066
          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' ;;
 
9067
        esac ;;
7668
9068
      esac
7669
9069
      link_all_deplibs=yes
7670
9070
      ;;
7721
9121
      fi
7722
9122
      ;;
7723
9123
 
7724
 
    sysv4.2uw2*)
7725
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7726
 
      hardcode_direct=yes
7727
 
      hardcode_minus_L=no
7728
 
      hardcode_shlibpath_var=no
7729
 
      hardcode_runpath_var=yes
7730
 
      runpath_var=LD_RUN_PATH
7731
 
      ;;
7732
 
 
7733
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7734
 
      no_undefined_flag='${wl}-z ${wl}text'
7735
 
      if test "$GCC" = yes; then
7736
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7737
 
      else
7738
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7739
 
      fi
7740
 
      runpath_var='LD_RUN_PATH'
7741
 
      hardcode_shlibpath_var=no
7742
 
      ;;
7743
 
 
7744
 
    sysv5*)
7745
 
      no_undefined_flag=' -z text'
7746
 
      # $CC -shared without GNU ld will not create a library from C++
7747
 
      # object files and a static libstdc++, better avoid it by now
7748
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7749
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7750
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7751
 
      hardcode_libdir_flag_spec=
7752
 
      hardcode_shlibpath_var=no
7753
 
      runpath_var='LD_RUN_PATH'
 
9124
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9125
      no_undefined_flag='${wl}-z,text'
 
9126
      archive_cmds_need_lc=no
 
9127
      hardcode_shlibpath_var=no
 
9128
      runpath_var='LD_RUN_PATH'
 
9129
 
 
9130
      if test "$GCC" = yes; then
 
9131
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9132
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9133
      else
 
9134
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9135
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9136
      fi
 
9137
      ;;
 
9138
 
 
9139
    sysv5* | sco3.2v5* | sco5v6*)
 
9140
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9141
      # link with -lc, and that would cause any symbols used from libc to
 
9142
      # always be unresolved, which means just about no library would
 
9143
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9144
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9145
      # as -z defs.
 
9146
      no_undefined_flag='${wl}-z,text'
 
9147
      allow_undefined_flag='${wl}-z,nodefs'
 
9148
      archive_cmds_need_lc=no
 
9149
      hardcode_shlibpath_var=no
 
9150
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9151
      hardcode_libdir_separator=':'
 
9152
      link_all_deplibs=yes
 
9153
      export_dynamic_flag_spec='${wl}-Bexport'
 
9154
      runpath_var='LD_RUN_PATH'
 
9155
 
 
9156
      if test "$GCC" = yes; then
 
9157
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9158
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9159
      else
 
9160
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9161
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9162
      fi
7754
9163
      ;;
7755
9164
 
7756
9165
    uts4*)
7765
9174
    esac
7766
9175
  fi
7767
9176
 
7768
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7769
 
echo "${ECHO_T}$ld_shlibs" >&6
 
9177
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9178
echo "${ECHO_T}$ld_shlibs" >&6; }
7770
9179
test "$ld_shlibs" = no && can_build_shared=no
7771
9180
 
7772
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7773
 
if test "$GCC" = yes; then
7774
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7775
 
fi
7776
 
 
7777
9181
#
7778
9182
# Do we need to explicitly link libc?
7779
9183
#
7791
9195
      # Test whether the compiler implicitly links with -lc since on some
7792
9196
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7793
9197
      # to ld, don't add -lc before -lgcc.
7794
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7795
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
9198
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9199
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7796
9200
      $rm conftest*
7797
9201
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7798
9202
 
7806
9210
        libobjs=conftest.$ac_objext
7807
9211
        deplibs=
7808
9212
        wl=$lt_prog_compiler_wl
 
9213
        pic_flag=$lt_prog_compiler_pic
7809
9214
        compiler_flags=-v
7810
9215
        linker_flags=-v
7811
9216
        verstring=
7828
9233
        cat conftest.err 1>&5
7829
9234
      fi
7830
9235
      $rm conftest*
7831
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7832
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9236
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9237
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7833
9238
      ;;
7834
9239
    esac
7835
9240
  fi
7836
9241
  ;;
7837
9242
esac
7838
9243
 
7839
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7840
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9244
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9245
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7841
9246
library_names_spec=
7842
9247
libname_spec='lib$name'
7843
9248
soname_spec=
7938
9343
  shlibpath_var=LIBRARY_PATH
7939
9344
  ;;
7940
9345
 
7941
 
bsdi4*)
 
9346
bsdi[45]*)
7942
9347
  version_type=linux
7943
9348
  need_version=no
7944
9349
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7966
9371
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7967
9372
      dldir=$destdir/`dirname \$dlpath`~
7968
9373
      test -d \$dldir || mkdir -p \$dldir~
7969
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9374
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9375
      chmod a+x \$dldir/$dlname'
7970
9376
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7971
9377
      dlpath=$dir/\$dldll~
7972
9378
       $rm \$dlpath'
7996
9402
      ;;
7997
9403
    pw32*)
7998
9404
      # pw32 DLLs use 'pw' prefix rather than 'lib'
7999
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
9405
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8000
9406
      ;;
8001
9407
    esac
8002
9408
    ;;
8019
9425
  soname_spec='${libname}${release}${major}$shared_ext'
8020
9426
  shlibpath_overrides_runpath=yes
8021
9427
  shlibpath_var=DYLD_LIBRARY_PATH
8022
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
9428
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8023
9429
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8024
9430
  if test "$GCC" = yes; then
8025
9431
    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"`
8042
9448
  dynamic_linker=no
8043
9449
  ;;
8044
9450
 
8045
 
kfreebsd*-gnu)
8046
 
  version_type=linux
8047
 
  need_lib_prefix=no
8048
 
  need_version=no
8049
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8050
 
  soname_spec='${libname}${release}${shared_ext}$major'
8051
 
  shlibpath_var=LD_LIBRARY_PATH
8052
 
  shlibpath_overrides_runpath=no
8053
 
  hardcode_into_libs=yes
8054
 
  dynamic_linker='GNU ld.so'
8055
 
  ;;
8056
 
 
8057
 
freebsd*)
8058
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9451
freebsd* | dragonfly*)
 
9452
  # DragonFly does not have aout.  When/if they implement a new
 
9453
  # versioning mechanism, adjust this.
 
9454
  if test -x /usr/bin/objformat; then
 
9455
    objformat=`/usr/bin/objformat`
 
9456
  else
 
9457
    case $host_os in
 
9458
    freebsd[123]*) objformat=aout ;;
 
9459
    *) objformat=elf ;;
 
9460
    esac
 
9461
  fi
8059
9462
  version_type=freebsd-$objformat
8060
9463
  case $version_type in
8061
9464
    freebsd-elf*)
8073
9476
  freebsd2*)
8074
9477
    shlibpath_overrides_runpath=yes
8075
9478
    ;;
8076
 
  freebsd3.01* | freebsdelf3.01*)
 
9479
  freebsd3.[01]* | freebsdelf3.[01]*)
8077
9480
    shlibpath_overrides_runpath=yes
8078
9481
    hardcode_into_libs=yes
8079
9482
    ;;
8080
 
  *) # from 3.2 on
 
9483
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9484
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8081
9485
    shlibpath_overrides_runpath=no
8082
9486
    hardcode_into_libs=yes
8083
9487
    ;;
 
9488
  freebsd*) # from 4.6 on
 
9489
    shlibpath_overrides_runpath=yes
 
9490
    hardcode_into_libs=yes
 
9491
    ;;
8084
9492
  esac
8085
9493
  ;;
8086
9494
 
8100
9508
  version_type=sunos
8101
9509
  need_lib_prefix=no
8102
9510
  need_version=no
8103
 
  case "$host_cpu" in
 
9511
  case $host_cpu in
8104
9512
  ia64*)
8105
9513
    shrext_cmds='.so'
8106
9514
    hardcode_into_libs=yes
8140
9548
  postinstall_cmds='chmod 555 $lib'
8141
9549
  ;;
8142
9550
 
 
9551
interix3*)
 
9552
  version_type=linux
 
9553
  need_lib_prefix=no
 
9554
  need_version=no
 
9555
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9556
  soname_spec='${libname}${release}${shared_ext}$major'
 
9557
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9558
  shlibpath_var=LD_LIBRARY_PATH
 
9559
  shlibpath_overrides_runpath=no
 
9560
  hardcode_into_libs=yes
 
9561
  ;;
 
9562
 
8143
9563
irix5* | irix6* | nonstopux*)
8144
9564
  case $host_os in
8145
9565
    nonstopux*) version_type=nonstopux ;;
8183
9603
  ;;
8184
9604
 
8185
9605
# This must be Linux ELF.
8186
 
linux*)
 
9606
linux* | k*bsd*-gnu)
8187
9607
  version_type=linux
8188
9608
  need_lib_prefix=no
8189
9609
  need_version=no
8199
9619
 
8200
9620
  # Append ld.so.conf contents to the search path
8201
9621
  if test -f /etc/ld.so.conf; then
8202
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
9622
    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' ' '`
8203
9623
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8204
9624
  fi
8205
9625
 
8224
9644
  dynamic_linker='NetBSD ld.elf_so'
8225
9645
  ;;
8226
9646
 
8227
 
knetbsd*-gnu)
8228
 
  version_type=linux
8229
 
  need_lib_prefix=no
8230
 
  need_version=no
8231
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8232
 
  soname_spec='${libname}${release}${shared_ext}$major'
8233
 
  shlibpath_var=LD_LIBRARY_PATH
8234
 
  shlibpath_overrides_runpath=no
8235
 
  hardcode_into_libs=yes
8236
 
  dynamic_linker='GNU ld.so'
8237
 
  ;;
8238
 
 
8239
9647
netbsd*)
8240
9648
  version_type=sunos
8241
9649
  need_lib_prefix=no
8273
9681
 
8274
9682
openbsd*)
8275
9683
  version_type=sunos
 
9684
  sys_lib_dlsearch_path_spec="/usr/lib"
8276
9685
  need_lib_prefix=no
8277
 
  need_version=yes
 
9686
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9687
  case $host_os in
 
9688
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9689
    *)                         need_version=no  ;;
 
9690
  esac
8278
9691
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8279
9692
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8280
9693
  shlibpath_var=LD_LIBRARY_PATH
8312
9725
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8313
9726
  ;;
8314
9727
 
8315
 
sco3.2v5*)
8316
 
  version_type=osf
8317
 
  soname_spec='${libname}${release}${shared_ext}$major'
8318
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8319
 
  shlibpath_var=LD_LIBRARY_PATH
8320
 
  ;;
8321
 
 
8322
9728
solaris*)
8323
9729
  version_type=linux
8324
9730
  need_lib_prefix=no
8344
9750
  need_version=yes
8345
9751
  ;;
8346
9752
 
8347
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9753
sysv4 | sysv4.3*)
8348
9754
  version_type=linux
8349
9755
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8350
9756
  soname_spec='${libname}${release}${shared_ext}$major'
8377
9783
  fi
8378
9784
  ;;
8379
9785
 
 
9786
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9787
  version_type=freebsd-elf
 
9788
  need_lib_prefix=no
 
9789
  need_version=no
 
9790
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9791
  soname_spec='${libname}${release}${shared_ext}$major'
 
9792
  shlibpath_var=LD_LIBRARY_PATH
 
9793
  hardcode_into_libs=yes
 
9794
  if test "$with_gnu_ld" = yes; then
 
9795
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9796
    shlibpath_overrides_runpath=no
 
9797
  else
 
9798
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9799
    shlibpath_overrides_runpath=yes
 
9800
    case $host_os in
 
9801
      sco3.2v5*)
 
9802
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9803
        ;;
 
9804
    esac
 
9805
  fi
 
9806
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9807
  ;;
 
9808
 
8380
9809
uts4*)
8381
9810
  version_type=linux
8382
9811
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8388
9817
  dynamic_linker=no
8389
9818
  ;;
8390
9819
esac
8391
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8392
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9820
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9821
echo "${ECHO_T}$dynamic_linker" >&6; }
8393
9822
test "$dynamic_linker" = no && can_build_shared=no
8394
9823
 
8395
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8396
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9824
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9825
if test "$GCC" = yes; then
 
9826
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9827
fi
 
9828
 
 
9829
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9830
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8397
9831
hardcode_action=
8398
9832
if test -n "$hardcode_libdir_flag_spec" || \
8399
 
   test -n "$runpath_var " || \
8400
 
   test "X$hardcode_automatic"="Xyes" ; then
 
9833
   test -n "$runpath_var" || \
 
9834
   test "X$hardcode_automatic" = "Xyes" ; then
8401
9835
 
8402
9836
  # We can hardcode non-existant directories.
8403
9837
  if test "$hardcode_direct" != no &&
8417
9851
  # directories.
8418
9852
  hardcode_action=unsupported
8419
9853
fi
8420
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8421
 
echo "${ECHO_T}$hardcode_action" >&6
 
9854
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9855
echo "${ECHO_T}$hardcode_action" >&6; }
8422
9856
 
8423
9857
if test "$hardcode_action" = relink; then
8424
9858
  # Fast installation is not supported
8431
9865
 
8432
9866
striplib=
8433
9867
old_striplib=
8434
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8435
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9868
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9869
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8436
9870
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8437
9871
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8438
9872
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8439
 
  echo "$as_me:$LINENO: result: yes" >&5
8440
 
echo "${ECHO_T}yes" >&6
 
9873
  { echo "$as_me:$LINENO: result: yes" >&5
 
9874
echo "${ECHO_T}yes" >&6; }
8441
9875
else
8442
9876
# FIXME - insert some real tests, host_os isn't really good enough
8443
9877
  case $host_os in
8444
9878
   darwin*)
8445
9879
       if test -n "$STRIP" ; then
8446
9880
         striplib="$STRIP -x"
8447
 
         echo "$as_me:$LINENO: result: yes" >&5
8448
 
echo "${ECHO_T}yes" >&6
 
9881
         { echo "$as_me:$LINENO: result: yes" >&5
 
9882
echo "${ECHO_T}yes" >&6; }
8449
9883
       else
8450
 
  echo "$as_me:$LINENO: result: no" >&5
8451
 
echo "${ECHO_T}no" >&6
 
9884
  { echo "$as_me:$LINENO: result: no" >&5
 
9885
echo "${ECHO_T}no" >&6; }
8452
9886
fi
8453
9887
       ;;
8454
9888
   *)
8455
 
  echo "$as_me:$LINENO: result: no" >&5
8456
 
echo "${ECHO_T}no" >&6
 
9889
  { echo "$as_me:$LINENO: result: no" >&5
 
9890
echo "${ECHO_T}no" >&6; }
8457
9891
    ;;
8458
9892
  esac
8459
9893
fi
8485
9919
 
8486
9920
  darwin*)
8487
9921
  # if libdl is installed we need to link against it
8488
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8489
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9922
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9923
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8490
9924
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8491
9925
  echo $ECHO_N "(cached) $ECHO_C" >&6
8492
9926
else
8499
9933
cat >>conftest.$ac_ext <<_ACEOF
8500
9934
/* end confdefs.h.  */
8501
9935
 
8502
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9936
/* Override any GCC internal prototype to avoid an error.
 
9937
   Use char because int might match the return type of a GCC
 
9938
   builtin and then its argument prototype would still apply.  */
8503
9939
#ifdef __cplusplus
8504
9940
extern "C"
8505
9941
#endif
8506
 
/* We use char because int might match the return type of a gcc2
8507
 
   builtin and then its argument prototype would still apply.  */
8508
9942
char dlopen ();
8509
9943
int
8510
9944
main ()
8511
9945
{
8512
 
dlopen ();
 
9946
return dlopen ();
8513
9947
  ;
8514
9948
  return 0;
8515
9949
}
8516
9950
_ACEOF
8517
9951
rm -f conftest.$ac_objext conftest$ac_exeext
8518
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8519
 
  (eval $ac_link) 2>conftest.er1
 
9952
if { (ac_try="$ac_link"
 
9953
case "(($ac_try" in
 
9954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9955
  *) ac_try_echo=$ac_try;;
 
9956
esac
 
9957
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9958
  (eval "$ac_link") 2>conftest.er1
8520
9959
  ac_status=$?
8521
9960
  grep -v '^ *+' conftest.er1 >conftest.err
8522
9961
  rm -f conftest.er1
8523
9962
  cat conftest.err >&5
8524
9963
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525
9964
  (exit $ac_status); } &&
8526
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528
 
  (eval $ac_try) 2>&5
 
9965
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9966
  { (case "(($ac_try" in
 
9967
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9968
  *) ac_try_echo=$ac_try;;
 
9969
esac
 
9970
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9971
  (eval "$ac_try") 2>&5
8529
9972
  ac_status=$?
8530
9973
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531
9974
  (exit $ac_status); }; } &&
8532
9975
         { ac_try='test -s conftest$ac_exeext'
8533
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534
 
  (eval $ac_try) 2>&5
 
9976
  { (case "(($ac_try" in
 
9977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9978
  *) ac_try_echo=$ac_try;;
 
9979
esac
 
9980
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9981
  (eval "$ac_try") 2>&5
8535
9982
  ac_status=$?
8536
9983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537
9984
  (exit $ac_status); }; }; then
8540
9987
  echo "$as_me: failed program was:" >&5
8541
9988
sed 's/^/| /' conftest.$ac_ext >&5
8542
9989
 
8543
 
ac_cv_lib_dl_dlopen=no
 
9990
        ac_cv_lib_dl_dlopen=no
8544
9991
fi
8545
 
rm -f conftest.err conftest.$ac_objext \
 
9992
 
 
9993
rm -f core conftest.err conftest.$ac_objext \
8546
9994
      conftest$ac_exeext conftest.$ac_ext
8547
9995
LIBS=$ac_check_lib_save_LIBS
8548
9996
fi
8549
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8550
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9997
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9998
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8551
9999
if test $ac_cv_lib_dl_dlopen = yes; then
8552
10000
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8553
10001
else
8561
10009
   ;;
8562
10010
 
8563
10011
  *)
8564
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8565
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
10012
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
10013
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8566
10014
if test "${ac_cv_func_shl_load+set}" = set; then
8567
10015
  echo $ECHO_N "(cached) $ECHO_C" >&6
8568
10016
else
8589
10037
 
8590
10038
#undef shl_load
8591
10039
 
8592
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10040
/* Override any GCC internal prototype to avoid an error.
 
10041
   Use char because int might match the return type of a GCC
 
10042
   builtin and then its argument prototype would still apply.  */
8593
10043
#ifdef __cplusplus
8594
10044
extern "C"
8595
 
{
8596
10045
#endif
8597
 
/* We use char because int might match the return type of a gcc2
8598
 
   builtin and then its argument prototype would still apply.  */
8599
10046
char shl_load ();
8600
10047
/* The GNU C library defines this for functions which it implements
8601
10048
    to always fail with ENOSYS.  Some functions are actually named
8602
10049
    something starting with __ and the normal name is an alias.  */
8603
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10050
#if defined __stub_shl_load || defined __stub___shl_load
8604
10051
choke me
8605
 
#else
8606
 
char (*f) () = shl_load;
8607
 
#endif
8608
 
#ifdef __cplusplus
8609
 
}
8610
10052
#endif
8611
10053
 
8612
10054
int
8613
10055
main ()
8614
10056
{
8615
 
return f != shl_load;
 
10057
return shl_load ();
8616
10058
  ;
8617
10059
  return 0;
8618
10060
}
8619
10061
_ACEOF
8620
10062
rm -f conftest.$ac_objext conftest$ac_exeext
8621
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8622
 
  (eval $ac_link) 2>conftest.er1
 
10063
if { (ac_try="$ac_link"
 
10064
case "(($ac_try" in
 
10065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10066
  *) ac_try_echo=$ac_try;;
 
10067
esac
 
10068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10069
  (eval "$ac_link") 2>conftest.er1
8623
10070
  ac_status=$?
8624
10071
  grep -v '^ *+' conftest.er1 >conftest.err
8625
10072
  rm -f conftest.er1
8626
10073
  cat conftest.err >&5
8627
10074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628
10075
  (exit $ac_status); } &&
8629
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8630
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8631
 
  (eval $ac_try) 2>&5
 
10076
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10077
  { (case "(($ac_try" in
 
10078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10079
  *) ac_try_echo=$ac_try;;
 
10080
esac
 
10081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10082
  (eval "$ac_try") 2>&5
8632
10083
  ac_status=$?
8633
10084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634
10085
  (exit $ac_status); }; } &&
8635
10086
         { ac_try='test -s conftest$ac_exeext'
8636
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637
 
  (eval $ac_try) 2>&5
 
10087
  { (case "(($ac_try" in
 
10088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10089
  *) ac_try_echo=$ac_try;;
 
10090
esac
 
10091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10092
  (eval "$ac_try") 2>&5
8638
10093
  ac_status=$?
8639
10094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640
10095
  (exit $ac_status); }; }; then
8643
10098
  echo "$as_me: failed program was:" >&5
8644
10099
sed 's/^/| /' conftest.$ac_ext >&5
8645
10100
 
8646
 
ac_cv_func_shl_load=no
 
10101
        ac_cv_func_shl_load=no
8647
10102
fi
8648
 
rm -f conftest.err conftest.$ac_objext \
 
10103
 
 
10104
rm -f core conftest.err conftest.$ac_objext \
8649
10105
      conftest$ac_exeext conftest.$ac_ext
8650
10106
fi
8651
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8652
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
10107
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10108
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8653
10109
if test $ac_cv_func_shl_load = yes; then
8654
10110
  lt_cv_dlopen="shl_load"
8655
10111
else
8656
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8657
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10112
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10113
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8658
10114
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8659
10115
  echo $ECHO_N "(cached) $ECHO_C" >&6
8660
10116
else
8667
10123
cat >>conftest.$ac_ext <<_ACEOF
8668
10124
/* end confdefs.h.  */
8669
10125
 
8670
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10126
/* Override any GCC internal prototype to avoid an error.
 
10127
   Use char because int might match the return type of a GCC
 
10128
   builtin and then its argument prototype would still apply.  */
8671
10129
#ifdef __cplusplus
8672
10130
extern "C"
8673
10131
#endif
8674
 
/* We use char because int might match the return type of a gcc2
8675
 
   builtin and then its argument prototype would still apply.  */
8676
10132
char shl_load ();
8677
10133
int
8678
10134
main ()
8679
10135
{
8680
 
shl_load ();
 
10136
return shl_load ();
8681
10137
  ;
8682
10138
  return 0;
8683
10139
}
8684
10140
_ACEOF
8685
10141
rm -f conftest.$ac_objext conftest$ac_exeext
8686
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8687
 
  (eval $ac_link) 2>conftest.er1
 
10142
if { (ac_try="$ac_link"
 
10143
case "(($ac_try" in
 
10144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10145
  *) ac_try_echo=$ac_try;;
 
10146
esac
 
10147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10148
  (eval "$ac_link") 2>conftest.er1
8688
10149
  ac_status=$?
8689
10150
  grep -v '^ *+' conftest.er1 >conftest.err
8690
10151
  rm -f conftest.er1
8691
10152
  cat conftest.err >&5
8692
10153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693
10154
  (exit $ac_status); } &&
8694
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696
 
  (eval $ac_try) 2>&5
 
10155
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10156
  { (case "(($ac_try" in
 
10157
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10158
  *) ac_try_echo=$ac_try;;
 
10159
esac
 
10160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10161
  (eval "$ac_try") 2>&5
8697
10162
  ac_status=$?
8698
10163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699
10164
  (exit $ac_status); }; } &&
8700
10165
         { ac_try='test -s conftest$ac_exeext'
8701
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702
 
  (eval $ac_try) 2>&5
 
10166
  { (case "(($ac_try" in
 
10167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10168
  *) ac_try_echo=$ac_try;;
 
10169
esac
 
10170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10171
  (eval "$ac_try") 2>&5
8703
10172
  ac_status=$?
8704
10173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705
10174
  (exit $ac_status); }; }; then
8708
10177
  echo "$as_me: failed program was:" >&5
8709
10178
sed 's/^/| /' conftest.$ac_ext >&5
8710
10179
 
8711
 
ac_cv_lib_dld_shl_load=no
 
10180
        ac_cv_lib_dld_shl_load=no
8712
10181
fi
8713
 
rm -f conftest.err conftest.$ac_objext \
 
10182
 
 
10183
rm -f core conftest.err conftest.$ac_objext \
8714
10184
      conftest$ac_exeext conftest.$ac_ext
8715
10185
LIBS=$ac_check_lib_save_LIBS
8716
10186
fi
8717
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8718
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
10187
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10188
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8719
10189
if test $ac_cv_lib_dld_shl_load = yes; then
8720
10190
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8721
10191
else
8722
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8723
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10192
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
10193
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8724
10194
if test "${ac_cv_func_dlopen+set}" = set; then
8725
10195
  echo $ECHO_N "(cached) $ECHO_C" >&6
8726
10196
else
8747
10217
 
8748
10218
#undef dlopen
8749
10219
 
8750
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10220
/* Override any GCC internal prototype to avoid an error.
 
10221
   Use char because int might match the return type of a GCC
 
10222
   builtin and then its argument prototype would still apply.  */
8751
10223
#ifdef __cplusplus
8752
10224
extern "C"
8753
 
{
8754
10225
#endif
8755
 
/* We use char because int might match the return type of a gcc2
8756
 
   builtin and then its argument prototype would still apply.  */
8757
10226
char dlopen ();
8758
10227
/* The GNU C library defines this for functions which it implements
8759
10228
    to always fail with ENOSYS.  Some functions are actually named
8760
10229
    something starting with __ and the normal name is an alias.  */
8761
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10230
#if defined __stub_dlopen || defined __stub___dlopen
8762
10231
choke me
8763
 
#else
8764
 
char (*f) () = dlopen;
8765
 
#endif
8766
 
#ifdef __cplusplus
8767
 
}
8768
10232
#endif
8769
10233
 
8770
10234
int
8771
10235
main ()
8772
10236
{
8773
 
return f != dlopen;
 
10237
return dlopen ();
8774
10238
  ;
8775
10239
  return 0;
8776
10240
}
8777
10241
_ACEOF
8778
10242
rm -f conftest.$ac_objext conftest$ac_exeext
8779
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8780
 
  (eval $ac_link) 2>conftest.er1
 
10243
if { (ac_try="$ac_link"
 
10244
case "(($ac_try" in
 
10245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10246
  *) ac_try_echo=$ac_try;;
 
10247
esac
 
10248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10249
  (eval "$ac_link") 2>conftest.er1
8781
10250
  ac_status=$?
8782
10251
  grep -v '^ *+' conftest.er1 >conftest.err
8783
10252
  rm -f conftest.er1
8784
10253
  cat conftest.err >&5
8785
10254
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786
10255
  (exit $ac_status); } &&
8787
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8788
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8789
 
  (eval $ac_try) 2>&5
 
10256
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10257
  { (case "(($ac_try" in
 
10258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10259
  *) ac_try_echo=$ac_try;;
 
10260
esac
 
10261
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10262
  (eval "$ac_try") 2>&5
8790
10263
  ac_status=$?
8791
10264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792
10265
  (exit $ac_status); }; } &&
8793
10266
         { ac_try='test -s conftest$ac_exeext'
8794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8795
 
  (eval $ac_try) 2>&5
 
10267
  { (case "(($ac_try" in
 
10268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10269
  *) ac_try_echo=$ac_try;;
 
10270
esac
 
10271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10272
  (eval "$ac_try") 2>&5
8796
10273
  ac_status=$?
8797
10274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798
10275
  (exit $ac_status); }; }; then
8801
10278
  echo "$as_me: failed program was:" >&5
8802
10279
sed 's/^/| /' conftest.$ac_ext >&5
8803
10280
 
8804
 
ac_cv_func_dlopen=no
 
10281
        ac_cv_func_dlopen=no
8805
10282
fi
8806
 
rm -f conftest.err conftest.$ac_objext \
 
10283
 
 
10284
rm -f core conftest.err conftest.$ac_objext \
8807
10285
      conftest$ac_exeext conftest.$ac_ext
8808
10286
fi
8809
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8810
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
10287
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10288
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8811
10289
if test $ac_cv_func_dlopen = yes; then
8812
10290
  lt_cv_dlopen="dlopen"
8813
10291
else
8814
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8815
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10292
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10293
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8816
10294
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8817
10295
  echo $ECHO_N "(cached) $ECHO_C" >&6
8818
10296
else
8825
10303
cat >>conftest.$ac_ext <<_ACEOF
8826
10304
/* end confdefs.h.  */
8827
10305
 
8828
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10306
/* Override any GCC internal prototype to avoid an error.
 
10307
   Use char because int might match the return type of a GCC
 
10308
   builtin and then its argument prototype would still apply.  */
8829
10309
#ifdef __cplusplus
8830
10310
extern "C"
8831
10311
#endif
8832
 
/* We use char because int might match the return type of a gcc2
8833
 
   builtin and then its argument prototype would still apply.  */
8834
10312
char dlopen ();
8835
10313
int
8836
10314
main ()
8837
10315
{
8838
 
dlopen ();
 
10316
return dlopen ();
8839
10317
  ;
8840
10318
  return 0;
8841
10319
}
8842
10320
_ACEOF
8843
10321
rm -f conftest.$ac_objext conftest$ac_exeext
8844
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8845
 
  (eval $ac_link) 2>conftest.er1
 
10322
if { (ac_try="$ac_link"
 
10323
case "(($ac_try" in
 
10324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10325
  *) ac_try_echo=$ac_try;;
 
10326
esac
 
10327
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10328
  (eval "$ac_link") 2>conftest.er1
8846
10329
  ac_status=$?
8847
10330
  grep -v '^ *+' conftest.er1 >conftest.err
8848
10331
  rm -f conftest.er1
8849
10332
  cat conftest.err >&5
8850
10333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851
10334
  (exit $ac_status); } &&
8852
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8853
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8854
 
  (eval $ac_try) 2>&5
 
10335
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10336
  { (case "(($ac_try" in
 
10337
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10338
  *) ac_try_echo=$ac_try;;
 
10339
esac
 
10340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10341
  (eval "$ac_try") 2>&5
8855
10342
  ac_status=$?
8856
10343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857
10344
  (exit $ac_status); }; } &&
8858
10345
         { ac_try='test -s conftest$ac_exeext'
8859
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8860
 
  (eval $ac_try) 2>&5
 
10346
  { (case "(($ac_try" in
 
10347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10348
  *) ac_try_echo=$ac_try;;
 
10349
esac
 
10350
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10351
  (eval "$ac_try") 2>&5
8861
10352
  ac_status=$?
8862
10353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863
10354
  (exit $ac_status); }; }; then
8866
10357
  echo "$as_me: failed program was:" >&5
8867
10358
sed 's/^/| /' conftest.$ac_ext >&5
8868
10359
 
8869
 
ac_cv_lib_dl_dlopen=no
 
10360
        ac_cv_lib_dl_dlopen=no
8870
10361
fi
8871
 
rm -f conftest.err conftest.$ac_objext \
 
10362
 
 
10363
rm -f core conftest.err conftest.$ac_objext \
8872
10364
      conftest$ac_exeext conftest.$ac_ext
8873
10365
LIBS=$ac_check_lib_save_LIBS
8874
10366
fi
8875
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8876
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10367
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10368
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8877
10369
if test $ac_cv_lib_dl_dlopen = yes; then
8878
10370
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8879
10371
else
8880
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8881
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10372
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10373
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8882
10374
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8883
10375
  echo $ECHO_N "(cached) $ECHO_C" >&6
8884
10376
else
8891
10383
cat >>conftest.$ac_ext <<_ACEOF
8892
10384
/* end confdefs.h.  */
8893
10385
 
8894
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10386
/* Override any GCC internal prototype to avoid an error.
 
10387
   Use char because int might match the return type of a GCC
 
10388
   builtin and then its argument prototype would still apply.  */
8895
10389
#ifdef __cplusplus
8896
10390
extern "C"
8897
10391
#endif
8898
 
/* We use char because int might match the return type of a gcc2
8899
 
   builtin and then its argument prototype would still apply.  */
8900
10392
char dlopen ();
8901
10393
int
8902
10394
main ()
8903
10395
{
8904
 
dlopen ();
 
10396
return dlopen ();
8905
10397
  ;
8906
10398
  return 0;
8907
10399
}
8908
10400
_ACEOF
8909
10401
rm -f conftest.$ac_objext conftest$ac_exeext
8910
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8911
 
  (eval $ac_link) 2>conftest.er1
 
10402
if { (ac_try="$ac_link"
 
10403
case "(($ac_try" in
 
10404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10405
  *) ac_try_echo=$ac_try;;
 
10406
esac
 
10407
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10408
  (eval "$ac_link") 2>conftest.er1
8912
10409
  ac_status=$?
8913
10410
  grep -v '^ *+' conftest.er1 >conftest.err
8914
10411
  rm -f conftest.er1
8915
10412
  cat conftest.err >&5
8916
10413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917
10414
  (exit $ac_status); } &&
8918
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8920
 
  (eval $ac_try) 2>&5
 
10415
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10416
  { (case "(($ac_try" in
 
10417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10418
  *) ac_try_echo=$ac_try;;
 
10419
esac
 
10420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10421
  (eval "$ac_try") 2>&5
8921
10422
  ac_status=$?
8922
10423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923
10424
  (exit $ac_status); }; } &&
8924
10425
         { ac_try='test -s conftest$ac_exeext'
8925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8926
 
  (eval $ac_try) 2>&5
 
10426
  { (case "(($ac_try" in
 
10427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10428
  *) ac_try_echo=$ac_try;;
 
10429
esac
 
10430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10431
  (eval "$ac_try") 2>&5
8927
10432
  ac_status=$?
8928
10433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929
10434
  (exit $ac_status); }; }; then
8932
10437
  echo "$as_me: failed program was:" >&5
8933
10438
sed 's/^/| /' conftest.$ac_ext >&5
8934
10439
 
8935
 
ac_cv_lib_svld_dlopen=no
 
10440
        ac_cv_lib_svld_dlopen=no
8936
10441
fi
8937
 
rm -f conftest.err conftest.$ac_objext \
 
10442
 
 
10443
rm -f core conftest.err conftest.$ac_objext \
8938
10444
      conftest$ac_exeext conftest.$ac_ext
8939
10445
LIBS=$ac_check_lib_save_LIBS
8940
10446
fi
8941
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8942
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10447
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10448
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8943
10449
if test $ac_cv_lib_svld_dlopen = yes; then
8944
10450
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8945
10451
else
8946
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8947
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10452
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10453
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8948
10454
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8949
10455
  echo $ECHO_N "(cached) $ECHO_C" >&6
8950
10456
else
8957
10463
cat >>conftest.$ac_ext <<_ACEOF
8958
10464
/* end confdefs.h.  */
8959
10465
 
8960
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10466
/* Override any GCC internal prototype to avoid an error.
 
10467
   Use char because int might match the return type of a GCC
 
10468
   builtin and then its argument prototype would still apply.  */
8961
10469
#ifdef __cplusplus
8962
10470
extern "C"
8963
10471
#endif
8964
 
/* We use char because int might match the return type of a gcc2
8965
 
   builtin and then its argument prototype would still apply.  */
8966
10472
char dld_link ();
8967
10473
int
8968
10474
main ()
8969
10475
{
8970
 
dld_link ();
 
10476
return dld_link ();
8971
10477
  ;
8972
10478
  return 0;
8973
10479
}
8974
10480
_ACEOF
8975
10481
rm -f conftest.$ac_objext conftest$ac_exeext
8976
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8977
 
  (eval $ac_link) 2>conftest.er1
 
10482
if { (ac_try="$ac_link"
 
10483
case "(($ac_try" in
 
10484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10485
  *) ac_try_echo=$ac_try;;
 
10486
esac
 
10487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10488
  (eval "$ac_link") 2>conftest.er1
8978
10489
  ac_status=$?
8979
10490
  grep -v '^ *+' conftest.er1 >conftest.err
8980
10491
  rm -f conftest.er1
8981
10492
  cat conftest.err >&5
8982
10493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983
10494
  (exit $ac_status); } &&
8984
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8985
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986
 
  (eval $ac_try) 2>&5
 
10495
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10496
  { (case "(($ac_try" in
 
10497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10498
  *) ac_try_echo=$ac_try;;
 
10499
esac
 
10500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10501
  (eval "$ac_try") 2>&5
8987
10502
  ac_status=$?
8988
10503
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989
10504
  (exit $ac_status); }; } &&
8990
10505
         { ac_try='test -s conftest$ac_exeext'
8991
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992
 
  (eval $ac_try) 2>&5
 
10506
  { (case "(($ac_try" in
 
10507
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10508
  *) ac_try_echo=$ac_try;;
 
10509
esac
 
10510
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10511
  (eval "$ac_try") 2>&5
8993
10512
  ac_status=$?
8994
10513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995
10514
  (exit $ac_status); }; }; then
8998
10517
  echo "$as_me: failed program was:" >&5
8999
10518
sed 's/^/| /' conftest.$ac_ext >&5
9000
10519
 
9001
 
ac_cv_lib_dld_dld_link=no
 
10520
        ac_cv_lib_dld_dld_link=no
9002
10521
fi
9003
 
rm -f conftest.err conftest.$ac_objext \
 
10522
 
 
10523
rm -f core conftest.err conftest.$ac_objext \
9004
10524
      conftest$ac_exeext conftest.$ac_ext
9005
10525
LIBS=$ac_check_lib_save_LIBS
9006
10526
fi
9007
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9008
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10527
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10528
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9009
10529
if test $ac_cv_lib_dld_dld_link = yes; then
9010
10530
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9011
10531
fi
9040
10560
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9041
10561
 
9042
10562
    save_LDFLAGS="$LDFLAGS"
9043
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10563
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9044
10564
 
9045
10565
    save_LIBS="$LIBS"
9046
10566
    LIBS="$lt_cv_dlopen_libs $LIBS"
9047
10567
 
9048
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9049
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10568
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10569
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9050
10570
if test "${lt_cv_dlopen_self+set}" = set; then
9051
10571
  echo $ECHO_N "(cached) $ECHO_C" >&6
9052
10572
else
9056
10576
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9057
10577
  lt_status=$lt_dlunknown
9058
10578
  cat > conftest.$ac_ext <<EOF
9059
 
#line 9059 "configure"
 
10579
#line 10579 "configure"
9060
10580
#include "confdefs.h"
9061
10581
 
9062
10582
#if HAVE_DLFCN_H
9113
10633
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9114
10634
      /* dlclose (self); */
9115
10635
    }
 
10636
  else
 
10637
    puts (dlerror ());
9116
10638
 
9117
10639
    exit (status);
9118
10640
}
9122
10644
  ac_status=$?
9123
10645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124
10646
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9125
 
    (./conftest; exit; ) 2>/dev/null
 
10647
    (./conftest; exit; ) >&5 2>/dev/null
9126
10648
    lt_status=$?
9127
10649
    case x$lt_status in
9128
10650
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9129
10651
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9130
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10652
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9131
10653
    esac
9132
10654
  else :
9133
10655
    # compilation failed
9138
10660
 
9139
10661
 
9140
10662
fi
9141
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9142
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10663
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10664
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9143
10665
 
9144
10666
    if test "x$lt_cv_dlopen_self" = xyes; then
9145
 
      LDFLAGS="$LDFLAGS $link_static_flag"
9146
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9147
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10667
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10668
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10669
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9148
10670
if test "${lt_cv_dlopen_self_static+set}" = set; then
9149
10671
  echo $ECHO_N "(cached) $ECHO_C" >&6
9150
10672
else
9154
10676
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9155
10677
  lt_status=$lt_dlunknown
9156
10678
  cat > conftest.$ac_ext <<EOF
9157
 
#line 9157 "configure"
 
10679
#line 10679 "configure"
9158
10680
#include "confdefs.h"
9159
10681
 
9160
10682
#if HAVE_DLFCN_H
9211
10733
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9212
10734
      /* dlclose (self); */
9213
10735
    }
 
10736
  else
 
10737
    puts (dlerror ());
9214
10738
 
9215
10739
    exit (status);
9216
10740
}
9220
10744
  ac_status=$?
9221
10745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222
10746
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9223
 
    (./conftest; exit; ) 2>/dev/null
 
10747
    (./conftest; exit; ) >&5 2>/dev/null
9224
10748
    lt_status=$?
9225
10749
    case x$lt_status in
9226
10750
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9227
10751
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9228
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10752
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9229
10753
    esac
9230
10754
  else :
9231
10755
    # compilation failed
9236
10760
 
9237
10761
 
9238
10762
fi
9239
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9240
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10763
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10764
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9241
10765
    fi
9242
10766
 
9243
10767
    CPPFLAGS="$save_CPPFLAGS"
9258
10782
fi
9259
10783
 
9260
10784
 
9261
 
# Report which librarie types wil actually be built
9262
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9263
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9264
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9265
 
echo "${ECHO_T}$can_build_shared" >&6
 
10785
# Report which library types will actually be built
 
10786
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10787
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10788
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10789
echo "${ECHO_T}$can_build_shared" >&6; }
9266
10790
 
9267
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9268
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10791
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10792
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9269
10793
test "$can_build_shared" = "no" && enable_shared=no
9270
10794
 
9271
10795
# On AIX, shared libraries and static libraries use the same namespace, and
9272
10796
# are all built from PIC.
9273
 
case "$host_os" in
 
10797
case $host_os in
9274
10798
aix3*)
9275
10799
  test "$enable_shared" = yes && enable_static=no
9276
10800
  if test -n "$RANLIB"; then
9283
10807
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9284
10808
    test "$enable_shared" = yes && enable_static=no
9285
10809
  fi
9286
 
  ;;
9287
 
  darwin* | rhapsody*)
9288
 
  if test "$GCC" = yes; then
9289
 
    archive_cmds_need_lc=no
9290
 
    case "$host_os" in
9291
 
    rhapsody* | darwin1.[012])
9292
 
      allow_undefined_flag='-undefined suppress'
9293
 
      ;;
9294
 
    *) # Darwin 1.3 on
9295
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9296
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
9297
 
      else
9298
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9299
 
          10.[012])
9300
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
9301
 
            ;;
9302
 
          10.*)
9303
 
            allow_undefined_flag='-undefined dynamic_lookup'
9304
 
            ;;
9305
 
        esac
9306
 
      fi
9307
 
      ;;
9308
 
    esac
9309
 
    output_verbose_link_cmd='echo'
9310
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9311
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9312
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9313
 
    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}'
9314
 
    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}'
9315
 
    hardcode_direct=no
9316
 
    hardcode_automatic=yes
9317
 
    hardcode_shlibpath_var=unsupported
9318
 
    whole_archive_flag_spec='-all_load $convenience'
9319
 
    link_all_deplibs=yes
9320
 
  else
9321
 
    ld_shlibs=no
9322
 
  fi
9323
10810
    ;;
9324
10811
esac
9325
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9326
 
echo "${ECHO_T}$enable_shared" >&6
 
10812
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10813
echo "${ECHO_T}$enable_shared" >&6; }
9327
10814
 
9328
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9329
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10815
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10816
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9330
10817
# Make sure either enable_shared or enable_static is yes.
9331
10818
test "$enable_shared" = yes || enable_static=yes
9332
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9333
 
echo "${ECHO_T}$enable_static" >&6
 
10819
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10820
echo "${ECHO_T}$enable_static" >&6; }
9334
10821
 
9335
10822
# The else clause should only fire when bootstrapping the
9336
10823
# libtool distribution, otherwise you forgot to ship ltmain.sh
9345
10832
  # Now quote all the things that may contain metacharacters while being
9346
10833
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9347
10834
  # variables and quote the copies for generation of the libtool script.
9348
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10835
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9349
10836
    SED SHELL STRIP \
9350
10837
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9351
10838
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9449
10936
#
9450
10937
# You should have received a copy of the GNU General Public License
9451
10938
# along with this program; if not, write to the Free Software
9452
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
10939
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9453
10940
#
9454
10941
# As a special exception to the GNU General Public License, if you
9455
10942
# distribute this file as part of a program that contains a
9460
10947
SED=$lt_SED
9461
10948
 
9462
10949
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9463
 
Xsed="$SED -e s/^X//"
 
10950
Xsed="$SED -e 1s/^X//"
9464
10951
 
9465
10952
# The HP-UX ksh and POSIX shell print the target directory to stdout
9466
10953
# if CDPATH is set.
9467
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
10954
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9468
10955
 
9469
10956
# The names of the tagged configurations supported by this script.
9470
10957
available_tags=
9494
10981
# The host system.
9495
10982
host_alias=$host_alias
9496
10983
host=$host
 
10984
host_os=$host_os
 
10985
 
 
10986
# The build system.
 
10987
build_alias=$build_alias
 
10988
build=$build
 
10989
build_os=$build_os
9497
10990
 
9498
10991
# An echo program that does not interpret backslashes.
9499
10992
echo=$lt_echo
9505
10998
# A C compiler.
9506
10999
LTCC=$lt_LTCC
9507
11000
 
 
11001
# LTCC compiler flags.
 
11002
LTCFLAGS=$lt_LTCFLAGS
 
11003
 
9508
11004
# A language-specific compiler.
9509
11005
CC=$lt_compiler
9510
11006
 
9570
11066
# Does compiler simultaneously support -c and -o options?
9571
11067
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9572
11068
 
9573
 
# Must we lock files when doing compilation ?
 
11069
# Must we lock files when doing compilation?
9574
11070
need_locks=$lt_need_locks
9575
11071
 
9576
11072
# Do we need the lib prefix for modules?
9813
11309
CC="$lt_save_CC"
9814
11310
 
9815
11311
 
9816
 
# Check whether --with-tags or --without-tags was given.
 
11312
# Check whether --with-tags was given.
9817
11313
if test "${with_tags+set}" = set; then
9818
 
  withval="$with_tags"
9819
 
  tagnames="$withval"
9820
 
fi;
 
11314
  withval=$with_tags; tagnames="$withval"
 
11315
fi
 
11316
 
9821
11317
 
9822
11318
if test -f "$ltmain" && test -n "$tagnames"; then
9823
11319
  if test ! -f "${ofile}"; then
9835
11331
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9836
11332
    fi
9837
11333
  fi
 
11334
  if test -z "$LTCFLAGS"; then
 
11335
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
11336
  fi
9838
11337
 
9839
11338
  # Extract list of available tagged configurations in $ofile.
9840
11339
  # Note that this assumes the entire list is on one line.
9865
11364
 
9866
11365
      case $tagname in
9867
11366
      CXX)
9868
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
9869
 
          ac_ext=cc
 
11367
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11368
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11369
            (test "X$CXX" != "Xg++"))) ; then
 
11370
          ac_ext=cpp
9870
11371
ac_cpp='$CXXCPP $CPPFLAGS'
9871
11372
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9872
11373
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9885
11386
hardcode_libdir_flag_spec_ld_CXX=
9886
11387
hardcode_libdir_separator_CXX=
9887
11388
hardcode_minus_L_CXX=no
 
11389
hardcode_shlibpath_var_CXX=unsupported
9888
11390
hardcode_automatic_CXX=no
9889
11391
module_cmds_CXX=
9890
11392
module_expsym_cmds_CXX=
9902
11404
compiler_lib_search_path_CXX=
9903
11405
 
9904
11406
# Source file extension for C++ test sources.
9905
 
ac_ext=cc
 
11407
ac_ext=cpp
9906
11408
 
9907
11409
# Object file extension for compiled C++ test sources.
9908
11410
objext=o
9912
11414
lt_simple_compile_test_code="int some_variable = 0;\n"
9913
11415
 
9914
11416
# Code to be used in simple link tests
9915
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
11417
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9916
11418
 
9917
11419
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9918
11420
 
9919
11421
# If no C compiler was specified, use CC.
9920
11422
LTCC=${LTCC-"$CC"}
9921
11423
 
 
11424
# If no C compiler flags were specified, use CFLAGS.
 
11425
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11426
 
9922
11427
# Allow CC to be a program name with arguments.
9923
11428
compiler=$CC
9924
11429
 
9925
11430
 
 
11431
# save warnings/boilerplate of simple test code
 
11432
ac_outfile=conftest.$ac_objext
 
11433
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11434
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11435
_lt_compiler_boilerplate=`cat conftest.err`
 
11436
$rm conftest*
 
11437
 
 
11438
ac_outfile=conftest.$ac_objext
 
11439
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11440
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11441
_lt_linker_boilerplate=`cat conftest.err`
 
11442
$rm conftest*
 
11443
 
 
11444
 
9926
11445
# Allow CC to be a program name with arguments.
9927
11446
lt_save_CC=$CC
9928
11447
lt_save_LD=$LD
9933
11452
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9934
11453
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9935
11454
else
9936
 
  unset lt_cv_prog_gnu_ld
 
11455
  $as_unset lt_cv_prog_gnu_ld
9937
11456
fi
9938
11457
if test -n "${lt_cv_path_LDCXX+set}"; then
9939
11458
  lt_cv_path_LD=$lt_cv_path_LDCXX
9940
11459
else
9941
 
  unset lt_cv_path_LD
 
11460
  $as_unset lt_cv_path_LD
9942
11461
fi
9943
11462
test -z "${LDCXX+set}" || LD=$LDCXX
9944
11463
CC=${CXX-"c++"}
9945
11464
compiler=$CC
9946
11465
compiler_CXX=$CC
9947
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
11466
for cc_temp in $compiler""; do
 
11467
  case $cc_temp in
 
11468
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11469
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11470
    \-*) ;;
 
11471
    *) break;;
 
11472
  esac
 
11473
done
 
11474
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11475
 
9948
11476
 
9949
11477
# We don't want -fno-exception wen compiling C++ code, so set the
9950
11478
# no_builtin_flag separately
9958
11486
  # Set up default GNU C++ configuration
9959
11487
 
9960
11488
 
9961
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11489
# Check whether --with-gnu-ld was given.
9962
11490
if test "${with_gnu_ld+set}" = set; then
9963
 
  withval="$with_gnu_ld"
9964
 
  test "$withval" = no || with_gnu_ld=yes
 
11491
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9965
11492
else
9966
11493
  with_gnu_ld=no
9967
 
fi;
 
11494
fi
 
11495
 
9968
11496
ac_prog=ld
9969
11497
if test "$GCC" = yes; then
9970
11498
  # Check if gcc -print-prog-name=ld gives a path.
9971
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9972
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11499
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11500
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9973
11501
  case $host in
9974
11502
  *-*-mingw*)
9975
11503
    # gcc leaves a trailing carriage return which upsets mingw
9998
11526
    ;;
9999
11527
  esac
10000
11528
elif test "$with_gnu_ld" = yes; then
10001
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10002
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11529
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11530
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10003
11531
else
10004
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10005
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11532
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11533
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10006
11534
fi
10007
11535
if test "${lt_cv_path_LD+set}" = set; then
10008
11536
  echo $ECHO_N "(cached) $ECHO_C" >&6
10015
11543
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10016
11544
      lt_cv_path_LD="$ac_dir/$ac_prog"
10017
11545
      # Check to see if the program is GNU ld.  I'd rather use --version,
10018
 
      # but apparently some GNU ld's only accept -v.
 
11546
      # but apparently some variants of GNU ld only accept -v.
10019
11547
      # Break only if it was the GNU/non-GNU ld that we prefer.
10020
11548
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10021
11549
      *GNU* | *'with BFD'*)
10035
11563
 
10036
11564
LD="$lt_cv_path_LD"
10037
11565
if test -n "$LD"; then
10038
 
  echo "$as_me:$LINENO: result: $LD" >&5
10039
 
echo "${ECHO_T}$LD" >&6
 
11566
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11567
echo "${ECHO_T}$LD" >&6; }
10040
11568
else
10041
 
  echo "$as_me:$LINENO: result: no" >&5
10042
 
echo "${ECHO_T}no" >&6
 
11569
  { echo "$as_me:$LINENO: result: no" >&5
 
11570
echo "${ECHO_T}no" >&6; }
10043
11571
fi
10044
11572
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10045
11573
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10046
11574
   { (exit 1); exit 1; }; }
10047
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10048
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11575
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11576
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10049
11577
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10050
11578
  echo $ECHO_N "(cached) $ECHO_C" >&6
10051
11579
else
10052
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11580
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10053
11581
case `$LD -v 2>&1 </dev/null` in
10054
11582
*GNU* | *'with BFD'*)
10055
11583
  lt_cv_prog_gnu_ld=yes
10059
11587
  ;;
10060
11588
esac
10061
11589
fi
10062
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10063
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11590
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11591
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10064
11592
with_gnu_ld=$lt_cv_prog_gnu_ld
10065
11593
 
10066
11594
 
10110
11638
fi
10111
11639
 
10112
11640
# PORTME: fill in a description of your system's C++ link characteristics
10113
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10114
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11641
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11642
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10115
11643
ld_shlibs_CXX=yes
10116
11644
case $host_os in
10117
11645
  aix3*)
10140
11668
            ;;
10141
11669
          esac
10142
11670
        done
 
11671
        ;;
10143
11672
      esac
10144
11673
 
10145
11674
      exp_sym_flag='-bexport'
10158
11687
    link_all_deplibs_CXX=yes
10159
11688
 
10160
11689
    if test "$GXX" = yes; then
10161
 
      case $host_os in aix4.012|aix4.012.*)
 
11690
      case $host_os in aix4.[012]|aix4.[012].*)
10162
11691
      # We only want to do this on AIX 4.2 and lower, the check
10163
11692
      # below for broken collect2 doesn't work under 4.3+
10164
11693
        collect2name=`${CC} -print-prog-name=collect2`
10177
11706
          hardcode_libdir_flag_spec_CXX='-L$libdir'
10178
11707
          hardcode_libdir_separator_CXX=
10179
11708
        fi
 
11709
        ;;
10180
11710
      esac
10181
11711
      shared_flag='-shared'
 
11712
      if test "$aix_use_runtimelinking" = yes; then
 
11713
        shared_flag="$shared_flag "'${wl}-G'
 
11714
      fi
10182
11715
    else
10183
11716
      # not using gcc
10184
11717
      if test "$host_cpu" = ia64; then
10218
11751
}
10219
11752
_ACEOF
10220
11753
rm -f conftest.$ac_objext conftest$ac_exeext
10221
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10222
 
  (eval $ac_link) 2>conftest.er1
 
11754
if { (ac_try="$ac_link"
 
11755
case "(($ac_try" in
 
11756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11757
  *) ac_try_echo=$ac_try;;
 
11758
esac
 
11759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11760
  (eval "$ac_link") 2>conftest.er1
10223
11761
  ac_status=$?
10224
11762
  grep -v '^ *+' conftest.er1 >conftest.err
10225
11763
  rm -f conftest.er1
10226
11764
  cat conftest.err >&5
10227
11765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228
11766
  (exit $ac_status); } &&
10229
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10230
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10231
 
  (eval $ac_try) 2>&5
 
11767
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11768
  { (case "(($ac_try" in
 
11769
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11770
  *) ac_try_echo=$ac_try;;
 
11771
esac
 
11772
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11773
  (eval "$ac_try") 2>&5
10232
11774
  ac_status=$?
10233
11775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234
11776
  (exit $ac_status); }; } &&
10235
11777
         { ac_try='test -s conftest$ac_exeext'
10236
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10237
 
  (eval $ac_try) 2>&5
 
11778
  { (case "(($ac_try" in
 
11779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11780
  *) ac_try_echo=$ac_try;;
 
11781
esac
 
11782
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11783
  (eval "$ac_try") 2>&5
10238
11784
  ac_status=$?
10239
11785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240
11786
  (exit $ac_status); }; }; then
10248
11794
  echo "$as_me: failed program was:" >&5
10249
11795
sed 's/^/| /' conftest.$ac_ext >&5
10250
11796
 
 
11797
 
10251
11798
fi
10252
 
rm -f conftest.err conftest.$ac_objext \
 
11799
 
 
11800
rm -f core conftest.err conftest.$ac_objext \
10253
11801
      conftest$ac_exeext conftest.$ac_ext
10254
11802
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10255
11803
 
10256
11804
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10257
11805
 
10258
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11806
      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"
10259
11807
     else
10260
11808
      if test "$host_cpu" = ia64; then
10261
11809
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10262
11810
        allow_undefined_flag_CXX="-z nodefs"
10263
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
11811
        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"
10264
11812
      else
10265
11813
        # Determine the default libpath from the value encoded in an empty executable.
10266
11814
        cat >conftest.$ac_ext <<_ACEOF
10279
11827
}
10280
11828
_ACEOF
10281
11829
rm -f conftest.$ac_objext conftest$ac_exeext
10282
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10283
 
  (eval $ac_link) 2>conftest.er1
 
11830
if { (ac_try="$ac_link"
 
11831
case "(($ac_try" in
 
11832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11833
  *) ac_try_echo=$ac_try;;
 
11834
esac
 
11835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11836
  (eval "$ac_link") 2>conftest.er1
10284
11837
  ac_status=$?
10285
11838
  grep -v '^ *+' conftest.er1 >conftest.err
10286
11839
  rm -f conftest.er1
10287
11840
  cat conftest.err >&5
10288
11841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289
11842
  (exit $ac_status); } &&
10290
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10291
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292
 
  (eval $ac_try) 2>&5
 
11843
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11844
  { (case "(($ac_try" in
 
11845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11846
  *) ac_try_echo=$ac_try;;
 
11847
esac
 
11848
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11849
  (eval "$ac_try") 2>&5
10293
11850
  ac_status=$?
10294
11851
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295
11852
  (exit $ac_status); }; } &&
10296
11853
         { ac_try='test -s conftest$ac_exeext'
10297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298
 
  (eval $ac_try) 2>&5
 
11854
  { (case "(($ac_try" in
 
11855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11856
  *) ac_try_echo=$ac_try;;
 
11857
esac
 
11858
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11859
  (eval "$ac_try") 2>&5
10299
11860
  ac_status=$?
10300
11861
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301
11862
  (exit $ac_status); }; }; then
10309
11870
  echo "$as_me: failed program was:" >&5
10310
11871
sed 's/^/| /' conftest.$ac_ext >&5
10311
11872
 
 
11873
 
10312
11874
fi
10313
 
rm -f conftest.err conftest.$ac_objext \
 
11875
 
 
11876
rm -f core conftest.err conftest.$ac_objext \
10314
11877
      conftest$ac_exeext conftest.$ac_ext
10315
11878
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10316
11879
 
10319
11882
        # -berok will link without error, but may produce a broken library.
10320
11883
        no_undefined_flag_CXX=' ${wl}-bernotok'
10321
11884
        allow_undefined_flag_CXX=' ${wl}-berok'
10322
 
        # -bexpall does not export symbols beginning with underscore (_)
10323
 
        always_export_symbols_CXX=yes
10324
11885
        # Exported symbols can be pulled into shared objects from archives
10325
 
        whole_archive_flag_spec_CXX=' '
 
11886
        whole_archive_flag_spec_CXX='$convenience'
10326
11887
        archive_cmds_need_lc_CXX=yes
10327
 
        # This is similar to how AIX traditionally builds it's shared libraries.
10328
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11888
        # This is similar to how AIX traditionally builds its shared libraries.
 
11889
        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'
10329
11890
      fi
10330
11891
    fi
10331
11892
    ;;
 
11893
 
 
11894
  beos*)
 
11895
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11896
      allow_undefined_flag_CXX=unsupported
 
11897
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11898
      # support --undefined.  This deserves some investigation.  FIXME
 
11899
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11900
    else
 
11901
      ld_shlibs_CXX=no
 
11902
    fi
 
11903
    ;;
 
11904
 
10332
11905
  chorus*)
10333
11906
    case $cc_basename in
10334
11907
      *)
10347
11920
    enable_shared_with_static_runtimes_CXX=yes
10348
11921
 
10349
11922
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10350
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11923
      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'
10351
11924
      # If the export-symbols file already is a .def file (1st line
10352
11925
      # is EXPORTS), use it as is; otherwise, prepend...
10353
11926
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10356
11929
        echo EXPORTS > $output_objdir/$soname.def;
10357
11930
        cat $export_symbols >> $output_objdir/$soname.def;
10358
11931
      fi~
10359
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11932
      $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'
10360
11933
    else
10361
11934
      ld_shlibs_CXX=no
10362
11935
    fi
10363
11936
  ;;
10364
 
 
10365
 
  darwin* | rhapsody*)
10366
 
  if test "$GXX" = yes; then
10367
 
    archive_cmds_need_lc_CXX=no
10368
 
    case "$host_os" in
10369
 
    rhapsody* | darwin1.[012])
10370
 
      allow_undefined_flag_CXX='-undefined suppress'
10371
 
      ;;
10372
 
    *) # Darwin 1.3 on
10373
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10374
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10375
 
      else
10376
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
10377
 
          10.[012])
10378
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10379
 
            ;;
10380
 
          10.*)
10381
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
10382
 
            ;;
 
11937
      darwin* | rhapsody*)
 
11938
        case $host_os in
 
11939
        rhapsody* | darwin1.[012])
 
11940
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
11941
         ;;
 
11942
       *) # Darwin 1.3 on
 
11943
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
11944
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11945
         else
 
11946
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
11947
             10.[012])
 
11948
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11949
               ;;
 
11950
             10.*)
 
11951
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
11952
               ;;
 
11953
           esac
 
11954
         fi
 
11955
         ;;
10383
11956
        esac
10384
 
      fi
10385
 
      ;;
10386
 
    esac
10387
 
    lt_int_apple_cc_single_mod=no
10388
 
    output_verbose_link_cmd='echo'
10389
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10390
 
      lt_int_apple_cc_single_mod=yes
10391
 
    fi
10392
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10393
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10394
 
    else
10395
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10396
 
    fi
10397
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11957
      archive_cmds_need_lc_CXX=no
 
11958
      hardcode_direct_CXX=no
 
11959
      hardcode_automatic_CXX=yes
 
11960
      hardcode_shlibpath_var_CXX=unsupported
 
11961
      whole_archive_flag_spec_CXX=''
 
11962
      link_all_deplibs_CXX=yes
10398
11963
 
10399
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10400
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10401
 
      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}'
10402
 
    else
10403
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10404
 
    fi
10405
 
    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}'
10406
 
    hardcode_direct_CXX=no
10407
 
    hardcode_automatic_CXX=yes
10408
 
    hardcode_shlibpath_var_CXX=unsupported
10409
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
10410
 
    link_all_deplibs_CXX=yes
10411
 
  else
10412
 
    ld_shlibs_CXX=no
10413
 
  fi
10414
 
    ;;
 
11964
    if test "$GXX" = yes ; then
 
11965
      lt_int_apple_cc_single_mod=no
 
11966
      output_verbose_link_cmd='echo'
 
11967
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
11968
       lt_int_apple_cc_single_mod=yes
 
11969
      fi
 
11970
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11971
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
11972
      else
 
11973
          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'
 
11974
        fi
 
11975
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11976
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11977
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11978
            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}'
 
11979
          else
 
11980
            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}'
 
11981
          fi
 
11982
            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}'
 
11983
      else
 
11984
      case $cc_basename in
 
11985
        xlc*)
 
11986
         output_verbose_link_cmd='echo'
 
11987
          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'
 
11988
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11989
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11990
          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}'
 
11991
          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}'
 
11992
          ;;
 
11993
       *)
 
11994
         ld_shlibs_CXX=no
 
11995
          ;;
 
11996
      esac
 
11997
      fi
 
11998
        ;;
10415
11999
 
10416
12000
  dgux*)
10417
12001
    case $cc_basename in
10418
 
      ec++)
 
12002
      ec++*)
10419
12003
        # FIXME: insert proper C++ library support
10420
12004
        ld_shlibs_CXX=no
10421
12005
        ;;
10422
 
      ghcx)
 
12006
      ghcx*)
10423
12007
        # Green Hills C++ Compiler
10424
12008
        # FIXME: insert proper C++ library support
10425
12009
        ld_shlibs_CXX=no
10430
12014
        ;;
10431
12015
    esac
10432
12016
    ;;
10433
 
  freebsd12*)
 
12017
  freebsd[12]*)
10434
12018
    # C++ shared libraries reported to be fairly broken before switch to ELF
10435
12019
    ld_shlibs_CXX=no
10436
12020
    ;;
10437
12021
  freebsd-elf*)
10438
12022
    archive_cmds_need_lc_CXX=no
10439
12023
    ;;
10440
 
  freebsd* | kfreebsd*-gnu)
 
12024
  freebsd* | dragonfly*)
10441
12025
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10442
12026
    # conventions
10443
12027
    ld_shlibs_CXX=yes
10454
12038
                                # location of the library.
10455
12039
 
10456
12040
    case $cc_basename in
10457
 
    CC)
 
12041
    CC*)
10458
12042
      # FIXME: insert proper C++ library support
10459
12043
      ld_shlibs_CXX=no
10460
12044
      ;;
10461
 
    aCC)
 
12045
    aCC*)
10462
12046
      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'
10463
12047
      # Commands to make compiler produce verbose output that lists
10464
12048
      # what "hidden" libraries, object files and flags are used when
10468
12052
      # explicitly linking system object files so we need to strip them
10469
12053
      # from the output so that they don't get included in the library
10470
12054
      # dependencies.
10471
 
      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'
 
12055
      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'
10472
12056
      ;;
10473
12057
    *)
10474
12058
      if test "$GXX" = yes; then
10482
12066
    ;;
10483
12067
  hpux10*|hpux11*)
10484
12068
    if test $with_gnu_ld = no; then
10485
 
      case "$host_cpu" in
10486
 
      hppa*64*)
10487
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12069
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12070
      hardcode_libdir_separator_CXX=:
 
12071
 
 
12072
      case $host_cpu in
 
12073
      hppa*64*|ia64*)
10488
12074
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10489
 
        hardcode_libdir_separator_CXX=:
10490
 
        ;;
10491
 
      ia64*)
10492
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10493
12075
        ;;
10494
12076
      *)
10495
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10496
 
        hardcode_libdir_separator_CXX=:
10497
12077
        export_dynamic_flag_spec_CXX='${wl}-E'
10498
12078
        ;;
10499
12079
      esac
10500
12080
    fi
10501
 
    case "$host_cpu" in
10502
 
    hppa*64*)
10503
 
      hardcode_direct_CXX=no
10504
 
      hardcode_shlibpath_var_CXX=no
10505
 
      ;;
10506
 
    ia64*)
10507
 
      hardcode_direct_CXX=no
10508
 
      hardcode_shlibpath_var_CXX=no
10509
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10510
 
                                              # but as the default
10511
 
                                              # location of the library.
 
12081
    case $host_cpu in
 
12082
    hppa*64*|ia64*)
 
12083
      hardcode_direct_CXX=no
 
12084
      hardcode_shlibpath_var_CXX=no
10512
12085
      ;;
10513
12086
    *)
10514
12087
      hardcode_direct_CXX=yes
10519
12092
    esac
10520
12093
 
10521
12094
    case $cc_basename in
10522
 
      CC)
 
12095
      CC*)
10523
12096
        # FIXME: insert proper C++ library support
10524
12097
        ld_shlibs_CXX=no
10525
12098
        ;;
10526
 
      aCC)
10527
 
        case "$host_cpu" in
10528
 
        hppa*64*|ia64*)
10529
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
12099
      aCC*)
 
12100
        case $host_cpu in
 
12101
        hppa*64*)
 
12102
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12103
          ;;
 
12104
        ia64*)
 
12105
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10530
12106
          ;;
10531
12107
        *)
10532
12108
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10545
12121
      *)
10546
12122
        if test "$GXX" = yes; then
10547
12123
          if test $with_gnu_ld = no; then
10548
 
            case "$host_cpu" in
10549
 
            ia64*|hppa*64*)
10550
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
12124
            case $host_cpu in
 
12125
            hppa*64*)
 
12126
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12127
              ;;
 
12128
            ia64*)
 
12129
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10551
12130
              ;;
10552
12131
            *)
10553
12132
              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'
10561
12140
        ;;
10562
12141
    esac
10563
12142
    ;;
 
12143
  interix3*)
 
12144
    hardcode_direct_CXX=no
 
12145
    hardcode_shlibpath_var_CXX=no
 
12146
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12147
    export_dynamic_flag_spec_CXX='${wl}-E'
 
12148
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12149
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12150
    # default) and relocated if they conflict, which is a slow very memory
 
12151
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
12152
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12153
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12154
    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'
 
12155
    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'
 
12156
    ;;
10564
12157
  irix5* | irix6*)
10565
12158
    case $cc_basename in
10566
 
      CC)
 
12159
      CC*)
10567
12160
        # SGI C++
10568
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12161
        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'
10569
12162
 
10570
12163
        # Archives containing C++ object files must be created using
10571
12164
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10576
12169
      *)
10577
12170
        if test "$GXX" = yes; then
10578
12171
          if test "$with_gnu_ld" = no; then
10579
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12172
            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'
10580
12173
          else
10581
12174
            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'
10582
12175
          fi
10587
12180
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10588
12181
    hardcode_libdir_separator_CXX=:
10589
12182
    ;;
10590
 
  linux*)
 
12183
  linux* | k*bsd*-gnu)
10591
12184
    case $cc_basename in
10592
 
      KCC)
 
12185
      KCC*)
10593
12186
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10594
12187
 
10595
12188
        # KCC will only create a shared library if the output file
10614
12207
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10615
12208
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10616
12209
        ;;
10617
 
      icpc)
 
12210
      icpc*)
10618
12211
        # Intel C++
10619
12212
        with_gnu_ld=yes
 
12213
        # version 8.0 and above of icpc choke on multiply defined symbols
 
12214
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12215
        # earlier do not add the objects themselves.
 
12216
        case `$CC -V 2>&1` in
 
12217
        *"Version 7."*)
 
12218
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12219
          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'
 
12220
          ;;
 
12221
        *)  # Version 8.0 or newer
 
12222
          tmp_idyn=
 
12223
          case $host_cpu in
 
12224
            ia64*) tmp_idyn=' -i_dynamic';;
 
12225
          esac
 
12226
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12227
          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'
 
12228
          ;;
 
12229
        esac
10620
12230
        archive_cmds_need_lc_CXX=no
10621
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10622
 
        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'
10623
12231
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10624
12232
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10625
12233
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10626
12234
        ;;
10627
 
      cxx)
 
12235
      pgCC*)
 
12236
        # Portland Group C++ compiler
 
12237
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12238
        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'
 
12239
 
 
12240
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
12241
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12242
        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'
 
12243
        ;;
 
12244
      cxx*)
10628
12245
        # Compaq C++
10629
12246
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10630
12247
        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'
10655
12272
    ;;
10656
12273
  mvs*)
10657
12274
    case $cc_basename in
10658
 
      cxx)
 
12275
      cxx*)
10659
12276
        # FIXME: insert proper C++ library support
10660
12277
        ld_shlibs_CXX=no
10661
12278
        ;;
10665
12282
        ;;
10666
12283
    esac
10667
12284
    ;;
10668
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12285
  netbsd* | netbsdelf*-gnu)
10669
12286
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10670
12287
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10671
12288
      wlarc=
10676
12293
    # Workaround some broken pre-1.5 toolchains
10677
12294
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10678
12295
    ;;
 
12296
  openbsd2*)
 
12297
    # C++ shared libraries are fairly broken
 
12298
    ld_shlibs_CXX=no
 
12299
    ;;
 
12300
  openbsd*)
 
12301
    hardcode_direct_CXX=yes
 
12302
    hardcode_shlibpath_var_CXX=no
 
12303
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12304
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12305
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12306
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12307
      export_dynamic_flag_spec_CXX='${wl}-E'
 
12308
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12309
    fi
 
12310
    output_verbose_link_cmd='echo'
 
12311
    ;;
10679
12312
  osf3*)
10680
12313
    case $cc_basename in
10681
 
      KCC)
 
12314
      KCC*)
10682
12315
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10683
12316
 
10684
12317
        # KCC will only create a shared library if the output file
10694
12327
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10695
12328
 
10696
12329
        ;;
10697
 
      RCC)
 
12330
      RCC*)
10698
12331
        # Rational C++ 2.4.1
10699
12332
        # FIXME: insert proper C++ library support
10700
12333
        ld_shlibs_CXX=no
10701
12334
        ;;
10702
 
      cxx)
 
12335
      cxx*)
10703
12336
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10704
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12337
        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'
10705
12338
 
10706
12339
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10707
12340
        hardcode_libdir_separator_CXX=:
10719
12352
      *)
10720
12353
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10721
12354
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10722
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12355
          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'
10723
12356
 
10724
12357
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10725
12358
          hardcode_libdir_separator_CXX=:
10738
12371
    ;;
10739
12372
  osf4* | osf5*)
10740
12373
    case $cc_basename in
10741
 
      KCC)
 
12374
      KCC*)
10742
12375
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10743
12376
 
10744
12377
        # KCC will only create a shared library if the output file
10753
12386
        # the KAI C++ compiler.
10754
12387
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10755
12388
        ;;
10756
 
      RCC)
 
12389
      RCC*)
10757
12390
        # Rational C++ 2.4.1
10758
12391
        # FIXME: insert proper C++ library support
10759
12392
        ld_shlibs_CXX=no
10760
12393
        ;;
10761
 
      cxx)
 
12394
      cxx*)
10762
12395
        allow_undefined_flag_CXX=' -expect_unresolved \*'
10763
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12396
        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'
10764
12397
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10765
12398
          echo "-hidden">> $lib.exp~
10766
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
 
12399
          $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~
10767
12400
          $rm $lib.exp'
10768
12401
 
10769
12402
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10782
12415
      *)
10783
12416
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10784
12417
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10785
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12418
         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'
10786
12419
 
10787
12420
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10788
12421
          hardcode_libdir_separator_CXX=:
10803
12436
    # FIXME: insert proper C++ library support
10804
12437
    ld_shlibs_CXX=no
10805
12438
    ;;
10806
 
  sco*)
10807
 
    archive_cmds_need_lc_CXX=no
10808
 
    case $cc_basename in
10809
 
      CC)
10810
 
        # FIXME: insert proper C++ library support
10811
 
        ld_shlibs_CXX=no
10812
 
        ;;
10813
 
      *)
10814
 
        # FIXME: insert proper C++ library support
10815
 
        ld_shlibs_CXX=no
10816
 
        ;;
10817
 
    esac
10818
 
    ;;
10819
12439
  sunos4*)
10820
12440
    case $cc_basename in
10821
 
      CC)
 
12441
      CC*)
10822
12442
        # Sun C++ 4.x
10823
12443
        # FIXME: insert proper C++ library support
10824
12444
        ld_shlibs_CXX=no
10825
12445
        ;;
10826
 
      lcc)
 
12446
      lcc*)
10827
12447
        # Lucid
10828
12448
        # FIXME: insert proper C++ library support
10829
12449
        ld_shlibs_CXX=no
10836
12456
    ;;
10837
12457
  solaris*)
10838
12458
    case $cc_basename in
10839
 
      CC)
 
12459
      CC*)
10840
12460
        # Sun C++ 4.2, 5.x and Centerline C++
 
12461
        archive_cmds_need_lc_CXX=yes
10841
12462
        no_undefined_flag_CXX=' -zdefs'
10842
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12463
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10843
12464
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10844
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12465
        $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'
10845
12466
 
10846
12467
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10847
12468
        hardcode_shlibpath_var_CXX=no
10848
12469
        case $host_os in
10849
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
12470
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10850
12471
          *)
10851
12472
            # The C++ compiler is used as linker so we must use $wl
10852
12473
            # flag to pass the commands to the underlying system
10853
 
            # linker.
 
12474
            # linker. We must also pass each convience library through
 
12475
            # to the system linker between allextract/defaultextract.
 
12476
            # The C++ compiler will combine linker options so we
 
12477
            # cannot just pass the convience library names through
 
12478
            # without $wl.
10854
12479
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10855
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12480
            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'
10856
12481
            ;;
10857
12482
        esac
10858
12483
        link_all_deplibs_CXX=yes
10859
12484
 
10860
 
        # Commands to make compiler produce verbose output that lists
10861
 
        # what "hidden" libraries, object files and flags are used when
10862
 
        # linking a shared library.
10863
 
        #
10864
 
        # There doesn't appear to be a way to prevent this compiler from
10865
 
        # explicitly linking system object files so we need to strip them
10866
 
        # from the output so that they don't get included in the library
10867
 
        # dependencies.
10868
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12485
        output_verbose_link_cmd='echo'
10869
12486
 
10870
12487
        # Archives containing C++ object files must be created using
10871
12488
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10873
12490
        # in the archive.
10874
12491
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10875
12492
        ;;
10876
 
      gcx)
 
12493
      gcx*)
10877
12494
        # Green Hills C++ Compiler
10878
12495
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10879
12496
 
10911
12528
        ;;
10912
12529
    esac
10913
12530
    ;;
10914
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10915
 
    archive_cmds_need_lc_CXX=no
 
12531
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12532
    no_undefined_flag_CXX='${wl}-z,text'
 
12533
    archive_cmds_need_lc_CXX=no
 
12534
    hardcode_shlibpath_var_CXX=no
 
12535
    runpath_var='LD_RUN_PATH'
 
12536
 
 
12537
    case $cc_basename in
 
12538
      CC*)
 
12539
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12540
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12541
        ;;
 
12542
      *)
 
12543
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12544
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12545
        ;;
 
12546
    esac
 
12547
    ;;
 
12548
  sysv5* | sco3.2v5* | sco5v6*)
 
12549
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12550
    # link with -lc, and that would cause any symbols used from libc to
 
12551
    # always be unresolved, which means just about no library would
 
12552
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12553
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12554
    # as -z defs.
 
12555
    # For security reasons, it is highly recommended that you always
 
12556
    # use absolute paths for naming shared libraries, and exclude the
 
12557
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12558
    # requires that you compile everything twice, which is a pain.
 
12559
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12560
    # non-empty value in the environment.  Most likely only useful for
 
12561
    # creating official distributions of packages.
 
12562
    # This is a hack until libtool officially supports absolute path
 
12563
    # names for shared libraries.
 
12564
    no_undefined_flag_CXX='${wl}-z,text'
 
12565
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12566
    archive_cmds_need_lc_CXX=no
 
12567
    hardcode_shlibpath_var_CXX=no
 
12568
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12569
    hardcode_libdir_separator_CXX=':'
 
12570
    link_all_deplibs_CXX=yes
 
12571
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12572
    runpath_var='LD_RUN_PATH'
 
12573
 
 
12574
    case $cc_basename in
 
12575
      CC*)
 
12576
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12577
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12578
        ;;
 
12579
      *)
 
12580
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12581
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12582
        ;;
 
12583
    esac
10916
12584
    ;;
10917
12585
  tandem*)
10918
12586
    case $cc_basename in
10919
 
      NCC)
 
12587
      NCC*)
10920
12588
        # NonStop-UX NCC 3.20
10921
12589
        # FIXME: insert proper C++ library support
10922
12590
        ld_shlibs_CXX=no
10936
12604
    ld_shlibs_CXX=no
10937
12605
    ;;
10938
12606
esac
10939
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10940
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12607
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12608
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10941
12609
test "$ld_shlibs_CXX" = no && can_build_shared=no
10942
12610
 
10943
12611
GCC_CXX="$GXX"
10969
12637
  # The `*' in the case matches for architectures that use `case' in
10970
12638
  # $output_verbose_cmd can trigger glob expansion during the loop
10971
12639
  # eval without this substitution.
10972
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12640
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10973
12641
 
10974
12642
  for p in `eval $output_verbose_link_cmd`; do
10975
12643
    case $p in
11045
12713
 
11046
12714
$rm -f confest.$objext
11047
12715
 
 
12716
# PORTME: override above test on systems where it is broken
 
12717
case $host_os in
 
12718
interix3*)
 
12719
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12720
  # hack all around it, let's just trust "g++" to DTRT.
 
12721
  predep_objects_CXX=
 
12722
  postdep_objects_CXX=
 
12723
  postdeps_CXX=
 
12724
  ;;
 
12725
 
 
12726
solaris*)
 
12727
  case $cc_basename in
 
12728
  CC*)
 
12729
    # Adding this requires a known-good setup of shared libraries for
 
12730
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12731
    # archive will be linked into the output, leading to subtle bugs.
 
12732
    postdeps_CXX='-lCstd -lCrun'
 
12733
    ;;
 
12734
  esac
 
12735
  ;;
 
12736
esac
 
12737
 
 
12738
 
11048
12739
case " $postdeps_CXX " in
11049
12740
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11050
12741
esac
11053
12744
lt_prog_compiler_pic_CXX=
11054
12745
lt_prog_compiler_static_CXX=
11055
12746
 
11056
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11057
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12747
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12748
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11058
12749
 
11059
12750
  # C++ specific cases for pic, static, wl, etc.
11060
12751
  if test "$GXX" = yes; then
11092
12783
      # DJGPP does not support shared libraries at all
11093
12784
      lt_prog_compiler_pic_CXX=
11094
12785
      ;;
 
12786
    interix3*)
 
12787
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12788
      # Instead, we relocate shared libraries at runtime.
 
12789
      ;;
11095
12790
    sysv4*MP*)
11096
12791
      if test -d /usr/nec; then
11097
12792
        lt_prog_compiler_pic_CXX=-Kconform_pic
11100
12795
    hpux*)
11101
12796
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11102
12797
      # not for PA HP-UX.
11103
 
      case "$host_cpu" in
 
12798
      case $host_cpu in
11104
12799
      hppa*64*|ia64*)
11105
12800
        ;;
11106
12801
      *)
11125
12820
        ;;
11126
12821
      chorus*)
11127
12822
        case $cc_basename in
11128
 
        cxch68)
 
12823
        cxch68*)
11129
12824
          # Green Hills C++ Compiler
11130
12825
          # _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"
11131
12826
          ;;
11132
12827
        esac
11133
12828
        ;;
 
12829
       darwin*)
 
12830
         # PIC is the default on this platform
 
12831
         # Common symbols not allowed in MH_DYLIB files
 
12832
         case $cc_basename in
 
12833
           xlc*)
 
12834
           lt_prog_compiler_pic_CXX='-qnocommon'
 
12835
           lt_prog_compiler_wl_CXX='-Wl,'
 
12836
           ;;
 
12837
         esac
 
12838
       ;;
11134
12839
      dgux*)
11135
12840
        case $cc_basename in
11136
 
          ec++)
 
12841
          ec++*)
11137
12842
            lt_prog_compiler_pic_CXX='-KPIC'
11138
12843
            ;;
11139
 
          ghcx)
 
12844
          ghcx*)
11140
12845
            # Green Hills C++ Compiler
11141
12846
            lt_prog_compiler_pic_CXX='-pic'
11142
12847
            ;;
11144
12849
            ;;
11145
12850
        esac
11146
12851
        ;;
11147
 
      freebsd* | kfreebsd*-gnu)
 
12852
      freebsd* | dragonfly*)
11148
12853
        # FreeBSD uses GNU C++
11149
12854
        ;;
11150
12855
      hpux9* | hpux10* | hpux11*)
11151
12856
        case $cc_basename in
11152
 
          CC)
 
12857
          CC*)
11153
12858
            lt_prog_compiler_wl_CXX='-Wl,'
11154
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12859
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
11155
12860
            if test "$host_cpu" != ia64; then
11156
12861
              lt_prog_compiler_pic_CXX='+Z'
11157
12862
            fi
11158
12863
            ;;
11159
 
          aCC)
 
12864
          aCC*)
11160
12865
            lt_prog_compiler_wl_CXX='-Wl,'
11161
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11162
 
            case "$host_cpu" in
 
12866
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
12867
            case $host_cpu in
11163
12868
            hppa*64*|ia64*)
11164
12869
              # +Z the default
11165
12870
              ;;
11172
12877
            ;;
11173
12878
        esac
11174
12879
        ;;
 
12880
      interix*)
 
12881
        # This is c89, which is MS Visual C++ (no shared libs)
 
12882
        # Anyone wants to do a port?
 
12883
        ;;
11175
12884
      irix5* | irix6* | nonstopux*)
11176
12885
        case $cc_basename in
11177
 
          CC)
 
12886
          CC*)
11178
12887
            lt_prog_compiler_wl_CXX='-Wl,'
11179
12888
            lt_prog_compiler_static_CXX='-non_shared'
11180
12889
            # CC pic flag -KPIC is the default.
11183
12892
            ;;
11184
12893
        esac
11185
12894
        ;;
11186
 
      linux*)
 
12895
      linux* | k*bsd*-gnu)
11187
12896
        case $cc_basename in
11188
 
          KCC)
 
12897
          KCC*)
11189
12898
            # KAI C++ Compiler
11190
12899
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11191
12900
            lt_prog_compiler_pic_CXX='-fPIC'
11192
12901
            ;;
11193
 
          icpc)
 
12902
          icpc* | ecpc*)
11194
12903
            # Intel C++
11195
12904
            lt_prog_compiler_wl_CXX='-Wl,'
11196
12905
            lt_prog_compiler_pic_CXX='-KPIC'
11197
12906
            lt_prog_compiler_static_CXX='-static'
11198
12907
            ;;
11199
 
          cxx)
 
12908
          pgCC*)
 
12909
            # Portland Group C++ compiler.
 
12910
            lt_prog_compiler_wl_CXX='-Wl,'
 
12911
            lt_prog_compiler_pic_CXX='-fpic'
 
12912
            lt_prog_compiler_static_CXX='-Bstatic'
 
12913
            ;;
 
12914
          cxx*)
11200
12915
            # Compaq C++
11201
12916
            # Make sure the PIC flag is empty.  It appears that all Alpha
11202
12917
            # Linux and Compaq Tru64 Unix objects are PIC.
11213
12928
        ;;
11214
12929
      mvs*)
11215
12930
        case $cc_basename in
11216
 
          cxx)
 
12931
          cxx*)
11217
12932
            lt_prog_compiler_pic_CXX='-W c,exportall'
11218
12933
            ;;
11219
12934
          *)
11220
12935
            ;;
11221
12936
        esac
11222
12937
        ;;
11223
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12938
      netbsd* | netbsdelf*-gnu)
11224
12939
        ;;
11225
12940
      osf3* | osf4* | osf5*)
11226
12941
        case $cc_basename in
11227
 
          KCC)
 
12942
          KCC*)
11228
12943
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11229
12944
            ;;
11230
 
          RCC)
 
12945
          RCC*)
11231
12946
            # Rational C++ 2.4.1
11232
12947
            lt_prog_compiler_pic_CXX='-pic'
11233
12948
            ;;
11234
 
          cxx)
 
12949
          cxx*)
11235
12950
            # Digital/Compaq C++
11236
12951
            lt_prog_compiler_wl_CXX='-Wl,'
11237
12952
            # Make sure the PIC flag is empty.  It appears that all Alpha
11245
12960
        ;;
11246
12961
      psos*)
11247
12962
        ;;
11248
 
      sco*)
11249
 
        case $cc_basename in
11250
 
          CC)
11251
 
            lt_prog_compiler_pic_CXX='-fPIC'
11252
 
            ;;
11253
 
          *)
11254
 
            ;;
11255
 
        esac
11256
 
        ;;
11257
12963
      solaris*)
11258
12964
        case $cc_basename in
11259
 
          CC)
 
12965
          CC*)
11260
12966
            # Sun C++ 4.2, 5.x and Centerline C++
11261
12967
            lt_prog_compiler_pic_CXX='-KPIC'
11262
12968
            lt_prog_compiler_static_CXX='-Bstatic'
11263
12969
            lt_prog_compiler_wl_CXX='-Qoption ld '
11264
12970
            ;;
11265
 
          gcx)
 
12971
          gcx*)
11266
12972
            # Green Hills C++ Compiler
11267
12973
            lt_prog_compiler_pic_CXX='-PIC'
11268
12974
            ;;
11272
12978
        ;;
11273
12979
      sunos4*)
11274
12980
        case $cc_basename in
11275
 
          CC)
 
12981
          CC*)
11276
12982
            # Sun C++ 4.x
11277
12983
            lt_prog_compiler_pic_CXX='-pic'
11278
12984
            lt_prog_compiler_static_CXX='-Bstatic'
11279
12985
            ;;
11280
 
          lcc)
 
12986
          lcc*)
11281
12987
            # Lucid
11282
12988
            lt_prog_compiler_pic_CXX='-pic'
11283
12989
            ;;
11287
12993
        ;;
11288
12994
      tandem*)
11289
12995
        case $cc_basename in
11290
 
          NCC)
 
12996
          NCC*)
11291
12997
            # NonStop-UX NCC 3.20
11292
12998
            lt_prog_compiler_pic_CXX='-KPIC'
11293
12999
            ;;
11295
13001
            ;;
11296
13002
        esac
11297
13003
        ;;
11298
 
      unixware*)
 
13004
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13005
        case $cc_basename in
 
13006
          CC*)
 
13007
            lt_prog_compiler_wl_CXX='-Wl,'
 
13008
            lt_prog_compiler_pic_CXX='-KPIC'
 
13009
            lt_prog_compiler_static_CXX='-Bstatic'
 
13010
            ;;
 
13011
        esac
11299
13012
        ;;
11300
13013
      vxworks*)
11301
13014
        ;;
11305
13018
    esac
11306
13019
  fi
11307
13020
 
11308
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11309
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
13021
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13022
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11310
13023
 
11311
13024
#
11312
13025
# Check to make sure the PIC flag actually works.
11313
13026
#
11314
13027
if test -n "$lt_prog_compiler_pic_CXX"; then
11315
13028
 
11316
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11317
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
13029
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13030
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11318
13031
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11319
13032
  echo $ECHO_N "(cached) $ECHO_C" >&6
11320
13033
else
11328
13041
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11329
13042
   # The option is referenced via a variable to avoid confusing sed.
11330
13043
   lt_compile=`echo "$ac_compile" | $SED \
11331
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13044
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11332
13045
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11333
13046
   -e 's:$: $lt_compiler_flag:'`
11334
 
   (eval echo "\"\$as_me:11334: $lt_compile\"" >&5)
 
13047
   (eval echo "\"\$as_me:13047: $lt_compile\"" >&5)
11335
13048
   (eval "$lt_compile" 2>conftest.err)
11336
13049
   ac_status=$?
11337
13050
   cat conftest.err >&5
11338
 
   echo "$as_me:11338: \$? = $ac_status" >&5
 
13051
   echo "$as_me:13051: \$? = $ac_status" >&5
11339
13052
   if (exit $ac_status) && test -s "$ac_outfile"; then
11340
13053
     # The compiler can only warn and ignore the option if not recognized
11341
 
     # So say no if there are warnings
11342
 
     if test ! -s conftest.err; then
 
13054
     # So say no if there are warnings other than the usual output.
 
13055
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13056
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13057
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11343
13058
       lt_prog_compiler_pic_works_CXX=yes
11344
13059
     fi
11345
13060
   fi
11346
13061
   $rm conftest*
11347
13062
 
11348
13063
fi
11349
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11350
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
13064
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
13065
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11351
13066
 
11352
13067
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11353
13068
    case $lt_prog_compiler_pic_CXX in
11360
13075
fi
11361
13076
 
11362
13077
fi
11363
 
case "$host_os" in
 
13078
case $host_os in
11364
13079
  # For platforms which do not support PIC, -DPIC is meaningless:
11365
13080
  *djgpp*)
11366
13081
    lt_prog_compiler_pic_CXX=
11370
13085
    ;;
11371
13086
esac
11372
13087
 
11373
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11374
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13088
#
 
13089
# Check to make sure the static flag actually works.
 
13090
#
 
13091
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
13092
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13093
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
13094
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
13095
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13096
else
 
13097
  lt_prog_compiler_static_works_CXX=no
 
13098
   save_LDFLAGS="$LDFLAGS"
 
13099
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13100
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13101
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13102
     # The linker can only warn and ignore the option if not recognized
 
13103
     # So say no if there are warnings
 
13104
     if test -s conftest.err; then
 
13105
       # Append any errors to the config.log.
 
13106
       cat conftest.err 1>&5
 
13107
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13108
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13109
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13110
         lt_prog_compiler_static_works_CXX=yes
 
13111
       fi
 
13112
     else
 
13113
       lt_prog_compiler_static_works_CXX=yes
 
13114
     fi
 
13115
   fi
 
13116
   $rm conftest*
 
13117
   LDFLAGS="$save_LDFLAGS"
 
13118
 
 
13119
fi
 
13120
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
13121
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
13122
 
 
13123
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13124
    :
 
13125
else
 
13126
    lt_prog_compiler_static_CXX=
 
13127
fi
 
13128
 
 
13129
 
 
13130
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13131
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11375
13132
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11376
13133
  echo $ECHO_N "(cached) $ECHO_C" >&6
11377
13134
else
11388
13145
   # Note that $ac_compile itself does not contain backslashes and begins
11389
13146
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11390
13147
   lt_compile=`echo "$ac_compile" | $SED \
11391
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13148
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11392
13149
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11393
13150
   -e 's:$: $lt_compiler_flag:'`
11394
 
   (eval echo "\"\$as_me:11394: $lt_compile\"" >&5)
 
13151
   (eval echo "\"\$as_me:13151: $lt_compile\"" >&5)
11395
13152
   (eval "$lt_compile" 2>out/conftest.err)
11396
13153
   ac_status=$?
11397
13154
   cat out/conftest.err >&5
11398
 
   echo "$as_me:11398: \$? = $ac_status" >&5
 
13155
   echo "$as_me:13155: \$? = $ac_status" >&5
11399
13156
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11400
13157
   then
11401
13158
     # The compiler can only warn and ignore the option if not recognized
11402
13159
     # So say no if there are warnings
11403
 
     if test ! -s out/conftest.err; then
 
13160
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13161
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13162
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11404
13163
       lt_cv_prog_compiler_c_o_CXX=yes
11405
13164
     fi
11406
13165
   fi
11407
 
   chmod u+w .
 
13166
   chmod u+w . 2>&5
11408
13167
   $rm conftest*
11409
13168
   # SGI C++ compiler will create directory out/ii_files/ for
11410
13169
   # template instantiation
11415
13174
   $rm conftest*
11416
13175
 
11417
13176
fi
11418
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11419
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
13177
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13178
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11420
13179
 
11421
13180
 
11422
13181
hard_links="nottested"
11423
13182
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11424
13183
  # do not overwrite the value of need_locks provided by the user
11425
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11426
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13184
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13185
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11427
13186
  hard_links=yes
11428
13187
  $rm conftest*
11429
13188
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11430
13189
  touch conftest.a
11431
13190
  ln conftest.a conftest.b 2>&5 || hard_links=no
11432
13191
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11433
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11434
 
echo "${ECHO_T}$hard_links" >&6
 
13192
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13193
echo "${ECHO_T}$hard_links" >&6; }
11435
13194
  if test "$hard_links" = no; then
11436
13195
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11437
13196
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11441
13200
  need_locks=no
11442
13201
fi
11443
13202
 
11444
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11445
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13203
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13204
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11446
13205
 
11447
13206
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11448
13207
  case $host_os in
11459
13218
    export_symbols_cmds_CXX="$ltdll_cmds"
11460
13219
  ;;
11461
13220
  cygwin* | mingw*)
11462
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13221
    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'
11463
13222
  ;;
11464
 
  linux*)
 
13223
  linux* | k*bsd*-gnu)
11465
13224
    link_all_deplibs_CXX=no
11466
13225
  ;;
11467
13226
  *)
11469
13228
  ;;
11470
13229
  esac
11471
13230
 
11472
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11473
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13231
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13232
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11474
13233
test "$ld_shlibs_CXX" = no && can_build_shared=no
11475
13234
 
11476
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11477
 
if test "$GCC" = yes; then
11478
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11479
 
fi
11480
 
 
11481
13235
#
11482
13236
# Do we need to explicitly link libc?
11483
13237
#
11495
13249
      # Test whether the compiler implicitly links with -lc since on some
11496
13250
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11497
13251
      # to ld, don't add -lc before -lgcc.
11498
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11499
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13252
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13253
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11500
13254
      $rm conftest*
11501
13255
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11502
13256
 
11510
13264
        libobjs=conftest.$ac_objext
11511
13265
        deplibs=
11512
13266
        wl=$lt_prog_compiler_wl_CXX
 
13267
        pic_flag=$lt_prog_compiler_pic_CXX
11513
13268
        compiler_flags=-v
11514
13269
        linker_flags=-v
11515
13270
        verstring=
11532
13287
        cat conftest.err 1>&5
11533
13288
      fi
11534
13289
      $rm conftest*
11535
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11536
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13290
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13291
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11537
13292
      ;;
11538
13293
    esac
11539
13294
  fi
11540
13295
  ;;
11541
13296
esac
11542
13297
 
11543
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11544
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13298
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13299
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11545
13300
library_names_spec=
11546
13301
libname_spec='lib$name'
11547
13302
soname_spec=
11642
13397
  shlibpath_var=LIBRARY_PATH
11643
13398
  ;;
11644
13399
 
11645
 
bsdi4*)
 
13400
bsdi[45]*)
11646
13401
  version_type=linux
11647
13402
  need_version=no
11648
13403
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11670
13425
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11671
13426
      dldir=$destdir/`dirname \$dlpath`~
11672
13427
      test -d \$dldir || mkdir -p \$dldir~
11673
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13428
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13429
      chmod a+x \$dldir/$dlname'
11674
13430
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11675
13431
      dlpath=$dir/\$dldll~
11676
13432
       $rm \$dlpath'
11700
13456
      ;;
11701
13457
    pw32*)
11702
13458
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11703
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
13459
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11704
13460
      ;;
11705
13461
    esac
11706
13462
    ;;
11723
13479
  soname_spec='${libname}${release}${major}$shared_ext'
11724
13480
  shlibpath_overrides_runpath=yes
11725
13481
  shlibpath_var=DYLD_LIBRARY_PATH
11726
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
13482
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11727
13483
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11728
13484
  if test "$GCC" = yes; then
11729
13485
    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"`
11746
13502
  dynamic_linker=no
11747
13503
  ;;
11748
13504
 
11749
 
kfreebsd*-gnu)
11750
 
  version_type=linux
11751
 
  need_lib_prefix=no
11752
 
  need_version=no
11753
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11754
 
  soname_spec='${libname}${release}${shared_ext}$major'
11755
 
  shlibpath_var=LD_LIBRARY_PATH
11756
 
  shlibpath_overrides_runpath=no
11757
 
  hardcode_into_libs=yes
11758
 
  dynamic_linker='GNU ld.so'
11759
 
  ;;
11760
 
 
11761
 
freebsd*)
11762
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13505
freebsd* | dragonfly*)
 
13506
  # DragonFly does not have aout.  When/if they implement a new
 
13507
  # versioning mechanism, adjust this.
 
13508
  if test -x /usr/bin/objformat; then
 
13509
    objformat=`/usr/bin/objformat`
 
13510
  else
 
13511
    case $host_os in
 
13512
    freebsd[123]*) objformat=aout ;;
 
13513
    *) objformat=elf ;;
 
13514
    esac
 
13515
  fi
11763
13516
  version_type=freebsd-$objformat
11764
13517
  case $version_type in
11765
13518
    freebsd-elf*)
11777
13530
  freebsd2*)
11778
13531
    shlibpath_overrides_runpath=yes
11779
13532
    ;;
11780
 
  freebsd3.01* | freebsdelf3.01*)
 
13533
  freebsd3.[01]* | freebsdelf3.[01]*)
11781
13534
    shlibpath_overrides_runpath=yes
11782
13535
    hardcode_into_libs=yes
11783
13536
    ;;
11784
 
  *) # from 3.2 on
 
13537
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13538
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11785
13539
    shlibpath_overrides_runpath=no
11786
13540
    hardcode_into_libs=yes
11787
13541
    ;;
 
13542
  freebsd*) # from 4.6 on
 
13543
    shlibpath_overrides_runpath=yes
 
13544
    hardcode_into_libs=yes
 
13545
    ;;
11788
13546
  esac
11789
13547
  ;;
11790
13548
 
11804
13562
  version_type=sunos
11805
13563
  need_lib_prefix=no
11806
13564
  need_version=no
11807
 
  case "$host_cpu" in
 
13565
  case $host_cpu in
11808
13566
  ia64*)
11809
13567
    shrext_cmds='.so'
11810
13568
    hardcode_into_libs=yes
11844
13602
  postinstall_cmds='chmod 555 $lib'
11845
13603
  ;;
11846
13604
 
 
13605
interix3*)
 
13606
  version_type=linux
 
13607
  need_lib_prefix=no
 
13608
  need_version=no
 
13609
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13610
  soname_spec='${libname}${release}${shared_ext}$major'
 
13611
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13612
  shlibpath_var=LD_LIBRARY_PATH
 
13613
  shlibpath_overrides_runpath=no
 
13614
  hardcode_into_libs=yes
 
13615
  ;;
 
13616
 
11847
13617
irix5* | irix6* | nonstopux*)
11848
13618
  case $host_os in
11849
13619
    nonstopux*) version_type=nonstopux ;;
11887
13657
  ;;
11888
13658
 
11889
13659
# This must be Linux ELF.
11890
 
linux*)
 
13660
linux* | k*bsd*-gnu)
11891
13661
  version_type=linux
11892
13662
  need_lib_prefix=no
11893
13663
  need_version=no
11903
13673
 
11904
13674
  # Append ld.so.conf contents to the search path
11905
13675
  if test -f /etc/ld.so.conf; then
11906
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
13676
    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' ' '`
11907
13677
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11908
13678
  fi
11909
13679
 
11928
13698
  dynamic_linker='NetBSD ld.elf_so'
11929
13699
  ;;
11930
13700
 
11931
 
knetbsd*-gnu)
11932
 
  version_type=linux
11933
 
  need_lib_prefix=no
11934
 
  need_version=no
11935
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11936
 
  soname_spec='${libname}${release}${shared_ext}$major'
11937
 
  shlibpath_var=LD_LIBRARY_PATH
11938
 
  shlibpath_overrides_runpath=no
11939
 
  hardcode_into_libs=yes
11940
 
  dynamic_linker='GNU ld.so'
11941
 
  ;;
11942
 
 
11943
13701
netbsd*)
11944
13702
  version_type=sunos
11945
13703
  need_lib_prefix=no
11977
13735
 
11978
13736
openbsd*)
11979
13737
  version_type=sunos
 
13738
  sys_lib_dlsearch_path_spec="/usr/lib"
11980
13739
  need_lib_prefix=no
11981
 
  need_version=yes
 
13740
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13741
  case $host_os in
 
13742
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13743
    *)                         need_version=no  ;;
 
13744
  esac
11982
13745
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11983
13746
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11984
13747
  shlibpath_var=LD_LIBRARY_PATH
12016
13779
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12017
13780
  ;;
12018
13781
 
12019
 
sco3.2v5*)
12020
 
  version_type=osf
12021
 
  soname_spec='${libname}${release}${shared_ext}$major'
12022
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12023
 
  shlibpath_var=LD_LIBRARY_PATH
12024
 
  ;;
12025
 
 
12026
13782
solaris*)
12027
13783
  version_type=linux
12028
13784
  need_lib_prefix=no
12048
13804
  need_version=yes
12049
13805
  ;;
12050
13806
 
12051
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13807
sysv4 | sysv4.3*)
12052
13808
  version_type=linux
12053
13809
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12054
13810
  soname_spec='${libname}${release}${shared_ext}$major'
12081
13837
  fi
12082
13838
  ;;
12083
13839
 
 
13840
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13841
  version_type=freebsd-elf
 
13842
  need_lib_prefix=no
 
13843
  need_version=no
 
13844
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13845
  soname_spec='${libname}${release}${shared_ext}$major'
 
13846
  shlibpath_var=LD_LIBRARY_PATH
 
13847
  hardcode_into_libs=yes
 
13848
  if test "$with_gnu_ld" = yes; then
 
13849
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13850
    shlibpath_overrides_runpath=no
 
13851
  else
 
13852
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13853
    shlibpath_overrides_runpath=yes
 
13854
    case $host_os in
 
13855
      sco3.2v5*)
 
13856
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13857
        ;;
 
13858
    esac
 
13859
  fi
 
13860
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13861
  ;;
 
13862
 
12084
13863
uts4*)
12085
13864
  version_type=linux
12086
13865
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12092
13871
  dynamic_linker=no
12093
13872
  ;;
12094
13873
esac
12095
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12096
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13874
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13875
echo "${ECHO_T}$dynamic_linker" >&6; }
12097
13876
test "$dynamic_linker" = no && can_build_shared=no
12098
13877
 
12099
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12100
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13878
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13879
if test "$GCC" = yes; then
 
13880
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13881
fi
 
13882
 
 
13883
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13884
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12101
13885
hardcode_action_CXX=
12102
13886
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12103
 
   test -n "$runpath_var CXX" || \
12104
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
13887
   test -n "$runpath_var_CXX" || \
 
13888
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
12105
13889
 
12106
13890
  # We can hardcode non-existant directories.
12107
13891
  if test "$hardcode_direct_CXX" != no &&
12121
13905
  # directories.
12122
13906
  hardcode_action_CXX=unsupported
12123
13907
fi
12124
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12125
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13908
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13909
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12126
13910
 
12127
13911
if test "$hardcode_action_CXX" = relink; then
12128
13912
  # Fast installation is not supported
12133
13917
  enable_fast_install=needless
12134
13918
fi
12135
13919
 
12136
 
striplib=
12137
 
old_striplib=
12138
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12139
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12140
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12141
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12142
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12143
 
  echo "$as_me:$LINENO: result: yes" >&5
12144
 
echo "${ECHO_T}yes" >&6
12145
 
else
12146
 
# FIXME - insert some real tests, host_os isn't really good enough
12147
 
  case $host_os in
12148
 
   darwin*)
12149
 
       if test -n "$STRIP" ; then
12150
 
         striplib="$STRIP -x"
12151
 
         echo "$as_me:$LINENO: result: yes" >&5
12152
 
echo "${ECHO_T}yes" >&6
12153
 
       else
12154
 
  echo "$as_me:$LINENO: result: no" >&5
12155
 
echo "${ECHO_T}no" >&6
12156
 
fi
12157
 
       ;;
12158
 
   *)
12159
 
  echo "$as_me:$LINENO: result: no" >&5
12160
 
echo "${ECHO_T}no" >&6
12161
 
    ;;
12162
 
  esac
12163
 
fi
12164
 
 
12165
 
if test "x$enable_dlopen" != xyes; then
12166
 
  enable_dlopen=unknown
12167
 
  enable_dlopen_self=unknown
12168
 
  enable_dlopen_self_static=unknown
12169
 
else
12170
 
  lt_cv_dlopen=no
12171
 
  lt_cv_dlopen_libs=
12172
 
 
12173
 
  case $host_os in
12174
 
  beos*)
12175
 
    lt_cv_dlopen="load_add_on"
12176
 
    lt_cv_dlopen_libs=
12177
 
    lt_cv_dlopen_self=yes
12178
 
    ;;
12179
 
 
12180
 
  mingw* | pw32*)
12181
 
    lt_cv_dlopen="LoadLibrary"
12182
 
    lt_cv_dlopen_libs=
12183
 
   ;;
12184
 
 
12185
 
  cygwin*)
12186
 
    lt_cv_dlopen="dlopen"
12187
 
    lt_cv_dlopen_libs=
12188
 
   ;;
12189
 
 
12190
 
  darwin*)
12191
 
  # if libdl is installed we need to link against it
12192
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12193
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12194
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12195
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12196
 
else
12197
 
  ac_check_lib_save_LIBS=$LIBS
12198
 
LIBS="-ldl  $LIBS"
12199
 
cat >conftest.$ac_ext <<_ACEOF
12200
 
/* confdefs.h.  */
12201
 
_ACEOF
12202
 
cat confdefs.h >>conftest.$ac_ext
12203
 
cat >>conftest.$ac_ext <<_ACEOF
12204
 
/* end confdefs.h.  */
12205
 
 
12206
 
/* Override any gcc2 internal prototype to avoid an error.  */
12207
 
#ifdef __cplusplus
12208
 
extern "C"
12209
 
#endif
12210
 
/* We use char because int might match the return type of a gcc2
12211
 
   builtin and then its argument prototype would still apply.  */
12212
 
char dlopen ();
12213
 
int
12214
 
main ()
12215
 
{
12216
 
dlopen ();
12217
 
  ;
12218
 
  return 0;
12219
 
}
12220
 
_ACEOF
12221
 
rm -f conftest.$ac_objext conftest$ac_exeext
12222
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12223
 
  (eval $ac_link) 2>conftest.er1
12224
 
  ac_status=$?
12225
 
  grep -v '^ *+' conftest.er1 >conftest.err
12226
 
  rm -f conftest.er1
12227
 
  cat conftest.err >&5
12228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229
 
  (exit $ac_status); } &&
12230
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12231
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232
 
  (eval $ac_try) 2>&5
12233
 
  ac_status=$?
12234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235
 
  (exit $ac_status); }; } &&
12236
 
         { ac_try='test -s conftest$ac_exeext'
12237
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238
 
  (eval $ac_try) 2>&5
12239
 
  ac_status=$?
12240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241
 
  (exit $ac_status); }; }; then
12242
 
  ac_cv_lib_dl_dlopen=yes
12243
 
else
12244
 
  echo "$as_me: failed program was:" >&5
12245
 
sed 's/^/| /' conftest.$ac_ext >&5
12246
 
 
12247
 
ac_cv_lib_dl_dlopen=no
12248
 
fi
12249
 
rm -f conftest.err conftest.$ac_objext \
12250
 
      conftest$ac_exeext conftest.$ac_ext
12251
 
LIBS=$ac_check_lib_save_LIBS
12252
 
fi
12253
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12254
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12255
 
if test $ac_cv_lib_dl_dlopen = yes; then
12256
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12257
 
else
12258
 
 
12259
 
    lt_cv_dlopen="dyld"
12260
 
    lt_cv_dlopen_libs=
12261
 
    lt_cv_dlopen_self=yes
12262
 
 
12263
 
fi
12264
 
 
12265
 
   ;;
12266
 
 
12267
 
  *)
12268
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12269
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12270
 
if test "${ac_cv_func_shl_load+set}" = set; then
12271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12272
 
else
12273
 
  cat >conftest.$ac_ext <<_ACEOF
12274
 
/* confdefs.h.  */
12275
 
_ACEOF
12276
 
cat confdefs.h >>conftest.$ac_ext
12277
 
cat >>conftest.$ac_ext <<_ACEOF
12278
 
/* end confdefs.h.  */
12279
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12280
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12281
 
#define shl_load innocuous_shl_load
12282
 
 
12283
 
/* System header to define __stub macros and hopefully few prototypes,
12284
 
    which can conflict with char shl_load (); below.
12285
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12286
 
    <limits.h> exists even on freestanding compilers.  */
12287
 
 
12288
 
#ifdef __STDC__
12289
 
# include <limits.h>
12290
 
#else
12291
 
# include <assert.h>
12292
 
#endif
12293
 
 
12294
 
#undef shl_load
12295
 
 
12296
 
/* Override any gcc2 internal prototype to avoid an error.  */
12297
 
#ifdef __cplusplus
12298
 
extern "C"
12299
 
{
12300
 
#endif
12301
 
/* We use char because int might match the return type of a gcc2
12302
 
   builtin and then its argument prototype would still apply.  */
12303
 
char shl_load ();
12304
 
/* The GNU C library defines this for functions which it implements
12305
 
    to always fail with ENOSYS.  Some functions are actually named
12306
 
    something starting with __ and the normal name is an alias.  */
12307
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12308
 
choke me
12309
 
#else
12310
 
char (*f) () = shl_load;
12311
 
#endif
12312
 
#ifdef __cplusplus
12313
 
}
12314
 
#endif
12315
 
 
12316
 
int
12317
 
main ()
12318
 
{
12319
 
return f != shl_load;
12320
 
  ;
12321
 
  return 0;
12322
 
}
12323
 
_ACEOF
12324
 
rm -f conftest.$ac_objext conftest$ac_exeext
12325
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12326
 
  (eval $ac_link) 2>conftest.er1
12327
 
  ac_status=$?
12328
 
  grep -v '^ *+' conftest.er1 >conftest.err
12329
 
  rm -f conftest.er1
12330
 
  cat conftest.err >&5
12331
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332
 
  (exit $ac_status); } &&
12333
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12334
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335
 
  (eval $ac_try) 2>&5
12336
 
  ac_status=$?
12337
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338
 
  (exit $ac_status); }; } &&
12339
 
         { ac_try='test -s conftest$ac_exeext'
12340
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341
 
  (eval $ac_try) 2>&5
12342
 
  ac_status=$?
12343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344
 
  (exit $ac_status); }; }; then
12345
 
  ac_cv_func_shl_load=yes
12346
 
else
12347
 
  echo "$as_me: failed program was:" >&5
12348
 
sed 's/^/| /' conftest.$ac_ext >&5
12349
 
 
12350
 
ac_cv_func_shl_load=no
12351
 
fi
12352
 
rm -f conftest.err conftest.$ac_objext \
12353
 
      conftest$ac_exeext conftest.$ac_ext
12354
 
fi
12355
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12356
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12357
 
if test $ac_cv_func_shl_load = yes; then
12358
 
  lt_cv_dlopen="shl_load"
12359
 
else
12360
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12361
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12362
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12363
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12364
 
else
12365
 
  ac_check_lib_save_LIBS=$LIBS
12366
 
LIBS="-ldld  $LIBS"
12367
 
cat >conftest.$ac_ext <<_ACEOF
12368
 
/* confdefs.h.  */
12369
 
_ACEOF
12370
 
cat confdefs.h >>conftest.$ac_ext
12371
 
cat >>conftest.$ac_ext <<_ACEOF
12372
 
/* end confdefs.h.  */
12373
 
 
12374
 
/* Override any gcc2 internal prototype to avoid an error.  */
12375
 
#ifdef __cplusplus
12376
 
extern "C"
12377
 
#endif
12378
 
/* We use char because int might match the return type of a gcc2
12379
 
   builtin and then its argument prototype would still apply.  */
12380
 
char shl_load ();
12381
 
int
12382
 
main ()
12383
 
{
12384
 
shl_load ();
12385
 
  ;
12386
 
  return 0;
12387
 
}
12388
 
_ACEOF
12389
 
rm -f conftest.$ac_objext conftest$ac_exeext
12390
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12391
 
  (eval $ac_link) 2>conftest.er1
12392
 
  ac_status=$?
12393
 
  grep -v '^ *+' conftest.er1 >conftest.err
12394
 
  rm -f conftest.er1
12395
 
  cat conftest.err >&5
12396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397
 
  (exit $ac_status); } &&
12398
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400
 
  (eval $ac_try) 2>&5
12401
 
  ac_status=$?
12402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403
 
  (exit $ac_status); }; } &&
12404
 
         { ac_try='test -s conftest$ac_exeext'
12405
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406
 
  (eval $ac_try) 2>&5
12407
 
  ac_status=$?
12408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409
 
  (exit $ac_status); }; }; then
12410
 
  ac_cv_lib_dld_shl_load=yes
12411
 
else
12412
 
  echo "$as_me: failed program was:" >&5
12413
 
sed 's/^/| /' conftest.$ac_ext >&5
12414
 
 
12415
 
ac_cv_lib_dld_shl_load=no
12416
 
fi
12417
 
rm -f conftest.err conftest.$ac_objext \
12418
 
      conftest$ac_exeext conftest.$ac_ext
12419
 
LIBS=$ac_check_lib_save_LIBS
12420
 
fi
12421
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12422
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12423
 
if test $ac_cv_lib_dld_shl_load = yes; then
12424
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12425
 
else
12426
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12427
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12428
 
if test "${ac_cv_func_dlopen+set}" = set; then
12429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12430
 
else
12431
 
  cat >conftest.$ac_ext <<_ACEOF
12432
 
/* confdefs.h.  */
12433
 
_ACEOF
12434
 
cat confdefs.h >>conftest.$ac_ext
12435
 
cat >>conftest.$ac_ext <<_ACEOF
12436
 
/* end confdefs.h.  */
12437
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12438
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12439
 
#define dlopen innocuous_dlopen
12440
 
 
12441
 
/* System header to define __stub macros and hopefully few prototypes,
12442
 
    which can conflict with char dlopen (); below.
12443
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12444
 
    <limits.h> exists even on freestanding compilers.  */
12445
 
 
12446
 
#ifdef __STDC__
12447
 
# include <limits.h>
12448
 
#else
12449
 
# include <assert.h>
12450
 
#endif
12451
 
 
12452
 
#undef dlopen
12453
 
 
12454
 
/* Override any gcc2 internal prototype to avoid an error.  */
12455
 
#ifdef __cplusplus
12456
 
extern "C"
12457
 
{
12458
 
#endif
12459
 
/* We use char because int might match the return type of a gcc2
12460
 
   builtin and then its argument prototype would still apply.  */
12461
 
char dlopen ();
12462
 
/* The GNU C library defines this for functions which it implements
12463
 
    to always fail with ENOSYS.  Some functions are actually named
12464
 
    something starting with __ and the normal name is an alias.  */
12465
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12466
 
choke me
12467
 
#else
12468
 
char (*f) () = dlopen;
12469
 
#endif
12470
 
#ifdef __cplusplus
12471
 
}
12472
 
#endif
12473
 
 
12474
 
int
12475
 
main ()
12476
 
{
12477
 
return f != dlopen;
12478
 
  ;
12479
 
  return 0;
12480
 
}
12481
 
_ACEOF
12482
 
rm -f conftest.$ac_objext conftest$ac_exeext
12483
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12484
 
  (eval $ac_link) 2>conftest.er1
12485
 
  ac_status=$?
12486
 
  grep -v '^ *+' conftest.er1 >conftest.err
12487
 
  rm -f conftest.er1
12488
 
  cat conftest.err >&5
12489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490
 
  (exit $ac_status); } &&
12491
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493
 
  (eval $ac_try) 2>&5
12494
 
  ac_status=$?
12495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496
 
  (exit $ac_status); }; } &&
12497
 
         { ac_try='test -s conftest$ac_exeext'
12498
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12499
 
  (eval $ac_try) 2>&5
12500
 
  ac_status=$?
12501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502
 
  (exit $ac_status); }; }; then
12503
 
  ac_cv_func_dlopen=yes
12504
 
else
12505
 
  echo "$as_me: failed program was:" >&5
12506
 
sed 's/^/| /' conftest.$ac_ext >&5
12507
 
 
12508
 
ac_cv_func_dlopen=no
12509
 
fi
12510
 
rm -f conftest.err conftest.$ac_objext \
12511
 
      conftest$ac_exeext conftest.$ac_ext
12512
 
fi
12513
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12514
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12515
 
if test $ac_cv_func_dlopen = yes; then
12516
 
  lt_cv_dlopen="dlopen"
12517
 
else
12518
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12519
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12520
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12522
 
else
12523
 
  ac_check_lib_save_LIBS=$LIBS
12524
 
LIBS="-ldl  $LIBS"
12525
 
cat >conftest.$ac_ext <<_ACEOF
12526
 
/* confdefs.h.  */
12527
 
_ACEOF
12528
 
cat confdefs.h >>conftest.$ac_ext
12529
 
cat >>conftest.$ac_ext <<_ACEOF
12530
 
/* end confdefs.h.  */
12531
 
 
12532
 
/* Override any gcc2 internal prototype to avoid an error.  */
12533
 
#ifdef __cplusplus
12534
 
extern "C"
12535
 
#endif
12536
 
/* We use char because int might match the return type of a gcc2
12537
 
   builtin and then its argument prototype would still apply.  */
12538
 
char dlopen ();
12539
 
int
12540
 
main ()
12541
 
{
12542
 
dlopen ();
12543
 
  ;
12544
 
  return 0;
12545
 
}
12546
 
_ACEOF
12547
 
rm -f conftest.$ac_objext conftest$ac_exeext
12548
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12549
 
  (eval $ac_link) 2>conftest.er1
12550
 
  ac_status=$?
12551
 
  grep -v '^ *+' conftest.er1 >conftest.err
12552
 
  rm -f conftest.er1
12553
 
  cat conftest.err >&5
12554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555
 
  (exit $ac_status); } &&
12556
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12557
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558
 
  (eval $ac_try) 2>&5
12559
 
  ac_status=$?
12560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561
 
  (exit $ac_status); }; } &&
12562
 
         { ac_try='test -s conftest$ac_exeext'
12563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564
 
  (eval $ac_try) 2>&5
12565
 
  ac_status=$?
12566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567
 
  (exit $ac_status); }; }; then
12568
 
  ac_cv_lib_dl_dlopen=yes
12569
 
else
12570
 
  echo "$as_me: failed program was:" >&5
12571
 
sed 's/^/| /' conftest.$ac_ext >&5
12572
 
 
12573
 
ac_cv_lib_dl_dlopen=no
12574
 
fi
12575
 
rm -f conftest.err conftest.$ac_objext \
12576
 
      conftest$ac_exeext conftest.$ac_ext
12577
 
LIBS=$ac_check_lib_save_LIBS
12578
 
fi
12579
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12580
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12581
 
if test $ac_cv_lib_dl_dlopen = yes; then
12582
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12583
 
else
12584
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12585
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12586
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12587
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12588
 
else
12589
 
  ac_check_lib_save_LIBS=$LIBS
12590
 
LIBS="-lsvld  $LIBS"
12591
 
cat >conftest.$ac_ext <<_ACEOF
12592
 
/* confdefs.h.  */
12593
 
_ACEOF
12594
 
cat confdefs.h >>conftest.$ac_ext
12595
 
cat >>conftest.$ac_ext <<_ACEOF
12596
 
/* end confdefs.h.  */
12597
 
 
12598
 
/* Override any gcc2 internal prototype to avoid an error.  */
12599
 
#ifdef __cplusplus
12600
 
extern "C"
12601
 
#endif
12602
 
/* We use char because int might match the return type of a gcc2
12603
 
   builtin and then its argument prototype would still apply.  */
12604
 
char dlopen ();
12605
 
int
12606
 
main ()
12607
 
{
12608
 
dlopen ();
12609
 
  ;
12610
 
  return 0;
12611
 
}
12612
 
_ACEOF
12613
 
rm -f conftest.$ac_objext conftest$ac_exeext
12614
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12615
 
  (eval $ac_link) 2>conftest.er1
12616
 
  ac_status=$?
12617
 
  grep -v '^ *+' conftest.er1 >conftest.err
12618
 
  rm -f conftest.er1
12619
 
  cat conftest.err >&5
12620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621
 
  (exit $ac_status); } &&
12622
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12623
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624
 
  (eval $ac_try) 2>&5
12625
 
  ac_status=$?
12626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627
 
  (exit $ac_status); }; } &&
12628
 
         { ac_try='test -s conftest$ac_exeext'
12629
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630
 
  (eval $ac_try) 2>&5
12631
 
  ac_status=$?
12632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633
 
  (exit $ac_status); }; }; then
12634
 
  ac_cv_lib_svld_dlopen=yes
12635
 
else
12636
 
  echo "$as_me: failed program was:" >&5
12637
 
sed 's/^/| /' conftest.$ac_ext >&5
12638
 
 
12639
 
ac_cv_lib_svld_dlopen=no
12640
 
fi
12641
 
rm -f conftest.err conftest.$ac_objext \
12642
 
      conftest$ac_exeext conftest.$ac_ext
12643
 
LIBS=$ac_check_lib_save_LIBS
12644
 
fi
12645
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12646
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12647
 
if test $ac_cv_lib_svld_dlopen = yes; then
12648
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12649
 
else
12650
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12651
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12652
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12653
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12654
 
else
12655
 
  ac_check_lib_save_LIBS=$LIBS
12656
 
LIBS="-ldld  $LIBS"
12657
 
cat >conftest.$ac_ext <<_ACEOF
12658
 
/* confdefs.h.  */
12659
 
_ACEOF
12660
 
cat confdefs.h >>conftest.$ac_ext
12661
 
cat >>conftest.$ac_ext <<_ACEOF
12662
 
/* end confdefs.h.  */
12663
 
 
12664
 
/* Override any gcc2 internal prototype to avoid an error.  */
12665
 
#ifdef __cplusplus
12666
 
extern "C"
12667
 
#endif
12668
 
/* We use char because int might match the return type of a gcc2
12669
 
   builtin and then its argument prototype would still apply.  */
12670
 
char dld_link ();
12671
 
int
12672
 
main ()
12673
 
{
12674
 
dld_link ();
12675
 
  ;
12676
 
  return 0;
12677
 
}
12678
 
_ACEOF
12679
 
rm -f conftest.$ac_objext conftest$ac_exeext
12680
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12681
 
  (eval $ac_link) 2>conftest.er1
12682
 
  ac_status=$?
12683
 
  grep -v '^ *+' conftest.er1 >conftest.err
12684
 
  rm -f conftest.er1
12685
 
  cat conftest.err >&5
12686
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687
 
  (exit $ac_status); } &&
12688
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690
 
  (eval $ac_try) 2>&5
12691
 
  ac_status=$?
12692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693
 
  (exit $ac_status); }; } &&
12694
 
         { ac_try='test -s conftest$ac_exeext'
12695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12696
 
  (eval $ac_try) 2>&5
12697
 
  ac_status=$?
12698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699
 
  (exit $ac_status); }; }; then
12700
 
  ac_cv_lib_dld_dld_link=yes
12701
 
else
12702
 
  echo "$as_me: failed program was:" >&5
12703
 
sed 's/^/| /' conftest.$ac_ext >&5
12704
 
 
12705
 
ac_cv_lib_dld_dld_link=no
12706
 
fi
12707
 
rm -f conftest.err conftest.$ac_objext \
12708
 
      conftest$ac_exeext conftest.$ac_ext
12709
 
LIBS=$ac_check_lib_save_LIBS
12710
 
fi
12711
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12712
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12713
 
if test $ac_cv_lib_dld_dld_link = yes; then
12714
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12715
 
fi
12716
 
 
12717
 
 
12718
 
fi
12719
 
 
12720
 
 
12721
 
fi
12722
 
 
12723
 
 
12724
 
fi
12725
 
 
12726
 
 
12727
 
fi
12728
 
 
12729
 
 
12730
 
fi
12731
 
 
12732
 
    ;;
12733
 
  esac
12734
 
 
12735
 
  if test "x$lt_cv_dlopen" != xno; then
12736
 
    enable_dlopen=yes
12737
 
  else
12738
 
    enable_dlopen=no
12739
 
  fi
12740
 
 
12741
 
  case $lt_cv_dlopen in
12742
 
  dlopen)
12743
 
    save_CPPFLAGS="$CPPFLAGS"
12744
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12745
 
 
12746
 
    save_LDFLAGS="$LDFLAGS"
12747
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12748
 
 
12749
 
    save_LIBS="$LIBS"
12750
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12751
 
 
12752
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12753
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12754
 
if test "${lt_cv_dlopen_self+set}" = set; then
12755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12756
 
else
12757
 
          if test "$cross_compiling" = yes; then :
12758
 
  lt_cv_dlopen_self=cross
12759
 
else
12760
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12761
 
  lt_status=$lt_dlunknown
12762
 
  cat > conftest.$ac_ext <<EOF
12763
 
#line 12763 "configure"
12764
 
#include "confdefs.h"
12765
 
 
12766
 
#if HAVE_DLFCN_H
12767
 
#include <dlfcn.h>
12768
 
#endif
12769
 
 
12770
 
#include <stdio.h>
12771
 
 
12772
 
#ifdef RTLD_GLOBAL
12773
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12774
 
#else
12775
 
#  ifdef DL_GLOBAL
12776
 
#    define LT_DLGLOBAL         DL_GLOBAL
12777
 
#  else
12778
 
#    define LT_DLGLOBAL         0
12779
 
#  endif
12780
 
#endif
12781
 
 
12782
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12783
 
   find out it does not work in some platform. */
12784
 
#ifndef LT_DLLAZY_OR_NOW
12785
 
#  ifdef RTLD_LAZY
12786
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12787
 
#  else
12788
 
#    ifdef DL_LAZY
12789
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12790
 
#    else
12791
 
#      ifdef RTLD_NOW
12792
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12793
 
#      else
12794
 
#        ifdef DL_NOW
12795
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12796
 
#        else
12797
 
#          define LT_DLLAZY_OR_NOW      0
12798
 
#        endif
12799
 
#      endif
12800
 
#    endif
12801
 
#  endif
12802
 
#endif
12803
 
 
12804
 
#ifdef __cplusplus
12805
 
extern "C" void exit (int);
12806
 
#endif
12807
 
 
12808
 
void fnord() { int i=42;}
12809
 
int main ()
12810
 
{
12811
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12812
 
  int status = $lt_dlunknown;
12813
 
 
12814
 
  if (self)
12815
 
    {
12816
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12817
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12818
 
      /* dlclose (self); */
12819
 
    }
12820
 
 
12821
 
    exit (status);
12822
 
}
12823
 
EOF
12824
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12825
 
  (eval $ac_link) 2>&5
12826
 
  ac_status=$?
12827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12829
 
    (./conftest; exit; ) 2>/dev/null
12830
 
    lt_status=$?
12831
 
    case x$lt_status in
12832
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12833
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12834
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12835
 
    esac
12836
 
  else :
12837
 
    # compilation failed
12838
 
    lt_cv_dlopen_self=no
12839
 
  fi
12840
 
fi
12841
 
rm -fr conftest*
12842
 
 
12843
 
 
12844
 
fi
12845
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12846
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12847
 
 
12848
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12849
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12850
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12851
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12852
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12854
 
else
12855
 
          if test "$cross_compiling" = yes; then :
12856
 
  lt_cv_dlopen_self_static=cross
12857
 
else
12858
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12859
 
  lt_status=$lt_dlunknown
12860
 
  cat > conftest.$ac_ext <<EOF
12861
 
#line 12861 "configure"
12862
 
#include "confdefs.h"
12863
 
 
12864
 
#if HAVE_DLFCN_H
12865
 
#include <dlfcn.h>
12866
 
#endif
12867
 
 
12868
 
#include <stdio.h>
12869
 
 
12870
 
#ifdef RTLD_GLOBAL
12871
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12872
 
#else
12873
 
#  ifdef DL_GLOBAL
12874
 
#    define LT_DLGLOBAL         DL_GLOBAL
12875
 
#  else
12876
 
#    define LT_DLGLOBAL         0
12877
 
#  endif
12878
 
#endif
12879
 
 
12880
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12881
 
   find out it does not work in some platform. */
12882
 
#ifndef LT_DLLAZY_OR_NOW
12883
 
#  ifdef RTLD_LAZY
12884
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12885
 
#  else
12886
 
#    ifdef DL_LAZY
12887
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12888
 
#    else
12889
 
#      ifdef RTLD_NOW
12890
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12891
 
#      else
12892
 
#        ifdef DL_NOW
12893
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12894
 
#        else
12895
 
#          define LT_DLLAZY_OR_NOW      0
12896
 
#        endif
12897
 
#      endif
12898
 
#    endif
12899
 
#  endif
12900
 
#endif
12901
 
 
12902
 
#ifdef __cplusplus
12903
 
extern "C" void exit (int);
12904
 
#endif
12905
 
 
12906
 
void fnord() { int i=42;}
12907
 
int main ()
12908
 
{
12909
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12910
 
  int status = $lt_dlunknown;
12911
 
 
12912
 
  if (self)
12913
 
    {
12914
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12915
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12916
 
      /* dlclose (self); */
12917
 
    }
12918
 
 
12919
 
    exit (status);
12920
 
}
12921
 
EOF
12922
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12923
 
  (eval $ac_link) 2>&5
12924
 
  ac_status=$?
12925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12927
 
    (./conftest; exit; ) 2>/dev/null
12928
 
    lt_status=$?
12929
 
    case x$lt_status in
12930
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12931
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12932
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12933
 
    esac
12934
 
  else :
12935
 
    # compilation failed
12936
 
    lt_cv_dlopen_self_static=no
12937
 
  fi
12938
 
fi
12939
 
rm -fr conftest*
12940
 
 
12941
 
 
12942
 
fi
12943
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12944
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12945
 
    fi
12946
 
 
12947
 
    CPPFLAGS="$save_CPPFLAGS"
12948
 
    LDFLAGS="$save_LDFLAGS"
12949
 
    LIBS="$save_LIBS"
12950
 
    ;;
12951
 
  esac
12952
 
 
12953
 
  case $lt_cv_dlopen_self in
12954
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12955
 
  *) enable_dlopen_self=unknown ;;
12956
 
  esac
12957
 
 
12958
 
  case $lt_cv_dlopen_self_static in
12959
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12960
 
  *) enable_dlopen_self_static=unknown ;;
12961
 
  esac
12962
 
fi
12963
 
 
12964
13920
 
12965
13921
# The else clause should only fire when bootstrapping the
12966
13922
# libtool distribution, otherwise you forgot to ship ltmain.sh
12975
13931
  # Now quote all the things that may contain metacharacters while being
12976
13932
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12977
13933
  # variables and quote the copies for generation of the libtool script.
12978
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13934
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12979
13935
    SED SHELL STRIP \
12980
13936
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12981
13937
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13076
14032
# The host system.
13077
14033
host_alias=$host_alias
13078
14034
host=$host
 
14035
host_os=$host_os
 
14036
 
 
14037
# The build system.
 
14038
build_alias=$build_alias
 
14039
build=$build
 
14040
build_os=$build_os
13079
14041
 
13080
14042
# An echo program that does not interpret backslashes.
13081
14043
echo=$lt_echo
13087
14049
# A C compiler.
13088
14050
LTCC=$lt_LTCC
13089
14051
 
 
14052
# LTCC compiler flags.
 
14053
LTCFLAGS=$lt_LTCFLAGS
 
14054
 
13090
14055
# A language-specific compiler.
13091
14056
CC=$lt_compiler_CXX
13092
14057
 
13152
14117
# Does compiler simultaneously support -c and -o options?
13153
14118
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13154
14119
 
13155
 
# Must we lock files when doing compilation ?
 
14120
# Must we lock files when doing compilation?
13156
14121
need_locks=$lt_need_locks
13157
14122
 
13158
14123
# Do we need the lib prefix for modules?
13429
14394
# If no C compiler was specified, use CC.
13430
14395
LTCC=${LTCC-"$CC"}
13431
14396
 
 
14397
# If no C compiler flags were specified, use CFLAGS.
 
14398
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14399
 
13432
14400
# Allow CC to be a program name with arguments.
13433
14401
compiler=$CC
13434
14402
 
13435
14403
 
 
14404
# save warnings/boilerplate of simple test code
 
14405
ac_outfile=conftest.$ac_objext
 
14406
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14407
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14408
_lt_compiler_boilerplate=`cat conftest.err`
 
14409
$rm conftest*
 
14410
 
 
14411
ac_outfile=conftest.$ac_objext
 
14412
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14413
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14414
_lt_linker_boilerplate=`cat conftest.err`
 
14415
$rm conftest*
 
14416
 
 
14417
 
13436
14418
# Allow CC to be a program name with arguments.
13437
14419
lt_save_CC="$CC"
13438
14420
CC=${F77-"f77"}
13439
14421
compiler=$CC
13440
14422
compiler_F77=$CC
13441
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13442
 
 
13443
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13444
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13445
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13446
 
echo "${ECHO_T}$can_build_shared" >&6
13447
 
 
13448
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13449
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14423
for cc_temp in $compiler""; do
 
14424
  case $cc_temp in
 
14425
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14426
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14427
    \-*) ;;
 
14428
    *) break;;
 
14429
  esac
 
14430
done
 
14431
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14432
 
 
14433
 
 
14434
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14435
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14436
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14437
echo "${ECHO_T}$can_build_shared" >&6; }
 
14438
 
 
14439
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14440
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13450
14441
test "$can_build_shared" = "no" && enable_shared=no
13451
14442
 
13452
14443
# On AIX, shared libraries and static libraries use the same namespace, and
13453
14444
# are all built from PIC.
13454
 
case "$host_os" in
 
14445
case $host_os in
13455
14446
aix3*)
13456
14447
  test "$enable_shared" = yes && enable_static=no
13457
14448
  if test -n "$RANLIB"; then
13460
14451
  fi
13461
14452
  ;;
13462
14453
aix4* | aix5*)
13463
 
  test "$enable_shared" = yes && enable_static=no
 
14454
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14455
    test "$enable_shared" = yes && enable_static=no
 
14456
  fi
13464
14457
  ;;
13465
14458
esac
13466
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13467
 
echo "${ECHO_T}$enable_shared" >&6
 
14459
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14460
echo "${ECHO_T}$enable_shared" >&6; }
13468
14461
 
13469
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13470
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14462
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14463
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13471
14464
# Make sure either enable_shared or enable_static is yes.
13472
14465
test "$enable_shared" = yes || enable_static=yes
13473
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13474
 
echo "${ECHO_T}$enable_static" >&6
13475
 
 
13476
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
14466
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14467
echo "${ECHO_T}$enable_static" >&6; }
13477
14468
 
13478
14469
GCC_F77="$G77"
13479
14470
LD_F77="$LD"
13482
14473
lt_prog_compiler_pic_F77=
13483
14474
lt_prog_compiler_static_F77=
13484
14475
 
13485
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13486
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14476
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14477
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13487
14478
 
13488
14479
  if test "$GCC" = yes; then
13489
14480
    lt_prog_compiler_wl_F77='-Wl,'
13521
14512
      lt_prog_compiler_pic_F77='-fno-common'
13522
14513
      ;;
13523
14514
 
 
14515
    interix3*)
 
14516
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14517
      # Instead, we relocate shared libraries at runtime.
 
14518
      ;;
 
14519
 
13524
14520
    msdosdjgpp*)
13525
14521
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13526
14522
      # on systems that don't support them.
13537
14533
    hpux*)
13538
14534
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13539
14535
      # not for PA HP-UX.
13540
 
      case "$host_cpu" in
 
14536
      case $host_cpu in
13541
14537
      hppa*64*|ia64*)
13542
14538
        # +Z the default
13543
14539
        ;;
13563
14559
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13564
14560
      fi
13565
14561
      ;;
 
14562
      darwin*)
 
14563
        # PIC is the default on this platform
 
14564
        # Common symbols not allowed in MH_DYLIB files
 
14565
       case $cc_basename in
 
14566
         xlc*)
 
14567
         lt_prog_compiler_pic_F77='-qnocommon'
 
14568
         lt_prog_compiler_wl_F77='-Wl,'
 
14569
         ;;
 
14570
       esac
 
14571
       ;;
13566
14572
 
13567
14573
    mingw* | pw32* | os2*)
13568
14574
      # This hack is so that the source file can tell whether it is being
13574
14580
      lt_prog_compiler_wl_F77='-Wl,'
13575
14581
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13576
14582
      # not for PA HP-UX.
13577
 
      case "$host_cpu" in
 
14583
      case $host_cpu in
13578
14584
      hppa*64*|ia64*)
13579
14585
        # +Z the default
13580
14586
        ;;
13597
14603
      lt_prog_compiler_static_F77='-Bstatic'
13598
14604
      ;;
13599
14605
 
13600
 
    linux*)
13601
 
      case $CC in
 
14606
    linux* | k*bsd*-gnu)
 
14607
      case $cc_basename in
13602
14608
      icc* | ecc*)
13603
14609
        lt_prog_compiler_wl_F77='-Wl,'
13604
14610
        lt_prog_compiler_pic_F77='-KPIC'
13605
14611
        lt_prog_compiler_static_F77='-static'
13606
14612
        ;;
 
14613
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14614
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14615
        # which looks to be a dead project)
 
14616
        lt_prog_compiler_wl_F77='-Wl,'
 
14617
        lt_prog_compiler_pic_F77='-fpic'
 
14618
        lt_prog_compiler_static_F77='-Bstatic'
 
14619
        ;;
13607
14620
      ccc*)
13608
14621
        lt_prog_compiler_wl_F77='-Wl,'
13609
14622
        # All Alpha code is PIC.
13618
14631
      lt_prog_compiler_static_F77='-non_shared'
13619
14632
      ;;
13620
14633
 
13621
 
    sco3.2v5*)
13622
 
      lt_prog_compiler_pic_F77='-Kpic'
13623
 
      lt_prog_compiler_static_F77='-dn'
13624
 
      ;;
13625
 
 
13626
14634
    solaris*)
13627
 
      lt_prog_compiler_wl_F77='-Wl,'
13628
14635
      lt_prog_compiler_pic_F77='-KPIC'
13629
14636
      lt_prog_compiler_static_F77='-Bstatic'
 
14637
      case $cc_basename in
 
14638
      f77* | f90* | f95*)
 
14639
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14640
      *)
 
14641
        lt_prog_compiler_wl_F77='-Wl,';;
 
14642
      esac
13630
14643
      ;;
13631
14644
 
13632
14645
    sunos4*)
13635
14648
      lt_prog_compiler_static_F77='-Bstatic'
13636
14649
      ;;
13637
14650
 
13638
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14651
    sysv4 | sysv4.2uw2* | sysv4.3*)
13639
14652
      lt_prog_compiler_wl_F77='-Wl,'
13640
14653
      lt_prog_compiler_pic_F77='-KPIC'
13641
14654
      lt_prog_compiler_static_F77='-Bstatic'
13648
14661
      fi
13649
14662
      ;;
13650
14663
 
 
14664
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14665
      lt_prog_compiler_wl_F77='-Wl,'
 
14666
      lt_prog_compiler_pic_F77='-KPIC'
 
14667
      lt_prog_compiler_static_F77='-Bstatic'
 
14668
      ;;
 
14669
 
 
14670
    unicos*)
 
14671
      lt_prog_compiler_wl_F77='-Wl,'
 
14672
      lt_prog_compiler_can_build_shared_F77=no
 
14673
      ;;
 
14674
 
13651
14675
    uts4*)
13652
14676
      lt_prog_compiler_pic_F77='-pic'
13653
14677
      lt_prog_compiler_static_F77='-Bstatic'
13659
14683
    esac
13660
14684
  fi
13661
14685
 
13662
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13663
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14686
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14687
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13664
14688
 
13665
14689
#
13666
14690
# Check to make sure the PIC flag actually works.
13667
14691
#
13668
14692
if test -n "$lt_prog_compiler_pic_F77"; then
13669
14693
 
13670
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13671
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14694
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14695
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13672
14696
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13673
14697
  echo $ECHO_N "(cached) $ECHO_C" >&6
13674
14698
else
13682
14706
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13683
14707
   # The option is referenced via a variable to avoid confusing sed.
13684
14708
   lt_compile=`echo "$ac_compile" | $SED \
13685
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14709
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13686
14710
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13687
14711
   -e 's:$: $lt_compiler_flag:'`
13688
 
   (eval echo "\"\$as_me:13688: $lt_compile\"" >&5)
 
14712
   (eval echo "\"\$as_me:14712: $lt_compile\"" >&5)
13689
14713
   (eval "$lt_compile" 2>conftest.err)
13690
14714
   ac_status=$?
13691
14715
   cat conftest.err >&5
13692
 
   echo "$as_me:13692: \$? = $ac_status" >&5
 
14716
   echo "$as_me:14716: \$? = $ac_status" >&5
13693
14717
   if (exit $ac_status) && test -s "$ac_outfile"; then
13694
14718
     # The compiler can only warn and ignore the option if not recognized
13695
 
     # So say no if there are warnings
13696
 
     if test ! -s conftest.err; then
 
14719
     # So say no if there are warnings other than the usual output.
 
14720
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14721
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14722
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13697
14723
       lt_prog_compiler_pic_works_F77=yes
13698
14724
     fi
13699
14725
   fi
13700
14726
   $rm conftest*
13701
14727
 
13702
14728
fi
13703
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13704
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14729
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14730
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13705
14731
 
13706
14732
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13707
14733
    case $lt_prog_compiler_pic_F77 in
13714
14740
fi
13715
14741
 
13716
14742
fi
13717
 
case "$host_os" in
 
14743
case $host_os in
13718
14744
  # For platforms which do not support PIC, -DPIC is meaningless:
13719
14745
  *djgpp*)
13720
14746
    lt_prog_compiler_pic_F77=
13724
14750
    ;;
13725
14751
esac
13726
14752
 
13727
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13728
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14753
#
 
14754
# Check to make sure the static flag actually works.
 
14755
#
 
14756
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14757
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14758
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14759
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14760
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14761
else
 
14762
  lt_prog_compiler_static_works_F77=no
 
14763
   save_LDFLAGS="$LDFLAGS"
 
14764
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14765
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14766
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14767
     # The linker can only warn and ignore the option if not recognized
 
14768
     # So say no if there are warnings
 
14769
     if test -s conftest.err; then
 
14770
       # Append any errors to the config.log.
 
14771
       cat conftest.err 1>&5
 
14772
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14773
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14774
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14775
         lt_prog_compiler_static_works_F77=yes
 
14776
       fi
 
14777
     else
 
14778
       lt_prog_compiler_static_works_F77=yes
 
14779
     fi
 
14780
   fi
 
14781
   $rm conftest*
 
14782
   LDFLAGS="$save_LDFLAGS"
 
14783
 
 
14784
fi
 
14785
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14786
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14787
 
 
14788
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14789
    :
 
14790
else
 
14791
    lt_prog_compiler_static_F77=
 
14792
fi
 
14793
 
 
14794
 
 
14795
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14796
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13729
14797
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13730
14798
  echo $ECHO_N "(cached) $ECHO_C" >&6
13731
14799
else
13742
14810
   # Note that $ac_compile itself does not contain backslashes and begins
13743
14811
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13744
14812
   lt_compile=`echo "$ac_compile" | $SED \
13745
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14813
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13746
14814
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13747
14815
   -e 's:$: $lt_compiler_flag:'`
13748
 
   (eval echo "\"\$as_me:13748: $lt_compile\"" >&5)
 
14816
   (eval echo "\"\$as_me:14816: $lt_compile\"" >&5)
13749
14817
   (eval "$lt_compile" 2>out/conftest.err)
13750
14818
   ac_status=$?
13751
14819
   cat out/conftest.err >&5
13752
 
   echo "$as_me:13752: \$? = $ac_status" >&5
 
14820
   echo "$as_me:14820: \$? = $ac_status" >&5
13753
14821
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13754
14822
   then
13755
14823
     # The compiler can only warn and ignore the option if not recognized
13756
14824
     # So say no if there are warnings
13757
 
     if test ! -s out/conftest.err; then
 
14825
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14826
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14827
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13758
14828
       lt_cv_prog_compiler_c_o_F77=yes
13759
14829
     fi
13760
14830
   fi
13761
 
   chmod u+w .
 
14831
   chmod u+w . 2>&5
13762
14832
   $rm conftest*
13763
14833
   # SGI C++ compiler will create directory out/ii_files/ for
13764
14834
   # template instantiation
13769
14839
   $rm conftest*
13770
14840
 
13771
14841
fi
13772
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13773
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14842
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14843
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13774
14844
 
13775
14845
 
13776
14846
hard_links="nottested"
13777
14847
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13778
14848
  # do not overwrite the value of need_locks provided by the user
13779
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13780
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14849
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14850
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13781
14851
  hard_links=yes
13782
14852
  $rm conftest*
13783
14853
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13784
14854
  touch conftest.a
13785
14855
  ln conftest.a conftest.b 2>&5 || hard_links=no
13786
14856
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13787
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13788
 
echo "${ECHO_T}$hard_links" >&6
 
14857
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14858
echo "${ECHO_T}$hard_links" >&6; }
13789
14859
  if test "$hard_links" = no; then
13790
14860
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13791
14861
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13795
14865
  need_locks=no
13796
14866
fi
13797
14867
 
13798
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13799
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14868
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14869
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13800
14870
 
13801
14871
  runpath_var=
13802
14872
  allow_undefined_flag_F77=
13834
14904
  # rely on this symbol name, it's probably fine to never include it in
13835
14905
  # preloaded symbol tables.
13836
14906
  extract_expsyms_cmds=
 
14907
  # Just being paranoid about ensuring that cc_basename is set.
 
14908
  for cc_temp in $compiler""; do
 
14909
  case $cc_temp in
 
14910
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14911
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14912
    \-*) ;;
 
14913
    *) break;;
 
14914
  esac
 
14915
done
 
14916
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13837
14917
 
13838
14918
  case $host_os in
13839
14919
  cygwin* | mingw* | pw32*)
13844
14924
      with_gnu_ld=no
13845
14925
    fi
13846
14926
    ;;
 
14927
  interix*)
 
14928
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14929
    with_gnu_ld=yes
 
14930
    ;;
13847
14931
  openbsd*)
13848
14932
    with_gnu_ld=no
13849
14933
    ;;
13854
14938
    # If archive_cmds runs LD, not CC, wlarc should be empty
13855
14939
    wlarc='${wl}'
13856
14940
 
 
14941
    # Set some defaults for GNU ld with shared library support. These
 
14942
    # are reset later if shared libraries are not supported. Putting them
 
14943
    # here allows them to be overridden if necessary.
 
14944
    runpath_var=LD_RUN_PATH
 
14945
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
14946
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
14947
    # ancient GNU ld didn't support --whole-archive et. al.
 
14948
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
14949
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14950
      else
 
14951
        whole_archive_flag_spec_F77=
 
14952
    fi
 
14953
    supports_anon_versioning=no
 
14954
    case `$LD -v 2>/dev/null` in
 
14955
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
14956
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
14957
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
14958
      *\ 2.11.*) ;; # other 2.11 versions
 
14959
      *) supports_anon_versioning=yes ;;
 
14960
    esac
 
14961
 
13857
14962
    # See if GNU ld supports shared libraries.
13858
14963
    case $host_os in
13859
14964
    aix3* | aix4* | aix5*)
13904
15009
      allow_undefined_flag_F77=unsupported
13905
15010
      always_export_symbols_F77=no
13906
15011
      enable_shared_with_static_runtimes_F77=yes
13907
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
15012
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13908
15013
 
13909
15014
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13910
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
15015
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13911
15016
        # If the export-symbols file already is a .def file (1st line
13912
15017
        # is EXPORTS), use it as is; otherwise, prepend...
13913
15018
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13916
15021
          echo EXPORTS > $output_objdir/$soname.def;
13917
15022
          cat $export_symbols >> $output_objdir/$soname.def;
13918
15023
        fi~
13919
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
13920
 
      else
13921
 
        ld_shlibs=no
13922
 
      fi
13923
 
      ;;
13924
 
 
13925
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15024
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
15025
      else
 
15026
        ld_shlibs_F77=no
 
15027
      fi
 
15028
      ;;
 
15029
 
 
15030
    interix3*)
 
15031
      hardcode_direct_F77=no
 
15032
      hardcode_shlibpath_var_F77=no
 
15033
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15034
      export_dynamic_flag_spec_F77='${wl}-E'
 
15035
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
15036
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
15037
      # default) and relocated if they conflict, which is a slow very memory
 
15038
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
15039
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
15040
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
15041
      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'
 
15042
      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'
 
15043
      ;;
 
15044
 
 
15045
    linux* | k*bsd*-gnu)
 
15046
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15047
        tmp_addflag=
 
15048
        case $cc_basename,$host_cpu in
 
15049
        pgcc*)                          # Portland Group C compiler
 
15050
          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'
 
15051
          tmp_addflag=' $pic_flag'
 
15052
          ;;
 
15053
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
15054
          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'
 
15055
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
15056
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
15057
          tmp_addflag=' -i_dynamic' ;;
 
15058
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
15059
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
15060
        ifc* | ifort*)                  # Intel Fortran compiler
 
15061
          tmp_addflag=' -nofor_main' ;;
 
15062
        esac
 
15063
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15064
 
 
15065
        if test $supports_anon_versioning = yes; then
 
15066
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
15067
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15068
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
15069
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15070
        fi
 
15071
        link_all_deplibs_F77=no
 
15072
      else
 
15073
        ld_shlibs_F77=no
 
15074
      fi
 
15075
      ;;
 
15076
 
 
15077
    netbsd* | netbsdelf*-gnu)
13926
15078
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13927
15079
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13928
15080
        wlarc=
13932
15084
      fi
13933
15085
      ;;
13934
15086
 
13935
 
    solaris* | sysv5*)
 
15087
    solaris*)
13936
15088
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13937
15089
        ld_shlibs_F77=no
13938
15090
        cat <<EOF 1>&2
13953
15105
      fi
13954
15106
      ;;
13955
15107
 
 
15108
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
15109
      case `$LD -v 2>&1` in
 
15110
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
15111
        ld_shlibs_F77=no
 
15112
        cat <<_LT_EOF 1>&2
 
15113
 
 
15114
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
15115
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
15116
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
15117
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
15118
*** your PATH or compiler configuration so that the native linker is
 
15119
*** used, and then restart.
 
15120
 
 
15121
_LT_EOF
 
15122
        ;;
 
15123
        *)
 
15124
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15125
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
15126
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
15127
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
15128
          else
 
15129
            ld_shlibs_F77=no
 
15130
          fi
 
15131
        ;;
 
15132
      esac
 
15133
      ;;
 
15134
 
13956
15135
    sunos4*)
13957
15136
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13958
15137
      wlarc=
13960
15139
      hardcode_shlibpath_var_F77=no
13961
15140
      ;;
13962
15141
 
13963
 
  linux*)
13964
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13965
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13966
 
        archive_cmds_F77="$tmp_archive_cmds"
13967
 
      supports_anon_versioning=no
13968
 
      case `$LD -v 2>/dev/null` in
13969
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13970
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13971
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13972
 
        *\ 2.11.*) ;; # other 2.11 versions
13973
 
        *) supports_anon_versioning=yes ;;
13974
 
      esac
13975
 
      if test $supports_anon_versioning = yes; then
13976
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13977
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13978
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
13979
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13980
 
      else
13981
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
13982
 
      fi
13983
 
      link_all_deplibs_F77=no
13984
 
    else
13985
 
      ld_shlibs_F77=no
13986
 
    fi
13987
 
    ;;
13988
 
 
13989
15142
    *)
13990
15143
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13991
15144
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13996
15149
      ;;
13997
15150
    esac
13998
15151
 
13999
 
    if test "$ld_shlibs_F77" = yes; then
14000
 
      runpath_var=LD_RUN_PATH
14001
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14002
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14003
 
      # ancient GNU ld didn't support --whole-archive et. al.
14004
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14005
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14006
 
      else
14007
 
        whole_archive_flag_spec_F77=
14008
 
      fi
 
15152
    if test "$ld_shlibs_F77" = no; then
 
15153
      runpath_var=
 
15154
      hardcode_libdir_flag_spec_F77=
 
15155
      export_dynamic_flag_spec_F77=
 
15156
      whole_archive_flag_spec_F77=
14009
15157
    fi
14010
15158
  else
14011
15159
    # PORTME fill in a description of your system's linker (not GNU ld)
14017
15165
      # Note: this linker hardcodes the directories in LIBPATH if there
14018
15166
      # are no directories specified by -L.
14019
15167
      hardcode_minus_L_F77=yes
14020
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
15168
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14021
15169
        # Neither direct hardcoding nor static linking is supported with a
14022
15170
        # broken collect2.
14023
15171
        hardcode_direct_F77=unsupported
14051
15199
            break
14052
15200
          fi
14053
15201
          done
 
15202
          ;;
14054
15203
        esac
14055
15204
 
14056
15205
        exp_sym_flag='-bexport'
14069
15218
      link_all_deplibs_F77=yes
14070
15219
 
14071
15220
      if test "$GCC" = yes; then
14072
 
        case $host_os in aix4.012|aix4.012.*)
 
15221
        case $host_os in aix4.[012]|aix4.[012].*)
14073
15222
        # We only want to do this on AIX 4.2 and lower, the check
14074
15223
        # below for broken collect2 doesn't work under 4.3+
14075
15224
          collect2name=`${CC} -print-prog-name=collect2`
14088
15237
          hardcode_libdir_flag_spec_F77='-L$libdir'
14089
15238
          hardcode_libdir_separator_F77=
14090
15239
          fi
 
15240
          ;;
14091
15241
        esac
14092
15242
        shared_flag='-shared'
 
15243
        if test "$aix_use_runtimelinking" = yes; then
 
15244
          shared_flag="$shared_flag "'${wl}-G'
 
15245
        fi
14093
15246
      else
14094
15247
        # not using gcc
14095
15248
        if test "$host_cpu" = ia64; then
14097
15250
        # chokes on -Wl,-G. The following line is correct:
14098
15251
          shared_flag='-G'
14099
15252
        else
14100
 
        if test "$aix_use_runtimelinking" = yes; then
 
15253
          if test "$aix_use_runtimelinking" = yes; then
14101
15254
            shared_flag='${wl}-G'
14102
15255
          else
14103
15256
            shared_flag='${wl}-bM:SRE'
14104
 
        fi
 
15257
          fi
14105
15258
        fi
14106
15259
      fi
14107
15260
 
14119
15272
      end
14120
15273
_ACEOF
14121
15274
rm -f conftest.$ac_objext conftest$ac_exeext
14122
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14123
 
  (eval $ac_link) 2>conftest.er1
 
15275
if { (ac_try="$ac_link"
 
15276
case "(($ac_try" in
 
15277
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15278
  *) ac_try_echo=$ac_try;;
 
15279
esac
 
15280
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15281
  (eval "$ac_link") 2>conftest.er1
14124
15282
  ac_status=$?
14125
15283
  grep -v '^ *+' conftest.er1 >conftest.err
14126
15284
  rm -f conftest.er1
14127
15285
  cat conftest.err >&5
14128
15286
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129
15287
  (exit $ac_status); } &&
14130
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14132
 
  (eval $ac_try) 2>&5
 
15288
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
15289
  { (case "(($ac_try" in
 
15290
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15291
  *) ac_try_echo=$ac_try;;
 
15292
esac
 
15293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15294
  (eval "$ac_try") 2>&5
14133
15295
  ac_status=$?
14134
15296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135
15297
  (exit $ac_status); }; } &&
14136
15298
         { ac_try='test -s conftest$ac_exeext'
14137
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14138
 
  (eval $ac_try) 2>&5
 
15299
  { (case "(($ac_try" in
 
15300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15301
  *) ac_try_echo=$ac_try;;
 
15302
esac
 
15303
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15304
  (eval "$ac_try") 2>&5
14139
15305
  ac_status=$?
14140
15306
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141
15307
  (exit $ac_status); }; }; then
14149
15315
  echo "$as_me: failed program was:" >&5
14150
15316
sed 's/^/| /' conftest.$ac_ext >&5
14151
15317
 
 
15318
 
14152
15319
fi
14153
 
rm -f conftest.err conftest.$ac_objext \
 
15320
 
 
15321
rm -f core conftest.err conftest.$ac_objext \
14154
15322
      conftest$ac_exeext conftest.$ac_ext
14155
15323
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14156
15324
 
14157
15325
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14158
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
15326
        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"
14159
15327
       else
14160
15328
        if test "$host_cpu" = ia64; then
14161
15329
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14162
15330
          allow_undefined_flag_F77="-z nodefs"
14163
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
15331
          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"
14164
15332
        else
14165
15333
         # Determine the default libpath from the value encoded in an empty executable.
14166
15334
         cat >conftest.$ac_ext <<_ACEOF
14169
15337
      end
14170
15338
_ACEOF
14171
15339
rm -f conftest.$ac_objext conftest$ac_exeext
14172
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14173
 
  (eval $ac_link) 2>conftest.er1
 
15340
if { (ac_try="$ac_link"
 
15341
case "(($ac_try" in
 
15342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15343
  *) ac_try_echo=$ac_try;;
 
15344
esac
 
15345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15346
  (eval "$ac_link") 2>conftest.er1
14174
15347
  ac_status=$?
14175
15348
  grep -v '^ *+' conftest.er1 >conftest.err
14176
15349
  rm -f conftest.er1
14177
15350
  cat conftest.err >&5
14178
15351
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179
15352
  (exit $ac_status); } &&
14180
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182
 
  (eval $ac_try) 2>&5
 
15353
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
15354
  { (case "(($ac_try" in
 
15355
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15356
  *) ac_try_echo=$ac_try;;
 
15357
esac
 
15358
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15359
  (eval "$ac_try") 2>&5
14183
15360
  ac_status=$?
14184
15361
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185
15362
  (exit $ac_status); }; } &&
14186
15363
         { ac_try='test -s conftest$ac_exeext'
14187
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188
 
  (eval $ac_try) 2>&5
 
15364
  { (case "(($ac_try" in
 
15365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15366
  *) ac_try_echo=$ac_try;;
 
15367
esac
 
15368
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15369
  (eval "$ac_try") 2>&5
14189
15370
  ac_status=$?
14190
15371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191
15372
  (exit $ac_status); }; }; then
14199
15380
  echo "$as_me: failed program was:" >&5
14200
15381
sed 's/^/| /' conftest.$ac_ext >&5
14201
15382
 
 
15383
 
14202
15384
fi
14203
 
rm -f conftest.err conftest.$ac_objext \
 
15385
 
 
15386
rm -f core conftest.err conftest.$ac_objext \
14204
15387
      conftest$ac_exeext conftest.$ac_ext
14205
15388
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14206
15389
 
14209
15392
          # -berok will link without error, but may produce a broken library.
14210
15393
          no_undefined_flag_F77=' ${wl}-bernotok'
14211
15394
          allow_undefined_flag_F77=' ${wl}-berok'
14212
 
          # -bexpall does not export symbols beginning with underscore (_)
14213
 
          always_export_symbols_F77=yes
14214
15395
          # Exported symbols can be pulled into shared objects from archives
14215
 
          whole_archive_flag_spec_F77=' '
 
15396
          whole_archive_flag_spec_F77='$convenience'
14216
15397
          archive_cmds_need_lc_F77=yes
14217
 
          # This is similar to how AIX traditionally builds it's shared libraries.
14218
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
15398
          # This is similar to how AIX traditionally builds its shared libraries.
 
15399
          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'
14219
15400
        fi
14220
15401
      fi
14221
15402
      ;;
14228
15409
      ld_shlibs_F77=no
14229
15410
      ;;
14230
15411
 
14231
 
    bsdi4*)
 
15412
    bsdi[45]*)
14232
15413
      export_dynamic_flag_spec_F77=-rdynamic
14233
15414
      ;;
14234
15415
 
14249
15430
      old_archive_From_new_cmds_F77='true'
14250
15431
      # FIXME: Should let the user specify the lib program.
14251
15432
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14252
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
15433
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14253
15434
      enable_shared_with_static_runtimes_F77=yes
14254
15435
      ;;
14255
15436
 
14256
15437
    darwin* | rhapsody*)
14257
 
    if test "$GXX" = yes ; then
 
15438
      case $host_os in
 
15439
        rhapsody* | darwin1.[012])
 
15440
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
15441
         ;;
 
15442
       *) # Darwin 1.3 on
 
15443
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
15444
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15445
         else
 
15446
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
15447
             10.[012])
 
15448
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15449
               ;;
 
15450
             10.*)
 
15451
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
15452
               ;;
 
15453
           esac
 
15454
         fi
 
15455
         ;;
 
15456
      esac
14258
15457
      archive_cmds_need_lc_F77=no
14259
 
      case "$host_os" in
14260
 
      rhapsody* | darwin1.[012])
14261
 
        allow_undefined_flag_F77='-undefined suppress'
14262
 
        ;;
14263
 
      *) # Darwin 1.3 on
14264
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14265
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14266
 
      else
14267
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
14268
 
          10.[012])
14269
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14270
 
            ;;
14271
 
          10.*)
14272
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
14273
 
            ;;
14274
 
        esac
14275
 
      fi
14276
 
        ;;
14277
 
      esac
14278
 
        lt_int_apple_cc_single_mod=no
14279
 
        output_verbose_link_cmd='echo'
14280
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14281
 
          lt_int_apple_cc_single_mod=yes
14282
 
        fi
14283
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14284
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14285
 
        else
14286
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14287
 
      fi
14288
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14289
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14290
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14291
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14292
 
        else
14293
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14294
 
        fi
14295
 
          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}'
14296
15458
      hardcode_direct_F77=no
14297
15459
      hardcode_automatic_F77=yes
14298
15460
      hardcode_shlibpath_var_F77=unsupported
14299
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
15461
      whole_archive_flag_spec_F77=''
14300
15462
      link_all_deplibs_F77=yes
 
15463
    if test "$GCC" = yes ; then
 
15464
        output_verbose_link_cmd='echo'
 
15465
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
15466
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15467
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15468
      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}'
 
15469
      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}'
14301
15470
    else
14302
 
      ld_shlibs_F77=no
 
15471
      case $cc_basename in
 
15472
        xlc*)
 
15473
         output_verbose_link_cmd='echo'
 
15474
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15475
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15476
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15477
         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}'
 
15478
          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}'
 
15479
          ;;
 
15480
       *)
 
15481
         ld_shlibs_F77=no
 
15482
          ;;
 
15483
      esac
14303
15484
    fi
14304
15485
      ;;
14305
15486
 
14333
15514
      ;;
14334
15515
 
14335
15516
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14336
 
    freebsd* | kfreebsd*-gnu)
 
15517
    freebsd* | dragonfly*)
14337
15518
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14338
15519
      hardcode_libdir_flag_spec_F77='-R$libdir'
14339
15520
      hardcode_direct_F77=yes
14356
15537
      export_dynamic_flag_spec_F77='${wl}-E'
14357
15538
      ;;
14358
15539
 
14359
 
    hpux10* | hpux11*)
14360
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14361
 
        case "$host_cpu" in
14362
 
        hppa*64*|ia64*)
 
15540
    hpux10*)
 
15541
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15542
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15543
      else
 
15544
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15545
      fi
 
15546
      if test "$with_gnu_ld" = no; then
 
15547
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15548
        hardcode_libdir_separator_F77=:
 
15549
 
 
15550
        hardcode_direct_F77=yes
 
15551
        export_dynamic_flag_spec_F77='${wl}-E'
 
15552
 
 
15553
        # hardcode_minus_L: Not really in the search PATH,
 
15554
        # but as the default location of the library.
 
15555
        hardcode_minus_L_F77=yes
 
15556
      fi
 
15557
      ;;
 
15558
 
 
15559
    hpux11*)
 
15560
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15561
        case $host_cpu in
 
15562
        hppa*64*)
14363
15563
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14364
15564
          ;;
 
15565
        ia64*)
 
15566
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15567
          ;;
14365
15568
        *)
14366
15569
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14367
15570
          ;;
14368
15571
        esac
14369
15572
      else
14370
 
        case "$host_cpu" in
14371
 
        hppa*64*|ia64*)
14372
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15573
        case $host_cpu in
 
15574
        hppa*64*)
 
15575
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15576
          ;;
 
15577
        ia64*)
 
15578
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14373
15579
          ;;
14374
15580
        *)
14375
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15581
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14376
15582
          ;;
14377
15583
        esac
14378
15584
      fi
14379
15585
      if test "$with_gnu_ld" = no; then
14380
 
        case "$host_cpu" in
14381
 
        hppa*64*)
14382
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15586
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15587
        hardcode_libdir_separator_F77=:
 
15588
 
 
15589
        case $host_cpu in
 
15590
        hppa*64*|ia64*)
14383
15591
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14384
 
          hardcode_libdir_separator_F77=:
14385
 
          hardcode_direct_F77=no
14386
 
          hardcode_shlibpath_var_F77=no
14387
 
          ;;
14388
 
        ia64*)
14389
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14390
 
          hardcode_direct_F77=no
14391
 
          hardcode_shlibpath_var_F77=no
14392
 
 
14393
 
          # hardcode_minus_L: Not really in the search PATH,
14394
 
          # but as the default location of the library.
14395
 
          hardcode_minus_L_F77=yes
 
15592
          hardcode_direct_F77=no
 
15593
          hardcode_shlibpath_var_F77=no
14396
15594
          ;;
14397
15595
        *)
14398
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14399
 
          hardcode_libdir_separator_F77=:
14400
15596
          hardcode_direct_F77=yes
14401
15597
          export_dynamic_flag_spec_F77='${wl}-E'
14402
15598
 
14420
15616
      link_all_deplibs_F77=yes
14421
15617
      ;;
14422
15618
 
14423
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15619
    netbsd* | netbsdelf*-gnu)
14424
15620
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14425
15621
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14426
15622
      else
14444
15640
      hardcode_shlibpath_var_F77=no
14445
15641
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14446
15642
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15643
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14447
15644
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14448
15645
        export_dynamic_flag_spec_F77='${wl}-E'
14449
15646
      else
14489
15686
        allow_undefined_flag_F77=' -expect_unresolved \*'
14490
15687
        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'
14491
15688
        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~
14492
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
15689
        $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'
14493
15690
 
14494
15691
        # Both c and cxx compiler support -rpath directly
14495
15692
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14497
15694
      hardcode_libdir_separator_F77=:
14498
15695
      ;;
14499
15696
 
14500
 
    sco3.2v5*)
14501
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14502
 
      hardcode_shlibpath_var_F77=no
14503
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14504
 
      runpath_var=LD_RUN_PATH
14505
 
      hardcode_runpath_var=yes
14506
 
      ;;
14507
 
 
14508
15697
    solaris*)
14509
15698
      no_undefined_flag_F77=' -z text'
14510
15699
      if test "$GCC" = yes; then
 
15700
        wlarc='${wl}'
14511
15701
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14512
15702
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14513
15703
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14514
15704
      else
 
15705
        wlarc=''
14515
15706
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14516
15707
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14517
15708
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14520
15711
      hardcode_shlibpath_var_F77=no
14521
15712
      case $host_os in
14522
15713
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14523
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14524
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15714
      *)
 
15715
        # The compiler driver will combine linker options so we
 
15716
        # cannot just pass the convience library names through
 
15717
        # without $wl, iff we do not link with $LD.
 
15718
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15719
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15720
        case $wlarc in
 
15721
        '')
 
15722
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15723
        *)
 
15724
          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' ;;
 
15725
        esac ;;
14525
15726
      esac
14526
15727
      link_all_deplibs_F77=yes
14527
15728
      ;;
14578
15779
      fi
14579
15780
      ;;
14580
15781
 
14581
 
    sysv4.2uw2*)
14582
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14583
 
      hardcode_direct_F77=yes
14584
 
      hardcode_minus_L_F77=no
14585
 
      hardcode_shlibpath_var_F77=no
14586
 
      hardcode_runpath_var=yes
14587
 
      runpath_var=LD_RUN_PATH
14588
 
      ;;
14589
 
 
14590
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
14591
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
14592
 
      if test "$GCC" = yes; then
14593
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14594
 
      else
14595
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14596
 
      fi
14597
 
      runpath_var='LD_RUN_PATH'
14598
 
      hardcode_shlibpath_var_F77=no
14599
 
      ;;
14600
 
 
14601
 
    sysv5*)
14602
 
      no_undefined_flag_F77=' -z text'
14603
 
      # $CC -shared without GNU ld will not create a library from C++
14604
 
      # object files and a static libstdc++, better avoid it by now
14605
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14606
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14607
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14608
 
      hardcode_libdir_flag_spec_F77=
14609
 
      hardcode_shlibpath_var_F77=no
14610
 
      runpath_var='LD_RUN_PATH'
 
15782
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15783
      no_undefined_flag_F77='${wl}-z,text'
 
15784
      archive_cmds_need_lc_F77=no
 
15785
      hardcode_shlibpath_var_F77=no
 
15786
      runpath_var='LD_RUN_PATH'
 
15787
 
 
15788
      if test "$GCC" = yes; then
 
15789
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15790
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15791
      else
 
15792
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15793
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15794
      fi
 
15795
      ;;
 
15796
 
 
15797
    sysv5* | sco3.2v5* | sco5v6*)
 
15798
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15799
      # link with -lc, and that would cause any symbols used from libc to
 
15800
      # always be unresolved, which means just about no library would
 
15801
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15802
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15803
      # as -z defs.
 
15804
      no_undefined_flag_F77='${wl}-z,text'
 
15805
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15806
      archive_cmds_need_lc_F77=no
 
15807
      hardcode_shlibpath_var_F77=no
 
15808
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15809
      hardcode_libdir_separator_F77=':'
 
15810
      link_all_deplibs_F77=yes
 
15811
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15812
      runpath_var='LD_RUN_PATH'
 
15813
 
 
15814
      if test "$GCC" = yes; then
 
15815
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15816
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15817
      else
 
15818
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15819
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15820
      fi
14611
15821
      ;;
14612
15822
 
14613
15823
    uts4*)
14622
15832
    esac
14623
15833
  fi
14624
15834
 
14625
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14626
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15835
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15836
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14627
15837
test "$ld_shlibs_F77" = no && can_build_shared=no
14628
15838
 
14629
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14630
 
if test "$GCC" = yes; then
14631
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14632
 
fi
14633
 
 
14634
15839
#
14635
15840
# Do we need to explicitly link libc?
14636
15841
#
14648
15853
      # Test whether the compiler implicitly links with -lc since on some
14649
15854
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14650
15855
      # to ld, don't add -lc before -lgcc.
14651
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14652
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15856
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15857
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14653
15858
      $rm conftest*
14654
15859
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14655
15860
 
14663
15868
        libobjs=conftest.$ac_objext
14664
15869
        deplibs=
14665
15870
        wl=$lt_prog_compiler_wl_F77
 
15871
        pic_flag=$lt_prog_compiler_pic_F77
14666
15872
        compiler_flags=-v
14667
15873
        linker_flags=-v
14668
15874
        verstring=
14685
15891
        cat conftest.err 1>&5
14686
15892
      fi
14687
15893
      $rm conftest*
14688
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14689
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15894
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15895
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14690
15896
      ;;
14691
15897
    esac
14692
15898
  fi
14693
15899
  ;;
14694
15900
esac
14695
15901
 
14696
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14697
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15902
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15903
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14698
15904
library_names_spec=
14699
15905
libname_spec='lib$name'
14700
15906
soname_spec=
14795
16001
  shlibpath_var=LIBRARY_PATH
14796
16002
  ;;
14797
16003
 
14798
 
bsdi4*)
 
16004
bsdi[45]*)
14799
16005
  version_type=linux
14800
16006
  need_version=no
14801
16007
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823
16029
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14824
16030
      dldir=$destdir/`dirname \$dlpath`~
14825
16031
      test -d \$dldir || mkdir -p \$dldir~
14826
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
16032
      $install_prog $dir/$dlname \$dldir/$dlname~
 
16033
      chmod a+x \$dldir/$dlname'
14827
16034
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14828
16035
      dlpath=$dir/\$dldll~
14829
16036
       $rm \$dlpath'
14853
16060
      ;;
14854
16061
    pw32*)
14855
16062
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14856
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
16063
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14857
16064
      ;;
14858
16065
    esac
14859
16066
    ;;
14876
16083
  soname_spec='${libname}${release}${major}$shared_ext'
14877
16084
  shlibpath_overrides_runpath=yes
14878
16085
  shlibpath_var=DYLD_LIBRARY_PATH
14879
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
16086
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14880
16087
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14881
16088
  if test "$GCC" = yes; then
14882
16089
    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"`
14899
16106
  dynamic_linker=no
14900
16107
  ;;
14901
16108
 
14902
 
kfreebsd*-gnu)
14903
 
  version_type=linux
14904
 
  need_lib_prefix=no
14905
 
  need_version=no
14906
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14907
 
  soname_spec='${libname}${release}${shared_ext}$major'
14908
 
  shlibpath_var=LD_LIBRARY_PATH
14909
 
  shlibpath_overrides_runpath=no
14910
 
  hardcode_into_libs=yes
14911
 
  dynamic_linker='GNU ld.so'
14912
 
  ;;
14913
 
 
14914
 
freebsd*)
14915
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
16109
freebsd* | dragonfly*)
 
16110
  # DragonFly does not have aout.  When/if they implement a new
 
16111
  # versioning mechanism, adjust this.
 
16112
  if test -x /usr/bin/objformat; then
 
16113
    objformat=`/usr/bin/objformat`
 
16114
  else
 
16115
    case $host_os in
 
16116
    freebsd[123]*) objformat=aout ;;
 
16117
    *) objformat=elf ;;
 
16118
    esac
 
16119
  fi
14916
16120
  version_type=freebsd-$objformat
14917
16121
  case $version_type in
14918
16122
    freebsd-elf*)
14930
16134
  freebsd2*)
14931
16135
    shlibpath_overrides_runpath=yes
14932
16136
    ;;
14933
 
  freebsd3.01* | freebsdelf3.01*)
 
16137
  freebsd3.[01]* | freebsdelf3.[01]*)
14934
16138
    shlibpath_overrides_runpath=yes
14935
16139
    hardcode_into_libs=yes
14936
16140
    ;;
14937
 
  *) # from 3.2 on
 
16141
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
16142
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14938
16143
    shlibpath_overrides_runpath=no
14939
16144
    hardcode_into_libs=yes
14940
16145
    ;;
 
16146
  freebsd*) # from 4.6 on
 
16147
    shlibpath_overrides_runpath=yes
 
16148
    hardcode_into_libs=yes
 
16149
    ;;
14941
16150
  esac
14942
16151
  ;;
14943
16152
 
14957
16166
  version_type=sunos
14958
16167
  need_lib_prefix=no
14959
16168
  need_version=no
14960
 
  case "$host_cpu" in
 
16169
  case $host_cpu in
14961
16170
  ia64*)
14962
16171
    shrext_cmds='.so'
14963
16172
    hardcode_into_libs=yes
14997
16206
  postinstall_cmds='chmod 555 $lib'
14998
16207
  ;;
14999
16208
 
 
16209
interix3*)
 
16210
  version_type=linux
 
16211
  need_lib_prefix=no
 
16212
  need_version=no
 
16213
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16214
  soname_spec='${libname}${release}${shared_ext}$major'
 
16215
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
16216
  shlibpath_var=LD_LIBRARY_PATH
 
16217
  shlibpath_overrides_runpath=no
 
16218
  hardcode_into_libs=yes
 
16219
  ;;
 
16220
 
15000
16221
irix5* | irix6* | nonstopux*)
15001
16222
  case $host_os in
15002
16223
    nonstopux*) version_type=nonstopux ;;
15040
16261
  ;;
15041
16262
 
15042
16263
# This must be Linux ELF.
15043
 
linux*)
 
16264
linux* | k*bsd*-gnu)
15044
16265
  version_type=linux
15045
16266
  need_lib_prefix=no
15046
16267
  need_version=no
15056
16277
 
15057
16278
  # Append ld.so.conf contents to the search path
15058
16279
  if test -f /etc/ld.so.conf; then
15059
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
16280
    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' ' '`
15060
16281
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15061
16282
  fi
15062
16283
 
15081
16302
  dynamic_linker='NetBSD ld.elf_so'
15082
16303
  ;;
15083
16304
 
15084
 
knetbsd*-gnu)
15085
 
  version_type=linux
15086
 
  need_lib_prefix=no
15087
 
  need_version=no
15088
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15089
 
  soname_spec='${libname}${release}${shared_ext}$major'
15090
 
  shlibpath_var=LD_LIBRARY_PATH
15091
 
  shlibpath_overrides_runpath=no
15092
 
  hardcode_into_libs=yes
15093
 
  dynamic_linker='GNU ld.so'
15094
 
  ;;
15095
 
 
15096
16305
netbsd*)
15097
16306
  version_type=sunos
15098
16307
  need_lib_prefix=no
15130
16339
 
15131
16340
openbsd*)
15132
16341
  version_type=sunos
 
16342
  sys_lib_dlsearch_path_spec="/usr/lib"
15133
16343
  need_lib_prefix=no
15134
 
  need_version=yes
 
16344
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16345
  case $host_os in
 
16346
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
16347
    *)                         need_version=no  ;;
 
16348
  esac
15135
16349
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15136
16350
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15137
16351
  shlibpath_var=LD_LIBRARY_PATH
15169
16383
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15170
16384
  ;;
15171
16385
 
15172
 
sco3.2v5*)
15173
 
  version_type=osf
15174
 
  soname_spec='${libname}${release}${shared_ext}$major'
15175
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15176
 
  shlibpath_var=LD_LIBRARY_PATH
15177
 
  ;;
15178
 
 
15179
16386
solaris*)
15180
16387
  version_type=linux
15181
16388
  need_lib_prefix=no
15201
16408
  need_version=yes
15202
16409
  ;;
15203
16410
 
15204
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16411
sysv4 | sysv4.3*)
15205
16412
  version_type=linux
15206
16413
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15207
16414
  soname_spec='${libname}${release}${shared_ext}$major'
15234
16441
  fi
15235
16442
  ;;
15236
16443
 
 
16444
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16445
  version_type=freebsd-elf
 
16446
  need_lib_prefix=no
 
16447
  need_version=no
 
16448
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16449
  soname_spec='${libname}${release}${shared_ext}$major'
 
16450
  shlibpath_var=LD_LIBRARY_PATH
 
16451
  hardcode_into_libs=yes
 
16452
  if test "$with_gnu_ld" = yes; then
 
16453
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16454
    shlibpath_overrides_runpath=no
 
16455
  else
 
16456
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16457
    shlibpath_overrides_runpath=yes
 
16458
    case $host_os in
 
16459
      sco3.2v5*)
 
16460
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16461
        ;;
 
16462
    esac
 
16463
  fi
 
16464
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16465
  ;;
 
16466
 
15237
16467
uts4*)
15238
16468
  version_type=linux
15239
16469
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15245
16475
  dynamic_linker=no
15246
16476
  ;;
15247
16477
esac
15248
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15249
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16478
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16479
echo "${ECHO_T}$dynamic_linker" >&6; }
15250
16480
test "$dynamic_linker" = no && can_build_shared=no
15251
16481
 
15252
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15253
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16482
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16483
if test "$GCC" = yes; then
 
16484
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16485
fi
 
16486
 
 
16487
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16488
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15254
16489
hardcode_action_F77=
15255
16490
if test -n "$hardcode_libdir_flag_spec_F77" || \
15256
 
   test -n "$runpath_var F77" || \
15257
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
16491
   test -n "$runpath_var_F77" || \
 
16492
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15258
16493
 
15259
16494
  # We can hardcode non-existant directories.
15260
16495
  if test "$hardcode_direct_F77" != no &&
15274
16509
  # directories.
15275
16510
  hardcode_action_F77=unsupported
15276
16511
fi
15277
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15278
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16512
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16513
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15279
16514
 
15280
16515
if test "$hardcode_action_F77" = relink; then
15281
16516
  # Fast installation is not supported
15286
16521
  enable_fast_install=needless
15287
16522
fi
15288
16523
 
15289
 
striplib=
15290
 
old_striplib=
15291
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15292
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15293
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15294
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15295
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15296
 
  echo "$as_me:$LINENO: result: yes" >&5
15297
 
echo "${ECHO_T}yes" >&6
15298
 
else
15299
 
# FIXME - insert some real tests, host_os isn't really good enough
15300
 
  case $host_os in
15301
 
   darwin*)
15302
 
       if test -n "$STRIP" ; then
15303
 
         striplib="$STRIP -x"
15304
 
         echo "$as_me:$LINENO: result: yes" >&5
15305
 
echo "${ECHO_T}yes" >&6
15306
 
       else
15307
 
  echo "$as_me:$LINENO: result: no" >&5
15308
 
echo "${ECHO_T}no" >&6
15309
 
fi
15310
 
       ;;
15311
 
   *)
15312
 
  echo "$as_me:$LINENO: result: no" >&5
15313
 
echo "${ECHO_T}no" >&6
15314
 
    ;;
15315
 
  esac
15316
 
fi
15317
 
 
15318
 
 
15319
16524
 
15320
16525
# The else clause should only fire when bootstrapping the
15321
16526
# libtool distribution, otherwise you forgot to ship ltmain.sh
15330
16535
  # Now quote all the things that may contain metacharacters while being
15331
16536
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15332
16537
  # variables and quote the copies for generation of the libtool script.
15333
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16538
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15334
16539
    SED SHELL STRIP \
15335
16540
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15336
16541
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15431
16636
# The host system.
15432
16637
host_alias=$host_alias
15433
16638
host=$host
 
16639
host_os=$host_os
 
16640
 
 
16641
# The build system.
 
16642
build_alias=$build_alias
 
16643
build=$build
 
16644
build_os=$build_os
15434
16645
 
15435
16646
# An echo program that does not interpret backslashes.
15436
16647
echo=$lt_echo
15442
16653
# A C compiler.
15443
16654
LTCC=$lt_LTCC
15444
16655
 
 
16656
# LTCC compiler flags.
 
16657
LTCFLAGS=$lt_LTCFLAGS
 
16658
 
15445
16659
# A language-specific compiler.
15446
16660
CC=$lt_compiler_F77
15447
16661
 
15507
16721
# Does compiler simultaneously support -c and -o options?
15508
16722
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15509
16723
 
15510
 
# Must we lock files when doing compilation ?
 
16724
# Must we lock files when doing compilation?
15511
16725
need_locks=$lt_need_locks
15512
16726
 
15513
16727
# Do we need the lib prefix for modules?
15733
16947
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15734
16948
 
15735
16949
 
15736
 
 
15737
16950
# Source file extension for Java test sources.
15738
16951
ac_ext=java
15739
16952
 
15745
16958
lt_simple_compile_test_code="class foo {}\n"
15746
16959
 
15747
16960
# Code to be used in simple link tests
15748
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
16961
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15749
16962
 
15750
16963
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15751
16964
 
15752
16965
# If no C compiler was specified, use CC.
15753
16966
LTCC=${LTCC-"$CC"}
15754
16967
 
 
16968
# If no C compiler flags were specified, use CFLAGS.
 
16969
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16970
 
15755
16971
# Allow CC to be a program name with arguments.
15756
16972
compiler=$CC
15757
16973
 
15758
16974
 
 
16975
# save warnings/boilerplate of simple test code
 
16976
ac_outfile=conftest.$ac_objext
 
16977
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16978
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16979
_lt_compiler_boilerplate=`cat conftest.err`
 
16980
$rm conftest*
 
16981
 
 
16982
ac_outfile=conftest.$ac_objext
 
16983
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16984
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16985
_lt_linker_boilerplate=`cat conftest.err`
 
16986
$rm conftest*
 
16987
 
 
16988
 
15759
16989
# Allow CC to be a program name with arguments.
15760
16990
lt_save_CC="$CC"
15761
16991
CC=${GCJ-"gcj"}
15762
16992
compiler=$CC
15763
16993
compiler_GCJ=$CC
 
16994
for cc_temp in $compiler""; do
 
16995
  case $cc_temp in
 
16996
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
16997
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
16998
    \-*) ;;
 
16999
    *) break;;
 
17000
  esac
 
17001
done
 
17002
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
17003
 
15764
17004
 
15765
17005
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15766
17006
archive_cmds_need_lc_GCJ=no
15767
17007
 
 
17008
old_archive_cmds_GCJ=$old_archive_cmds
 
17009
 
15768
17010
 
15769
17011
lt_prog_compiler_no_builtin_flag_GCJ=
15770
17012
 
15772
17014
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15773
17015
 
15774
17016
 
15775
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15776
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
17017
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17018
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15777
17019
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15778
17020
  echo $ECHO_N "(cached) $ECHO_C" >&6
15779
17021
else
15787
17029
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15788
17030
   # The option is referenced via a variable to avoid confusing sed.
15789
17031
   lt_compile=`echo "$ac_compile" | $SED \
15790
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17032
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15791
17033
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15792
17034
   -e 's:$: $lt_compiler_flag:'`
15793
 
   (eval echo "\"\$as_me:15793: $lt_compile\"" >&5)
 
17035
   (eval echo "\"\$as_me:17035: $lt_compile\"" >&5)
15794
17036
   (eval "$lt_compile" 2>conftest.err)
15795
17037
   ac_status=$?
15796
17038
   cat conftest.err >&5
15797
 
   echo "$as_me:15797: \$? = $ac_status" >&5
 
17039
   echo "$as_me:17039: \$? = $ac_status" >&5
15798
17040
   if (exit $ac_status) && test -s "$ac_outfile"; then
15799
17041
     # The compiler can only warn and ignore the option if not recognized
15800
 
     # So say no if there are warnings
15801
 
     if test ! -s conftest.err; then
 
17042
     # So say no if there are warnings other than the usual output.
 
17043
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17044
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17045
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15802
17046
       lt_cv_prog_compiler_rtti_exceptions=yes
15803
17047
     fi
15804
17048
   fi
15805
17049
   $rm conftest*
15806
17050
 
15807
17051
fi
15808
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15809
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
17052
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
17053
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15810
17054
 
15811
17055
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15812
17056
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15820
17064
lt_prog_compiler_pic_GCJ=
15821
17065
lt_prog_compiler_static_GCJ=
15822
17066
 
15823
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15824
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
17067
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17068
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15825
17069
 
15826
17070
  if test "$GCC" = yes; then
15827
17071
    lt_prog_compiler_wl_GCJ='-Wl,'
15859
17103
      lt_prog_compiler_pic_GCJ='-fno-common'
15860
17104
      ;;
15861
17105
 
 
17106
    interix3*)
 
17107
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
17108
      # Instead, we relocate shared libraries at runtime.
 
17109
      ;;
 
17110
 
15862
17111
    msdosdjgpp*)
15863
17112
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15864
17113
      # on systems that don't support them.
15875
17124
    hpux*)
15876
17125
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15877
17126
      # not for PA HP-UX.
15878
 
      case "$host_cpu" in
 
17127
      case $host_cpu in
15879
17128
      hppa*64*|ia64*)
15880
17129
        # +Z the default
15881
17130
        ;;
15901
17150
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15902
17151
      fi
15903
17152
      ;;
 
17153
      darwin*)
 
17154
        # PIC is the default on this platform
 
17155
        # Common symbols not allowed in MH_DYLIB files
 
17156
       case $cc_basename in
 
17157
         xlc*)
 
17158
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
17159
         lt_prog_compiler_wl_GCJ='-Wl,'
 
17160
         ;;
 
17161
       esac
 
17162
       ;;
15904
17163
 
15905
17164
    mingw* | pw32* | os2*)
15906
17165
      # This hack is so that the source file can tell whether it is being
15912
17171
      lt_prog_compiler_wl_GCJ='-Wl,'
15913
17172
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15914
17173
      # not for PA HP-UX.
15915
 
      case "$host_cpu" in
 
17174
      case $host_cpu in
15916
17175
      hppa*64*|ia64*)
15917
17176
        # +Z the default
15918
17177
        ;;
15935
17194
      lt_prog_compiler_static_GCJ='-Bstatic'
15936
17195
      ;;
15937
17196
 
15938
 
    linux*)
15939
 
      case $CC in
 
17197
    linux* | k*bsd*-gnu)
 
17198
      case $cc_basename in
15940
17199
      icc* | ecc*)
15941
17200
        lt_prog_compiler_wl_GCJ='-Wl,'
15942
17201
        lt_prog_compiler_pic_GCJ='-KPIC'
15943
17202
        lt_prog_compiler_static_GCJ='-static'
15944
17203
        ;;
 
17204
      pgcc* | pgf77* | pgf90* | pgf95*)
 
17205
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
17206
        # which looks to be a dead project)
 
17207
        lt_prog_compiler_wl_GCJ='-Wl,'
 
17208
        lt_prog_compiler_pic_GCJ='-fpic'
 
17209
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17210
        ;;
15945
17211
      ccc*)
15946
17212
        lt_prog_compiler_wl_GCJ='-Wl,'
15947
17213
        # All Alpha code is PIC.
15956
17222
      lt_prog_compiler_static_GCJ='-non_shared'
15957
17223
      ;;
15958
17224
 
15959
 
    sco3.2v5*)
15960
 
      lt_prog_compiler_pic_GCJ='-Kpic'
15961
 
      lt_prog_compiler_static_GCJ='-dn'
15962
 
      ;;
15963
 
 
15964
17225
    solaris*)
15965
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15966
17226
      lt_prog_compiler_pic_GCJ='-KPIC'
15967
17227
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17228
      case $cc_basename in
 
17229
      f77* | f90* | f95*)
 
17230
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
17231
      *)
 
17232
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
17233
      esac
15968
17234
      ;;
15969
17235
 
15970
17236
    sunos4*)
15973
17239
      lt_prog_compiler_static_GCJ='-Bstatic'
15974
17240
      ;;
15975
17241
 
15976
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
17242
    sysv4 | sysv4.2uw2* | sysv4.3*)
15977
17243
      lt_prog_compiler_wl_GCJ='-Wl,'
15978
17244
      lt_prog_compiler_pic_GCJ='-KPIC'
15979
17245
      lt_prog_compiler_static_GCJ='-Bstatic'
15986
17252
      fi
15987
17253
      ;;
15988
17254
 
 
17255
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
17256
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17257
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17258
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17259
      ;;
 
17260
 
 
17261
    unicos*)
 
17262
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17263
      lt_prog_compiler_can_build_shared_GCJ=no
 
17264
      ;;
 
17265
 
15989
17266
    uts4*)
15990
17267
      lt_prog_compiler_pic_GCJ='-pic'
15991
17268
      lt_prog_compiler_static_GCJ='-Bstatic'
15997
17274
    esac
15998
17275
  fi
15999
17276
 
16000
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16001
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17277
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17278
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16002
17279
 
16003
17280
#
16004
17281
# Check to make sure the PIC flag actually works.
16005
17282
#
16006
17283
if test -n "$lt_prog_compiler_pic_GCJ"; then
16007
17284
 
16008
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16009
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
17285
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17286
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16010
17287
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16011
17288
  echo $ECHO_N "(cached) $ECHO_C" >&6
16012
17289
else
16020
17297
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16021
17298
   # The option is referenced via a variable to avoid confusing sed.
16022
17299
   lt_compile=`echo "$ac_compile" | $SED \
16023
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17300
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16024
17301
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16025
17302
   -e 's:$: $lt_compiler_flag:'`
16026
 
   (eval echo "\"\$as_me:16026: $lt_compile\"" >&5)
 
17303
   (eval echo "\"\$as_me:17303: $lt_compile\"" >&5)
16027
17304
   (eval "$lt_compile" 2>conftest.err)
16028
17305
   ac_status=$?
16029
17306
   cat conftest.err >&5
16030
 
   echo "$as_me:16030: \$? = $ac_status" >&5
 
17307
   echo "$as_me:17307: \$? = $ac_status" >&5
16031
17308
   if (exit $ac_status) && test -s "$ac_outfile"; then
16032
17309
     # The compiler can only warn and ignore the option if not recognized
16033
 
     # So say no if there are warnings
16034
 
     if test ! -s conftest.err; then
 
17310
     # So say no if there are warnings other than the usual output.
 
17311
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17312
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17313
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16035
17314
       lt_prog_compiler_pic_works_GCJ=yes
16036
17315
     fi
16037
17316
   fi
16038
17317
   $rm conftest*
16039
17318
 
16040
17319
fi
16041
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16042
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17320
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
17321
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16043
17322
 
16044
17323
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16045
17324
    case $lt_prog_compiler_pic_GCJ in
16052
17331
fi
16053
17332
 
16054
17333
fi
16055
 
case "$host_os" in
 
17334
case $host_os in
16056
17335
  # For platforms which do not support PIC, -DPIC is meaningless:
16057
17336
  *djgpp*)
16058
17337
    lt_prog_compiler_pic_GCJ=
16062
17341
    ;;
16063
17342
esac
16064
17343
 
16065
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16066
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17344
#
 
17345
# Check to make sure the static flag actually works.
 
17346
#
 
17347
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17348
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17349
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17350
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17351
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17352
else
 
17353
  lt_prog_compiler_static_works_GCJ=no
 
17354
   save_LDFLAGS="$LDFLAGS"
 
17355
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17356
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17357
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17358
     # The linker can only warn and ignore the option if not recognized
 
17359
     # So say no if there are warnings
 
17360
     if test -s conftest.err; then
 
17361
       # Append any errors to the config.log.
 
17362
       cat conftest.err 1>&5
 
17363
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17364
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17365
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17366
         lt_prog_compiler_static_works_GCJ=yes
 
17367
       fi
 
17368
     else
 
17369
       lt_prog_compiler_static_works_GCJ=yes
 
17370
     fi
 
17371
   fi
 
17372
   $rm conftest*
 
17373
   LDFLAGS="$save_LDFLAGS"
 
17374
 
 
17375
fi
 
17376
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17377
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17378
 
 
17379
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17380
    :
 
17381
else
 
17382
    lt_prog_compiler_static_GCJ=
 
17383
fi
 
17384
 
 
17385
 
 
17386
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17387
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16067
17388
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16068
17389
  echo $ECHO_N "(cached) $ECHO_C" >&6
16069
17390
else
16080
17401
   # Note that $ac_compile itself does not contain backslashes and begins
16081
17402
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16082
17403
   lt_compile=`echo "$ac_compile" | $SED \
16083
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17404
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16084
17405
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16085
17406
   -e 's:$: $lt_compiler_flag:'`
16086
 
   (eval echo "\"\$as_me:16086: $lt_compile\"" >&5)
 
17407
   (eval echo "\"\$as_me:17407: $lt_compile\"" >&5)
16087
17408
   (eval "$lt_compile" 2>out/conftest.err)
16088
17409
   ac_status=$?
16089
17410
   cat out/conftest.err >&5
16090
 
   echo "$as_me:16090: \$? = $ac_status" >&5
 
17411
   echo "$as_me:17411: \$? = $ac_status" >&5
16091
17412
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16092
17413
   then
16093
17414
     # The compiler can only warn and ignore the option if not recognized
16094
17415
     # So say no if there are warnings
16095
 
     if test ! -s out/conftest.err; then
 
17416
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17417
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17418
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16096
17419
       lt_cv_prog_compiler_c_o_GCJ=yes
16097
17420
     fi
16098
17421
   fi
16099
 
   chmod u+w .
 
17422
   chmod u+w . 2>&5
16100
17423
   $rm conftest*
16101
17424
   # SGI C++ compiler will create directory out/ii_files/ for
16102
17425
   # template instantiation
16107
17430
   $rm conftest*
16108
17431
 
16109
17432
fi
16110
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16111
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17433
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17434
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16112
17435
 
16113
17436
 
16114
17437
hard_links="nottested"
16115
17438
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16116
17439
  # do not overwrite the value of need_locks provided by the user
16117
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16118
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17440
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17441
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16119
17442
  hard_links=yes
16120
17443
  $rm conftest*
16121
17444
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16122
17445
  touch conftest.a
16123
17446
  ln conftest.a conftest.b 2>&5 || hard_links=no
16124
17447
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16125
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16126
 
echo "${ECHO_T}$hard_links" >&6
 
17448
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17449
echo "${ECHO_T}$hard_links" >&6; }
16127
17450
  if test "$hard_links" = no; then
16128
17451
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16129
17452
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16133
17456
  need_locks=no
16134
17457
fi
16135
17458
 
16136
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16137
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17459
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17460
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16138
17461
 
16139
17462
  runpath_var=
16140
17463
  allow_undefined_flag_GCJ=
16172
17495
  # rely on this symbol name, it's probably fine to never include it in
16173
17496
  # preloaded symbol tables.
16174
17497
  extract_expsyms_cmds=
 
17498
  # Just being paranoid about ensuring that cc_basename is set.
 
17499
  for cc_temp in $compiler""; do
 
17500
  case $cc_temp in
 
17501
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17502
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17503
    \-*) ;;
 
17504
    *) break;;
 
17505
  esac
 
17506
done
 
17507
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16175
17508
 
16176
17509
  case $host_os in
16177
17510
  cygwin* | mingw* | pw32*)
16182
17515
      with_gnu_ld=no
16183
17516
    fi
16184
17517
    ;;
 
17518
  interix*)
 
17519
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17520
    with_gnu_ld=yes
 
17521
    ;;
16185
17522
  openbsd*)
16186
17523
    with_gnu_ld=no
16187
17524
    ;;
16192
17529
    # If archive_cmds runs LD, not CC, wlarc should be empty
16193
17530
    wlarc='${wl}'
16194
17531
 
 
17532
    # Set some defaults for GNU ld with shared library support. These
 
17533
    # are reset later if shared libraries are not supported. Putting them
 
17534
    # here allows them to be overridden if necessary.
 
17535
    runpath_var=LD_RUN_PATH
 
17536
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
17537
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
17538
    # ancient GNU ld didn't support --whole-archive et. al.
 
17539
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
17540
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17541
      else
 
17542
        whole_archive_flag_spec_GCJ=
 
17543
    fi
 
17544
    supports_anon_versioning=no
 
17545
    case `$LD -v 2>/dev/null` in
 
17546
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
17547
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
17548
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
17549
      *\ 2.11.*) ;; # other 2.11 versions
 
17550
      *) supports_anon_versioning=yes ;;
 
17551
    esac
 
17552
 
16195
17553
    # See if GNU ld supports shared libraries.
16196
17554
    case $host_os in
16197
17555
    aix3* | aix4* | aix5*)
16242
17600
      allow_undefined_flag_GCJ=unsupported
16243
17601
      always_export_symbols_GCJ=no
16244
17602
      enable_shared_with_static_runtimes_GCJ=yes
16245
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17603
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16246
17604
 
16247
17605
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16248
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17606
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16249
17607
        # If the export-symbols file already is a .def file (1st line
16250
17608
        # is EXPORTS), use it as is; otherwise, prepend...
16251
17609
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16254
17612
          echo EXPORTS > $output_objdir/$soname.def;
16255
17613
          cat $export_symbols >> $output_objdir/$soname.def;
16256
17614
        fi~
16257
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16258
 
      else
16259
 
        ld_shlibs=no
16260
 
      fi
16261
 
      ;;
16262
 
 
16263
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17615
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
17616
      else
 
17617
        ld_shlibs_GCJ=no
 
17618
      fi
 
17619
      ;;
 
17620
 
 
17621
    interix3*)
 
17622
      hardcode_direct_GCJ=no
 
17623
      hardcode_shlibpath_var_GCJ=no
 
17624
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17625
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17626
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17627
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17628
      # default) and relocated if they conflict, which is a slow very memory
 
17629
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17630
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17631
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17632
      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'
 
17633
      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'
 
17634
      ;;
 
17635
 
 
17636
    linux* | k*bsd*-gnu)
 
17637
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17638
        tmp_addflag=
 
17639
        case $cc_basename,$host_cpu in
 
17640
        pgcc*)                          # Portland Group C compiler
 
17641
          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'
 
17642
          tmp_addflag=' $pic_flag'
 
17643
          ;;
 
17644
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17645
          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'
 
17646
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
17647
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
17648
          tmp_addflag=' -i_dynamic' ;;
 
17649
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
17650
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
17651
        ifc* | ifort*)                  # Intel Fortran compiler
 
17652
          tmp_addflag=' -nofor_main' ;;
 
17653
        esac
 
17654
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17655
 
 
17656
        if test $supports_anon_versioning = yes; then
 
17657
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
17658
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
17659
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
17660
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17661
        fi
 
17662
        link_all_deplibs_GCJ=no
 
17663
      else
 
17664
        ld_shlibs_GCJ=no
 
17665
      fi
 
17666
      ;;
 
17667
 
 
17668
    netbsd* | netbsdelf*-gnu)
16264
17669
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16265
17670
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16266
17671
        wlarc=
16270
17675
      fi
16271
17676
      ;;
16272
17677
 
16273
 
    solaris* | sysv5*)
 
17678
    solaris*)
16274
17679
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16275
17680
        ld_shlibs_GCJ=no
16276
17681
        cat <<EOF 1>&2
16291
17696
      fi
16292
17697
      ;;
16293
17698
 
 
17699
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17700
      case `$LD -v 2>&1` in
 
17701
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17702
        ld_shlibs_GCJ=no
 
17703
        cat <<_LT_EOF 1>&2
 
17704
 
 
17705
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17706
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17707
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17708
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17709
*** your PATH or compiler configuration so that the native linker is
 
17710
*** used, and then restart.
 
17711
 
 
17712
_LT_EOF
 
17713
        ;;
 
17714
        *)
 
17715
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17716
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17717
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17718
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17719
          else
 
17720
            ld_shlibs_GCJ=no
 
17721
          fi
 
17722
        ;;
 
17723
      esac
 
17724
      ;;
 
17725
 
16294
17726
    sunos4*)
16295
17727
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16296
17728
      wlarc=
16298
17730
      hardcode_shlibpath_var_GCJ=no
16299
17731
      ;;
16300
17732
 
16301
 
  linux*)
16302
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16303
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16304
 
        archive_cmds_GCJ="$tmp_archive_cmds"
16305
 
      supports_anon_versioning=no
16306
 
      case `$LD -v 2>/dev/null` in
16307
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16308
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16309
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16310
 
        *\ 2.11.*) ;; # other 2.11 versions
16311
 
        *) supports_anon_versioning=yes ;;
16312
 
      esac
16313
 
      if test $supports_anon_versioning = yes; then
16314
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16315
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16316
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
16317
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16318
 
      else
16319
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
16320
 
      fi
16321
 
      link_all_deplibs_GCJ=no
16322
 
    else
16323
 
      ld_shlibs_GCJ=no
16324
 
    fi
16325
 
    ;;
16326
 
 
16327
17733
    *)
16328
17734
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16329
17735
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16334
17740
      ;;
16335
17741
    esac
16336
17742
 
16337
 
    if test "$ld_shlibs_GCJ" = yes; then
16338
 
      runpath_var=LD_RUN_PATH
16339
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16340
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16341
 
      # ancient GNU ld didn't support --whole-archive et. al.
16342
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16343
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16344
 
      else
16345
 
        whole_archive_flag_spec_GCJ=
16346
 
      fi
 
17743
    if test "$ld_shlibs_GCJ" = no; then
 
17744
      runpath_var=
 
17745
      hardcode_libdir_flag_spec_GCJ=
 
17746
      export_dynamic_flag_spec_GCJ=
 
17747
      whole_archive_flag_spec_GCJ=
16347
17748
    fi
16348
17749
  else
16349
17750
    # PORTME fill in a description of your system's linker (not GNU ld)
16355
17756
      # Note: this linker hardcodes the directories in LIBPATH if there
16356
17757
      # are no directories specified by -L.
16357
17758
      hardcode_minus_L_GCJ=yes
16358
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17759
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16359
17760
        # Neither direct hardcoding nor static linking is supported with a
16360
17761
        # broken collect2.
16361
17762
        hardcode_direct_GCJ=unsupported
16389
17790
            break
16390
17791
          fi
16391
17792
          done
 
17793
          ;;
16392
17794
        esac
16393
17795
 
16394
17796
        exp_sym_flag='-bexport'
16407
17809
      link_all_deplibs_GCJ=yes
16408
17810
 
16409
17811
      if test "$GCC" = yes; then
16410
 
        case $host_os in aix4.012|aix4.012.*)
 
17812
        case $host_os in aix4.[012]|aix4.[012].*)
16411
17813
        # We only want to do this on AIX 4.2 and lower, the check
16412
17814
        # below for broken collect2 doesn't work under 4.3+
16413
17815
          collect2name=`${CC} -print-prog-name=collect2`
16426
17828
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16427
17829
          hardcode_libdir_separator_GCJ=
16428
17830
          fi
 
17831
          ;;
16429
17832
        esac
16430
17833
        shared_flag='-shared'
 
17834
        if test "$aix_use_runtimelinking" = yes; then
 
17835
          shared_flag="$shared_flag "'${wl}-G'
 
17836
        fi
16431
17837
      else
16432
17838
        # not using gcc
16433
17839
        if test "$host_cpu" = ia64; then
16435
17841
        # chokes on -Wl,-G. The following line is correct:
16436
17842
          shared_flag='-G'
16437
17843
        else
16438
 
        if test "$aix_use_runtimelinking" = yes; then
 
17844
          if test "$aix_use_runtimelinking" = yes; then
16439
17845
            shared_flag='${wl}-G'
16440
17846
          else
16441
17847
            shared_flag='${wl}-bM:SRE'
16442
 
        fi
 
17848
          fi
16443
17849
        fi
16444
17850
      fi
16445
17851
 
16467
17873
}
16468
17874
_ACEOF
16469
17875
rm -f conftest.$ac_objext conftest$ac_exeext
16470
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16471
 
  (eval $ac_link) 2>conftest.er1
 
17876
if { (ac_try="$ac_link"
 
17877
case "(($ac_try" in
 
17878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17879
  *) ac_try_echo=$ac_try;;
 
17880
esac
 
17881
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17882
  (eval "$ac_link") 2>conftest.er1
16472
17883
  ac_status=$?
16473
17884
  grep -v '^ *+' conftest.er1 >conftest.err
16474
17885
  rm -f conftest.er1
16475
17886
  cat conftest.err >&5
16476
17887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477
17888
  (exit $ac_status); } &&
16478
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16479
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480
 
  (eval $ac_try) 2>&5
 
17889
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17890
  { (case "(($ac_try" in
 
17891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17892
  *) ac_try_echo=$ac_try;;
 
17893
esac
 
17894
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17895
  (eval "$ac_try") 2>&5
16481
17896
  ac_status=$?
16482
17897
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483
17898
  (exit $ac_status); }; } &&
16484
17899
         { ac_try='test -s conftest$ac_exeext'
16485
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16486
 
  (eval $ac_try) 2>&5
 
17900
  { (case "(($ac_try" in
 
17901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17902
  *) ac_try_echo=$ac_try;;
 
17903
esac
 
17904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17905
  (eval "$ac_try") 2>&5
16487
17906
  ac_status=$?
16488
17907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489
17908
  (exit $ac_status); }; }; then
16497
17916
  echo "$as_me: failed program was:" >&5
16498
17917
sed 's/^/| /' conftest.$ac_ext >&5
16499
17918
 
 
17919
 
16500
17920
fi
16501
 
rm -f conftest.err conftest.$ac_objext \
 
17921
 
 
17922
rm -f core conftest.err conftest.$ac_objext \
16502
17923
      conftest$ac_exeext conftest.$ac_ext
16503
17924
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16504
17925
 
16505
17926
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16506
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17927
        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"
16507
17928
       else
16508
17929
        if test "$host_cpu" = ia64; then
16509
17930
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16510
17931
          allow_undefined_flag_GCJ="-z nodefs"
16511
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17932
          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"
16512
17933
        else
16513
17934
         # Determine the default libpath from the value encoded in an empty executable.
16514
17935
         cat >conftest.$ac_ext <<_ACEOF
16527
17948
}
16528
17949
_ACEOF
16529
17950
rm -f conftest.$ac_objext conftest$ac_exeext
16530
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16531
 
  (eval $ac_link) 2>conftest.er1
 
17951
if { (ac_try="$ac_link"
 
17952
case "(($ac_try" in
 
17953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17954
  *) ac_try_echo=$ac_try;;
 
17955
esac
 
17956
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17957
  (eval "$ac_link") 2>conftest.er1
16532
17958
  ac_status=$?
16533
17959
  grep -v '^ *+' conftest.er1 >conftest.err
16534
17960
  rm -f conftest.er1
16535
17961
  cat conftest.err >&5
16536
17962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537
17963
  (exit $ac_status); } &&
16538
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16539
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540
 
  (eval $ac_try) 2>&5
 
17964
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17965
  { (case "(($ac_try" in
 
17966
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17967
  *) ac_try_echo=$ac_try;;
 
17968
esac
 
17969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17970
  (eval "$ac_try") 2>&5
16541
17971
  ac_status=$?
16542
17972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543
17973
  (exit $ac_status); }; } &&
16544
17974
         { ac_try='test -s conftest$ac_exeext'
16545
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546
 
  (eval $ac_try) 2>&5
 
17975
  { (case "(($ac_try" in
 
17976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17977
  *) ac_try_echo=$ac_try;;
 
17978
esac
 
17979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17980
  (eval "$ac_try") 2>&5
16547
17981
  ac_status=$?
16548
17982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549
17983
  (exit $ac_status); }; }; then
16557
17991
  echo "$as_me: failed program was:" >&5
16558
17992
sed 's/^/| /' conftest.$ac_ext >&5
16559
17993
 
 
17994
 
16560
17995
fi
16561
 
rm -f conftest.err conftest.$ac_objext \
 
17996
 
 
17997
rm -f core conftest.err conftest.$ac_objext \
16562
17998
      conftest$ac_exeext conftest.$ac_ext
16563
17999
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16564
18000
 
16567
18003
          # -berok will link without error, but may produce a broken library.
16568
18004
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16569
18005
          allow_undefined_flag_GCJ=' ${wl}-berok'
16570
 
          # -bexpall does not export symbols beginning with underscore (_)
16571
 
          always_export_symbols_GCJ=yes
16572
18006
          # Exported symbols can be pulled into shared objects from archives
16573
 
          whole_archive_flag_spec_GCJ=' '
 
18007
          whole_archive_flag_spec_GCJ='$convenience'
16574
18008
          archive_cmds_need_lc_GCJ=yes
16575
 
          # This is similar to how AIX traditionally builds it's shared libraries.
16576
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
18009
          # This is similar to how AIX traditionally builds its shared libraries.
 
18010
          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'
16577
18011
        fi
16578
18012
      fi
16579
18013
      ;;
16586
18020
      ld_shlibs_GCJ=no
16587
18021
      ;;
16588
18022
 
16589
 
    bsdi4*)
 
18023
    bsdi[45]*)
16590
18024
      export_dynamic_flag_spec_GCJ=-rdynamic
16591
18025
      ;;
16592
18026
 
16607
18041
      old_archive_From_new_cmds_GCJ='true'
16608
18042
      # FIXME: Should let the user specify the lib program.
16609
18043
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16610
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
18044
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16611
18045
      enable_shared_with_static_runtimes_GCJ=yes
16612
18046
      ;;
16613
18047
 
16614
18048
    darwin* | rhapsody*)
16615
 
    if test "$GXX" = yes ; then
 
18049
      case $host_os in
 
18050
        rhapsody* | darwin1.[012])
 
18051
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
18052
         ;;
 
18053
       *) # Darwin 1.3 on
 
18054
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
18055
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18056
         else
 
18057
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
18058
             10.[012])
 
18059
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18060
               ;;
 
18061
             10.*)
 
18062
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
18063
               ;;
 
18064
           esac
 
18065
         fi
 
18066
         ;;
 
18067
      esac
16616
18068
      archive_cmds_need_lc_GCJ=no
16617
 
      case "$host_os" in
16618
 
      rhapsody* | darwin1.[012])
16619
 
        allow_undefined_flag_GCJ='-undefined suppress'
16620
 
        ;;
16621
 
      *) # Darwin 1.3 on
16622
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16623
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16624
 
      else
16625
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
16626
 
          10.[012])
16627
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16628
 
            ;;
16629
 
          10.*)
16630
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16631
 
            ;;
16632
 
        esac
16633
 
      fi
16634
 
        ;;
16635
 
      esac
16636
 
        lt_int_apple_cc_single_mod=no
16637
 
        output_verbose_link_cmd='echo'
16638
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16639
 
          lt_int_apple_cc_single_mod=yes
16640
 
        fi
16641
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16642
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16643
 
        else
16644
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16645
 
      fi
16646
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16647
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16648
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16649
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16650
 
        else
16651
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16652
 
        fi
16653
 
          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}'
16654
18069
      hardcode_direct_GCJ=no
16655
18070
      hardcode_automatic_GCJ=yes
16656
18071
      hardcode_shlibpath_var_GCJ=unsupported
16657
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
18072
      whole_archive_flag_spec_GCJ=''
16658
18073
      link_all_deplibs_GCJ=yes
 
18074
    if test "$GCC" = yes ; then
 
18075
        output_verbose_link_cmd='echo'
 
18076
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
18077
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18078
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18079
      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}'
 
18080
      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}'
16659
18081
    else
16660
 
      ld_shlibs_GCJ=no
 
18082
      case $cc_basename in
 
18083
        xlc*)
 
18084
         output_verbose_link_cmd='echo'
 
18085
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18086
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18087
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18088
         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}'
 
18089
          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}'
 
18090
          ;;
 
18091
       *)
 
18092
         ld_shlibs_GCJ=no
 
18093
          ;;
 
18094
      esac
16661
18095
    fi
16662
18096
      ;;
16663
18097
 
16691
18125
      ;;
16692
18126
 
16693
18127
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16694
 
    freebsd* | kfreebsd*-gnu)
 
18128
    freebsd* | dragonfly*)
16695
18129
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16696
18130
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16697
18131
      hardcode_direct_GCJ=yes
16714
18148
      export_dynamic_flag_spec_GCJ='${wl}-E'
16715
18149
      ;;
16716
18150
 
16717
 
    hpux10* | hpux11*)
16718
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16719
 
        case "$host_cpu" in
16720
 
        hppa*64*|ia64*)
 
18151
    hpux10*)
 
18152
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18153
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
18154
      else
 
18155
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18156
      fi
 
18157
      if test "$with_gnu_ld" = no; then
 
18158
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18159
        hardcode_libdir_separator_GCJ=:
 
18160
 
 
18161
        hardcode_direct_GCJ=yes
 
18162
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18163
 
 
18164
        # hardcode_minus_L: Not really in the search PATH,
 
18165
        # but as the default location of the library.
 
18166
        hardcode_minus_L_GCJ=yes
 
18167
      fi
 
18168
      ;;
 
18169
 
 
18170
    hpux11*)
 
18171
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18172
        case $host_cpu in
 
18173
        hppa*64*)
16721
18174
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16722
18175
          ;;
 
18176
        ia64*)
 
18177
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
18178
          ;;
16723
18179
        *)
16724
18180
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16725
18181
          ;;
16726
18182
        esac
16727
18183
      else
16728
 
        case "$host_cpu" in
16729
 
        hppa*64*|ia64*)
16730
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18184
        case $host_cpu in
 
18185
        hppa*64*)
 
18186
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18187
          ;;
 
18188
        ia64*)
 
18189
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16731
18190
          ;;
16732
18191
        *)
16733
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18192
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16734
18193
          ;;
16735
18194
        esac
16736
18195
      fi
16737
18196
      if test "$with_gnu_ld" = no; then
16738
 
        case "$host_cpu" in
16739
 
        hppa*64*)
16740
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18197
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18198
        hardcode_libdir_separator_GCJ=:
 
18199
 
 
18200
        case $host_cpu in
 
18201
        hppa*64*|ia64*)
16741
18202
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16742
 
          hardcode_libdir_separator_GCJ=:
16743
 
          hardcode_direct_GCJ=no
16744
 
          hardcode_shlibpath_var_GCJ=no
16745
 
          ;;
16746
 
        ia64*)
16747
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16748
 
          hardcode_direct_GCJ=no
16749
 
          hardcode_shlibpath_var_GCJ=no
16750
 
 
16751
 
          # hardcode_minus_L: Not really in the search PATH,
16752
 
          # but as the default location of the library.
16753
 
          hardcode_minus_L_GCJ=yes
 
18203
          hardcode_direct_GCJ=no
 
18204
          hardcode_shlibpath_var_GCJ=no
16754
18205
          ;;
16755
18206
        *)
16756
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16757
 
          hardcode_libdir_separator_GCJ=:
16758
18207
          hardcode_direct_GCJ=yes
16759
18208
          export_dynamic_flag_spec_GCJ='${wl}-E'
16760
18209
 
16778
18227
      link_all_deplibs_GCJ=yes
16779
18228
      ;;
16780
18229
 
16781
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
18230
    netbsd* | netbsdelf*-gnu)
16782
18231
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16783
18232
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16784
18233
      else
16802
18251
      hardcode_shlibpath_var_GCJ=no
16803
18252
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16804
18253
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18254
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16805
18255
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16806
18256
        export_dynamic_flag_spec_GCJ='${wl}-E'
16807
18257
      else
16847
18297
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16848
18298
        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'
16849
18299
        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~
16850
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
18300
        $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'
16851
18301
 
16852
18302
        # Both c and cxx compiler support -rpath directly
16853
18303
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16855
18305
      hardcode_libdir_separator_GCJ=:
16856
18306
      ;;
16857
18307
 
16858
 
    sco3.2v5*)
16859
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16860
 
      hardcode_shlibpath_var_GCJ=no
16861
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16862
 
      runpath_var=LD_RUN_PATH
16863
 
      hardcode_runpath_var=yes
16864
 
      ;;
16865
 
 
16866
18308
    solaris*)
16867
18309
      no_undefined_flag_GCJ=' -z text'
16868
18310
      if test "$GCC" = yes; then
 
18311
        wlarc='${wl}'
16869
18312
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16870
18313
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16871
18314
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16872
18315
      else
 
18316
        wlarc=''
16873
18317
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16874
18318
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16875
18319
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16878
18322
      hardcode_shlibpath_var_GCJ=no
16879
18323
      case $host_os in
16880
18324
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16881
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16882
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18325
      *)
 
18326
        # The compiler driver will combine linker options so we
 
18327
        # cannot just pass the convience library names through
 
18328
        # without $wl, iff we do not link with $LD.
 
18329
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18330
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18331
        case $wlarc in
 
18332
        '')
 
18333
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18334
        *)
 
18335
          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' ;;
 
18336
        esac ;;
16883
18337
      esac
16884
18338
      link_all_deplibs_GCJ=yes
16885
18339
      ;;
16936
18390
      fi
16937
18391
      ;;
16938
18392
 
16939
 
    sysv4.2uw2*)
16940
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16941
 
      hardcode_direct_GCJ=yes
16942
 
      hardcode_minus_L_GCJ=no
16943
 
      hardcode_shlibpath_var_GCJ=no
16944
 
      hardcode_runpath_var=yes
16945
 
      runpath_var=LD_RUN_PATH
16946
 
      ;;
16947
 
 
16948
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
16949
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
16950
 
      if test "$GCC" = yes; then
16951
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16952
 
      else
16953
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16954
 
      fi
16955
 
      runpath_var='LD_RUN_PATH'
16956
 
      hardcode_shlibpath_var_GCJ=no
16957
 
      ;;
16958
 
 
16959
 
    sysv5*)
16960
 
      no_undefined_flag_GCJ=' -z text'
16961
 
      # $CC -shared without GNU ld will not create a library from C++
16962
 
      # object files and a static libstdc++, better avoid it by now
16963
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16964
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16965
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16966
 
      hardcode_libdir_flag_spec_GCJ=
16967
 
      hardcode_shlibpath_var_GCJ=no
16968
 
      runpath_var='LD_RUN_PATH'
 
18393
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18394
      no_undefined_flag_GCJ='${wl}-z,text'
 
18395
      archive_cmds_need_lc_GCJ=no
 
18396
      hardcode_shlibpath_var_GCJ=no
 
18397
      runpath_var='LD_RUN_PATH'
 
18398
 
 
18399
      if test "$GCC" = yes; then
 
18400
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18401
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18402
      else
 
18403
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18404
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18405
      fi
 
18406
      ;;
 
18407
 
 
18408
    sysv5* | sco3.2v5* | sco5v6*)
 
18409
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18410
      # link with -lc, and that would cause any symbols used from libc to
 
18411
      # always be unresolved, which means just about no library would
 
18412
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18413
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18414
      # as -z defs.
 
18415
      no_undefined_flag_GCJ='${wl}-z,text'
 
18416
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18417
      archive_cmds_need_lc_GCJ=no
 
18418
      hardcode_shlibpath_var_GCJ=no
 
18419
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18420
      hardcode_libdir_separator_GCJ=':'
 
18421
      link_all_deplibs_GCJ=yes
 
18422
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18423
      runpath_var='LD_RUN_PATH'
 
18424
 
 
18425
      if test "$GCC" = yes; then
 
18426
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18427
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18428
      else
 
18429
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18430
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18431
      fi
16969
18432
      ;;
16970
18433
 
16971
18434
    uts4*)
16980
18443
    esac
16981
18444
  fi
16982
18445
 
16983
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16984
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18446
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18447
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16985
18448
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16986
18449
 
16987
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16988
 
if test "$GCC" = yes; then
16989
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16990
 
fi
16991
 
 
16992
18450
#
16993
18451
# Do we need to explicitly link libc?
16994
18452
#
17006
18464
      # Test whether the compiler implicitly links with -lc since on some
17007
18465
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17008
18466
      # to ld, don't add -lc before -lgcc.
17009
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17010
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18467
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18468
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17011
18469
      $rm conftest*
17012
18470
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17013
18471
 
17021
18479
        libobjs=conftest.$ac_objext
17022
18480
        deplibs=
17023
18481
        wl=$lt_prog_compiler_wl_GCJ
 
18482
        pic_flag=$lt_prog_compiler_pic_GCJ
17024
18483
        compiler_flags=-v
17025
18484
        linker_flags=-v
17026
18485
        verstring=
17043
18502
        cat conftest.err 1>&5
17044
18503
      fi
17045
18504
      $rm conftest*
17046
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17047
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18505
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18506
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17048
18507
      ;;
17049
18508
    esac
17050
18509
  fi
17051
18510
  ;;
17052
18511
esac
17053
18512
 
17054
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17055
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18513
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18514
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17056
18515
library_names_spec=
17057
18516
libname_spec='lib$name'
17058
18517
soname_spec=
17153
18612
  shlibpath_var=LIBRARY_PATH
17154
18613
  ;;
17155
18614
 
17156
 
bsdi4*)
 
18615
bsdi[45]*)
17157
18616
  version_type=linux
17158
18617
  need_version=no
17159
18618
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17181
18640
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17182
18641
      dldir=$destdir/`dirname \$dlpath`~
17183
18642
      test -d \$dldir || mkdir -p \$dldir~
17184
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18643
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18644
      chmod a+x \$dldir/$dlname'
17185
18645
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17186
18646
      dlpath=$dir/\$dldll~
17187
18647
       $rm \$dlpath'
17211
18671
      ;;
17212
18672
    pw32*)
17213
18673
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17214
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
18674
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17215
18675
      ;;
17216
18676
    esac
17217
18677
    ;;
17234
18694
  soname_spec='${libname}${release}${major}$shared_ext'
17235
18695
  shlibpath_overrides_runpath=yes
17236
18696
  shlibpath_var=DYLD_LIBRARY_PATH
17237
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
18697
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17238
18698
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17239
18699
  if test "$GCC" = yes; then
17240
18700
    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"`
17257
18717
  dynamic_linker=no
17258
18718
  ;;
17259
18719
 
17260
 
kfreebsd*-gnu)
17261
 
  version_type=linux
17262
 
  need_lib_prefix=no
17263
 
  need_version=no
17264
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17265
 
  soname_spec='${libname}${release}${shared_ext}$major'
17266
 
  shlibpath_var=LD_LIBRARY_PATH
17267
 
  shlibpath_overrides_runpath=no
17268
 
  hardcode_into_libs=yes
17269
 
  dynamic_linker='GNU ld.so'
17270
 
  ;;
17271
 
 
17272
 
freebsd*)
17273
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18720
freebsd* | dragonfly*)
 
18721
  # DragonFly does not have aout.  When/if they implement a new
 
18722
  # versioning mechanism, adjust this.
 
18723
  if test -x /usr/bin/objformat; then
 
18724
    objformat=`/usr/bin/objformat`
 
18725
  else
 
18726
    case $host_os in
 
18727
    freebsd[123]*) objformat=aout ;;
 
18728
    *) objformat=elf ;;
 
18729
    esac
 
18730
  fi
17274
18731
  version_type=freebsd-$objformat
17275
18732
  case $version_type in
17276
18733
    freebsd-elf*)
17288
18745
  freebsd2*)
17289
18746
    shlibpath_overrides_runpath=yes
17290
18747
    ;;
17291
 
  freebsd3.01* | freebsdelf3.01*)
 
18748
  freebsd3.[01]* | freebsdelf3.[01]*)
17292
18749
    shlibpath_overrides_runpath=yes
17293
18750
    hardcode_into_libs=yes
17294
18751
    ;;
17295
 
  *) # from 3.2 on
 
18752
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18753
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17296
18754
    shlibpath_overrides_runpath=no
17297
18755
    hardcode_into_libs=yes
17298
18756
    ;;
 
18757
  freebsd*) # from 4.6 on
 
18758
    shlibpath_overrides_runpath=yes
 
18759
    hardcode_into_libs=yes
 
18760
    ;;
17299
18761
  esac
17300
18762
  ;;
17301
18763
 
17315
18777
  version_type=sunos
17316
18778
  need_lib_prefix=no
17317
18779
  need_version=no
17318
 
  case "$host_cpu" in
 
18780
  case $host_cpu in
17319
18781
  ia64*)
17320
18782
    shrext_cmds='.so'
17321
18783
    hardcode_into_libs=yes
17355
18817
  postinstall_cmds='chmod 555 $lib'
17356
18818
  ;;
17357
18819
 
 
18820
interix3*)
 
18821
  version_type=linux
 
18822
  need_lib_prefix=no
 
18823
  need_version=no
 
18824
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18825
  soname_spec='${libname}${release}${shared_ext}$major'
 
18826
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18827
  shlibpath_var=LD_LIBRARY_PATH
 
18828
  shlibpath_overrides_runpath=no
 
18829
  hardcode_into_libs=yes
 
18830
  ;;
 
18831
 
17358
18832
irix5* | irix6* | nonstopux*)
17359
18833
  case $host_os in
17360
18834
    nonstopux*) version_type=nonstopux ;;
17398
18872
  ;;
17399
18873
 
17400
18874
# This must be Linux ELF.
17401
 
linux*)
 
18875
linux* | k*bsd*-gnu)
17402
18876
  version_type=linux
17403
18877
  need_lib_prefix=no
17404
18878
  need_version=no
17414
18888
 
17415
18889
  # Append ld.so.conf contents to the search path
17416
18890
  if test -f /etc/ld.so.conf; then
17417
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
18891
    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' ' '`
17418
18892
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17419
18893
  fi
17420
18894
 
17439
18913
  dynamic_linker='NetBSD ld.elf_so'
17440
18914
  ;;
17441
18915
 
17442
 
knetbsd*-gnu)
17443
 
  version_type=linux
17444
 
  need_lib_prefix=no
17445
 
  need_version=no
17446
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17447
 
  soname_spec='${libname}${release}${shared_ext}$major'
17448
 
  shlibpath_var=LD_LIBRARY_PATH
17449
 
  shlibpath_overrides_runpath=no
17450
 
  hardcode_into_libs=yes
17451
 
  dynamic_linker='GNU ld.so'
17452
 
  ;;
17453
 
 
17454
18916
netbsd*)
17455
18917
  version_type=sunos
17456
18918
  need_lib_prefix=no
17488
18950
 
17489
18951
openbsd*)
17490
18952
  version_type=sunos
 
18953
  sys_lib_dlsearch_path_spec="/usr/lib"
17491
18954
  need_lib_prefix=no
17492
 
  need_version=yes
 
18955
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
18956
  case $host_os in
 
18957
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
18958
    *)                         need_version=no  ;;
 
18959
  esac
17493
18960
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17494
18961
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17495
18962
  shlibpath_var=LD_LIBRARY_PATH
17527
18994
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17528
18995
  ;;
17529
18996
 
17530
 
sco3.2v5*)
17531
 
  version_type=osf
17532
 
  soname_spec='${libname}${release}${shared_ext}$major'
17533
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17534
 
  shlibpath_var=LD_LIBRARY_PATH
17535
 
  ;;
17536
 
 
17537
18997
solaris*)
17538
18998
  version_type=linux
17539
18999
  need_lib_prefix=no
17559
19019
  need_version=yes
17560
19020
  ;;
17561
19021
 
17562
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
19022
sysv4 | sysv4.3*)
17563
19023
  version_type=linux
17564
19024
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17565
19025
  soname_spec='${libname}${release}${shared_ext}$major'
17592
19052
  fi
17593
19053
  ;;
17594
19054
 
 
19055
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
19056
  version_type=freebsd-elf
 
19057
  need_lib_prefix=no
 
19058
  need_version=no
 
19059
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
19060
  soname_spec='${libname}${release}${shared_ext}$major'
 
19061
  shlibpath_var=LD_LIBRARY_PATH
 
19062
  hardcode_into_libs=yes
 
19063
  if test "$with_gnu_ld" = yes; then
 
19064
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
19065
    shlibpath_overrides_runpath=no
 
19066
  else
 
19067
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
19068
    shlibpath_overrides_runpath=yes
 
19069
    case $host_os in
 
19070
      sco3.2v5*)
 
19071
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
19072
        ;;
 
19073
    esac
 
19074
  fi
 
19075
  sys_lib_dlsearch_path_spec='/usr/lib'
 
19076
  ;;
 
19077
 
17595
19078
uts4*)
17596
19079
  version_type=linux
17597
19080
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17603
19086
  dynamic_linker=no
17604
19087
  ;;
17605
19088
esac
17606
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17607
 
echo "${ECHO_T}$dynamic_linker" >&6
 
19089
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19090
echo "${ECHO_T}$dynamic_linker" >&6; }
17608
19091
test "$dynamic_linker" = no && can_build_shared=no
17609
19092
 
17610
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17611
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19093
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
19094
if test "$GCC" = yes; then
 
19095
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
19096
fi
 
19097
 
 
19098
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19099
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17612
19100
hardcode_action_GCJ=
17613
19101
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17614
 
   test -n "$runpath_var GCJ" || \
17615
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
19102
   test -n "$runpath_var_GCJ" || \
 
19103
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17616
19104
 
17617
19105
  # We can hardcode non-existant directories.
17618
19106
  if test "$hardcode_direct_GCJ" != no &&
17632
19120
  # directories.
17633
19121
  hardcode_action_GCJ=unsupported
17634
19122
fi
17635
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17636
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
19123
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19124
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17637
19125
 
17638
19126
if test "$hardcode_action_GCJ" = relink; then
17639
19127
  # Fast installation is not supported
17644
19132
  enable_fast_install=needless
17645
19133
fi
17646
19134
 
17647
 
striplib=
17648
 
old_striplib=
17649
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17650
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17651
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17652
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17653
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17654
 
  echo "$as_me:$LINENO: result: yes" >&5
17655
 
echo "${ECHO_T}yes" >&6
17656
 
else
17657
 
# FIXME - insert some real tests, host_os isn't really good enough
17658
 
  case $host_os in
17659
 
   darwin*)
17660
 
       if test -n "$STRIP" ; then
17661
 
         striplib="$STRIP -x"
17662
 
         echo "$as_me:$LINENO: result: yes" >&5
17663
 
echo "${ECHO_T}yes" >&6
17664
 
       else
17665
 
  echo "$as_me:$LINENO: result: no" >&5
17666
 
echo "${ECHO_T}no" >&6
17667
 
fi
17668
 
       ;;
17669
 
   *)
17670
 
  echo "$as_me:$LINENO: result: no" >&5
17671
 
echo "${ECHO_T}no" >&6
17672
 
    ;;
17673
 
  esac
17674
 
fi
17675
 
 
17676
 
if test "x$enable_dlopen" != xyes; then
17677
 
  enable_dlopen=unknown
17678
 
  enable_dlopen_self=unknown
17679
 
  enable_dlopen_self_static=unknown
17680
 
else
17681
 
  lt_cv_dlopen=no
17682
 
  lt_cv_dlopen_libs=
17683
 
 
17684
 
  case $host_os in
17685
 
  beos*)
17686
 
    lt_cv_dlopen="load_add_on"
17687
 
    lt_cv_dlopen_libs=
17688
 
    lt_cv_dlopen_self=yes
17689
 
    ;;
17690
 
 
17691
 
  mingw* | pw32*)
17692
 
    lt_cv_dlopen="LoadLibrary"
17693
 
    lt_cv_dlopen_libs=
17694
 
   ;;
17695
 
 
17696
 
  cygwin*)
17697
 
    lt_cv_dlopen="dlopen"
17698
 
    lt_cv_dlopen_libs=
17699
 
   ;;
17700
 
 
17701
 
  darwin*)
17702
 
  # if libdl is installed we need to link against it
17703
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17704
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17705
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17707
 
else
17708
 
  ac_check_lib_save_LIBS=$LIBS
17709
 
LIBS="-ldl  $LIBS"
17710
 
cat >conftest.$ac_ext <<_ACEOF
17711
 
/* confdefs.h.  */
17712
 
_ACEOF
17713
 
cat confdefs.h >>conftest.$ac_ext
17714
 
cat >>conftest.$ac_ext <<_ACEOF
17715
 
/* end confdefs.h.  */
17716
 
 
17717
 
/* Override any gcc2 internal prototype to avoid an error.  */
17718
 
#ifdef __cplusplus
17719
 
extern "C"
17720
 
#endif
17721
 
/* We use char because int might match the return type of a gcc2
17722
 
   builtin and then its argument prototype would still apply.  */
17723
 
char dlopen ();
17724
 
int
17725
 
main ()
17726
 
{
17727
 
dlopen ();
17728
 
  ;
17729
 
  return 0;
17730
 
}
17731
 
_ACEOF
17732
 
rm -f conftest.$ac_objext conftest$ac_exeext
17733
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17734
 
  (eval $ac_link) 2>conftest.er1
17735
 
  ac_status=$?
17736
 
  grep -v '^ *+' conftest.er1 >conftest.err
17737
 
  rm -f conftest.er1
17738
 
  cat conftest.err >&5
17739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740
 
  (exit $ac_status); } &&
17741
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17742
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743
 
  (eval $ac_try) 2>&5
17744
 
  ac_status=$?
17745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746
 
  (exit $ac_status); }; } &&
17747
 
         { ac_try='test -s conftest$ac_exeext'
17748
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749
 
  (eval $ac_try) 2>&5
17750
 
  ac_status=$?
17751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752
 
  (exit $ac_status); }; }; then
17753
 
  ac_cv_lib_dl_dlopen=yes
17754
 
else
17755
 
  echo "$as_me: failed program was:" >&5
17756
 
sed 's/^/| /' conftest.$ac_ext >&5
17757
 
 
17758
 
ac_cv_lib_dl_dlopen=no
17759
 
fi
17760
 
rm -f conftest.err conftest.$ac_objext \
17761
 
      conftest$ac_exeext conftest.$ac_ext
17762
 
LIBS=$ac_check_lib_save_LIBS
17763
 
fi
17764
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17765
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17766
 
if test $ac_cv_lib_dl_dlopen = yes; then
17767
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17768
 
else
17769
 
 
17770
 
    lt_cv_dlopen="dyld"
17771
 
    lt_cv_dlopen_libs=
17772
 
    lt_cv_dlopen_self=yes
17773
 
 
17774
 
fi
17775
 
 
17776
 
   ;;
17777
 
 
17778
 
  *)
17779
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17780
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17781
 
if test "${ac_cv_func_shl_load+set}" = set; then
17782
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17783
 
else
17784
 
  cat >conftest.$ac_ext <<_ACEOF
17785
 
/* confdefs.h.  */
17786
 
_ACEOF
17787
 
cat confdefs.h >>conftest.$ac_ext
17788
 
cat >>conftest.$ac_ext <<_ACEOF
17789
 
/* end confdefs.h.  */
17790
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17791
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17792
 
#define shl_load innocuous_shl_load
17793
 
 
17794
 
/* System header to define __stub macros and hopefully few prototypes,
17795
 
    which can conflict with char shl_load (); below.
17796
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17797
 
    <limits.h> exists even on freestanding compilers.  */
17798
 
 
17799
 
#ifdef __STDC__
17800
 
# include <limits.h>
17801
 
#else
17802
 
# include <assert.h>
17803
 
#endif
17804
 
 
17805
 
#undef shl_load
17806
 
 
17807
 
/* Override any gcc2 internal prototype to avoid an error.  */
17808
 
#ifdef __cplusplus
17809
 
extern "C"
17810
 
{
17811
 
#endif
17812
 
/* We use char because int might match the return type of a gcc2
17813
 
   builtin and then its argument prototype would still apply.  */
17814
 
char shl_load ();
17815
 
/* The GNU C library defines this for functions which it implements
17816
 
    to always fail with ENOSYS.  Some functions are actually named
17817
 
    something starting with __ and the normal name is an alias.  */
17818
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17819
 
choke me
17820
 
#else
17821
 
char (*f) () = shl_load;
17822
 
#endif
17823
 
#ifdef __cplusplus
17824
 
}
17825
 
#endif
17826
 
 
17827
 
int
17828
 
main ()
17829
 
{
17830
 
return f != shl_load;
17831
 
  ;
17832
 
  return 0;
17833
 
}
17834
 
_ACEOF
17835
 
rm -f conftest.$ac_objext conftest$ac_exeext
17836
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17837
 
  (eval $ac_link) 2>conftest.er1
17838
 
  ac_status=$?
17839
 
  grep -v '^ *+' conftest.er1 >conftest.err
17840
 
  rm -f conftest.er1
17841
 
  cat conftest.err >&5
17842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843
 
  (exit $ac_status); } &&
17844
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846
 
  (eval $ac_try) 2>&5
17847
 
  ac_status=$?
17848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849
 
  (exit $ac_status); }; } &&
17850
 
         { ac_try='test -s conftest$ac_exeext'
17851
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852
 
  (eval $ac_try) 2>&5
17853
 
  ac_status=$?
17854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855
 
  (exit $ac_status); }; }; then
17856
 
  ac_cv_func_shl_load=yes
17857
 
else
17858
 
  echo "$as_me: failed program was:" >&5
17859
 
sed 's/^/| /' conftest.$ac_ext >&5
17860
 
 
17861
 
ac_cv_func_shl_load=no
17862
 
fi
17863
 
rm -f conftest.err conftest.$ac_objext \
17864
 
      conftest$ac_exeext conftest.$ac_ext
17865
 
fi
17866
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17867
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17868
 
if test $ac_cv_func_shl_load = yes; then
17869
 
  lt_cv_dlopen="shl_load"
17870
 
else
17871
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17872
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17873
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17874
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17875
 
else
17876
 
  ac_check_lib_save_LIBS=$LIBS
17877
 
LIBS="-ldld  $LIBS"
17878
 
cat >conftest.$ac_ext <<_ACEOF
17879
 
/* confdefs.h.  */
17880
 
_ACEOF
17881
 
cat confdefs.h >>conftest.$ac_ext
17882
 
cat >>conftest.$ac_ext <<_ACEOF
17883
 
/* end confdefs.h.  */
17884
 
 
17885
 
/* Override any gcc2 internal prototype to avoid an error.  */
17886
 
#ifdef __cplusplus
17887
 
extern "C"
17888
 
#endif
17889
 
/* We use char because int might match the return type of a gcc2
17890
 
   builtin and then its argument prototype would still apply.  */
17891
 
char shl_load ();
17892
 
int
17893
 
main ()
17894
 
{
17895
 
shl_load ();
17896
 
  ;
17897
 
  return 0;
17898
 
}
17899
 
_ACEOF
17900
 
rm -f conftest.$ac_objext conftest$ac_exeext
17901
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17902
 
  (eval $ac_link) 2>conftest.er1
17903
 
  ac_status=$?
17904
 
  grep -v '^ *+' conftest.er1 >conftest.err
17905
 
  rm -f conftest.er1
17906
 
  cat conftest.err >&5
17907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908
 
  (exit $ac_status); } &&
17909
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17910
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911
 
  (eval $ac_try) 2>&5
17912
 
  ac_status=$?
17913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914
 
  (exit $ac_status); }; } &&
17915
 
         { ac_try='test -s conftest$ac_exeext'
17916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917
 
  (eval $ac_try) 2>&5
17918
 
  ac_status=$?
17919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920
 
  (exit $ac_status); }; }; then
17921
 
  ac_cv_lib_dld_shl_load=yes
17922
 
else
17923
 
  echo "$as_me: failed program was:" >&5
17924
 
sed 's/^/| /' conftest.$ac_ext >&5
17925
 
 
17926
 
ac_cv_lib_dld_shl_load=no
17927
 
fi
17928
 
rm -f conftest.err conftest.$ac_objext \
17929
 
      conftest$ac_exeext conftest.$ac_ext
17930
 
LIBS=$ac_check_lib_save_LIBS
17931
 
fi
17932
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17933
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17934
 
if test $ac_cv_lib_dld_shl_load = yes; then
17935
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17936
 
else
17937
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
17938
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17939
 
if test "${ac_cv_func_dlopen+set}" = set; then
17940
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17941
 
else
17942
 
  cat >conftest.$ac_ext <<_ACEOF
17943
 
/* confdefs.h.  */
17944
 
_ACEOF
17945
 
cat confdefs.h >>conftest.$ac_ext
17946
 
cat >>conftest.$ac_ext <<_ACEOF
17947
 
/* end confdefs.h.  */
17948
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17949
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17950
 
#define dlopen innocuous_dlopen
17951
 
 
17952
 
/* System header to define __stub macros and hopefully few prototypes,
17953
 
    which can conflict with char dlopen (); below.
17954
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17955
 
    <limits.h> exists even on freestanding compilers.  */
17956
 
 
17957
 
#ifdef __STDC__
17958
 
# include <limits.h>
17959
 
#else
17960
 
# include <assert.h>
17961
 
#endif
17962
 
 
17963
 
#undef dlopen
17964
 
 
17965
 
/* Override any gcc2 internal prototype to avoid an error.  */
17966
 
#ifdef __cplusplus
17967
 
extern "C"
17968
 
{
17969
 
#endif
17970
 
/* We use char because int might match the return type of a gcc2
17971
 
   builtin and then its argument prototype would still apply.  */
17972
 
char dlopen ();
17973
 
/* The GNU C library defines this for functions which it implements
17974
 
    to always fail with ENOSYS.  Some functions are actually named
17975
 
    something starting with __ and the normal name is an alias.  */
17976
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17977
 
choke me
17978
 
#else
17979
 
char (*f) () = dlopen;
17980
 
#endif
17981
 
#ifdef __cplusplus
17982
 
}
17983
 
#endif
17984
 
 
17985
 
int
17986
 
main ()
17987
 
{
17988
 
return f != dlopen;
17989
 
  ;
17990
 
  return 0;
17991
 
}
17992
 
_ACEOF
17993
 
rm -f conftest.$ac_objext conftest$ac_exeext
17994
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17995
 
  (eval $ac_link) 2>conftest.er1
17996
 
  ac_status=$?
17997
 
  grep -v '^ *+' conftest.er1 >conftest.err
17998
 
  rm -f conftest.er1
17999
 
  cat conftest.err >&5
18000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001
 
  (exit $ac_status); } &&
18002
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18003
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004
 
  (eval $ac_try) 2>&5
18005
 
  ac_status=$?
18006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007
 
  (exit $ac_status); }; } &&
18008
 
         { ac_try='test -s conftest$ac_exeext'
18009
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010
 
  (eval $ac_try) 2>&5
18011
 
  ac_status=$?
18012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013
 
  (exit $ac_status); }; }; then
18014
 
  ac_cv_func_dlopen=yes
18015
 
else
18016
 
  echo "$as_me: failed program was:" >&5
18017
 
sed 's/^/| /' conftest.$ac_ext >&5
18018
 
 
18019
 
ac_cv_func_dlopen=no
18020
 
fi
18021
 
rm -f conftest.err conftest.$ac_objext \
18022
 
      conftest$ac_exeext conftest.$ac_ext
18023
 
fi
18024
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18025
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18026
 
if test $ac_cv_func_dlopen = yes; then
18027
 
  lt_cv_dlopen="dlopen"
18028
 
else
18029
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18030
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18031
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18032
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18033
 
else
18034
 
  ac_check_lib_save_LIBS=$LIBS
18035
 
LIBS="-ldl  $LIBS"
18036
 
cat >conftest.$ac_ext <<_ACEOF
18037
 
/* confdefs.h.  */
18038
 
_ACEOF
18039
 
cat confdefs.h >>conftest.$ac_ext
18040
 
cat >>conftest.$ac_ext <<_ACEOF
18041
 
/* end confdefs.h.  */
18042
 
 
18043
 
/* Override any gcc2 internal prototype to avoid an error.  */
18044
 
#ifdef __cplusplus
18045
 
extern "C"
18046
 
#endif
18047
 
/* We use char because int might match the return type of a gcc2
18048
 
   builtin and then its argument prototype would still apply.  */
18049
 
char dlopen ();
18050
 
int
18051
 
main ()
18052
 
{
18053
 
dlopen ();
18054
 
  ;
18055
 
  return 0;
18056
 
}
18057
 
_ACEOF
18058
 
rm -f conftest.$ac_objext conftest$ac_exeext
18059
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18060
 
  (eval $ac_link) 2>conftest.er1
18061
 
  ac_status=$?
18062
 
  grep -v '^ *+' conftest.er1 >conftest.err
18063
 
  rm -f conftest.er1
18064
 
  cat conftest.err >&5
18065
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066
 
  (exit $ac_status); } &&
18067
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18068
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069
 
  (eval $ac_try) 2>&5
18070
 
  ac_status=$?
18071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072
 
  (exit $ac_status); }; } &&
18073
 
         { ac_try='test -s conftest$ac_exeext'
18074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075
 
  (eval $ac_try) 2>&5
18076
 
  ac_status=$?
18077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078
 
  (exit $ac_status); }; }; then
18079
 
  ac_cv_lib_dl_dlopen=yes
18080
 
else
18081
 
  echo "$as_me: failed program was:" >&5
18082
 
sed 's/^/| /' conftest.$ac_ext >&5
18083
 
 
18084
 
ac_cv_lib_dl_dlopen=no
18085
 
fi
18086
 
rm -f conftest.err conftest.$ac_objext \
18087
 
      conftest$ac_exeext conftest.$ac_ext
18088
 
LIBS=$ac_check_lib_save_LIBS
18089
 
fi
18090
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18091
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18092
 
if test $ac_cv_lib_dl_dlopen = yes; then
18093
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18094
 
else
18095
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18096
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18097
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18098
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18099
 
else
18100
 
  ac_check_lib_save_LIBS=$LIBS
18101
 
LIBS="-lsvld  $LIBS"
18102
 
cat >conftest.$ac_ext <<_ACEOF
18103
 
/* confdefs.h.  */
18104
 
_ACEOF
18105
 
cat confdefs.h >>conftest.$ac_ext
18106
 
cat >>conftest.$ac_ext <<_ACEOF
18107
 
/* end confdefs.h.  */
18108
 
 
18109
 
/* Override any gcc2 internal prototype to avoid an error.  */
18110
 
#ifdef __cplusplus
18111
 
extern "C"
18112
 
#endif
18113
 
/* We use char because int might match the return type of a gcc2
18114
 
   builtin and then its argument prototype would still apply.  */
18115
 
char dlopen ();
18116
 
int
18117
 
main ()
18118
 
{
18119
 
dlopen ();
18120
 
  ;
18121
 
  return 0;
18122
 
}
18123
 
_ACEOF
18124
 
rm -f conftest.$ac_objext conftest$ac_exeext
18125
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18126
 
  (eval $ac_link) 2>conftest.er1
18127
 
  ac_status=$?
18128
 
  grep -v '^ *+' conftest.er1 >conftest.err
18129
 
  rm -f conftest.er1
18130
 
  cat conftest.err >&5
18131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132
 
  (exit $ac_status); } &&
18133
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135
 
  (eval $ac_try) 2>&5
18136
 
  ac_status=$?
18137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138
 
  (exit $ac_status); }; } &&
18139
 
         { ac_try='test -s conftest$ac_exeext'
18140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141
 
  (eval $ac_try) 2>&5
18142
 
  ac_status=$?
18143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144
 
  (exit $ac_status); }; }; then
18145
 
  ac_cv_lib_svld_dlopen=yes
18146
 
else
18147
 
  echo "$as_me: failed program was:" >&5
18148
 
sed 's/^/| /' conftest.$ac_ext >&5
18149
 
 
18150
 
ac_cv_lib_svld_dlopen=no
18151
 
fi
18152
 
rm -f conftest.err conftest.$ac_objext \
18153
 
      conftest$ac_exeext conftest.$ac_ext
18154
 
LIBS=$ac_check_lib_save_LIBS
18155
 
fi
18156
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18157
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18158
 
if test $ac_cv_lib_svld_dlopen = yes; then
18159
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18160
 
else
18161
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18162
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18163
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18165
 
else
18166
 
  ac_check_lib_save_LIBS=$LIBS
18167
 
LIBS="-ldld  $LIBS"
18168
 
cat >conftest.$ac_ext <<_ACEOF
18169
 
/* confdefs.h.  */
18170
 
_ACEOF
18171
 
cat confdefs.h >>conftest.$ac_ext
18172
 
cat >>conftest.$ac_ext <<_ACEOF
18173
 
/* end confdefs.h.  */
18174
 
 
18175
 
/* Override any gcc2 internal prototype to avoid an error.  */
18176
 
#ifdef __cplusplus
18177
 
extern "C"
18178
 
#endif
18179
 
/* We use char because int might match the return type of a gcc2
18180
 
   builtin and then its argument prototype would still apply.  */
18181
 
char dld_link ();
18182
 
int
18183
 
main ()
18184
 
{
18185
 
dld_link ();
18186
 
  ;
18187
 
  return 0;
18188
 
}
18189
 
_ACEOF
18190
 
rm -f conftest.$ac_objext conftest$ac_exeext
18191
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18192
 
  (eval $ac_link) 2>conftest.er1
18193
 
  ac_status=$?
18194
 
  grep -v '^ *+' conftest.er1 >conftest.err
18195
 
  rm -f conftest.er1
18196
 
  cat conftest.err >&5
18197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198
 
  (exit $ac_status); } &&
18199
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201
 
  (eval $ac_try) 2>&5
18202
 
  ac_status=$?
18203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204
 
  (exit $ac_status); }; } &&
18205
 
         { ac_try='test -s conftest$ac_exeext'
18206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207
 
  (eval $ac_try) 2>&5
18208
 
  ac_status=$?
18209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210
 
  (exit $ac_status); }; }; then
18211
 
  ac_cv_lib_dld_dld_link=yes
18212
 
else
18213
 
  echo "$as_me: failed program was:" >&5
18214
 
sed 's/^/| /' conftest.$ac_ext >&5
18215
 
 
18216
 
ac_cv_lib_dld_dld_link=no
18217
 
fi
18218
 
rm -f conftest.err conftest.$ac_objext \
18219
 
      conftest$ac_exeext conftest.$ac_ext
18220
 
LIBS=$ac_check_lib_save_LIBS
18221
 
fi
18222
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18223
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18224
 
if test $ac_cv_lib_dld_dld_link = yes; then
18225
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18226
 
fi
18227
 
 
18228
 
 
18229
 
fi
18230
 
 
18231
 
 
18232
 
fi
18233
 
 
18234
 
 
18235
 
fi
18236
 
 
18237
 
 
18238
 
fi
18239
 
 
18240
 
 
18241
 
fi
18242
 
 
18243
 
    ;;
18244
 
  esac
18245
 
 
18246
 
  if test "x$lt_cv_dlopen" != xno; then
18247
 
    enable_dlopen=yes
18248
 
  else
18249
 
    enable_dlopen=no
18250
 
  fi
18251
 
 
18252
 
  case $lt_cv_dlopen in
18253
 
  dlopen)
18254
 
    save_CPPFLAGS="$CPPFLAGS"
18255
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18256
 
 
18257
 
    save_LDFLAGS="$LDFLAGS"
18258
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18259
 
 
18260
 
    save_LIBS="$LIBS"
18261
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18262
 
 
18263
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18264
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18265
 
if test "${lt_cv_dlopen_self+set}" = set; then
18266
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18267
 
else
18268
 
          if test "$cross_compiling" = yes; then :
18269
 
  lt_cv_dlopen_self=cross
18270
 
else
18271
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18272
 
  lt_status=$lt_dlunknown
18273
 
  cat > conftest.$ac_ext <<EOF
18274
 
#line 18274 "configure"
18275
 
#include "confdefs.h"
18276
 
 
18277
 
#if HAVE_DLFCN_H
18278
 
#include <dlfcn.h>
18279
 
#endif
18280
 
 
18281
 
#include <stdio.h>
18282
 
 
18283
 
#ifdef RTLD_GLOBAL
18284
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18285
 
#else
18286
 
#  ifdef DL_GLOBAL
18287
 
#    define LT_DLGLOBAL         DL_GLOBAL
18288
 
#  else
18289
 
#    define LT_DLGLOBAL         0
18290
 
#  endif
18291
 
#endif
18292
 
 
18293
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18294
 
   find out it does not work in some platform. */
18295
 
#ifndef LT_DLLAZY_OR_NOW
18296
 
#  ifdef RTLD_LAZY
18297
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18298
 
#  else
18299
 
#    ifdef DL_LAZY
18300
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18301
 
#    else
18302
 
#      ifdef RTLD_NOW
18303
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18304
 
#      else
18305
 
#        ifdef DL_NOW
18306
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18307
 
#        else
18308
 
#          define LT_DLLAZY_OR_NOW      0
18309
 
#        endif
18310
 
#      endif
18311
 
#    endif
18312
 
#  endif
18313
 
#endif
18314
 
 
18315
 
#ifdef __cplusplus
18316
 
extern "C" void exit (int);
18317
 
#endif
18318
 
 
18319
 
void fnord() { int i=42;}
18320
 
int main ()
18321
 
{
18322
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18323
 
  int status = $lt_dlunknown;
18324
 
 
18325
 
  if (self)
18326
 
    {
18327
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18328
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18329
 
      /* dlclose (self); */
18330
 
    }
18331
 
 
18332
 
    exit (status);
18333
 
}
18334
 
EOF
18335
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18336
 
  (eval $ac_link) 2>&5
18337
 
  ac_status=$?
18338
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18340
 
    (./conftest; exit; ) 2>/dev/null
18341
 
    lt_status=$?
18342
 
    case x$lt_status in
18343
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18344
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18345
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18346
 
    esac
18347
 
  else :
18348
 
    # compilation failed
18349
 
    lt_cv_dlopen_self=no
18350
 
  fi
18351
 
fi
18352
 
rm -fr conftest*
18353
 
 
18354
 
 
18355
 
fi
18356
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18357
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18358
 
 
18359
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18360
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18361
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18362
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18363
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18365
 
else
18366
 
          if test "$cross_compiling" = yes; then :
18367
 
  lt_cv_dlopen_self_static=cross
18368
 
else
18369
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18370
 
  lt_status=$lt_dlunknown
18371
 
  cat > conftest.$ac_ext <<EOF
18372
 
#line 18372 "configure"
18373
 
#include "confdefs.h"
18374
 
 
18375
 
#if HAVE_DLFCN_H
18376
 
#include <dlfcn.h>
18377
 
#endif
18378
 
 
18379
 
#include <stdio.h>
18380
 
 
18381
 
#ifdef RTLD_GLOBAL
18382
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18383
 
#else
18384
 
#  ifdef DL_GLOBAL
18385
 
#    define LT_DLGLOBAL         DL_GLOBAL
18386
 
#  else
18387
 
#    define LT_DLGLOBAL         0
18388
 
#  endif
18389
 
#endif
18390
 
 
18391
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18392
 
   find out it does not work in some platform. */
18393
 
#ifndef LT_DLLAZY_OR_NOW
18394
 
#  ifdef RTLD_LAZY
18395
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18396
 
#  else
18397
 
#    ifdef DL_LAZY
18398
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18399
 
#    else
18400
 
#      ifdef RTLD_NOW
18401
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18402
 
#      else
18403
 
#        ifdef DL_NOW
18404
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18405
 
#        else
18406
 
#          define LT_DLLAZY_OR_NOW      0
18407
 
#        endif
18408
 
#      endif
18409
 
#    endif
18410
 
#  endif
18411
 
#endif
18412
 
 
18413
 
#ifdef __cplusplus
18414
 
extern "C" void exit (int);
18415
 
#endif
18416
 
 
18417
 
void fnord() { int i=42;}
18418
 
int main ()
18419
 
{
18420
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18421
 
  int status = $lt_dlunknown;
18422
 
 
18423
 
  if (self)
18424
 
    {
18425
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18426
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18427
 
      /* dlclose (self); */
18428
 
    }
18429
 
 
18430
 
    exit (status);
18431
 
}
18432
 
EOF
18433
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18434
 
  (eval $ac_link) 2>&5
18435
 
  ac_status=$?
18436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18438
 
    (./conftest; exit; ) 2>/dev/null
18439
 
    lt_status=$?
18440
 
    case x$lt_status in
18441
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18442
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18443
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18444
 
    esac
18445
 
  else :
18446
 
    # compilation failed
18447
 
    lt_cv_dlopen_self_static=no
18448
 
  fi
18449
 
fi
18450
 
rm -fr conftest*
18451
 
 
18452
 
 
18453
 
fi
18454
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18455
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18456
 
    fi
18457
 
 
18458
 
    CPPFLAGS="$save_CPPFLAGS"
18459
 
    LDFLAGS="$save_LDFLAGS"
18460
 
    LIBS="$save_LIBS"
18461
 
    ;;
18462
 
  esac
18463
 
 
18464
 
  case $lt_cv_dlopen_self in
18465
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18466
 
  *) enable_dlopen_self=unknown ;;
18467
 
  esac
18468
 
 
18469
 
  case $lt_cv_dlopen_self_static in
18470
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18471
 
  *) enable_dlopen_self_static=unknown ;;
18472
 
  esac
18473
 
fi
18474
 
 
18475
19135
 
18476
19136
# The else clause should only fire when bootstrapping the
18477
19137
# libtool distribution, otherwise you forgot to ship ltmain.sh
18486
19146
  # Now quote all the things that may contain metacharacters while being
18487
19147
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18488
19148
  # variables and quote the copies for generation of the libtool script.
18489
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19149
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18490
19150
    SED SHELL STRIP \
18491
19151
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18492
19152
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18587
19247
# The host system.
18588
19248
host_alias=$host_alias
18589
19249
host=$host
 
19250
host_os=$host_os
 
19251
 
 
19252
# The build system.
 
19253
build_alias=$build_alias
 
19254
build=$build
 
19255
build_os=$build_os
18590
19256
 
18591
19257
# An echo program that does not interpret backslashes.
18592
19258
echo=$lt_echo
18598
19264
# A C compiler.
18599
19265
LTCC=$lt_LTCC
18600
19266
 
 
19267
# LTCC compiler flags.
 
19268
LTCFLAGS=$lt_LTCFLAGS
 
19269
 
18601
19270
# A language-specific compiler.
18602
19271
CC=$lt_compiler_GCJ
18603
19272
 
18663
19332
# Does compiler simultaneously support -c and -o options?
18664
19333
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18665
19334
 
18666
 
# Must we lock files when doing compilation ?
 
19335
# Must we lock files when doing compilation?
18667
19336
need_locks=$lt_need_locks
18668
19337
 
18669
19338
# Do we need the lib prefix for modules?
18888
19557
      RC)
18889
19558
 
18890
19559
 
18891
 
 
18892
19560
# Source file extension for RC test sources.
18893
19561
ac_ext=rc
18894
19562
 
18907
19575
# If no C compiler was specified, use CC.
18908
19576
LTCC=${LTCC-"$CC"}
18909
19577
 
 
19578
# If no C compiler flags were specified, use CFLAGS.
 
19579
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19580
 
18910
19581
# Allow CC to be a program name with arguments.
18911
19582
compiler=$CC
18912
19583
 
18913
19584
 
 
19585
# save warnings/boilerplate of simple test code
 
19586
ac_outfile=conftest.$ac_objext
 
19587
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19588
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19589
_lt_compiler_boilerplate=`cat conftest.err`
 
19590
$rm conftest*
 
19591
 
 
19592
ac_outfile=conftest.$ac_objext
 
19593
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19594
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19595
_lt_linker_boilerplate=`cat conftest.err`
 
19596
$rm conftest*
 
19597
 
 
19598
 
18914
19599
# Allow CC to be a program name with arguments.
18915
19600
lt_save_CC="$CC"
18916
19601
CC=${RC-"windres"}
18917
19602
compiler=$CC
18918
19603
compiler_RC=$CC
 
19604
for cc_temp in $compiler""; do
 
19605
  case $cc_temp in
 
19606
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19607
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19608
    \-*) ;;
 
19609
    *) break;;
 
19610
  esac
 
19611
done
 
19612
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19613
 
18919
19614
lt_cv_prog_compiler_c_o_RC=yes
18920
19615
 
18921
19616
# The else clause should only fire when bootstrapping the
18931
19626
  # Now quote all the things that may contain metacharacters while being
18932
19627
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18933
19628
  # variables and quote the copies for generation of the libtool script.
18934
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19629
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18935
19630
    SED SHELL STRIP \
18936
19631
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18937
19632
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19032
19727
# The host system.
19033
19728
host_alias=$host_alias
19034
19729
host=$host
 
19730
host_os=$host_os
 
19731
 
 
19732
# The build system.
 
19733
build_alias=$build_alias
 
19734
build=$build
 
19735
build_os=$build_os
19035
19736
 
19036
19737
# An echo program that does not interpret backslashes.
19037
19738
echo=$lt_echo
19043
19744
# A C compiler.
19044
19745
LTCC=$lt_LTCC
19045
19746
 
 
19747
# LTCC compiler flags.
 
19748
LTCFLAGS=$lt_LTCFLAGS
 
19749
 
19046
19750
# A language-specific compiler.
19047
19751
CC=$lt_compiler_RC
19048
19752
 
19108
19812
# Does compiler simultaneously support -c and -o options?
19109
19813
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19110
19814
 
19111
 
# Must we lock files when doing compilation ?
 
19815
# Must we lock files when doing compilation?
19112
19816
need_locks=$lt_need_locks
19113
19817
 
19114
19818
# Do we need the lib prefix for modules?
19383
20087
 
19384
20088
 
19385
20089
 
19386
 
 
19387
 
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
19388
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
19389
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 
20090
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
20091
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
20092
if test "${ac_cv_search_strerror+set}" = set; then
19390
20093
  echo $ECHO_N "(cached) $ECHO_C" >&6
19391
20094
else
19392
 
  ac_check_lib_save_LIBS=$LIBS
19393
 
LIBS="-lcposix  $LIBS"
 
20095
  ac_func_search_save_LIBS=$LIBS
19394
20096
cat >conftest.$ac_ext <<_ACEOF
19395
20097
/* confdefs.h.  */
19396
20098
_ACEOF
19398
20100
cat >>conftest.$ac_ext <<_ACEOF
19399
20101
/* end confdefs.h.  */
19400
20102
 
19401
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20103
/* Override any GCC internal prototype to avoid an error.
 
20104
   Use char because int might match the return type of a GCC
 
20105
   builtin and then its argument prototype would still apply.  */
19402
20106
#ifdef __cplusplus
19403
20107
extern "C"
19404
20108
#endif
19405
 
/* We use char because int might match the return type of a gcc2
19406
 
   builtin and then its argument prototype would still apply.  */
19407
20109
char strerror ();
19408
20110
int
19409
20111
main ()
19410
20112
{
19411
 
strerror ();
 
20113
return strerror ();
19412
20114
  ;
19413
20115
  return 0;
19414
20116
}
19415
20117
_ACEOF
19416
 
rm -f conftest.$ac_objext conftest$ac_exeext
19417
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19418
 
  (eval $ac_link) 2>conftest.er1
 
20118
for ac_lib in '' cposix; do
 
20119
  if test -z "$ac_lib"; then
 
20120
    ac_res="none required"
 
20121
  else
 
20122
    ac_res=-l$ac_lib
 
20123
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
20124
  fi
 
20125
  rm -f conftest.$ac_objext conftest$ac_exeext
 
20126
if { (ac_try="$ac_link"
 
20127
case "(($ac_try" in
 
20128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20129
  *) ac_try_echo=$ac_try;;
 
20130
esac
 
20131
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20132
  (eval "$ac_link") 2>conftest.er1
19419
20133
  ac_status=$?
19420
20134
  grep -v '^ *+' conftest.er1 >conftest.err
19421
20135
  rm -f conftest.er1
19422
20136
  cat conftest.err >&5
19423
20137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424
20138
  (exit $ac_status); } &&
19425
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19426
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427
 
  (eval $ac_try) 2>&5
 
20139
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20140
  { (case "(($ac_try" in
 
20141
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20142
  *) ac_try_echo=$ac_try;;
 
20143
esac
 
20144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20145
  (eval "$ac_try") 2>&5
19428
20146
  ac_status=$?
19429
20147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430
20148
  (exit $ac_status); }; } &&
19431
20149
         { ac_try='test -s conftest$ac_exeext'
19432
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433
 
  (eval $ac_try) 2>&5
 
20150
  { (case "(($ac_try" in
 
20151
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20152
  *) ac_try_echo=$ac_try;;
 
20153
esac
 
20154
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20155
  (eval "$ac_try") 2>&5
19434
20156
  ac_status=$?
19435
20157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436
20158
  (exit $ac_status); }; }; then
19437
 
  ac_cv_lib_cposix_strerror=yes
 
20159
  ac_cv_search_strerror=$ac_res
19438
20160
else
19439
20161
  echo "$as_me: failed program was:" >&5
19440
20162
sed 's/^/| /' conftest.$ac_ext >&5
19441
20163
 
19442
 
ac_cv_lib_cposix_strerror=no
19443
 
fi
19444
 
rm -f conftest.err conftest.$ac_objext \
19445
 
      conftest$ac_exeext conftest.$ac_ext
19446
 
LIBS=$ac_check_lib_save_LIBS
19447
 
fi
19448
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
19449
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
19450
 
if test $ac_cv_lib_cposix_strerror = yes; then
19451
 
  LIBS="$LIBS -lcposix"
19452
 
fi
19453
 
 
19454
 
 
 
20164
 
 
20165
fi
 
20166
 
 
20167
rm -f core conftest.err conftest.$ac_objext \
 
20168
      conftest$ac_exeext
 
20169
  if test "${ac_cv_search_strerror+set}" = set; then
 
20170
  break
 
20171
fi
 
20172
done
 
20173
if test "${ac_cv_search_strerror+set}" = set; then
 
20174
  :
 
20175
else
 
20176
  ac_cv_search_strerror=no
 
20177
fi
 
20178
rm conftest.$ac_ext
 
20179
LIBS=$ac_func_search_save_LIBS
 
20180
fi
 
20181
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
20182
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
20183
ac_res=$ac_cv_search_strerror
 
20184
if test "$ac_res" != no; then
 
20185
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
20186
 
 
20187
fi
19455
20188
 
19456
20189
ac_ext=c
19457
20190
ac_cpp='$CPP $CPPFLAGS'
19461
20194
if test -n "$ac_tool_prefix"; then
19462
20195
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19463
20196
set dummy ${ac_tool_prefix}gcc; ac_word=$2
19464
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19465
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19466
20199
if test "${ac_cv_prog_CC+set}" = set; then
19467
20200
  echo $ECHO_N "(cached) $ECHO_C" >&6
19468
20201
else
19475
20208
  IFS=$as_save_IFS
19476
20209
  test -z "$as_dir" && as_dir=.
19477
20210
  for ac_exec_ext in '' $ac_executable_extensions; do
19478
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20211
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19479
20212
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
19480
20213
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19481
20214
    break 2
19482
20215
  fi
19483
20216
done
19484
20217
done
 
20218
IFS=$as_save_IFS
19485
20219
 
19486
20220
fi
19487
20221
fi
19488
20222
CC=$ac_cv_prog_CC
19489
20223
if test -n "$CC"; then
19490
 
  echo "$as_me:$LINENO: result: $CC" >&5
19491
 
echo "${ECHO_T}$CC" >&6
 
20224
  { echo "$as_me:$LINENO: result: $CC" >&5
 
20225
echo "${ECHO_T}$CC" >&6; }
19492
20226
else
19493
 
  echo "$as_me:$LINENO: result: no" >&5
19494
 
echo "${ECHO_T}no" >&6
 
20227
  { echo "$as_me:$LINENO: result: no" >&5
 
20228
echo "${ECHO_T}no" >&6; }
19495
20229
fi
 
20230
 
19496
20231
 
19497
20232
fi
19498
20233
if test -z "$ac_cv_prog_CC"; then
19499
20234
  ac_ct_CC=$CC
19500
20235
  # Extract the first word of "gcc", so it can be a program name with args.
19501
20236
set dummy gcc; ac_word=$2
19502
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19503
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20237
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20238
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19504
20239
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19505
20240
  echo $ECHO_N "(cached) $ECHO_C" >&6
19506
20241
else
19513
20248
  IFS=$as_save_IFS
19514
20249
  test -z "$as_dir" && as_dir=.
19515
20250
  for ac_exec_ext in '' $ac_executable_extensions; do
19516
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20251
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19517
20252
    ac_cv_prog_ac_ct_CC="gcc"
19518
20253
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19519
20254
    break 2
19520
20255
  fi
19521
20256
done
19522
20257
done
 
20258
IFS=$as_save_IFS
19523
20259
 
19524
20260
fi
19525
20261
fi
19526
20262
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19527
20263
if test -n "$ac_ct_CC"; then
19528
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19529
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
20264
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20265
echo "${ECHO_T}$ac_ct_CC" >&6; }
19530
20266
else
19531
 
  echo "$as_me:$LINENO: result: no" >&5
19532
 
echo "${ECHO_T}no" >&6
 
20267
  { echo "$as_me:$LINENO: result: no" >&5
 
20268
echo "${ECHO_T}no" >&6; }
19533
20269
fi
19534
20270
 
19535
 
  CC=$ac_ct_CC
 
20271
  if test "x$ac_ct_CC" = x; then
 
20272
    CC=""
 
20273
  else
 
20274
    case $cross_compiling:$ac_tool_warned in
 
20275
yes:)
 
20276
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20277
whose name does not start with the host triplet.  If you think this
 
20278
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20279
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20280
whose name does not start with the host triplet.  If you think this
 
20281
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20282
ac_tool_warned=yes ;;
 
20283
esac
 
20284
    CC=$ac_ct_CC
 
20285
  fi
19536
20286
else
19537
20287
  CC="$ac_cv_prog_CC"
19538
20288
fi
19539
20289
 
19540
20290
if test -z "$CC"; then
19541
 
  if test -n "$ac_tool_prefix"; then
19542
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
20291
          if test -n "$ac_tool_prefix"; then
 
20292
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19543
20293
set dummy ${ac_tool_prefix}cc; ac_word=$2
19544
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19545
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20294
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20295
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19546
20296
if test "${ac_cv_prog_CC+set}" = set; then
19547
20297
  echo $ECHO_N "(cached) $ECHO_C" >&6
19548
20298
else
19555
20305
  IFS=$as_save_IFS
19556
20306
  test -z "$as_dir" && as_dir=.
19557
20307
  for ac_exec_ext in '' $ac_executable_extensions; do
19558
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20308
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19559
20309
    ac_cv_prog_CC="${ac_tool_prefix}cc"
19560
20310
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19561
20311
    break 2
19562
20312
  fi
19563
20313
done
19564
20314
done
 
20315
IFS=$as_save_IFS
19565
20316
 
19566
20317
fi
19567
20318
fi
19568
20319
CC=$ac_cv_prog_CC
19569
20320
if test -n "$CC"; then
19570
 
  echo "$as_me:$LINENO: result: $CC" >&5
19571
 
echo "${ECHO_T}$CC" >&6
19572
 
else
19573
 
  echo "$as_me:$LINENO: result: no" >&5
19574
 
echo "${ECHO_T}no" >&6
19575
 
fi
19576
 
 
19577
 
fi
19578
 
if test -z "$ac_cv_prog_CC"; then
19579
 
  ac_ct_CC=$CC
19580
 
  # Extract the first word of "cc", so it can be a program name with args.
19581
 
set dummy cc; ac_word=$2
19582
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19583
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19584
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19585
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19586
 
else
19587
 
  if test -n "$ac_ct_CC"; then
19588
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19589
 
else
19590
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19591
 
for as_dir in $PATH
19592
 
do
19593
 
  IFS=$as_save_IFS
19594
 
  test -z "$as_dir" && as_dir=.
19595
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19596
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19597
 
    ac_cv_prog_ac_ct_CC="cc"
19598
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19599
 
    break 2
 
20321
  { echo "$as_me:$LINENO: result: $CC" >&5
 
20322
echo "${ECHO_T}$CC" >&6; }
 
20323
else
 
20324
  { echo "$as_me:$LINENO: result: no" >&5
 
20325
echo "${ECHO_T}no" >&6; }
 
20326
fi
 
20327
 
 
20328
 
19600
20329
  fi
19601
 
done
19602
 
done
19603
 
 
19604
 
fi
19605
 
fi
19606
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19607
 
if test -n "$ac_ct_CC"; then
19608
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19609
 
echo "${ECHO_T}$ac_ct_CC" >&6
19610
 
else
19611
 
  echo "$as_me:$LINENO: result: no" >&5
19612
 
echo "${ECHO_T}no" >&6
19613
 
fi
19614
 
 
19615
 
  CC=$ac_ct_CC
19616
 
else
19617
 
  CC="$ac_cv_prog_CC"
19618
 
fi
19619
 
 
19620
20330
fi
19621
20331
if test -z "$CC"; then
19622
20332
  # Extract the first word of "cc", so it can be a program name with args.
19623
20333
set dummy cc; ac_word=$2
19624
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19625
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20334
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20335
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19626
20336
if test "${ac_cv_prog_CC+set}" = set; then
19627
20337
  echo $ECHO_N "(cached) $ECHO_C" >&6
19628
20338
else
19636
20346
  IFS=$as_save_IFS
19637
20347
  test -z "$as_dir" && as_dir=.
19638
20348
  for ac_exec_ext in '' $ac_executable_extensions; do
19639
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20349
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19640
20350
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19641
20351
       ac_prog_rejected=yes
19642
20352
       continue
19647
20357
  fi
19648
20358
done
19649
20359
done
 
20360
IFS=$as_save_IFS
19650
20361
 
19651
20362
if test $ac_prog_rejected = yes; then
19652
20363
  # We found a bogon in the path, so make sure we never use it.
19664
20375
fi
19665
20376
CC=$ac_cv_prog_CC
19666
20377
if test -n "$CC"; then
19667
 
  echo "$as_me:$LINENO: result: $CC" >&5
19668
 
echo "${ECHO_T}$CC" >&6
 
20378
  { echo "$as_me:$LINENO: result: $CC" >&5
 
20379
echo "${ECHO_T}$CC" >&6; }
19669
20380
else
19670
 
  echo "$as_me:$LINENO: result: no" >&5
19671
 
echo "${ECHO_T}no" >&6
 
20381
  { echo "$as_me:$LINENO: result: no" >&5
 
20382
echo "${ECHO_T}no" >&6; }
19672
20383
fi
 
20384
 
19673
20385
 
19674
20386
fi
19675
20387
if test -z "$CC"; then
19676
20388
  if test -n "$ac_tool_prefix"; then
19677
 
  for ac_prog in cl
 
20389
  for ac_prog in cl.exe
19678
20390
  do
19679
20391
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19680
20392
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19681
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19682
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20393
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20394
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19683
20395
if test "${ac_cv_prog_CC+set}" = set; then
19684
20396
  echo $ECHO_N "(cached) $ECHO_C" >&6
19685
20397
else
19692
20404
  IFS=$as_save_IFS
19693
20405
  test -z "$as_dir" && as_dir=.
19694
20406
  for ac_exec_ext in '' $ac_executable_extensions; do
19695
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20407
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19696
20408
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19697
20409
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19698
20410
    break 2
19699
20411
  fi
19700
20412
done
19701
20413
done
 
20414
IFS=$as_save_IFS
19702
20415
 
19703
20416
fi
19704
20417
fi
19705
20418
CC=$ac_cv_prog_CC
19706
20419
if test -n "$CC"; then
19707
 
  echo "$as_me:$LINENO: result: $CC" >&5
19708
 
echo "${ECHO_T}$CC" >&6
 
20420
  { echo "$as_me:$LINENO: result: $CC" >&5
 
20421
echo "${ECHO_T}$CC" >&6; }
19709
20422
else
19710
 
  echo "$as_me:$LINENO: result: no" >&5
19711
 
echo "${ECHO_T}no" >&6
 
20423
  { echo "$as_me:$LINENO: result: no" >&5
 
20424
echo "${ECHO_T}no" >&6; }
19712
20425
fi
19713
20426
 
 
20427
 
19714
20428
    test -n "$CC" && break
19715
20429
  done
19716
20430
fi
19717
20431
if test -z "$CC"; then
19718
20432
  ac_ct_CC=$CC
19719
 
  for ac_prog in cl
 
20433
  for ac_prog in cl.exe
19720
20434
do
19721
20435
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19722
20436
set dummy $ac_prog; ac_word=$2
19723
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20437
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20438
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19725
20439
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19726
20440
  echo $ECHO_N "(cached) $ECHO_C" >&6
19727
20441
else
19734
20448
  IFS=$as_save_IFS
19735
20449
  test -z "$as_dir" && as_dir=.
19736
20450
  for ac_exec_ext in '' $ac_executable_extensions; do
19737
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20451
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19738
20452
    ac_cv_prog_ac_ct_CC="$ac_prog"
19739
20453
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19740
20454
    break 2
19741
20455
  fi
19742
20456
done
19743
20457
done
 
20458
IFS=$as_save_IFS
19744
20459
 
19745
20460
fi
19746
20461
fi
19747
20462
ac_ct_CC=$ac_cv_prog_ac_ct_CC
19748
20463
if test -n "$ac_ct_CC"; then
19749
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19750
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
20464
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
20465
echo "${ECHO_T}$ac_ct_CC" >&6; }
19751
20466
else
19752
 
  echo "$as_me:$LINENO: result: no" >&5
19753
 
echo "${ECHO_T}no" >&6
 
20467
  { echo "$as_me:$LINENO: result: no" >&5
 
20468
echo "${ECHO_T}no" >&6; }
19754
20469
fi
19755
20470
 
 
20471
 
19756
20472
  test -n "$ac_ct_CC" && break
19757
20473
done
19758
20474
 
19759
 
  CC=$ac_ct_CC
 
20475
  if test "x$ac_ct_CC" = x; then
 
20476
    CC=""
 
20477
  else
 
20478
    case $cross_compiling:$ac_tool_warned in
 
20479
yes:)
 
20480
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
20481
whose name does not start with the host triplet.  If you think this
 
20482
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
20483
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
20484
whose name does not start with the host triplet.  If you think this
 
20485
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
20486
ac_tool_warned=yes ;;
 
20487
esac
 
20488
    CC=$ac_ct_CC
 
20489
  fi
19760
20490
fi
19761
20491
 
19762
20492
fi
19769
20499
   { (exit 1); exit 1; }; }
19770
20500
 
19771
20501
# Provide some information about the compiler.
19772
 
echo "$as_me:$LINENO:" \
19773
 
     "checking for C compiler version" >&5
 
20502
echo "$as_me:$LINENO: checking for C compiler version" >&5
19774
20503
ac_compiler=`set X $ac_compile; echo $2`
19775
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19776
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
19777
 
  ac_status=$?
19778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779
 
  (exit $ac_status); }
19780
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19781
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
19782
 
  ac_status=$?
19783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784
 
  (exit $ac_status); }
19785
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19786
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
20504
{ (ac_try="$ac_compiler --version >&5"
 
20505
case "(($ac_try" in
 
20506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20507
  *) ac_try_echo=$ac_try;;
 
20508
esac
 
20509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20510
  (eval "$ac_compiler --version >&5") 2>&5
 
20511
  ac_status=$?
 
20512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20513
  (exit $ac_status); }
 
20514
{ (ac_try="$ac_compiler -v >&5"
 
20515
case "(($ac_try" in
 
20516
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20517
  *) ac_try_echo=$ac_try;;
 
20518
esac
 
20519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20520
  (eval "$ac_compiler -v >&5") 2>&5
 
20521
  ac_status=$?
 
20522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20523
  (exit $ac_status); }
 
20524
{ (ac_try="$ac_compiler -V >&5"
 
20525
case "(($ac_try" in
 
20526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20527
  *) ac_try_echo=$ac_try;;
 
20528
esac
 
20529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20530
  (eval "$ac_compiler -V >&5") 2>&5
19787
20531
  ac_status=$?
19788
20532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789
20533
  (exit $ac_status); }
19790
20534
 
19791
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
19792
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
20535
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
20536
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
19793
20537
if test "${ac_cv_c_compiler_gnu+set}" = set; then
19794
20538
  echo $ECHO_N "(cached) $ECHO_C" >&6
19795
20539
else
19812
20556
}
19813
20557
_ACEOF
19814
20558
rm -f conftest.$ac_objext
19815
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816
 
  (eval $ac_compile) 2>conftest.er1
 
20559
if { (ac_try="$ac_compile"
 
20560
case "(($ac_try" in
 
20561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20562
  *) ac_try_echo=$ac_try;;
 
20563
esac
 
20564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20565
  (eval "$ac_compile") 2>conftest.er1
19817
20566
  ac_status=$?
19818
20567
  grep -v '^ *+' conftest.er1 >conftest.err
19819
20568
  rm -f conftest.er1
19820
20569
  cat conftest.err >&5
19821
20570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822
20571
  (exit $ac_status); } &&
19823
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19824
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825
 
  (eval $ac_try) 2>&5
 
20572
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20573
  { (case "(($ac_try" in
 
20574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20575
  *) ac_try_echo=$ac_try;;
 
20576
esac
 
20577
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20578
  (eval "$ac_try") 2>&5
19826
20579
  ac_status=$?
19827
20580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828
20581
  (exit $ac_status); }; } &&
19829
20582
         { ac_try='test -s conftest.$ac_objext'
19830
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831
 
  (eval $ac_try) 2>&5
 
20583
  { (case "(($ac_try" in
 
20584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20585
  *) ac_try_echo=$ac_try;;
 
20586
esac
 
20587
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20588
  (eval "$ac_try") 2>&5
19832
20589
  ac_status=$?
19833
20590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834
20591
  (exit $ac_status); }; }; then
19837
20594
  echo "$as_me: failed program was:" >&5
19838
20595
sed 's/^/| /' conftest.$ac_ext >&5
19839
20596
 
19840
 
ac_compiler_gnu=no
 
20597
        ac_compiler_gnu=no
19841
20598
fi
19842
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20599
 
 
20600
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19843
20601
ac_cv_c_compiler_gnu=$ac_compiler_gnu
19844
20602
 
19845
20603
fi
19846
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
19847
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
20604
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
20605
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
19848
20606
GCC=`test $ac_compiler_gnu = yes && echo yes`
19849
20607
ac_test_CFLAGS=${CFLAGS+set}
19850
20608
ac_save_CFLAGS=$CFLAGS
19851
 
CFLAGS="-g"
19852
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19853
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
20609
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
20610
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19854
20611
if test "${ac_cv_prog_cc_g+set}" = set; then
19855
20612
  echo $ECHO_N "(cached) $ECHO_C" >&6
19856
20613
else
19857
 
  cat >conftest.$ac_ext <<_ACEOF
19858
 
/* confdefs.h.  */
19859
 
_ACEOF
19860
 
cat confdefs.h >>conftest.$ac_ext
19861
 
cat >>conftest.$ac_ext <<_ACEOF
19862
 
/* end confdefs.h.  */
19863
 
 
19864
 
int
19865
 
main ()
19866
 
{
19867
 
 
19868
 
  ;
19869
 
  return 0;
19870
 
}
19871
 
_ACEOF
19872
 
rm -f conftest.$ac_objext
19873
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874
 
  (eval $ac_compile) 2>conftest.er1
19875
 
  ac_status=$?
19876
 
  grep -v '^ *+' conftest.er1 >conftest.err
19877
 
  rm -f conftest.er1
19878
 
  cat conftest.err >&5
19879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880
 
  (exit $ac_status); } &&
19881
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883
 
  (eval $ac_try) 2>&5
19884
 
  ac_status=$?
19885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886
 
  (exit $ac_status); }; } &&
19887
 
         { ac_try='test -s conftest.$ac_objext'
19888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889
 
  (eval $ac_try) 2>&5
19890
 
  ac_status=$?
19891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
 
  (exit $ac_status); }; }; then
19893
 
  ac_cv_prog_cc_g=yes
19894
 
else
19895
 
  echo "$as_me: failed program was:" >&5
19896
 
sed 's/^/| /' conftest.$ac_ext >&5
19897
 
 
19898
 
ac_cv_prog_cc_g=no
19899
 
fi
19900
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19901
 
fi
19902
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19903
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
20614
  ac_save_c_werror_flag=$ac_c_werror_flag
 
20615
   ac_c_werror_flag=yes
 
20616
   ac_cv_prog_cc_g=no
 
20617
   CFLAGS="-g"
 
20618
   cat >conftest.$ac_ext <<_ACEOF
 
20619
/* confdefs.h.  */
 
20620
_ACEOF
 
20621
cat confdefs.h >>conftest.$ac_ext
 
20622
cat >>conftest.$ac_ext <<_ACEOF
 
20623
/* end confdefs.h.  */
 
20624
 
 
20625
int
 
20626
main ()
 
20627
{
 
20628
 
 
20629
  ;
 
20630
  return 0;
 
20631
}
 
20632
_ACEOF
 
20633
rm -f conftest.$ac_objext
 
20634
if { (ac_try="$ac_compile"
 
20635
case "(($ac_try" in
 
20636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20637
  *) ac_try_echo=$ac_try;;
 
20638
esac
 
20639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20640
  (eval "$ac_compile") 2>conftest.er1
 
20641
  ac_status=$?
 
20642
  grep -v '^ *+' conftest.er1 >conftest.err
 
20643
  rm -f conftest.er1
 
20644
  cat conftest.err >&5
 
20645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20646
  (exit $ac_status); } &&
 
20647
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20648
  { (case "(($ac_try" in
 
20649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20650
  *) ac_try_echo=$ac_try;;
 
20651
esac
 
20652
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20653
  (eval "$ac_try") 2>&5
 
20654
  ac_status=$?
 
20655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20656
  (exit $ac_status); }; } &&
 
20657
         { ac_try='test -s conftest.$ac_objext'
 
20658
  { (case "(($ac_try" in
 
20659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20660
  *) ac_try_echo=$ac_try;;
 
20661
esac
 
20662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20663
  (eval "$ac_try") 2>&5
 
20664
  ac_status=$?
 
20665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20666
  (exit $ac_status); }; }; then
 
20667
  ac_cv_prog_cc_g=yes
 
20668
else
 
20669
  echo "$as_me: failed program was:" >&5
 
20670
sed 's/^/| /' conftest.$ac_ext >&5
 
20671
 
 
20672
        CFLAGS=""
 
20673
      cat >conftest.$ac_ext <<_ACEOF
 
20674
/* confdefs.h.  */
 
20675
_ACEOF
 
20676
cat confdefs.h >>conftest.$ac_ext
 
20677
cat >>conftest.$ac_ext <<_ACEOF
 
20678
/* end confdefs.h.  */
 
20679
 
 
20680
int
 
20681
main ()
 
20682
{
 
20683
 
 
20684
  ;
 
20685
  return 0;
 
20686
}
 
20687
_ACEOF
 
20688
rm -f conftest.$ac_objext
 
20689
if { (ac_try="$ac_compile"
 
20690
case "(($ac_try" in
 
20691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20692
  *) ac_try_echo=$ac_try;;
 
20693
esac
 
20694
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20695
  (eval "$ac_compile") 2>conftest.er1
 
20696
  ac_status=$?
 
20697
  grep -v '^ *+' conftest.er1 >conftest.err
 
20698
  rm -f conftest.er1
 
20699
  cat conftest.err >&5
 
20700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20701
  (exit $ac_status); } &&
 
20702
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20703
  { (case "(($ac_try" in
 
20704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20705
  *) ac_try_echo=$ac_try;;
 
20706
esac
 
20707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20708
  (eval "$ac_try") 2>&5
 
20709
  ac_status=$?
 
20710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20711
  (exit $ac_status); }; } &&
 
20712
         { ac_try='test -s conftest.$ac_objext'
 
20713
  { (case "(($ac_try" in
 
20714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20715
  *) ac_try_echo=$ac_try;;
 
20716
esac
 
20717
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20718
  (eval "$ac_try") 2>&5
 
20719
  ac_status=$?
 
20720
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20721
  (exit $ac_status); }; }; then
 
20722
  :
 
20723
else
 
20724
  echo "$as_me: failed program was:" >&5
 
20725
sed 's/^/| /' conftest.$ac_ext >&5
 
20726
 
 
20727
        ac_c_werror_flag=$ac_save_c_werror_flag
 
20728
         CFLAGS="-g"
 
20729
         cat >conftest.$ac_ext <<_ACEOF
 
20730
/* confdefs.h.  */
 
20731
_ACEOF
 
20732
cat confdefs.h >>conftest.$ac_ext
 
20733
cat >>conftest.$ac_ext <<_ACEOF
 
20734
/* end confdefs.h.  */
 
20735
 
 
20736
int
 
20737
main ()
 
20738
{
 
20739
 
 
20740
  ;
 
20741
  return 0;
 
20742
}
 
20743
_ACEOF
 
20744
rm -f conftest.$ac_objext
 
20745
if { (ac_try="$ac_compile"
 
20746
case "(($ac_try" in
 
20747
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20748
  *) ac_try_echo=$ac_try;;
 
20749
esac
 
20750
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20751
  (eval "$ac_compile") 2>conftest.er1
 
20752
  ac_status=$?
 
20753
  grep -v '^ *+' conftest.er1 >conftest.err
 
20754
  rm -f conftest.er1
 
20755
  cat conftest.err >&5
 
20756
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20757
  (exit $ac_status); } &&
 
20758
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20759
  { (case "(($ac_try" in
 
20760
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20761
  *) ac_try_echo=$ac_try;;
 
20762
esac
 
20763
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20764
  (eval "$ac_try") 2>&5
 
20765
  ac_status=$?
 
20766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20767
  (exit $ac_status); }; } &&
 
20768
         { ac_try='test -s conftest.$ac_objext'
 
20769
  { (case "(($ac_try" in
 
20770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20771
  *) ac_try_echo=$ac_try;;
 
20772
esac
 
20773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20774
  (eval "$ac_try") 2>&5
 
20775
  ac_status=$?
 
20776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20777
  (exit $ac_status); }; }; then
 
20778
  ac_cv_prog_cc_g=yes
 
20779
else
 
20780
  echo "$as_me: failed program was:" >&5
 
20781
sed 's/^/| /' conftest.$ac_ext >&5
 
20782
 
 
20783
 
 
20784
fi
 
20785
 
 
20786
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20787
fi
 
20788
 
 
20789
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20790
fi
 
20791
 
 
20792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20793
   ac_c_werror_flag=$ac_save_c_werror_flag
 
20794
fi
 
20795
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
20796
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19904
20797
if test "$ac_test_CFLAGS" = set; then
19905
20798
  CFLAGS=$ac_save_CFLAGS
19906
20799
elif test $ac_cv_prog_cc_g = yes; then
19916
20809
    CFLAGS=
19917
20810
  fi
19918
20811
fi
19919
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19920
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19921
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
20812
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
20813
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
20814
if test "${ac_cv_prog_cc_c89+set}" = set; then
19922
20815
  echo $ECHO_N "(cached) $ECHO_C" >&6
19923
20816
else
19924
 
  ac_cv_prog_cc_stdc=no
 
20817
  ac_cv_prog_cc_c89=no
19925
20818
ac_save_CC=$CC
19926
20819
cat >conftest.$ac_ext <<_ACEOF
19927
20820
/* confdefs.h.  */
19955
20848
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
19956
20849
   function prototypes and stuff, but not '\xHH' hex character constants.
19957
20850
   These don't provoke an error unfortunately, instead are silently treated
19958
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
20851
   as 'x'.  The following induces an error, until -std is added to get
19959
20852
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
19960
20853
   array size at least.  It's necessary to write '\x00'==0 to get something
19961
 
   that's true only with -std1.  */
 
20854
   that's true only with -std.  */
19962
20855
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19963
20856
 
 
20857
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
20858
   inside strings and character constants.  */
 
20859
#define FOO(x) 'x'
 
20860
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
20861
 
19964
20862
int test (int i, double x);
19965
20863
struct s1 {int (*f) (int a);};
19966
20864
struct s2 {int (*f) (double a);};
19975
20873
  return 0;
19976
20874
}
19977
20875
_ACEOF
19978
 
# Don't try gcc -ansi; that turns off useful extensions and
19979
 
# breaks some systems' header files.
19980
 
# AIX                   -qlanglvl=ansi
19981
 
# Ultrix and OSF/1      -std1
19982
 
# HP-UX 10.20 and later -Ae
19983
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
19984
 
# SVR4                  -Xc -D__EXTENSIONS__
19985
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
20876
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
20877
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19986
20878
do
19987
20879
  CC="$ac_save_CC $ac_arg"
19988
20880
  rm -f conftest.$ac_objext
19989
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19990
 
  (eval $ac_compile) 2>conftest.er1
 
20881
if { (ac_try="$ac_compile"
 
20882
case "(($ac_try" in
 
20883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20884
  *) ac_try_echo=$ac_try;;
 
20885
esac
 
20886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20887
  (eval "$ac_compile") 2>conftest.er1
19991
20888
  ac_status=$?
19992
20889
  grep -v '^ *+' conftest.er1 >conftest.err
19993
20890
  rm -f conftest.er1
19994
20891
  cat conftest.err >&5
19995
20892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996
20893
  (exit $ac_status); } &&
19997
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19998
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999
 
  (eval $ac_try) 2>&5
 
20894
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20895
  { (case "(($ac_try" in
 
20896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20897
  *) ac_try_echo=$ac_try;;
 
20898
esac
 
20899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20900
  (eval "$ac_try") 2>&5
20000
20901
  ac_status=$?
20001
20902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002
20903
  (exit $ac_status); }; } &&
20003
20904
         { ac_try='test -s conftest.$ac_objext'
20004
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20005
 
  (eval $ac_try) 2>&5
 
20905
  { (case "(($ac_try" in
 
20906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20907
  *) ac_try_echo=$ac_try;;
 
20908
esac
 
20909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20910
  (eval "$ac_try") 2>&5
20006
20911
  ac_status=$?
20007
20912
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008
20913
  (exit $ac_status); }; }; then
20009
 
  ac_cv_prog_cc_stdc=$ac_arg
20010
 
break
 
20914
  ac_cv_prog_cc_c89=$ac_arg
20011
20915
else
20012
20916
  echo "$as_me: failed program was:" >&5
20013
20917
sed 's/^/| /' conftest.$ac_ext >&5
20014
20918
 
 
20919
 
20015
20920
fi
20016
 
rm -f conftest.err conftest.$ac_objext
 
20921
 
 
20922
rm -f core conftest.err conftest.$ac_objext
 
20923
  test "x$ac_cv_prog_cc_c89" != "xno" && break
20017
20924
done
20018
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
20925
rm -f conftest.$ac_ext
20019
20926
CC=$ac_save_CC
20020
20927
 
20021
20928
fi
20022
 
 
20023
 
case "x$ac_cv_prog_cc_stdc" in
20024
 
  x|xno)
20025
 
    echo "$as_me:$LINENO: result: none needed" >&5
20026
 
echo "${ECHO_T}none needed" >&6 ;;
 
20929
# AC_CACHE_VAL
 
20930
case "x$ac_cv_prog_cc_c89" in
 
20931
  x)
 
20932
    { echo "$as_me:$LINENO: result: none needed" >&5
 
20933
echo "${ECHO_T}none needed" >&6; } ;;
 
20934
  xno)
 
20935
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
20936
echo "${ECHO_T}unsupported" >&6; } ;;
20027
20937
  *)
20028
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
20029
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
20030
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
20938
    CC="$CC $ac_cv_prog_cc_c89"
 
20939
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
20940
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
20031
20941
esac
20032
20942
 
20033
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
20034
 
# in C++ we need to declare it.  In case someone uses the same compiler
20035
 
# for both compiling C and C++ we need to have the C++ compiler decide
20036
 
# the declaration of exit, since it's the most demanding environment.
20037
 
cat >conftest.$ac_ext <<_ACEOF
20038
 
#ifndef __cplusplus
20039
 
  choke me
20040
 
#endif
20041
 
_ACEOF
20042
 
rm -f conftest.$ac_objext
20043
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20044
 
  (eval $ac_compile) 2>conftest.er1
20045
 
  ac_status=$?
20046
 
  grep -v '^ *+' conftest.er1 >conftest.err
20047
 
  rm -f conftest.er1
20048
 
  cat conftest.err >&5
20049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050
 
  (exit $ac_status); } &&
20051
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20052
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053
 
  (eval $ac_try) 2>&5
20054
 
  ac_status=$?
20055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056
 
  (exit $ac_status); }; } &&
20057
 
         { ac_try='test -s conftest.$ac_objext'
20058
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059
 
  (eval $ac_try) 2>&5
20060
 
  ac_status=$?
20061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062
 
  (exit $ac_status); }; }; then
20063
 
  for ac_declaration in \
20064
 
   '' \
20065
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
20066
 
   'extern "C" void std::exit (int); using std::exit;' \
20067
 
   'extern "C" void exit (int) throw ();' \
20068
 
   'extern "C" void exit (int);' \
20069
 
   'void exit (int);'
20070
 
do
20071
 
  cat >conftest.$ac_ext <<_ACEOF
20072
 
/* confdefs.h.  */
20073
 
_ACEOF
20074
 
cat confdefs.h >>conftest.$ac_ext
20075
 
cat >>conftest.$ac_ext <<_ACEOF
20076
 
/* end confdefs.h.  */
20077
 
$ac_declaration
20078
 
#include <stdlib.h>
20079
 
int
20080
 
main ()
20081
 
{
20082
 
exit (42);
20083
 
  ;
20084
 
  return 0;
20085
 
}
20086
 
_ACEOF
20087
 
rm -f conftest.$ac_objext
20088
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20089
 
  (eval $ac_compile) 2>conftest.er1
20090
 
  ac_status=$?
20091
 
  grep -v '^ *+' conftest.er1 >conftest.err
20092
 
  rm -f conftest.er1
20093
 
  cat conftest.err >&5
20094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095
 
  (exit $ac_status); } &&
20096
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20097
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20098
 
  (eval $ac_try) 2>&5
20099
 
  ac_status=$?
20100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101
 
  (exit $ac_status); }; } &&
20102
 
         { ac_try='test -s conftest.$ac_objext'
20103
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104
 
  (eval $ac_try) 2>&5
20105
 
  ac_status=$?
20106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107
 
  (exit $ac_status); }; }; then
20108
 
  :
20109
 
else
20110
 
  echo "$as_me: failed program was:" >&5
20111
 
sed 's/^/| /' conftest.$ac_ext >&5
20112
 
 
20113
 
continue
20114
 
fi
20115
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20116
 
  cat >conftest.$ac_ext <<_ACEOF
20117
 
/* confdefs.h.  */
20118
 
_ACEOF
20119
 
cat confdefs.h >>conftest.$ac_ext
20120
 
cat >>conftest.$ac_ext <<_ACEOF
20121
 
/* end confdefs.h.  */
20122
 
$ac_declaration
20123
 
int
20124
 
main ()
20125
 
{
20126
 
exit (42);
20127
 
  ;
20128
 
  return 0;
20129
 
}
20130
 
_ACEOF
20131
 
rm -f conftest.$ac_objext
20132
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20133
 
  (eval $ac_compile) 2>conftest.er1
20134
 
  ac_status=$?
20135
 
  grep -v '^ *+' conftest.er1 >conftest.err
20136
 
  rm -f conftest.er1
20137
 
  cat conftest.err >&5
20138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139
 
  (exit $ac_status); } &&
20140
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142
 
  (eval $ac_try) 2>&5
20143
 
  ac_status=$?
20144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145
 
  (exit $ac_status); }; } &&
20146
 
         { ac_try='test -s conftest.$ac_objext'
20147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148
 
  (eval $ac_try) 2>&5
20149
 
  ac_status=$?
20150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151
 
  (exit $ac_status); }; }; then
20152
 
  break
20153
 
else
20154
 
  echo "$as_me: failed program was:" >&5
20155
 
sed 's/^/| /' conftest.$ac_ext >&5
20156
 
 
20157
 
fi
20158
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20159
 
done
20160
 
rm -f conftest*
20161
 
if test -n "$ac_declaration"; then
20162
 
  echo '#ifdef __cplusplus' >>confdefs.h
20163
 
  echo $ac_declaration      >>confdefs.h
20164
 
  echo '#endif'             >>confdefs.h
20165
 
fi
20166
 
 
20167
 
else
20168
 
  echo "$as_me: failed program was:" >&5
20169
 
sed 's/^/| /' conftest.$ac_ext >&5
20170
 
 
20171
 
fi
20172
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20943
 
20173
20944
ac_ext=c
20174
20945
ac_cpp='$CPP $CPPFLAGS'
20175
20946
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20178
20949
 
20179
20950
depcc="$CC"   am_compiler_list=
20180
20951
 
20181
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20182
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
20952
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
20953
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20183
20954
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20184
20955
  echo $ECHO_N "(cached) $ECHO_C" >&6
20185
20956
else
20217
20988
    : > sub/conftest.c
20218
20989
    for i in 1 2 3 4 5 6; do
20219
20990
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
20220
 
      : > sub/conftst$i.h
 
20991
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
20992
      # Solaris 8's {/usr,}/bin/sh.
 
20993
      touch sub/conftst$i.h
20221
20994
    done
20222
20995
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20223
20996
 
20245
21018
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
20246
21019
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
20247
21020
      # icc doesn't choke on unknown options, it will just issue warnings
20248
 
      # (even with -Werror).  So we grep stderr for any message
20249
 
      # that says an option was ignored.
20250
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
21021
      # or remarks (even with -Werror).  So we grep stderr for any message
 
21022
      # that says an option was ignored or not supported.
 
21023
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
21024
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
21025
      # The diagnosis changed in icc 8.0:
 
21026
      #   icc: Command line remark: option '-MP' not supported
 
21027
      if (grep 'ignoring option' conftest.err ||
 
21028
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
20251
21029
        am_cv_CC_dependencies_compiler_type=$depmode
20252
21030
        break
20253
21031
      fi
20261
21039
fi
20262
21040
 
20263
21041
fi
20264
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20265
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
21042
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
21043
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
20266
21044
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
20267
21045
 
20268
21046
 
20291
21069
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20292
21070
# OS/2's system install, which has a completely different semantic
20293
21071
# ./install, which can be erroneously created by make from ./install.sh.
20294
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20295
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
21072
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
21073
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
20296
21074
if test -z "$INSTALL"; then
20297
21075
if test "${ac_cv_path_install+set}" = set; then
20298
21076
  echo $ECHO_N "(cached) $ECHO_C" >&6
20314
21092
    # by default.
20315
21093
    for ac_prog in ginstall scoinst install; do
20316
21094
      for ac_exec_ext in '' $ac_executable_extensions; do
20317
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
21095
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
20318
21096
          if test $ac_prog = install &&
20319
21097
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20320
21098
            # AIX install.  It has an incompatible calling convention.
20333
21111
    ;;
20334
21112
esac
20335
21113
done
 
21114
IFS=$as_save_IFS
20336
21115
 
20337
21116
 
20338
21117
fi
20339
21118
  if test "${ac_cv_path_install+set}" = set; then
20340
21119
    INSTALL=$ac_cv_path_install
20341
21120
  else
20342
 
    # As a last resort, use the slow shell script.  We don't cache a
20343
 
    # path for INSTALL within a source directory, because that will
 
21121
    # As a last resort, use the slow shell script.  Don't cache a
 
21122
    # value for INSTALL within a source directory, because that will
20344
21123
    # break other packages using the cache if that directory is
20345
 
    # removed, or if the path is relative.
 
21124
    # removed, or if the value is a relative name.
20346
21125
    INSTALL=$ac_install_sh
20347
21126
  fi
20348
21127
fi
20349
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
20350
 
echo "${ECHO_T}$INSTALL" >&6
 
21128
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
21129
echo "${ECHO_T}$INSTALL" >&6; }
20351
21130
 
20352
21131
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
20353
21132
# It thinks the first close brace ends the variable substitution.
20357
21136
 
20358
21137
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
20359
21138
 
20360
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20361
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
20362
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
20363
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
21139
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
21140
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
21141
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
21142
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20364
21143
  echo $ECHO_N "(cached) $ECHO_C" >&6
20365
21144
else
20366
21145
  cat >conftest.make <<\_ACEOF
 
21146
SHELL = /bin/sh
20367
21147
all:
20368
 
        @echo 'ac_maketemp="$(MAKE)"'
 
21148
        @echo '@@@%%%=$(MAKE)=@@@%%%'
20369
21149
_ACEOF
20370
21150
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20371
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
20372
 
if test -n "$ac_maketemp"; then
20373
 
  eval ac_cv_prog_make_${ac_make}_set=yes
20374
 
else
20375
 
  eval ac_cv_prog_make_${ac_make}_set=no
20376
 
fi
 
21151
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
21152
  *@@@%%%=?*=@@@%%%*)
 
21153
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
21154
  *)
 
21155
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
21156
esac
20377
21157
rm -f conftest.make
20378
21158
fi
20379
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20380
 
  echo "$as_me:$LINENO: result: yes" >&5
20381
 
echo "${ECHO_T}yes" >&6
 
21159
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
21160
  { echo "$as_me:$LINENO: result: yes" >&5
 
21161
echo "${ECHO_T}yes" >&6; }
20382
21162
  SET_MAKE=
20383
21163
else
20384
 
  echo "$as_me:$LINENO: result: no" >&5
20385
 
echo "${ECHO_T}no" >&6
 
21164
  { echo "$as_me:$LINENO: result: no" >&5
 
21165
echo "${ECHO_T}no" >&6; }
20386
21166
  SET_MAKE="MAKE=${MAKE-make}"
20387
21167
fi
20388
21168
 
20389
21169
 
20390
21170
 
20391
 
ALL_LINGUAS="am az be ca cs da de en_CA en_GB es eu fi fr he hr hu it ja lv ml mn nl no pl pt pt_BR ru rw sk sr sr@Latn sv tr uk vi zh_CN"
 
21171
ALL_LINGUAS="ar am az be ca cs da de en_CA en_GB es eu fi fr he hr hu it ja lv ml mn nb nl pa pl pt pt_BR ru rw sk sr sr@Latn sv tr uk vi zh_CN zh_TW"
20392
21172
 
20393
21173
 
20394
21174
for ac_header in locale.h
20395
21175
do
20396
21176
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20397
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20398
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20399
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20400
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21177
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21178
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21179
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21180
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20401
21181
  echo $ECHO_N "(cached) $ECHO_C" >&6
20402
21182
fi
20403
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20404
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21183
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21184
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21185
echo "${ECHO_T}$ac_res" >&6; }
20405
21186
else
20406
21187
  # Is the header compilable?
20407
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20408
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21188
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21189
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20409
21190
cat >conftest.$ac_ext <<_ACEOF
20410
21191
/* confdefs.h.  */
20411
21192
_ACEOF
20416
21197
#include <$ac_header>
20417
21198
_ACEOF
20418
21199
rm -f conftest.$ac_objext
20419
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20420
 
  (eval $ac_compile) 2>conftest.er1
 
21200
if { (ac_try="$ac_compile"
 
21201
case "(($ac_try" in
 
21202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21203
  *) ac_try_echo=$ac_try;;
 
21204
esac
 
21205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21206
  (eval "$ac_compile") 2>conftest.er1
20421
21207
  ac_status=$?
20422
21208
  grep -v '^ *+' conftest.er1 >conftest.err
20423
21209
  rm -f conftest.er1
20424
21210
  cat conftest.err >&5
20425
21211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426
21212
  (exit $ac_status); } &&
20427
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20428
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429
 
  (eval $ac_try) 2>&5
 
21213
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21214
  { (case "(($ac_try" in
 
21215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21216
  *) ac_try_echo=$ac_try;;
 
21217
esac
 
21218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21219
  (eval "$ac_try") 2>&5
20430
21220
  ac_status=$?
20431
21221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432
21222
  (exit $ac_status); }; } &&
20433
21223
         { ac_try='test -s conftest.$ac_objext'
20434
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435
 
  (eval $ac_try) 2>&5
 
21224
  { (case "(($ac_try" in
 
21225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21226
  *) ac_try_echo=$ac_try;;
 
21227
esac
 
21228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21229
  (eval "$ac_try") 2>&5
20436
21230
  ac_status=$?
20437
21231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438
21232
  (exit $ac_status); }; }; then
20441
21235
  echo "$as_me: failed program was:" >&5
20442
21236
sed 's/^/| /' conftest.$ac_ext >&5
20443
21237
 
20444
 
ac_header_compiler=no
 
21238
        ac_header_compiler=no
20445
21239
fi
20446
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20447
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20448
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21240
 
 
21241
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21242
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21243
echo "${ECHO_T}$ac_header_compiler" >&6; }
20449
21244
 
20450
21245
# Is the header present?
20451
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20452
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21246
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21247
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20453
21248
cat >conftest.$ac_ext <<_ACEOF
20454
21249
/* confdefs.h.  */
20455
21250
_ACEOF
20458
21253
/* end confdefs.h.  */
20459
21254
#include <$ac_header>
20460
21255
_ACEOF
20461
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20462
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21256
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21257
case "(($ac_try" in
 
21258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21259
  *) ac_try_echo=$ac_try;;
 
21260
esac
 
21261
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21262
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20463
21263
  ac_status=$?
20464
21264
  grep -v '^ *+' conftest.er1 >conftest.err
20465
21265
  rm -f conftest.er1
20483
21283
 
20484
21284
  ac_header_preproc=no
20485
21285
fi
 
21286
 
20486
21287
rm -f conftest.err conftest.$ac_ext
20487
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20488
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21288
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21289
echo "${ECHO_T}$ac_header_preproc" >&6; }
20489
21290
 
20490
21291
# So?  What about this header?
20491
21292
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20509
21310
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20510
21311
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20511
21312
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20512
 
    (
20513
 
      cat <<\_ASBOX
 
21313
    ( cat <<\_ASBOX
20514
21314
## -------------------------------------------- ##
20515
21315
## Report this to http://mfcn.ilo.de/gnomeradio ##
20516
21316
## -------------------------------------------- ##
20517
21317
_ASBOX
20518
 
    ) |
20519
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21318
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20520
21319
    ;;
20521
21320
esac
20522
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20523
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20524
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21321
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21322
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21323
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20525
21324
  echo $ECHO_N "(cached) $ECHO_C" >&6
20526
21325
else
20527
21326
  eval "$as_ac_Header=\$ac_header_preproc"
20528
21327
fi
20529
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20530
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21328
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21329
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21330
echo "${ECHO_T}$ac_res" >&6; }
20531
21331
 
20532
21332
fi
20533
21333
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20540
21340
done
20541
21341
 
20542
21342
    if test $ac_cv_header_locale_h = yes; then
20543
 
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
20544
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
21343
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
21344
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
20545
21345
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
20546
21346
  echo $ECHO_N "(cached) $ECHO_C" >&6
20547
21347
else
20561
21361
}
20562
21362
_ACEOF
20563
21363
rm -f conftest.$ac_objext conftest$ac_exeext
20564
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20565
 
  (eval $ac_link) 2>conftest.er1
 
21364
if { (ac_try="$ac_link"
 
21365
case "(($ac_try" in
 
21366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21367
  *) ac_try_echo=$ac_try;;
 
21368
esac
 
21369
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21370
  (eval "$ac_link") 2>conftest.er1
20566
21371
  ac_status=$?
20567
21372
  grep -v '^ *+' conftest.er1 >conftest.err
20568
21373
  rm -f conftest.er1
20569
21374
  cat conftest.err >&5
20570
21375
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571
21376
  (exit $ac_status); } &&
20572
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20573
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574
 
  (eval $ac_try) 2>&5
 
21377
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21378
  { (case "(($ac_try" in
 
21379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21380
  *) ac_try_echo=$ac_try;;
 
21381
esac
 
21382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21383
  (eval "$ac_try") 2>&5
20575
21384
  ac_status=$?
20576
21385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577
21386
  (exit $ac_status); }; } &&
20578
21387
         { ac_try='test -s conftest$ac_exeext'
20579
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20580
 
  (eval $ac_try) 2>&5
 
21388
  { (case "(($ac_try" in
 
21389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21390
  *) ac_try_echo=$ac_try;;
 
21391
esac
 
21392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21393
  (eval "$ac_try") 2>&5
20581
21394
  ac_status=$?
20582
21395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583
21396
  (exit $ac_status); }; }; then
20586
21399
  echo "$as_me: failed program was:" >&5
20587
21400
sed 's/^/| /' conftest.$ac_ext >&5
20588
21401
 
20589
 
am_cv_val_LC_MESSAGES=no
 
21402
        am_cv_val_LC_MESSAGES=no
20590
21403
fi
20591
 
rm -f conftest.err conftest.$ac_objext \
 
21404
 
 
21405
rm -f core conftest.err conftest.$ac_objext \
20592
21406
      conftest$ac_exeext conftest.$ac_ext
20593
21407
fi
20594
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
20595
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
21408
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
21409
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
20596
21410
    if test $am_cv_val_LC_MESSAGES = yes; then
20597
21411
 
20598
21412
cat >>confdefs.h <<\_ACEOF
20611
21425
    INTLLIBS=
20612
21426
 
20613
21427
    if test "${ac_cv_header_libintl_h+set}" = set; then
20614
 
  echo "$as_me:$LINENO: checking for libintl.h" >&5
20615
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
21428
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
 
21429
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
20616
21430
if test "${ac_cv_header_libintl_h+set}" = set; then
20617
21431
  echo $ECHO_N "(cached) $ECHO_C" >&6
20618
21432
fi
20619
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
20620
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
21433
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
21434
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
20621
21435
else
20622
21436
  # Is the header compilable?
20623
 
echo "$as_me:$LINENO: checking libintl.h usability" >&5
20624
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
 
21437
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
21438
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
20625
21439
cat >conftest.$ac_ext <<_ACEOF
20626
21440
/* confdefs.h.  */
20627
21441
_ACEOF
20632
21446
#include <libintl.h>
20633
21447
_ACEOF
20634
21448
rm -f conftest.$ac_objext
20635
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20636
 
  (eval $ac_compile) 2>conftest.er1
 
21449
if { (ac_try="$ac_compile"
 
21450
case "(($ac_try" in
 
21451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21452
  *) ac_try_echo=$ac_try;;
 
21453
esac
 
21454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21455
  (eval "$ac_compile") 2>conftest.er1
20637
21456
  ac_status=$?
20638
21457
  grep -v '^ *+' conftest.er1 >conftest.err
20639
21458
  rm -f conftest.er1
20640
21459
  cat conftest.err >&5
20641
21460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642
21461
  (exit $ac_status); } &&
20643
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20644
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645
 
  (eval $ac_try) 2>&5
 
21462
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21463
  { (case "(($ac_try" in
 
21464
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21465
  *) ac_try_echo=$ac_try;;
 
21466
esac
 
21467
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21468
  (eval "$ac_try") 2>&5
20646
21469
  ac_status=$?
20647
21470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648
21471
  (exit $ac_status); }; } &&
20649
21472
         { ac_try='test -s conftest.$ac_objext'
20650
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651
 
  (eval $ac_try) 2>&5
 
21473
  { (case "(($ac_try" in
 
21474
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21475
  *) ac_try_echo=$ac_try;;
 
21476
esac
 
21477
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21478
  (eval "$ac_try") 2>&5
20652
21479
  ac_status=$?
20653
21480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654
21481
  (exit $ac_status); }; }; then
20657
21484
  echo "$as_me: failed program was:" >&5
20658
21485
sed 's/^/| /' conftest.$ac_ext >&5
20659
21486
 
20660
 
ac_header_compiler=no
 
21487
        ac_header_compiler=no
20661
21488
fi
20662
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20663
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20664
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21489
 
 
21490
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21491
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21492
echo "${ECHO_T}$ac_header_compiler" >&6; }
20665
21493
 
20666
21494
# Is the header present?
20667
 
echo "$as_me:$LINENO: checking libintl.h presence" >&5
20668
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
 
21495
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
21496
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
20669
21497
cat >conftest.$ac_ext <<_ACEOF
20670
21498
/* confdefs.h.  */
20671
21499
_ACEOF
20674
21502
/* end confdefs.h.  */
20675
21503
#include <libintl.h>
20676
21504
_ACEOF
20677
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20678
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21505
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21506
case "(($ac_try" in
 
21507
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21508
  *) ac_try_echo=$ac_try;;
 
21509
esac
 
21510
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21511
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20679
21512
  ac_status=$?
20680
21513
  grep -v '^ *+' conftest.er1 >conftest.err
20681
21514
  rm -f conftest.er1
20699
21532
 
20700
21533
  ac_header_preproc=no
20701
21534
fi
 
21535
 
20702
21536
rm -f conftest.err conftest.$ac_ext
20703
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20704
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21537
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21538
echo "${ECHO_T}$ac_header_preproc" >&6; }
20705
21539
 
20706
21540
# So?  What about this header?
20707
21541
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20725
21559
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
20726
21560
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
20727
21561
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
20728
 
    (
20729
 
      cat <<\_ASBOX
 
21562
    ( cat <<\_ASBOX
20730
21563
## -------------------------------------------- ##
20731
21564
## Report this to http://mfcn.ilo.de/gnomeradio ##
20732
21565
## -------------------------------------------- ##
20733
21566
_ASBOX
20734
 
    ) |
20735
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21567
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20736
21568
    ;;
20737
21569
esac
20738
 
echo "$as_me:$LINENO: checking for libintl.h" >&5
20739
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
21570
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
 
21571
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
20740
21572
if test "${ac_cv_header_libintl_h+set}" = set; then
20741
21573
  echo $ECHO_N "(cached) $ECHO_C" >&6
20742
21574
else
20743
21575
  ac_cv_header_libintl_h=$ac_header_preproc
20744
21576
fi
20745
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
20746
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
21577
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
21578
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
20747
21579
 
20748
21580
fi
20749
21581
if test $ac_cv_header_libintl_h = yes; then
20753
21585
      #
20754
21586
      # First check in libc
20755
21587
      #
20756
 
      echo "$as_me:$LINENO: checking for ngettext in libc" >&5
20757
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
 
21588
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
21589
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
20758
21590
if test "${gt_cv_func_ngettext_libc+set}" = set; then
20759
21591
  echo $ECHO_N "(cached) $ECHO_C" >&6
20760
21592
else
20776
21608
}
20777
21609
_ACEOF
20778
21610
rm -f conftest.$ac_objext conftest$ac_exeext
20779
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20780
 
  (eval $ac_link) 2>conftest.er1
 
21611
if { (ac_try="$ac_link"
 
21612
case "(($ac_try" in
 
21613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21614
  *) ac_try_echo=$ac_try;;
 
21615
esac
 
21616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21617
  (eval "$ac_link") 2>conftest.er1
20781
21618
  ac_status=$?
20782
21619
  grep -v '^ *+' conftest.er1 >conftest.err
20783
21620
  rm -f conftest.er1
20784
21621
  cat conftest.err >&5
20785
21622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786
21623
  (exit $ac_status); } &&
20787
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20788
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789
 
  (eval $ac_try) 2>&5
 
21624
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21625
  { (case "(($ac_try" in
 
21626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21627
  *) ac_try_echo=$ac_try;;
 
21628
esac
 
21629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21630
  (eval "$ac_try") 2>&5
20790
21631
  ac_status=$?
20791
21632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792
21633
  (exit $ac_status); }; } &&
20793
21634
         { ac_try='test -s conftest$ac_exeext'
20794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795
 
  (eval $ac_try) 2>&5
 
21635
  { (case "(($ac_try" in
 
21636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21637
  *) ac_try_echo=$ac_try;;
 
21638
esac
 
21639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21640
  (eval "$ac_try") 2>&5
20796
21641
  ac_status=$?
20797
21642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798
21643
  (exit $ac_status); }; }; then
20801
21646
  echo "$as_me: failed program was:" >&5
20802
21647
sed 's/^/| /' conftest.$ac_ext >&5
20803
21648
 
20804
 
gt_cv_func_ngettext_libc=no
 
21649
        gt_cv_func_ngettext_libc=no
20805
21650
fi
20806
 
rm -f conftest.err conftest.$ac_objext \
 
21651
 
 
21652
rm -f core conftest.err conftest.$ac_objext \
20807
21653
      conftest$ac_exeext conftest.$ac_ext
20808
21654
 
20809
21655
fi
20810
 
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
20811
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
 
21656
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
21657
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
20812
21658
 
20813
21659
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20814
 
              echo "$as_me:$LINENO: checking for dgettext in libc" >&5
20815
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
 
21660
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
21661
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
20816
21662
if test "${gt_cv_func_dgettext_libc+set}" = set; then
20817
21663
  echo $ECHO_N "(cached) $ECHO_C" >&6
20818
21664
else
20834
21680
}
20835
21681
_ACEOF
20836
21682
rm -f conftest.$ac_objext conftest$ac_exeext
20837
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20838
 
  (eval $ac_link) 2>conftest.er1
 
21683
if { (ac_try="$ac_link"
 
21684
case "(($ac_try" in
 
21685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21686
  *) ac_try_echo=$ac_try;;
 
21687
esac
 
21688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21689
  (eval "$ac_link") 2>conftest.er1
20839
21690
  ac_status=$?
20840
21691
  grep -v '^ *+' conftest.er1 >conftest.err
20841
21692
  rm -f conftest.er1
20842
21693
  cat conftest.err >&5
20843
21694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844
21695
  (exit $ac_status); } &&
20845
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847
 
  (eval $ac_try) 2>&5
 
21696
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21697
  { (case "(($ac_try" in
 
21698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21699
  *) ac_try_echo=$ac_try;;
 
21700
esac
 
21701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21702
  (eval "$ac_try") 2>&5
20848
21703
  ac_status=$?
20849
21704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850
21705
  (exit $ac_status); }; } &&
20851
21706
         { ac_try='test -s conftest$ac_exeext'
20852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853
 
  (eval $ac_try) 2>&5
 
21707
  { (case "(($ac_try" in
 
21708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21709
  *) ac_try_echo=$ac_try;;
 
21710
esac
 
21711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21712
  (eval "$ac_try") 2>&5
20854
21713
  ac_status=$?
20855
21714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856
21715
  (exit $ac_status); }; }; then
20859
21718
  echo "$as_me: failed program was:" >&5
20860
21719
sed 's/^/| /' conftest.$ac_ext >&5
20861
21720
 
20862
 
gt_cv_func_dgettext_libc=no
 
21721
        gt_cv_func_dgettext_libc=no
20863
21722
fi
20864
 
rm -f conftest.err conftest.$ac_objext \
 
21723
 
 
21724
rm -f core conftest.err conftest.$ac_objext \
20865
21725
      conftest$ac_exeext conftest.$ac_ext
20866
21726
 
20867
21727
fi
20868
 
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
20869
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
 
21728
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
21729
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
20870
21730
      fi
20871
21731
 
20872
21732
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20874
21734
for ac_func in bind_textdomain_codeset
20875
21735
do
20876
21736
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20877
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20878
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20879
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21737
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21738
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21739
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20880
21740
  echo $ECHO_N "(cached) $ECHO_C" >&6
20881
21741
else
20882
21742
  cat >conftest.$ac_ext <<_ACEOF
20902
21762
 
20903
21763
#undef $ac_func
20904
21764
 
20905
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21765
/* Override any GCC internal prototype to avoid an error.
 
21766
   Use char because int might match the return type of a GCC
 
21767
   builtin and then its argument prototype would still apply.  */
20906
21768
#ifdef __cplusplus
20907
21769
extern "C"
20908
 
{
20909
21770
#endif
20910
 
/* We use char because int might match the return type of a gcc2
20911
 
   builtin and then its argument prototype would still apply.  */
20912
21771
char $ac_func ();
20913
21772
/* The GNU C library defines this for functions which it implements
20914
21773
    to always fail with ENOSYS.  Some functions are actually named
20915
21774
    something starting with __ and the normal name is an alias.  */
20916
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21775
#if defined __stub_$ac_func || defined __stub___$ac_func
20917
21776
choke me
20918
 
#else
20919
 
char (*f) () = $ac_func;
20920
 
#endif
20921
 
#ifdef __cplusplus
20922
 
}
20923
21777
#endif
20924
21778
 
20925
21779
int
20926
21780
main ()
20927
21781
{
20928
 
return f != $ac_func;
 
21782
return $ac_func ();
20929
21783
  ;
20930
21784
  return 0;
20931
21785
}
20932
21786
_ACEOF
20933
21787
rm -f conftest.$ac_objext conftest$ac_exeext
20934
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20935
 
  (eval $ac_link) 2>conftest.er1
 
21788
if { (ac_try="$ac_link"
 
21789
case "(($ac_try" in
 
21790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21791
  *) ac_try_echo=$ac_try;;
 
21792
esac
 
21793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21794
  (eval "$ac_link") 2>conftest.er1
20936
21795
  ac_status=$?
20937
21796
  grep -v '^ *+' conftest.er1 >conftest.err
20938
21797
  rm -f conftest.er1
20939
21798
  cat conftest.err >&5
20940
21799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941
21800
  (exit $ac_status); } &&
20942
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20943
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944
 
  (eval $ac_try) 2>&5
 
21801
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21802
  { (case "(($ac_try" in
 
21803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21804
  *) ac_try_echo=$ac_try;;
 
21805
esac
 
21806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21807
  (eval "$ac_try") 2>&5
20945
21808
  ac_status=$?
20946
21809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947
21810
  (exit $ac_status); }; } &&
20948
21811
         { ac_try='test -s conftest$ac_exeext'
20949
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950
 
  (eval $ac_try) 2>&5
 
21812
  { (case "(($ac_try" in
 
21813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21814
  *) ac_try_echo=$ac_try;;
 
21815
esac
 
21816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21817
  (eval "$ac_try") 2>&5
20951
21818
  ac_status=$?
20952
21819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953
21820
  (exit $ac_status); }; }; then
20956
21823
  echo "$as_me: failed program was:" >&5
20957
21824
sed 's/^/| /' conftest.$ac_ext >&5
20958
21825
 
20959
 
eval "$as_ac_var=no"
 
21826
        eval "$as_ac_var=no"
20960
21827
fi
20961
 
rm -f conftest.err conftest.$ac_objext \
 
21828
 
 
21829
rm -f core conftest.err conftest.$ac_objext \
20962
21830
      conftest$ac_exeext conftest.$ac_ext
20963
21831
fi
20964
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20965
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21832
ac_res=`eval echo '${'$as_ac_var'}'`
 
21833
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21834
echo "${ECHO_T}$ac_res" >&6; }
20966
21835
if test `eval echo '${'$as_ac_var'}'` = yes; then
20967
21836
  cat >>confdefs.h <<_ACEOF
20968
21837
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20980
21849
         || test "$gt_cv_func_ngettext_libc" != "yes" \
20981
21850
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20982
21851
 
20983
 
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
20984
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
 
21852
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
21853
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
20985
21854
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
20986
21855
  echo $ECHO_N "(cached) $ECHO_C" >&6
20987
21856
else
20994
21863
cat >>conftest.$ac_ext <<_ACEOF
20995
21864
/* end confdefs.h.  */
20996
21865
 
20997
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21866
/* Override any GCC internal prototype to avoid an error.
 
21867
   Use char because int might match the return type of a GCC
 
21868
   builtin and then its argument prototype would still apply.  */
20998
21869
#ifdef __cplusplus
20999
21870
extern "C"
21000
21871
#endif
21001
 
/* We use char because int might match the return type of a gcc2
21002
 
   builtin and then its argument prototype would still apply.  */
21003
21872
char bindtextdomain ();
21004
21873
int
21005
21874
main ()
21006
21875
{
21007
 
bindtextdomain ();
 
21876
return bindtextdomain ();
21008
21877
  ;
21009
21878
  return 0;
21010
21879
}
21011
21880
_ACEOF
21012
21881
rm -f conftest.$ac_objext conftest$ac_exeext
21013
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21014
 
  (eval $ac_link) 2>conftest.er1
 
21882
if { (ac_try="$ac_link"
 
21883
case "(($ac_try" in
 
21884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21885
  *) ac_try_echo=$ac_try;;
 
21886
esac
 
21887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21888
  (eval "$ac_link") 2>conftest.er1
21015
21889
  ac_status=$?
21016
21890
  grep -v '^ *+' conftest.er1 >conftest.err
21017
21891
  rm -f conftest.er1
21018
21892
  cat conftest.err >&5
21019
21893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020
21894
  (exit $ac_status); } &&
21021
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023
 
  (eval $ac_try) 2>&5
 
21895
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21896
  { (case "(($ac_try" in
 
21897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21898
  *) ac_try_echo=$ac_try;;
 
21899
esac
 
21900
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21901
  (eval "$ac_try") 2>&5
21024
21902
  ac_status=$?
21025
21903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026
21904
  (exit $ac_status); }; } &&
21027
21905
         { ac_try='test -s conftest$ac_exeext'
21028
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029
 
  (eval $ac_try) 2>&5
 
21906
  { (case "(($ac_try" in
 
21907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21908
  *) ac_try_echo=$ac_try;;
 
21909
esac
 
21910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21911
  (eval "$ac_try") 2>&5
21030
21912
  ac_status=$?
21031
21913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032
21914
  (exit $ac_status); }; }; then
21035
21917
  echo "$as_me: failed program was:" >&5
21036
21918
sed 's/^/| /' conftest.$ac_ext >&5
21037
21919
 
21038
 
ac_cv_lib_intl_bindtextdomain=no
 
21920
        ac_cv_lib_intl_bindtextdomain=no
21039
21921
fi
21040
 
rm -f conftest.err conftest.$ac_objext \
 
21922
 
 
21923
rm -f core conftest.err conftest.$ac_objext \
21041
21924
      conftest$ac_exeext conftest.$ac_ext
21042
21925
LIBS=$ac_check_lib_save_LIBS
21043
21926
fi
21044
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21045
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 
21927
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
21928
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21046
21929
if test $ac_cv_lib_intl_bindtextdomain = yes; then
21047
 
  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21048
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
21930
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
21931
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21049
21932
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21050
21933
  echo $ECHO_N "(cached) $ECHO_C" >&6
21051
21934
else
21058
21941
cat >>conftest.$ac_ext <<_ACEOF
21059
21942
/* end confdefs.h.  */
21060
21943
 
21061
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21944
/* Override any GCC internal prototype to avoid an error.
 
21945
   Use char because int might match the return type of a GCC
 
21946
   builtin and then its argument prototype would still apply.  */
21062
21947
#ifdef __cplusplus
21063
21948
extern "C"
21064
21949
#endif
21065
 
/* We use char because int might match the return type of a gcc2
21066
 
   builtin and then its argument prototype would still apply.  */
21067
21950
char ngettext ();
21068
21951
int
21069
21952
main ()
21070
21953
{
21071
 
ngettext ();
 
21954
return ngettext ();
21072
21955
  ;
21073
21956
  return 0;
21074
21957
}
21075
21958
_ACEOF
21076
21959
rm -f conftest.$ac_objext conftest$ac_exeext
21077
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21078
 
  (eval $ac_link) 2>conftest.er1
 
21960
if { (ac_try="$ac_link"
 
21961
case "(($ac_try" in
 
21962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21963
  *) ac_try_echo=$ac_try;;
 
21964
esac
 
21965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21966
  (eval "$ac_link") 2>conftest.er1
21079
21967
  ac_status=$?
21080
21968
  grep -v '^ *+' conftest.er1 >conftest.err
21081
21969
  rm -f conftest.er1
21082
21970
  cat conftest.err >&5
21083
21971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084
21972
  (exit $ac_status); } &&
21085
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21086
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087
 
  (eval $ac_try) 2>&5
 
21973
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21974
  { (case "(($ac_try" in
 
21975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21976
  *) ac_try_echo=$ac_try;;
 
21977
esac
 
21978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21979
  (eval "$ac_try") 2>&5
21088
21980
  ac_status=$?
21089
21981
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090
21982
  (exit $ac_status); }; } &&
21091
21983
         { ac_try='test -s conftest$ac_exeext'
21092
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093
 
  (eval $ac_try) 2>&5
 
21984
  { (case "(($ac_try" in
 
21985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21986
  *) ac_try_echo=$ac_try;;
 
21987
esac
 
21988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21989
  (eval "$ac_try") 2>&5
21094
21990
  ac_status=$?
21095
21991
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096
21992
  (exit $ac_status); }; }; then
21099
21995
  echo "$as_me: failed program was:" >&5
21100
21996
sed 's/^/| /' conftest.$ac_ext >&5
21101
21997
 
21102
 
ac_cv_lib_intl_ngettext=no
 
21998
        ac_cv_lib_intl_ngettext=no
21103
21999
fi
21104
 
rm -f conftest.err conftest.$ac_objext \
 
22000
 
 
22001
rm -f core conftest.err conftest.$ac_objext \
21105
22002
      conftest$ac_exeext conftest.$ac_ext
21106
22003
LIBS=$ac_check_lib_save_LIBS
21107
22004
fi
21108
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21109
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
22005
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
22006
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21110
22007
if test $ac_cv_lib_intl_ngettext = yes; then
21111
 
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
21112
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
 
22008
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
22009
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
21113
22010
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21114
22011
  echo $ECHO_N "(cached) $ECHO_C" >&6
21115
22012
else
21122
22019
cat >>conftest.$ac_ext <<_ACEOF
21123
22020
/* end confdefs.h.  */
21124
22021
 
21125
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22022
/* Override any GCC internal prototype to avoid an error.
 
22023
   Use char because int might match the return type of a GCC
 
22024
   builtin and then its argument prototype would still apply.  */
21126
22025
#ifdef __cplusplus
21127
22026
extern "C"
21128
22027
#endif
21129
 
/* We use char because int might match the return type of a gcc2
21130
 
   builtin and then its argument prototype would still apply.  */
21131
22028
char dgettext ();
21132
22029
int
21133
22030
main ()
21134
22031
{
21135
 
dgettext ();
 
22032
return dgettext ();
21136
22033
  ;
21137
22034
  return 0;
21138
22035
}
21139
22036
_ACEOF
21140
22037
rm -f conftest.$ac_objext conftest$ac_exeext
21141
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21142
 
  (eval $ac_link) 2>conftest.er1
 
22038
if { (ac_try="$ac_link"
 
22039
case "(($ac_try" in
 
22040
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22041
  *) ac_try_echo=$ac_try;;
 
22042
esac
 
22043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22044
  (eval "$ac_link") 2>conftest.er1
21143
22045
  ac_status=$?
21144
22046
  grep -v '^ *+' conftest.er1 >conftest.err
21145
22047
  rm -f conftest.er1
21146
22048
  cat conftest.err >&5
21147
22049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148
22050
  (exit $ac_status); } &&
21149
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151
 
  (eval $ac_try) 2>&5
 
22051
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22052
  { (case "(($ac_try" in
 
22053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22054
  *) ac_try_echo=$ac_try;;
 
22055
esac
 
22056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22057
  (eval "$ac_try") 2>&5
21152
22058
  ac_status=$?
21153
22059
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154
22060
  (exit $ac_status); }; } &&
21155
22061
         { ac_try='test -s conftest$ac_exeext'
21156
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157
 
  (eval $ac_try) 2>&5
 
22062
  { (case "(($ac_try" in
 
22063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22064
  *) ac_try_echo=$ac_try;;
 
22065
esac
 
22066
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22067
  (eval "$ac_try") 2>&5
21158
22068
  ac_status=$?
21159
22069
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160
22070
  (exit $ac_status); }; }; then
21163
22073
  echo "$as_me: failed program was:" >&5
21164
22074
sed 's/^/| /' conftest.$ac_ext >&5
21165
22075
 
21166
 
ac_cv_lib_intl_dgettext=no
 
22076
        ac_cv_lib_intl_dgettext=no
21167
22077
fi
21168
 
rm -f conftest.err conftest.$ac_objext \
 
22078
 
 
22079
rm -f core conftest.err conftest.$ac_objext \
21169
22080
      conftest$ac_exeext conftest.$ac_ext
21170
22081
LIBS=$ac_check_lib_save_LIBS
21171
22082
fi
21172
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
21173
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
 
22083
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
22084
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
21174
22085
if test $ac_cv_lib_intl_dgettext = yes; then
21175
22086
  gt_cv_func_dgettext_libintl=yes
21176
22087
fi
21181
22092
 
21182
22093
 
21183
22094
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
21184
 
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
21185
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
21186
 
          echo "$as_me:$LINENO: result: " >&5
21187
 
echo "${ECHO_T}" >&6
21188
 
          echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21189
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
22095
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
22096
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
 
22097
          { echo "$as_me:$LINENO: result: " >&5
 
22098
echo "${ECHO_T}" >&6; }
 
22099
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
22100
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21190
22101
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21191
22102
  echo $ECHO_N "(cached) $ECHO_C" >&6
21192
22103
else
21199
22110
cat >>conftest.$ac_ext <<_ACEOF
21200
22111
/* end confdefs.h.  */
21201
22112
 
21202
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22113
/* Override any GCC internal prototype to avoid an error.
 
22114
   Use char because int might match the return type of a GCC
 
22115
   builtin and then its argument prototype would still apply.  */
21203
22116
#ifdef __cplusplus
21204
22117
extern "C"
21205
22118
#endif
21206
 
/* We use char because int might match the return type of a gcc2
21207
 
   builtin and then its argument prototype would still apply.  */
21208
22119
char ngettext ();
21209
22120
int
21210
22121
main ()
21211
22122
{
21212
 
ngettext ();
 
22123
return ngettext ();
21213
22124
  ;
21214
22125
  return 0;
21215
22126
}
21216
22127
_ACEOF
21217
22128
rm -f conftest.$ac_objext conftest$ac_exeext
21218
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21219
 
  (eval $ac_link) 2>conftest.er1
 
22129
if { (ac_try="$ac_link"
 
22130
case "(($ac_try" in
 
22131
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22132
  *) ac_try_echo=$ac_try;;
 
22133
esac
 
22134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22135
  (eval "$ac_link") 2>conftest.er1
21220
22136
  ac_status=$?
21221
22137
  grep -v '^ *+' conftest.er1 >conftest.err
21222
22138
  rm -f conftest.er1
21223
22139
  cat conftest.err >&5
21224
22140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225
22141
  (exit $ac_status); } &&
21226
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21227
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21228
 
  (eval $ac_try) 2>&5
 
22142
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22143
  { (case "(($ac_try" in
 
22144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22145
  *) ac_try_echo=$ac_try;;
 
22146
esac
 
22147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22148
  (eval "$ac_try") 2>&5
21229
22149
  ac_status=$?
21230
22150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231
22151
  (exit $ac_status); }; } &&
21232
22152
         { ac_try='test -s conftest$ac_exeext'
21233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234
 
  (eval $ac_try) 2>&5
 
22153
  { (case "(($ac_try" in
 
22154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22155
  *) ac_try_echo=$ac_try;;
 
22156
esac
 
22157
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22158
  (eval "$ac_try") 2>&5
21235
22159
  ac_status=$?
21236
22160
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237
22161
  (exit $ac_status); }; }; then
21240
22164
  echo "$as_me: failed program was:" >&5
21241
22165
sed 's/^/| /' conftest.$ac_ext >&5
21242
22166
 
21243
 
ac_cv_lib_intl_ngettext=no
 
22167
        ac_cv_lib_intl_ngettext=no
21244
22168
fi
21245
 
rm -f conftest.err conftest.$ac_objext \
 
22169
 
 
22170
rm -f core conftest.err conftest.$ac_objext \
21246
22171
      conftest$ac_exeext conftest.$ac_ext
21247
22172
LIBS=$ac_check_lib_save_LIBS
21248
22173
fi
21249
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21250
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
22174
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
22175
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21251
22176
if test $ac_cv_lib_intl_ngettext = yes; then
21252
 
  echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
21253
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
 
22177
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
22178
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
21254
22179
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
21255
22180
  echo $ECHO_N "(cached) $ECHO_C" >&6
21256
22181
else
21263
22188
cat >>conftest.$ac_ext <<_ACEOF
21264
22189
/* end confdefs.h.  */
21265
22190
 
21266
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22191
/* Override any GCC internal prototype to avoid an error.
 
22192
   Use char because int might match the return type of a GCC
 
22193
   builtin and then its argument prototype would still apply.  */
21267
22194
#ifdef __cplusplus
21268
22195
extern "C"
21269
22196
#endif
21270
 
/* We use char because int might match the return type of a gcc2
21271
 
   builtin and then its argument prototype would still apply.  */
21272
22197
char dcgettext ();
21273
22198
int
21274
22199
main ()
21275
22200
{
21276
 
dcgettext ();
 
22201
return dcgettext ();
21277
22202
  ;
21278
22203
  return 0;
21279
22204
}
21280
22205
_ACEOF
21281
22206
rm -f conftest.$ac_objext conftest$ac_exeext
21282
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21283
 
  (eval $ac_link) 2>conftest.er1
 
22207
if { (ac_try="$ac_link"
 
22208
case "(($ac_try" in
 
22209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22210
  *) ac_try_echo=$ac_try;;
 
22211
esac
 
22212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22213
  (eval "$ac_link") 2>conftest.er1
21284
22214
  ac_status=$?
21285
22215
  grep -v '^ *+' conftest.er1 >conftest.err
21286
22216
  rm -f conftest.er1
21287
22217
  cat conftest.err >&5
21288
22218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289
22219
  (exit $ac_status); } &&
21290
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21291
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292
 
  (eval $ac_try) 2>&5
 
22220
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22221
  { (case "(($ac_try" in
 
22222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22223
  *) ac_try_echo=$ac_try;;
 
22224
esac
 
22225
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22226
  (eval "$ac_try") 2>&5
21293
22227
  ac_status=$?
21294
22228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295
22229
  (exit $ac_status); }; } &&
21296
22230
         { ac_try='test -s conftest$ac_exeext'
21297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298
 
  (eval $ac_try) 2>&5
 
22231
  { (case "(($ac_try" in
 
22232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22233
  *) ac_try_echo=$ac_try;;
 
22234
esac
 
22235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22236
  (eval "$ac_try") 2>&5
21299
22237
  ac_status=$?
21300
22238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301
22239
  (exit $ac_status); }; }; then
21304
22242
  echo "$as_me: failed program was:" >&5
21305
22243
sed 's/^/| /' conftest.$ac_ext >&5
21306
22244
 
21307
 
ac_cv_lib_intl_dcgettext=no
 
22245
        ac_cv_lib_intl_dcgettext=no
21308
22246
fi
21309
 
rm -f conftest.err conftest.$ac_objext \
 
22247
 
 
22248
rm -f core conftest.err conftest.$ac_objext \
21310
22249
      conftest$ac_exeext conftest.$ac_ext
21311
22250
LIBS=$ac_check_lib_save_LIBS
21312
22251
fi
21313
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
21314
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
 
22252
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
22253
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
21315
22254
if test $ac_cv_lib_intl_dcgettext = yes; then
21316
22255
  gt_cv_func_dgettext_libintl=yes
21317
22256
                        libintl_extra_libs=-liconv
21338
22277
for ac_func in bind_textdomain_codeset
21339
22278
do
21340
22279
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21341
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
21342
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21343
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22280
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22281
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22282
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21344
22283
  echo $ECHO_N "(cached) $ECHO_C" >&6
21345
22284
else
21346
22285
  cat >conftest.$ac_ext <<_ACEOF
21366
22305
 
21367
22306
#undef $ac_func
21368
22307
 
21369
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22308
/* Override any GCC internal prototype to avoid an error.
 
22309
   Use char because int might match the return type of a GCC
 
22310
   builtin and then its argument prototype would still apply.  */
21370
22311
#ifdef __cplusplus
21371
22312
extern "C"
21372
 
{
21373
22313
#endif
21374
 
/* We use char because int might match the return type of a gcc2
21375
 
   builtin and then its argument prototype would still apply.  */
21376
22314
char $ac_func ();
21377
22315
/* The GNU C library defines this for functions which it implements
21378
22316
    to always fail with ENOSYS.  Some functions are actually named
21379
22317
    something starting with __ and the normal name is an alias.  */
21380
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22318
#if defined __stub_$ac_func || defined __stub___$ac_func
21381
22319
choke me
21382
 
#else
21383
 
char (*f) () = $ac_func;
21384
 
#endif
21385
 
#ifdef __cplusplus
21386
 
}
21387
22320
#endif
21388
22321
 
21389
22322
int
21390
22323
main ()
21391
22324
{
21392
 
return f != $ac_func;
 
22325
return $ac_func ();
21393
22326
  ;
21394
22327
  return 0;
21395
22328
}
21396
22329
_ACEOF
21397
22330
rm -f conftest.$ac_objext conftest$ac_exeext
21398
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21399
 
  (eval $ac_link) 2>conftest.er1
 
22331
if { (ac_try="$ac_link"
 
22332
case "(($ac_try" in
 
22333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22334
  *) ac_try_echo=$ac_try;;
 
22335
esac
 
22336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22337
  (eval "$ac_link") 2>conftest.er1
21400
22338
  ac_status=$?
21401
22339
  grep -v '^ *+' conftest.er1 >conftest.err
21402
22340
  rm -f conftest.er1
21403
22341
  cat conftest.err >&5
21404
22342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405
22343
  (exit $ac_status); } &&
21406
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408
 
  (eval $ac_try) 2>&5
 
22344
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22345
  { (case "(($ac_try" in
 
22346
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22347
  *) ac_try_echo=$ac_try;;
 
22348
esac
 
22349
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22350
  (eval "$ac_try") 2>&5
21409
22351
  ac_status=$?
21410
22352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411
22353
  (exit $ac_status); }; } &&
21412
22354
         { ac_try='test -s conftest$ac_exeext'
21413
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21414
 
  (eval $ac_try) 2>&5
 
22355
  { (case "(($ac_try" in
 
22356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22357
  *) ac_try_echo=$ac_try;;
 
22358
esac
 
22359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22360
  (eval "$ac_try") 2>&5
21415
22361
  ac_status=$?
21416
22362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417
22363
  (exit $ac_status); }; }; then
21420
22366
  echo "$as_me: failed program was:" >&5
21421
22367
sed 's/^/| /' conftest.$ac_ext >&5
21422
22368
 
21423
 
eval "$as_ac_var=no"
 
22369
        eval "$as_ac_var=no"
21424
22370
fi
21425
 
rm -f conftest.err conftest.$ac_objext \
 
22371
 
 
22372
rm -f core conftest.err conftest.$ac_objext \
21426
22373
      conftest$ac_exeext conftest.$ac_ext
21427
22374
fi
21428
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21429
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22375
ac_res=`eval echo '${'$as_ac_var'}'`
 
22376
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22377
echo "${ECHO_T}$ac_res" >&6; }
21430
22378
if test `eval echo '${'$as_ac_var'}'` = yes; then
21431
22379
  cat >>confdefs.h <<_ACEOF
21432
22380
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21465
22413
 
21466
22414
        # Extract the first word of "msgfmt", so it can be a program name with args.
21467
22415
set dummy msgfmt; ac_word=$2
21468
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21469
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22416
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22417
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21470
22418
if test "${ac_cv_path_MSGFMT+set}" = set; then
21471
22419
  echo $ECHO_N "(cached) $ECHO_C" >&6
21472
22420
else
21492
22440
fi
21493
22441
MSGFMT="$ac_cv_path_MSGFMT"
21494
22442
if test "$MSGFMT" != "no"; then
21495
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
21496
 
echo "${ECHO_T}$MSGFMT" >&6
 
22443
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
22444
echo "${ECHO_T}$MSGFMT" >&6; }
21497
22445
else
21498
 
  echo "$as_me:$LINENO: result: no" >&5
21499
 
echo "${ECHO_T}no" >&6
 
22446
  { echo "$as_me:$LINENO: result: no" >&5
 
22447
echo "${ECHO_T}no" >&6; }
21500
22448
fi
21501
22449
        if test "$MSGFMT" != "no"; then
21502
22450
          glib_save_LIBS="$LIBS"
21505
22453
for ac_func in dcgettext
21506
22454
do
21507
22455
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21508
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
21509
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21510
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22456
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22457
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22458
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21511
22459
  echo $ECHO_N "(cached) $ECHO_C" >&6
21512
22460
else
21513
22461
  cat >conftest.$ac_ext <<_ACEOF
21533
22481
 
21534
22482
#undef $ac_func
21535
22483
 
21536
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22484
/* Override any GCC internal prototype to avoid an error.
 
22485
   Use char because int might match the return type of a GCC
 
22486
   builtin and then its argument prototype would still apply.  */
21537
22487
#ifdef __cplusplus
21538
22488
extern "C"
21539
 
{
21540
22489
#endif
21541
 
/* We use char because int might match the return type of a gcc2
21542
 
   builtin and then its argument prototype would still apply.  */
21543
22490
char $ac_func ();
21544
22491
/* The GNU C library defines this for functions which it implements
21545
22492
    to always fail with ENOSYS.  Some functions are actually named
21546
22493
    something starting with __ and the normal name is an alias.  */
21547
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22494
#if defined __stub_$ac_func || defined __stub___$ac_func
21548
22495
choke me
21549
 
#else
21550
 
char (*f) () = $ac_func;
21551
 
#endif
21552
 
#ifdef __cplusplus
21553
 
}
21554
22496
#endif
21555
22497
 
21556
22498
int
21557
22499
main ()
21558
22500
{
21559
 
return f != $ac_func;
 
22501
return $ac_func ();
21560
22502
  ;
21561
22503
  return 0;
21562
22504
}
21563
22505
_ACEOF
21564
22506
rm -f conftest.$ac_objext conftest$ac_exeext
21565
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21566
 
  (eval $ac_link) 2>conftest.er1
 
22507
if { (ac_try="$ac_link"
 
22508
case "(($ac_try" in
 
22509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22510
  *) ac_try_echo=$ac_try;;
 
22511
esac
 
22512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22513
  (eval "$ac_link") 2>conftest.er1
21567
22514
  ac_status=$?
21568
22515
  grep -v '^ *+' conftest.er1 >conftest.err
21569
22516
  rm -f conftest.er1
21570
22517
  cat conftest.err >&5
21571
22518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572
22519
  (exit $ac_status); } &&
21573
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21574
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575
 
  (eval $ac_try) 2>&5
 
22520
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22521
  { (case "(($ac_try" in
 
22522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22523
  *) ac_try_echo=$ac_try;;
 
22524
esac
 
22525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22526
  (eval "$ac_try") 2>&5
21576
22527
  ac_status=$?
21577
22528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578
22529
  (exit $ac_status); }; } &&
21579
22530
         { ac_try='test -s conftest$ac_exeext'
21580
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581
 
  (eval $ac_try) 2>&5
 
22531
  { (case "(($ac_try" in
 
22532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22533
  *) ac_try_echo=$ac_try;;
 
22534
esac
 
22535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22536
  (eval "$ac_try") 2>&5
21582
22537
  ac_status=$?
21583
22538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584
22539
  (exit $ac_status); }; }; then
21587
22542
  echo "$as_me: failed program was:" >&5
21588
22543
sed 's/^/| /' conftest.$ac_ext >&5
21589
22544
 
21590
 
eval "$as_ac_var=no"
 
22545
        eval "$as_ac_var=no"
21591
22546
fi
21592
 
rm -f conftest.err conftest.$ac_objext \
 
22547
 
 
22548
rm -f core conftest.err conftest.$ac_objext \
21593
22549
      conftest$ac_exeext conftest.$ac_ext
21594
22550
fi
21595
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21596
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22551
ac_res=`eval echo '${'$as_ac_var'}'`
 
22552
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22553
echo "${ECHO_T}$ac_res" >&6; }
21597
22554
if test `eval echo '${'$as_ac_var'}'` = yes; then
21598
22555
  cat >>confdefs.h <<_ACEOF
21599
22556
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21604
22561
 
21605
22562
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
21606
22563
set dummy gmsgfmt; ac_word=$2
21607
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21608
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22564
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22565
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21609
22566
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21610
22567
  echo $ECHO_N "(cached) $ECHO_C" >&6
21611
22568
else
21620
22577
  IFS=$as_save_IFS
21621
22578
  test -z "$as_dir" && as_dir=.
21622
22579
  for ac_exec_ext in '' $ac_executable_extensions; do
21623
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21624
22581
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21625
22582
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21626
22583
    break 2
21627
22584
  fi
21628
22585
done
21629
22586
done
 
22587
IFS=$as_save_IFS
21630
22588
 
21631
22589
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21632
22590
  ;;
21633
22591
esac
21634
22592
fi
21635
22593
GMSGFMT=$ac_cv_path_GMSGFMT
21636
 
 
21637
22594
if test -n "$GMSGFMT"; then
21638
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21639
 
echo "${ECHO_T}$GMSGFMT" >&6
 
22595
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
22596
echo "${ECHO_T}$GMSGFMT" >&6; }
21640
22597
else
21641
 
  echo "$as_me:$LINENO: result: no" >&5
21642
 
echo "${ECHO_T}no" >&6
 
22598
  { echo "$as_me:$LINENO: result: no" >&5
 
22599
echo "${ECHO_T}no" >&6; }
21643
22600
fi
21644
22601
 
 
22602
 
21645
22603
          # Extract the first word of "xgettext", so it can be a program name with args.
21646
22604
set dummy xgettext; ac_word=$2
21647
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21648
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22605
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22606
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21649
22607
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21650
22608
  echo $ECHO_N "(cached) $ECHO_C" >&6
21651
22609
else
21671
22629
fi
21672
22630
XGETTEXT="$ac_cv_path_XGETTEXT"
21673
22631
if test "$XGETTEXT" != ":"; then
21674
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21675
 
echo "${ECHO_T}$XGETTEXT" >&6
 
22632
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
22633
echo "${ECHO_T}$XGETTEXT" >&6; }
21676
22634
else
21677
 
  echo "$as_me:$LINENO: result: no" >&5
21678
 
echo "${ECHO_T}no" >&6
 
22635
  { echo "$as_me:$LINENO: result: no" >&5
 
22636
echo "${ECHO_T}no" >&6; }
21679
22637
fi
21680
22638
 
21681
22639
          cat >conftest.$ac_ext <<_ACEOF
21695
22653
}
21696
22654
_ACEOF
21697
22655
rm -f conftest.$ac_objext conftest$ac_exeext
21698
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21699
 
  (eval $ac_link) 2>conftest.er1
 
22656
if { (ac_try="$ac_link"
 
22657
case "(($ac_try" in
 
22658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22659
  *) ac_try_echo=$ac_try;;
 
22660
esac
 
22661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22662
  (eval "$ac_link") 2>conftest.er1
21700
22663
  ac_status=$?
21701
22664
  grep -v '^ *+' conftest.er1 >conftest.err
21702
22665
  rm -f conftest.er1
21703
22666
  cat conftest.err >&5
21704
22667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705
22668
  (exit $ac_status); } &&
21706
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21707
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21708
 
  (eval $ac_try) 2>&5
 
22669
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22670
  { (case "(($ac_try" in
 
22671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22672
  *) ac_try_echo=$ac_try;;
 
22673
esac
 
22674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22675
  (eval "$ac_try") 2>&5
21709
22676
  ac_status=$?
21710
22677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711
22678
  (exit $ac_status); }; } &&
21712
22679
         { ac_try='test -s conftest$ac_exeext'
21713
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714
 
  (eval $ac_try) 2>&5
 
22680
  { (case "(($ac_try" in
 
22681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22682
  *) ac_try_echo=$ac_try;;
 
22683
esac
 
22684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22685
  (eval "$ac_try") 2>&5
21715
22686
  ac_status=$?
21716
22687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717
22688
  (exit $ac_status); }; }; then
21721
22692
  echo "$as_me: failed program was:" >&5
21722
22693
sed 's/^/| /' conftest.$ac_ext >&5
21723
22694
 
21724
 
case $host in
 
22695
        case $host in
21725
22696
            *-*-solaris*)
21726
 
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
21727
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
22697
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
22698
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
21728
22699
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
21729
22700
  echo $ECHO_N "(cached) $ECHO_C" >&6
21730
22701
else
21751
22722
 
21752
22723
#undef bind_textdomain_codeset
21753
22724
 
21754
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22725
/* Override any GCC internal prototype to avoid an error.
 
22726
   Use char because int might match the return type of a GCC
 
22727
   builtin and then its argument prototype would still apply.  */
21755
22728
#ifdef __cplusplus
21756
22729
extern "C"
21757
 
{
21758
22730
#endif
21759
 
/* We use char because int might match the return type of a gcc2
21760
 
   builtin and then its argument prototype would still apply.  */
21761
22731
char bind_textdomain_codeset ();
21762
22732
/* The GNU C library defines this for functions which it implements
21763
22733
    to always fail with ENOSYS.  Some functions are actually named
21764
22734
    something starting with __ and the normal name is an alias.  */
21765
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
22735
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
21766
22736
choke me
21767
 
#else
21768
 
char (*f) () = bind_textdomain_codeset;
21769
 
#endif
21770
 
#ifdef __cplusplus
21771
 
}
21772
22737
#endif
21773
22738
 
21774
22739
int
21775
22740
main ()
21776
22741
{
21777
 
return f != bind_textdomain_codeset;
 
22742
return bind_textdomain_codeset ();
21778
22743
  ;
21779
22744
  return 0;
21780
22745
}
21781
22746
_ACEOF
21782
22747
rm -f conftest.$ac_objext conftest$ac_exeext
21783
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21784
 
  (eval $ac_link) 2>conftest.er1
 
22748
if { (ac_try="$ac_link"
 
22749
case "(($ac_try" in
 
22750
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22751
  *) ac_try_echo=$ac_try;;
 
22752
esac
 
22753
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22754
  (eval "$ac_link") 2>conftest.er1
21785
22755
  ac_status=$?
21786
22756
  grep -v '^ *+' conftest.er1 >conftest.err
21787
22757
  rm -f conftest.er1
21788
22758
  cat conftest.err >&5
21789
22759
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790
22760
  (exit $ac_status); } &&
21791
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21792
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21793
 
  (eval $ac_try) 2>&5
 
22761
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22762
  { (case "(($ac_try" in
 
22763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22764
  *) ac_try_echo=$ac_try;;
 
22765
esac
 
22766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22767
  (eval "$ac_try") 2>&5
21794
22768
  ac_status=$?
21795
22769
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796
22770
  (exit $ac_status); }; } &&
21797
22771
         { ac_try='test -s conftest$ac_exeext'
21798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21799
 
  (eval $ac_try) 2>&5
 
22772
  { (case "(($ac_try" in
 
22773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22774
  *) ac_try_echo=$ac_try;;
 
22775
esac
 
22776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22777
  (eval "$ac_try") 2>&5
21800
22778
  ac_status=$?
21801
22779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802
22780
  (exit $ac_status); }; }; then
21805
22783
  echo "$as_me: failed program was:" >&5
21806
22784
sed 's/^/| /' conftest.$ac_ext >&5
21807
22785
 
21808
 
ac_cv_func_bind_textdomain_codeset=no
 
22786
        ac_cv_func_bind_textdomain_codeset=no
21809
22787
fi
21810
 
rm -f conftest.err conftest.$ac_objext \
 
22788
 
 
22789
rm -f core conftest.err conftest.$ac_objext \
21811
22790
      conftest$ac_exeext conftest.$ac_ext
21812
22791
fi
21813
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
21814
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
 
22792
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
22793
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
21815
22794
if test $ac_cv_func_bind_textdomain_codeset = yes; then
21816
22795
  CATOBJEXT=.gmo
21817
22796
               DATADIRNAME=share
21827
22806
            ;;
21828
22807
            esac
21829
22808
fi
21830
 
rm -f conftest.err conftest.$ac_objext \
 
22809
 
 
22810
rm -f core conftest.err conftest.$ac_objext \
21831
22811
      conftest$ac_exeext conftest.$ac_ext
21832
22812
          LIBS="$glib_save_LIBS"
21833
22813
          INSTOBJEXT=.mo
21852
22832
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21853
22833
        : ;
21854
22834
      else
21855
 
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
21856
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
22835
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
22836
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
21857
22837
        XGETTEXT=":"
21858
22838
      fi
21859
22839
    fi
21861
22841
    # We need to process the po/ directory.
21862
22842
    POSUB=po
21863
22843
 
21864
 
              ac_config_commands="$ac_config_commands default-1"
 
22844
    ac_config_commands="$ac_config_commands default-1"
21865
22845
 
21866
22846
 
21867
22847
                for lang in $ALL_LINGUAS; do
21885
22865
     if test "x$ALL_LINGUAS" = "x"; then
21886
22866
       LINGUAS=
21887
22867
     else
21888
 
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
21889
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
22868
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
22869
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
21890
22870
       NEW_LINGUAS=
21891
22871
       for presentlang in $ALL_LINGUAS; do
21892
22872
         useit=no
21910
22890
         fi
21911
22891
       done
21912
22892
       LINGUAS=$NEW_LINGUAS
21913
 
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
21914
 
echo "${ECHO_T}$LINGUAS" >&6
 
22893
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
22894
echo "${ECHO_T}$LINGUAS" >&6; }
21915
22895
     fi
21916
22896
 
21917
22897
          if test -n "$LINGUAS"; then
21957
22937
        if test -n "$ac_tool_prefix"; then
21958
22938
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21959
22939
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21960
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21961
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22940
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22941
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21962
22942
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21963
22943
  echo $ECHO_N "(cached) $ECHO_C" >&6
21964
22944
else
21973
22953
  IFS=$as_save_IFS
21974
22954
  test -z "$as_dir" && as_dir=.
21975
22955
  for ac_exec_ext in '' $ac_executable_extensions; do
21976
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22956
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21977
22957
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21978
22958
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21979
22959
    break 2
21980
22960
  fi
21981
22961
done
21982
22962
done
 
22963
IFS=$as_save_IFS
21983
22964
 
21984
22965
  ;;
21985
22966
esac
21986
22967
fi
21987
22968
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21988
 
 
21989
22969
if test -n "$PKG_CONFIG"; then
21990
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21991
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22970
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22971
echo "${ECHO_T}$PKG_CONFIG" >&6; }
21992
22972
else
21993
 
  echo "$as_me:$LINENO: result: no" >&5
21994
 
echo "${ECHO_T}no" >&6
 
22973
  { echo "$as_me:$LINENO: result: no" >&5
 
22974
echo "${ECHO_T}no" >&6; }
21995
22975
fi
 
22976
 
21996
22977
 
21997
22978
fi
21998
22979
if test -z "$ac_cv_path_PKG_CONFIG"; then
21999
22980
  ac_pt_PKG_CONFIG=$PKG_CONFIG
22000
22981
  # Extract the first word of "pkg-config", so it can be a program name with args.
22001
22982
set dummy pkg-config; ac_word=$2
22002
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22003
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22983
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22984
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22004
22985
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22005
22986
  echo $ECHO_N "(cached) $ECHO_C" >&6
22006
22987
else
22015
22996
  IFS=$as_save_IFS
22016
22997
  test -z "$as_dir" && as_dir=.
22017
22998
  for ac_exec_ext in '' $ac_executable_extensions; do
22018
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22019
23000
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22020
23001
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22021
23002
    break 2
22022
23003
  fi
22023
23004
done
22024
23005
done
 
23006
IFS=$as_save_IFS
22025
23007
 
22026
23008
  ;;
22027
23009
esac
22028
23010
fi
22029
23011
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22030
 
 
22031
23012
if test -n "$ac_pt_PKG_CONFIG"; then
22032
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22033
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
23013
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
23014
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
22034
23015
else
22035
 
  echo "$as_me:$LINENO: result: no" >&5
22036
 
echo "${ECHO_T}no" >&6
 
23016
  { echo "$as_me:$LINENO: result: no" >&5
 
23017
echo "${ECHO_T}no" >&6; }
22037
23018
fi
22038
23019
 
22039
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
23020
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
23021
    PKG_CONFIG=""
 
23022
  else
 
23023
    case $cross_compiling:$ac_tool_warned in
 
23024
yes:)
 
23025
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
23026
whose name does not start with the host triplet.  If you think this
 
23027
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
23028
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
23029
whose name does not start with the host triplet.  If you think this
 
23030
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
23031
ac_tool_warned=yes ;;
 
23032
esac
 
23033
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
23034
  fi
22040
23035
else
22041
23036
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22042
23037
fi
22044
23039
fi
22045
23040
if test -n "$PKG_CONFIG"; then
22046
23041
        _pkg_min_version=0.9.0
22047
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22048
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
23042
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
23043
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
22049
23044
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22050
 
                echo "$as_me:$LINENO: result: yes" >&5
22051
 
echo "${ECHO_T}yes" >&6
 
23045
                { echo "$as_me:$LINENO: result: yes" >&5
 
23046
echo "${ECHO_T}yes" >&6; }
22052
23047
        else
22053
 
                echo "$as_me:$LINENO: result: no" >&5
22054
 
echo "${ECHO_T}no" >&6
 
23048
                { echo "$as_me:$LINENO: result: no" >&5
 
23049
echo "${ECHO_T}no" >&6; }
22055
23050
                PKG_CONFIG=""
22056
23051
        fi
22057
23052
 
22058
23053
fi
22059
23054
 
22060
23055
pkg_failed=no
22061
 
echo "$as_me:$LINENO: checking for GNOMERADIO_CFLAGS" >&5
22062
 
echo $ECHO_N "checking for GNOMERADIO_CFLAGS... $ECHO_C" >&6
22063
 
if test "${pkg_cv_GNOMERADIO_CFLAGS+set}" = set; then
22064
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22065
 
else
22066
 
  if test "x$ac_cv_env_GNOMERADIO_CFLAGS_set" = "xset"; then
22067
 
        pkg_cv_GNOMERADIO_CFLAGS=$ac_cv_env_GNOMERADIO_CFLAGS_value
22068
 
elif test -n "$PKG_CONFIG"; then
22069
 
        if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"libgnomeui-2.0 gconf-2.0\" >/dev/null 2>&1") >&5
22070
 
  ($PKG_CONFIG --exists "libgnomeui-2.0 gconf-2.0" >/dev/null 2>&1) 2>&5
22071
 
  ac_status=$?
22072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073
 
  (exit $ac_status); }; then
22074
 
                pkg_cv_GNOMERADIO_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 gconf-2.0" 2>/dev/null`
22075
 
        else
22076
 
                pkg_failed=yes
22077
 
        fi
22078
 
else
22079
 
        pkg_failed=untried
22080
 
fi
22081
 
fi
22082
 
echo "$as_me:$LINENO: result: $pkg_cv_GNOMERADIO_CFLAGS" >&5
22083
 
echo "${ECHO_T}$pkg_cv_GNOMERADIO_CFLAGS" >&6
22084
 
echo "$as_me:$LINENO: checking for GNOMERADIO_LIBS" >&5
22085
 
echo $ECHO_N "checking for GNOMERADIO_LIBS... $ECHO_C" >&6
22086
 
if test "${pkg_cv_GNOMERADIO_LIBS+set}" = set; then
22087
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22088
 
else
22089
 
  if test "x$ac_cv_env_GNOMERADIO_LIBS_set" = "xset"; then
22090
 
        pkg_cv_GNOMERADIO_LIBS=$ac_cv_env_GNOMERADIO_LIBS_value
22091
 
elif test -n "$PKG_CONFIG"; then
22092
 
        if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"libgnomeui-2.0 gconf-2.0\" >/dev/null 2>&1") >&5
22093
 
  ($PKG_CONFIG --exists "libgnomeui-2.0 gconf-2.0" >/dev/null 2>&1) 2>&5
22094
 
  ac_status=$?
22095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096
 
  (exit $ac_status); }; then
22097
 
                pkg_cv_GNOMERADIO_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 gconf-2.0" 2>/dev/null`
22098
 
        else
22099
 
                pkg_failed=yes
22100
 
        fi
22101
 
else
22102
 
        pkg_failed=untried
22103
 
fi
22104
 
fi
22105
 
echo "$as_me:$LINENO: result: $pkg_cv_GNOMERADIO_LIBS" >&5
22106
 
echo "${ECHO_T}$pkg_cv_GNOMERADIO_LIBS" >&6
22107
 
 
22108
 
if test $pkg_failed = yes; then
22109
 
        GNOMERADIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 gconf-2.0"`
22110
 
        # Put the nasty error message in config.log where it belongs
22111
 
        echo "$GNOMERADIO_PKG_ERRORS" 1>&5
22112
 
 
22113
 
        { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0 gconf-2.0) were not met.
22114
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22115
 
installed software in a non-standard prefix.
22116
 
 
22117
 
Alternatively you may set the GNOMERADIO_CFLAGS and GNOMERADIO_LIBS environment variables
22118
 
to avoid the need to call pkg-config.  See the pkg-config man page for
22119
 
more details." >&5
22120
 
echo "$as_me: error: Package requirements (libgnomeui-2.0 gconf-2.0) were not met.
22121
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22122
 
installed software in a non-standard prefix.
22123
 
 
22124
 
Alternatively you may set the GNOMERADIO_CFLAGS and GNOMERADIO_LIBS environment variables
22125
 
to avoid the need to call pkg-config.  See the pkg-config man page for
22126
 
more details." >&2;}
22127
 
   { (exit 1); exit 1; }; }
22128
 
elif test $pkg_failed = untried; then
22129
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
22130
 
is in your PATH or set the PKG_CONFIG environment variable to the full
22131
 
path to pkg-config.
22132
 
 
22133
 
Alternatively you may set the GNOMERADIO_CFLAGS and GNOMERADIO_LIBS environment variables
22134
 
to avoid the need to call pkg-config.  See the pkg-config man page for
22135
 
more details.
22136
 
 
22137
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22138
 
See \`config.log' for more details." >&5
22139
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
22140
 
is in your PATH or set the PKG_CONFIG environment variable to the full
22141
 
path to pkg-config.
22142
 
 
22143
 
Alternatively you may set the GNOMERADIO_CFLAGS and GNOMERADIO_LIBS environment variables
22144
 
to avoid the need to call pkg-config.  See the pkg-config man page for
22145
 
more details.
22146
 
 
22147
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22148
 
See \`config.log' for more details." >&2;}
22149
 
   { (exit 1); exit 1; }; }
22150
 
else
22151
 
        GNOMERADIO_CFLAGS=$pkg_cv_GNOMERADIO_CFLAGS
22152
 
        GNOMERADIO_LIBS=$pkg_cv_GNOMERADIO_LIBS
22153
 
        :
22154
 
fi
22155
 
 
 
23056
{ echo "$as_me:$LINENO: checking for GNOME" >&5
 
23057
echo $ECHO_N "checking for GNOME... $ECHO_C" >&6; }
 
23058
 
 
23059
if test -n "$PKG_CONFIG"; then
 
23060
    if test -n "$GNOME_CFLAGS"; then
 
23061
        pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
 
23062
    else
 
23063
        if test -n "$PKG_CONFIG" && \
 
23064
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12\"") >&5
 
23065
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12") 2>&5
 
23066
  ac_status=$?
 
23067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23068
  (exit $ac_status); }; then
 
23069
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12" 2>/dev/null`
 
23070
else
 
23071
  pkg_failed=yes
 
23072
fi
 
23073
    fi
 
23074
else
 
23075
        pkg_failed=untried
 
23076
fi
 
23077
if test -n "$PKG_CONFIG"; then
 
23078
    if test -n "$GNOME_LIBS"; then
 
23079
        pkg_cv_GNOME_LIBS="$GNOME_LIBS"
 
23080
    else
 
23081
        if test -n "$PKG_CONFIG" && \
 
23082
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12\"") >&5
 
23083
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12") 2>&5
 
23084
  ac_status=$?
 
23085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23086
  (exit $ac_status); }; then
 
23087
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12" 2>/dev/null`
 
23088
else
 
23089
  pkg_failed=yes
 
23090
fi
 
23091
    fi
 
23092
else
 
23093
        pkg_failed=untried
 
23094
fi
 
23095
 
 
23096
 
 
23097
 
 
23098
if test $pkg_failed = yes; then
 
23099
 
 
23100
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23101
        _pkg_short_errors_supported=yes
 
23102
else
 
23103
        _pkg_short_errors_supported=no
 
23104
fi
 
23105
        if test $_pkg_short_errors_supported = yes; then
 
23106
                GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12"`
 
23107
        else
 
23108
                GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12"`
 
23109
        fi
 
23110
        # Put the nasty error message in config.log where it belongs
 
23111
        echo "$GNOME_PKG_ERRORS" >&5
 
23112
 
 
23113
        { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12) were not met:
 
23114
 
 
23115
$GNOME_PKG_ERRORS
 
23116
 
 
23117
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23118
installed software in a non-standard prefix.
 
23119
 
 
23120
Alternatively, you may set the environment variables GNOME_CFLAGS
 
23121
and GNOME_LIBS to avoid the need to call pkg-config.
 
23122
See the pkg-config man page for more details.
 
23123
" >&5
 
23124
echo "$as_me: error: Package requirements (libgnomeui-2.0 >= 2.12 gconf-2.0 >= 2.12 gnome-vfs-2.0 >= 2.12 gnome-media-profiles >= 2.12) were not met:
 
23125
 
 
23126
$GNOME_PKG_ERRORS
 
23127
 
 
23128
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23129
installed software in a non-standard prefix.
 
23130
 
 
23131
Alternatively, you may set the environment variables GNOME_CFLAGS
 
23132
and GNOME_LIBS to avoid the need to call pkg-config.
 
23133
See the pkg-config man page for more details.
 
23134
" >&2;}
 
23135
   { (exit 1); exit 1; }; }
 
23136
elif test $pkg_failed = untried; then
 
23137
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23138
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23139
path to pkg-config.
 
23140
 
 
23141
Alternatively, you may set the environment variables GNOME_CFLAGS
 
23142
and GNOME_LIBS to avoid the need to call pkg-config.
 
23143
See the pkg-config man page for more details.
 
23144
 
 
23145
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23146
See \`config.log' for more details." >&5
 
23147
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
23148
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23149
path to pkg-config.
 
23150
 
 
23151
Alternatively, you may set the environment variables GNOME_CFLAGS
 
23152
and GNOME_LIBS to avoid the need to call pkg-config.
 
23153
See the pkg-config man page for more details.
 
23154
 
 
23155
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23156
See \`config.log' for more details." >&2;}
 
23157
   { (exit 1); exit 1; }; }
 
23158
else
 
23159
        GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
 
23160
        GNOME_LIBS=$pkg_cv_GNOME_LIBS
 
23161
        { echo "$as_me:$LINENO: result: yes" >&5
 
23162
echo "${ECHO_T}yes" >&6; }
 
23163
        :
 
23164
fi
 
23165
 
 
23166
pkg_failed=no
 
23167
{ echo "$as_me:$LINENO: checking for GNOME14" >&5
 
23168
echo $ECHO_N "checking for GNOME14... $ECHO_C" >&6; }
 
23169
 
 
23170
if test -n "$PKG_CONFIG"; then
 
23171
    if test -n "$GNOME14_CFLAGS"; then
 
23172
        pkg_cv_GNOME14_CFLAGS="$GNOME14_CFLAGS"
 
23173
    else
 
23174
        if test -n "$PKG_CONFIG" && \
 
23175
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.14\"") >&5
 
23176
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.14") 2>&5
 
23177
  ac_status=$?
 
23178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23179
  (exit $ac_status); }; then
 
23180
  pkg_cv_GNOME14_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= 2.14" 2>/dev/null`
 
23181
else
 
23182
  pkg_failed=yes
 
23183
fi
 
23184
    fi
 
23185
else
 
23186
        pkg_failed=untried
 
23187
fi
 
23188
if test -n "$PKG_CONFIG"; then
 
23189
    if test -n "$GNOME14_LIBS"; then
 
23190
        pkg_cv_GNOME14_LIBS="$GNOME14_LIBS"
 
23191
    else
 
23192
        if test -n "$PKG_CONFIG" && \
 
23193
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= 2.14\"") >&5
 
23194
  ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= 2.14") 2>&5
 
23195
  ac_status=$?
 
23196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23197
  (exit $ac_status); }; then
 
23198
  pkg_cv_GNOME14_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 >= 2.14" 2>/dev/null`
 
23199
else
 
23200
  pkg_failed=yes
 
23201
fi
 
23202
    fi
 
23203
else
 
23204
        pkg_failed=untried
 
23205
fi
 
23206
 
 
23207
 
 
23208
 
 
23209
if test $pkg_failed = yes; then
 
23210
 
 
23211
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23212
        _pkg_short_errors_supported=yes
 
23213
else
 
23214
        _pkg_short_errors_supported=no
 
23215
fi
 
23216
        if test $_pkg_short_errors_supported = yes; then
 
23217
                GNOME14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.14"`
 
23218
        else
 
23219
                GNOME14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= 2.14"`
 
23220
        fi
 
23221
        # Put the nasty error message in config.log where it belongs
 
23222
        echo "$GNOME14_PKG_ERRORS" >&5
 
23223
 
 
23224
        GNOME_14="0";echo "no"
 
23225
elif test $pkg_failed = untried; then
 
23226
        GNOME_14="0";echo "no"
 
23227
else
 
23228
        GNOME14_CFLAGS=$pkg_cv_GNOME14_CFLAGS
 
23229
        GNOME14_LIBS=$pkg_cv_GNOME14_LIBS
 
23230
        { echo "$as_me:$LINENO: result: yes" >&5
 
23231
echo "${ECHO_T}yes" >&6; }
 
23232
        GNOME_14="1";echo "yes"
 
23233
fi
 
23234
 
 
23235
 
 
23236
 
 
23237
 
 
23238
cat >>confdefs.h <<_ACEOF
 
23239
#define GNOME_14 ${GNOME_14}
 
23240
_ACEOF
 
23241
 
 
23242
 
 
23243
 
 
23244
 
 
23245
pkg_failed=no
 
23246
{ echo "$as_me:$LINENO: checking for GSTREAMER" >&5
 
23247
echo $ECHO_N "checking for GSTREAMER... $ECHO_C" >&6; }
 
23248
 
 
23249
if test -n "$PKG_CONFIG"; then
 
23250
    if test -n "$GSTREAMER_CFLAGS"; then
 
23251
        pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
 
23252
    else
 
23253
        if test -n "$PKG_CONFIG" && \
 
23254
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
 
23255
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
 
23256
  ac_status=$?
 
23257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23258
  (exit $ac_status); }; then
 
23259
  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
 
23260
else
 
23261
  pkg_failed=yes
 
23262
fi
 
23263
    fi
 
23264
else
 
23265
        pkg_failed=untried
 
23266
fi
 
23267
if test -n "$PKG_CONFIG"; then
 
23268
    if test -n "$GSTREAMER_LIBS"; then
 
23269
        pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
 
23270
    else
 
23271
        if test -n "$PKG_CONFIG" && \
 
23272
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
 
23273
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
 
23274
  ac_status=$?
 
23275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23276
  (exit $ac_status); }; then
 
23277
  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
 
23278
else
 
23279
  pkg_failed=yes
 
23280
fi
 
23281
    fi
 
23282
else
 
23283
        pkg_failed=untried
 
23284
fi
 
23285
 
 
23286
 
 
23287
 
 
23288
if test $pkg_failed = yes; then
 
23289
 
 
23290
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23291
        _pkg_short_errors_supported=yes
 
23292
else
 
23293
        _pkg_short_errors_supported=no
 
23294
fi
 
23295
        if test $_pkg_short_errors_supported = yes; then
 
23296
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
 
23297
        else
 
23298
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
 
23299
        fi
 
23300
        # Put the nasty error message in config.log where it belongs
 
23301
        echo "$GSTREAMER_PKG_ERRORS" >&5
 
23302
 
 
23303
        { { echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
 
23304
 
 
23305
$GSTREAMER_PKG_ERRORS
 
23306
 
 
23307
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23308
installed software in a non-standard prefix.
 
23309
 
 
23310
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
23311
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
23312
See the pkg-config man page for more details.
 
23313
" >&5
 
23314
echo "$as_me: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
 
23315
 
 
23316
$GSTREAMER_PKG_ERRORS
 
23317
 
 
23318
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23319
installed software in a non-standard prefix.
 
23320
 
 
23321
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
23322
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
23323
See the pkg-config man page for more details.
 
23324
" >&2;}
 
23325
   { (exit 1); exit 1; }; }
 
23326
elif test $pkg_failed = untried; then
 
23327
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23328
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23329
path to pkg-config.
 
23330
 
 
23331
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
23332
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
23333
See the pkg-config man page for more details.
 
23334
 
 
23335
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23336
See \`config.log' for more details." >&5
 
23337
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
23338
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23339
path to pkg-config.
 
23340
 
 
23341
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
23342
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
23343
See the pkg-config man page for more details.
 
23344
 
 
23345
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23346
See \`config.log' for more details." >&2;}
 
23347
   { (exit 1); exit 1; }; }
 
23348
else
 
23349
        GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
 
23350
        GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
 
23351
        { echo "$as_me:$LINENO: result: yes" >&5
 
23352
echo "${ECHO_T}yes" >&6; }
 
23353
        :
 
23354
fi
 
23355
 
 
23356
 
 
23357
 
 
23358
 
 
23359
if test "x$PACKAGE" != "xgnome-doc-utils"; then
 
23360
  GDU_REQUIRED_VERSION=0.3.2
 
23361
  if test -n ""; then
 
23362
    GDU_REQUIRED_VERSION=
 
23363
  fi
 
23364
 
 
23365
 
 
23366
pkg_failed=no
 
23367
{ echo "$as_me:$LINENO: checking for GDU_MODULE_VERSION_CHECK" >&5
 
23368
echo $ECHO_N "checking for GDU_MODULE_VERSION_CHECK... $ECHO_C" >&6; }
 
23369
 
 
23370
if test -n "$PKG_CONFIG"; then
 
23371
    if test -n "$GDU_MODULE_VERSION_CHECK_CFLAGS"; then
 
23372
        pkg_cv_GDU_MODULE_VERSION_CHECK_CFLAGS="$GDU_MODULE_VERSION_CHECK_CFLAGS"
 
23373
    else
 
23374
        if test -n "$PKG_CONFIG" && \
 
23375
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$GDU_REQUIRED_VERSION\"") >&5
 
23376
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $GDU_REQUIRED_VERSION") 2>&5
 
23377
  ac_status=$?
 
23378
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23379
  (exit $ac_status); }; then
 
23380
  pkg_cv_GDU_MODULE_VERSION_CHECK_CFLAGS=`$PKG_CONFIG --cflags "gnome-doc-utils >= $GDU_REQUIRED_VERSION" 2>/dev/null`
 
23381
else
 
23382
  pkg_failed=yes
 
23383
fi
 
23384
    fi
 
23385
else
 
23386
        pkg_failed=untried
 
23387
fi
 
23388
if test -n "$PKG_CONFIG"; then
 
23389
    if test -n "$GDU_MODULE_VERSION_CHECK_LIBS"; then
 
23390
        pkg_cv_GDU_MODULE_VERSION_CHECK_LIBS="$GDU_MODULE_VERSION_CHECK_LIBS"
 
23391
    else
 
23392
        if test -n "$PKG_CONFIG" && \
 
23393
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$GDU_REQUIRED_VERSION\"") >&5
 
23394
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $GDU_REQUIRED_VERSION") 2>&5
 
23395
  ac_status=$?
 
23396
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23397
  (exit $ac_status); }; then
 
23398
  pkg_cv_GDU_MODULE_VERSION_CHECK_LIBS=`$PKG_CONFIG --libs "gnome-doc-utils >= $GDU_REQUIRED_VERSION" 2>/dev/null`
 
23399
else
 
23400
  pkg_failed=yes
 
23401
fi
 
23402
    fi
 
23403
else
 
23404
        pkg_failed=untried
 
23405
fi
 
23406
 
 
23407
 
 
23408
 
 
23409
if test $pkg_failed = yes; then
 
23410
 
 
23411
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23412
        _pkg_short_errors_supported=yes
 
23413
else
 
23414
        _pkg_short_errors_supported=no
 
23415
fi
 
23416
        if test $_pkg_short_errors_supported = yes; then
 
23417
                GDU_MODULE_VERSION_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-doc-utils >= $GDU_REQUIRED_VERSION"`
 
23418
        else
 
23419
                GDU_MODULE_VERSION_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-doc-utils >= $GDU_REQUIRED_VERSION"`
 
23420
        fi
 
23421
        # Put the nasty error message in config.log where it belongs
 
23422
        echo "$GDU_MODULE_VERSION_CHECK_PKG_ERRORS" >&5
 
23423
 
 
23424
        { { echo "$as_me:$LINENO: error: Package requirements (gnome-doc-utils >= $GDU_REQUIRED_VERSION) were not met:
 
23425
 
 
23426
$GDU_MODULE_VERSION_CHECK_PKG_ERRORS
 
23427
 
 
23428
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23429
installed software in a non-standard prefix.
 
23430
 
 
23431
Alternatively, you may set the environment variables GDU_MODULE_VERSION_CHECK_CFLAGS
 
23432
and GDU_MODULE_VERSION_CHECK_LIBS to avoid the need to call pkg-config.
 
23433
See the pkg-config man page for more details.
 
23434
" >&5
 
23435
echo "$as_me: error: Package requirements (gnome-doc-utils >= $GDU_REQUIRED_VERSION) were not met:
 
23436
 
 
23437
$GDU_MODULE_VERSION_CHECK_PKG_ERRORS
 
23438
 
 
23439
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23440
installed software in a non-standard prefix.
 
23441
 
 
23442
Alternatively, you may set the environment variables GDU_MODULE_VERSION_CHECK_CFLAGS
 
23443
and GDU_MODULE_VERSION_CHECK_LIBS to avoid the need to call pkg-config.
 
23444
See the pkg-config man page for more details.
 
23445
" >&2;}
 
23446
   { (exit 1); exit 1; }; }
 
23447
elif test $pkg_failed = untried; then
 
23448
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23449
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23450
path to pkg-config.
 
23451
 
 
23452
Alternatively, you may set the environment variables GDU_MODULE_VERSION_CHECK_CFLAGS
 
23453
and GDU_MODULE_VERSION_CHECK_LIBS to avoid the need to call pkg-config.
 
23454
See the pkg-config man page for more details.
 
23455
 
 
23456
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23457
See \`config.log' for more details." >&5
 
23458
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
23459
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23460
path to pkg-config.
 
23461
 
 
23462
Alternatively, you may set the environment variables GDU_MODULE_VERSION_CHECK_CFLAGS
 
23463
and GDU_MODULE_VERSION_CHECK_LIBS to avoid the need to call pkg-config.
 
23464
See the pkg-config man page for more details.
 
23465
 
 
23466
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23467
See \`config.log' for more details." >&2;}
 
23468
   { (exit 1); exit 1; }; }
 
23469
else
 
23470
        GDU_MODULE_VERSION_CHECK_CFLAGS=$pkg_cv_GDU_MODULE_VERSION_CHECK_CFLAGS
 
23471
        GDU_MODULE_VERSION_CHECK_LIBS=$pkg_cv_GDU_MODULE_VERSION_CHECK_LIBS
 
23472
        { echo "$as_me:$LINENO: result: yes" >&5
 
23473
echo "${ECHO_T}yes" >&6; }
 
23474
        :
 
23475
fi
 
23476
fi
 
23477
 
 
23478
 
 
23479
# Check whether --with-help-dir was given.
 
23480
if test "${with_help_dir+set}" = set; then
 
23481
  withval=$with_help_dir;
 
23482
else
 
23483
  with_help_dir='${datadir}/gnome/help'
 
23484
fi
 
23485
 
 
23486
HELP_DIR="$with_help_dir"
 
23487
 
 
23488
 
 
23489
 
 
23490
# Check whether --with-omf-dir was given.
 
23491
if test "${with_omf_dir+set}" = set; then
 
23492
  withval=$with_omf_dir;
 
23493
else
 
23494
  with_omf_dir='${datadir}/omf'
 
23495
fi
 
23496
 
 
23497
OMF_DIR="$with_omf_dir"
 
23498
 
 
23499
 
 
23500
 
 
23501
# Check whether --with-help-formats was given.
 
23502
if test "${with_help_formats+set}" = set; then
 
23503
  withval=$with_help_formats;
 
23504
else
 
23505
  with_help_formats=''
 
23506
fi
 
23507
 
 
23508
DOC_USER_FORMATS="$with_help_formats"
 
23509
 
 
23510
 
 
23511
# Check whether --enable-scrollkeeper was given.
 
23512
if test "${enable_scrollkeeper+set}" = set; then
 
23513
  enableval=$enable_scrollkeeper;
 
23514
else
 
23515
  enable_scrollkeeper=yes
 
23516
fi
 
23517
 
 
23518
 
 
23519
 
 
23520
if test "x$enable_scrollkeeper" = "xyes"; then
 
23521
  ENABLE_SK_TRUE=
 
23522
  ENABLE_SK_FALSE='#'
 
23523
else
 
23524
  ENABLE_SK_TRUE='#'
 
23525
  ENABLE_SK_FALSE=
 
23526
fi
22156
23527
 
22157
23528
 
22158
23529
 
22159
23530
 
22160
23531
# Extract the first word of "gconftool-2", so it can be a program name with args.
22161
23532
set dummy gconftool-2; ac_word=$2
22162
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22163
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23533
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23534
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22164
23535
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
22165
23536
  echo $ECHO_N "(cached) $ECHO_C" >&6
22166
23537
else
22175
23546
  IFS=$as_save_IFS
22176
23547
  test -z "$as_dir" && as_dir=.
22177
23548
  for ac_exec_ext in '' $ac_executable_extensions; do
22178
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
23549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22179
23550
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
22180
23551
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22181
23552
    break 2
22182
23553
  fi
22183
23554
done
22184
23555
done
 
23556
IFS=$as_save_IFS
22185
23557
 
22186
23558
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
22187
23559
  ;;
22188
23560
esac
22189
23561
fi
22190
23562
GCONFTOOL=$ac_cv_path_GCONFTOOL
22191
 
 
22192
23563
if test -n "$GCONFTOOL"; then
22193
 
  echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
22194
 
echo "${ECHO_T}$GCONFTOOL" >&6
 
23564
  { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
 
23565
echo "${ECHO_T}$GCONFTOOL" >&6; }
22195
23566
else
22196
 
  echo "$as_me:$LINENO: result: no" >&5
22197
 
echo "${ECHO_T}no" >&6
 
23567
  { echo "$as_me:$LINENO: result: no" >&5
 
23568
echo "${ECHO_T}no" >&6; }
22198
23569
fi
22199
23570
 
22200
23571
 
 
23572
 
22201
23573
if test x"$GCONFTOOL" = xno; then
22202
23574
  { { echo "$as_me:$LINENO: error: gconftool-2 executable not found in your path - should be installed with GConf" >&5
22203
23575
echo "$as_me: error: gconftool-2 executable not found in your path - should be installed with GConf" >&2;}
22212
23584
  fi
22213
23585
 
22214
23586
 
22215
 
# Check whether --with-gconf-source or --without-gconf-source was given.
 
23587
# Check whether --with-gconf-source was given.
22216
23588
if test "${with_gconf_source+set}" = set; then
22217
 
  withval="$with_gconf_source"
22218
 
  GCONF_SCHEMA_CONFIG_SOURCE="$withval"
22219
 
fi;
22220
 
 
22221
 
 
22222
 
  echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
22223
 
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6
 
23589
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
 
23590
fi
 
23591
 
 
23592
 
 
23593
 
 
23594
  { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
23595
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
22224
23596
 
22225
23597
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
22226
23598
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
22227
23599
  fi
22228
23600
 
22229
23601
 
22230
 
# Check whether --with-gconf-schema-file-dir or --without-gconf-schema-file-dir was given.
 
23602
# Check whether --with-gconf-schema-file-dir was given.
22231
23603
if test "${with_gconf_schema_file_dir+set}" = set; then
22232
 
  withval="$with_gconf_schema_file_dir"
22233
 
  GCONF_SCHEMA_FILE_DIR="$withval"
22234
 
fi;
22235
 
 
22236
 
 
22237
 
  echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
22238
 
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6
22239
 
 
22240
 
  # Check whether --enable-schemas-install or --disable-schemas-install was given.
 
23604
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
 
23605
fi
 
23606
 
 
23607
 
 
23608
 
 
23609
  { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
23610
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
 
23611
 
 
23612
  # Check whether --enable-schemas-install was given.
22241
23613
if test "${enable_schemas_install+set}" = set; then
22242
 
  enableval="$enable_schemas_install"
22243
 
  case "${enableval}" in
22244
 
       yes) schemas_install=true ;;
22245
 
       no)  schemas_install=false ;;
22246
 
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-schemas-install" >&5
22247
 
echo "$as_me: error: bad value ${enableval} for --disable-schemas-install" >&2;}
 
23614
  enableval=$enable_schemas_install; case ${enableval} in
 
23615
       yes|no) ;;
 
23616
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
 
23617
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
22248
23618
   { (exit 1); exit 1; }; } ;;
22249
 
     esac
22250
 
else
22251
 
  schemas_install=true
22252
 
fi;
22253
 
 
22254
 
 
22255
 
if test x$schemas_install = xtrue; then
 
23619
      esac
 
23620
fi
 
23621
 
 
23622
 
 
23623
 
 
23624
if test "$enable_schemas_install" != no; then
22256
23625
  GCONF_SCHEMAS_INSTALL_TRUE=
22257
23626
  GCONF_SCHEMAS_INSTALL_FALSE='#'
22258
23627
else
22264
23633
 
22265
23634
LIRC=""
22266
23635
if test "$enable_lirc" != "no"; then
22267
 
  echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
22268
 
echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6
 
23636
  { echo "$as_me:$LINENO: checking for lirc_init in -llirc_client" >&5
 
23637
echo $ECHO_N "checking for lirc_init in -llirc_client... $ECHO_C" >&6; }
22269
23638
if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then
22270
23639
  echo $ECHO_N "(cached) $ECHO_C" >&6
22271
23640
else
22278
23647
cat >>conftest.$ac_ext <<_ACEOF
22279
23648
/* end confdefs.h.  */
22280
23649
 
22281
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23650
/* Override any GCC internal prototype to avoid an error.
 
23651
   Use char because int might match the return type of a GCC
 
23652
   builtin and then its argument prototype would still apply.  */
22282
23653
#ifdef __cplusplus
22283
23654
extern "C"
22284
23655
#endif
22285
 
/* We use char because int might match the return type of a gcc2
22286
 
   builtin and then its argument prototype would still apply.  */
22287
23656
char lirc_init ();
22288
23657
int
22289
23658
main ()
22290
23659
{
22291
 
lirc_init ();
 
23660
return lirc_init ();
22292
23661
  ;
22293
23662
  return 0;
22294
23663
}
22295
23664
_ACEOF
22296
23665
rm -f conftest.$ac_objext conftest$ac_exeext
22297
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22298
 
  (eval $ac_link) 2>conftest.er1
 
23666
if { (ac_try="$ac_link"
 
23667
case "(($ac_try" in
 
23668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23669
  *) ac_try_echo=$ac_try;;
 
23670
esac
 
23671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23672
  (eval "$ac_link") 2>conftest.er1
22299
23673
  ac_status=$?
22300
23674
  grep -v '^ *+' conftest.er1 >conftest.err
22301
23675
  rm -f conftest.er1
22302
23676
  cat conftest.err >&5
22303
23677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304
23678
  (exit $ac_status); } &&
22305
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307
 
  (eval $ac_try) 2>&5
 
23679
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23680
  { (case "(($ac_try" in
 
23681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23682
  *) ac_try_echo=$ac_try;;
 
23683
esac
 
23684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23685
  (eval "$ac_try") 2>&5
22308
23686
  ac_status=$?
22309
23687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310
23688
  (exit $ac_status); }; } &&
22311
23689
         { ac_try='test -s conftest$ac_exeext'
22312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313
 
  (eval $ac_try) 2>&5
 
23690
  { (case "(($ac_try" in
 
23691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23692
  *) ac_try_echo=$ac_try;;
 
23693
esac
 
23694
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23695
  (eval "$ac_try") 2>&5
22314
23696
  ac_status=$?
22315
23697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316
23698
  (exit $ac_status); }; }; then
22319
23701
  echo "$as_me: failed program was:" >&5
22320
23702
sed 's/^/| /' conftest.$ac_ext >&5
22321
23703
 
22322
 
ac_cv_lib_lirc_client_lirc_init=no
 
23704
        ac_cv_lib_lirc_client_lirc_init=no
22323
23705
fi
22324
 
rm -f conftest.err conftest.$ac_objext \
 
23706
 
 
23707
rm -f core conftest.err conftest.$ac_objext \
22325
23708
      conftest$ac_exeext conftest.$ac_ext
22326
23709
LIBS=$ac_check_lib_save_LIBS
22327
23710
fi
22328
 
echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
22329
 
echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6
 
23711
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_lirc_init" >&5
 
23712
echo "${ECHO_T}$ac_cv_lib_lirc_client_lirc_init" >&6; }
22330
23713
if test $ac_cv_lib_lirc_client_lirc_init = yes; then
22331
23714
 
22332
23715
cat >>confdefs.h <<\_ACEOF
22339
23722
  echo "*** lirc disabled"
22340
23723
fi
22341
23724
 
22342
 
# Check whether --enable-install_schemas or --disable-install_schemas was given.
 
23725
# Check whether --enable-install_schemas was given.
22343
23726
if test "${enable_install_schemas+set}" = set; then
22344
 
  enableval="$enable_install_schemas"
 
23727
  enableval=$enable_install_schemas;
 
23728
fi
22345
23729
 
22346
 
fi;
22347
23730
 
22348
23731
 
22349
23732
if test x$enable_install_schemas != xno; then
22355
23738
fi
22356
23739
 
22357
23740
 
22358
 
                                                                      ac_config_files="$ac_config_files gnomeradio.spec Makefile src/Makefile po/Makefile.in pixmaps/Makefile docs/Makefile docs/C/Makefile"
 
23741
ac_config_files="$ac_config_files gnomeradio.spec Makefile src/Makefile po/Makefile.in data/Makefile data/pixmaps/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/scalable/Makefile help/Makefile"
 
23742
 
22359
23743
cat >confcache <<\_ACEOF
22360
23744
# This file is a shell script that caches the results of configure
22361
23745
# tests run on this system so they can be shared between configure
22374
23758
 
22375
23759
# The following way of writing the cache mishandles newlines in values,
22376
23760
# but we know of no workaround that is simple, portable, and efficient.
22377
 
# So, don't put newlines in cache variables' values.
 
23761
# So, we kill variables containing newlines.
22378
23762
# Ultrix sh set writes to stderr and can't be redirected directly,
22379
23763
# and sets the high bit in the cache file unless we assign to the vars.
22380
 
{
 
23764
(
 
23765
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
23766
    eval ac_val=\$$ac_var
 
23767
    case $ac_val in #(
 
23768
    *${as_nl}*)
 
23769
      case $ac_var in #(
 
23770
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
23771
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
23772
      esac
 
23773
      case $ac_var in #(
 
23774
      _ | IFS | as_nl) ;; #(
 
23775
      *) $as_unset $ac_var ;;
 
23776
      esac ;;
 
23777
    esac
 
23778
  done
 
23779
 
22381
23780
  (set) 2>&1 |
22382
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
22383
 
    *ac_space=\ *)
 
23781
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
23782
    *${as_nl}ac_space=\ *)
22384
23783
      # `set' does not quote correctly, so add quotes (double-quote
22385
23784
      # substitution turns \\\\ into \\, and sed turns \\ into \).
22386
23785
      sed -n \
22387
23786
        "s/'/'\\\\''/g;
22388
23787
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22389
 
      ;;
 
23788
      ;; #(
22390
23789
    *)
22391
23790
      # `set' quotes correctly as required by POSIX, so do not add quotes.
22392
 
      sed -n \
22393
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
23791
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22394
23792
      ;;
22395
 
    esac;
22396
 
} |
 
23793
    esac |
 
23794
    sort
 
23795
) |
22397
23796
  sed '
 
23797
     /^ac_cv_env_/b end
22398
23798
     t clear
22399
 
     : clear
 
23799
     :clear
22400
23800
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22401
23801
     t end
22402
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22403
 
     : end' >>confcache
22404
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
22405
 
  if test -w $cache_file; then
22406
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
23802
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
23803
     :end' >>confcache
 
23804
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
23805
  if test -w "$cache_file"; then
 
23806
    test "x$cache_file" != "x/dev/null" &&
 
23807
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
23808
echo "$as_me: updating cache $cache_file" >&6;}
22407
23809
    cat confcache >$cache_file
22408
23810
  else
22409
 
    echo "not updating unwritable cache $cache_file"
 
23811
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
23812
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22410
23813
  fi
22411
23814
fi
22412
23815
rm -f confcache
22415
23818
# Let make expand exec_prefix.
22416
23819
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22417
23820
 
22418
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22419
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22420
 
# trailing colons and then remove the whole line if VPATH becomes empty
22421
 
# (actually we leave an empty line to preserve line numbers).
22422
 
if test "x$srcdir" = x.; then
22423
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
22424
 
s/:*\$(srcdir):*/:/;
22425
 
s/:*\${srcdir}:*/:/;
22426
 
s/:*@srcdir@:*/:/;
22427
 
s/^\([^=]*=[     ]*\):*/\1/;
22428
 
s/:*$//;
22429
 
s/^[^=]*=[       ]*$//;
22430
 
}'
22431
 
fi
22432
 
 
22433
23821
DEFS=-DHAVE_CONFIG_H
22434
23822
 
22435
23823
ac_libobjs=
22436
23824
ac_ltlibobjs=
22437
23825
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22438
23826
  # 1. Remove the extension, and $U if already installed.
22439
 
  ac_i=`echo "$ac_i" |
22440
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22441
 
  # 2. Add them.
22442
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22443
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
23827
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
23828
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
23829
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
23830
  #    will be set to the directory where LIBOBJS objects are built.
 
23831
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
23832
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22444
23833
done
22445
23834
LIBOBJS=$ac_libobjs
22446
23835
 
22455
23844
   { (exit 1); exit 1; }; }
22456
23845
fi
22457
23846
 
22458
 
 
22459
 
        mv -f po/POTFILES po/POTFILES.tmp
22460
 
        sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
22461
 
        rm -f po/POTFILES.tmp
 
23847
  ac_config_commands="$ac_config_commands po/stamp-it"
22462
23848
 
22463
23849
 
22464
23850
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22489
23875
Usually this means the macro was only invoked conditionally." >&2;}
22490
23876
   { (exit 1); exit 1; }; }
22491
23877
fi
 
23878
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
 
23879
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
 
23880
Usually this means the macro was only invoked conditionally." >&5
 
23881
echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
 
23882
Usually this means the macro was only invoked conditionally." >&2;}
 
23883
   { (exit 1); exit 1; }; }
 
23884
fi
22492
23885
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
22493
23886
  { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
22494
23887
Usually this means the macro was only invoked conditionally." >&5
22534
23927
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22535
23928
  # is contrary to our usage.  Disable this feature.
22536
23929
  alias -g '${1+"$@"}'='"$@"'
22537
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22538
 
  set -o posix
 
23930
  setopt NO_GLOB_SUBST
 
23931
else
 
23932
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
22539
23933
fi
 
23934
BIN_SH=xpg4; export BIN_SH # for Tru64
22540
23935
DUALCASE=1; export DUALCASE # for MKS sh
22541
23936
 
 
23937
 
 
23938
# PATH needs CR
 
23939
# Avoid depending upon Character Ranges.
 
23940
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
23941
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
23942
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
23943
as_cr_digits='0123456789'
 
23944
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
23945
 
 
23946
# The user is always right.
 
23947
if test "${PATH_SEPARATOR+set}" != set; then
 
23948
  echo "#! /bin/sh" >conf$$.sh
 
23949
  echo  "exit 0"   >>conf$$.sh
 
23950
  chmod +x conf$$.sh
 
23951
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
23952
    PATH_SEPARATOR=';'
 
23953
  else
 
23954
    PATH_SEPARATOR=:
 
23955
  fi
 
23956
  rm -f conf$$.sh
 
23957
fi
 
23958
 
22542
23959
# Support unset when possible.
22543
23960
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22544
23961
  as_unset=unset
22547
23964
fi
22548
23965
 
22549
23966
 
 
23967
# IFS
 
23968
# We need space, tab and new line, in precisely that order.  Quoting is
 
23969
# there to prevent editors from complaining about space-tab.
 
23970
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
23971
# splitting by setting IFS to empty value.)
 
23972
as_nl='
 
23973
'
 
23974
IFS=" ""        $as_nl"
 
23975
 
 
23976
# Find who we are.  Look in the path if we contain no directory separator.
 
23977
case $0 in
 
23978
  *[\\/]* ) as_myself=$0 ;;
 
23979
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23980
for as_dir in $PATH
 
23981
do
 
23982
  IFS=$as_save_IFS
 
23983
  test -z "$as_dir" && as_dir=.
 
23984
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
23985
done
 
23986
IFS=$as_save_IFS
 
23987
 
 
23988
     ;;
 
23989
esac
 
23990
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
23991
# in which case we are not to be found in the path.
 
23992
if test "x$as_myself" = x; then
 
23993
  as_myself=$0
 
23994
fi
 
23995
if test ! -f "$as_myself"; then
 
23996
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23997
  { (exit 1); exit 1; }
 
23998
fi
 
23999
 
22550
24000
# Work around bugs in pre-3.0 UWIN ksh.
22551
 
$as_unset ENV MAIL MAILPATH
 
24001
for as_var in ENV MAIL MAILPATH
 
24002
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
24003
done
22552
24004
PS1='$ '
22553
24005
PS2='> '
22554
24006
PS4='+ '
22562
24014
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22563
24015
    eval $as_var=C; export $as_var
22564
24016
  else
22565
 
    $as_unset $as_var
 
24017
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22566
24018
  fi
22567
24019
done
22568
24020
 
22569
24021
# Required to use basename.
22570
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
24022
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
24023
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22571
24024
  as_expr=expr
22572
24025
else
22573
24026
  as_expr=false
22574
24027
fi
22575
24028
 
22576
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
24029
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22577
24030
  as_basename=basename
22578
24031
else
22579
24032
  as_basename=false
22581
24034
 
22582
24035
 
22583
24036
# Name of the executable.
22584
 
as_me=`$as_basename "$0" ||
 
24037
as_me=`$as_basename -- "$0" ||
22585
24038
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22586
24039
         X"$0" : 'X\(//\)$' \| \
22587
 
         X"$0" : 'X\(/\)$' \| \
22588
 
         .     : '\(.\)' 2>/dev/null ||
 
24040
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22589
24041
echo X/"$0" |
22590
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22591
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
22592
 
          /^X\/\(\/\).*/{ s//\1/; q; }
22593
 
          s/.*/./; q'`
22594
 
 
22595
 
 
22596
 
# PATH needs CR, and LINENO needs CR and PATH.
22597
 
# Avoid depending upon Character Ranges.
22598
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22599
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22600
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22601
 
as_cr_digits='0123456789'
22602
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
22603
 
 
22604
 
# The user is always right.
22605
 
if test "${PATH_SEPARATOR+set}" != set; then
22606
 
  echo "#! /bin/sh" >conf$$.sh
22607
 
  echo  "exit 0"   >>conf$$.sh
22608
 
  chmod +x conf$$.sh
22609
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22610
 
    PATH_SEPARATOR=';'
22611
 
  else
22612
 
    PATH_SEPARATOR=:
22613
 
  fi
22614
 
  rm -f conf$$.sh
22615
 
fi
22616
 
 
22617
 
 
22618
 
  as_lineno_1=$LINENO
22619
 
  as_lineno_2=$LINENO
22620
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22621
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22622
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
22623
 
  # Find who we are.  Look in the path if we contain no path at all
22624
 
  # relative or not.
22625
 
  case $0 in
22626
 
    *[\\/]* ) as_myself=$0 ;;
22627
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22628
 
for as_dir in $PATH
22629
 
do
22630
 
  IFS=$as_save_IFS
22631
 
  test -z "$as_dir" && as_dir=.
22632
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22633
 
done
22634
 
 
22635
 
       ;;
22636
 
  esac
22637
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
22638
 
  # in which case we are not to be found in the path.
22639
 
  if test "x$as_myself" = x; then
22640
 
    as_myself=$0
22641
 
  fi
22642
 
  if test ! -f "$as_myself"; then
22643
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22644
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22645
 
   { (exit 1); exit 1; }; }
22646
 
  fi
22647
 
  case $CONFIG_SHELL in
22648
 
  '')
22649
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22650
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22651
 
do
22652
 
  IFS=$as_save_IFS
22653
 
  test -z "$as_dir" && as_dir=.
22654
 
  for as_base in sh bash ksh sh5; do
22655
 
         case $as_dir in
22656
 
         /*)
22657
 
           if ("$as_dir/$as_base" -c '
22658
 
  as_lineno_1=$LINENO
22659
 
  as_lineno_2=$LINENO
22660
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22661
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22662
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
22663
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22664
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22665
 
             CONFIG_SHELL=$as_dir/$as_base
22666
 
             export CONFIG_SHELL
22667
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22668
 
           fi;;
22669
 
         esac
22670
 
       done
22671
 
done
22672
 
;;
22673
 
  esac
 
24042
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
24043
            s//\1/
 
24044
            q
 
24045
          }
 
24046
          /^X\/\(\/\/\)$/{
 
24047
            s//\1/
 
24048
            q
 
24049
          }
 
24050
          /^X\/\(\/\).*/{
 
24051
            s//\1/
 
24052
            q
 
24053
          }
 
24054
          s/.*/./; q'`
 
24055
 
 
24056
# CDPATH.
 
24057
$as_unset CDPATH
 
24058
 
 
24059
 
 
24060
 
 
24061
  as_lineno_1=$LINENO
 
24062
  as_lineno_2=$LINENO
 
24063
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
24064
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22674
24065
 
22675
24066
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22676
24067
  # uniformly replaced by the line number.  The first 'sed' inserts a
22677
 
  # line-number line before each line; the second 'sed' does the real
22678
 
  # work.  The second script uses 'N' to pair each line-number line
22679
 
  # with the numbered line, and appends trailing '-' during
22680
 
  # substitution so that $LINENO is not a special case at line end.
 
24068
  # line-number line after each line using $LINENO; the second 'sed'
 
24069
  # does the real work.  The second script uses 'N' to pair each
 
24070
  # line-number line with the line containing $LINENO, and appends
 
24071
  # trailing '-' during substitution so that $LINENO is not a special
 
24072
  # case at line end.
22681
24073
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22682
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22683
 
  sed '=' <$as_myself |
 
24074
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
24075
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
24076
  sed -n '
 
24077
    p
 
24078
    /[$]LINENO/=
 
24079
  ' <$as_myself |
22684
24080
    sed '
 
24081
      s/[$]LINENO.*/&-/
 
24082
      t lineno
 
24083
      b
 
24084
      :lineno
22685
24085
      N
22686
 
      s,$,-,
22687
 
      : loop
22688
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
24086
      :loop
 
24087
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22689
24088
      t loop
22690
 
      s,-$,,
22691
 
      s,^['$as_cr_digits']*\n,,
 
24089
      s/-\n.*//
22692
24090
    ' >$as_me.lineno &&
22693
 
  chmod +x $as_me.lineno ||
22694
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22695
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
24091
  chmod +x "$as_me.lineno" ||
 
24092
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22696
24093
   { (exit 1); exit 1; }; }
22697
24094
 
22698
24095
  # Don't try to exec as it changes $[0], causing all sort of problems
22699
24096
  # (the dirname of $[0] is not the place where we might find the
22700
 
  # original and so on.  Autoconf is especially sensible to this).
22701
 
  . ./$as_me.lineno
 
24097
  # original and so on.  Autoconf is especially sensitive to this).
 
24098
  . "./$as_me.lineno"
22702
24099
  # Exit status is that of the last command.
22703
24100
  exit
22704
24101
}
22705
24102
 
22706
24103
 
22707
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22708
 
  *c*,-n*) ECHO_N= ECHO_C='
22709
 
' ECHO_T='      ' ;;
22710
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22711
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
24104
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
24105
  as_dirname=dirname
 
24106
else
 
24107
  as_dirname=false
 
24108
fi
 
24109
 
 
24110
ECHO_C= ECHO_N= ECHO_T=
 
24111
case `echo -n x` in
 
24112
-n*)
 
24113
  case `echo 'x\c'` in
 
24114
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
24115
  *)   ECHO_C='\c';;
 
24116
  esac;;
 
24117
*)
 
24118
  ECHO_N='-n';;
22712
24119
esac
22713
24120
 
22714
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
24121
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
24122
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22715
24123
  as_expr=expr
22716
24124
else
22717
24125
  as_expr=false
22718
24126
fi
22719
24127
 
22720
24128
rm -f conf$$ conf$$.exe conf$$.file
 
24129
if test -d conf$$.dir; then
 
24130
  rm -f conf$$.dir/conf$$.file
 
24131
else
 
24132
  rm -f conf$$.dir
 
24133
  mkdir conf$$.dir
 
24134
fi
22721
24135
echo >conf$$.file
22722
24136
if ln -s conf$$.file conf$$ 2>/dev/null; then
22723
 
  # We could just check for DJGPP; but this test a) works b) is more generic
22724
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22725
 
  if test -f conf$$.exe; then
22726
 
    # Don't use ln at all; we don't have any links
 
24137
  as_ln_s='ln -s'
 
24138
  # ... but there are two gotchas:
 
24139
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
24140
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
24141
  # In both cases, we have to default to `cp -p'.
 
24142
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22727
24143
    as_ln_s='cp -p'
22728
 
  else
22729
 
    as_ln_s='ln -s'
22730
 
  fi
22731
24144
elif ln conf$$.file conf$$ 2>/dev/null; then
22732
24145
  as_ln_s=ln
22733
24146
else
22734
24147
  as_ln_s='cp -p'
22735
24148
fi
22736
 
rm -f conf$$ conf$$.exe conf$$.file
 
24149
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
24150
rmdir conf$$.dir 2>/dev/null
22737
24151
 
22738
24152
if mkdir -p . 2>/dev/null; then
22739
24153
  as_mkdir_p=:
22742
24156
  as_mkdir_p=false
22743
24157
fi
22744
24158
 
22745
 
as_executable_p="test -f"
 
24159
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
24160
# systems may use methods other than mode bits to determine executability.
 
24161
cat >conf$$.file <<_ASEOF
 
24162
#! /bin/sh
 
24163
exit 0
 
24164
_ASEOF
 
24165
chmod +x conf$$.file
 
24166
if test -x conf$$.file >/dev/null 2>&1; then
 
24167
  as_executable_p="test -x"
 
24168
else
 
24169
  as_executable_p=:
 
24170
fi
 
24171
rm -f conf$$.file
22746
24172
 
22747
24173
# Sed expression to map a string onto a valid CPP name.
22748
24174
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22751
24177
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22752
24178
 
22753
24179
 
22754
 
# IFS
22755
 
# We need space, tab and new line, in precisely that order.
22756
 
as_nl='
22757
 
'
22758
 
IFS="   $as_nl"
22759
 
 
22760
 
# CDPATH.
22761
 
$as_unset CDPATH
22762
 
 
22763
24180
exec 6>&1
22764
24181
 
22765
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
24182
# Save the log message, to keep $[0] and so on meaningful, and to
22766
24183
# report actual input values of CONFIG_FILES etc. instead of their
22767
 
# values after options handling.  Logging --version etc. is OK.
22768
 
exec 5>>config.log
22769
 
{
22770
 
  echo
22771
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22772
 
## Running $as_me. ##
22773
 
_ASBOX
22774
 
} >&5
22775
 
cat >&5 <<_CSEOF
22776
 
 
22777
 
This file was extended by gnomeradio $as_me 1.6, which was
22778
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
24184
# values after options handling.
 
24185
ac_log="
 
24186
This file was extended by gnomeradio $as_me 1.7, which was
 
24187
generated by GNU Autoconf 2.60.  Invocation command line was
22779
24188
 
22780
24189
  CONFIG_FILES    = $CONFIG_FILES
22781
24190
  CONFIG_HEADERS  = $CONFIG_HEADERS
22783
24192
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22784
24193
  $ $0 $@
22785
24194
 
22786
 
_CSEOF
22787
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22788
 
echo >&5
 
24195
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
24196
"
 
24197
 
22789
24198
_ACEOF
22790
24199
 
 
24200
cat >>$CONFIG_STATUS <<_ACEOF
22791
24201
# Files that config.status was made for.
22792
 
if test -n "$ac_config_files"; then
22793
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22794
 
fi
22795
 
 
22796
 
if test -n "$ac_config_headers"; then
22797
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22798
 
fi
22799
 
 
22800
 
if test -n "$ac_config_links"; then
22801
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22802
 
fi
22803
 
 
22804
 
if test -n "$ac_config_commands"; then
22805
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22806
 
fi
 
24202
config_files="$ac_config_files"
 
24203
config_headers="$ac_config_headers"
 
24204
config_commands="$ac_config_commands"
 
24205
 
 
24206
_ACEOF
22807
24207
 
22808
24208
cat >>$CONFIG_STATUS <<\_ACEOF
22809
 
 
22810
24209
ac_cs_usage="\
22811
24210
\`$as_me' instantiates files from templates according to the
22812
24211
current configuration.
22833
24232
$config_commands
22834
24233
 
22835
24234
Report bugs to <bug-autoconf@gnu.org>."
 
24235
 
22836
24236
_ACEOF
22837
 
 
22838
24237
cat >>$CONFIG_STATUS <<_ACEOF
22839
24238
ac_cs_version="\\
22840
 
gnomeradio config.status 1.6
22841
 
configured by $0, generated by GNU Autoconf 2.59,
22842
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
24239
gnomeradio config.status 1.7
 
24240
configured by $0, generated by GNU Autoconf 2.60,
 
24241
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22843
24242
 
22844
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
24243
Copyright (C) 2006 Free Software Foundation, Inc.
22845
24244
This config.status script is free software; the Free Software Foundation
22846
24245
gives unlimited permission to copy, distribute and modify it."
22847
 
srcdir=$srcdir
22848
 
INSTALL="$INSTALL"
 
24246
 
 
24247
ac_pwd='$ac_pwd'
 
24248
srcdir='$srcdir'
 
24249
INSTALL='$INSTALL'
22849
24250
_ACEOF
22850
24251
 
22851
24252
cat >>$CONFIG_STATUS <<\_ACEOF
22856
24257
do
22857
24258
  case $1 in
22858
24259
  --*=*)
22859
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
22860
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
24260
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
24261
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22861
24262
    ac_shift=:
22862
24263
    ;;
22863
 
  -*)
 
24264
  *)
22864
24265
    ac_option=$1
22865
24266
    ac_optarg=$2
22866
24267
    ac_shift=shift
22867
24268
    ;;
22868
 
  *) # This is not an option, so the user has probably given explicit
22869
 
     # arguments.
22870
 
     ac_option=$1
22871
 
     ac_need_defaults=false;;
22872
24269
  esac
22873
24270
 
22874
24271
  case $ac_option in
22875
24272
  # Handling of the options.
22876
 
_ACEOF
22877
 
cat >>$CONFIG_STATUS <<\_ACEOF
22878
24273
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22879
24274
    ac_cs_recheck=: ;;
22880
 
  --version | --vers* | -V )
22881
 
    echo "$ac_cs_version"; exit 0 ;;
22882
 
  --he | --h)
22883
 
    # Conflict between --help and --header
22884
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
22885
 
Try \`$0 --help' for more information." >&5
22886
 
echo "$as_me: error: ambiguous option: $1
22887
 
Try \`$0 --help' for more information." >&2;}
22888
 
   { (exit 1); exit 1; }; };;
22889
 
  --help | --hel | -h )
22890
 
    echo "$ac_cs_usage"; exit 0 ;;
22891
 
  --debug | --d* | -d )
 
24275
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
24276
    echo "$ac_cs_version"; exit ;;
 
24277
  --debug | --debu | --deb | --de | --d | -d )
22892
24278
    debug=: ;;
22893
24279
  --file | --fil | --fi | --f )
22894
24280
    $ac_shift
22898
24284
    $ac_shift
22899
24285
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22900
24286
    ac_need_defaults=false;;
 
24287
  --he | --h)
 
24288
    # Conflict between --help and --header
 
24289
    { echo "$as_me: error: ambiguous option: $1
 
24290
Try \`$0 --help' for more information." >&2
 
24291
   { (exit 1); exit 1; }; };;
 
24292
  --help | --hel | -h )
 
24293
    echo "$ac_cs_usage"; exit ;;
22901
24294
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22902
24295
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22903
24296
    ac_cs_silent=: ;;
22904
24297
 
22905
24298
  # This is an error.
22906
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22907
 
Try \`$0 --help' for more information." >&5
22908
 
echo "$as_me: error: unrecognized option: $1
22909
 
Try \`$0 --help' for more information." >&2;}
 
24299
  -*) { echo "$as_me: error: unrecognized option: $1
 
24300
Try \`$0 --help' for more information." >&2
22910
24301
   { (exit 1); exit 1; }; } ;;
22911
24302
 
22912
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
24303
  *) ac_config_targets="$ac_config_targets $1"
 
24304
     ac_need_defaults=false ;;
22913
24305
 
22914
24306
  esac
22915
24307
  shift
22925
24317
_ACEOF
22926
24318
cat >>$CONFIG_STATUS <<_ACEOF
22927
24319
if \$ac_cs_recheck; then
22928
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22929
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
24320
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
24321
  CONFIG_SHELL=$SHELL
 
24322
  export CONFIG_SHELL
 
24323
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22930
24324
fi
22931
24325
 
22932
24326
_ACEOF
 
24327
cat >>$CONFIG_STATUS <<\_ACEOF
 
24328
exec 5>>config.log
 
24329
{
 
24330
  echo
 
24331
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
24332
## Running $as_me. ##
 
24333
_ASBOX
 
24334
  echo "$ac_log"
 
24335
} >&5
22933
24336
 
 
24337
_ACEOF
22934
24338
cat >>$CONFIG_STATUS <<_ACEOF
22935
24339
#
22936
 
# INIT-COMMANDS section.
 
24340
# INIT-COMMANDS
22937
24341
#
22938
 
 
22939
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
22940
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${INTLTOOL_ICONV}'
22941
 
MSGFMT='${INTLTOOL_MSGFMT}' MSGMERGE='${INTLTOOL_MSGMERGE}'
22942
 
XGETTEXT='${INTLTOOL_XGETTEXT}'
 
24342
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
 
24343
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
 
24344
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
 
24345
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
 
24346
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
22943
24347
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22944
24348
 
22945
24349
 
22946
24350
_ACEOF
22947
24351
 
22948
 
 
22949
 
 
22950
24352
cat >>$CONFIG_STATUS <<\_ACEOF
 
24353
 
 
24354
# Handling of arguments.
22951
24355
for ac_config_target in $ac_config_targets
22952
24356
do
22953
 
  case "$ac_config_target" in
22954
 
  # Handling of arguments.
22955
 
  "gnomeradio.spec" ) CONFIG_FILES="$CONFIG_FILES gnomeradio.spec" ;;
22956
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22957
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22958
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
22959
 
  "pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
22960
 
  "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
22961
 
  "docs/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/C/Makefile" ;;
22962
 
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
22963
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22964
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
22965
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
24357
  case $ac_config_target in
 
24358
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
24359
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
24360
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
24361
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
24362
    "gnomeradio.spec") CONFIG_FILES="$CONFIG_FILES gnomeradio.spec" ;;
 
24363
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
24364
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
24365
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
24366
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
24367
    "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
 
24368
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
 
24369
    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
 
24370
    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
 
24371
    "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
 
24372
    "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
 
24373
    "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
 
24374
    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
 
24375
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
 
24376
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
24377
 
22966
24378
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22967
24379
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22968
24380
   { (exit 1); exit 1; }; };;
22969
24381
  esac
22970
24382
done
22971
24383
 
 
24384
 
22972
24385
# If the user did not use the arguments to specify the items to instantiate,
22973
24386
# then the envvar interface is used.  Set only those that are not.
22974
24387
# We use the long form for the default assignment because of an extremely
22980
24393
fi
22981
24394
 
22982
24395
# Have a temporary directory for convenience.  Make it in the build tree
22983
 
# simply because there is no reason to put it here, and in addition,
 
24396
# simply because there is no reason against having it here, and in addition,
22984
24397
# creating and moving files from /tmp can sometimes cause problems.
22985
 
# Create a temporary directory, and hook for its removal unless debugging.
 
24398
# Hook for its removal unless debugging.
 
24399
# Note that there is a small window in which the directory will not be cleaned:
 
24400
# after its creation but before its name has been assigned to `$tmp'.
22986
24401
$debug ||
22987
24402
{
22988
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
24403
  tmp=
 
24404
  trap 'exit_status=$?
 
24405
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
24406
' 0
22989
24407
  trap '{ (exit 1); exit 1; }' 1 2 13 15
22990
24408
}
22991
 
 
22992
24409
# Create a (secure) tmp directory for tmp files.
22993
24410
 
22994
24411
{
22995
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
24412
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22996
24413
  test -n "$tmp" && test -d "$tmp"
22997
24414
}  ||
22998
24415
{
22999
 
  tmp=./confstat$$-$RANDOM
23000
 
  (umask 077 && mkdir $tmp)
 
24416
  tmp=./conf$$-$RANDOM
 
24417
  (umask 077 && mkdir "$tmp")
23001
24418
} ||
23002
24419
{
23003
24420
   echo "$me: cannot create a temporary directory in ." >&2
23004
24421
   { (exit 1); exit 1; }
23005
24422
}
23006
24423
 
23007
 
_ACEOF
23008
 
 
23009
 
cat >>$CONFIG_STATUS <<_ACEOF
23010
 
 
23011
24424
#
23012
 
# CONFIG_FILES section.
 
24425
# Set up the sed scripts for CONFIG_FILES section.
23013
24426
#
23014
24427
 
23015
24428
# No need to generate the scripts if there are no CONFIG_FILES.
23016
24429
# This happens for instance when ./config.status config.h
23017
 
if test -n "\$CONFIG_FILES"; then
23018
 
  # Protect against being on the right side of a sed subst in config.status.
23019
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23020
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23021
 
s,@SHELL@,$SHELL,;t t
23022
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23023
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23024
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23025
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23026
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23027
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23028
 
s,@exec_prefix@,$exec_prefix,;t t
23029
 
s,@prefix@,$prefix,;t t
23030
 
s,@program_transform_name@,$program_transform_name,;t t
23031
 
s,@bindir@,$bindir,;t t
23032
 
s,@sbindir@,$sbindir,;t t
23033
 
s,@libexecdir@,$libexecdir,;t t
23034
 
s,@datadir@,$datadir,;t t
23035
 
s,@sysconfdir@,$sysconfdir,;t t
23036
 
s,@sharedstatedir@,$sharedstatedir,;t t
23037
 
s,@localstatedir@,$localstatedir,;t t
23038
 
s,@libdir@,$libdir,;t t
23039
 
s,@includedir@,$includedir,;t t
23040
 
s,@oldincludedir@,$oldincludedir,;t t
23041
 
s,@infodir@,$infodir,;t t
23042
 
s,@mandir@,$mandir,;t t
23043
 
s,@build_alias@,$build_alias,;t t
23044
 
s,@host_alias@,$host_alias,;t t
23045
 
s,@target_alias@,$target_alias,;t t
23046
 
s,@DEFS@,$DEFS,;t t
23047
 
s,@ECHO_C@,$ECHO_C,;t t
23048
 
s,@ECHO_N@,$ECHO_N,;t t
23049
 
s,@ECHO_T@,$ECHO_T,;t t
23050
 
s,@LIBS@,$LIBS,;t t
23051
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23052
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23053
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23054
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
23055
 
s,@PACKAGE@,$PACKAGE,;t t
23056
 
s,@VERSION@,$VERSION,;t t
23057
 
s,@ACLOCAL@,$ACLOCAL,;t t
23058
 
s,@AUTOCONF@,$AUTOCONF,;t t
23059
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
23060
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
23061
 
s,@MAKEINFO@,$MAKEINFO,;t t
23062
 
s,@AMTAR@,$AMTAR,;t t
23063
 
s,@install_sh@,$install_sh,;t t
23064
 
s,@STRIP@,$STRIP,;t t
23065
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23066
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23067
 
s,@AWK@,$AWK,;t t
23068
 
s,@SET_MAKE@,$SET_MAKE,;t t
23069
 
s,@am__leading_dot@,$am__leading_dot,;t t
23070
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23071
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23072
 
s,@MAINT@,$MAINT,;t t
23073
 
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
23074
 
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
23075
 
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
23076
 
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
23077
 
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
23078
 
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
23079
 
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
23080
 
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
23081
 
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
23082
 
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
23083
 
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
23084
 
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
23085
 
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
23086
 
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
23087
 
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
23088
 
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
23089
 
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
23090
 
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
23091
 
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
23092
 
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
23093
 
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
23094
 
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
23095
 
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
23096
 
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
23097
 
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
23098
 
s,@mkdir_p@,$mkdir_p,;t t
23099
 
s,@build@,$build,;t t
23100
 
s,@build_cpu@,$build_cpu,;t t
23101
 
s,@build_vendor@,$build_vendor,;t t
23102
 
s,@build_os@,$build_os,;t t
23103
 
s,@host@,$host,;t t
23104
 
s,@host_cpu@,$host_cpu,;t t
23105
 
s,@host_vendor@,$host_vendor,;t t
23106
 
s,@host_os@,$host_os,;t t
23107
 
s,@CC@,$CC,;t t
23108
 
s,@CFLAGS@,$CFLAGS,;t t
23109
 
s,@LDFLAGS@,$LDFLAGS,;t t
23110
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
23111
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
23112
 
s,@EXEEXT@,$EXEEXT,;t t
23113
 
s,@OBJEXT@,$OBJEXT,;t t
23114
 
s,@DEPDIR@,$DEPDIR,;t t
23115
 
s,@am__include@,$am__include,;t t
23116
 
s,@am__quote@,$am__quote,;t t
23117
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23118
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23119
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23120
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
23121
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23122
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23123
 
s,@EGREP@,$EGREP,;t t
23124
 
s,@LN_S@,$LN_S,;t t
23125
 
s,@ECHO@,$ECHO,;t t
23126
 
s,@AR@,$AR,;t t
23127
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
23128
 
s,@RANLIB@,$RANLIB,;t t
23129
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23130
 
s,@CPP@,$CPP,;t t
23131
 
s,@CXX@,$CXX,;t t
23132
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
23133
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23134
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23135
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23136
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23137
 
s,@CXXCPP@,$CXXCPP,;t t
23138
 
s,@F77@,$F77,;t t
23139
 
s,@FFLAGS@,$FFLAGS,;t t
23140
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
23141
 
s,@LIBTOOL@,$LIBTOOL,;t t
23142
 
s,@USE_NLS@,$USE_NLS,;t t
23143
 
s,@MSGFMT@,$MSGFMT,;t t
23144
 
s,@GMSGFMT@,$GMSGFMT,;t t
23145
 
s,@XGETTEXT@,$XGETTEXT,;t t
23146
 
s,@CATALOGS@,$CATALOGS,;t t
23147
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
23148
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
23149
 
s,@GMOFILES@,$GMOFILES,;t t
23150
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
23151
 
s,@INTLLIBS@,$INTLLIBS,;t t
23152
 
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
23153
 
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
23154
 
s,@POFILES@,$POFILES,;t t
23155
 
s,@POSUB@,$POSUB,;t t
23156
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
23157
 
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
23158
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23159
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
23160
 
s,@GNOMERADIO_CFLAGS@,$GNOMERADIO_CFLAGS,;t t
23161
 
s,@GNOMERADIO_LIBS@,$GNOMERADIO_LIBS,;t t
23162
 
s,@LIRC@,$LIRC,;t t
23163
 
s,@GCONFTOOL@,$GCONFTOOL,;t t
23164
 
s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t
23165
 
s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t
23166
 
s,@GCONF_SCHEMAS_INSTALL_TRUE@,$GCONF_SCHEMAS_INSTALL_TRUE,;t t
23167
 
s,@GCONF_SCHEMAS_INSTALL_FALSE@,$GCONF_SCHEMAS_INSTALL_FALSE,;t t
23168
 
s,@INSTALL_SCHEMAS_TRUE@,$INSTALL_SCHEMAS_TRUE,;t t
23169
 
s,@INSTALL_SCHEMAS_FALSE@,$INSTALL_SCHEMAS_FALSE,;t t
23170
 
s,@LIBOBJS@,$LIBOBJS,;t t
23171
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23172
 
CEOF
23173
 
 
23174
 
_ACEOF
23175
 
 
23176
 
  cat >>$CONFIG_STATUS <<\_ACEOF
23177
 
  # Split the substitutions into bite-sized pieces for seds with
23178
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
23179
 
  ac_max_sed_lines=48
23180
 
  ac_sed_frag=1 # Number of current file.
23181
 
  ac_beg=1 # First line for current file.
23182
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
23183
 
  ac_more_lines=:
23184
 
  ac_sed_cmds=
23185
 
  while $ac_more_lines; do
23186
 
    if test $ac_beg -gt 1; then
23187
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23188
 
    else
23189
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23190
 
    fi
23191
 
    if test ! -s $tmp/subs.frag; then
23192
 
      ac_more_lines=false
23193
 
    else
23194
 
      # The purpose of the label and of the branching condition is to
23195
 
      # speed up the sed processing (if there are no `@' at all, there
23196
 
      # is no need to browse any of the substitutions).
23197
 
      # These are the two extra sed commands mentioned above.
23198
 
      (echo ':t
23199
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23200
 
      if test -z "$ac_sed_cmds"; then
23201
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23202
 
      else
23203
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23204
 
      fi
23205
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
23206
 
      ac_beg=$ac_end
23207
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
23208
 
    fi
23209
 
  done
23210
 
  if test -z "$ac_sed_cmds"; then
23211
 
    ac_sed_cmds=cat
23212
 
  fi
 
24430
if test -n "$CONFIG_FILES"; then
 
24431
 
 
24432
_ACEOF
 
24433
 
 
24434
 
 
24435
 
 
24436
ac_delim='%!_!# '
 
24437
for ac_last_try in false false false false false :; do
 
24438
  cat >conf$$subs.sed <<_ACEOF
 
24439
SHELL!$SHELL$ac_delim
 
24440
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
24441
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
24442
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
24443
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
24444
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
24445
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
24446
exec_prefix!$exec_prefix$ac_delim
 
24447
prefix!$prefix$ac_delim
 
24448
program_transform_name!$program_transform_name$ac_delim
 
24449
bindir!$bindir$ac_delim
 
24450
sbindir!$sbindir$ac_delim
 
24451
libexecdir!$libexecdir$ac_delim
 
24452
datarootdir!$datarootdir$ac_delim
 
24453
datadir!$datadir$ac_delim
 
24454
sysconfdir!$sysconfdir$ac_delim
 
24455
sharedstatedir!$sharedstatedir$ac_delim
 
24456
localstatedir!$localstatedir$ac_delim
 
24457
includedir!$includedir$ac_delim
 
24458
oldincludedir!$oldincludedir$ac_delim
 
24459
docdir!$docdir$ac_delim
 
24460
infodir!$infodir$ac_delim
 
24461
htmldir!$htmldir$ac_delim
 
24462
dvidir!$dvidir$ac_delim
 
24463
pdfdir!$pdfdir$ac_delim
 
24464
psdir!$psdir$ac_delim
 
24465
libdir!$libdir$ac_delim
 
24466
localedir!$localedir$ac_delim
 
24467
mandir!$mandir$ac_delim
 
24468
DEFS!$DEFS$ac_delim
 
24469
ECHO_C!$ECHO_C$ac_delim
 
24470
ECHO_N!$ECHO_N$ac_delim
 
24471
ECHO_T!$ECHO_T$ac_delim
 
24472
LIBS!$LIBS$ac_delim
 
24473
build_alias!$build_alias$ac_delim
 
24474
host_alias!$host_alias$ac_delim
 
24475
target_alias!$target_alias$ac_delim
 
24476
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
24477
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
24478
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
24479
CYGPATH_W!$CYGPATH_W$ac_delim
 
24480
PACKAGE!$PACKAGE$ac_delim
 
24481
VERSION!$VERSION$ac_delim
 
24482
ACLOCAL!$ACLOCAL$ac_delim
 
24483
AUTOCONF!$AUTOCONF$ac_delim
 
24484
AUTOMAKE!$AUTOMAKE$ac_delim
 
24485
AUTOHEADER!$AUTOHEADER$ac_delim
 
24486
MAKEINFO!$MAKEINFO$ac_delim
 
24487
install_sh!$install_sh$ac_delim
 
24488
STRIP!$STRIP$ac_delim
 
24489
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
24490
mkdir_p!$mkdir_p$ac_delim
 
24491
AWK!$AWK$ac_delim
 
24492
SET_MAKE!$SET_MAKE$ac_delim
 
24493
am__leading_dot!$am__leading_dot$ac_delim
 
24494
AMTAR!$AMTAR$ac_delim
 
24495
am__tar!$am__tar$ac_delim
 
24496
am__untar!$am__untar$ac_delim
 
24497
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
24498
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
24499
MAINT!$MAINT$ac_delim
 
24500
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
 
24501
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
 
24502
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
 
24503
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
 
24504
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
 
24505
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
 
24506
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
 
24507
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
 
24508
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
 
24509
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
 
24510
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
 
24511
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
 
24512
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
 
24513
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
 
24514
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
 
24515
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
 
24516
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
 
24517
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
 
24518
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
 
24519
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
 
24520
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
 
24521
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
 
24522
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
 
24523
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
 
24524
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
 
24525
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
 
24526
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
 
24527
build!$build$ac_delim
 
24528
build_cpu!$build_cpu$ac_delim
 
24529
build_vendor!$build_vendor$ac_delim
 
24530
build_os!$build_os$ac_delim
 
24531
host!$host$ac_delim
 
24532
host_cpu!$host_cpu$ac_delim
 
24533
host_vendor!$host_vendor$ac_delim
 
24534
host_os!$host_os$ac_delim
 
24535
CC!$CC$ac_delim
 
24536
_ACEOF
 
24537
 
 
24538
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
24539
    break
 
24540
  elif $ac_last_try; then
 
24541
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24542
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24543
   { (exit 1); exit 1; }; }
 
24544
  else
 
24545
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24546
  fi
 
24547
done
 
24548
 
 
24549
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24550
if test -n "$ac_eof"; then
 
24551
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24552
  ac_eof=`expr $ac_eof + 1`
 
24553
fi
 
24554
 
 
24555
cat >>$CONFIG_STATUS <<_ACEOF
 
24556
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
24557
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
24558
_ACEOF
 
24559
sed '
 
24560
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24561
s/^/s,@/; s/!/@,|#_!!_#|/
 
24562
:n
 
24563
t n
 
24564
s/'"$ac_delim"'$/,g/; t
 
24565
s/$/\\/; p
 
24566
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24567
' >>$CONFIG_STATUS <conf$$subs.sed
 
24568
rm -f conf$$subs.sed
 
24569
cat >>$CONFIG_STATUS <<_ACEOF
 
24570
CEOF$ac_eof
 
24571
_ACEOF
 
24572
 
 
24573
 
 
24574
ac_delim='%!_!# '
 
24575
for ac_last_try in false false false false false :; do
 
24576
  cat >conf$$subs.sed <<_ACEOF
 
24577
CFLAGS!$CFLAGS$ac_delim
 
24578
LDFLAGS!$LDFLAGS$ac_delim
 
24579
CPPFLAGS!$CPPFLAGS$ac_delim
 
24580
ac_ct_CC!$ac_ct_CC$ac_delim
 
24581
EXEEXT!$EXEEXT$ac_delim
 
24582
OBJEXT!$OBJEXT$ac_delim
 
24583
DEPDIR!$DEPDIR$ac_delim
 
24584
am__include!$am__include$ac_delim
 
24585
am__quote!$am__quote$ac_delim
 
24586
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
24587
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
24588
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
24589
CCDEPMODE!$CCDEPMODE$ac_delim
 
24590
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
24591
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
24592
GREP!$GREP$ac_delim
 
24593
EGREP!$EGREP$ac_delim
 
24594
LN_S!$LN_S$ac_delim
 
24595
ECHO!$ECHO$ac_delim
 
24596
AR!$AR$ac_delim
 
24597
RANLIB!$RANLIB$ac_delim
 
24598
CPP!$CPP$ac_delim
 
24599
CXX!$CXX$ac_delim
 
24600
CXXFLAGS!$CXXFLAGS$ac_delim
 
24601
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
24602
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
24603
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
24604
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
24605
CXXCPP!$CXXCPP$ac_delim
 
24606
F77!$F77$ac_delim
 
24607
FFLAGS!$FFLAGS$ac_delim
 
24608
ac_ct_F77!$ac_ct_F77$ac_delim
 
24609
LIBTOOL!$LIBTOOL$ac_delim
 
24610
USE_NLS!$USE_NLS$ac_delim
 
24611
MSGFMT!$MSGFMT$ac_delim
 
24612
GMSGFMT!$GMSGFMT$ac_delim
 
24613
XGETTEXT!$XGETTEXT$ac_delim
 
24614
CATALOGS!$CATALOGS$ac_delim
 
24615
CATOBJEXT!$CATOBJEXT$ac_delim
 
24616
DATADIRNAME!$DATADIRNAME$ac_delim
 
24617
GMOFILES!$GMOFILES$ac_delim
 
24618
INSTOBJEXT!$INSTOBJEXT$ac_delim
 
24619
INTLLIBS!$INTLLIBS$ac_delim
 
24620
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
 
24621
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
 
24622
POFILES!$POFILES$ac_delim
 
24623
POSUB!$POSUB$ac_delim
 
24624
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 
24625
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
 
24626
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
24627
GNOME_CFLAGS!$GNOME_CFLAGS$ac_delim
 
24628
GNOME_LIBS!$GNOME_LIBS$ac_delim
 
24629
GNOME14_CFLAGS!$GNOME14_CFLAGS$ac_delim
 
24630
GNOME14_LIBS!$GNOME14_LIBS$ac_delim
 
24631
GNOME_14!$GNOME_14$ac_delim
 
24632
LIRC!$LIRC$ac_delim
 
24633
GSTREAMER_CFLAGS!$GSTREAMER_CFLAGS$ac_delim
 
24634
GSTREAMER_LIBS!$GSTREAMER_LIBS$ac_delim
 
24635
GDU_MODULE_VERSION_CHECK_CFLAGS!$GDU_MODULE_VERSION_CHECK_CFLAGS$ac_delim
 
24636
GDU_MODULE_VERSION_CHECK_LIBS!$GDU_MODULE_VERSION_CHECK_LIBS$ac_delim
 
24637
HELP_DIR!$HELP_DIR$ac_delim
 
24638
OMF_DIR!$OMF_DIR$ac_delim
 
24639
DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
 
24640
ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
 
24641
ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
 
24642
GCONFTOOL!$GCONFTOOL$ac_delim
 
24643
GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
 
24644
GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
 
24645
GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
 
24646
GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
 
24647
INSTALL_SCHEMAS_TRUE!$INSTALL_SCHEMAS_TRUE$ac_delim
 
24648
INSTALL_SCHEMAS_FALSE!$INSTALL_SCHEMAS_FALSE$ac_delim
 
24649
LIBOBJS!$LIBOBJS$ac_delim
 
24650
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
24651
_ACEOF
 
24652
 
 
24653
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
 
24654
    break
 
24655
  elif $ac_last_try; then
 
24656
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24657
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24658
   { (exit 1); exit 1; }; }
 
24659
  else
 
24660
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24661
  fi
 
24662
done
 
24663
 
 
24664
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24665
if test -n "$ac_eof"; then
 
24666
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24667
  ac_eof=`expr $ac_eof + 1`
 
24668
fi
 
24669
 
 
24670
cat >>$CONFIG_STATUS <<_ACEOF
 
24671
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
24672
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
24673
_ACEOF
 
24674
sed '
 
24675
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24676
s/^/s,@/; s/!/@,|#_!!_#|/
 
24677
:n
 
24678
t n
 
24679
s/'"$ac_delim"'$/,g/; t
 
24680
s/$/\\/; p
 
24681
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24682
' >>$CONFIG_STATUS <conf$$subs.sed
 
24683
rm -f conf$$subs.sed
 
24684
cat >>$CONFIG_STATUS <<_ACEOF
 
24685
:end
 
24686
s/|#_!!_#|//g
 
24687
CEOF$ac_eof
 
24688
_ACEOF
 
24689
 
 
24690
 
 
24691
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
24692
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
24693
# trailing colons and then remove the whole line if VPATH becomes empty
 
24694
# (actually we leave an empty line to preserve line numbers).
 
24695
if test "x$srcdir" = x.; then
 
24696
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
24697
s/:*\$(srcdir):*/:/
 
24698
s/:*\${srcdir}:*/:/
 
24699
s/:*@srcdir@:*/:/
 
24700
s/^\([^=]*=[     ]*\):*/\1/
 
24701
s/:*$//
 
24702
s/^[^=]*=[       ]*$//
 
24703
}'
 
24704
fi
 
24705
 
 
24706
cat >>$CONFIG_STATUS <<\_ACEOF
23213
24707
fi # test -n "$CONFIG_FILES"
23214
24708
 
23215
 
_ACEOF
23216
 
cat >>$CONFIG_STATUS <<\_ACEOF
23217
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23218
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23219
 
  case $ac_file in
23220
 
  - | *:- | *:-:* ) # input from stdin
23221
 
        cat >$tmp/stdin
23222
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23223
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23224
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23225
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23226
 
  * )   ac_file_in=$ac_file.in ;;
23227
 
  esac
23228
 
 
23229
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23230
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
24709
 
 
24710
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
24711
do
 
24712
  case $ac_tag in
 
24713
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
24714
  esac
 
24715
  case $ac_mode$ac_tag in
 
24716
  :[FHL]*:*);;
 
24717
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
24718
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
24719
   { (exit 1); exit 1; }; };;
 
24720
  :[FH]-) ac_tag=-:-;;
 
24721
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
24722
  esac
 
24723
  ac_save_IFS=$IFS
 
24724
  IFS=:
 
24725
  set x $ac_tag
 
24726
  IFS=$ac_save_IFS
 
24727
  shift
 
24728
  ac_file=$1
 
24729
  shift
 
24730
 
 
24731
  case $ac_mode in
 
24732
  :L) ac_source=$1;;
 
24733
  :[FH])
 
24734
    ac_file_inputs=
 
24735
    for ac_f
 
24736
    do
 
24737
      case $ac_f in
 
24738
      -) ac_f="$tmp/stdin";;
 
24739
      *) # Look for the file first in the build tree, then in the source tree
 
24740
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
24741
         # because $ac_f cannot contain `:'.
 
24742
         test -f "$ac_f" ||
 
24743
           case $ac_f in
 
24744
           [\\/$]*) false;;
 
24745
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
24746
           esac ||
 
24747
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
24748
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
24749
   { (exit 1); exit 1; }; };;
 
24750
      esac
 
24751
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24752
    done
 
24753
 
 
24754
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
24755
    # use $as_me), people would be surprised to read:
 
24756
    #    /* config.h.  Generated by config.status.  */
 
24757
    configure_input="Generated from "`IFS=:
 
24758
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24759
    if test x"$ac_file" != x-; then
 
24760
      configure_input="$ac_file.  $configure_input"
 
24761
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
24762
echo "$as_me: creating $ac_file" >&6;}
 
24763
    fi
 
24764
 
 
24765
    case $ac_tag in
 
24766
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24767
    esac
 
24768
    ;;
 
24769
  esac
 
24770
 
 
24771
  ac_dir=`$as_dirname -- "$ac_file" ||
23231
24772
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23232
24773
         X"$ac_file" : 'X\(//\)[^/]' \| \
23233
24774
         X"$ac_file" : 'X\(//\)$' \| \
23234
 
         X"$ac_file" : 'X\(/\)' \| \
23235
 
         .     : '\(.\)' 2>/dev/null ||
 
24775
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23236
24776
echo X"$ac_file" |
23237
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23238
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23239
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23240
 
          /^X\(\/\).*/{ s//\1/; q; }
23241
 
          s/.*/./; q'`
23242
 
  { if $as_mkdir_p; then
23243
 
    mkdir -p "$ac_dir"
23244
 
  else
23245
 
    as_dir="$ac_dir"
 
24777
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24778
            s//\1/
 
24779
            q
 
24780
          }
 
24781
          /^X\(\/\/\)[^/].*/{
 
24782
            s//\1/
 
24783
            q
 
24784
          }
 
24785
          /^X\(\/\/\)$/{
 
24786
            s//\1/
 
24787
            q
 
24788
          }
 
24789
          /^X\(\/\).*/{
 
24790
            s//\1/
 
24791
            q
 
24792
          }
 
24793
          s/.*/./; q'`
 
24794
  { as_dir="$ac_dir"
 
24795
  case $as_dir in #(
 
24796
  -*) as_dir=./$as_dir;;
 
24797
  esac
 
24798
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23246
24799
    as_dirs=
23247
 
    while test ! -d "$as_dir"; do
23248
 
      as_dirs="$as_dir $as_dirs"
23249
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24800
    while :; do
 
24801
      case $as_dir in #(
 
24802
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24803
      *) as_qdir=$as_dir;;
 
24804
      esac
 
24805
      as_dirs="'$as_qdir' $as_dirs"
 
24806
      as_dir=`$as_dirname -- "$as_dir" ||
23250
24807
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23251
24808
         X"$as_dir" : 'X\(//\)[^/]' \| \
23252
24809
         X"$as_dir" : 'X\(//\)$' \| \
23253
 
         X"$as_dir" : 'X\(/\)' \| \
23254
 
         .     : '\(.\)' 2>/dev/null ||
 
24810
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23255
24811
echo X"$as_dir" |
23256
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23257
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23258
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23259
 
          /^X\(\/\).*/{ s//\1/; q; }
23260
 
          s/.*/./; q'`
 
24812
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24813
            s//\1/
 
24814
            q
 
24815
          }
 
24816
          /^X\(\/\/\)[^/].*/{
 
24817
            s//\1/
 
24818
            q
 
24819
          }
 
24820
          /^X\(\/\/\)$/{
 
24821
            s//\1/
 
24822
            q
 
24823
          }
 
24824
          /^X\(\/\).*/{
 
24825
            s//\1/
 
24826
            q
 
24827
          }
 
24828
          s/.*/./; q'`
 
24829
      test -d "$as_dir" && break
23261
24830
    done
23262
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23263
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23264
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
24831
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24832
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24833
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23265
24834
   { (exit 1); exit 1; }; }; }
23266
 
 
23267
24835
  ac_builddir=.
23268
24836
 
23269
 
if test "$ac_dir" != .; then
 
24837
case "$ac_dir" in
 
24838
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24839
*)
23270
24840
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23271
 
  # A "../" for each directory in $ac_dir_suffix.
23272
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23273
 
else
23274
 
  ac_dir_suffix= ac_top_builddir=
23275
 
fi
 
24841
  # A ".." for each directory in $ac_dir_suffix.
 
24842
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
24843
  case $ac_top_builddir_sub in
 
24844
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24845
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
24846
  esac ;;
 
24847
esac
 
24848
ac_abs_top_builddir=$ac_pwd
 
24849
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
24850
# for backward compatibility:
 
24851
ac_top_builddir=$ac_top_build_prefix
23276
24852
 
23277
24853
case $srcdir in
23278
 
  .)  # No --srcdir option.  We are building in place.
 
24854
  .)  # We are building in place.
23279
24855
    ac_srcdir=.
23280
 
    if test -z "$ac_top_builddir"; then
23281
 
       ac_top_srcdir=.
23282
 
    else
23283
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23284
 
    fi ;;
23285
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
24856
    ac_top_srcdir=$ac_top_builddir_sub
 
24857
    ac_abs_top_srcdir=$ac_pwd ;;
 
24858
  [\\/]* | ?:[\\/]* )  # Absolute name.
23286
24859
    ac_srcdir=$srcdir$ac_dir_suffix;
23287
 
    ac_top_srcdir=$srcdir ;;
23288
 
  *) # Relative path.
23289
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23290
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23291
 
esac
23292
 
 
23293
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23294
 
# the directories may not exist.
23295
 
case `pwd` in
23296
 
.) ac_abs_builddir="$ac_dir";;
23297
 
*)
23298
 
  case "$ac_dir" in
23299
 
  .) ac_abs_builddir=`pwd`;;
23300
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23301
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23302
 
  esac;;
23303
 
esac
23304
 
case $ac_abs_builddir in
23305
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23306
 
*)
23307
 
  case ${ac_top_builddir}. in
23308
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23309
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23310
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23311
 
  esac;;
23312
 
esac
23313
 
case $ac_abs_builddir in
23314
 
.) ac_abs_srcdir=$ac_srcdir;;
23315
 
*)
23316
 
  case $ac_srcdir in
23317
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23318
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23319
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23320
 
  esac;;
23321
 
esac
23322
 
case $ac_abs_builddir in
23323
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23324
 
*)
23325
 
  case $ac_top_srcdir in
23326
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23327
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23328
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23329
 
  esac;;
23330
 
esac
23331
 
 
 
24860
    ac_top_srcdir=$srcdir
 
24861
    ac_abs_top_srcdir=$srcdir ;;
 
24862
  *) # Relative name.
 
24863
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
24864
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
24865
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
24866
esac
 
24867
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
24868
 
 
24869
 
 
24870
  case $ac_mode in
 
24871
  :F)
 
24872
  #
 
24873
  # CONFIG_FILE
 
24874
  #
23332
24875
 
23333
24876
  case $INSTALL in
23334
24877
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23335
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
24878
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23336
24879
  esac
23337
 
 
23338
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23339
 
  # use $as_me), people would be surprised to read:
23340
 
  #    /* config.h.  Generated by config.status.  */
23341
 
  if test x"$ac_file" = x-; then
23342
 
    configure_input=
23343
 
  else
23344
 
    configure_input="$ac_file.  "
23345
 
  fi
23346
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
23347
 
                                     sed 's,.*/,,'` by configure."
23348
 
 
23349
 
  # First look for the input files in the build tree, otherwise in the
23350
 
  # src tree.
23351
 
  ac_file_inputs=`IFS=:
23352
 
    for f in $ac_file_in; do
23353
 
      case $f in
23354
 
      -) echo $tmp/stdin ;;
23355
 
      [\\/$]*)
23356
 
         # Absolute (can't be DOS-style, as IFS=:)
23357
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23358
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23359
 
   { (exit 1); exit 1; }; }
23360
 
         echo "$f";;
23361
 
      *) # Relative
23362
 
         if test -f "$f"; then
23363
 
           # Build tree
23364
 
           echo "$f"
23365
 
         elif test -f "$srcdir/$f"; then
23366
 
           # Source tree
23367
 
           echo "$srcdir/$f"
23368
 
         else
23369
 
           # /dev/null tree
23370
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23371
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23372
 
   { (exit 1); exit 1; }; }
23373
 
         fi;;
23374
 
      esac
23375
 
    done` || { (exit 1); exit 1; }
23376
 
 
23377
 
  if test x"$ac_file" != x-; then
23378
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
23379
 
echo "$as_me: creating $ac_file" >&6;}
23380
 
    rm -f "$ac_file"
23381
 
  fi
23382
 
_ACEOF
 
24880
_ACEOF
 
24881
 
 
24882
cat >>$CONFIG_STATUS <<\_ACEOF
 
24883
# If the template does not know about datarootdir, expand it.
 
24884
# FIXME: This hack should be removed a few years after 2.60.
 
24885
ac_datarootdir_hack=; ac_datarootdir_seen=
 
24886
 
 
24887
case `sed -n '/datarootdir/ {
 
24888
  p
 
24889
  q
 
24890
}
 
24891
/@datadir@/p
 
24892
/@docdir@/p
 
24893
/@infodir@/p
 
24894
/@localedir@/p
 
24895
/@mandir@/p
 
24896
' $ac_file_inputs` in
 
24897
*datarootdir*) ac_datarootdir_seen=yes;;
 
24898
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
24899
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24900
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24901
_ACEOF
 
24902
cat >>$CONFIG_STATUS <<_ACEOF
 
24903
  ac_datarootdir_hack='
 
24904
  s&@datadir@&$datadir&g
 
24905
  s&@docdir@&$docdir&g
 
24906
  s&@infodir@&$infodir&g
 
24907
  s&@localedir@&$localedir&g
 
24908
  s&@mandir@&$mandir&g
 
24909
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
24910
esac
 
24911
_ACEOF
 
24912
 
 
24913
# Neutralize VPATH when `$srcdir' = `.'.
 
24914
# Shell code in configure.ac might set extrasub.
 
24915
# FIXME: do we really want to maintain this feature?
23383
24916
cat >>$CONFIG_STATUS <<_ACEOF
23384
24917
  sed "$ac_vpsub
23385
24918
$extrasub
23387
24920
cat >>$CONFIG_STATUS <<\_ACEOF
23388
24921
:t
23389
24922
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23390
 
s,@configure_input@,$configure_input,;t t
23391
 
s,@srcdir@,$ac_srcdir,;t t
23392
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23393
 
s,@top_srcdir@,$ac_top_srcdir,;t t
23394
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23395
 
s,@builddir@,$ac_builddir,;t t
23396
 
s,@abs_builddir@,$ac_abs_builddir,;t t
23397
 
s,@top_builddir@,$ac_top_builddir,;t t
23398
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23399
 
s,@INSTALL@,$ac_INSTALL,;t t
23400
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23401
 
  rm -f $tmp/stdin
23402
 
  if test x"$ac_file" != x-; then
23403
 
    mv $tmp/out $ac_file
23404
 
  else
23405
 
    cat $tmp/out
23406
 
    rm -f $tmp/out
23407
 
  fi
23408
 
 
23409
 
done
 
24923
s&@configure_input@&$configure_input&;t t
 
24924
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24925
s&@srcdir@&$ac_srcdir&;t t
 
24926
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
24927
s&@top_srcdir@&$ac_top_srcdir&;t t
 
24928
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
24929
s&@builddir@&$ac_builddir&;t t
 
24930
s&@abs_builddir@&$ac_abs_builddir&;t t
 
24931
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
24932
s&@INSTALL@&$ac_INSTALL&;t t
 
24933
$ac_datarootdir_hack
 
24934
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
24935
 
 
24936
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
24937
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
24938
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24939
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24940
which seems to be undefined.  Please make sure it is defined." >&5
 
24941
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24942
which seems to be undefined.  Please make sure it is defined." >&2;}
 
24943
 
 
24944
  rm -f "$tmp/stdin"
 
24945
  case $ac_file in
 
24946
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
24947
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
24948
  esac
 
24949
 ;;
 
24950
  :H)
 
24951
  #
 
24952
  # CONFIG_HEADER
 
24953
  #
23410
24954
_ACEOF
23411
 
cat >>$CONFIG_STATUS <<\_ACEOF
23412
 
 
23413
 
#
23414
 
# CONFIG_HEADER section.
23415
 
#
23416
 
 
23417
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23418
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
23419
 
#
23420
 
# ac_d sets the value in "#define NAME VALUE" lines.
23421
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
23422
 
ac_dB='[         ].*$,\1#\2'
 
24955
 
 
24956
# Transform confdefs.h into a sed script `conftest.defines', that
 
24957
# substitutes the proper values into config.h.in to produce config.h.
 
24958
rm -f conftest.defines conftest.tail
 
24959
# First, append a space to every undef/define line, to ease matching.
 
24960
echo 's/$/ /' >conftest.defines
 
24961
# Then, protect against being on the right side of a sed subst, or in
 
24962
# an unquoted here document, in config.status.  If some macros were
 
24963
# called several times there might be several #defines for the same
 
24964
# symbol, which is useless.  But do not sort them, since the last
 
24965
# AC_DEFINE must be honored.
 
24966
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
24967
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
24968
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
24969
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
24970
# just an empty string.
 
24971
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
24972
ac_dB='\\)[      (].*,\\1define\\2'
23423
24973
ac_dC=' '
23424
 
ac_dD=',;t'
23425
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23426
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
23427
 
ac_uB='$,\1#\2define\3'
23428
 
ac_uC=' '
23429
 
ac_uD=',;t'
23430
 
 
23431
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23432
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23433
 
  case $ac_file in
23434
 
  - | *:- | *:-:* ) # input from stdin
23435
 
        cat >$tmp/stdin
23436
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23437
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23438
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23439
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23440
 
  * )   ac_file_in=$ac_file.in ;;
23441
 
  esac
23442
 
 
23443
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23444
 
echo "$as_me: creating $ac_file" >&6;}
23445
 
 
23446
 
  # First look for the input files in the build tree, otherwise in the
23447
 
  # src tree.
23448
 
  ac_file_inputs=`IFS=:
23449
 
    for f in $ac_file_in; do
23450
 
      case $f in
23451
 
      -) echo $tmp/stdin ;;
23452
 
      [\\/$]*)
23453
 
         # Absolute (can't be DOS-style, as IFS=:)
23454
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23455
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23456
 
   { (exit 1); exit 1; }; }
23457
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
23458
 
         echo "$f";;
23459
 
      *) # Relative
23460
 
         if test -f "$f"; then
23461
 
           # Build tree
23462
 
           echo "$f"
23463
 
         elif test -f "$srcdir/$f"; then
23464
 
           # Source tree
23465
 
           echo "$srcdir/$f"
23466
 
         else
23467
 
           # /dev/null tree
23468
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23469
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23470
 
   { (exit 1); exit 1; }; }
23471
 
         fi;;
23472
 
      esac
23473
 
    done` || { (exit 1); exit 1; }
23474
 
  # Remove the trailing spaces.
23475
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
23476
 
 
23477
 
_ACEOF
23478
 
 
23479
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
23480
 
# `conftest.undefs', that substitutes the proper values into
23481
 
# config.h.in to produce config.h.  The first handles `#define'
23482
 
# templates, and the second `#undef' templates.
23483
 
# And first: Protect against being on the right side of a sed subst in
23484
 
# config.status.  Protect against being in an unquoted here document
23485
 
# in config.status.
23486
 
rm -f conftest.defines conftest.undefs
23487
 
# Using a here document instead of a string reduces the quoting nightmare.
23488
 
# Putting comments in sed scripts is not portable.
23489
 
#
23490
 
# `end' is used to avoid that the second main sed command (meant for
23491
 
# 0-ary CPP macros) applies to n-ary macro definitions.
23492
 
# See the Autoconf documentation for `clear'.
23493
 
cat >confdef2sed.sed <<\_ACEOF
23494
 
s/[\\&,]/\\&/g
23495
 
s,[\\$`],\\&,g
23496
 
t clear
23497
 
: clear
23498
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23499
 
t end
23500
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23501
 
: end
23502
 
_ACEOF
23503
 
# If some macros were called several times there might be several times
23504
 
# the same #defines, which is useless.  Nevertheless, we may not want to
23505
 
# sort them, since we want the *last* AC-DEFINE to be honored.
23506
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23507
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23508
 
rm -f confdef2sed.sed
23509
 
 
23510
 
# This sed command replaces #undef with comments.  This is necessary, for
 
24974
ac_dD=' ,'
 
24975
 
 
24976
uniq confdefs.h |
 
24977
  sed -n '
 
24978
        t rset
 
24979
        :rset
 
24980
        s/^[     ]*#[    ]*define[       ][      ]*//
 
24981
        t ok
 
24982
        d
 
24983
        :ok
 
24984
        s/[\\&,]/\\&/g
 
24985
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
24986
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
24987
  ' >>conftest.defines
 
24988
 
 
24989
# Remove the space that was appended to ease matching.
 
24990
# Then replace #undef with comments.  This is necessary, for
23511
24991
# example, in the case of _POSIX_SOURCE, which is predefined and required
23512
24992
# on some systems where configure will not decide to define it.
23513
 
cat >>conftest.undefs <<\_ACEOF
23514
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
24993
# (The regexp can be short, since the line contains either #define or #undef.)
 
24994
echo 's/ $//
 
24995
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
24996
 
 
24997
# Break up conftest.defines:
 
24998
ac_max_sed_lines=50
 
24999
 
 
25000
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
25001
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
25002
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
25003
# et cetera.
 
25004
ac_in='$ac_file_inputs'
 
25005
ac_out='"$tmp/out1"'
 
25006
ac_nxt='"$tmp/out2"'
 
25007
 
 
25008
while :
 
25009
do
 
25010
  # Write a here document:
 
25011
    cat >>$CONFIG_STATUS <<_ACEOF
 
25012
    # First, check the format of the line:
 
25013
    cat >"\$tmp/defines.sed" <<\\CEOF
 
25014
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
25015
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
25016
b
 
25017
:def
23515
25018
_ACEOF
23516
 
 
23517
 
# Break up conftest.defines because some shells have a limit on the size
23518
 
# of here documents, and old seds have small limits too (100 cmds).
23519
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23520
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23521
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23522
 
echo '  :' >>$CONFIG_STATUS
23523
 
rm -f conftest.tail
23524
 
while grep . conftest.defines >/dev/null
23525
 
do
23526
 
  # Write a limited-size here document to $tmp/defines.sed.
23527
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23528
 
  # Speed up: don't consider the non `#define' lines.
23529
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
23530
 
  # Work around the forget-to-reset-the-flag bug.
23531
 
  echo 't clr' >>$CONFIG_STATUS
23532
 
  echo ': clr' >>$CONFIG_STATUS
23533
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
25019
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23534
25020
  echo 'CEOF
23535
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
23536
 
  rm -f $tmp/in
23537
 
  mv $tmp/out $tmp/in
23538
 
' >>$CONFIG_STATUS
23539
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
25021
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
25022
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
25023
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
25024
  grep . conftest.tail >/dev/null || break
23540
25025
  rm -f conftest.defines
23541
25026
  mv conftest.tail conftest.defines
23542
25027
done
23543
 
rm -f conftest.defines
23544
 
echo '  fi # grep' >>$CONFIG_STATUS
23545
 
echo >>$CONFIG_STATUS
23546
 
 
23547
 
# Break up conftest.undefs because some shells have a limit on the size
23548
 
# of here documents, and old seds have small limits too (100 cmds).
23549
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
23550
 
rm -f conftest.tail
23551
 
while grep . conftest.undefs >/dev/null
23552
 
do
23553
 
  # Write a limited-size here document to $tmp/undefs.sed.
23554
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23555
 
  # Speed up: don't consider the non `#undef'
23556
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
23557
 
  # Work around the forget-to-reset-the-flag bug.
23558
 
  echo 't clr' >>$CONFIG_STATUS
23559
 
  echo ': clr' >>$CONFIG_STATUS
23560
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23561
 
  echo 'CEOF
23562
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23563
 
  rm -f $tmp/in
23564
 
  mv $tmp/out $tmp/in
23565
 
' >>$CONFIG_STATUS
23566
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23567
 
  rm -f conftest.undefs
23568
 
  mv conftest.tail conftest.undefs
23569
 
done
23570
 
rm -f conftest.undefs
23571
 
 
 
25028
rm -f conftest.defines conftest.tail
 
25029
 
 
25030
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23572
25031
cat >>$CONFIG_STATUS <<\_ACEOF
23573
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23574
 
  # use $as_me), people would be surprised to read:
23575
 
  #    /* config.h.  Generated by config.status.  */
23576
 
  if test x"$ac_file" = x-; then
23577
 
    echo "/* Generated by configure.  */" >$tmp/config.h
23578
 
  else
23579
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
23580
 
  fi
23581
 
  cat $tmp/in >>$tmp/config.h
23582
 
  rm -f $tmp/in
23583
25032
  if test x"$ac_file" != x-; then
23584
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
25033
    echo "/* $configure_input  */" >"$tmp/config.h"
 
25034
    cat "$ac_result" >>"$tmp/config.h"
 
25035
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23585
25036
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23586
25037
echo "$as_me: $ac_file is unchanged" >&6;}
23587
25038
    else
23588
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23589
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23590
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
23591
 
         X"$ac_file" : 'X\(//\)$' \| \
23592
 
         X"$ac_file" : 'X\(/\)' \| \
23593
 
         .     : '\(.\)' 2>/dev/null ||
23594
 
echo X"$ac_file" |
23595
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23596
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23597
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23598
 
          /^X\(\/\).*/{ s//\1/; q; }
23599
 
          s/.*/./; q'`
23600
 
      { if $as_mkdir_p; then
23601
 
    mkdir -p "$ac_dir"
23602
 
  else
23603
 
    as_dir="$ac_dir"
23604
 
    as_dirs=
23605
 
    while test ! -d "$as_dir"; do
23606
 
      as_dirs="$as_dir $as_dirs"
23607
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23608
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23609
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23610
 
         X"$as_dir" : 'X\(//\)$' \| \
23611
 
         X"$as_dir" : 'X\(/\)' \| \
23612
 
         .     : '\(.\)' 2>/dev/null ||
23613
 
echo X"$as_dir" |
23614
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23615
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23616
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23617
 
          /^X\(\/\).*/{ s//\1/; q; }
23618
 
          s/.*/./; q'`
23619
 
    done
23620
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23621
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23622
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23623
 
   { (exit 1); exit 1; }; }; }
23624
 
 
23625
25039
      rm -f $ac_file
23626
 
      mv $tmp/config.h $ac_file
 
25040
      mv "$tmp/config.h" $ac_file
23627
25041
    fi
23628
25042
  else
23629
 
    cat $tmp/config.h
23630
 
    rm -f $tmp/config.h
 
25043
    echo "/* $configure_input  */"
 
25044
    cat "$ac_result"
23631
25045
  fi
 
25046
  rm -f "$tmp/out12"
23632
25047
# Compute $ac_file's index in $config_headers.
23633
25048
_am_stamp_count=1
23634
25049
for _am_header in $config_headers :; do
23639
25054
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23640
25055
  esac
23641
25056
done
23642
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
25057
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23643
25058
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23644
25059
         X$ac_file : 'X\(//\)[^/]' \| \
23645
25060
         X$ac_file : 'X\(//\)$' \| \
23646
 
         X$ac_file : 'X\(/\)' \| \
23647
 
         .     : '\(.\)' 2>/dev/null ||
 
25061
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23648
25062
echo X$ac_file |
23649
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23650
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23651
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23652
 
          /^X\(\/\).*/{ s//\1/; q; }
23653
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
25063
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
25064
            s//\1/
 
25065
            q
 
25066
          }
 
25067
          /^X\(\/\/\)[^/].*/{
 
25068
            s//\1/
 
25069
            q
 
25070
          }
 
25071
          /^X\(\/\/\)$/{
 
25072
            s//\1/
 
25073
            q
 
25074
          }
 
25075
          /^X\(\/\).*/{
 
25076
            s//\1/
 
25077
            q
 
25078
          }
 
25079
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
25080
 ;;
 
25081
 
 
25082
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
25083
echo "$as_me: executing $ac_file commands" >&6;}
 
25084
 ;;
 
25085
  esac
 
25086
 
 
25087
 
 
25088
  case $ac_file$ac_mode in
 
25089
    "intltool":C)
 
25090
 
 
25091
for file in intltool-extract intltool-merge intltool-update; do
 
25092
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
 
25093
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
 
25094
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
 
25095
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
 
25096
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
 
25097
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
 
25098
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
 
25099
        < ${ac_aux_dir}/${file}.in > ${file}.out
 
25100
  if cmp -s ${file} ${file}.out 2>/dev/null; then
 
25101
    rm -f ${file}.out
 
25102
  else
 
25103
    mv -f ${file}.out ${file}
 
25104
  fi
 
25105
  chmod ugo+x ${file}
 
25106
  chmod u+w ${file}
23654
25107
done
23655
 
_ACEOF
23656
 
cat >>$CONFIG_STATUS <<\_ACEOF
23657
 
 
23658
 
#
23659
 
# CONFIG_COMMANDS section.
23660
 
#
23661
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
23662
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23663
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23664
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23665
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23666
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
23667
 
         X"$ac_dest" : 'X\(//\)$' \| \
23668
 
         X"$ac_dest" : 'X\(/\)' \| \
23669
 
         .     : '\(.\)' 2>/dev/null ||
23670
 
echo X"$ac_dest" |
23671
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23672
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23673
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23674
 
          /^X\(\/\).*/{ s//\1/; q; }
23675
 
          s/.*/./; q'`
23676
 
  { if $as_mkdir_p; then
23677
 
    mkdir -p "$ac_dir"
23678
 
  else
23679
 
    as_dir="$ac_dir"
23680
 
    as_dirs=
23681
 
    while test ! -d "$as_dir"; do
23682
 
      as_dirs="$as_dir $as_dirs"
23683
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23684
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23685
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23686
 
         X"$as_dir" : 'X\(//\)$' \| \
23687
 
         X"$as_dir" : 'X\(/\)' \| \
23688
 
         .     : '\(.\)' 2>/dev/null ||
23689
 
echo X"$as_dir" |
23690
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23691
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23692
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23693
 
          /^X\(\/\).*/{ s//\1/; q; }
23694
 
          s/.*/./; q'`
23695
 
    done
23696
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23697
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23698
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23699
 
   { (exit 1); exit 1; }; }; }
23700
 
 
23701
 
  ac_builddir=.
23702
 
 
23703
 
if test "$ac_dir" != .; then
23704
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23705
 
  # A "../" for each directory in $ac_dir_suffix.
23706
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23707
 
else
23708
 
  ac_dir_suffix= ac_top_builddir=
23709
 
fi
23710
 
 
23711
 
case $srcdir in
23712
 
  .)  # No --srcdir option.  We are building in place.
23713
 
    ac_srcdir=.
23714
 
    if test -z "$ac_top_builddir"; then
23715
 
       ac_top_srcdir=.
23716
 
    else
23717
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23718
 
    fi ;;
23719
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
23720
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23721
 
    ac_top_srcdir=$srcdir ;;
23722
 
  *) # Relative path.
23723
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23724
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23725
 
esac
23726
 
 
23727
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23728
 
# the directories may not exist.
23729
 
case `pwd` in
23730
 
.) ac_abs_builddir="$ac_dir";;
23731
 
*)
23732
 
  case "$ac_dir" in
23733
 
  .) ac_abs_builddir=`pwd`;;
23734
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23735
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23736
 
  esac;;
23737
 
esac
23738
 
case $ac_abs_builddir in
23739
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23740
 
*)
23741
 
  case ${ac_top_builddir}. in
23742
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23743
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23744
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23745
 
  esac;;
23746
 
esac
23747
 
case $ac_abs_builddir in
23748
 
.) ac_abs_srcdir=$ac_srcdir;;
23749
 
*)
23750
 
  case $ac_srcdir in
23751
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23752
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23753
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23754
 
  esac;;
23755
 
esac
23756
 
case $ac_abs_builddir in
23757
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23758
 
*)
23759
 
  case $ac_top_srcdir in
23760
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23761
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23762
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23763
 
  esac;;
23764
 
esac
23765
 
 
23766
 
 
23767
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23768
 
echo "$as_me: executing $ac_dest commands" >&6;}
23769
 
  case $ac_dest in
23770
 
    intltool )
23771
 
 
23772
 
intltool_edit="-e 's#@INTLTOOL_EXTRACT@#`pwd`/intltool-extract#g' \
23773
 
               -e 's#@INTLTOOL_ICONV@#${INTLTOOL_ICONV}#g' \
23774
 
               -e 's#@INTLTOOL_MSGFMT@#${INTLTOOL_MSGFMT}#g' \
23775
 
               -e 's#@INTLTOOL_MSGMERGE@#${INTLTOOL_MSGMERGE}#g' \
23776
 
               -e 's#@INTLTOOL_XGETTEXT@#${INTLTOOL_XGETTEXT}#g' \
23777
 
               -e 's#@INTLTOOL_PERL@#${INTLTOOL_PERL}#g'"
23778
 
 
23779
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
23780
 
  > intltool-extract.out
23781
 
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
23782
 
  rm -f intltool-extract.out
23783
 
else
23784
 
  mv -f intltool-extract.out intltool-extract
23785
 
fi
23786
 
chmod ugo+x intltool-extract
23787
 
chmod u+w intltool-extract
23788
 
 
23789
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
23790
 
  > intltool-merge.out
23791
 
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
23792
 
  rm -f intltool-merge.out
23793
 
else
23794
 
  mv -f intltool-merge.out intltool-merge
23795
 
fi
23796
 
chmod ugo+x intltool-merge
23797
 
chmod u+w intltool-merge
23798
 
 
23799
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
23800
 
  > intltool-update.out
23801
 
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
23802
 
  rm -f intltool-update.out
23803
 
else
23804
 
  mv -f intltool-update.out intltool-update
23805
 
fi
23806
 
chmod ugo+x intltool-update
23807
 
chmod u+w intltool-update
23808
25108
 
23809
25109
 ;;
23810
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
25110
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23811
25111
  # Strip MF so we end up with the name of the file.
23812
25112
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23813
25113
  # Check whether this is an Automake generated Makefile or not.
23817
25117
  # each Makefile.in and add a new line on top of each file to say so.
23818
25118
  # So let's grep whole file.
23819
25119
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23820
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
25120
    dirpart=`$as_dirname -- "$mf" ||
23821
25121
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23822
25122
         X"$mf" : 'X\(//\)[^/]' \| \
23823
25123
         X"$mf" : 'X\(//\)$' \| \
23824
 
         X"$mf" : 'X\(/\)' \| \
23825
 
         .     : '\(.\)' 2>/dev/null ||
 
25124
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23826
25125
echo X"$mf" |
23827
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23828
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23829
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23830
 
          /^X\(\/\).*/{ s//\1/; q; }
23831
 
          s/.*/./; q'`
 
25126
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
25127
            s//\1/
 
25128
            q
 
25129
          }
 
25130
          /^X\(\/\/\)[^/].*/{
 
25131
            s//\1/
 
25132
            q
 
25133
          }
 
25134
          /^X\(\/\/\)$/{
 
25135
            s//\1/
 
25136
            q
 
25137
          }
 
25138
          /^X\(\/\).*/{
 
25139
            s//\1/
 
25140
            q
 
25141
          }
 
25142
          s/.*/./; q'`
23832
25143
  else
23833
25144
    continue
23834
25145
  fi
23835
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
23836
 
  # Extract the definition of DEP_FILES from the Makefile without
23837
 
  # running `make'.
23838
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
25146
  # Extract the definition of DEPDIR, am__include, and am__quote
 
25147
  # from the Makefile without running `make'.
 
25148
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23839
25149
  test -z "$DEPDIR" && continue
 
25150
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
25151
  test -z "am__include" && continue
 
25152
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23840
25153
  # When using ansi2knr, U may be empty or an underscore; expand it
23841
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
23842
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
23843
 
  # We invoke sed twice because it is the simplest approach to
23844
 
  # changing $(DEPDIR) to its actual value in the expansion.
23845
 
  for file in `sed -n -e '
23846
 
    /^DEP_FILES = .*\\\\$/ {
23847
 
      s/^DEP_FILES = //
23848
 
      :loop
23849
 
        s/\\\\$//
23850
 
        p
23851
 
        n
23852
 
        /\\\\$/ b loop
23853
 
      p
23854
 
    }
23855
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
25154
  U=`sed -n 's/^U = //p' < "$mf"`
 
25155
  # Find all dependency output files, they are included files with
 
25156
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
25157
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
25158
  # expansion.
 
25159
  for file in `sed -n "
 
25160
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23856
25161
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23857
25162
    # Make sure the directory exists.
23858
25163
    test -f "$dirpart/$file" && continue
23859
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
25164
    fdir=`$as_dirname -- "$file" ||
23860
25165
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23861
25166
         X"$file" : 'X\(//\)[^/]' \| \
23862
25167
         X"$file" : 'X\(//\)$' \| \
23863
 
         X"$file" : 'X\(/\)' \| \
23864
 
         .     : '\(.\)' 2>/dev/null ||
 
25168
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23865
25169
echo X"$file" |
23866
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23867
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23868
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23869
 
          /^X\(\/\).*/{ s//\1/; q; }
23870
 
          s/.*/./; q'`
23871
 
    { if $as_mkdir_p; then
23872
 
    mkdir -p $dirpart/$fdir
23873
 
  else
23874
 
    as_dir=$dirpart/$fdir
 
25170
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
25171
            s//\1/
 
25172
            q
 
25173
          }
 
25174
          /^X\(\/\/\)[^/].*/{
 
25175
            s//\1/
 
25176
            q
 
25177
          }
 
25178
          /^X\(\/\/\)$/{
 
25179
            s//\1/
 
25180
            q
 
25181
          }
 
25182
          /^X\(\/\).*/{
 
25183
            s//\1/
 
25184
            q
 
25185
          }
 
25186
          s/.*/./; q'`
 
25187
    { as_dir=$dirpart/$fdir
 
25188
  case $as_dir in #(
 
25189
  -*) as_dir=./$as_dir;;
 
25190
  esac
 
25191
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23875
25192
    as_dirs=
23876
 
    while test ! -d "$as_dir"; do
23877
 
      as_dirs="$as_dir $as_dirs"
23878
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
25193
    while :; do
 
25194
      case $as_dir in #(
 
25195
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
25196
      *) as_qdir=$as_dir;;
 
25197
      esac
 
25198
      as_dirs="'$as_qdir' $as_dirs"
 
25199
      as_dir=`$as_dirname -- "$as_dir" ||
23879
25200
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23880
25201
         X"$as_dir" : 'X\(//\)[^/]' \| \
23881
25202
         X"$as_dir" : 'X\(//\)$' \| \
23882
 
         X"$as_dir" : 'X\(/\)' \| \
23883
 
         .     : '\(.\)' 2>/dev/null ||
 
25203
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23884
25204
echo X"$as_dir" |
23885
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23886
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23887
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23888
 
          /^X\(\/\).*/{ s//\1/; q; }
23889
 
          s/.*/./; q'`
 
25205
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
25206
            s//\1/
 
25207
            q
 
25208
          }
 
25209
          /^X\(\/\/\)[^/].*/{
 
25210
            s//\1/
 
25211
            q
 
25212
          }
 
25213
          /^X\(\/\/\)$/{
 
25214
            s//\1/
 
25215
            q
 
25216
          }
 
25217
          /^X\(\/\).*/{
 
25218
            s//\1/
 
25219
            q
 
25220
          }
 
25221
          s/.*/./; q'`
 
25222
      test -d "$as_dir" && break
23890
25223
    done
23891
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23892
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23893
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
25224
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
25225
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
25226
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23894
25227
   { (exit 1); exit 1; }; }; }
23895
 
 
23896
25228
    # echo "creating $dirpart/$file"
23897
25229
    echo '# dummy' > "$dirpart/$file"
23898
25230
  done
23899
25231
done
23900
25232
 ;;
23901
 
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
25233
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
23902
25234
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
23903
25235
      esac ;;
 
25236
    "po/stamp-it":C)
 
25237
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
25238
    >"po/stamp-it.tmp"
 
25239
    sed '/^#/d
 
25240
         s/^[[].*] *//
 
25241
         /^[    ]*$/d
 
25242
        '"s|^|  $ac_top_srcdir/|" \
 
25243
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
25244
 
 
25245
    if test ! -f "po/Makefile"; then
 
25246
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
25247
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
25248
   { (exit 1); exit 1; }; }
 
25249
    fi
 
25250
    mv "po/Makefile" "po/Makefile.tmp"
 
25251
    sed '/^POTFILES =/,/[^\\]$/ {
 
25252
                /^POTFILES =/!d
 
25253
                r po/POTFILES
 
25254
          }
 
25255
         ' "po/Makefile.tmp" >"po/Makefile"
 
25256
    rm -f "po/Makefile.tmp"
 
25257
    mv "po/stamp-it.tmp" "po/stamp-it"
 
25258
   ;;
 
25259
 
23904
25260
  esac
23905
 
done
23906
 
_ACEOF
 
25261
done # for ac_tag
23907
25262
 
23908
 
cat >>$CONFIG_STATUS <<\_ACEOF
23909
25263
 
23910
25264
{ (exit 0); exit 0; }
23911
25265
_ACEOF
23934
25288
  $ac_cs_success || { (exit 1); exit 1; }
23935
25289
fi
23936
25290
 
23937