~ubuntu-branches/ubuntu/trusty/eiciel/trusty-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2008-04-18 11:03:32 UTC
  • mfrom: (1.2.1 upstream) (2.1.11 hardy)
  • Revision ID: james.westby@ubuntu.com-20080418110332-yap7yezmolk0ypaj
* New upstream release.
* debian/patches/02-gcc43_includes.patch
  - Removed, merged upstream.

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 eiciel 0.9.2.
 
3
# Generated by GNU Autoconf 2.61 for eiciel 0.9.6.1.
4
4
#
5
5
# Report bugs to <rofi@ya.com>.
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
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
25
54
 
26
55
# Support unset when possible.
27
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
60
fi
32
61
 
33
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
34
96
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
36
100
PS1='$ '
37
101
PS2='> '
38
102
PS4='+ '
46
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
111
    eval $as_var=C; export $as_var
48
112
  else
49
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
114
  fi
51
115
done
52
116
 
53
117
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
120
  as_expr=expr
56
121
else
57
122
  as_expr=false
58
123
fi
59
124
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
126
  as_basename=basename
62
127
else
63
128
  as_basename=false
65
130
 
66
131
 
67
132
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
137
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
 
  '')
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
132
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
do
135
226
  IFS=$as_save_IFS
136
227
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
228
  case $as_dir in
139
229
         /*)
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
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
154
234
done
155
 
;;
156
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
 
158
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
  # 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.
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
164
437
  # (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 |
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
167
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
168
449
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
452
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
453
      s/-\n.*//
175
454
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
455
  chmod +x "$as_me.lineno" ||
177
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
   { (exit 1); exit 1; }; }
179
458
 
180
459
  # Don't try to exec as it changes $[0], causing all sort of problems
181
460
  # (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
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
184
463
  # Exit status is that of the last command.
185
464
  exit
186
465
}
187
466
 
188
467
 
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= ;;
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
194
483
esac
195
484
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
487
  as_expr=expr
198
488
else
199
489
  as_expr=false
200
490
fi
201
491
 
202
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
203
499
echo >conf$$.file
204
500
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
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
507
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
214
509
  as_ln_s=ln
215
510
else
216
511
  as_ln_s='cp -p'
217
512
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
219
515
 
220
516
if mkdir -p . 2>/dev/null; then
221
517
  as_mkdir_p=:
224
520
  as_mkdir_p=false
225
521
fi
226
522
 
227
 
as_executable_p="test -f"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
228
545
 
229
546
# Sed expression to map a string onto a valid CPP name.
230
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
551
 
235
552
 
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
553
 
246
554
 
247
555
# Check that we are running under the correct shell.
397
705
 
398
706
tagnames=${tagnames+${tagnames},}F77
399
707
 
 
708
exec 7<&0 </dev/null 6>&1
 
709
 
400
710
# Name of the host.
401
711
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
712
# so uname gets run too.
403
713
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
714
 
405
 
exec 6>&1
406
 
 
407
715
#
408
716
# Initializations.
409
717
#
410
718
ac_default_prefix=/usr/local
 
719
ac_clean_files=
411
720
ac_config_libobj_dir=.
 
721
LIBOBJS=
412
722
cross_compiling=no
413
723
subdirs=
414
724
MFLAGS=
415
725
MAKEFLAGS=
416
726
SHELL=${CONFIG_SHELL-/bin/sh}
417
727
 
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
728
# Identity of this package.
424
729
PACKAGE_NAME='eiciel'
425
730
PACKAGE_TARNAME='eiciel'
426
 
PACKAGE_VERSION='0.9.2'
427
 
PACKAGE_STRING='eiciel 0.9.2'
 
731
PACKAGE_VERSION='0.9.6.1'
 
732
PACKAGE_STRING='eiciel 0.9.6.1'
428
733
PACKAGE_BUGREPORT='rofi@ya.com'
429
734
 
430
735
ac_unique_file="src/eiciel_standalone.cpp"
431
736
# Factoring default headers for most tests.
432
737
ac_includes_default="\
433
738
#include <stdio.h>
434
 
#if HAVE_SYS_TYPES_H
 
739
#ifdef HAVE_SYS_TYPES_H
435
740
# include <sys/types.h>
436
741
#endif
437
 
#if HAVE_SYS_STAT_H
 
742
#ifdef HAVE_SYS_STAT_H
438
743
# include <sys/stat.h>
439
744
#endif
440
 
#if STDC_HEADERS
 
745
#ifdef STDC_HEADERS
441
746
# include <stdlib.h>
442
747
# include <stddef.h>
443
748
#else
444
 
# if HAVE_STDLIB_H
 
749
# ifdef HAVE_STDLIB_H
445
750
#  include <stdlib.h>
446
751
# endif
447
752
#endif
448
 
#if HAVE_STRING_H
449
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
753
#ifdef HAVE_STRING_H
 
754
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
450
755
#  include <memory.h>
451
756
# endif
452
757
# include <string.h>
453
758
#endif
454
 
#if HAVE_STRINGS_H
 
759
#ifdef HAVE_STRINGS_H
455
760
# include <strings.h>
456
761
#endif
457
 
#if HAVE_INTTYPES_H
 
762
#ifdef HAVE_INTTYPES_H
458
763
# include <inttypes.h>
459
 
#else
460
 
# if HAVE_STDINT_H
461
 
#  include <stdint.h>
462
 
# endif
463
 
#endif
464
 
#if HAVE_UNISTD_H
 
764
#endif
 
765
#ifdef HAVE_STDINT_H
 
766
# include <stdint.h>
 
767
#endif
 
768
#ifdef HAVE_UNISTD_H
465
769
# include <unistd.h>
466
770
#endif"
467
771
 
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE 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 LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG GTKMM_CFLAGS GTKMM_LIBS NAUTILUS_EXTENSIONS_DIR ENABLE_USER_XATTR_TRUE ENABLE_USER_XATTR_FALSE llibreria_acl LIBOBJS LTLIBOBJS'
 
772
ac_subst_vars='SHELL
 
773
PATH_SEPARATOR
 
774
PACKAGE_NAME
 
775
PACKAGE_TARNAME
 
776
PACKAGE_VERSION
 
777
PACKAGE_STRING
 
778
PACKAGE_BUGREPORT
 
779
exec_prefix
 
780
prefix
 
781
program_transform_name
 
782
bindir
 
783
sbindir
 
784
libexecdir
 
785
datarootdir
 
786
datadir
 
787
sysconfdir
 
788
sharedstatedir
 
789
localstatedir
 
790
includedir
 
791
oldincludedir
 
792
docdir
 
793
infodir
 
794
htmldir
 
795
dvidir
 
796
pdfdir
 
797
psdir
 
798
libdir
 
799
localedir
 
800
mandir
 
801
DEFS
 
802
ECHO_C
 
803
ECHO_N
 
804
ECHO_T
 
805
LIBS
 
806
build_alias
 
807
host_alias
 
808
target_alias
 
809
build
 
810
build_cpu
 
811
build_vendor
 
812
build_os
 
813
host
 
814
host_cpu
 
815
host_vendor
 
816
host_os
 
817
target
 
818
target_cpu
 
819
target_vendor
 
820
target_os
 
821
INSTALL_PROGRAM
 
822
INSTALL_SCRIPT
 
823
INSTALL_DATA
 
824
am__isrc
 
825
CYGPATH_W
 
826
PACKAGE
 
827
VERSION
 
828
ACLOCAL
 
829
AUTOCONF
 
830
AUTOMAKE
 
831
AUTOHEADER
 
832
MAKEINFO
 
833
install_sh
 
834
STRIP
 
835
INSTALL_STRIP_PROGRAM
 
836
mkdir_p
 
837
AWK
 
838
SET_MAKE
 
839
am__leading_dot
 
840
AMTAR
 
841
am__tar
 
842
am__untar
 
843
USE_NLS
 
844
MSGFMT
 
845
GMSGFMT
 
846
MSGFMT_015
 
847
GMSGFMT_015
 
848
XGETTEXT
 
849
XGETTEXT_015
 
850
MSGMERGE
 
851
CC
 
852
CFLAGS
 
853
LDFLAGS
 
854
CPPFLAGS
 
855
ac_ct_CC
 
856
EXEEXT
 
857
OBJEXT
 
858
DEPDIR
 
859
am__include
 
860
am__quote
 
861
AMDEP_TRUE
 
862
AMDEP_FALSE
 
863
AMDEPBACKSLASH
 
864
CCDEPMODE
 
865
am__fastdepCC_TRUE
 
866
am__fastdepCC_FALSE
 
867
INTL_MACOSX_LIBS
 
868
LIBICONV
 
869
LTLIBICONV
 
870
INTLLIBS
 
871
LIBINTL
 
872
LTLIBINTL
 
873
POSUB
 
874
CPP
 
875
CXX
 
876
CXXFLAGS
 
877
ac_ct_CXX
 
878
CXXDEPMODE
 
879
am__fastdepCXX_TRUE
 
880
am__fastdepCXX_FALSE
 
881
SED
 
882
GREP
 
883
EGREP
 
884
LN_S
 
885
ECHO
 
886
AR
 
887
RANLIB
 
888
DSYMUTIL
 
889
NMEDIT
 
890
CXXCPP
 
891
F77
 
892
FFLAGS
 
893
ac_ct_F77
 
894
LIBTOOL
 
895
PKG_CONFIG
 
896
GTKMM_CFLAGS
 
897
GTKMM_LIBS
 
898
NAUTILUS_EXTENSIONS_DIR
 
899
ENABLE_USER_XATTR_TRUE
 
900
ENABLE_USER_XATTR_FALSE
 
901
llibreria_acl
 
902
LIBOBJS
 
903
LTLIBOBJS'
469
904
ac_subst_files=''
 
905
      ac_precious_vars='build_alias
 
906
host_alias
 
907
target_alias
 
908
CC
 
909
CFLAGS
 
910
LDFLAGS
 
911
LIBS
 
912
CPPFLAGS
 
913
CPP
 
914
CXX
 
915
CXXFLAGS
 
916
CCC
 
917
CXXCPP
 
918
F77
 
919
FFLAGS'
 
920
 
470
921
 
471
922
# Initialize some variables set by options.
472
923
ac_init_help=
493
944
# and all the variables that are supposed to be based on exec_prefix
494
945
# by default will actually change.
495
946
# Use braces instead of parens because sh, perl, etc. also accept them.
 
947
# (The list follows the same order as the GNU Coding Standards.)
496
948
bindir='${exec_prefix}/bin'
497
949
sbindir='${exec_prefix}/sbin'
498
950
libexecdir='${exec_prefix}/libexec'
499
 
datadir='${prefix}/share'
 
951
datarootdir='${prefix}/share'
 
952
datadir='${datarootdir}'
500
953
sysconfdir='${prefix}/etc'
501
954
sharedstatedir='${prefix}/com'
502
955
localstatedir='${prefix}/var'
503
 
libdir='${exec_prefix}/lib'
504
956
includedir='${prefix}/include'
505
957
oldincludedir='/usr/include'
506
 
infodir='${prefix}/info'
507
 
mandir='${prefix}/man'
 
958
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
959
infodir='${datarootdir}/info'
 
960
htmldir='${docdir}'
 
961
dvidir='${docdir}'
 
962
pdfdir='${docdir}'
 
963
psdir='${docdir}'
 
964
libdir='${exec_prefix}/lib'
 
965
localedir='${datarootdir}/locale'
 
966
mandir='${datarootdir}/man'
508
967
 
509
968
ac_prev=
 
969
ac_dashdash=
510
970
for ac_option
511
971
do
512
972
  # If the previous option needs an argument, assign it.
513
973
  if test -n "$ac_prev"; then
514
 
    eval "$ac_prev=\$ac_option"
 
974
    eval $ac_prev=\$ac_option
515
975
    ac_prev=
516
976
    continue
517
977
  fi
518
978
 
519
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
979
  case $ac_option in
 
980
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
981
  *)    ac_optarg=yes ;;
 
982
  esac
520
983
 
521
984
  # Accept the important Cygnus configure options, so we can diagnose typos.
522
985
 
523
 
  case $ac_option in
 
986
  case $ac_dashdash$ac_option in
 
987
  --)
 
988
    ac_dashdash=yes ;;
524
989
 
525
990
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
526
991
    ac_prev=bindir ;;
542
1007
  --config-cache | -C)
543
1008
    cache_file=config.cache ;;
544
1009
 
545
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1010
  -datadir | --datadir | --datadi | --datad)
546
1011
    ac_prev=datadir ;;
547
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
 
  | --da=*)
 
1012
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
549
1013
    datadir=$ac_optarg ;;
550
1014
 
 
1015
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1016
  | --dataroo | --dataro | --datar)
 
1017
    ac_prev=datarootdir ;;
 
1018
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1019
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1020
    datarootdir=$ac_optarg ;;
 
1021
 
551
1022
  -disable-* | --disable-*)
552
1023
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553
1024
    # Reject names that are not valid shell variable names.
554
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1025
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
555
1026
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556
1027
   { (exit 1); exit 1; }; }
557
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
558
 
    eval "enable_$ac_feature=no" ;;
 
1028
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1029
    eval enable_$ac_feature=no ;;
 
1030
 
 
1031
  -docdir | --docdir | --docdi | --doc | --do)
 
1032
    ac_prev=docdir ;;
 
1033
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1034
    docdir=$ac_optarg ;;
 
1035
 
 
1036
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1037
    ac_prev=dvidir ;;
 
1038
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1039
    dvidir=$ac_optarg ;;
559
1040
 
560
1041
  -enable-* | --enable-*)
561
1042
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562
1043
    # Reject names that are not valid shell variable names.
563
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1044
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
564
1045
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565
1046
   { (exit 1); exit 1; }; }
566
 
    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'" ;;
 
1047
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1048
    eval enable_$ac_feature=\$ac_optarg ;;
572
1049
 
573
1050
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574
1051
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
595
1072
  -host=* | --host=* | --hos=* | --ho=*)
596
1073
    host_alias=$ac_optarg ;;
597
1074
 
 
1075
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1076
    ac_prev=htmldir ;;
 
1077
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1078
  | --ht=*)
 
1079
    htmldir=$ac_optarg ;;
 
1080
 
598
1081
  -includedir | --includedir | --includedi | --included | --include \
599
1082
  | --includ | --inclu | --incl | --inc)
600
1083
    ac_prev=includedir ;;
619
1102
  | --libexe=* | --libex=* | --libe=*)
620
1103
    libexecdir=$ac_optarg ;;
621
1104
 
 
1105
  -localedir | --localedir | --localedi | --localed | --locale)
 
1106
    ac_prev=localedir ;;
 
1107
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1108
    localedir=$ac_optarg ;;
 
1109
 
622
1110
  -localstatedir | --localstatedir | --localstatedi | --localstated \
623
 
  | --localstate | --localstat | --localsta | --localst \
624
 
  | --locals | --local | --loca | --loc | --lo)
 
1111
  | --localstate | --localstat | --localsta | --localst | --locals)
625
1112
    ac_prev=localstatedir ;;
626
1113
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
627
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
628
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1114
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
629
1115
    localstatedir=$ac_optarg ;;
630
1116
 
631
1117
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
690
1176
  | --progr-tra=* | --program-tr=* | --program-t=*)
691
1177
    program_transform_name=$ac_optarg ;;
692
1178
 
 
1179
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1180
    ac_prev=pdfdir ;;
 
1181
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1182
    pdfdir=$ac_optarg ;;
 
1183
 
 
1184
  -psdir | --psdir | --psdi | --psd | --ps)
 
1185
    ac_prev=psdir ;;
 
1186
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1187
    psdir=$ac_optarg ;;
 
1188
 
693
1189
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
694
1190
  | -silent | --silent | --silen | --sile | --sil)
695
1191
    silent=yes ;;
742
1238
  -with-* | --with-*)
743
1239
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744
1240
    # Reject names that are not valid shell variable names.
745
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1241
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
746
1242
      { echo "$as_me: error: invalid package name: $ac_package" >&2
747
1243
   { (exit 1); exit 1; }; }
748
 
    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'" ;;
 
1244
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1245
    eval with_$ac_package=\$ac_optarg ;;
754
1246
 
755
1247
  -without-* | --without-*)
756
1248
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757
1249
    # Reject names that are not valid shell variable names.
758
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1250
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
759
1251
      { echo "$as_me: error: invalid package name: $ac_package" >&2
760
1252
   { (exit 1); exit 1; }; }
761
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
762
 
    eval "with_$ac_package=no" ;;
 
1253
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1254
    eval with_$ac_package=no ;;
763
1255
 
764
1256
  --x)
765
1257
    # Obsolete; use --with-x.
790
1282
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
791
1283
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792
1284
   { (exit 1); exit 1; }; }
793
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794
 
    eval "$ac_envvar='$ac_optarg'"
 
1285
    eval $ac_envvar=\$ac_optarg
795
1286
    export $ac_envvar ;;
796
1287
 
797
1288
  *)
811
1302
   { (exit 1); exit 1; }; }
812
1303
fi
813
1304
 
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
 
1305
# Be sure to have absolute directory names.
 
1306
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1307
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1308
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1309
                libdir localedir mandir
 
1310
do
 
1311
  eval ac_val=\$$ac_var
 
1312
  case $ac_val in
 
1313
    [\\/$]* | ?:[\\/]* )  continue;;
 
1314
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1315
  esac
 
1316
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1317
   { (exit 1); exit 1; }; }
835
1318
done
836
1319
 
837
1320
# There might be people who depend on the old broken behavior: `$host'
858
1341
test "$silent" = yes && exec 6>/dev/null
859
1342
 
860
1343
 
 
1344
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1345
ac_ls_di=`ls -di .` &&
 
1346
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1347
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1348
   { (exit 1); exit 1; }; }
 
1349
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1350
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1351
   { (exit 1); exit 1; }; }
 
1352
 
 
1353
 
861
1354
# Find the source files, if location was not specified.
862
1355
if test -z "$srcdir"; then
863
1356
  ac_srcdir_defaulted=yes
864
 
  # Try the directory containing this script, then its parent.
865
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1357
  # Try the directory containing this script, then the parent directory.
 
1358
  ac_confdir=`$as_dirname -- "$0" ||
866
1359
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867
1360
         X"$0" : 'X\(//\)[^/]' \| \
868
1361
         X"$0" : 'X\(//\)$' \| \
869
 
         X"$0" : 'X\(/\)' \| \
870
 
         .     : '\(.\)' 2>/dev/null ||
 
1362
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
871
1363
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'`
 
1364
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1365
            s//\1/
 
1366
            q
 
1367
          }
 
1368
          /^X\(\/\/\)[^/].*/{
 
1369
            s//\1/
 
1370
            q
 
1371
          }
 
1372
          /^X\(\/\/\)$/{
 
1373
            s//\1/
 
1374
            q
 
1375
          }
 
1376
          /^X\(\/\).*/{
 
1377
            s//\1/
 
1378
            q
 
1379
          }
 
1380
          s/.*/./; q'`
877
1381
  srcdir=$ac_confdir
878
1382
  if test ! -r "$srcdir/$ac_unique_file"; then
879
1383
    srcdir=..
882
1386
  ac_srcdir_defaulted=no
883
1387
fi
884
1388
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
 
1389
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1390
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1391
   { (exit 1); exit 1; }; }
 
1392
fi
 
1393
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1394
ac_abs_confdir=`(
 
1395
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1396
   { (exit 1); exit 1; }; }
 
1397
        pwd)`
 
1398
# When building in place, set srcdir=.
 
1399
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1400
  srcdir=.
 
1401
fi
 
1402
# Remove unnecessary trailing slashes from srcdir.
 
1403
# Double slashes in file names in object file debugging info
 
1404
# mess up M-x gdb in Emacs.
 
1405
case $srcdir in
 
1406
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1407
esac
 
1408
for ac_var in $ac_precious_vars; do
 
1409
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1410
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1411
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1412
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1413
done
949
1414
 
950
1415
#
951
1416
# Report the --help message.
954
1419
  # Omit some internal or obsolete options to make the list less imposing.
955
1420
  # This message is too long to be a string in the A/UX 3.1 sh.
956
1421
  cat <<_ACEOF
957
 
\`configure' configures eiciel 0.9.2 to adapt to many kinds of systems.
 
1422
\`configure' configures eiciel 0.9.6.1 to adapt to many kinds of systems.
958
1423
 
959
1424
Usage: $0 [OPTION]... [VAR=VALUE]...
960
1425
 
974
1439
  -n, --no-create         do not create output files
975
1440
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
976
1441
 
977
 
_ACEOF
978
 
 
979
 
  cat <<_ACEOF
980
1442
Installation directories:
981
1443
  --prefix=PREFIX         install architecture-independent files in PREFIX
982
1444
                          [$ac_default_prefix]
994
1456
  --bindir=DIR           user executables [EPREFIX/bin]
995
1457
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
996
1458
  --libexecdir=DIR       program executables [EPREFIX/libexec]
997
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
998
1459
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
999
1460
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1000
1461
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1001
1462
  --libdir=DIR           object code libraries [EPREFIX/lib]
1002
1463
  --includedir=DIR       C header files [PREFIX/include]
1003
1464
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1004
 
  --infodir=DIR          info documentation [PREFIX/info]
1005
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1465
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1466
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1467
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1468
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1469
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1470
  --docdir=DIR           documentation root [DATAROOTDIR/doc/eiciel]
 
1471
  --htmldir=DIR          html documentation [DOCDIR]
 
1472
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1473
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1474
  --psdir=DIR            ps documentation [DOCDIR]
1006
1475
_ACEOF
1007
1476
 
1008
1477
  cat <<\_ACEOF
1021
1490
 
1022
1491
if test -n "$ac_init_help"; then
1023
1492
  case $ac_init_help in
1024
 
     short | recursive ) echo "Configuration of eiciel 0.9.2:";;
 
1493
     short | recursive ) echo "Configuration of eiciel 0.9.6.1:";;
1025
1494
   esac
1026
1495
  cat <<\_ACEOF
1027
1496
 
1029
1498
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1030
1499
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1031
1500
  --disable-nls           do not use Native Language Support
1032
 
  --disable-dependency-tracking Speeds up one-time builds
1033
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1501
  --disable-dependency-tracking  speeds up one-time build
 
1502
  --enable-dependency-tracking   do not reject slow dependency extractors
1034
1503
  --disable-rpath         do not hardcode runtime library paths
1035
 
  --enable-shared[=PKGS]
1036
 
                          build shared libraries [default=yes]
1037
 
  --enable-static[=PKGS]
1038
 
                          build static libraries [default=yes]
 
1504
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1505
  --enable-static[=PKGS]  build static libraries [default=yes]
1039
1506
  --enable-fast-install[=PKGS]
1040
1507
                          optimize for fast installation [default=yes]
1041
1508
  --disable-libtool-lock  avoid locking (might break parallel builds)
1054
1521
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1055
1522
  --with-pic              try to use only PIC/non-PIC objects [default=use
1056
1523
                          both]
1057
 
  --with-tags[=TAGS]
1058
 
                          include additional configurations [automatic]
 
1524
  --with-tags[=TAGS]      include additional configurations [automatic]
1059
1525
  --with-nautilus-extensions-dir=DIR
1060
1526
                          Directory where nautilus extensions have to be
1061
1527
                          installed (usually /usr/lib/nautilus/extensions-1.0)
1066
1532
  CFLAGS      C compiler flags
1067
1533
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1068
1534
              nonstandard directory <lib dir>
1069
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1070
 
              headers in a nonstandard directory <include dir>
 
1535
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1536
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1537
              you have headers in a nonstandard directory <include dir>
1071
1538
  CPP         C preprocessor
1072
1539
  CXX         C++ compiler command
1073
1540
  CXXFLAGS    C++ compiler flags
1080
1547
 
1081
1548
Report bugs to <rofi@ya.com>.
1082
1549
_ACEOF
 
1550
ac_status=$?
1083
1551
fi
1084
1552
 
1085
1553
if test "$ac_init_help" = "recursive"; then
1086
1554
  # If there are subdirs, report their specific --help.
1087
 
  ac_popdir=`pwd`
1088
1555
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1089
 
    test -d $ac_dir || continue
 
1556
    test -d "$ac_dir" || continue
1090
1557
    ac_builddir=.
1091
1558
 
1092
 
if test "$ac_dir" != .; then
 
1559
case "$ac_dir" in
 
1560
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1561
*)
1093
1562
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1094
 
  # A "../" for each directory in $ac_dir_suffix.
1095
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1096
 
else
1097
 
  ac_dir_suffix= ac_top_builddir=
1098
 
fi
 
1563
  # A ".." for each directory in $ac_dir_suffix.
 
1564
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1565
  case $ac_top_builddir_sub in
 
1566
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1567
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1568
  esac ;;
 
1569
esac
 
1570
ac_abs_top_builddir=$ac_pwd
 
1571
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1572
# for backward compatibility:
 
1573
ac_top_builddir=$ac_top_build_prefix
1099
1574
 
1100
1575
case $srcdir in
1101
 
  .)  # No --srcdir option.  We are building in place.
 
1576
  .)  # We are building in place.
1102
1577
    ac_srcdir=.
1103
 
    if test -z "$ac_top_builddir"; then
1104
 
       ac_top_srcdir=.
1105
 
    else
1106
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1107
 
    fi ;;
1108
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1578
    ac_top_srcdir=$ac_top_builddir_sub
 
1579
    ac_abs_top_srcdir=$ac_pwd ;;
 
1580
  [\\/]* | ?:[\\/]* )  # Absolute name.
1109
1581
    ac_srcdir=$srcdir$ac_dir_suffix;
1110
 
    ac_top_srcdir=$srcdir ;;
1111
 
  *) # Relative path.
1112
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1113
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1114
 
esac
1115
 
 
1116
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1117
 
# the directories may not exist.
1118
 
case `pwd` in
1119
 
.) ac_abs_builddir="$ac_dir";;
1120
 
*)
1121
 
  case "$ac_dir" in
1122
 
  .) ac_abs_builddir=`pwd`;;
1123
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1124
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1125
 
  esac;;
1126
 
esac
1127
 
case $ac_abs_builddir in
1128
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1129
 
*)
1130
 
  case ${ac_top_builddir}. in
1131
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1132
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1133
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1134
 
  esac;;
1135
 
esac
1136
 
case $ac_abs_builddir in
1137
 
.) ac_abs_srcdir=$ac_srcdir;;
1138
 
*)
1139
 
  case $ac_srcdir in
1140
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1141
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1142
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1143
 
  esac;;
1144
 
esac
1145
 
case $ac_abs_builddir in
1146
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1147
 
*)
1148
 
  case $ac_top_srcdir in
1149
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1150
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1151
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1152
 
  esac;;
1153
 
esac
1154
 
 
1155
 
    cd $ac_dir
1156
 
    # Check for guested configure; otherwise get Cygnus style configure.
1157
 
    if test -f $ac_srcdir/configure.gnu; then
1158
 
      echo
1159
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1160
 
    elif test -f $ac_srcdir/configure; then
1161
 
      echo
1162
 
      $SHELL $ac_srcdir/configure  --help=recursive
1163
 
    elif test -f $ac_srcdir/configure.ac ||
1164
 
           test -f $ac_srcdir/configure.in; then
1165
 
      echo
1166
 
      $ac_configure --help
 
1582
    ac_top_srcdir=$srcdir
 
1583
    ac_abs_top_srcdir=$srcdir ;;
 
1584
  *) # Relative name.
 
1585
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1586
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1587
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1588
esac
 
1589
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1590
 
 
1591
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1592
    # Check for guested configure.
 
1593
    if test -f "$ac_srcdir/configure.gnu"; then
 
1594
      echo &&
 
1595
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1596
    elif test -f "$ac_srcdir/configure"; then
 
1597
      echo &&
 
1598
      $SHELL "$ac_srcdir/configure" --help=recursive
1167
1599
    else
1168
1600
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1169
 
    fi
1170
 
    cd $ac_popdir
 
1601
    fi || ac_status=$?
 
1602
    cd "$ac_pwd" || { ac_status=$?; break; }
1171
1603
  done
1172
1604
fi
1173
1605
 
1174
 
test -n "$ac_init_help" && exit 0
 
1606
test -n "$ac_init_help" && exit $ac_status
1175
1607
if $ac_init_version; then
1176
1608
  cat <<\_ACEOF
1177
 
eiciel configure 0.9.2
1178
 
generated by GNU Autoconf 2.59
 
1609
eiciel configure 0.9.6.1
 
1610
generated by GNU Autoconf 2.61
1179
1611
 
1180
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1612
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1613
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1181
1614
This configure script is free software; the Free Software Foundation
1182
1615
gives unlimited permission to copy, distribute and modify it.
1183
1616
_ACEOF
1184
 
  exit 0
 
1617
  exit
1185
1618
fi
1186
 
exec 5>config.log
1187
 
cat >&5 <<_ACEOF
 
1619
cat >config.log <<_ACEOF
1188
1620
This file contains any messages produced by compilers while
1189
1621
running configure, to aid debugging if configure makes a mistake.
1190
1622
 
1191
 
It was created by eiciel $as_me 0.9.2, which was
1192
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1623
It was created by eiciel $as_me 0.9.6.1, which was
 
1624
generated by GNU Autoconf 2.61.  Invocation command line was
1193
1625
 
1194
1626
  $ $0 $@
1195
1627
 
1196
1628
_ACEOF
 
1629
exec 5>>config.log
1197
1630
{
1198
1631
cat <<_ASUNAME
1199
1632
## --------- ##
1212
1645
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1213
1646
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1214
1647
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1215
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1648
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1216
1649
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1217
1650
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1218
1651
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1226
1659
  test -z "$as_dir" && as_dir=.
1227
1660
  echo "PATH: $as_dir"
1228
1661
done
 
1662
IFS=$as_save_IFS
1229
1663
 
1230
1664
} >&5
1231
1665
 
1247
1681
ac_configure_args=
1248
1682
ac_configure_args0=
1249
1683
ac_configure_args1=
1250
 
ac_sep=
1251
1684
ac_must_keep_next=false
1252
1685
for ac_pass in 1 2
1253
1686
do
1258
1691
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1259
1692
    | -silent | --silent | --silen | --sile | --sil)
1260
1693
      continue ;;
1261
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1694
    *\'*)
1262
1695
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1263
1696
    esac
1264
1697
    case $ac_pass in
1280
1713
          -* ) ac_must_keep_next=true ;;
1281
1714
        esac
1282
1715
      fi
1283
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1284
 
      # Get rid of the leading space.
1285
 
      ac_sep=" "
 
1716
      ac_configure_args="$ac_configure_args '$ac_arg'"
1286
1717
      ;;
1287
1718
    esac
1288
1719
  done
1293
1724
# When interrupted or exit'd, cleanup temporary files, and complete
1294
1725
# config.log.  We remove comments because anyway the quotes in there
1295
1726
# would cause problems or look ugly.
1296
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1297
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1727
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1728
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1298
1729
trap 'exit_status=$?
1299
1730
  # Save into config.log some information that might help in debugging.
1300
1731
  {
1307
1738
_ASBOX
1308
1739
    echo
1309
1740
    # The following way of writing the cache mishandles newlines in values,
1310
 
{
 
1741
(
 
1742
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1743
    eval ac_val=\$$ac_var
 
1744
    case $ac_val in #(
 
1745
    *${as_nl}*)
 
1746
      case $ac_var in #(
 
1747
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1748
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1749
      esac
 
1750
      case $ac_var in #(
 
1751
      _ | IFS | as_nl) ;; #(
 
1752
      *) $as_unset $ac_var ;;
 
1753
      esac ;;
 
1754
    esac
 
1755
  done
1311
1756
  (set) 2>&1 |
1312
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1313
 
    *ac_space=\ *)
 
1757
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1758
    *${as_nl}ac_space=\ *)
1314
1759
      sed -n \
1315
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1316
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1317
 
      ;;
 
1760
        "s/'\''/'\''\\\\'\'''\''/g;
 
1761
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1762
      ;; #(
1318
1763
    *)
1319
 
      sed -n \
1320
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1764
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1321
1765
      ;;
1322
 
    esac;
1323
 
}
 
1766
    esac |
 
1767
    sort
 
1768
)
1324
1769
    echo
1325
1770
 
1326
1771
    cat <<\_ASBOX
1331
1776
    echo
1332
1777
    for ac_var in $ac_subst_vars
1333
1778
    do
1334
 
      eval ac_val=$`echo $ac_var`
1335
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1779
      eval ac_val=\$$ac_var
 
1780
      case $ac_val in
 
1781
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1782
      esac
 
1783
      echo "$ac_var='\''$ac_val'\''"
1336
1784
    done | sort
1337
1785
    echo
1338
1786
 
1339
1787
    if test -n "$ac_subst_files"; then
1340
1788
      cat <<\_ASBOX
1341
 
## ------------- ##
1342
 
## Output files. ##
1343
 
## ------------- ##
 
1789
## ------------------- ##
 
1790
## File substitutions. ##
 
1791
## ------------------- ##
1344
1792
_ASBOX
1345
1793
      echo
1346
1794
      for ac_var in $ac_subst_files
1347
1795
      do
1348
 
        eval ac_val=$`echo $ac_var`
1349
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1796
        eval ac_val=\$$ac_var
 
1797
        case $ac_val in
 
1798
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1799
        esac
 
1800
        echo "$ac_var='\''$ac_val'\''"
1350
1801
      done | sort
1351
1802
      echo
1352
1803
    fi
1358
1809
## ----------- ##
1359
1810
_ASBOX
1360
1811
      echo
1361
 
      sed "/^$/d" confdefs.h | sort
 
1812
      cat confdefs.h
1362
1813
      echo
1363
1814
    fi
1364
1815
    test "$ac_signal" != 0 &&
1365
1816
      echo "$as_me: caught signal $ac_signal"
1366
1817
    echo "$as_me: exit $exit_status"
1367
1818
  } >&5
1368
 
  rm -f core *.core &&
1369
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1819
  rm -f core *.core core.conftest.* &&
 
1820
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1370
1821
    exit $exit_status
1371
 
     ' 0
 
1822
' 0
1372
1823
for ac_signal in 1 2 13 15; do
1373
1824
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1374
1825
done
1375
1826
ac_signal=0
1376
1827
 
1377
1828
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1378
 
rm -rf conftest* confdefs.h
1379
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1380
 
echo >confdefs.h
 
1829
rm -f -r conftest* confdefs.h
1381
1830
 
1382
1831
# Predefined preprocessor variables.
1383
1832
 
1408
1857
 
1409
1858
# Let the site file select an alternate cache file if it wants to.
1410
1859
# Prefer explicitly selected file to automatically selected ones.
1411
 
if test -z "$CONFIG_SITE"; then
1412
 
  if test "x$prefix" != xNONE; then
1413
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1414
 
  else
1415
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1416
 
  fi
 
1860
if test -n "$CONFIG_SITE"; then
 
1861
  set x "$CONFIG_SITE"
 
1862
elif test "x$prefix" != xNONE; then
 
1863
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1864
else
 
1865
  set x "$ac_default_prefix/share/config.site" \
 
1866
        "$ac_default_prefix/etc/config.site"
1417
1867
fi
1418
 
for ac_site_file in $CONFIG_SITE; do
 
1868
shift
 
1869
for ac_site_file
 
1870
do
1419
1871
  if test -r "$ac_site_file"; then
1420
1872
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1421
1873
echo "$as_me: loading site script $ac_site_file" >&6;}
1431
1883
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1432
1884
echo "$as_me: loading cache $cache_file" >&6;}
1433
1885
    case $cache_file in
1434
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1435
 
      *)                      . ./$cache_file;;
 
1886
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1887
      *)                      . "./$cache_file";;
1436
1888
    esac
1437
1889
  fi
1438
1890
else
1444
1896
# Check that the precious variables saved in the cache have kept the same
1445
1897
# value.
1446
1898
ac_cache_corrupted=false
1447
 
for ac_var in `(set) 2>&1 |
1448
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1899
for ac_var in $ac_precious_vars; do
1449
1900
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1450
1901
  eval ac_new_set=\$ac_env_${ac_var}_set
1451
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1452
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1902
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1903
  eval ac_new_val=\$ac_env_${ac_var}_value
1453
1904
  case $ac_old_set,$ac_new_set in
1454
1905
    set,)
1455
1906
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474
1925
  # Pass precious variables to config.status.
1475
1926
  if test "$ac_new_set" = set; then
1476
1927
    case $ac_new_val in
1477
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1478
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1928
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1479
1929
    *) ac_arg=$ac_var=$ac_new_val ;;
1480
1930
    esac
1481
1931
    case " $ac_configure_args " in
1492
1942
   { (exit 1); exit 1; }; }
1493
1943
fi
1494
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
 
1957
 
 
1958
 
 
1959
 
 
1960
 
 
1961
 
 
1962
 
 
1963
 
 
1964
 
 
1965
 
 
1966
 
 
1967
 
 
1968
 
1495
1969
ac_ext=c
1496
1970
ac_cpp='$CPP $CPPFLAGS'
1497
1971
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1500
1974
 
1501
1975
 
1502
1976
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
1977
ac_aux_dir=
1529
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1530
 
  if test -f $ac_dir/install-sh; then
 
1978
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1979
  if test -f "$ac_dir/install-sh"; then
1531
1980
    ac_aux_dir=$ac_dir
1532
1981
    ac_install_sh="$ac_aux_dir/install-sh -c"
1533
1982
    break
1534
 
  elif test -f $ac_dir/install.sh; then
 
1983
  elif test -f "$ac_dir/install.sh"; then
1535
1984
    ac_aux_dir=$ac_dir
1536
1985
    ac_install_sh="$ac_aux_dir/install.sh -c"
1537
1986
    break
1538
 
  elif test -f $ac_dir/shtool; then
 
1987
  elif test -f "$ac_dir/shtool"; then
1539
1988
    ac_aux_dir=$ac_dir
1540
1989
    ac_install_sh="$ac_aux_dir/shtool install -c"
1541
1990
    break
1542
1991
  fi
1543
1992
done
1544
1993
if test -z "$ac_aux_dir"; then
1545
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1546
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1994
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1995
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1547
1996
   { (exit 1); exit 1; }; }
1548
1997
fi
1549
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1550
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1551
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1998
 
 
1999
# These three variables are undocumented and unsupported,
 
2000
# and are intended to be withdrawn in a future Autoconf release.
 
2001
# They can cause serious problems if a builder's source tree is in a directory
 
2002
# whose full name contains unusual characters.
 
2003
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2004
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2005
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2006
 
1552
2007
 
1553
2008
# Make sure we can run config.sub.
1554
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1555
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1556
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2009
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2010
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2011
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1557
2012
   { (exit 1); exit 1; }; }
1558
2013
 
1559
 
echo "$as_me:$LINENO: checking build system type" >&5
1560
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2014
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2015
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1561
2016
if test "${ac_cv_build+set}" = set; then
1562
2017
  echo $ECHO_N "(cached) $ECHO_C" >&6
1563
2018
else
1564
 
  ac_cv_build_alias=$build_alias
1565
 
test -z "$ac_cv_build_alias" &&
1566
 
  ac_cv_build_alias=`$ac_config_guess`
1567
 
test -z "$ac_cv_build_alias" &&
 
2019
  ac_build_alias=$build_alias
 
2020
test "x$ac_build_alias" = x &&
 
2021
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2022
test "x$ac_build_alias" = x &&
1568
2023
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1569
2024
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1570
2025
   { (exit 1); exit 1; }; }
1571
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1572
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1573
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2026
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2027
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2028
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1574
2029
   { (exit 1); exit 1; }; }
1575
2030
 
1576
2031
fi
1577
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1578
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2032
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2033
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2034
case $ac_cv_build in
 
2035
*-*-*) ;;
 
2036
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2037
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2038
   { (exit 1); exit 1; }; };;
 
2039
esac
1579
2040
build=$ac_cv_build
1580
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1581
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1582
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1583
 
 
1584
 
 
1585
 
echo "$as_me:$LINENO: checking host system type" >&5
1586
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2041
ac_save_IFS=$IFS; IFS='-'
 
2042
set x $ac_cv_build
 
2043
shift
 
2044
build_cpu=$1
 
2045
build_vendor=$2
 
2046
shift; shift
 
2047
# Remember, the first character of IFS is used to create $*,
 
2048
# except with old shells:
 
2049
build_os=$*
 
2050
IFS=$ac_save_IFS
 
2051
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2052
 
 
2053
 
 
2054
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2055
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1587
2056
if test "${ac_cv_host+set}" = set; then
1588
2057
  echo $ECHO_N "(cached) $ECHO_C" >&6
1589
2058
else
1590
 
  ac_cv_host_alias=$host_alias
1591
 
test -z "$ac_cv_host_alias" &&
1592
 
  ac_cv_host_alias=$ac_cv_build_alias
1593
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1594
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1595
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2059
  if test "x$host_alias" = x; then
 
2060
  ac_cv_host=$ac_cv_build
 
2061
else
 
2062
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2063
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2064
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1596
2065
   { (exit 1); exit 1; }; }
 
2066
fi
1597
2067
 
1598
2068
fi
1599
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1600
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2069
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2070
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2071
case $ac_cv_host in
 
2072
*-*-*) ;;
 
2073
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2074
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2075
   { (exit 1); exit 1; }; };;
 
2076
esac
1601
2077
host=$ac_cv_host
1602
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1603
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1604
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1605
 
 
1606
 
 
1607
 
echo "$as_me:$LINENO: checking target system type" >&5
1608
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
2078
ac_save_IFS=$IFS; IFS='-'
 
2079
set x $ac_cv_host
 
2080
shift
 
2081
host_cpu=$1
 
2082
host_vendor=$2
 
2083
shift; shift
 
2084
# Remember, the first character of IFS is used to create $*,
 
2085
# except with old shells:
 
2086
host_os=$*
 
2087
IFS=$ac_save_IFS
 
2088
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2089
 
 
2090
 
 
2091
{ echo "$as_me:$LINENO: checking target system type" >&5
 
2092
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1609
2093
if test "${ac_cv_target+set}" = set; then
1610
2094
  echo $ECHO_N "(cached) $ECHO_C" >&6
1611
2095
else
1612
 
  ac_cv_target_alias=$target_alias
1613
 
test "x$ac_cv_target_alias" = "x" &&
1614
 
  ac_cv_target_alias=$ac_cv_host_alias
1615
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1616
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1617
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
2096
  if test "x$target_alias" = x; then
 
2097
  ac_cv_target=$ac_cv_host
 
2098
else
 
2099
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2100
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2101
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1618
2102
   { (exit 1); exit 1; }; }
 
2103
fi
1619
2104
 
1620
2105
fi
1621
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1622
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2106
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2107
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2108
case $ac_cv_target in
 
2109
*-*-*) ;;
 
2110
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2111
echo "$as_me: error: invalid value of canonical target" >&2;}
 
2112
   { (exit 1); exit 1; }; };;
 
2113
esac
1623
2114
target=$ac_cv_target
1624
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1625
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1626
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2115
ac_save_IFS=$IFS; IFS='-'
 
2116
set x $ac_cv_target
 
2117
shift
 
2118
target_cpu=$1
 
2119
target_vendor=$2
 
2120
shift; shift
 
2121
# Remember, the first character of IFS is used to create $*,
 
2122
# except with old shells:
 
2123
target_os=$*
 
2124
IFS=$ac_save_IFS
 
2125
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1627
2126
 
1628
2127
 
1629
2128
# The aliases save the names the user supplied, while $host etc.
1635
2134
 
1636
2135
 
1637
2136
 
1638
 
am__api_version="1.7"
 
2137
am__api_version='1.10'
 
2138
 
1639
2139
# Find a good install program.  We prefer a C program (faster),
1640
2140
# so one script is as good as another.  But avoid the broken or
1641
2141
# incompatible versions:
1649
2149
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1650
2150
# OS/2's system install, which has a completely different semantic
1651
2151
# ./install, which can be erroneously created by make from ./install.sh.
1652
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1653
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2152
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2153
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1654
2154
if test -z "$INSTALL"; then
1655
2155
if test "${ac_cv_path_install+set}" = set; then
1656
2156
  echo $ECHO_N "(cached) $ECHO_C" >&6
1672
2172
    # by default.
1673
2173
    for ac_prog in ginstall scoinst install; do
1674
2174
      for ac_exec_ext in '' $ac_executable_extensions; do
1675
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2175
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1676
2176
          if test $ac_prog = install &&
1677
2177
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1678
2178
            # AIX install.  It has an incompatible calling convention.
1691
2191
    ;;
1692
2192
esac
1693
2193
done
 
2194
IFS=$as_save_IFS
1694
2195
 
1695
2196
 
1696
2197
fi
1697
2198
  if test "${ac_cv_path_install+set}" = set; then
1698
2199
    INSTALL=$ac_cv_path_install
1699
2200
  else
1700
 
    # As a last resort, use the slow shell script.  We don't cache a
1701
 
    # path for INSTALL within a source directory, because that will
 
2201
    # As a last resort, use the slow shell script.  Don't cache a
 
2202
    # value for INSTALL within a source directory, because that will
1702
2203
    # break other packages using the cache if that directory is
1703
 
    # removed, or if the path is relative.
 
2204
    # removed, or if the value is a relative name.
1704
2205
    INSTALL=$ac_install_sh
1705
2206
  fi
1706
2207
fi
1707
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1708
 
echo "${ECHO_T}$INSTALL" >&6
 
2208
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2209
echo "${ECHO_T}$INSTALL" >&6; }
1709
2210
 
1710
2211
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1711
2212
# It thinks the first close brace ends the variable substitution.
1715
2216
 
1716
2217
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1717
2218
 
1718
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1719
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2219
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2220
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1720
2221
# Just in case
1721
2222
sleep 1
1722
2223
echo timestamp > conftest.file
1758
2259
Check your system clock" >&2;}
1759
2260
   { (exit 1); exit 1; }; }
1760
2261
fi
1761
 
echo "$as_me:$LINENO: result: yes" >&5
1762
 
echo "${ECHO_T}yes" >&6
 
2262
{ echo "$as_me:$LINENO: result: yes" >&5
 
2263
echo "${ECHO_T}yes" >&6; }
1763
2264
test "$program_prefix" != NONE &&
1764
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2265
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1765
2266
# Use a double $ so make ignores it.
1766
2267
test "$program_suffix" != NONE &&
1767
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2268
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1768
2269
# Double any \ or $.  echo might interpret backslashes.
1769
2270
# By default was `s,x,x', remove it if useless.
1770
2271
cat <<\_ACEOF >conftest.sed
1771
2272
s/[\\$]/&&/g;s/;s,x,x,$//
1772
2273
_ACEOF
1773
2274
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1774
 
rm conftest.sed
1775
 
 
 
2275
rm -f conftest.sed
1776
2276
 
1777
2277
# expand $ac_aux_dir to an absolute path
1778
2278
am_aux_dir=`cd $ac_aux_dir && pwd`
1787
2287
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1788
2288
fi
1789
2289
 
 
2290
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2291
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2292
if test -z "$MKDIR_P"; then
 
2293
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2294
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2295
else
 
2296
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2297
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2298
do
 
2299
  IFS=$as_save_IFS
 
2300
  test -z "$as_dir" && as_dir=.
 
2301
  for ac_prog in mkdir gmkdir; do
 
2302
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2303
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2304
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2305
             'mkdir (GNU coreutils) '* | \
 
2306
             'mkdir (coreutils) '* | \
 
2307
             'mkdir (fileutils) '4.1*)
 
2308
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2309
               break 3;;
 
2310
           esac
 
2311
         done
 
2312
       done
 
2313
done
 
2314
IFS=$as_save_IFS
 
2315
 
 
2316
fi
 
2317
 
 
2318
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2319
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2320
  else
 
2321
    # As a last resort, use the slow shell script.  Don't cache a
 
2322
    # value for MKDIR_P within a source directory, because that will
 
2323
    # break other packages using the cache if that directory is
 
2324
    # removed, or if the value is a relative name.
 
2325
    test -d ./--version && rmdir ./--version
 
2326
    MKDIR_P="$ac_install_sh -d"
 
2327
  fi
 
2328
fi
 
2329
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2330
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2331
 
 
2332
mkdir_p="$MKDIR_P"
 
2333
case $mkdir_p in
 
2334
  [\\/$]* | ?:[\\/]*) ;;
 
2335
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2336
esac
 
2337
 
1790
2338
for ac_prog in gawk mawk nawk awk
1791
2339
do
1792
2340
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1793
2341
set dummy $ac_prog; ac_word=$2
1794
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1795
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2342
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2343
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1796
2344
if test "${ac_cv_prog_AWK+set}" = set; then
1797
2345
  echo $ECHO_N "(cached) $ECHO_C" >&6
1798
2346
else
1805
2353
  IFS=$as_save_IFS
1806
2354
  test -z "$as_dir" && as_dir=.
1807
2355
  for ac_exec_ext in '' $ac_executable_extensions; do
1808
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1809
2357
    ac_cv_prog_AWK="$ac_prog"
1810
2358
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811
2359
    break 2
1812
2360
  fi
1813
2361
done
1814
2362
done
 
2363
IFS=$as_save_IFS
1815
2364
 
1816
2365
fi
1817
2366
fi
1818
2367
AWK=$ac_cv_prog_AWK
1819
2368
if test -n "$AWK"; then
1820
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1821
 
echo "${ECHO_T}$AWK" >&6
 
2369
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2370
echo "${ECHO_T}$AWK" >&6; }
1822
2371
else
1823
 
  echo "$as_me:$LINENO: result: no" >&5
1824
 
echo "${ECHO_T}no" >&6
 
2372
  { echo "$as_me:$LINENO: result: no" >&5
 
2373
echo "${ECHO_T}no" >&6; }
1825
2374
fi
1826
2375
 
 
2376
 
1827
2377
  test -n "$AWK" && break
1828
2378
done
1829
2379
 
1830
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1831
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1832
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1833
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2380
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2381
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2382
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2383
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1834
2384
  echo $ECHO_N "(cached) $ECHO_C" >&6
1835
2385
else
1836
2386
  cat >conftest.make <<\_ACEOF
 
2387
SHELL = /bin/sh
1837
2388
all:
1838
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2389
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1839
2390
_ACEOF
1840
2391
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1841
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1842
 
if test -n "$ac_maketemp"; then
1843
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1844
 
else
1845
 
  eval ac_cv_prog_make_${ac_make}_set=no
1846
 
fi
 
2392
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2393
  *@@@%%%=?*=@@@%%%*)
 
2394
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2395
  *)
 
2396
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2397
esac
1847
2398
rm -f conftest.make
1848
2399
fi
1849
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1850
 
  echo "$as_me:$LINENO: result: yes" >&5
1851
 
echo "${ECHO_T}yes" >&6
 
2400
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2401
  { echo "$as_me:$LINENO: result: yes" >&5
 
2402
echo "${ECHO_T}yes" >&6; }
1852
2403
  SET_MAKE=
1853
2404
else
1854
 
  echo "$as_me:$LINENO: result: no" >&5
1855
 
echo "${ECHO_T}no" >&6
 
2405
  { echo "$as_me:$LINENO: result: no" >&5
 
2406
echo "${ECHO_T}no" >&6; }
1856
2407
  SET_MAKE="MAKE=${MAKE-make}"
1857
2408
fi
1858
2409
 
1865
2416
fi
1866
2417
rmdir .tst 2>/dev/null
1867
2418
 
1868
 
 # test to see if srcdir already configured
1869
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1870
 
   test -f $srcdir/config.status; then
1871
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2419
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2420
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2421
  # is not polluted with repeated "-I."
 
2422
  am__isrc=' -I$(srcdir)'
 
2423
  # test to see if srcdir already configured
 
2424
  if test -f $srcdir/config.status; then
 
2425
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1872
2426
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1873
2427
   { (exit 1); exit 1; }; }
 
2428
  fi
1874
2429
fi
1875
2430
 
1876
2431
# test whether we have cygpath
1885
2440
 
1886
2441
# Define the identity of the package.
1887
2442
 PACKAGE='eiciel'
1888
 
 VERSION='0.9.2'
 
2443
 VERSION='0.9.6.1'
1889
2444
 
1890
2445
 
1891
2446
cat >>confdefs.h <<_ACEOF
1913
2468
 
1914
2469
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1915
2470
 
1916
 
 
1917
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1918
 
 
1919
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2471
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1920
2472
 
1921
2473
# Installed binaries are usually stripped using `strip' when the user
1922
2474
# run `make install-strip'.  However `strip' might not be the right
1926
2478
  if test -n "$ac_tool_prefix"; then
1927
2479
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1928
2480
set dummy ${ac_tool_prefix}strip; ac_word=$2
1929
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1930
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2481
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2482
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1931
2483
if test "${ac_cv_prog_STRIP+set}" = set; then
1932
2484
  echo $ECHO_N "(cached) $ECHO_C" >&6
1933
2485
else
1940
2492
  IFS=$as_save_IFS
1941
2493
  test -z "$as_dir" && as_dir=.
1942
2494
  for ac_exec_ext in '' $ac_executable_extensions; do
1943
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2495
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1944
2496
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1945
2497
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946
2498
    break 2
1947
2499
  fi
1948
2500
done
1949
2501
done
 
2502
IFS=$as_save_IFS
1950
2503
 
1951
2504
fi
1952
2505
fi
1953
2506
STRIP=$ac_cv_prog_STRIP
1954
2507
if test -n "$STRIP"; then
1955
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1956
 
echo "${ECHO_T}$STRIP" >&6
 
2508
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2509
echo "${ECHO_T}$STRIP" >&6; }
1957
2510
else
1958
 
  echo "$as_me:$LINENO: result: no" >&5
1959
 
echo "${ECHO_T}no" >&6
 
2511
  { echo "$as_me:$LINENO: result: no" >&5
 
2512
echo "${ECHO_T}no" >&6; }
1960
2513
fi
 
2514
 
1961
2515
 
1962
2516
fi
1963
2517
if test -z "$ac_cv_prog_STRIP"; then
1964
2518
  ac_ct_STRIP=$STRIP
1965
2519
  # Extract the first word of "strip", so it can be a program name with args.
1966
2520
set dummy strip; ac_word=$2
1967
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1968
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2521
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2522
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1969
2523
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1970
2524
  echo $ECHO_N "(cached) $ECHO_C" >&6
1971
2525
else
1978
2532
  IFS=$as_save_IFS
1979
2533
  test -z "$as_dir" && as_dir=.
1980
2534
  for ac_exec_ext in '' $ac_executable_extensions; do
1981
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2535
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1982
2536
    ac_cv_prog_ac_ct_STRIP="strip"
1983
2537
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984
2538
    break 2
1985
2539
  fi
1986
2540
done
1987
2541
done
 
2542
IFS=$as_save_IFS
1988
2543
 
1989
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1990
2544
fi
1991
2545
fi
1992
2546
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1993
2547
if test -n "$ac_ct_STRIP"; then
1994
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1995
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2548
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2549
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1996
2550
else
1997
 
  echo "$as_me:$LINENO: result: no" >&5
1998
 
echo "${ECHO_T}no" >&6
 
2551
  { echo "$as_me:$LINENO: result: no" >&5
 
2552
echo "${ECHO_T}no" >&6; }
1999
2553
fi
2000
2554
 
2001
 
  STRIP=$ac_ct_STRIP
 
2555
  if test "x$ac_ct_STRIP" = x; then
 
2556
    STRIP=":"
 
2557
  else
 
2558
    case $cross_compiling:$ac_tool_warned in
 
2559
yes:)
 
2560
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2561
whose name does not start with the host triplet.  If you think this
 
2562
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2563
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2564
whose name does not start with the host triplet.  If you think this
 
2565
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2566
ac_tool_warned=yes ;;
 
2567
esac
 
2568
    STRIP=$ac_ct_STRIP
 
2569
  fi
2002
2570
else
2003
2571
  STRIP="$ac_cv_prog_STRIP"
2004
2572
fi
2005
2573
 
2006
2574
fi
2007
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2575
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2008
2576
 
2009
2577
# We need awk for the "check" target.  The system "awk" is bad on
2010
2578
# some platforms.
2011
 
 
2012
 
 
2013
 
 
2014
 
 
2015
 
 
2016
 
        MKINSTALLDIRS=
2017
 
  if test -n "$ac_aux_dir"; then
2018
 
    case "$ac_aux_dir" in
2019
 
      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
2020
 
      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
2021
 
    esac
2022
 
  fi
2023
 
  if test -z "$MKINSTALLDIRS"; then
2024
 
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
2025
 
  fi
2026
 
 
2027
 
 
2028
 
 
2029
 
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2030
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2031
 
    # Check whether --enable-nls or --disable-nls was given.
 
2579
# Always define AMTAR for backward compatibility.
 
2580
 
 
2581
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2582
 
 
2583
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2584
 
 
2585
 
 
2586
 
 
2587
 
 
2588
 
 
2589
 
 
2590
 
 
2591
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
2592
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
 
2593
    # Check whether --enable-nls was given.
2032
2594
if test "${enable_nls+set}" = set; then
2033
 
  enableval="$enable_nls"
2034
 
  USE_NLS=$enableval
 
2595
  enableval=$enable_nls; USE_NLS=$enableval
2035
2596
else
2036
2597
  USE_NLS=yes
2037
 
fi;
2038
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
2039
 
echo "${ECHO_T}$USE_NLS" >&6
 
2598
fi
 
2599
 
 
2600
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
2601
echo "${ECHO_T}$USE_NLS" >&6; }
2040
2602
 
2041
2603
 
2042
2604
 
2073
2635
 
2074
2636
# Extract the first word of "msgfmt", so it can be a program name with args.
2075
2637
set dummy msgfmt; ac_word=$2
2076
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2077
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2638
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2639
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2078
2640
if test "${ac_cv_path_MSGFMT+set}" = set; then
2079
2641
  echo $ECHO_N "(cached) $ECHO_C" >&6
2080
2642
else
2089
2651
      test -z "$ac_dir" && ac_dir=.
2090
2652
      for ac_exec_ext in '' $ac_executable_extensions; do
2091
2653
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2092
 
          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
 
2654
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
2655
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2093
2656
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2094
2657
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2095
2658
            break 2
2104
2667
fi
2105
2668
MSGFMT="$ac_cv_path_MSGFMT"
2106
2669
if test "$MSGFMT" != ":"; then
2107
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
2108
 
echo "${ECHO_T}$MSGFMT" >&6
 
2670
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
2671
echo "${ECHO_T}$MSGFMT" >&6; }
2109
2672
else
2110
 
  echo "$as_me:$LINENO: result: no" >&5
2111
 
echo "${ECHO_T}no" >&6
 
2673
  { echo "$as_me:$LINENO: result: no" >&5
 
2674
echo "${ECHO_T}no" >&6; }
2112
2675
fi
2113
2676
 
2114
2677
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
2115
2678
set dummy gmsgfmt; ac_word=$2
2116
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2117
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2679
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2680
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2118
2681
if test "${ac_cv_path_GMSGFMT+set}" = set; then
2119
2682
  echo $ECHO_N "(cached) $ECHO_C" >&6
2120
2683
else
2129
2692
  IFS=$as_save_IFS
2130
2693
  test -z "$as_dir" && as_dir=.
2131
2694
  for ac_exec_ext in '' $ac_executable_extensions; do
2132
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2695
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2133
2696
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2134
2697
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135
2698
    break 2
2136
2699
  fi
2137
2700
done
2138
2701
done
 
2702
IFS=$as_save_IFS
2139
2703
 
2140
2704
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2141
2705
  ;;
2142
2706
esac
2143
2707
fi
2144
2708
GMSGFMT=$ac_cv_path_GMSGFMT
2145
 
 
2146
2709
if test -n "$GMSGFMT"; then
2147
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
2148
 
echo "${ECHO_T}$GMSGFMT" >&6
 
2710
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
2711
echo "${ECHO_T}$GMSGFMT" >&6; }
2149
2712
else
2150
 
  echo "$as_me:$LINENO: result: no" >&5
2151
 
echo "${ECHO_T}no" >&6
 
2713
  { echo "$as_me:$LINENO: result: no" >&5
 
2714
echo "${ECHO_T}no" >&6; }
2152
2715
fi
2153
2716
 
2154
2717
 
2155
2718
 
 
2719
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
2720
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
2721
    *) MSGFMT_015=$MSGFMT ;;
 
2722
  esac
 
2723
 
 
2724
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
2725
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
2726
    *) GMSGFMT_015=$GMSGFMT ;;
 
2727
  esac
 
2728
 
 
2729
 
 
2730
 
2156
2731
# Prepare PATH_SEPARATOR.
2157
2732
# The user is always right.
2158
2733
if test "${PATH_SEPARATOR+set}" != set; then
2183
2758
 
2184
2759
# Extract the first word of "xgettext", so it can be a program name with args.
2185
2760
set dummy xgettext; ac_word=$2
2186
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2187
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2761
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2762
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188
2763
if test "${ac_cv_path_XGETTEXT+set}" = set; then
2189
2764
  echo $ECHO_N "(cached) $ECHO_C" >&6
2190
2765
else
2199
2774
      test -z "$ac_dir" && ac_dir=.
2200
2775
      for ac_exec_ext in '' $ac_executable_extensions; do
2201
2776
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2202
 
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
 
2777
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
2778
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
2203
2779
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2204
2780
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
2205
2781
            break 2
2214
2790
fi
2215
2791
XGETTEXT="$ac_cv_path_XGETTEXT"
2216
2792
if test "$XGETTEXT" != ":"; then
2217
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
2218
 
echo "${ECHO_T}$XGETTEXT" >&6
 
2793
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
2794
echo "${ECHO_T}$XGETTEXT" >&6; }
2219
2795
else
2220
 
  echo "$as_me:$LINENO: result: no" >&5
2221
 
echo "${ECHO_T}no" >&6
 
2796
  { echo "$as_me:$LINENO: result: no" >&5
 
2797
echo "${ECHO_T}no" >&6; }
2222
2798
fi
2223
2799
 
2224
2800
    rm -f messages.po
2225
2801
 
 
2802
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
2803
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
2804
    *) XGETTEXT_015=$XGETTEXT ;;
 
2805
  esac
 
2806
 
 
2807
 
2226
2808
 
2227
2809
# Prepare PATH_SEPARATOR.
2228
2810
# The user is always right.
2254
2836
 
2255
2837
# Extract the first word of "msgmerge", so it can be a program name with args.
2256
2838
set dummy msgmerge; ac_word=$2
2257
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2258
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2839
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2840
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2259
2841
if test "${ac_cv_path_MSGMERGE+set}" = set; then
2260
2842
  echo $ECHO_N "(cached) $ECHO_C" >&6
2261
2843
else
2270
2852
      test -z "$ac_dir" && ac_dir=.
2271
2853
      for ac_exec_ext in '' $ac_executable_extensions; do
2272
2854
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2273
 
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
 
2855
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
2856
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2274
2857
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2275
2858
            break 2
2276
2859
          fi
2284
2867
fi
2285
2868
MSGMERGE="$ac_cv_path_MSGMERGE"
2286
2869
if test "$MSGMERGE" != ":"; then
2287
 
  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
2288
 
echo "${ECHO_T}$MSGMERGE" >&6
 
2870
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
2871
echo "${ECHO_T}$MSGMERGE" >&6; }
2289
2872
else
2290
 
  echo "$as_me:$LINENO: result: no" >&5
2291
 
echo "${ECHO_T}no" >&6
 
2873
  { echo "$as_me:$LINENO: result: no" >&5
 
2874
echo "${ECHO_T}no" >&6; }
2292
2875
fi
2293
2876
 
2294
2877
 
2295
 
      if test "$GMSGFMT" != ":"; then
2296
 
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
2297
 
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2298
 
      : ;
2299
 
    else
2300
 
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
2301
 
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
2302
 
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
2303
 
      GMSGFMT=":"
2304
 
    fi
2305
 
  fi
2306
 
 
2307
 
      if test "$XGETTEXT" != ":"; then
2308
 
            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
2309
 
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2310
 
      : ;
2311
 
    else
2312
 
      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
2313
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
2314
 
      XGETTEXT=":"
2315
 
    fi
2316
 
        rm -f messages.po
2317
 
  fi
2318
 
 
2319
 
            ac_config_commands="$ac_config_commands default-1"
 
2878
        test -n "$localedir" || localedir='${datadir}/locale'
 
2879
 
 
2880
 
 
2881
  ac_config_commands="$ac_config_commands po-directories"
2320
2882
 
2321
2883
 
2322
2884
 
2337
2899
 
2338
2900
DEPDIR="${am__leading_dot}deps"
2339
2901
 
2340
 
          ac_config_commands="$ac_config_commands depfiles"
 
2902
ac_config_commands="$ac_config_commands depfiles"
2341
2903
 
2342
2904
 
2343
2905
am_make=${MAKE-make}
2347
2909
.PHONY: am__doit
2348
2910
END
2349
2911
# If we don't find an include directive, just comment out the code.
2350
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2351
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2912
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2913
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2352
2914
am__include="#"
2353
2915
am__quote=
2354
2916
_am_result=none
2375
2937
fi
2376
2938
 
2377
2939
 
2378
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2379
 
echo "${ECHO_T}$_am_result" >&6
 
2940
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
2941
echo "${ECHO_T}$_am_result" >&6; }
2380
2942
rm -f confinc confmf
2381
2943
 
2382
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
2944
# Check whether --enable-dependency-tracking was given.
2383
2945
if test "${enable_dependency_tracking+set}" = set; then
2384
 
  enableval="$enable_dependency_tracking"
 
2946
  enableval=$enable_dependency_tracking;
 
2947
fi
2385
2948
 
2386
 
fi;
2387
2949
if test "x$enable_dependency_tracking" != xno; then
2388
2950
  am_depcomp="$ac_aux_dir/depcomp"
2389
2951
  AMDEPBACKSLASH='\'
2390
2952
fi
2391
 
 
2392
 
 
2393
 
if test "x$enable_dependency_tracking" != xno; then
 
2953
 if test "x$enable_dependency_tracking" != xno; then
2394
2954
  AMDEP_TRUE=
2395
2955
  AMDEP_FALSE='#'
2396
2956
else
2399
2959
fi
2400
2960
 
2401
2961
 
2402
 
 
2403
2962
ac_ext=c
2404
2963
ac_cpp='$CPP $CPPFLAGS'
2405
2964
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408
2967
if test -n "$ac_tool_prefix"; then
2409
2968
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2410
2969
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2411
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2412
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2970
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2971
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2413
2972
if test "${ac_cv_prog_CC+set}" = set; then
2414
2973
  echo $ECHO_N "(cached) $ECHO_C" >&6
2415
2974
else
2422
2981
  IFS=$as_save_IFS
2423
2982
  test -z "$as_dir" && as_dir=.
2424
2983
  for ac_exec_ext in '' $ac_executable_extensions; do
2425
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426
2985
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2427
2986
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2428
2987
    break 2
2429
2988
  fi
2430
2989
done
2431
2990
done
 
2991
IFS=$as_save_IFS
2432
2992
 
2433
2993
fi
2434
2994
fi
2435
2995
CC=$ac_cv_prog_CC
2436
2996
if test -n "$CC"; then
2437
 
  echo "$as_me:$LINENO: result: $CC" >&5
2438
 
echo "${ECHO_T}$CC" >&6
 
2997
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2998
echo "${ECHO_T}$CC" >&6; }
2439
2999
else
2440
 
  echo "$as_me:$LINENO: result: no" >&5
2441
 
echo "${ECHO_T}no" >&6
 
3000
  { echo "$as_me:$LINENO: result: no" >&5
 
3001
echo "${ECHO_T}no" >&6; }
2442
3002
fi
 
3003
 
2443
3004
 
2444
3005
fi
2445
3006
if test -z "$ac_cv_prog_CC"; then
2446
3007
  ac_ct_CC=$CC
2447
3008
  # Extract the first word of "gcc", so it can be a program name with args.
2448
3009
set dummy gcc; ac_word=$2
2449
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2450
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3010
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3011
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2451
3012
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2452
3013
  echo $ECHO_N "(cached) $ECHO_C" >&6
2453
3014
else
2460
3021
  IFS=$as_save_IFS
2461
3022
  test -z "$as_dir" && as_dir=.
2462
3023
  for ac_exec_ext in '' $ac_executable_extensions; do
2463
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3024
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464
3025
    ac_cv_prog_ac_ct_CC="gcc"
2465
3026
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466
3027
    break 2
2467
3028
  fi
2468
3029
done
2469
3030
done
 
3031
IFS=$as_save_IFS
2470
3032
 
2471
3033
fi
2472
3034
fi
2473
3035
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2474
3036
if test -n "$ac_ct_CC"; then
2475
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2476
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3037
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3038
echo "${ECHO_T}$ac_ct_CC" >&6; }
2477
3039
else
2478
 
  echo "$as_me:$LINENO: result: no" >&5
2479
 
echo "${ECHO_T}no" >&6
 
3040
  { echo "$as_me:$LINENO: result: no" >&5
 
3041
echo "${ECHO_T}no" >&6; }
2480
3042
fi
2481
3043
 
2482
 
  CC=$ac_ct_CC
 
3044
  if test "x$ac_ct_CC" = x; then
 
3045
    CC=""
 
3046
  else
 
3047
    case $cross_compiling:$ac_tool_warned in
 
3048
yes:)
 
3049
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3050
whose name does not start with the host triplet.  If you think this
 
3051
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3052
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3053
whose name does not start with the host triplet.  If you think this
 
3054
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3055
ac_tool_warned=yes ;;
 
3056
esac
 
3057
    CC=$ac_ct_CC
 
3058
  fi
2483
3059
else
2484
3060
  CC="$ac_cv_prog_CC"
2485
3061
fi
2486
3062
 
2487
3063
if test -z "$CC"; then
2488
 
  if test -n "$ac_tool_prefix"; then
2489
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3064
          if test -n "$ac_tool_prefix"; then
 
3065
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2490
3066
set dummy ${ac_tool_prefix}cc; ac_word=$2
2491
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2492
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3067
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3068
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493
3069
if test "${ac_cv_prog_CC+set}" = set; then
2494
3070
  echo $ECHO_N "(cached) $ECHO_C" >&6
2495
3071
else
2502
3078
  IFS=$as_save_IFS
2503
3079
  test -z "$as_dir" && as_dir=.
2504
3080
  for ac_exec_ext in '' $ac_executable_extensions; do
2505
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3081
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506
3082
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2507
3083
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508
3084
    break 2
2509
3085
  fi
2510
3086
done
2511
3087
done
 
3088
IFS=$as_save_IFS
2512
3089
 
2513
3090
fi
2514
3091
fi
2515
3092
CC=$ac_cv_prog_CC
2516
3093
if test -n "$CC"; then
2517
 
  echo "$as_me:$LINENO: result: $CC" >&5
2518
 
echo "${ECHO_T}$CC" >&6
2519
 
else
2520
 
  echo "$as_me:$LINENO: result: no" >&5
2521
 
echo "${ECHO_T}no" >&6
2522
 
fi
2523
 
 
2524
 
fi
2525
 
if test -z "$ac_cv_prog_CC"; then
2526
 
  ac_ct_CC=$CC
2527
 
  # Extract the first word of "cc", so it can be a program name with args.
2528
 
set dummy cc; ac_word=$2
2529
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2530
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2531
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2532
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2533
 
else
2534
 
  if test -n "$ac_ct_CC"; then
2535
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2536
 
else
2537
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538
 
for as_dir in $PATH
2539
 
do
2540
 
  IFS=$as_save_IFS
2541
 
  test -z "$as_dir" && as_dir=.
2542
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2543
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2544
 
    ac_cv_prog_ac_ct_CC="cc"
2545
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546
 
    break 2
 
3094
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3095
echo "${ECHO_T}$CC" >&6; }
 
3096
else
 
3097
  { echo "$as_me:$LINENO: result: no" >&5
 
3098
echo "${ECHO_T}no" >&6; }
 
3099
fi
 
3100
 
 
3101
 
2547
3102
  fi
2548
 
done
2549
 
done
2550
 
 
2551
 
fi
2552
 
fi
2553
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2554
 
if test -n "$ac_ct_CC"; then
2555
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2556
 
echo "${ECHO_T}$ac_ct_CC" >&6
2557
 
else
2558
 
  echo "$as_me:$LINENO: result: no" >&5
2559
 
echo "${ECHO_T}no" >&6
2560
 
fi
2561
 
 
2562
 
  CC=$ac_ct_CC
2563
 
else
2564
 
  CC="$ac_cv_prog_CC"
2565
 
fi
2566
 
 
2567
3103
fi
2568
3104
if test -z "$CC"; then
2569
3105
  # Extract the first word of "cc", so it can be a program name with args.
2570
3106
set dummy cc; ac_word=$2
2571
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2572
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3107
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3108
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2573
3109
if test "${ac_cv_prog_CC+set}" = set; then
2574
3110
  echo $ECHO_N "(cached) $ECHO_C" >&6
2575
3111
else
2583
3119
  IFS=$as_save_IFS
2584
3120
  test -z "$as_dir" && as_dir=.
2585
3121
  for ac_exec_ext in '' $ac_executable_extensions; do
2586
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587
3123
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2588
3124
       ac_prog_rejected=yes
2589
3125
       continue
2594
3130
  fi
2595
3131
done
2596
3132
done
 
3133
IFS=$as_save_IFS
2597
3134
 
2598
3135
if test $ac_prog_rejected = yes; then
2599
3136
  # We found a bogon in the path, so make sure we never use it.
2611
3148
fi
2612
3149
CC=$ac_cv_prog_CC
2613
3150
if test -n "$CC"; then
2614
 
  echo "$as_me:$LINENO: result: $CC" >&5
2615
 
echo "${ECHO_T}$CC" >&6
 
3151
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3152
echo "${ECHO_T}$CC" >&6; }
2616
3153
else
2617
 
  echo "$as_me:$LINENO: result: no" >&5
2618
 
echo "${ECHO_T}no" >&6
 
3154
  { echo "$as_me:$LINENO: result: no" >&5
 
3155
echo "${ECHO_T}no" >&6; }
2619
3156
fi
 
3157
 
2620
3158
 
2621
3159
fi
2622
3160
if test -z "$CC"; then
2623
3161
  if test -n "$ac_tool_prefix"; then
2624
 
  for ac_prog in cl
 
3162
  for ac_prog in cl.exe
2625
3163
  do
2626
3164
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2627
3165
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2628
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2629
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3166
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3167
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2630
3168
if test "${ac_cv_prog_CC+set}" = set; then
2631
3169
  echo $ECHO_N "(cached) $ECHO_C" >&6
2632
3170
else
2639
3177
  IFS=$as_save_IFS
2640
3178
  test -z "$as_dir" && as_dir=.
2641
3179
  for ac_exec_ext in '' $ac_executable_extensions; do
2642
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3180
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643
3181
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2644
3182
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2645
3183
    break 2
2646
3184
  fi
2647
3185
done
2648
3186
done
 
3187
IFS=$as_save_IFS
2649
3188
 
2650
3189
fi
2651
3190
fi
2652
3191
CC=$ac_cv_prog_CC
2653
3192
if test -n "$CC"; then
2654
 
  echo "$as_me:$LINENO: result: $CC" >&5
2655
 
echo "${ECHO_T}$CC" >&6
 
3193
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3194
echo "${ECHO_T}$CC" >&6; }
2656
3195
else
2657
 
  echo "$as_me:$LINENO: result: no" >&5
2658
 
echo "${ECHO_T}no" >&6
 
3196
  { echo "$as_me:$LINENO: result: no" >&5
 
3197
echo "${ECHO_T}no" >&6; }
2659
3198
fi
2660
3199
 
 
3200
 
2661
3201
    test -n "$CC" && break
2662
3202
  done
2663
3203
fi
2664
3204
if test -z "$CC"; then
2665
3205
  ac_ct_CC=$CC
2666
 
  for ac_prog in cl
 
3206
  for ac_prog in cl.exe
2667
3207
do
2668
3208
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2669
3209
set dummy $ac_prog; ac_word=$2
2670
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2671
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3210
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3211
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2672
3212
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2673
3213
  echo $ECHO_N "(cached) $ECHO_C" >&6
2674
3214
else
2681
3221
  IFS=$as_save_IFS
2682
3222
  test -z "$as_dir" && as_dir=.
2683
3223
  for ac_exec_ext in '' $ac_executable_extensions; do
2684
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2685
3225
    ac_cv_prog_ac_ct_CC="$ac_prog"
2686
3226
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687
3227
    break 2
2688
3228
  fi
2689
3229
done
2690
3230
done
 
3231
IFS=$as_save_IFS
2691
3232
 
2692
3233
fi
2693
3234
fi
2694
3235
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2695
3236
if test -n "$ac_ct_CC"; then
2696
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2697
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3237
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3238
echo "${ECHO_T}$ac_ct_CC" >&6; }
2698
3239
else
2699
 
  echo "$as_me:$LINENO: result: no" >&5
2700
 
echo "${ECHO_T}no" >&6
 
3240
  { echo "$as_me:$LINENO: result: no" >&5
 
3241
echo "${ECHO_T}no" >&6; }
2701
3242
fi
2702
3243
 
 
3244
 
2703
3245
  test -n "$ac_ct_CC" && break
2704
3246
done
2705
3247
 
2706
 
  CC=$ac_ct_CC
 
3248
  if test "x$ac_ct_CC" = x; then
 
3249
    CC=""
 
3250
  else
 
3251
    case $cross_compiling:$ac_tool_warned in
 
3252
yes:)
 
3253
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3254
whose name does not start with the host triplet.  If you think this
 
3255
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3256
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3257
whose name does not start with the host triplet.  If you think this
 
3258
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3259
ac_tool_warned=yes ;;
 
3260
esac
 
3261
    CC=$ac_ct_CC
 
3262
  fi
2707
3263
fi
2708
3264
 
2709
3265
fi
2716
3272
   { (exit 1); exit 1; }; }
2717
3273
 
2718
3274
# Provide some information about the compiler.
2719
 
echo "$as_me:$LINENO:" \
2720
 
     "checking for C compiler version" >&5
 
3275
echo "$as_me:$LINENO: checking for C compiler version" >&5
2721
3276
ac_compiler=`set X $ac_compile; echo $2`
2722
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2723
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2724
 
  ac_status=$?
2725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726
 
  (exit $ac_status); }
2727
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2728
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2729
 
  ac_status=$?
2730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731
 
  (exit $ac_status); }
2732
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2733
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3277
{ (ac_try="$ac_compiler --version >&5"
 
3278
case "(($ac_try" in
 
3279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3280
  *) ac_try_echo=$ac_try;;
 
3281
esac
 
3282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3283
  (eval "$ac_compiler --version >&5") 2>&5
 
3284
  ac_status=$?
 
3285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3286
  (exit $ac_status); }
 
3287
{ (ac_try="$ac_compiler -v >&5"
 
3288
case "(($ac_try" in
 
3289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3290
  *) ac_try_echo=$ac_try;;
 
3291
esac
 
3292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3293
  (eval "$ac_compiler -v >&5") 2>&5
 
3294
  ac_status=$?
 
3295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3296
  (exit $ac_status); }
 
3297
{ (ac_try="$ac_compiler -V >&5"
 
3298
case "(($ac_try" in
 
3299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3300
  *) ac_try_echo=$ac_try;;
 
3301
esac
 
3302
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3303
  (eval "$ac_compiler -V >&5") 2>&5
2734
3304
  ac_status=$?
2735
3305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736
3306
  (exit $ac_status); }
2755
3325
# Try to create an executable without -o first, disregard a.out.
2756
3326
# It will help us diagnose broken compilers, and finding out an intuition
2757
3327
# of exeext.
2758
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2759
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3328
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3329
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2760
3330
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2761
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2762
 
  (eval $ac_link_default) 2>&5
 
3331
#
 
3332
# List of possible output files, starting from the most likely.
 
3333
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3334
# only as a last resort.  b.out is created by i960 compilers.
 
3335
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3336
#
 
3337
# The IRIX 6 linker writes into existing files which may not be
 
3338
# executable, retaining their permissions.  Remove them first so a
 
3339
# subsequent execution test works.
 
3340
ac_rmfiles=
 
3341
for ac_file in $ac_files
 
3342
do
 
3343
  case $ac_file in
 
3344
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3345
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3346
  esac
 
3347
done
 
3348
rm -f $ac_rmfiles
 
3349
 
 
3350
if { (ac_try="$ac_link_default"
 
3351
case "(($ac_try" in
 
3352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3353
  *) ac_try_echo=$ac_try;;
 
3354
esac
 
3355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3356
  (eval "$ac_link_default") 2>&5
2763
3357
  ac_status=$?
2764
3358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
3359
  (exit $ac_status); }; then
2766
 
  # Find the output, starting from the most likely.  This scheme is
2767
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2768
 
# resort.
2769
 
 
2770
 
# Be careful to initialize this variable, since it used to be cached.
2771
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2772
 
ac_cv_exeext=
2773
 
# b.out is created by i960 compilers.
2774
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3360
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3361
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3362
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3363
# so that the user can short-circuit this test for compilers unknown to
 
3364
# Autoconf.
 
3365
for ac_file in $ac_files ''
2775
3366
do
2776
3367
  test -f "$ac_file" || continue
2777
3368
  case $ac_file in
2778
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2779
 
        ;;
2780
 
    conftest.$ac_ext )
2781
 
        # This is the source file.
 
3369
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2782
3370
        ;;
2783
3371
    [ab].out )
2784
3372
        # We found the default executable, but exeext='' is most
2785
3373
        # certainly right.
2786
3374
        break;;
2787
3375
    *.* )
2788
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2789
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2790
 
        # but it would be cool to find out if it's true.  Does anybody
2791
 
        # maintain Libtool? --akim.
2792
 
        export ac_cv_exeext
 
3376
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3377
        then :; else
 
3378
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3379
        fi
 
3380
        # We set ac_cv_exeext here because the later test for it is not
 
3381
        # safe: cross compilers may not add the suffix if given an `-o'
 
3382
        # argument, so we may need to know it at that point already.
 
3383
        # Even if this section looks crufty: it has the advantage of
 
3384
        # actually working.
2793
3385
        break;;
2794
3386
    * )
2795
3387
        break;;
2796
3388
  esac
2797
3389
done
 
3390
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3391
 
2798
3392
else
 
3393
  ac_file=''
 
3394
fi
 
3395
 
 
3396
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3397
echo "${ECHO_T}$ac_file" >&6; }
 
3398
if test -z "$ac_file"; then
2799
3399
  echo "$as_me: failed program was:" >&5
2800
3400
sed 's/^/| /' conftest.$ac_ext >&5
2801
3401
 
2807
3407
fi
2808
3408
 
2809
3409
ac_exeext=$ac_cv_exeext
2810
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2811
 
echo "${ECHO_T}$ac_file" >&6
2812
3410
 
2813
 
# Check the compiler produces executables we can run.  If not, either
 
3411
# Check that the compiler produces executables we can run.  If not, either
2814
3412
# the compiler is broken, or we cross compile.
2815
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2816
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3413
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3414
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2817
3415
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2818
3416
# If not cross compiling, check that we can run a simple program.
2819
3417
if test "$cross_compiling" != yes; then
2820
3418
  if { ac_try='./$ac_file'
2821
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822
 
  (eval $ac_try) 2>&5
 
3419
  { (case "(($ac_try" in
 
3420
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3421
  *) ac_try_echo=$ac_try;;
 
3422
esac
 
3423
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3424
  (eval "$ac_try") 2>&5
2823
3425
  ac_status=$?
2824
3426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825
3427
  (exit $ac_status); }; }; then
2838
3440
    fi
2839
3441
  fi
2840
3442
fi
2841
 
echo "$as_me:$LINENO: result: yes" >&5
2842
 
echo "${ECHO_T}yes" >&6
 
3443
{ echo "$as_me:$LINENO: result: yes" >&5
 
3444
echo "${ECHO_T}yes" >&6; }
2843
3445
 
2844
3446
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2845
3447
ac_clean_files=$ac_clean_files_save
2846
 
# Check the compiler produces executables we can run.  If not, either
 
3448
# Check that the compiler produces executables we can run.  If not, either
2847
3449
# the compiler is broken, or we cross compile.
2848
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2849
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2850
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2851
 
echo "${ECHO_T}$cross_compiling" >&6
 
3450
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3451
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3452
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3453
echo "${ECHO_T}$cross_compiling" >&6; }
2852
3454
 
2853
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2854
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2855
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2856
 
  (eval $ac_link) 2>&5
 
3455
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3456
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3457
if { (ac_try="$ac_link"
 
3458
case "(($ac_try" in
 
3459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3460
  *) ac_try_echo=$ac_try;;
 
3461
esac
 
3462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3463
  (eval "$ac_link") 2>&5
2857
3464
  ac_status=$?
2858
3465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859
3466
  (exit $ac_status); }; then
2864
3471
for ac_file in conftest.exe conftest conftest.*; do
2865
3472
  test -f "$ac_file" || continue
2866
3473
  case $ac_file in
2867
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3474
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2868
3475
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2869
 
          export ac_cv_exeext
2870
3476
          break;;
2871
3477
    * ) break;;
2872
3478
  esac
2880
3486
fi
2881
3487
 
2882
3488
rm -f conftest$ac_cv_exeext
2883
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2884
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3489
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3490
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2885
3491
 
2886
3492
rm -f conftest.$ac_ext
2887
3493
EXEEXT=$ac_cv_exeext
2888
3494
ac_exeext=$EXEEXT
2889
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2890
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3495
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3496
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2891
3497
if test "${ac_cv_objext+set}" = set; then
2892
3498
  echo $ECHO_N "(cached) $ECHO_C" >&6
2893
3499
else
2907
3513
}
2908
3514
_ACEOF
2909
3515
rm -f conftest.o conftest.obj
2910
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911
 
  (eval $ac_compile) 2>&5
 
3516
if { (ac_try="$ac_compile"
 
3517
case "(($ac_try" in
 
3518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3519
  *) ac_try_echo=$ac_try;;
 
3520
esac
 
3521
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3522
  (eval "$ac_compile") 2>&5
2912
3523
  ac_status=$?
2913
3524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914
3525
  (exit $ac_status); }; then
2915
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3526
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3527
  test -f "$ac_file" || continue;
2916
3528
  case $ac_file in
2917
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3529
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2918
3530
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2919
3531
       break;;
2920
3532
  esac
2932
3544
 
2933
3545
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2934
3546
fi
2935
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2936
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3547
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3548
echo "${ECHO_T}$ac_cv_objext" >&6; }
2937
3549
OBJEXT=$ac_cv_objext
2938
3550
ac_objext=$OBJEXT
2939
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2940
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3551
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3552
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2941
3553
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2942
3554
  echo $ECHO_N "(cached) $ECHO_C" >&6
2943
3555
else
2960
3572
}
2961
3573
_ACEOF
2962
3574
rm -f conftest.$ac_objext
2963
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2964
 
  (eval $ac_compile) 2>conftest.er1
 
3575
if { (ac_try="$ac_compile"
 
3576
case "(($ac_try" in
 
3577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3578
  *) ac_try_echo=$ac_try;;
 
3579
esac
 
3580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3581
  (eval "$ac_compile") 2>conftest.er1
2965
3582
  ac_status=$?
2966
3583
  grep -v '^ *+' conftest.er1 >conftest.err
2967
3584
  rm -f conftest.er1
2968
3585
  cat conftest.err >&5
2969
3586
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970
 
  (exit $ac_status); } &&
2971
 
         { ac_try='test -z "$ac_c_werror_flag"
2972
 
                         || test ! -s conftest.err'
2973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974
 
  (eval $ac_try) 2>&5
2975
 
  ac_status=$?
2976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977
 
  (exit $ac_status); }; } &&
2978
 
         { ac_try='test -s conftest.$ac_objext'
2979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980
 
  (eval $ac_try) 2>&5
2981
 
  ac_status=$?
2982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983
 
  (exit $ac_status); }; }; then
 
3587
  (exit $ac_status); } && {
 
3588
         test -z "$ac_c_werror_flag" ||
 
3589
         test ! -s conftest.err
 
3590
       } && test -s conftest.$ac_objext; then
2984
3591
  ac_compiler_gnu=yes
2985
3592
else
2986
3593
  echo "$as_me: failed program was:" >&5
2987
3594
sed 's/^/| /' conftest.$ac_ext >&5
2988
3595
 
2989
 
ac_compiler_gnu=no
 
3596
        ac_compiler_gnu=no
2990
3597
fi
2991
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3598
 
 
3599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992
3600
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2993
3601
 
2994
3602
fi
2995
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2996
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3603
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3604
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2997
3605
GCC=`test $ac_compiler_gnu = yes && echo yes`
2998
3606
ac_test_CFLAGS=${CFLAGS+set}
2999
3607
ac_save_CFLAGS=$CFLAGS
3000
 
CFLAGS="-g"
3001
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3002
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3608
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3609
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3003
3610
if test "${ac_cv_prog_cc_g+set}" = set; then
3004
3611
  echo $ECHO_N "(cached) $ECHO_C" >&6
3005
3612
else
3006
 
  cat >conftest.$ac_ext <<_ACEOF
3007
 
/* confdefs.h.  */
3008
 
_ACEOF
3009
 
cat confdefs.h >>conftest.$ac_ext
3010
 
cat >>conftest.$ac_ext <<_ACEOF
3011
 
/* end confdefs.h.  */
3012
 
 
3013
 
int
3014
 
main ()
3015
 
{
3016
 
 
3017
 
  ;
3018
 
  return 0;
3019
 
}
3020
 
_ACEOF
3021
 
rm -f conftest.$ac_objext
3022
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3023
 
  (eval $ac_compile) 2>conftest.er1
3024
 
  ac_status=$?
3025
 
  grep -v '^ *+' conftest.er1 >conftest.err
3026
 
  rm -f conftest.er1
3027
 
  cat conftest.err >&5
3028
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029
 
  (exit $ac_status); } &&
3030
 
         { ac_try='test -z "$ac_c_werror_flag"
3031
 
                         || test ! -s conftest.err'
3032
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3033
 
  (eval $ac_try) 2>&5
3034
 
  ac_status=$?
3035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036
 
  (exit $ac_status); }; } &&
3037
 
         { ac_try='test -s conftest.$ac_objext'
3038
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3039
 
  (eval $ac_try) 2>&5
3040
 
  ac_status=$?
3041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042
 
  (exit $ac_status); }; }; then
3043
 
  ac_cv_prog_cc_g=yes
3044
 
else
3045
 
  echo "$as_me: failed program was:" >&5
3046
 
sed 's/^/| /' conftest.$ac_ext >&5
3047
 
 
3048
 
ac_cv_prog_cc_g=no
3049
 
fi
3050
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3051
 
fi
3052
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3053
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3613
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3614
   ac_c_werror_flag=yes
 
3615
   ac_cv_prog_cc_g=no
 
3616
   CFLAGS="-g"
 
3617
   cat >conftest.$ac_ext <<_ACEOF
 
3618
/* confdefs.h.  */
 
3619
_ACEOF
 
3620
cat confdefs.h >>conftest.$ac_ext
 
3621
cat >>conftest.$ac_ext <<_ACEOF
 
3622
/* end confdefs.h.  */
 
3623
 
 
3624
int
 
3625
main ()
 
3626
{
 
3627
 
 
3628
  ;
 
3629
  return 0;
 
3630
}
 
3631
_ACEOF
 
3632
rm -f conftest.$ac_objext
 
3633
if { (ac_try="$ac_compile"
 
3634
case "(($ac_try" in
 
3635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3636
  *) ac_try_echo=$ac_try;;
 
3637
esac
 
3638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3639
  (eval "$ac_compile") 2>conftest.er1
 
3640
  ac_status=$?
 
3641
  grep -v '^ *+' conftest.er1 >conftest.err
 
3642
  rm -f conftest.er1
 
3643
  cat conftest.err >&5
 
3644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3645
  (exit $ac_status); } && {
 
3646
         test -z "$ac_c_werror_flag" ||
 
3647
         test ! -s conftest.err
 
3648
       } && test -s conftest.$ac_objext; then
 
3649
  ac_cv_prog_cc_g=yes
 
3650
else
 
3651
  echo "$as_me: failed program was:" >&5
 
3652
sed 's/^/| /' conftest.$ac_ext >&5
 
3653
 
 
3654
        CFLAGS=""
 
3655
      cat >conftest.$ac_ext <<_ACEOF
 
3656
/* confdefs.h.  */
 
3657
_ACEOF
 
3658
cat confdefs.h >>conftest.$ac_ext
 
3659
cat >>conftest.$ac_ext <<_ACEOF
 
3660
/* end confdefs.h.  */
 
3661
 
 
3662
int
 
3663
main ()
 
3664
{
 
3665
 
 
3666
  ;
 
3667
  return 0;
 
3668
}
 
3669
_ACEOF
 
3670
rm -f conftest.$ac_objext
 
3671
if { (ac_try="$ac_compile"
 
3672
case "(($ac_try" in
 
3673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3674
  *) ac_try_echo=$ac_try;;
 
3675
esac
 
3676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3677
  (eval "$ac_compile") 2>conftest.er1
 
3678
  ac_status=$?
 
3679
  grep -v '^ *+' conftest.er1 >conftest.err
 
3680
  rm -f conftest.er1
 
3681
  cat conftest.err >&5
 
3682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3683
  (exit $ac_status); } && {
 
3684
         test -z "$ac_c_werror_flag" ||
 
3685
         test ! -s conftest.err
 
3686
       } && test -s conftest.$ac_objext; then
 
3687
  :
 
3688
else
 
3689
  echo "$as_me: failed program was:" >&5
 
3690
sed 's/^/| /' conftest.$ac_ext >&5
 
3691
 
 
3692
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3693
         CFLAGS="-g"
 
3694
         cat >conftest.$ac_ext <<_ACEOF
 
3695
/* confdefs.h.  */
 
3696
_ACEOF
 
3697
cat confdefs.h >>conftest.$ac_ext
 
3698
cat >>conftest.$ac_ext <<_ACEOF
 
3699
/* end confdefs.h.  */
 
3700
 
 
3701
int
 
3702
main ()
 
3703
{
 
3704
 
 
3705
  ;
 
3706
  return 0;
 
3707
}
 
3708
_ACEOF
 
3709
rm -f conftest.$ac_objext
 
3710
if { (ac_try="$ac_compile"
 
3711
case "(($ac_try" in
 
3712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3713
  *) ac_try_echo=$ac_try;;
 
3714
esac
 
3715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3716
  (eval "$ac_compile") 2>conftest.er1
 
3717
  ac_status=$?
 
3718
  grep -v '^ *+' conftest.er1 >conftest.err
 
3719
  rm -f conftest.er1
 
3720
  cat conftest.err >&5
 
3721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3722
  (exit $ac_status); } && {
 
3723
         test -z "$ac_c_werror_flag" ||
 
3724
         test ! -s conftest.err
 
3725
       } && test -s conftest.$ac_objext; then
 
3726
  ac_cv_prog_cc_g=yes
 
3727
else
 
3728
  echo "$as_me: failed program was:" >&5
 
3729
sed 's/^/| /' conftest.$ac_ext >&5
 
3730
 
 
3731
 
 
3732
fi
 
3733
 
 
3734
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3735
fi
 
3736
 
 
3737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3738
fi
 
3739
 
 
3740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3741
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3742
fi
 
3743
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3744
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3054
3745
if test "$ac_test_CFLAGS" = set; then
3055
3746
  CFLAGS=$ac_save_CFLAGS
3056
3747
elif test $ac_cv_prog_cc_g = yes; then
3066
3757
    CFLAGS=
3067
3758
  fi
3068
3759
fi
3069
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3070
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3071
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3760
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3761
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3762
if test "${ac_cv_prog_cc_c89+set}" = set; then
3072
3763
  echo $ECHO_N "(cached) $ECHO_C" >&6
3073
3764
else
3074
 
  ac_cv_prog_cc_stdc=no
 
3765
  ac_cv_prog_cc_c89=no
3075
3766
ac_save_CC=$CC
3076
3767
cat >conftest.$ac_ext <<_ACEOF
3077
3768
/* confdefs.h.  */
3105
3796
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3106
3797
   function prototypes and stuff, but not '\xHH' hex character constants.
3107
3798
   These don't provoke an error unfortunately, instead are silently treated
3108
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3799
   as 'x'.  The following induces an error, until -std is added to get
3109
3800
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3110
3801
   array size at least.  It's necessary to write '\x00'==0 to get something
3111
 
   that's true only with -std1.  */
 
3802
   that's true only with -std.  */
3112
3803
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3113
3804
 
 
3805
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3806
   inside strings and character constants.  */
 
3807
#define FOO(x) 'x'
 
3808
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3809
 
3114
3810
int test (int i, double x);
3115
3811
struct s1 {int (*f) (int a);};
3116
3812
struct s2 {int (*f) (double a);};
3125
3821
  return 0;
3126
3822
}
3127
3823
_ACEOF
3128
 
# Don't try gcc -ansi; that turns off useful extensions and
3129
 
# breaks some systems' header files.
3130
 
# AIX                   -qlanglvl=ansi
3131
 
# Ultrix and OSF/1      -std1
3132
 
# HP-UX 10.20 and later -Ae
3133
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3134
 
# SVR4                  -Xc -D__EXTENSIONS__
3135
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3824
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3825
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3136
3826
do
3137
3827
  CC="$ac_save_CC $ac_arg"
3138
3828
  rm -f conftest.$ac_objext
3139
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140
 
  (eval $ac_compile) 2>conftest.er1
 
3829
if { (ac_try="$ac_compile"
 
3830
case "(($ac_try" in
 
3831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3832
  *) ac_try_echo=$ac_try;;
 
3833
esac
 
3834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3835
  (eval "$ac_compile") 2>conftest.er1
3141
3836
  ac_status=$?
3142
3837
  grep -v '^ *+' conftest.er1 >conftest.err
3143
3838
  rm -f conftest.er1
3144
3839
  cat conftest.err >&5
3145
3840
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146
 
  (exit $ac_status); } &&
3147
 
         { ac_try='test -z "$ac_c_werror_flag"
3148
 
                         || test ! -s conftest.err'
3149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150
 
  (eval $ac_try) 2>&5
3151
 
  ac_status=$?
3152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
 
  (exit $ac_status); }; } &&
3154
 
         { ac_try='test -s conftest.$ac_objext'
3155
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156
 
  (eval $ac_try) 2>&5
3157
 
  ac_status=$?
3158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159
 
  (exit $ac_status); }; }; then
3160
 
  ac_cv_prog_cc_stdc=$ac_arg
3161
 
break
 
3841
  (exit $ac_status); } && {
 
3842
         test -z "$ac_c_werror_flag" ||
 
3843
         test ! -s conftest.err
 
3844
       } && test -s conftest.$ac_objext; then
 
3845
  ac_cv_prog_cc_c89=$ac_arg
3162
3846
else
3163
3847
  echo "$as_me: failed program was:" >&5
3164
3848
sed 's/^/| /' conftest.$ac_ext >&5
3165
3849
 
 
3850
 
3166
3851
fi
3167
 
rm -f conftest.err conftest.$ac_objext
 
3852
 
 
3853
rm -f core conftest.err conftest.$ac_objext
 
3854
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3168
3855
done
3169
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3856
rm -f conftest.$ac_ext
3170
3857
CC=$ac_save_CC
3171
3858
 
3172
3859
fi
3173
 
 
3174
 
case "x$ac_cv_prog_cc_stdc" in
3175
 
  x|xno)
3176
 
    echo "$as_me:$LINENO: result: none needed" >&5
3177
 
echo "${ECHO_T}none needed" >&6 ;;
 
3860
# AC_CACHE_VAL
 
3861
case "x$ac_cv_prog_cc_c89" in
 
3862
  x)
 
3863
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3864
echo "${ECHO_T}none needed" >&6; } ;;
 
3865
  xno)
 
3866
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3867
echo "${ECHO_T}unsupported" >&6; } ;;
3178
3868
  *)
3179
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3180
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3181
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3869
    CC="$CC $ac_cv_prog_cc_c89"
 
3870
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3871
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3182
3872
esac
3183
3873
 
3184
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3185
 
# in C++ we need to declare it.  In case someone uses the same compiler
3186
 
# for both compiling C and C++ we need to have the C++ compiler decide
3187
 
# the declaration of exit, since it's the most demanding environment.
3188
 
cat >conftest.$ac_ext <<_ACEOF
3189
 
#ifndef __cplusplus
3190
 
  choke me
3191
 
#endif
3192
 
_ACEOF
3193
 
rm -f conftest.$ac_objext
3194
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195
 
  (eval $ac_compile) 2>conftest.er1
3196
 
  ac_status=$?
3197
 
  grep -v '^ *+' conftest.er1 >conftest.err
3198
 
  rm -f conftest.er1
3199
 
  cat conftest.err >&5
3200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201
 
  (exit $ac_status); } &&
3202
 
         { ac_try='test -z "$ac_c_werror_flag"
3203
 
                         || test ! -s conftest.err'
3204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205
 
  (eval $ac_try) 2>&5
3206
 
  ac_status=$?
3207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208
 
  (exit $ac_status); }; } &&
3209
 
         { ac_try='test -s conftest.$ac_objext'
3210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211
 
  (eval $ac_try) 2>&5
3212
 
  ac_status=$?
3213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
 
  (exit $ac_status); }; }; then
3215
 
  for ac_declaration in \
3216
 
   '' \
3217
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3218
 
   'extern "C" void std::exit (int); using std::exit;' \
3219
 
   'extern "C" void exit (int) throw ();' \
3220
 
   'extern "C" void exit (int);' \
3221
 
   'void exit (int);'
3222
 
do
3223
 
  cat >conftest.$ac_ext <<_ACEOF
3224
 
/* confdefs.h.  */
3225
 
_ACEOF
3226
 
cat confdefs.h >>conftest.$ac_ext
3227
 
cat >>conftest.$ac_ext <<_ACEOF
3228
 
/* end confdefs.h.  */
3229
 
$ac_declaration
3230
 
#include <stdlib.h>
3231
 
int
3232
 
main ()
3233
 
{
3234
 
exit (42);
3235
 
  ;
3236
 
  return 0;
3237
 
}
3238
 
_ACEOF
3239
 
rm -f conftest.$ac_objext
3240
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3241
 
  (eval $ac_compile) 2>conftest.er1
3242
 
  ac_status=$?
3243
 
  grep -v '^ *+' conftest.er1 >conftest.err
3244
 
  rm -f conftest.er1
3245
 
  cat conftest.err >&5
3246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247
 
  (exit $ac_status); } &&
3248
 
         { ac_try='test -z "$ac_c_werror_flag"
3249
 
                         || test ! -s conftest.err'
3250
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251
 
  (eval $ac_try) 2>&5
3252
 
  ac_status=$?
3253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254
 
  (exit $ac_status); }; } &&
3255
 
         { ac_try='test -s conftest.$ac_objext'
3256
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257
 
  (eval $ac_try) 2>&5
3258
 
  ac_status=$?
3259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260
 
  (exit $ac_status); }; }; then
3261
 
  :
3262
 
else
3263
 
  echo "$as_me: failed program was:" >&5
3264
 
sed 's/^/| /' conftest.$ac_ext >&5
3265
 
 
3266
 
continue
3267
 
fi
3268
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3269
 
  cat >conftest.$ac_ext <<_ACEOF
3270
 
/* confdefs.h.  */
3271
 
_ACEOF
3272
 
cat confdefs.h >>conftest.$ac_ext
3273
 
cat >>conftest.$ac_ext <<_ACEOF
3274
 
/* end confdefs.h.  */
3275
 
$ac_declaration
3276
 
int
3277
 
main ()
3278
 
{
3279
 
exit (42);
3280
 
  ;
3281
 
  return 0;
3282
 
}
3283
 
_ACEOF
3284
 
rm -f conftest.$ac_objext
3285
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286
 
  (eval $ac_compile) 2>conftest.er1
3287
 
  ac_status=$?
3288
 
  grep -v '^ *+' conftest.er1 >conftest.err
3289
 
  rm -f conftest.er1
3290
 
  cat conftest.err >&5
3291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
 
  (exit $ac_status); } &&
3293
 
         { ac_try='test -z "$ac_c_werror_flag"
3294
 
                         || test ! -s conftest.err'
3295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3296
 
  (eval $ac_try) 2>&5
3297
 
  ac_status=$?
3298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299
 
  (exit $ac_status); }; } &&
3300
 
         { ac_try='test -s conftest.$ac_objext'
3301
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302
 
  (eval $ac_try) 2>&5
3303
 
  ac_status=$?
3304
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305
 
  (exit $ac_status); }; }; then
3306
 
  break
3307
 
else
3308
 
  echo "$as_me: failed program was:" >&5
3309
 
sed 's/^/| /' conftest.$ac_ext >&5
3310
 
 
3311
 
fi
3312
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3313
 
done
3314
 
rm -f conftest*
3315
 
if test -n "$ac_declaration"; then
3316
 
  echo '#ifdef __cplusplus' >>confdefs.h
3317
 
  echo $ac_declaration      >>confdefs.h
3318
 
  echo '#endif'             >>confdefs.h
3319
 
fi
3320
 
 
3321
 
else
3322
 
  echo "$as_me: failed program was:" >&5
3323
 
sed 's/^/| /' conftest.$ac_ext >&5
3324
 
 
3325
 
fi
3326
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3874
 
3327
3875
ac_ext=c
3328
3876
ac_cpp='$CPP $CPPFLAGS'
3329
3877
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332
3880
 
3333
3881
depcc="$CC"   am_compiler_list=
3334
3882
 
3335
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3336
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3883
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3884
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3337
3885
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3338
3886
  echo $ECHO_N "(cached) $ECHO_C" >&6
3339
3887
else
3371
3919
    : > sub/conftest.c
3372
3920
    for i in 1 2 3 4 5 6; do
3373
3921
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3374
 
      : > sub/conftst$i.h
 
3922
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3923
      # Solaris 8's {/usr,}/bin/sh.
 
3924
      touch sub/conftst$i.h
3375
3925
    done
3376
3926
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3377
3927
 
3395
3945
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3396
3946
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3397
3947
         >/dev/null 2>conftest.err &&
 
3948
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3398
3949
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3399
3950
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3400
3951
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3401
3952
      # icc doesn't choke on unknown options, it will just issue warnings
3402
 
      # (even with -Werror).  So we grep stderr for any message
3403
 
      # that says an option was ignored.
3404
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3953
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3954
      # that says an option was ignored or not supported.
 
3955
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3956
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3957
      # The diagnosis changed in icc 8.0:
 
3958
      #   icc: Command line remark: option '-MP' not supported
 
3959
      if (grep 'ignoring option' conftest.err ||
 
3960
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3405
3961
        am_cv_CC_dependencies_compiler_type=$depmode
3406
3962
        break
3407
3963
      fi
3415
3971
fi
3416
3972
 
3417
3973
fi
3418
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3419
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3974
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3975
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3420
3976
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3421
3977
 
3422
 
 
3423
 
 
3424
 
if
 
3978
 if
3425
3979
  test "x$enable_dependency_tracking" != xno \
3426
3980
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3427
3981
  am__fastdepCC_TRUE=
3433
3987
 
3434
3988
 
3435
3989
 
3436
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3990
# Check whether --with-gnu-ld was given.
3437
3991
if test "${with_gnu_ld+set}" = set; then
3438
 
  withval="$with_gnu_ld"
3439
 
  test "$withval" = no || with_gnu_ld=yes
 
3992
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3440
3993
else
3441
3994
  with_gnu_ld=no
3442
 
fi;
 
3995
fi
 
3996
 
3443
3997
# Prepare PATH_SEPARATOR.
3444
3998
# The user is always right.
3445
3999
if test "${PATH_SEPARATOR+set}" != set; then
3456
4010
ac_prog=ld
3457
4011
if test "$GCC" = yes; then
3458
4012
  # Check if gcc -print-prog-name=ld gives a path.
3459
 
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3460
 
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 
4013
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
4014
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
3461
4015
  case $host in
3462
4016
  *-*-mingw*)
3463
4017
    # gcc leaves a trailing carriage return which upsets mingw
3486
4040
    ;;
3487
4041
  esac
3488
4042
elif test "$with_gnu_ld" = yes; then
3489
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3490
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4043
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4044
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3491
4045
else
3492
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3493
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4046
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4047
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3494
4048
fi
3495
4049
if test "${acl_cv_path_LD+set}" = set; then
3496
4050
  echo $ECHO_N "(cached) $ECHO_C" >&6
3504
4058
      # Check to see if the program is GNU ld.  I'd rather use --version,
3505
4059
      # but apparently some GNU ld's only accept -v.
3506
4060
      # Break only if it was the GNU/non-GNU ld that we prefer.
3507
 
      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3508
 
        test "$with_gnu_ld" != no && break
3509
 
      else
3510
 
        test "$with_gnu_ld" != yes && break
3511
 
      fi
 
4061
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
4062
      *GNU* | *'with BFD'*)
 
4063
        test "$with_gnu_ld" != no && break ;;
 
4064
      *)
 
4065
        test "$with_gnu_ld" != yes && break ;;
 
4066
      esac
3512
4067
    fi
3513
4068
  done
3514
4069
  IFS="$ac_save_ifs"
3519
4074
 
3520
4075
LD="$acl_cv_path_LD"
3521
4076
if test -n "$LD"; then
3522
 
  echo "$as_me:$LINENO: result: $LD" >&5
3523
 
echo "${ECHO_T}$LD" >&6
 
4077
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4078
echo "${ECHO_T}$LD" >&6; }
3524
4079
else
3525
 
  echo "$as_me:$LINENO: result: no" >&5
3526
 
echo "${ECHO_T}no" >&6
 
4080
  { echo "$as_me:$LINENO: result: no" >&5
 
4081
echo "${ECHO_T}no" >&6; }
3527
4082
fi
3528
4083
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3529
4084
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3530
4085
   { (exit 1); exit 1; }; }
3531
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3532
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4086
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4087
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3533
4088
if test "${acl_cv_prog_gnu_ld+set}" = set; then
3534
4089
  echo $ECHO_N "(cached) $ECHO_C" >&6
3535
4090
else
3536
4091
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3537
 
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3538
 
  acl_cv_prog_gnu_ld=yes
3539
 
else
3540
 
  acl_cv_prog_gnu_ld=no
3541
 
fi
3542
 
fi
3543
 
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3544
 
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
 
4092
case `$LD -v 2>&1 </dev/null` in
 
4093
*GNU* | *'with BFD'*)
 
4094
  acl_cv_prog_gnu_ld=yes ;;
 
4095
*)
 
4096
  acl_cv_prog_gnu_ld=no ;;
 
4097
esac
 
4098
fi
 
4099
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
4100
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
3545
4101
with_gnu_ld=$acl_cv_prog_gnu_ld
3546
4102
 
3547
4103
 
3548
4104
 
3549
 
                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3550
 
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
 
4105
 
 
4106
                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
4107
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
3551
4108
if test "${acl_cv_rpath+set}" = set; then
3552
4109
  echo $ECHO_N "(cached) $ECHO_C" >&6
3553
4110
else
3559
4116
    acl_cv_rpath=done
3560
4117
 
3561
4118
fi
3562
 
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3563
 
echo "${ECHO_T}$acl_cv_rpath" >&6
 
4119
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
4120
echo "${ECHO_T}$acl_cv_rpath" >&6; }
3564
4121
  wl="$acl_cv_wl"
3565
4122
  libext="$acl_cv_libext"
3566
4123
  shlibext="$acl_cv_shlibext"
3568
4125
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3569
4126
  hardcode_direct="$acl_cv_hardcode_direct"
3570
4127
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
3571
 
    # Check whether --enable-rpath or --disable-rpath was given.
 
4128
    # Check whether --enable-rpath was given.
3572
4129
if test "${enable_rpath+set}" = set; then
3573
 
  enableval="$enable_rpath"
3574
 
  :
 
4130
  enableval=$enable_rpath; :
3575
4131
else
3576
4132
  enable_rpath=yes
3577
 
fi;
 
4133
fi
 
4134
 
 
4135
 
 
4136
 
 
4137
                  acl_libdirstem=lib
 
4138
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
4139
  if test -n "$searchpath"; then
 
4140
    acl_save_IFS="${IFS=        }"; IFS=":"
 
4141
    for searchdir in $searchpath; do
 
4142
      if test -d "$searchdir"; then
 
4143
        case "$searchdir" in
 
4144
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
4145
          *) searchdir=`cd "$searchdir" && pwd`
 
4146
             case "$searchdir" in
 
4147
               */lib64 ) acl_libdirstem=lib64 ;;
 
4148
             esac ;;
 
4149
        esac
 
4150
      fi
 
4151
    done
 
4152
    IFS="$acl_save_IFS"
 
4153
  fi
 
4154
 
3578
4155
 
3579
4156
 
3580
4157
 
3596
4173
  prefix="$acl_save_prefix"
3597
4174
 
3598
4175
 
3599
 
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
 
4176
# Check whether --with-libiconv-prefix was given.
3600
4177
if test "${with_libiconv_prefix+set}" = set; then
3601
 
  withval="$with_libiconv_prefix"
3602
 
 
 
4178
  withval=$with_libiconv_prefix;
3603
4179
    if test "X$withval" = "Xno"; then
3604
4180
      use_additional=no
3605
4181
    else
3618
4194
 
3619
4195
      else
3620
4196
        additional_includedir="$withval/include"
3621
 
        additional_libdir="$withval/lib"
 
4197
        additional_libdir="$withval/$acl_libdirstem"
3622
4198
      fi
3623
4199
    fi
3624
4200
 
3625
 
fi;
 
4201
fi
 
4202
 
3626
4203
      LIBICONV=
3627
4204
  LTLIBICONV=
3628
4205
  INCICONV=
3715
4292
          if test "X$found_dir" != "X"; then
3716
4293
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3717
4294
            if test "X$found_so" != "X"; then
3718
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
 
4295
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
3719
4296
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3720
4297
              else
3721
4298
                                                                                haveit=
3780
4357
            fi
3781
4358
                        additional_includedir=
3782
4359
            case "$found_dir" in
3783
 
              */lib | */lib/)
3784
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
4360
              */$acl_libdirstem | */$acl_libdirstem/)
 
4361
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
3785
4362
                additional_includedir="$basedir/include"
3786
4363
                ;;
3787
4364
            esac
3791
4368
                if test "X$additional_includedir" = "X/usr/local/include"; then
3792
4369
                  if test -n "$GCC"; then
3793
4370
                    case $host_os in
3794
 
                      linux*) haveit=yes;;
 
4371
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3795
4372
                    esac
3796
4373
                  fi
3797
4374
                fi
3830
4407
                case "$dep" in
3831
4408
                  -L*)
3832
4409
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3833
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
4410
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
3834
4411
                      haveit=
3835
 
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
4412
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
3836
4413
                        if test -n "$GCC"; then
3837
4414
                          case $host_os in
3838
 
                            linux*) haveit=yes;;
 
4415
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3839
4416
                          esac
3840
4417
                        fi
3841
4418
                      fi
3976
4553
 
3977
4554
 
3978
4555
 
3979
 
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3980
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3981
 
    # Check whether --enable-nls or --disable-nls was given.
3982
 
if test "${enable_nls+set}" = set; then
3983
 
  enableval="$enable_nls"
3984
 
  USE_NLS=$enableval
3985
 
else
3986
 
  USE_NLS=yes
3987
 
fi;
3988
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
3989
 
echo "${ECHO_T}$USE_NLS" >&6
 
4556
    { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
 
4557
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
 
4558
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
 
4559
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4560
else
 
4561
  gt_save_LIBS="$LIBS"
 
4562
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
4563
     cat >conftest.$ac_ext <<_ACEOF
 
4564
/* confdefs.h.  */
 
4565
_ACEOF
 
4566
cat confdefs.h >>conftest.$ac_ext
 
4567
cat >>conftest.$ac_ext <<_ACEOF
 
4568
/* end confdefs.h.  */
 
4569
#include <CoreFoundation/CFPreferences.h>
 
4570
int
 
4571
main ()
 
4572
{
 
4573
CFPreferencesCopyAppValue(NULL, NULL)
 
4574
  ;
 
4575
  return 0;
 
4576
}
 
4577
_ACEOF
 
4578
rm -f conftest.$ac_objext conftest$ac_exeext
 
4579
if { (ac_try="$ac_link"
 
4580
case "(($ac_try" in
 
4581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4582
  *) ac_try_echo=$ac_try;;
 
4583
esac
 
4584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4585
  (eval "$ac_link") 2>conftest.er1
 
4586
  ac_status=$?
 
4587
  grep -v '^ *+' conftest.er1 >conftest.err
 
4588
  rm -f conftest.er1
 
4589
  cat conftest.err >&5
 
4590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4591
  (exit $ac_status); } && {
 
4592
         test -z "$ac_c_werror_flag" ||
 
4593
         test ! -s conftest.err
 
4594
       } && test -s conftest$ac_exeext &&
 
4595
       $as_test_x conftest$ac_exeext; then
 
4596
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
4597
else
 
4598
  echo "$as_me: failed program was:" >&5
 
4599
sed 's/^/| /' conftest.$ac_ext >&5
 
4600
 
 
4601
        gt_cv_func_CFPreferencesCopyAppValue=no
 
4602
fi
 
4603
 
 
4604
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4605
      conftest$ac_exeext conftest.$ac_ext
 
4606
     LIBS="$gt_save_LIBS"
 
4607
fi
 
4608
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
4609
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
4610
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
4611
 
 
4612
cat >>confdefs.h <<\_ACEOF
 
4613
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
 
4614
_ACEOF
 
4615
 
 
4616
  fi
 
4617
    { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
 
4618
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
 
4619
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
 
4620
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4621
else
 
4622
  gt_save_LIBS="$LIBS"
 
4623
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
4624
     cat >conftest.$ac_ext <<_ACEOF
 
4625
/* confdefs.h.  */
 
4626
_ACEOF
 
4627
cat confdefs.h >>conftest.$ac_ext
 
4628
cat >>conftest.$ac_ext <<_ACEOF
 
4629
/* end confdefs.h.  */
 
4630
#include <CoreFoundation/CFLocale.h>
 
4631
int
 
4632
main ()
 
4633
{
 
4634
CFLocaleCopyCurrent();
 
4635
  ;
 
4636
  return 0;
 
4637
}
 
4638
_ACEOF
 
4639
rm -f conftest.$ac_objext conftest$ac_exeext
 
4640
if { (ac_try="$ac_link"
 
4641
case "(($ac_try" in
 
4642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4643
  *) ac_try_echo=$ac_try;;
 
4644
esac
 
4645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4646
  (eval "$ac_link") 2>conftest.er1
 
4647
  ac_status=$?
 
4648
  grep -v '^ *+' conftest.er1 >conftest.err
 
4649
  rm -f conftest.er1
 
4650
  cat conftest.err >&5
 
4651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4652
  (exit $ac_status); } && {
 
4653
         test -z "$ac_c_werror_flag" ||
 
4654
         test ! -s conftest.err
 
4655
       } && test -s conftest$ac_exeext &&
 
4656
       $as_test_x conftest$ac_exeext; then
 
4657
  gt_cv_func_CFLocaleCopyCurrent=yes
 
4658
else
 
4659
  echo "$as_me: failed program was:" >&5
 
4660
sed 's/^/| /' conftest.$ac_ext >&5
 
4661
 
 
4662
        gt_cv_func_CFLocaleCopyCurrent=no
 
4663
fi
 
4664
 
 
4665
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4666
      conftest$ac_exeext conftest.$ac_ext
 
4667
     LIBS="$gt_save_LIBS"
 
4668
fi
 
4669
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
4670
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
4671
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
4672
 
 
4673
cat >>confdefs.h <<\_ACEOF
 
4674
#define HAVE_CFLOCALECOPYCURRENT 1
 
4675
_ACEOF
 
4676
 
 
4677
  fi
 
4678
  INTL_MACOSX_LIBS=
 
4679
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
4680
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
4681
  fi
 
4682
 
 
4683
 
3990
4684
 
3991
4685
 
3992
4686
 
4003
4697
 
4004
4698
 
4005
4699
 
4006
 
        echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4007
 
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
 
4700
        { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
4701
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
4008
4702
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4009
4703
  echo $ECHO_N "(cached) $ECHO_C" >&6
4010
4704
else
4021
4715
main ()
4022
4716
{
4023
4717
bindtextdomain ("", "");
4024
 
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
 
4718
return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4025
4719
  ;
4026
4720
  return 0;
4027
4721
}
4028
4722
_ACEOF
4029
4723
rm -f conftest.$ac_objext conftest$ac_exeext
4030
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4031
 
  (eval $ac_link) 2>conftest.er1
 
4724
if { (ac_try="$ac_link"
 
4725
case "(($ac_try" in
 
4726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4727
  *) ac_try_echo=$ac_try;;
 
4728
esac
 
4729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4730
  (eval "$ac_link") 2>conftest.er1
4032
4731
  ac_status=$?
4033
4732
  grep -v '^ *+' conftest.er1 >conftest.err
4034
4733
  rm -f conftest.er1
4035
4734
  cat conftest.err >&5
4036
4735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037
 
  (exit $ac_status); } &&
4038
 
         { ac_try='test -z "$ac_c_werror_flag"
4039
 
                         || test ! -s conftest.err'
4040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041
 
  (eval $ac_try) 2>&5
4042
 
  ac_status=$?
4043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044
 
  (exit $ac_status); }; } &&
4045
 
         { ac_try='test -s conftest$ac_exeext'
4046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047
 
  (eval $ac_try) 2>&5
4048
 
  ac_status=$?
4049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050
 
  (exit $ac_status); }; }; then
 
4736
  (exit $ac_status); } && {
 
4737
         test -z "$ac_c_werror_flag" ||
 
4738
         test ! -s conftest.err
 
4739
       } && test -s conftest$ac_exeext &&
 
4740
       $as_test_x conftest$ac_exeext; then
4051
4741
  gt_cv_func_gnugettext1_libc=yes
4052
4742
else
4053
4743
  echo "$as_me: failed program was:" >&5
4054
4744
sed 's/^/| /' conftest.$ac_ext >&5
4055
4745
 
4056
 
gt_cv_func_gnugettext1_libc=no
 
4746
        gt_cv_func_gnugettext1_libc=no
4057
4747
fi
4058
 
rm -f conftest.err conftest.$ac_objext \
 
4748
 
 
4749
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4059
4750
      conftest$ac_exeext conftest.$ac_ext
4060
4751
fi
4061
 
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4062
 
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
 
4752
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
 
4753
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
4063
4754
 
4064
4755
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4065
4756
 
4092
4783
  done
4093
4784
 
4094
4785
 
4095
 
  echo "$as_me:$LINENO: checking for iconv" >&5
4096
 
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
 
4786
  { echo "$as_me:$LINENO: checking for iconv" >&5
 
4787
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
4097
4788
if test "${am_cv_func_iconv+set}" = set; then
4098
4789
  echo $ECHO_N "(cached) $ECHO_C" >&6
4099
4790
else
4119
4810
}
4120
4811
_ACEOF
4121
4812
rm -f conftest.$ac_objext conftest$ac_exeext
4122
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4123
 
  (eval $ac_link) 2>conftest.er1
 
4813
if { (ac_try="$ac_link"
 
4814
case "(($ac_try" in
 
4815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4816
  *) ac_try_echo=$ac_try;;
 
4817
esac
 
4818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4819
  (eval "$ac_link") 2>conftest.er1
4124
4820
  ac_status=$?
4125
4821
  grep -v '^ *+' conftest.er1 >conftest.err
4126
4822
  rm -f conftest.er1
4127
4823
  cat conftest.err >&5
4128
4824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129
 
  (exit $ac_status); } &&
4130
 
         { ac_try='test -z "$ac_c_werror_flag"
4131
 
                         || test ! -s conftest.err'
4132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133
 
  (eval $ac_try) 2>&5
4134
 
  ac_status=$?
4135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136
 
  (exit $ac_status); }; } &&
4137
 
         { ac_try='test -s conftest$ac_exeext'
4138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139
 
  (eval $ac_try) 2>&5
4140
 
  ac_status=$?
4141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142
 
  (exit $ac_status); }; }; then
 
4825
  (exit $ac_status); } && {
 
4826
         test -z "$ac_c_werror_flag" ||
 
4827
         test ! -s conftest.err
 
4828
       } && test -s conftest$ac_exeext &&
 
4829
       $as_test_x conftest$ac_exeext; then
4143
4830
  am_cv_func_iconv=yes
4144
4831
else
4145
4832
  echo "$as_me: failed program was:" >&5
4146
4833
sed 's/^/| /' conftest.$ac_ext >&5
4147
4834
 
 
4835
 
4148
4836
fi
4149
 
rm -f conftest.err conftest.$ac_objext \
 
4837
 
 
4838
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4150
4839
      conftest$ac_exeext conftest.$ac_ext
4151
4840
    if test "$am_cv_func_iconv" != yes; then
4152
4841
      am_save_LIBS="$LIBS"
4170
4859
}
4171
4860
_ACEOF
4172
4861
rm -f conftest.$ac_objext conftest$ac_exeext
4173
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4174
 
  (eval $ac_link) 2>conftest.er1
 
4862
if { (ac_try="$ac_link"
 
4863
case "(($ac_try" in
 
4864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4865
  *) ac_try_echo=$ac_try;;
 
4866
esac
 
4867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4868
  (eval "$ac_link") 2>conftest.er1
4175
4869
  ac_status=$?
4176
4870
  grep -v '^ *+' conftest.er1 >conftest.err
4177
4871
  rm -f conftest.er1
4178
4872
  cat conftest.err >&5
4179
4873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
 
  (exit $ac_status); } &&
4181
 
         { ac_try='test -z "$ac_c_werror_flag"
4182
 
                         || test ! -s conftest.err'
4183
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184
 
  (eval $ac_try) 2>&5
4185
 
  ac_status=$?
4186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187
 
  (exit $ac_status); }; } &&
4188
 
         { ac_try='test -s conftest$ac_exeext'
4189
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190
 
  (eval $ac_try) 2>&5
4191
 
  ac_status=$?
4192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193
 
  (exit $ac_status); }; }; then
 
4874
  (exit $ac_status); } && {
 
4875
         test -z "$ac_c_werror_flag" ||
 
4876
         test ! -s conftest.err
 
4877
       } && test -s conftest$ac_exeext &&
 
4878
       $as_test_x conftest$ac_exeext; then
4194
4879
  am_cv_lib_iconv=yes
4195
4880
        am_cv_func_iconv=yes
4196
4881
else
4197
4882
  echo "$as_me: failed program was:" >&5
4198
4883
sed 's/^/| /' conftest.$ac_ext >&5
4199
4884
 
 
4885
 
4200
4886
fi
4201
 
rm -f conftest.err conftest.$ac_objext \
 
4887
 
 
4888
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4202
4889
      conftest$ac_exeext conftest.$ac_ext
4203
4890
      LIBS="$am_save_LIBS"
4204
4891
    fi
4205
4892
 
4206
4893
fi
4207
 
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4208
 
echo "${ECHO_T}$am_cv_func_iconv" >&6
 
4894
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
4895
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
4209
4896
  if test "$am_cv_func_iconv" = yes; then
4210
4897
 
4211
4898
cat >>confdefs.h <<\_ACEOF
4214
4901
 
4215
4902
  fi
4216
4903
  if test "$am_cv_lib_iconv" = yes; then
4217
 
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4218
 
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4219
 
    echo "$as_me:$LINENO: result: $LIBICONV" >&5
4220
 
echo "${ECHO_T}$LIBICONV" >&6
 
4904
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
4905
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
 
4906
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
4907
echo "${ECHO_T}$LIBICONV" >&6; }
4221
4908
  else
4222
4909
            CPPFLAGS="$am_save_CPPFLAGS"
4223
4910
    LIBICONV=
4229
4916
 
4230
4917
 
4231
4918
 
 
4919
 
4232
4920
    use_additional=yes
4233
4921
 
4234
4922
  acl_save_prefix="$prefix"
4243
4931
  prefix="$acl_save_prefix"
4244
4932
 
4245
4933
 
4246
 
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
 
4934
# Check whether --with-libintl-prefix was given.
4247
4935
if test "${with_libintl_prefix+set}" = set; then
4248
 
  withval="$with_libintl_prefix"
4249
 
 
 
4936
  withval=$with_libintl_prefix;
4250
4937
    if test "X$withval" = "Xno"; then
4251
4938
      use_additional=no
4252
4939
    else
4265
4952
 
4266
4953
      else
4267
4954
        additional_includedir="$withval/include"
4268
 
        additional_libdir="$withval/lib"
 
4955
        additional_libdir="$withval/$acl_libdirstem"
4269
4956
      fi
4270
4957
    fi
4271
4958
 
4272
 
fi;
 
4959
fi
 
4960
 
4273
4961
      LIBINTL=
4274
4962
  LTLIBINTL=
4275
4963
  INCINTL=
4362
5050
          if test "X$found_dir" != "X"; then
4363
5051
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4364
5052
            if test "X$found_so" != "X"; then
4365
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
 
5053
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4366
5054
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4367
5055
              else
4368
5056
                                                                                haveit=
4427
5115
            fi
4428
5116
                        additional_includedir=
4429
5117
            case "$found_dir" in
4430
 
              */lib | */lib/)
4431
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
 
5118
              */$acl_libdirstem | */$acl_libdirstem/)
 
5119
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4432
5120
                additional_includedir="$basedir/include"
4433
5121
                ;;
4434
5122
            esac
4438
5126
                if test "X$additional_includedir" = "X/usr/local/include"; then
4439
5127
                  if test -n "$GCC"; then
4440
5128
                    case $host_os in
4441
 
                      linux*) haveit=yes;;
 
5129
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4442
5130
                    esac
4443
5131
                  fi
4444
5132
                fi
4477
5165
                case "$dep" in
4478
5166
                  -L*)
4479
5167
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4480
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
 
5168
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4481
5169
                      haveit=
4482
 
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
 
5170
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4483
5171
                        if test -n "$GCC"; then
4484
5172
                          case $host_os in
4485
 
                            linux*) haveit=yes;;
 
5173
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4486
5174
                          esac
4487
5175
                        fi
4488
5176
                      fi
4605
5293
    done
4606
5294
  fi
4607
5295
 
4608
 
          echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4609
 
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
 
5296
          { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
5297
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
4610
5298
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4611
5299
  echo $ECHO_N "(cached) $ECHO_C" >&6
4612
5300
else
4626
5314
#ifdef __cplusplus
4627
5315
"C"
4628
5316
#endif
4629
 
const char *_nl_expand_alias ();
 
5317
const char *_nl_expand_alias (const char *);
4630
5318
int
4631
5319
main ()
4632
5320
{
4633
5321
bindtextdomain ("", "");
4634
 
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
5322
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4635
5323
  ;
4636
5324
  return 0;
4637
5325
}
4638
5326
_ACEOF
4639
5327
rm -f conftest.$ac_objext conftest$ac_exeext
4640
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4641
 
  (eval $ac_link) 2>conftest.er1
 
5328
if { (ac_try="$ac_link"
 
5329
case "(($ac_try" in
 
5330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5331
  *) ac_try_echo=$ac_try;;
 
5332
esac
 
5333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5334
  (eval "$ac_link") 2>conftest.er1
4642
5335
  ac_status=$?
4643
5336
  grep -v '^ *+' conftest.er1 >conftest.err
4644
5337
  rm -f conftest.er1
4645
5338
  cat conftest.err >&5
4646
5339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647
 
  (exit $ac_status); } &&
4648
 
         { ac_try='test -z "$ac_c_werror_flag"
4649
 
                         || test ! -s conftest.err'
4650
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651
 
  (eval $ac_try) 2>&5
4652
 
  ac_status=$?
4653
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654
 
  (exit $ac_status); }; } &&
4655
 
         { ac_try='test -s conftest$ac_exeext'
4656
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657
 
  (eval $ac_try) 2>&5
4658
 
  ac_status=$?
4659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660
 
  (exit $ac_status); }; }; then
 
5340
  (exit $ac_status); } && {
 
5341
         test -z "$ac_c_werror_flag" ||
 
5342
         test ! -s conftest.err
 
5343
       } && test -s conftest$ac_exeext &&
 
5344
       $as_test_x conftest$ac_exeext; then
4661
5345
  gt_cv_func_gnugettext1_libintl=yes
4662
5346
else
4663
5347
  echo "$as_me: failed program was:" >&5
4664
5348
sed 's/^/| /' conftest.$ac_ext >&5
4665
5349
 
4666
 
gt_cv_func_gnugettext1_libintl=no
 
5350
        gt_cv_func_gnugettext1_libintl=no
4667
5351
fi
4668
 
rm -f conftest.err conftest.$ac_objext \
 
5352
 
 
5353
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4669
5354
      conftest$ac_exeext conftest.$ac_ext
4670
5355
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4671
5356
              LIBS="$LIBS $LIBICONV"
4681
5366
#ifdef __cplusplus
4682
5367
"C"
4683
5368
#endif
4684
 
const char *_nl_expand_alias ();
 
5369
const char *_nl_expand_alias (const char *);
4685
5370
int
4686
5371
main ()
4687
5372
{
4688
5373
bindtextdomain ("", "");
4689
 
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
 
5374
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4690
5375
  ;
4691
5376
  return 0;
4692
5377
}
4693
5378
_ACEOF
4694
5379
rm -f conftest.$ac_objext conftest$ac_exeext
4695
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4696
 
  (eval $ac_link) 2>conftest.er1
 
5380
if { (ac_try="$ac_link"
 
5381
case "(($ac_try" in
 
5382
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5383
  *) ac_try_echo=$ac_try;;
 
5384
esac
 
5385
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5386
  (eval "$ac_link") 2>conftest.er1
4697
5387
  ac_status=$?
4698
5388
  grep -v '^ *+' conftest.er1 >conftest.err
4699
5389
  rm -f conftest.er1
4700
5390
  cat conftest.err >&5
4701
5391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702
 
  (exit $ac_status); } &&
4703
 
         { ac_try='test -z "$ac_c_werror_flag"
4704
 
                         || test ! -s conftest.err'
4705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706
 
  (eval $ac_try) 2>&5
4707
 
  ac_status=$?
4708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709
 
  (exit $ac_status); }; } &&
4710
 
         { ac_try='test -s conftest$ac_exeext'
4711
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712
 
  (eval $ac_try) 2>&5
4713
 
  ac_status=$?
4714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715
 
  (exit $ac_status); }; }; then
 
5392
  (exit $ac_status); } && {
 
5393
         test -z "$ac_c_werror_flag" ||
 
5394
         test ! -s conftest.err
 
5395
       } && test -s conftest$ac_exeext &&
 
5396
       $as_test_x conftest$ac_exeext; then
4716
5397
  LIBINTL="$LIBINTL $LIBICONV"
4717
5398
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
4718
5399
                gt_cv_func_gnugettext1_libintl=yes
4721
5402
  echo "$as_me: failed program was:" >&5
4722
5403
sed 's/^/| /' conftest.$ac_ext >&5
4723
5404
 
 
5405
 
4724
5406
fi
4725
 
rm -f conftest.err conftest.$ac_objext \
 
5407
 
 
5408
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4726
5409
      conftest$ac_exeext conftest.$ac_ext
4727
5410
            fi
4728
5411
            CPPFLAGS="$gt_save_CPPFLAGS"
4729
5412
            LIBS="$gt_save_LIBS"
4730
5413
fi
4731
 
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4732
 
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
 
5414
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
 
5415
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
4733
5416
        fi
4734
5417
 
4735
5418
                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4745
5428
 
4746
5429
 
4747
5430
 
 
5431
    if test -n "$INTL_MACOSX_LIBS"; then
 
5432
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
5433
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
5434
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
5435
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
5436
      fi
 
5437
    fi
 
5438
 
4748
5439
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
4749
5440
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
4750
5441
 
4757
5448
    fi
4758
5449
  fi
4759
5450
 
4760
 
  echo "$as_me:$LINENO: checking whether to use NLS" >&5
4761
 
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
4762
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
4763
 
echo "${ECHO_T}$USE_NLS" >&6
 
5451
  { echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
5452
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
 
5453
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
5454
echo "${ECHO_T}$USE_NLS" >&6; }
4764
5455
  if test "$USE_NLS" = "yes"; then
4765
 
    echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
4766
 
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
 
5456
    { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
5457
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
4767
5458
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4768
5459
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4769
5460
        gt_source="external libintl"
4773
5464
    else
4774
5465
      gt_source="included intl directory"
4775
5466
    fi
4776
 
    echo "$as_me:$LINENO: result: $gt_source" >&5
4777
 
echo "${ECHO_T}$gt_source" >&6
 
5467
    { echo "$as_me:$LINENO: result: $gt_source" >&5
 
5468
echo "${ECHO_T}$gt_source" >&6; }
4778
5469
  fi
4779
5470
 
4780
5471
  if test "$USE_NLS" = "yes"; then
4781
5472
 
4782
5473
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4783
5474
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4784
 
        echo "$as_me:$LINENO: checking how to link with libintl" >&5
4785
 
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
4786
 
        echo "$as_me:$LINENO: result: $LIBINTL" >&5
4787
 
echo "${ECHO_T}$LIBINTL" >&6
 
5475
        { echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
5476
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
 
5477
        { echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
5478
echo "${ECHO_T}$LIBINTL" >&6; }
4788
5479
 
4789
5480
  for element in $INCINTL; do
4790
5481
    haveit=
4838
5529
 
4839
5530
 
4840
5531
 
4841
 
          ac_config_headers="$ac_config_headers config.hpp"
4842
 
 
4843
 
 
4844
 
ac_ext=cc
 
5532
ac_config_headers="$ac_config_headers config.hpp"
 
5533
 
 
5534
 
 
5535
ac_ext=cpp
4845
5536
ac_cpp='$CXXCPP $CPPFLAGS'
4846
5537
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847
5538
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861
5552
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4862
5553
# OS/2's system install, which has a completely different semantic
4863
5554
# ./install, which can be erroneously created by make from ./install.sh.
4864
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4865
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
5555
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
5556
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4866
5557
if test -z "$INSTALL"; then
4867
5558
if test "${ac_cv_path_install+set}" = set; then
4868
5559
  echo $ECHO_N "(cached) $ECHO_C" >&6
4884
5575
    # by default.
4885
5576
    for ac_prog in ginstall scoinst install; do
4886
5577
      for ac_exec_ext in '' $ac_executable_extensions; do
4887
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
5578
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4888
5579
          if test $ac_prog = install &&
4889
5580
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4890
5581
            # AIX install.  It has an incompatible calling convention.
4903
5594
    ;;
4904
5595
esac
4905
5596
done
 
5597
IFS=$as_save_IFS
4906
5598
 
4907
5599
 
4908
5600
fi
4909
5601
  if test "${ac_cv_path_install+set}" = set; then
4910
5602
    INSTALL=$ac_cv_path_install
4911
5603
  else
4912
 
    # As a last resort, use the slow shell script.  We don't cache a
4913
 
    # path for INSTALL within a source directory, because that will
 
5604
    # As a last resort, use the slow shell script.  Don't cache a
 
5605
    # value for INSTALL within a source directory, because that will
4914
5606
    # break other packages using the cache if that directory is
4915
 
    # removed, or if the path is relative.
 
5607
    # removed, or if the value is a relative name.
4916
5608
    INSTALL=$ac_install_sh
4917
5609
  fi
4918
5610
fi
4919
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
4920
 
echo "${ECHO_T}$INSTALL" >&6
 
5611
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
5612
echo "${ECHO_T}$INSTALL" >&6; }
4921
5613
 
4922
5614
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4923
5615
# It thinks the first close brace ends the variable substitution.
4933
5625
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934
5626
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935
5627
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4936
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4937
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5628
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5629
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4938
5630
# On Suns, sometimes $CPP names a directory.
4939
5631
if test -n "$CPP" && test -d "$CPP"; then
4940
5632
  CPP=
4968
5660
#endif
4969
5661
                     Syntax error
4970
5662
_ACEOF
4971
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4972
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5663
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5664
case "(($ac_try" in
 
5665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5666
  *) ac_try_echo=$ac_try;;
 
5667
esac
 
5668
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5669
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4973
5670
  ac_status=$?
4974
5671
  grep -v '^ *+' conftest.er1 >conftest.err
4975
5672
  rm -f conftest.er1
4976
5673
  cat conftest.err >&5
4977
5674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978
 
  (exit $ac_status); } >/dev/null; then
4979
 
  if test -s conftest.err; then
4980
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4981
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4982
 
  else
4983
 
    ac_cpp_err=
4984
 
  fi
4985
 
else
4986
 
  ac_cpp_err=yes
4987
 
fi
4988
 
if test -z "$ac_cpp_err"; then
 
5675
  (exit $ac_status); } >/dev/null && {
 
5676
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5677
         test ! -s conftest.err
 
5678
       }; then
4989
5679
  :
4990
5680
else
4991
5681
  echo "$as_me: failed program was:" >&5
4994
5684
  # Broken: fails on valid input.
4995
5685
continue
4996
5686
fi
 
5687
 
4997
5688
rm -f conftest.err conftest.$ac_ext
4998
5689
 
4999
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5690
  # OK, works on sane cases.  Now check whether nonexistent headers
5000
5691
  # can be detected and how.
5001
5692
  cat >conftest.$ac_ext <<_ACEOF
5002
5693
/* confdefs.h.  */
5006
5697
/* end confdefs.h.  */
5007
5698
#include <ac_nonexistent.h>
5008
5699
_ACEOF
5009
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5010
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5700
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5701
case "(($ac_try" in
 
5702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5703
  *) ac_try_echo=$ac_try;;
 
5704
esac
 
5705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5706
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5011
5707
  ac_status=$?
5012
5708
  grep -v '^ *+' conftest.er1 >conftest.err
5013
5709
  rm -f conftest.er1
5014
5710
  cat conftest.err >&5
5015
5711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016
 
  (exit $ac_status); } >/dev/null; then
5017
 
  if test -s conftest.err; then
5018
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5019
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5020
 
  else
5021
 
    ac_cpp_err=
5022
 
  fi
5023
 
else
5024
 
  ac_cpp_err=yes
5025
 
fi
5026
 
if test -z "$ac_cpp_err"; then
 
5712
  (exit $ac_status); } >/dev/null && {
 
5713
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5714
         test ! -s conftest.err
 
5715
       }; then
5027
5716
  # Broken: success on invalid input.
5028
5717
continue
5029
5718
else
5034
5723
ac_preproc_ok=:
5035
5724
break
5036
5725
fi
 
5726
 
5037
5727
rm -f conftest.err conftest.$ac_ext
5038
5728
 
5039
5729
done
5051
5741
else
5052
5742
  ac_cv_prog_CPP=$CPP
5053
5743
fi
5054
 
echo "$as_me:$LINENO: result: $CPP" >&5
5055
 
echo "${ECHO_T}$CPP" >&6
 
5744
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
5745
echo "${ECHO_T}$CPP" >&6; }
5056
5746
ac_preproc_ok=false
5057
5747
for ac_c_preproc_warn_flag in '' yes
5058
5748
do
5075
5765
#endif
5076
5766
                     Syntax error
5077
5767
_ACEOF
5078
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5079
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5768
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5769
case "(($ac_try" in
 
5770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5771
  *) ac_try_echo=$ac_try;;
 
5772
esac
 
5773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5774
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5080
5775
  ac_status=$?
5081
5776
  grep -v '^ *+' conftest.er1 >conftest.err
5082
5777
  rm -f conftest.er1
5083
5778
  cat conftest.err >&5
5084
5779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085
 
  (exit $ac_status); } >/dev/null; then
5086
 
  if test -s conftest.err; then
5087
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5088
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5089
 
  else
5090
 
    ac_cpp_err=
5091
 
  fi
5092
 
else
5093
 
  ac_cpp_err=yes
5094
 
fi
5095
 
if test -z "$ac_cpp_err"; then
 
5780
  (exit $ac_status); } >/dev/null && {
 
5781
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5782
         test ! -s conftest.err
 
5783
       }; then
5096
5784
  :
5097
5785
else
5098
5786
  echo "$as_me: failed program was:" >&5
5101
5789
  # Broken: fails on valid input.
5102
5790
continue
5103
5791
fi
 
5792
 
5104
5793
rm -f conftest.err conftest.$ac_ext
5105
5794
 
5106
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5795
  # OK, works on sane cases.  Now check whether nonexistent headers
5107
5796
  # can be detected and how.
5108
5797
  cat >conftest.$ac_ext <<_ACEOF
5109
5798
/* confdefs.h.  */
5113
5802
/* end confdefs.h.  */
5114
5803
#include <ac_nonexistent.h>
5115
5804
_ACEOF
5116
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5117
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5805
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5806
case "(($ac_try" in
 
5807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5808
  *) ac_try_echo=$ac_try;;
 
5809
esac
 
5810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5811
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5118
5812
  ac_status=$?
5119
5813
  grep -v '^ *+' conftest.er1 >conftest.err
5120
5814
  rm -f conftest.er1
5121
5815
  cat conftest.err >&5
5122
5816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123
 
  (exit $ac_status); } >/dev/null; then
5124
 
  if test -s conftest.err; then
5125
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5126
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5127
 
  else
5128
 
    ac_cpp_err=
5129
 
  fi
5130
 
else
5131
 
  ac_cpp_err=yes
5132
 
fi
5133
 
if test -z "$ac_cpp_err"; then
 
5817
  (exit $ac_status); } >/dev/null && {
 
5818
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5819
         test ! -s conftest.err
 
5820
       }; then
5134
5821
  # Broken: success on invalid input.
5135
5822
continue
5136
5823
else
5141
5828
ac_preproc_ok=:
5142
5829
break
5143
5830
fi
 
5831
 
5144
5832
rm -f conftest.err conftest.$ac_ext
5145
5833
 
5146
5834
done
5156
5844
   { (exit 1); exit 1; }; }
5157
5845
fi
5158
5846
 
5159
 
ac_ext=cc
5160
 
ac_cpp='$CXXCPP $CPPFLAGS'
5161
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5164
 
 
5165
 
 
5166
 
ac_ext=cc
5167
 
ac_cpp='$CXXCPP $CPPFLAGS'
5168
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5171
 
if test -n "$ac_tool_prefix"; then
5172
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5847
ac_ext=cpp
 
5848
ac_cpp='$CXXCPP $CPPFLAGS'
 
5849
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5850
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5851
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5852
 
 
5853
 
 
5854
ac_ext=cpp
 
5855
ac_cpp='$CXXCPP $CPPFLAGS'
 
5856
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5857
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5858
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
5859
if test -z "$CXX"; then
 
5860
  if test -n "$CCC"; then
 
5861
    CXX=$CCC
 
5862
  else
 
5863
    if test -n "$ac_tool_prefix"; then
 
5864
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5173
5865
  do
5174
5866
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5175
5867
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5176
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5177
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5868
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5869
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5178
5870
if test "${ac_cv_prog_CXX+set}" = set; then
5179
5871
  echo $ECHO_N "(cached) $ECHO_C" >&6
5180
5872
else
5187
5879
  IFS=$as_save_IFS
5188
5880
  test -z "$as_dir" && as_dir=.
5189
5881
  for ac_exec_ext in '' $ac_executable_extensions; do
5190
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5882
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191
5883
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5192
5884
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5193
5885
    break 2
5194
5886
  fi
5195
5887
done
5196
5888
done
 
5889
IFS=$as_save_IFS
5197
5890
 
5198
5891
fi
5199
5892
fi
5200
5893
CXX=$ac_cv_prog_CXX
5201
5894
if test -n "$CXX"; then
5202
 
  echo "$as_me:$LINENO: result: $CXX" >&5
5203
 
echo "${ECHO_T}$CXX" >&6
 
5895
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5896
echo "${ECHO_T}$CXX" >&6; }
5204
5897
else
5205
 
  echo "$as_me:$LINENO: result: no" >&5
5206
 
echo "${ECHO_T}no" >&6
 
5898
  { echo "$as_me:$LINENO: result: no" >&5
 
5899
echo "${ECHO_T}no" >&6; }
5207
5900
fi
5208
5901
 
 
5902
 
5209
5903
    test -n "$CXX" && break
5210
5904
  done
5211
5905
fi
5212
5906
if test -z "$CXX"; then
5213
5907
  ac_ct_CXX=$CXX
5214
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5908
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5215
5909
do
5216
5910
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5217
5911
set dummy $ac_prog; ac_word=$2
5218
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5219
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5912
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5913
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5220
5914
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5221
5915
  echo $ECHO_N "(cached) $ECHO_C" >&6
5222
5916
else
5229
5923
  IFS=$as_save_IFS
5230
5924
  test -z "$as_dir" && as_dir=.
5231
5925
  for ac_exec_ext in '' $ac_executable_extensions; do
5232
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5926
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5233
5927
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5234
5928
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5235
5929
    break 2
5236
5930
  fi
5237
5931
done
5238
5932
done
 
5933
IFS=$as_save_IFS
5239
5934
 
5240
5935
fi
5241
5936
fi
5242
5937
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5243
5938
if test -n "$ac_ct_CXX"; then
5244
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5245
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5939
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5940
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5246
5941
else
5247
 
  echo "$as_me:$LINENO: result: no" >&5
5248
 
echo "${ECHO_T}no" >&6
 
5942
  { echo "$as_me:$LINENO: result: no" >&5
 
5943
echo "${ECHO_T}no" >&6; }
5249
5944
fi
5250
5945
 
 
5946
 
5251
5947
  test -n "$ac_ct_CXX" && break
5252
5948
done
5253
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5254
 
 
5255
 
  CXX=$ac_ct_CXX
5256
 
fi
5257
 
 
5258
 
 
 
5949
 
 
5950
  if test "x$ac_ct_CXX" = x; then
 
5951
    CXX="g++"
 
5952
  else
 
5953
    case $cross_compiling:$ac_tool_warned in
 
5954
yes:)
 
5955
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5956
whose name does not start with the host triplet.  If you think this
 
5957
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5958
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5959
whose name does not start with the host triplet.  If you think this
 
5960
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5961
ac_tool_warned=yes ;;
 
5962
esac
 
5963
    CXX=$ac_ct_CXX
 
5964
  fi
 
5965
fi
 
5966
 
 
5967
  fi
 
5968
fi
5259
5969
# Provide some information about the compiler.
5260
 
echo "$as_me:$LINENO:" \
5261
 
     "checking for C++ compiler version" >&5
 
5970
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5262
5971
ac_compiler=`set X $ac_compile; echo $2`
5263
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5264
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5265
 
  ac_status=$?
5266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267
 
  (exit $ac_status); }
5268
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5269
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5270
 
  ac_status=$?
5271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272
 
  (exit $ac_status); }
5273
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5274
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5972
{ (ac_try="$ac_compiler --version >&5"
 
5973
case "(($ac_try" in
 
5974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5975
  *) ac_try_echo=$ac_try;;
 
5976
esac
 
5977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5978
  (eval "$ac_compiler --version >&5") 2>&5
 
5979
  ac_status=$?
 
5980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5981
  (exit $ac_status); }
 
5982
{ (ac_try="$ac_compiler -v >&5"
 
5983
case "(($ac_try" in
 
5984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5985
  *) ac_try_echo=$ac_try;;
 
5986
esac
 
5987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5988
  (eval "$ac_compiler -v >&5") 2>&5
 
5989
  ac_status=$?
 
5990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5991
  (exit $ac_status); }
 
5992
{ (ac_try="$ac_compiler -V >&5"
 
5993
case "(($ac_try" in
 
5994
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5995
  *) ac_try_echo=$ac_try;;
 
5996
esac
 
5997
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5998
  (eval "$ac_compiler -V >&5") 2>&5
5275
5999
  ac_status=$?
5276
6000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277
6001
  (exit $ac_status); }
5278
6002
 
5279
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5280
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
6003
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
6004
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5281
6005
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5282
6006
  echo $ECHO_N "(cached) $ECHO_C" >&6
5283
6007
else
5300
6024
}
5301
6025
_ACEOF
5302
6026
rm -f conftest.$ac_objext
5303
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5304
 
  (eval $ac_compile) 2>conftest.er1
 
6027
if { (ac_try="$ac_compile"
 
6028
case "(($ac_try" in
 
6029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6030
  *) ac_try_echo=$ac_try;;
 
6031
esac
 
6032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6033
  (eval "$ac_compile") 2>conftest.er1
5305
6034
  ac_status=$?
5306
6035
  grep -v '^ *+' conftest.er1 >conftest.err
5307
6036
  rm -f conftest.er1
5308
6037
  cat conftest.err >&5
5309
6038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310
 
  (exit $ac_status); } &&
5311
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5312
 
                         || test ! -s conftest.err'
5313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314
 
  (eval $ac_try) 2>&5
5315
 
  ac_status=$?
5316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317
 
  (exit $ac_status); }; } &&
5318
 
         { ac_try='test -s conftest.$ac_objext'
5319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5320
 
  (eval $ac_try) 2>&5
5321
 
  ac_status=$?
5322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323
 
  (exit $ac_status); }; }; then
 
6039
  (exit $ac_status); } && {
 
6040
         test -z "$ac_cxx_werror_flag" ||
 
6041
         test ! -s conftest.err
 
6042
       } && test -s conftest.$ac_objext; then
5324
6043
  ac_compiler_gnu=yes
5325
6044
else
5326
6045
  echo "$as_me: failed program was:" >&5
5327
6046
sed 's/^/| /' conftest.$ac_ext >&5
5328
6047
 
5329
 
ac_compiler_gnu=no
 
6048
        ac_compiler_gnu=no
5330
6049
fi
5331
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6050
 
 
6051
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332
6052
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5333
6053
 
5334
6054
fi
5335
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5336
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
6055
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
6056
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5337
6057
GXX=`test $ac_compiler_gnu = yes && echo yes`
5338
6058
ac_test_CXXFLAGS=${CXXFLAGS+set}
5339
6059
ac_save_CXXFLAGS=$CXXFLAGS
5340
 
CXXFLAGS="-g"
5341
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5342
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
6060
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
6061
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5343
6062
if test "${ac_cv_prog_cxx_g+set}" = set; then
5344
6063
  echo $ECHO_N "(cached) $ECHO_C" >&6
5345
6064
else
5346
 
  cat >conftest.$ac_ext <<_ACEOF
5347
 
/* confdefs.h.  */
5348
 
_ACEOF
5349
 
cat confdefs.h >>conftest.$ac_ext
5350
 
cat >>conftest.$ac_ext <<_ACEOF
5351
 
/* end confdefs.h.  */
5352
 
 
5353
 
int
5354
 
main ()
5355
 
{
5356
 
 
5357
 
  ;
5358
 
  return 0;
5359
 
}
5360
 
_ACEOF
5361
 
rm -f conftest.$ac_objext
5362
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5363
 
  (eval $ac_compile) 2>conftest.er1
5364
 
  ac_status=$?
5365
 
  grep -v '^ *+' conftest.er1 >conftest.err
5366
 
  rm -f conftest.er1
5367
 
  cat conftest.err >&5
5368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369
 
  (exit $ac_status); } &&
5370
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5371
 
                         || test ! -s conftest.err'
5372
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373
 
  (eval $ac_try) 2>&5
5374
 
  ac_status=$?
5375
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376
 
  (exit $ac_status); }; } &&
5377
 
         { ac_try='test -s conftest.$ac_objext'
5378
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379
 
  (eval $ac_try) 2>&5
5380
 
  ac_status=$?
5381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382
 
  (exit $ac_status); }; }; then
5383
 
  ac_cv_prog_cxx_g=yes
5384
 
else
5385
 
  echo "$as_me: failed program was:" >&5
5386
 
sed 's/^/| /' conftest.$ac_ext >&5
5387
 
 
5388
 
ac_cv_prog_cxx_g=no
5389
 
fi
5390
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5391
 
fi
5392
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5393
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
6065
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
6066
   ac_cxx_werror_flag=yes
 
6067
   ac_cv_prog_cxx_g=no
 
6068
   CXXFLAGS="-g"
 
6069
   cat >conftest.$ac_ext <<_ACEOF
 
6070
/* confdefs.h.  */
 
6071
_ACEOF
 
6072
cat confdefs.h >>conftest.$ac_ext
 
6073
cat >>conftest.$ac_ext <<_ACEOF
 
6074
/* end confdefs.h.  */
 
6075
 
 
6076
int
 
6077
main ()
 
6078
{
 
6079
 
 
6080
  ;
 
6081
  return 0;
 
6082
}
 
6083
_ACEOF
 
6084
rm -f conftest.$ac_objext
 
6085
if { (ac_try="$ac_compile"
 
6086
case "(($ac_try" in
 
6087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6088
  *) ac_try_echo=$ac_try;;
 
6089
esac
 
6090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6091
  (eval "$ac_compile") 2>conftest.er1
 
6092
  ac_status=$?
 
6093
  grep -v '^ *+' conftest.er1 >conftest.err
 
6094
  rm -f conftest.er1
 
6095
  cat conftest.err >&5
 
6096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6097
  (exit $ac_status); } && {
 
6098
         test -z "$ac_cxx_werror_flag" ||
 
6099
         test ! -s conftest.err
 
6100
       } && test -s conftest.$ac_objext; then
 
6101
  ac_cv_prog_cxx_g=yes
 
6102
else
 
6103
  echo "$as_me: failed program was:" >&5
 
6104
sed 's/^/| /' conftest.$ac_ext >&5
 
6105
 
 
6106
        CXXFLAGS=""
 
6107
      cat >conftest.$ac_ext <<_ACEOF
 
6108
/* confdefs.h.  */
 
6109
_ACEOF
 
6110
cat confdefs.h >>conftest.$ac_ext
 
6111
cat >>conftest.$ac_ext <<_ACEOF
 
6112
/* end confdefs.h.  */
 
6113
 
 
6114
int
 
6115
main ()
 
6116
{
 
6117
 
 
6118
  ;
 
6119
  return 0;
 
6120
}
 
6121
_ACEOF
 
6122
rm -f conftest.$ac_objext
 
6123
if { (ac_try="$ac_compile"
 
6124
case "(($ac_try" in
 
6125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6126
  *) ac_try_echo=$ac_try;;
 
6127
esac
 
6128
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6129
  (eval "$ac_compile") 2>conftest.er1
 
6130
  ac_status=$?
 
6131
  grep -v '^ *+' conftest.er1 >conftest.err
 
6132
  rm -f conftest.er1
 
6133
  cat conftest.err >&5
 
6134
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6135
  (exit $ac_status); } && {
 
6136
         test -z "$ac_cxx_werror_flag" ||
 
6137
         test ! -s conftest.err
 
6138
       } && test -s conftest.$ac_objext; then
 
6139
  :
 
6140
else
 
6141
  echo "$as_me: failed program was:" >&5
 
6142
sed 's/^/| /' conftest.$ac_ext >&5
 
6143
 
 
6144
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6145
         CXXFLAGS="-g"
 
6146
         cat >conftest.$ac_ext <<_ACEOF
 
6147
/* confdefs.h.  */
 
6148
_ACEOF
 
6149
cat confdefs.h >>conftest.$ac_ext
 
6150
cat >>conftest.$ac_ext <<_ACEOF
 
6151
/* end confdefs.h.  */
 
6152
 
 
6153
int
 
6154
main ()
 
6155
{
 
6156
 
 
6157
  ;
 
6158
  return 0;
 
6159
}
 
6160
_ACEOF
 
6161
rm -f conftest.$ac_objext
 
6162
if { (ac_try="$ac_compile"
 
6163
case "(($ac_try" in
 
6164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6165
  *) ac_try_echo=$ac_try;;
 
6166
esac
 
6167
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6168
  (eval "$ac_compile") 2>conftest.er1
 
6169
  ac_status=$?
 
6170
  grep -v '^ *+' conftest.er1 >conftest.err
 
6171
  rm -f conftest.er1
 
6172
  cat conftest.err >&5
 
6173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6174
  (exit $ac_status); } && {
 
6175
         test -z "$ac_cxx_werror_flag" ||
 
6176
         test ! -s conftest.err
 
6177
       } && test -s conftest.$ac_objext; then
 
6178
  ac_cv_prog_cxx_g=yes
 
6179
else
 
6180
  echo "$as_me: failed program was:" >&5
 
6181
sed 's/^/| /' conftest.$ac_ext >&5
 
6182
 
 
6183
 
 
6184
fi
 
6185
 
 
6186
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6187
fi
 
6188
 
 
6189
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6190
fi
 
6191
 
 
6192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6193
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6194
fi
 
6195
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6196
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5394
6197
if test "$ac_test_CXXFLAGS" = set; then
5395
6198
  CXXFLAGS=$ac_save_CXXFLAGS
5396
6199
elif test $ac_cv_prog_cxx_g = yes; then
5406
6209
    CXXFLAGS=
5407
6210
  fi
5408
6211
fi
5409
 
for ac_declaration in \
5410
 
   '' \
5411
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5412
 
   'extern "C" void std::exit (int); using std::exit;' \
5413
 
   'extern "C" void exit (int) throw ();' \
5414
 
   'extern "C" void exit (int);' \
5415
 
   'void exit (int);'
5416
 
do
5417
 
  cat >conftest.$ac_ext <<_ACEOF
5418
 
/* confdefs.h.  */
5419
 
_ACEOF
5420
 
cat confdefs.h >>conftest.$ac_ext
5421
 
cat >>conftest.$ac_ext <<_ACEOF
5422
 
/* end confdefs.h.  */
5423
 
$ac_declaration
5424
 
#include <stdlib.h>
5425
 
int
5426
 
main ()
5427
 
{
5428
 
exit (42);
5429
 
  ;
5430
 
  return 0;
5431
 
}
5432
 
_ACEOF
5433
 
rm -f conftest.$ac_objext
5434
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5435
 
  (eval $ac_compile) 2>conftest.er1
5436
 
  ac_status=$?
5437
 
  grep -v '^ *+' conftest.er1 >conftest.err
5438
 
  rm -f conftest.er1
5439
 
  cat conftest.err >&5
5440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441
 
  (exit $ac_status); } &&
5442
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5443
 
                         || test ! -s conftest.err'
5444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445
 
  (eval $ac_try) 2>&5
5446
 
  ac_status=$?
5447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
 
  (exit $ac_status); }; } &&
5449
 
         { ac_try='test -s conftest.$ac_objext'
5450
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451
 
  (eval $ac_try) 2>&5
5452
 
  ac_status=$?
5453
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
 
  (exit $ac_status); }; }; then
5455
 
  :
5456
 
else
5457
 
  echo "$as_me: failed program was:" >&5
5458
 
sed 's/^/| /' conftest.$ac_ext >&5
5459
 
 
5460
 
continue
5461
 
fi
5462
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5463
 
  cat >conftest.$ac_ext <<_ACEOF
5464
 
/* confdefs.h.  */
5465
 
_ACEOF
5466
 
cat confdefs.h >>conftest.$ac_ext
5467
 
cat >>conftest.$ac_ext <<_ACEOF
5468
 
/* end confdefs.h.  */
5469
 
$ac_declaration
5470
 
int
5471
 
main ()
5472
 
{
5473
 
exit (42);
5474
 
  ;
5475
 
  return 0;
5476
 
}
5477
 
_ACEOF
5478
 
rm -f conftest.$ac_objext
5479
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5480
 
  (eval $ac_compile) 2>conftest.er1
5481
 
  ac_status=$?
5482
 
  grep -v '^ *+' conftest.er1 >conftest.err
5483
 
  rm -f conftest.er1
5484
 
  cat conftest.err >&5
5485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486
 
  (exit $ac_status); } &&
5487
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5488
 
                         || test ! -s conftest.err'
5489
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490
 
  (eval $ac_try) 2>&5
5491
 
  ac_status=$?
5492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493
 
  (exit $ac_status); }; } &&
5494
 
         { ac_try='test -s conftest.$ac_objext'
5495
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5496
 
  (eval $ac_try) 2>&5
5497
 
  ac_status=$?
5498
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499
 
  (exit $ac_status); }; }; then
5500
 
  break
5501
 
else
5502
 
  echo "$as_me: failed program was:" >&5
5503
 
sed 's/^/| /' conftest.$ac_ext >&5
5504
 
 
5505
 
fi
5506
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5507
 
done
5508
 
rm -f conftest*
5509
 
if test -n "$ac_declaration"; then
5510
 
  echo '#ifdef __cplusplus' >>confdefs.h
5511
 
  echo $ac_declaration      >>confdefs.h
5512
 
  echo '#endif'             >>confdefs.h
5513
 
fi
5514
 
 
5515
 
ac_ext=cc
 
6212
ac_ext=cpp
5516
6213
ac_cpp='$CXXCPP $CPPFLAGS'
5517
6214
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5518
6215
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5520
6217
 
5521
6218
depcc="$CXX"  am_compiler_list=
5522
6219
 
5523
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5524
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
6220
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6221
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5525
6222
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5526
6223
  echo $ECHO_N "(cached) $ECHO_C" >&6
5527
6224
else
5559
6256
    : > sub/conftest.c
5560
6257
    for i in 1 2 3 4 5 6; do
5561
6258
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5562
 
      : > sub/conftst$i.h
 
6259
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6260
      # Solaris 8's {/usr,}/bin/sh.
 
6261
      touch sub/conftst$i.h
5563
6262
    done
5564
6263
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5565
6264
 
5583
6282
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5584
6283
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5585
6284
         >/dev/null 2>conftest.err &&
 
6285
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5586
6286
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5587
6287
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5588
6288
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5589
6289
      # icc doesn't choke on unknown options, it will just issue warnings
5590
 
      # (even with -Werror).  So we grep stderr for any message
5591
 
      # that says an option was ignored.
5592
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
6290
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6291
      # that says an option was ignored or not supported.
 
6292
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6293
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6294
      # The diagnosis changed in icc 8.0:
 
6295
      #   icc: Command line remark: option '-MP' not supported
 
6296
      if (grep 'ignoring option' conftest.err ||
 
6297
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5593
6298
        am_cv_CXX_dependencies_compiler_type=$depmode
5594
6299
        break
5595
6300
      fi
5603
6308
fi
5604
6309
 
5605
6310
fi
5606
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5607
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6311
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6312
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5608
6313
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5609
6314
 
5610
 
 
5611
 
 
5612
 
if
 
6315
 if
5613
6316
  test "x$enable_dependency_tracking" != xno \
5614
6317
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5615
6318
  am__fastdepCXX_TRUE=
5621
6324
 
5622
6325
 
5623
6326
 
5624
 
# Check whether --enable-shared or --disable-shared was given.
 
6327
# Check whether --enable-shared was given.
5625
6328
if test "${enable_shared+set}" = set; then
5626
 
  enableval="$enable_shared"
5627
 
  p=${PACKAGE-default}
 
6329
  enableval=$enable_shared; p=${PACKAGE-default}
5628
6330
    case $enableval in
5629
6331
    yes) enable_shared=yes ;;
5630
6332
    no) enable_shared=no ;;
5643
6345
    esac
5644
6346
else
5645
6347
  enable_shared=yes
5646
 
fi;
5647
 
 
5648
 
# Check whether --enable-static or --disable-static was given.
 
6348
fi
 
6349
 
 
6350
 
 
6351
# Check whether --enable-static was given.
5649
6352
if test "${enable_static+set}" = set; then
5650
 
  enableval="$enable_static"
5651
 
  p=${PACKAGE-default}
 
6353
  enableval=$enable_static; p=${PACKAGE-default}
5652
6354
    case $enableval in
5653
6355
    yes) enable_static=yes ;;
5654
6356
    no) enable_static=no ;;
5667
6369
    esac
5668
6370
else
5669
6371
  enable_static=yes
5670
 
fi;
5671
 
 
5672
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
6372
fi
 
6373
 
 
6374
 
 
6375
# Check whether --enable-fast-install was given.
5673
6376
if test "${enable_fast_install+set}" = set; then
5674
 
  enableval="$enable_fast_install"
5675
 
  p=${PACKAGE-default}
 
6377
  enableval=$enable_fast_install; p=${PACKAGE-default}
5676
6378
    case $enableval in
5677
6379
    yes) enable_fast_install=yes ;;
5678
6380
    no) enable_fast_install=no ;;
5691
6393
    esac
5692
6394
else
5693
6395
  enable_fast_install=yes
5694
 
fi;
5695
 
 
5696
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5697
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
6396
fi
 
6397
 
 
6398
 
 
6399
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
6400
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5698
6401
if test "${lt_cv_path_SED+set}" = set; then
5699
6402
  echo $ECHO_N "(cached) $ECHO_C" >&6
5700
6403
else
5707
6410
  test -z "$as_dir" && as_dir=.
5708
6411
  for lt_ac_prog in sed gsed; do
5709
6412
    for ac_exec_ext in '' $ac_executable_extensions; do
5710
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
6413
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5711
6414
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5712
6415
      fi
5713
6416
    done
5714
6417
  done
5715
6418
done
 
6419
IFS=$as_save_IFS
5716
6420
lt_ac_max=0
5717
6421
lt_ac_count=0
5718
6422
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5747
6451
fi
5748
6452
 
5749
6453
SED=$lt_cv_path_SED
5750
 
echo "$as_me:$LINENO: result: $SED" >&5
5751
 
echo "${ECHO_T}$SED" >&6
5752
 
 
5753
 
echo "$as_me:$LINENO: checking for egrep" >&5
5754
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5755
 
if test "${ac_cv_prog_egrep+set}" = set; then
5756
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5757
 
else
5758
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5759
 
    then ac_cv_prog_egrep='grep -E'
5760
 
    else ac_cv_prog_egrep='egrep'
5761
 
    fi
5762
 
fi
5763
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5764
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5765
 
 EGREP=$ac_cv_prog_egrep
5766
 
 
5767
 
 
5768
 
 
5769
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
6454
 
 
6455
{ echo "$as_me:$LINENO: result: $SED" >&5
 
6456
echo "${ECHO_T}$SED" >&6; }
 
6457
 
 
6458
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
6459
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
6460
if test "${ac_cv_path_GREP+set}" = set; then
 
6461
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6462
else
 
6463
  # Extract the first word of "grep ggrep" to use in msg output
 
6464
if test -z "$GREP"; then
 
6465
set dummy grep ggrep; ac_prog_name=$2
 
6466
if test "${ac_cv_path_GREP+set}" = set; then
 
6467
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6468
else
 
6469
  ac_path_GREP_found=false
 
6470
# Loop through the user's path and test for each of PROGNAME-LIST
 
6471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6472
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6473
do
 
6474
  IFS=$as_save_IFS
 
6475
  test -z "$as_dir" && as_dir=.
 
6476
  for ac_prog in grep ggrep; do
 
6477
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6478
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
6479
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
6480
    # Check for GNU ac_path_GREP and select it if it is found.
 
6481
  # Check for GNU $ac_path_GREP
 
6482
case `"$ac_path_GREP" --version 2>&1` in
 
6483
*GNU*)
 
6484
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
6485
*)
 
6486
  ac_count=0
 
6487
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6488
  while :
 
6489
  do
 
6490
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6491
    mv "conftest.tmp" "conftest.in"
 
6492
    cp "conftest.in" "conftest.nl"
 
6493
    echo 'GREP' >> "conftest.nl"
 
6494
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6495
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6496
    ac_count=`expr $ac_count + 1`
 
6497
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
6498
      # Best one so far, save it but keep looking for a better one
 
6499
      ac_cv_path_GREP="$ac_path_GREP"
 
6500
      ac_path_GREP_max=$ac_count
 
6501
    fi
 
6502
    # 10*(2^10) chars as input seems more than enough
 
6503
    test $ac_count -gt 10 && break
 
6504
  done
 
6505
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6506
esac
 
6507
 
 
6508
 
 
6509
    $ac_path_GREP_found && break 3
 
6510
  done
 
6511
done
 
6512
 
 
6513
done
 
6514
IFS=$as_save_IFS
 
6515
 
 
6516
 
 
6517
fi
 
6518
 
 
6519
GREP="$ac_cv_path_GREP"
 
6520
if test -z "$GREP"; then
 
6521
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
6522
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
6523
   { (exit 1); exit 1; }; }
 
6524
fi
 
6525
 
 
6526
else
 
6527
  ac_cv_path_GREP=$GREP
 
6528
fi
 
6529
 
 
6530
 
 
6531
fi
 
6532
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
6533
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
6534
 GREP="$ac_cv_path_GREP"
 
6535
 
 
6536
 
 
6537
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
6538
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
6539
if test "${ac_cv_path_EGREP+set}" = set; then
 
6540
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6541
else
 
6542
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
6543
   then ac_cv_path_EGREP="$GREP -E"
 
6544
   else
 
6545
     # Extract the first word of "egrep" to use in msg output
 
6546
if test -z "$EGREP"; then
 
6547
set dummy egrep; ac_prog_name=$2
 
6548
if test "${ac_cv_path_EGREP+set}" = set; then
 
6549
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6550
else
 
6551
  ac_path_EGREP_found=false
 
6552
# Loop through the user's path and test for each of PROGNAME-LIST
 
6553
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6554
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6555
do
 
6556
  IFS=$as_save_IFS
 
6557
  test -z "$as_dir" && as_dir=.
 
6558
  for ac_prog in egrep; do
 
6559
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6560
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6561
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
6562
    # Check for GNU ac_path_EGREP and select it if it is found.
 
6563
  # Check for GNU $ac_path_EGREP
 
6564
case `"$ac_path_EGREP" --version 2>&1` in
 
6565
*GNU*)
 
6566
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
6567
*)
 
6568
  ac_count=0
 
6569
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6570
  while :
 
6571
  do
 
6572
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6573
    mv "conftest.tmp" "conftest.in"
 
6574
    cp "conftest.in" "conftest.nl"
 
6575
    echo 'EGREP' >> "conftest.nl"
 
6576
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6577
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6578
    ac_count=`expr $ac_count + 1`
 
6579
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
6580
      # Best one so far, save it but keep looking for a better one
 
6581
      ac_cv_path_EGREP="$ac_path_EGREP"
 
6582
      ac_path_EGREP_max=$ac_count
 
6583
    fi
 
6584
    # 10*(2^10) chars as input seems more than enough
 
6585
    test $ac_count -gt 10 && break
 
6586
  done
 
6587
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6588
esac
 
6589
 
 
6590
 
 
6591
    $ac_path_EGREP_found && break 3
 
6592
  done
 
6593
done
 
6594
 
 
6595
done
 
6596
IFS=$as_save_IFS
 
6597
 
 
6598
 
 
6599
fi
 
6600
 
 
6601
EGREP="$ac_cv_path_EGREP"
 
6602
if test -z "$EGREP"; then
 
6603
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
6604
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
6605
   { (exit 1); exit 1; }; }
 
6606
fi
 
6607
 
 
6608
else
 
6609
  ac_cv_path_EGREP=$EGREP
 
6610
fi
 
6611
 
 
6612
 
 
6613
   fi
 
6614
fi
 
6615
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
6616
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
6617
 EGREP="$ac_cv_path_EGREP"
 
6618
 
 
6619
 
 
6620
 
 
6621
# Check whether --with-gnu-ld was given.
5770
6622
if test "${with_gnu_ld+set}" = set; then
5771
 
  withval="$with_gnu_ld"
5772
 
  test "$withval" = no || with_gnu_ld=yes
 
6623
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5773
6624
else
5774
6625
  with_gnu_ld=no
5775
 
fi;
 
6626
fi
 
6627
 
5776
6628
ac_prog=ld
5777
6629
if test "$GCC" = yes; then
5778
6630
  # Check if gcc -print-prog-name=ld gives a path.
5779
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5780
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
6631
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
6632
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5781
6633
  case $host in
5782
6634
  *-*-mingw*)
5783
6635
    # gcc leaves a trailing carriage return which upsets mingw
5806
6658
    ;;
5807
6659
  esac
5808
6660
elif test "$with_gnu_ld" = yes; then
5809
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
5810
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
6661
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
6662
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5811
6663
else
5812
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5813
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
6664
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
6665
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5814
6666
fi
5815
6667
if test "${lt_cv_path_LD+set}" = set; then
5816
6668
  echo $ECHO_N "(cached) $ECHO_C" >&6
5843
6695
 
5844
6696
LD="$lt_cv_path_LD"
5845
6697
if test -n "$LD"; then
5846
 
  echo "$as_me:$LINENO: result: $LD" >&5
5847
 
echo "${ECHO_T}$LD" >&6
 
6698
  { echo "$as_me:$LINENO: result: $LD" >&5
 
6699
echo "${ECHO_T}$LD" >&6; }
5848
6700
else
5849
 
  echo "$as_me:$LINENO: result: no" >&5
5850
 
echo "${ECHO_T}no" >&6
 
6701
  { echo "$as_me:$LINENO: result: no" >&5
 
6702
echo "${ECHO_T}no" >&6; }
5851
6703
fi
5852
6704
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5853
6705
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5854
6706
   { (exit 1); exit 1; }; }
5855
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5856
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
6707
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
6708
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5857
6709
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5858
6710
  echo $ECHO_N "(cached) $ECHO_C" >&6
5859
6711
else
5867
6719
  ;;
5868
6720
esac
5869
6721
fi
5870
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5871
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
6722
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6723
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5872
6724
with_gnu_ld=$lt_cv_prog_gnu_ld
5873
6725
 
5874
6726
 
5875
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5876
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
6727
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6728
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5877
6729
if test "${lt_cv_ld_reload_flag+set}" = set; then
5878
6730
  echo $ECHO_N "(cached) $ECHO_C" >&6
5879
6731
else
5880
6732
  lt_cv_ld_reload_flag='-r'
5881
6733
fi
5882
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5883
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
6734
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6735
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5884
6736
reload_flag=$lt_cv_ld_reload_flag
5885
6737
case $reload_flag in
5886
6738
"" | " "*) ;;
5897
6749
    ;;
5898
6750
esac
5899
6751
 
5900
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5901
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
6752
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
6753
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5902
6754
if test "${lt_cv_path_NM+set}" = set; then
5903
6755
  echo $ECHO_N "(cached) $ECHO_C" >&6
5904
6756
else
5946
6798
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5947
6799
fi
5948
6800
fi
5949
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5950
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
6801
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6802
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5951
6803
NM="$lt_cv_path_NM"
5952
6804
 
5953
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
5954
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
6805
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6806
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5955
6807
LN_S=$as_ln_s
5956
6808
if test "$LN_S" = "ln -s"; then
5957
 
  echo "$as_me:$LINENO: result: yes" >&5
5958
 
echo "${ECHO_T}yes" >&6
 
6809
  { echo "$as_me:$LINENO: result: yes" >&5
 
6810
echo "${ECHO_T}yes" >&6; }
5959
6811
else
5960
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5961
 
echo "${ECHO_T}no, using $LN_S" >&6
 
6812
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6813
echo "${ECHO_T}no, using $LN_S" >&6; }
5962
6814
fi
5963
6815
 
5964
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5965
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
6816
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6817
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5966
6818
if test "${lt_cv_deplibs_check_method+set}" = set; then
5967
6819
  echo $ECHO_N "(cached) $ECHO_C" >&6
5968
6820
else
5981
6833
# whether `pass_all' will *always* work, you probably want this one.
5982
6834
 
5983
6835
case $host_os in
5984
 
aix4* | aix5*)
 
6836
aix[4-9]*)
5985
6837
  lt_cv_deplibs_check_method=pass_all
5986
6838
  ;;
5987
6839
 
6003
6855
 
6004
6856
mingw* | pw32*)
6005
6857
  # Base MSYS/MinGW do not provide the 'file' command needed by
6006
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6007
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6008
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6858
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6859
  # unless we find 'file', for example because we are cross-compiling.
 
6860
  if ( file / ) >/dev/null 2>&1; then
 
6861
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6862
    lt_cv_file_magic_cmd='func_win32_libid'
 
6863
  else
 
6864
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6865
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6866
  fi
6009
6867
  ;;
6010
6868
 
6011
6869
darwin* | rhapsody*)
6012
6870
  lt_cv_deplibs_check_method=pass_all
6013
6871
  ;;
6014
6872
 
6015
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
6873
freebsd* | dragonfly*)
6016
6874
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6017
6875
    case $host_cpu in
6018
6876
    i*86 )
6050
6908
  esac
6051
6909
  ;;
6052
6910
 
6053
 
interix3*)
 
6911
interix[3-9]*)
6054
6912
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6055
6913
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6056
6914
  ;;
6066
6924
  ;;
6067
6925
 
6068
6926
# This must be Linux ELF.
6069
 
linux*)
 
6927
linux* | k*bsd*-gnu)
6070
6928
  lt_cv_deplibs_check_method=pass_all
6071
6929
  ;;
6072
6930
 
6100
6958
  lt_cv_deplibs_check_method=pass_all
6101
6959
  ;;
6102
6960
 
 
6961
rdos*)
 
6962
  lt_cv_deplibs_check_method=pass_all
 
6963
  ;;
 
6964
 
6103
6965
solaris*)
6104
6966
  lt_cv_deplibs_check_method=pass_all
6105
6967
  ;;
6137
6999
esac
6138
7000
 
6139
7001
fi
6140
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6141
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
7002
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7003
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6142
7004
file_magic_cmd=$lt_cv_file_magic_cmd
6143
7005
deplibs_check_method=$lt_cv_deplibs_check_method
6144
7006
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6155
7017
# Allow CC to be a program name with arguments.
6156
7018
compiler=$CC
6157
7019
 
6158
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7020
 
 
7021
# Check whether --enable-libtool-lock was given.
6159
7022
if test "${enable_libtool_lock+set}" = set; then
6160
 
  enableval="$enable_libtool_lock"
 
7023
  enableval=$enable_libtool_lock;
 
7024
fi
6161
7025
 
6162
 
fi;
6163
7026
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6164
7027
 
6165
7028
# Some flags need to be propagated to the compiler or linker for good
6186
7049
  ;;
6187
7050
*-*-irix6*)
6188
7051
  # Find out which ABI we are using.
6189
 
  echo '#line 6189 "configure"' > conftest.$ac_ext
 
7052
  echo '#line 7052 "configure"' > conftest.$ac_ext
6190
7053
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6191
7054
  (eval $ac_compile) 2>&5
6192
7055
  ac_status=$?
6221
7084
  rm -rf conftest*
6222
7085
  ;;
6223
7086
 
6224
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
7087
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7088
s390*-*linux*|sparc*-*linux*)
6225
7089
  # Find out which ABI we are using.
6226
7090
  echo 'int i;' > conftest.$ac_ext
6227
7091
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6232
7096
    case `/usr/bin/file conftest.o` in
6233
7097
    *32-bit*)
6234
7098
      case $host in
 
7099
        x86_64-*kfreebsd*-gnu)
 
7100
          LD="${LD-ld} -m elf_i386_fbsd"
 
7101
          ;;
6235
7102
        x86_64-*linux*)
6236
7103
          LD="${LD-ld} -m elf_i386"
6237
7104
          ;;
6248
7115
      ;;
6249
7116
    *64-bit*)
6250
7117
      case $host in
 
7118
        x86_64-*kfreebsd*-gnu)
 
7119
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
7120
          ;;
6251
7121
        x86_64-*linux*)
6252
7122
          LD="${LD-ld} -m elf_x86_64"
6253
7123
          ;;
6271
7141
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6272
7142
  SAVE_CFLAGS="$CFLAGS"
6273
7143
  CFLAGS="$CFLAGS -belf"
6274
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6275
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
7144
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7145
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6276
7146
if test "${lt_cv_cc_needs_belf+set}" = set; then
6277
7147
  echo $ECHO_N "(cached) $ECHO_C" >&6
6278
7148
else
6298
7168
}
6299
7169
_ACEOF
6300
7170
rm -f conftest.$ac_objext conftest$ac_exeext
6301
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6302
 
  (eval $ac_link) 2>conftest.er1
 
7171
if { (ac_try="$ac_link"
 
7172
case "(($ac_try" in
 
7173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7174
  *) ac_try_echo=$ac_try;;
 
7175
esac
 
7176
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7177
  (eval "$ac_link") 2>conftest.er1
6303
7178
  ac_status=$?
6304
7179
  grep -v '^ *+' conftest.er1 >conftest.err
6305
7180
  rm -f conftest.er1
6306
7181
  cat conftest.err >&5
6307
7182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308
 
  (exit $ac_status); } &&
6309
 
         { ac_try='test -z "$ac_c_werror_flag"
6310
 
                         || test ! -s conftest.err'
6311
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312
 
  (eval $ac_try) 2>&5
6313
 
  ac_status=$?
6314
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315
 
  (exit $ac_status); }; } &&
6316
 
         { ac_try='test -s conftest$ac_exeext'
6317
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318
 
  (eval $ac_try) 2>&5
6319
 
  ac_status=$?
6320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321
 
  (exit $ac_status); }; }; then
 
7183
  (exit $ac_status); } && {
 
7184
         test -z "$ac_c_werror_flag" ||
 
7185
         test ! -s conftest.err
 
7186
       } && test -s conftest$ac_exeext &&
 
7187
       $as_test_x conftest$ac_exeext; then
6322
7188
  lt_cv_cc_needs_belf=yes
6323
7189
else
6324
7190
  echo "$as_me: failed program was:" >&5
6325
7191
sed 's/^/| /' conftest.$ac_ext >&5
6326
7192
 
6327
 
lt_cv_cc_needs_belf=no
 
7193
        lt_cv_cc_needs_belf=no
6328
7194
fi
6329
 
rm -f conftest.err conftest.$ac_objext \
 
7195
 
 
7196
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6330
7197
      conftest$ac_exeext conftest.$ac_ext
6331
7198
     ac_ext=c
6332
7199
ac_cpp='$CPP $CPPFLAGS'
6335
7202
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6336
7203
 
6337
7204
fi
6338
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6339
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
7205
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7206
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6340
7207
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6341
7208
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6342
7209
    CFLAGS="$SAVE_CFLAGS"
6354
7221
    *64-bit*)
6355
7222
      case $lt_cv_prog_gnu_ld in
6356
7223
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6357
 
      *)    LD="${LD-ld} -64" ;;
 
7224
      *)
 
7225
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7226
          LD="${LD-ld} -64"
 
7227
        fi
 
7228
        ;;
6358
7229
      esac
6359
7230
      ;;
6360
7231
    esac
6369
7240
 
6370
7241
 
6371
7242
 
6372
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6373
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
7243
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7244
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6374
7245
if test "${ac_cv_header_stdc+set}" = set; then
6375
7246
  echo $ECHO_N "(cached) $ECHO_C" >&6
6376
7247
else
6394
7265
}
6395
7266
_ACEOF
6396
7267
rm -f conftest.$ac_objext
6397
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6398
 
  (eval $ac_compile) 2>conftest.er1
 
7268
if { (ac_try="$ac_compile"
 
7269
case "(($ac_try" in
 
7270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7271
  *) ac_try_echo=$ac_try;;
 
7272
esac
 
7273
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7274
  (eval "$ac_compile") 2>conftest.er1
6399
7275
  ac_status=$?
6400
7276
  grep -v '^ *+' conftest.er1 >conftest.err
6401
7277
  rm -f conftest.er1
6402
7278
  cat conftest.err >&5
6403
7279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404
 
  (exit $ac_status); } &&
6405
 
         { ac_try='test -z "$ac_c_werror_flag"
6406
 
                         || test ! -s conftest.err'
6407
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408
 
  (eval $ac_try) 2>&5
6409
 
  ac_status=$?
6410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411
 
  (exit $ac_status); }; } &&
6412
 
         { ac_try='test -s conftest.$ac_objext'
6413
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6414
 
  (eval $ac_try) 2>&5
6415
 
  ac_status=$?
6416
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417
 
  (exit $ac_status); }; }; then
 
7280
  (exit $ac_status); } && {
 
7281
         test -z "$ac_c_werror_flag" ||
 
7282
         test ! -s conftest.err
 
7283
       } && test -s conftest.$ac_objext; then
6418
7284
  ac_cv_header_stdc=yes
6419
7285
else
6420
7286
  echo "$as_me: failed program was:" >&5
6421
7287
sed 's/^/| /' conftest.$ac_ext >&5
6422
7288
 
6423
 
ac_cv_header_stdc=no
 
7289
        ac_cv_header_stdc=no
6424
7290
fi
6425
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
7291
 
 
7292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6426
7293
 
6427
7294
if test $ac_cv_header_stdc = yes; then
6428
7295
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6478
7345
cat >>conftest.$ac_ext <<_ACEOF
6479
7346
/* end confdefs.h.  */
6480
7347
#include <ctype.h>
 
7348
#include <stdlib.h>
6481
7349
#if ((' ' & 0x0FF) == 0x020)
6482
7350
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6483
7351
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6497
7365
  for (i = 0; i < 256; i++)
6498
7366
    if (XOR (islower (i), ISLOWER (i))
6499
7367
        || toupper (i) != TOUPPER (i))
6500
 
      exit(2);
6501
 
  exit (0);
 
7368
      return 2;
 
7369
  return 0;
6502
7370
}
6503
7371
_ACEOF
6504
7372
rm -f conftest$ac_exeext
6505
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6506
 
  (eval $ac_link) 2>&5
 
7373
if { (ac_try="$ac_link"
 
7374
case "(($ac_try" in
 
7375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7376
  *) ac_try_echo=$ac_try;;
 
7377
esac
 
7378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7379
  (eval "$ac_link") 2>&5
6507
7380
  ac_status=$?
6508
7381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509
7382
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511
 
  (eval $ac_try) 2>&5
 
7383
  { (case "(($ac_try" in
 
7384
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7385
  *) ac_try_echo=$ac_try;;
 
7386
esac
 
7387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7388
  (eval "$ac_try") 2>&5
6512
7389
  ac_status=$?
6513
7390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514
7391
  (exit $ac_status); }; }; then
6521
7398
( exit $ac_status )
6522
7399
ac_cv_header_stdc=no
6523
7400
fi
6524
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6525
 
fi
6526
 
fi
6527
 
fi
6528
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6529
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
7401
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7402
fi
 
7403
 
 
7404
 
 
7405
fi
 
7406
fi
 
7407
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7408
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6530
7409
if test $ac_cv_header_stdc = yes; then
6531
7410
 
6532
7411
cat >>confdefs.h <<\_ACEOF
6549
7428
                  inttypes.h stdint.h unistd.h
6550
7429
do
6551
7430
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6552
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6553
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6554
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
7431
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7432
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7433
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6555
7434
  echo $ECHO_N "(cached) $ECHO_C" >&6
6556
7435
else
6557
7436
  cat >conftest.$ac_ext <<_ACEOF
6565
7444
#include <$ac_header>
6566
7445
_ACEOF
6567
7446
rm -f conftest.$ac_objext
6568
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6569
 
  (eval $ac_compile) 2>conftest.er1
 
7447
if { (ac_try="$ac_compile"
 
7448
case "(($ac_try" in
 
7449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7450
  *) ac_try_echo=$ac_try;;
 
7451
esac
 
7452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7453
  (eval "$ac_compile") 2>conftest.er1
6570
7454
  ac_status=$?
6571
7455
  grep -v '^ *+' conftest.er1 >conftest.err
6572
7456
  rm -f conftest.er1
6573
7457
  cat conftest.err >&5
6574
7458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575
 
  (exit $ac_status); } &&
6576
 
         { ac_try='test -z "$ac_c_werror_flag"
6577
 
                         || test ! -s conftest.err'
6578
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579
 
  (eval $ac_try) 2>&5
6580
 
  ac_status=$?
6581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582
 
  (exit $ac_status); }; } &&
6583
 
         { ac_try='test -s conftest.$ac_objext'
6584
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585
 
  (eval $ac_try) 2>&5
6586
 
  ac_status=$?
6587
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588
 
  (exit $ac_status); }; }; then
 
7459
  (exit $ac_status); } && {
 
7460
         test -z "$ac_c_werror_flag" ||
 
7461
         test ! -s conftest.err
 
7462
       } && test -s conftest.$ac_objext; then
6589
7463
  eval "$as_ac_Header=yes"
6590
7464
else
6591
7465
  echo "$as_me: failed program was:" >&5
6592
7466
sed 's/^/| /' conftest.$ac_ext >&5
6593
7467
 
6594
 
eval "$as_ac_Header=no"
6595
 
fi
6596
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6597
 
fi
6598
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6599
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
7468
        eval "$as_ac_Header=no"
 
7469
fi
 
7470
 
 
7471
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7472
fi
 
7473
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7474
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7475
echo "${ECHO_T}$ac_res" >&6; }
6600
7476
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6601
7477
  cat >>confdefs.h <<_ACEOF
6602
7478
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6611
7487
for ac_header in dlfcn.h
6612
7488
do
6613
7489
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6614
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6615
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
6616
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6617
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
7490
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7491
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7492
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7493
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6618
7494
  echo $ECHO_N "(cached) $ECHO_C" >&6
6619
7495
fi
6620
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6621
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
7496
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7497
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7498
echo "${ECHO_T}$ac_res" >&6; }
6622
7499
else
6623
7500
  # Is the header compilable?
6624
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6625
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
7501
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7502
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6626
7503
cat >conftest.$ac_ext <<_ACEOF
6627
7504
/* confdefs.h.  */
6628
7505
_ACEOF
6633
7510
#include <$ac_header>
6634
7511
_ACEOF
6635
7512
rm -f conftest.$ac_objext
6636
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6637
 
  (eval $ac_compile) 2>conftest.er1
 
7513
if { (ac_try="$ac_compile"
 
7514
case "(($ac_try" in
 
7515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7516
  *) ac_try_echo=$ac_try;;
 
7517
esac
 
7518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7519
  (eval "$ac_compile") 2>conftest.er1
6638
7520
  ac_status=$?
6639
7521
  grep -v '^ *+' conftest.er1 >conftest.err
6640
7522
  rm -f conftest.er1
6641
7523
  cat conftest.err >&5
6642
7524
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643
 
  (exit $ac_status); } &&
6644
 
         { ac_try='test -z "$ac_c_werror_flag"
6645
 
                         || test ! -s conftest.err'
6646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647
 
  (eval $ac_try) 2>&5
6648
 
  ac_status=$?
6649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650
 
  (exit $ac_status); }; } &&
6651
 
         { ac_try='test -s conftest.$ac_objext'
6652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6653
 
  (eval $ac_try) 2>&5
6654
 
  ac_status=$?
6655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656
 
  (exit $ac_status); }; }; then
 
7525
  (exit $ac_status); } && {
 
7526
         test -z "$ac_c_werror_flag" ||
 
7527
         test ! -s conftest.err
 
7528
       } && test -s conftest.$ac_objext; then
6657
7529
  ac_header_compiler=yes
6658
7530
else
6659
7531
  echo "$as_me: failed program was:" >&5
6660
7532
sed 's/^/| /' conftest.$ac_ext >&5
6661
7533
 
6662
 
ac_header_compiler=no
 
7534
        ac_header_compiler=no
6663
7535
fi
6664
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6665
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6666
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
7536
 
 
7537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7538
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7539
echo "${ECHO_T}$ac_header_compiler" >&6; }
6667
7540
 
6668
7541
# Is the header present?
6669
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6670
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
7542
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7543
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6671
7544
cat >conftest.$ac_ext <<_ACEOF
6672
7545
/* confdefs.h.  */
6673
7546
_ACEOF
6676
7549
/* end confdefs.h.  */
6677
7550
#include <$ac_header>
6678
7551
_ACEOF
6679
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6680
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7552
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7553
case "(($ac_try" in
 
7554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7555
  *) ac_try_echo=$ac_try;;
 
7556
esac
 
7557
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7558
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6681
7559
  ac_status=$?
6682
7560
  grep -v '^ *+' conftest.er1 >conftest.err
6683
7561
  rm -f conftest.er1
6684
7562
  cat conftest.err >&5
6685
7563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686
 
  (exit $ac_status); } >/dev/null; then
6687
 
  if test -s conftest.err; then
6688
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6689
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6690
 
  else
6691
 
    ac_cpp_err=
6692
 
  fi
6693
 
else
6694
 
  ac_cpp_err=yes
6695
 
fi
6696
 
if test -z "$ac_cpp_err"; then
 
7564
  (exit $ac_status); } >/dev/null && {
 
7565
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7566
         test ! -s conftest.err
 
7567
       }; then
6697
7568
  ac_header_preproc=yes
6698
7569
else
6699
7570
  echo "$as_me: failed program was:" >&5
6701
7572
 
6702
7573
  ac_header_preproc=no
6703
7574
fi
 
7575
 
6704
7576
rm -f conftest.err conftest.$ac_ext
6705
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6706
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
7577
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7578
echo "${ECHO_T}$ac_header_preproc" >&6; }
6707
7579
 
6708
7580
# So?  What about this header?
6709
7581
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6727
7599
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6728
7600
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6729
7601
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6730
 
    (
6731
 
      cat <<\_ASBOX
 
7602
    ( cat <<\_ASBOX
6732
7603
## -------------------------- ##
6733
7604
## Report this to rofi@ya.com ##
6734
7605
## -------------------------- ##
6735
7606
_ASBOX
6736
 
    ) |
6737
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
7607
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6738
7608
    ;;
6739
7609
esac
6740
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
6741
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6742
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
7610
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7611
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7612
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6743
7613
  echo $ECHO_N "(cached) $ECHO_C" >&6
6744
7614
else
6745
7615
  eval "$as_ac_Header=\$ac_header_preproc"
6746
7616
fi
6747
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6748
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
7617
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7618
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7619
echo "${ECHO_T}$ac_res" >&6; }
6749
7620
 
6750
7621
fi
6751
7622
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6762
7633
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6763
7634
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6764
7635
    (test "X$CXX" != "Xg++"))) ; then
6765
 
  ac_ext=cc
 
7636
  ac_ext=cpp
6766
7637
ac_cpp='$CXXCPP $CPPFLAGS'
6767
7638
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6768
7639
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6769
7640
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6770
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6771
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
7641
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
7642
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6772
7643
if test -z "$CXXCPP"; then
6773
7644
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6774
7645
  echo $ECHO_N "(cached) $ECHO_C" >&6
6798
7669
#endif
6799
7670
                     Syntax error
6800
7671
_ACEOF
6801
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6802
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7672
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7673
case "(($ac_try" in
 
7674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7675
  *) ac_try_echo=$ac_try;;
 
7676
esac
 
7677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7678
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6803
7679
  ac_status=$?
6804
7680
  grep -v '^ *+' conftest.er1 >conftest.err
6805
7681
  rm -f conftest.er1
6806
7682
  cat conftest.err >&5
6807
7683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808
 
  (exit $ac_status); } >/dev/null; then
6809
 
  if test -s conftest.err; then
6810
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6811
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6812
 
  else
6813
 
    ac_cpp_err=
6814
 
  fi
6815
 
else
6816
 
  ac_cpp_err=yes
6817
 
fi
6818
 
if test -z "$ac_cpp_err"; then
 
7684
  (exit $ac_status); } >/dev/null && {
 
7685
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7686
         test ! -s conftest.err
 
7687
       }; then
6819
7688
  :
6820
7689
else
6821
7690
  echo "$as_me: failed program was:" >&5
6824
7693
  # Broken: fails on valid input.
6825
7694
continue
6826
7695
fi
 
7696
 
6827
7697
rm -f conftest.err conftest.$ac_ext
6828
7698
 
6829
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7699
  # OK, works on sane cases.  Now check whether nonexistent headers
6830
7700
  # can be detected and how.
6831
7701
  cat >conftest.$ac_ext <<_ACEOF
6832
7702
/* confdefs.h.  */
6836
7706
/* end confdefs.h.  */
6837
7707
#include <ac_nonexistent.h>
6838
7708
_ACEOF
6839
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6840
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7709
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7710
case "(($ac_try" in
 
7711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7712
  *) ac_try_echo=$ac_try;;
 
7713
esac
 
7714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7715
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6841
7716
  ac_status=$?
6842
7717
  grep -v '^ *+' conftest.er1 >conftest.err
6843
7718
  rm -f conftest.er1
6844
7719
  cat conftest.err >&5
6845
7720
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846
 
  (exit $ac_status); } >/dev/null; then
6847
 
  if test -s conftest.err; then
6848
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6849
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6850
 
  else
6851
 
    ac_cpp_err=
6852
 
  fi
6853
 
else
6854
 
  ac_cpp_err=yes
6855
 
fi
6856
 
if test -z "$ac_cpp_err"; then
 
7721
  (exit $ac_status); } >/dev/null && {
 
7722
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7723
         test ! -s conftest.err
 
7724
       }; then
6857
7725
  # Broken: success on invalid input.
6858
7726
continue
6859
7727
else
6864
7732
ac_preproc_ok=:
6865
7733
break
6866
7734
fi
 
7735
 
6867
7736
rm -f conftest.err conftest.$ac_ext
6868
7737
 
6869
7738
done
6881
7750
else
6882
7751
  ac_cv_prog_CXXCPP=$CXXCPP
6883
7752
fi
6884
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6885
 
echo "${ECHO_T}$CXXCPP" >&6
 
7753
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7754
echo "${ECHO_T}$CXXCPP" >&6; }
6886
7755
ac_preproc_ok=false
6887
7756
for ac_cxx_preproc_warn_flag in '' yes
6888
7757
do
6905
7774
#endif
6906
7775
                     Syntax error
6907
7776
_ACEOF
6908
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6909
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7777
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7778
case "(($ac_try" in
 
7779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7780
  *) ac_try_echo=$ac_try;;
 
7781
esac
 
7782
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7783
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6910
7784
  ac_status=$?
6911
7785
  grep -v '^ *+' conftest.er1 >conftest.err
6912
7786
  rm -f conftest.er1
6913
7787
  cat conftest.err >&5
6914
7788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915
 
  (exit $ac_status); } >/dev/null; then
6916
 
  if test -s conftest.err; then
6917
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6918
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6919
 
  else
6920
 
    ac_cpp_err=
6921
 
  fi
6922
 
else
6923
 
  ac_cpp_err=yes
6924
 
fi
6925
 
if test -z "$ac_cpp_err"; then
 
7789
  (exit $ac_status); } >/dev/null && {
 
7790
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7791
         test ! -s conftest.err
 
7792
       }; then
6926
7793
  :
6927
7794
else
6928
7795
  echo "$as_me: failed program was:" >&5
6931
7798
  # Broken: fails on valid input.
6932
7799
continue
6933
7800
fi
 
7801
 
6934
7802
rm -f conftest.err conftest.$ac_ext
6935
7803
 
6936
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
7804
  # OK, works on sane cases.  Now check whether nonexistent headers
6937
7805
  # can be detected and how.
6938
7806
  cat >conftest.$ac_ext <<_ACEOF
6939
7807
/* confdefs.h.  */
6943
7811
/* end confdefs.h.  */
6944
7812
#include <ac_nonexistent.h>
6945
7813
_ACEOF
6946
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6947
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7814
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7815
case "(($ac_try" in
 
7816
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7817
  *) ac_try_echo=$ac_try;;
 
7818
esac
 
7819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7820
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6948
7821
  ac_status=$?
6949
7822
  grep -v '^ *+' conftest.er1 >conftest.err
6950
7823
  rm -f conftest.er1
6951
7824
  cat conftest.err >&5
6952
7825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953
 
  (exit $ac_status); } >/dev/null; then
6954
 
  if test -s conftest.err; then
6955
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6956
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6957
 
  else
6958
 
    ac_cpp_err=
6959
 
  fi
6960
 
else
6961
 
  ac_cpp_err=yes
6962
 
fi
6963
 
if test -z "$ac_cpp_err"; then
 
7826
  (exit $ac_status); } >/dev/null && {
 
7827
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
7828
         test ! -s conftest.err
 
7829
       }; then
6964
7830
  # Broken: success on invalid input.
6965
7831
continue
6966
7832
else
6971
7837
ac_preproc_ok=:
6972
7838
break
6973
7839
fi
 
7840
 
6974
7841
rm -f conftest.err conftest.$ac_ext
6975
7842
 
6976
7843
done
6986
7853
   { (exit 1); exit 1; }; }
6987
7854
fi
6988
7855
 
6989
 
ac_ext=cc
 
7856
ac_ext=cpp
6990
7857
ac_cpp='$CXXCPP $CPPFLAGS'
6991
7858
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6992
7859
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6994
7861
 
6995
7862
fi
6996
7863
 
6997
 
 
6998
7864
ac_ext=f
6999
7865
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7000
7866
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7001
7867
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7002
7868
if test -n "$ac_tool_prefix"; then
7003
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
7869
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7004
7870
  do
7005
7871
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7006
7872
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7007
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7008
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7873
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7874
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7009
7875
if test "${ac_cv_prog_F77+set}" = set; then
7010
7876
  echo $ECHO_N "(cached) $ECHO_C" >&6
7011
7877
else
7018
7884
  IFS=$as_save_IFS
7019
7885
  test -z "$as_dir" && as_dir=.
7020
7886
  for ac_exec_ext in '' $ac_executable_extensions; do
7021
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7022
7888
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7023
7889
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7024
7890
    break 2
7025
7891
  fi
7026
7892
done
7027
7893
done
 
7894
IFS=$as_save_IFS
7028
7895
 
7029
7896
fi
7030
7897
fi
7031
7898
F77=$ac_cv_prog_F77
7032
7899
if test -n "$F77"; then
7033
 
  echo "$as_me:$LINENO: result: $F77" >&5
7034
 
echo "${ECHO_T}$F77" >&6
 
7900
  { echo "$as_me:$LINENO: result: $F77" >&5
 
7901
echo "${ECHO_T}$F77" >&6; }
7035
7902
else
7036
 
  echo "$as_me:$LINENO: result: no" >&5
7037
 
echo "${ECHO_T}no" >&6
 
7903
  { echo "$as_me:$LINENO: result: no" >&5
 
7904
echo "${ECHO_T}no" >&6; }
7038
7905
fi
7039
7906
 
 
7907
 
7040
7908
    test -n "$F77" && break
7041
7909
  done
7042
7910
fi
7043
7911
if test -z "$F77"; then
7044
7912
  ac_ct_F77=$F77
7045
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
7913
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7046
7914
do
7047
7915
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7048
7916
set dummy $ac_prog; ac_word=$2
7049
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7050
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7917
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7918
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7051
7919
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7052
7920
  echo $ECHO_N "(cached) $ECHO_C" >&6
7053
7921
else
7060
7928
  IFS=$as_save_IFS
7061
7929
  test -z "$as_dir" && as_dir=.
7062
7930
  for ac_exec_ext in '' $ac_executable_extensions; do
7063
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7931
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7064
7932
    ac_cv_prog_ac_ct_F77="$ac_prog"
7065
7933
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7066
7934
    break 2
7067
7935
  fi
7068
7936
done
7069
7937
done
 
7938
IFS=$as_save_IFS
7070
7939
 
7071
7940
fi
7072
7941
fi
7073
7942
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7074
7943
if test -n "$ac_ct_F77"; then
7075
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7076
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
7944
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
7945
echo "${ECHO_T}$ac_ct_F77" >&6; }
7077
7946
else
7078
 
  echo "$as_me:$LINENO: result: no" >&5
7079
 
echo "${ECHO_T}no" >&6
 
7947
  { echo "$as_me:$LINENO: result: no" >&5
 
7948
echo "${ECHO_T}no" >&6; }
7080
7949
fi
7081
7950
 
 
7951
 
7082
7952
  test -n "$ac_ct_F77" && break
7083
7953
done
7084
7954
 
7085
 
  F77=$ac_ct_F77
 
7955
  if test "x$ac_ct_F77" = x; then
 
7956
    F77=""
 
7957
  else
 
7958
    case $cross_compiling:$ac_tool_warned in
 
7959
yes:)
 
7960
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7961
whose name does not start with the host triplet.  If you think this
 
7962
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7963
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7964
whose name does not start with the host triplet.  If you think this
 
7965
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7966
ac_tool_warned=yes ;;
 
7967
esac
 
7968
    F77=$ac_ct_F77
 
7969
  fi
7086
7970
fi
7087
7971
 
7088
7972
 
7089
7973
# Provide some information about the compiler.
7090
 
echo "$as_me:7090:" \
7091
 
     "checking for Fortran 77 compiler version" >&5
 
7974
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7092
7975
ac_compiler=`set X $ac_compile; echo $2`
7093
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7094
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
7095
 
  ac_status=$?
7096
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097
 
  (exit $ac_status); }
7098
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7099
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
7100
 
  ac_status=$?
7101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102
 
  (exit $ac_status); }
7103
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7104
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
7976
{ (ac_try="$ac_compiler --version >&5"
 
7977
case "(($ac_try" in
 
7978
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7979
  *) ac_try_echo=$ac_try;;
 
7980
esac
 
7981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7982
  (eval "$ac_compiler --version >&5") 2>&5
 
7983
  ac_status=$?
 
7984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7985
  (exit $ac_status); }
 
7986
{ (ac_try="$ac_compiler -v >&5"
 
7987
case "(($ac_try" in
 
7988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7989
  *) ac_try_echo=$ac_try;;
 
7990
esac
 
7991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7992
  (eval "$ac_compiler -v >&5") 2>&5
 
7993
  ac_status=$?
 
7994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7995
  (exit $ac_status); }
 
7996
{ (ac_try="$ac_compiler -V >&5"
 
7997
case "(($ac_try" in
 
7998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7999
  *) ac_try_echo=$ac_try;;
 
8000
esac
 
8001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8002
  (eval "$ac_compiler -V >&5") 2>&5
7105
8003
  ac_status=$?
7106
8004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107
8005
  (exit $ac_status); }
7111
8009
# input file.  (Note that this only needs to work for GNU compilers.)
7112
8010
ac_save_ext=$ac_ext
7113
8011
ac_ext=F
7114
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7115
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
8012
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
8013
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7116
8014
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7117
8015
  echo $ECHO_N "(cached) $ECHO_C" >&6
7118
8016
else
7125
8023
      end
7126
8024
_ACEOF
7127
8025
rm -f conftest.$ac_objext
7128
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7129
 
  (eval $ac_compile) 2>conftest.er1
 
8026
if { (ac_try="$ac_compile"
 
8027
case "(($ac_try" in
 
8028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8029
  *) ac_try_echo=$ac_try;;
 
8030
esac
 
8031
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8032
  (eval "$ac_compile") 2>conftest.er1
7130
8033
  ac_status=$?
7131
8034
  grep -v '^ *+' conftest.er1 >conftest.err
7132
8035
  rm -f conftest.er1
7133
8036
  cat conftest.err >&5
7134
8037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135
 
  (exit $ac_status); } &&
7136
 
         { ac_try='test -z "$ac_f77_werror_flag"
7137
 
                         || test ! -s conftest.err'
7138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139
 
  (eval $ac_try) 2>&5
7140
 
  ac_status=$?
7141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142
 
  (exit $ac_status); }; } &&
7143
 
         { ac_try='test -s conftest.$ac_objext'
7144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145
 
  (eval $ac_try) 2>&5
7146
 
  ac_status=$?
7147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148
 
  (exit $ac_status); }; }; then
 
8038
  (exit $ac_status); } && {
 
8039
         test -z "$ac_f77_werror_flag" ||
 
8040
         test ! -s conftest.err
 
8041
       } && test -s conftest.$ac_objext; then
7149
8042
  ac_compiler_gnu=yes
7150
8043
else
7151
8044
  echo "$as_me: failed program was:" >&5
7152
8045
sed 's/^/| /' conftest.$ac_ext >&5
7153
8046
 
7154
 
ac_compiler_gnu=no
 
8047
        ac_compiler_gnu=no
7155
8048
fi
7156
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8049
 
 
8050
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7157
8051
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7158
8052
 
7159
8053
fi
7160
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7161
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
8054
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
8055
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7162
8056
ac_ext=$ac_save_ext
7163
8057
ac_test_FFLAGS=${FFLAGS+set}
7164
8058
ac_save_FFLAGS=$FFLAGS
7165
8059
FFLAGS=
7166
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7167
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
8060
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
8061
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7168
8062
if test "${ac_cv_prog_f77_g+set}" = set; then
7169
8063
  echo $ECHO_N "(cached) $ECHO_C" >&6
7170
8064
else
7175
8069
      end
7176
8070
_ACEOF
7177
8071
rm -f conftest.$ac_objext
7178
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7179
 
  (eval $ac_compile) 2>conftest.er1
 
8072
if { (ac_try="$ac_compile"
 
8073
case "(($ac_try" in
 
8074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8075
  *) ac_try_echo=$ac_try;;
 
8076
esac
 
8077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8078
  (eval "$ac_compile") 2>conftest.er1
7180
8079
  ac_status=$?
7181
8080
  grep -v '^ *+' conftest.er1 >conftest.err
7182
8081
  rm -f conftest.er1
7183
8082
  cat conftest.err >&5
7184
8083
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185
 
  (exit $ac_status); } &&
7186
 
         { ac_try='test -z "$ac_f77_werror_flag"
7187
 
                         || test ! -s conftest.err'
7188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189
 
  (eval $ac_try) 2>&5
7190
 
  ac_status=$?
7191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192
 
  (exit $ac_status); }; } &&
7193
 
         { ac_try='test -s conftest.$ac_objext'
7194
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195
 
  (eval $ac_try) 2>&5
7196
 
  ac_status=$?
7197
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198
 
  (exit $ac_status); }; }; then
 
8084
  (exit $ac_status); } && {
 
8085
         test -z "$ac_f77_werror_flag" ||
 
8086
         test ! -s conftest.err
 
8087
       } && test -s conftest.$ac_objext; then
7199
8088
  ac_cv_prog_f77_g=yes
7200
8089
else
7201
8090
  echo "$as_me: failed program was:" >&5
7202
8091
sed 's/^/| /' conftest.$ac_ext >&5
7203
8092
 
7204
 
ac_cv_prog_f77_g=no
7205
 
fi
7206
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7207
 
 
7208
 
fi
7209
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7210
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
8093
        ac_cv_prog_f77_g=no
 
8094
fi
 
8095
 
 
8096
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8097
 
 
8098
fi
 
8099
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
8100
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7211
8101
if test "$ac_test_FFLAGS" = set; then
7212
8102
  FFLAGS=$ac_save_FFLAGS
7213
8103
elif test $ac_cv_prog_f77_g = yes; then
7225
8115
fi
7226
8116
 
7227
8117
G77=`test $ac_compiler_gnu = yes && echo yes`
7228
 
ac_ext=cc
 
8118
ac_ext=cpp
7229
8119
ac_cpp='$CXXCPP $CPPFLAGS'
7230
8120
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231
8121
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7234
8124
 
7235
8125
 
7236
8126
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7237
 
 
7238
8127
# find the maximum length of command line arguments
7239
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7240
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
8128
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
8129
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7241
8130
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7242
8131
  echo $ECHO_N "(cached) $ECHO_C" >&6
7243
8132
else
7321
8210
    fi
7322
8211
    ;;
7323
8212
  *)
7324
 
    # If test is not a shell built-in, we'll probably end up computing a
7325
 
    # maximum length that is only half of the actual maximum length, but
7326
 
    # we can't tell.
7327
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7328
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
8213
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
8214
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
8215
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
8216
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
8217
    else
 
8218
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
8219
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7329
8220
               = "XX$teststring") >/dev/null 2>&1 &&
7330
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7331
 
            lt_cv_sys_max_cmd_len=$new_result &&
7332
 
            test $i != 17 # 1/2 MB should be enough
7333
 
    do
7334
 
      i=`expr $i + 1`
7335
 
      teststring=$teststring$teststring
7336
 
    done
7337
 
    teststring=
7338
 
    # Add a significant safety factor because C++ compilers can tack on massive
7339
 
    # amounts of additional arguments before passing them to the linker.
7340
 
    # It appears as though 1/2 is a usable value.
7341
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
8221
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
8222
              lt_cv_sys_max_cmd_len=$new_result &&
 
8223
              test $i != 17 # 1/2 MB should be enough
 
8224
      do
 
8225
        i=`expr $i + 1`
 
8226
        teststring=$teststring$teststring
 
8227
      done
 
8228
      teststring=
 
8229
      # Add a significant safety factor because C++ compilers can tack on massive
 
8230
      # amounts of additional arguments before passing them to the linker.
 
8231
      # It appears as though 1/2 is a usable value.
 
8232
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
8233
    fi
7342
8234
    ;;
7343
8235
  esac
7344
8236
 
7345
8237
fi
7346
8238
 
7347
8239
if test -n $lt_cv_sys_max_cmd_len ; then
7348
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7349
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
8240
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
8241
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7350
8242
else
7351
 
  echo "$as_me:$LINENO: result: none" >&5
7352
 
echo "${ECHO_T}none" >&6
 
8243
  { echo "$as_me:$LINENO: result: none" >&5
 
8244
echo "${ECHO_T}none" >&6; }
7353
8245
fi
7354
8246
 
7355
8247
 
7356
8248
 
7357
8249
 
 
8250
 
7358
8251
# Check for command to grab the raw symbol name followed by C symbol from nm.
7359
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7360
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
8252
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
8253
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7361
8254
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7362
8255
  echo $ECHO_N "(cached) $ECHO_C" >&6
7363
8256
else
7392
8285
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7393
8286
  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'"
7394
8287
  ;;
7395
 
linux*)
 
8288
linux* | k*bsd*-gnu)
7396
8289
  if test "$host_cpu" = ia64; then
7397
8290
    symcode='[ABCDGIRSTW]'
7398
8291
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7545
8438
    echo "$progname: failed program was:" >&5
7546
8439
    cat conftest.$ac_ext >&5
7547
8440
  fi
7548
 
  rm -f conftest* conftst*
 
8441
  rm -rf conftest* conftst*
7549
8442
 
7550
8443
  # Do not use the global_symbol_pipe unless it works.
7551
8444
  if test "$pipe_works" = yes; then
7561
8454
  lt_cv_sys_global_symbol_to_cdecl=
7562
8455
fi
7563
8456
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7564
 
  echo "$as_me:$LINENO: result: failed" >&5
7565
 
echo "${ECHO_T}failed" >&6
 
8457
  { echo "$as_me:$LINENO: result: failed" >&5
 
8458
echo "${ECHO_T}failed" >&6; }
7566
8459
else
7567
 
  echo "$as_me:$LINENO: result: ok" >&5
7568
 
echo "${ECHO_T}ok" >&6
 
8460
  { echo "$as_me:$LINENO: result: ok" >&5
 
8461
echo "${ECHO_T}ok" >&6; }
7569
8462
fi
7570
8463
 
7571
 
echo "$as_me:$LINENO: checking for objdir" >&5
7572
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
8464
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
8465
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7573
8466
if test "${lt_cv_objdir+set}" = set; then
7574
8467
  echo $ECHO_N "(cached) $ECHO_C" >&6
7575
8468
else
7583
8476
fi
7584
8477
rmdir .libs 2>/dev/null
7585
8478
fi
7586
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7587
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
8479
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8480
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7588
8481
objdir=$lt_cv_objdir
7589
8482
 
7590
8483
 
7635
8528
if test -n "$ac_tool_prefix"; then
7636
8529
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7637
8530
set dummy ${ac_tool_prefix}ar; ac_word=$2
7638
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7639
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8531
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7640
8533
if test "${ac_cv_prog_AR+set}" = set; then
7641
8534
  echo $ECHO_N "(cached) $ECHO_C" >&6
7642
8535
else
7649
8542
  IFS=$as_save_IFS
7650
8543
  test -z "$as_dir" && as_dir=.
7651
8544
  for ac_exec_ext in '' $ac_executable_extensions; do
7652
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653
8546
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7654
8547
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7655
8548
    break 2
7656
8549
  fi
7657
8550
done
7658
8551
done
 
8552
IFS=$as_save_IFS
7659
8553
 
7660
8554
fi
7661
8555
fi
7662
8556
AR=$ac_cv_prog_AR
7663
8557
if test -n "$AR"; then
7664
 
  echo "$as_me:$LINENO: result: $AR" >&5
7665
 
echo "${ECHO_T}$AR" >&6
 
8558
  { echo "$as_me:$LINENO: result: $AR" >&5
 
8559
echo "${ECHO_T}$AR" >&6; }
7666
8560
else
7667
 
  echo "$as_me:$LINENO: result: no" >&5
7668
 
echo "${ECHO_T}no" >&6
 
8561
  { echo "$as_me:$LINENO: result: no" >&5
 
8562
echo "${ECHO_T}no" >&6; }
7669
8563
fi
 
8564
 
7670
8565
 
7671
8566
fi
7672
8567
if test -z "$ac_cv_prog_AR"; then
7673
8568
  ac_ct_AR=$AR
7674
8569
  # Extract the first word of "ar", so it can be a program name with args.
7675
8570
set dummy ar; ac_word=$2
7676
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7677
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8571
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8572
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7678
8573
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7679
8574
  echo $ECHO_N "(cached) $ECHO_C" >&6
7680
8575
else
7687
8582
  IFS=$as_save_IFS
7688
8583
  test -z "$as_dir" && as_dir=.
7689
8584
  for ac_exec_ext in '' $ac_executable_extensions; do
7690
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7691
8586
    ac_cv_prog_ac_ct_AR="ar"
7692
8587
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7693
8588
    break 2
7694
8589
  fi
7695
8590
done
7696
8591
done
 
8592
IFS=$as_save_IFS
7697
8593
 
7698
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7699
8594
fi
7700
8595
fi
7701
8596
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7702
8597
if test -n "$ac_ct_AR"; then
7703
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7704
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
8598
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
8599
echo "${ECHO_T}$ac_ct_AR" >&6; }
7705
8600
else
7706
 
  echo "$as_me:$LINENO: result: no" >&5
7707
 
echo "${ECHO_T}no" >&6
 
8601
  { echo "$as_me:$LINENO: result: no" >&5
 
8602
echo "${ECHO_T}no" >&6; }
7708
8603
fi
7709
8604
 
7710
 
  AR=$ac_ct_AR
 
8605
  if test "x$ac_ct_AR" = x; then
 
8606
    AR="false"
 
8607
  else
 
8608
    case $cross_compiling:$ac_tool_warned in
 
8609
yes:)
 
8610
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8611
whose name does not start with the host triplet.  If you think this
 
8612
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8613
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8614
whose name does not start with the host triplet.  If you think this
 
8615
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8616
ac_tool_warned=yes ;;
 
8617
esac
 
8618
    AR=$ac_ct_AR
 
8619
  fi
7711
8620
else
7712
8621
  AR="$ac_cv_prog_AR"
7713
8622
fi
7715
8624
if test -n "$ac_tool_prefix"; then
7716
8625
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7717
8626
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7718
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7719
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8627
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7720
8629
if test "${ac_cv_prog_RANLIB+set}" = set; then
7721
8630
  echo $ECHO_N "(cached) $ECHO_C" >&6
7722
8631
else
7729
8638
  IFS=$as_save_IFS
7730
8639
  test -z "$as_dir" && as_dir=.
7731
8640
  for ac_exec_ext in '' $ac_executable_extensions; do
7732
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8641
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733
8642
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7734
8643
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7735
8644
    break 2
7736
8645
  fi
7737
8646
done
7738
8647
done
 
8648
IFS=$as_save_IFS
7739
8649
 
7740
8650
fi
7741
8651
fi
7742
8652
RANLIB=$ac_cv_prog_RANLIB
7743
8653
if test -n "$RANLIB"; then
7744
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
7745
 
echo "${ECHO_T}$RANLIB" >&6
 
8654
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8655
echo "${ECHO_T}$RANLIB" >&6; }
7746
8656
else
7747
 
  echo "$as_me:$LINENO: result: no" >&5
7748
 
echo "${ECHO_T}no" >&6
 
8657
  { echo "$as_me:$LINENO: result: no" >&5
 
8658
echo "${ECHO_T}no" >&6; }
7749
8659
fi
 
8660
 
7750
8661
 
7751
8662
fi
7752
8663
if test -z "$ac_cv_prog_RANLIB"; then
7753
8664
  ac_ct_RANLIB=$RANLIB
7754
8665
  # Extract the first word of "ranlib", so it can be a program name with args.
7755
8666
set dummy ranlib; ac_word=$2
7756
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7757
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8667
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8668
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7758
8669
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7759
8670
  echo $ECHO_N "(cached) $ECHO_C" >&6
7760
8671
else
7767
8678
  IFS=$as_save_IFS
7768
8679
  test -z "$as_dir" && as_dir=.
7769
8680
  for ac_exec_ext in '' $ac_executable_extensions; do
7770
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8681
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7771
8682
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7772
8683
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7773
8684
    break 2
7774
8685
  fi
7775
8686
done
7776
8687
done
 
8688
IFS=$as_save_IFS
7777
8689
 
7778
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7779
8690
fi
7780
8691
fi
7781
8692
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7782
8693
if test -n "$ac_ct_RANLIB"; then
7783
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7784
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
8694
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8695
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7785
8696
else
7786
 
  echo "$as_me:$LINENO: result: no" >&5
7787
 
echo "${ECHO_T}no" >&6
 
8697
  { echo "$as_me:$LINENO: result: no" >&5
 
8698
echo "${ECHO_T}no" >&6; }
7788
8699
fi
7789
8700
 
7790
 
  RANLIB=$ac_ct_RANLIB
 
8701
  if test "x$ac_ct_RANLIB" = x; then
 
8702
    RANLIB=":"
 
8703
  else
 
8704
    case $cross_compiling:$ac_tool_warned in
 
8705
yes:)
 
8706
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8707
whose name does not start with the host triplet.  If you think this
 
8708
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8709
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8710
whose name does not start with the host triplet.  If you think this
 
8711
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8712
ac_tool_warned=yes ;;
 
8713
esac
 
8714
    RANLIB=$ac_ct_RANLIB
 
8715
  fi
7791
8716
else
7792
8717
  RANLIB="$ac_cv_prog_RANLIB"
7793
8718
fi
7795
8720
if test -n "$ac_tool_prefix"; then
7796
8721
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7797
8722
set dummy ${ac_tool_prefix}strip; ac_word=$2
7798
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7799
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8723
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8724
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7800
8725
if test "${ac_cv_prog_STRIP+set}" = set; then
7801
8726
  echo $ECHO_N "(cached) $ECHO_C" >&6
7802
8727
else
7809
8734
  IFS=$as_save_IFS
7810
8735
  test -z "$as_dir" && as_dir=.
7811
8736
  for ac_exec_ext in '' $ac_executable_extensions; do
7812
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8737
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7813
8738
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7814
8739
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7815
8740
    break 2
7816
8741
  fi
7817
8742
done
7818
8743
done
 
8744
IFS=$as_save_IFS
7819
8745
 
7820
8746
fi
7821
8747
fi
7822
8748
STRIP=$ac_cv_prog_STRIP
7823
8749
if test -n "$STRIP"; then
7824
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
7825
 
echo "${ECHO_T}$STRIP" >&6
 
8750
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
8751
echo "${ECHO_T}$STRIP" >&6; }
7826
8752
else
7827
 
  echo "$as_me:$LINENO: result: no" >&5
7828
 
echo "${ECHO_T}no" >&6
 
8753
  { echo "$as_me:$LINENO: result: no" >&5
 
8754
echo "${ECHO_T}no" >&6; }
7829
8755
fi
 
8756
 
7830
8757
 
7831
8758
fi
7832
8759
if test -z "$ac_cv_prog_STRIP"; then
7833
8760
  ac_ct_STRIP=$STRIP
7834
8761
  # Extract the first word of "strip", so it can be a program name with args.
7835
8762
set dummy strip; ac_word=$2
7836
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7837
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8763
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8764
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7838
8765
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7839
8766
  echo $ECHO_N "(cached) $ECHO_C" >&6
7840
8767
else
7847
8774
  IFS=$as_save_IFS
7848
8775
  test -z "$as_dir" && as_dir=.
7849
8776
  for ac_exec_ext in '' $ac_executable_extensions; do
7850
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8777
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7851
8778
    ac_cv_prog_ac_ct_STRIP="strip"
7852
8779
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7853
8780
    break 2
7854
8781
  fi
7855
8782
done
7856
8783
done
 
8784
IFS=$as_save_IFS
7857
8785
 
7858
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7859
8786
fi
7860
8787
fi
7861
8788
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7862
8789
if test -n "$ac_ct_STRIP"; then
7863
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7864
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
8790
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8791
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7865
8792
else
7866
 
  echo "$as_me:$LINENO: result: no" >&5
7867
 
echo "${ECHO_T}no" >&6
 
8793
  { echo "$as_me:$LINENO: result: no" >&5
 
8794
echo "${ECHO_T}no" >&6; }
7868
8795
fi
7869
8796
 
7870
 
  STRIP=$ac_ct_STRIP
 
8797
  if test "x$ac_ct_STRIP" = x; then
 
8798
    STRIP=":"
 
8799
  else
 
8800
    case $cross_compiling:$ac_tool_warned in
 
8801
yes:)
 
8802
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8803
whose name does not start with the host triplet.  If you think this
 
8804
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8805
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8806
whose name does not start with the host triplet.  If you think this
 
8807
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8808
ac_tool_warned=yes ;;
 
8809
esac
 
8810
    STRIP=$ac_ct_STRIP
 
8811
  fi
7871
8812
else
7872
8813
  STRIP="$ac_cv_prog_STRIP"
7873
8814
fi
7895
8836
test -z "$ac_objext" && ac_objext=o
7896
8837
 
7897
8838
# Determine commands to create old-style static archives.
7898
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
8839
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7899
8840
old_postinstall_cmds='chmod 644 $oldlib'
7900
8841
old_postuninstall_cmds=
7901
8842
 
7926
8867
case $deplibs_check_method in
7927
8868
file_magic*)
7928
8869
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7929
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7930
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
8870
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8871
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7931
8872
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7932
8873
  echo $ECHO_N "(cached) $ECHO_C" >&6
7933
8874
else
7979
8920
 
7980
8921
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7981
8922
if test -n "$MAGIC_CMD"; then
7982
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7983
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8923
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8924
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7984
8925
else
7985
 
  echo "$as_me:$LINENO: result: no" >&5
7986
 
echo "${ECHO_T}no" >&6
 
8926
  { echo "$as_me:$LINENO: result: no" >&5
 
8927
echo "${ECHO_T}no" >&6; }
7987
8928
fi
7988
8929
 
7989
8930
if test -z "$lt_cv_path_MAGIC_CMD"; then
7990
8931
  if test -n "$ac_tool_prefix"; then
7991
 
    echo "$as_me:$LINENO: checking for file" >&5
7992
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
8932
    { echo "$as_me:$LINENO: checking for file" >&5
 
8933
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7993
8934
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7994
8935
  echo $ECHO_N "(cached) $ECHO_C" >&6
7995
8936
else
8041
8982
 
8042
8983
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8043
8984
if test -n "$MAGIC_CMD"; then
8044
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8045
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8985
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8986
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8046
8987
else
8047
 
  echo "$as_me:$LINENO: result: no" >&5
8048
 
echo "${ECHO_T}no" >&6
 
8988
  { echo "$as_me:$LINENO: result: no" >&5
 
8989
echo "${ECHO_T}no" >&6; }
8049
8990
fi
8050
8991
 
8051
8992
  else
8057
8998
  ;;
8058
8999
esac
8059
9000
 
 
9001
 
 
9002
  case $host_os in
 
9003
    rhapsody* | darwin*)
 
9004
    if test -n "$ac_tool_prefix"; then
 
9005
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
9006
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
9007
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9008
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9009
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
9010
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9011
else
 
9012
  if test -n "$DSYMUTIL"; then
 
9013
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
9014
else
 
9015
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9016
for as_dir in $PATH
 
9017
do
 
9018
  IFS=$as_save_IFS
 
9019
  test -z "$as_dir" && as_dir=.
 
9020
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9021
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9022
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
9023
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9024
    break 2
 
9025
  fi
 
9026
done
 
9027
done
 
9028
IFS=$as_save_IFS
 
9029
 
 
9030
fi
 
9031
fi
 
9032
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
9033
if test -n "$DSYMUTIL"; then
 
9034
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
9035
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
9036
else
 
9037
  { echo "$as_me:$LINENO: result: no" >&5
 
9038
echo "${ECHO_T}no" >&6; }
 
9039
fi
 
9040
 
 
9041
 
 
9042
fi
 
9043
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
9044
  ac_ct_DSYMUTIL=$DSYMUTIL
 
9045
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
9046
set dummy dsymutil; ac_word=$2
 
9047
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9048
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9049
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
9050
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9051
else
 
9052
  if test -n "$ac_ct_DSYMUTIL"; then
 
9053
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
9054
else
 
9055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9056
for as_dir in $PATH
 
9057
do
 
9058
  IFS=$as_save_IFS
 
9059
  test -z "$as_dir" && as_dir=.
 
9060
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9061
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9062
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
9063
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9064
    break 2
 
9065
  fi
 
9066
done
 
9067
done
 
9068
IFS=$as_save_IFS
 
9069
 
 
9070
fi
 
9071
fi
 
9072
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
9073
if test -n "$ac_ct_DSYMUTIL"; then
 
9074
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
9075
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
9076
else
 
9077
  { echo "$as_me:$LINENO: result: no" >&5
 
9078
echo "${ECHO_T}no" >&6; }
 
9079
fi
 
9080
 
 
9081
  if test "x$ac_ct_DSYMUTIL" = x; then
 
9082
    DSYMUTIL=":"
 
9083
  else
 
9084
    case $cross_compiling:$ac_tool_warned in
 
9085
yes:)
 
9086
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9087
whose name does not start with the host triplet.  If you think this
 
9088
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9089
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9090
whose name does not start with the host triplet.  If you think this
 
9091
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9092
ac_tool_warned=yes ;;
 
9093
esac
 
9094
    DSYMUTIL=$ac_ct_DSYMUTIL
 
9095
  fi
 
9096
else
 
9097
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
9098
fi
 
9099
 
 
9100
    if test -n "$ac_tool_prefix"; then
 
9101
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
9102
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
9103
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9104
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9105
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
9106
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9107
else
 
9108
  if test -n "$NMEDIT"; then
 
9109
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
9110
else
 
9111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9112
for as_dir in $PATH
 
9113
do
 
9114
  IFS=$as_save_IFS
 
9115
  test -z "$as_dir" && as_dir=.
 
9116
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9117
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9118
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
9119
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9120
    break 2
 
9121
  fi
 
9122
done
 
9123
done
 
9124
IFS=$as_save_IFS
 
9125
 
 
9126
fi
 
9127
fi
 
9128
NMEDIT=$ac_cv_prog_NMEDIT
 
9129
if test -n "$NMEDIT"; then
 
9130
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
9131
echo "${ECHO_T}$NMEDIT" >&6; }
 
9132
else
 
9133
  { echo "$as_me:$LINENO: result: no" >&5
 
9134
echo "${ECHO_T}no" >&6; }
 
9135
fi
 
9136
 
 
9137
 
 
9138
fi
 
9139
if test -z "$ac_cv_prog_NMEDIT"; then
 
9140
  ac_ct_NMEDIT=$NMEDIT
 
9141
  # Extract the first word of "nmedit", so it can be a program name with args.
 
9142
set dummy nmedit; ac_word=$2
 
9143
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9144
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
9145
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
9146
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9147
else
 
9148
  if test -n "$ac_ct_NMEDIT"; then
 
9149
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
9150
else
 
9151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9152
for as_dir in $PATH
 
9153
do
 
9154
  IFS=$as_save_IFS
 
9155
  test -z "$as_dir" && as_dir=.
 
9156
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9157
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9158
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
9159
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9160
    break 2
 
9161
  fi
 
9162
done
 
9163
done
 
9164
IFS=$as_save_IFS
 
9165
 
 
9166
fi
 
9167
fi
 
9168
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
9169
if test -n "$ac_ct_NMEDIT"; then
 
9170
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
9171
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
9172
else
 
9173
  { echo "$as_me:$LINENO: result: no" >&5
 
9174
echo "${ECHO_T}no" >&6; }
 
9175
fi
 
9176
 
 
9177
  if test "x$ac_ct_NMEDIT" = x; then
 
9178
    NMEDIT=":"
 
9179
  else
 
9180
    case $cross_compiling:$ac_tool_warned in
 
9181
yes:)
 
9182
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9183
whose name does not start with the host triplet.  If you think this
 
9184
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9185
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9186
whose name does not start with the host triplet.  If you think this
 
9187
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9188
ac_tool_warned=yes ;;
 
9189
esac
 
9190
    NMEDIT=$ac_ct_NMEDIT
 
9191
  fi
 
9192
else
 
9193
  NMEDIT="$ac_cv_prog_NMEDIT"
 
9194
fi
 
9195
 
 
9196
 
 
9197
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
9198
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
9199
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
9200
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9201
else
 
9202
  lt_cv_apple_cc_single_mod=no
 
9203
      if test -z "${LT_MULTI_MODULE}"; then
 
9204
   # By default we will add the -single_module flag. You can override
 
9205
   # by either setting the environment variable LT_MULTI_MODULE
 
9206
   # non-empty at configure time, or by adding -multi_module to the
 
9207
   # link flags.
 
9208
   echo "int foo(void){return 1;}" > conftest.c
 
9209
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9210
     -dynamiclib ${wl}-single_module conftest.c
 
9211
   if test -f libconftest.dylib; then
 
9212
     lt_cv_apple_cc_single_mod=yes
 
9213
     rm -rf libconftest.dylib*
 
9214
   fi
 
9215
   rm conftest.c
 
9216
      fi
 
9217
fi
 
9218
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
9219
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
9220
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
9221
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
9222
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
9223
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9224
else
 
9225
  lt_cv_ld_exported_symbols_list=no
 
9226
      save_LDFLAGS=$LDFLAGS
 
9227
      echo "_main" > conftest.sym
 
9228
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9229
      cat >conftest.$ac_ext <<_ACEOF
 
9230
/* confdefs.h.  */
 
9231
_ACEOF
 
9232
cat confdefs.h >>conftest.$ac_ext
 
9233
cat >>conftest.$ac_ext <<_ACEOF
 
9234
/* end confdefs.h.  */
 
9235
 
 
9236
int
 
9237
main ()
 
9238
{
 
9239
 
 
9240
  ;
 
9241
  return 0;
 
9242
}
 
9243
_ACEOF
 
9244
rm -f conftest.$ac_objext conftest$ac_exeext
 
9245
if { (ac_try="$ac_link"
 
9246
case "(($ac_try" in
 
9247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9248
  *) ac_try_echo=$ac_try;;
 
9249
esac
 
9250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9251
  (eval "$ac_link") 2>conftest.er1
 
9252
  ac_status=$?
 
9253
  grep -v '^ *+' conftest.er1 >conftest.err
 
9254
  rm -f conftest.er1
 
9255
  cat conftest.err >&5
 
9256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9257
  (exit $ac_status); } && {
 
9258
         test -z "$ac_cxx_werror_flag" ||
 
9259
         test ! -s conftest.err
 
9260
       } && test -s conftest$ac_exeext &&
 
9261
       $as_test_x conftest$ac_exeext; then
 
9262
  lt_cv_ld_exported_symbols_list=yes
 
9263
else
 
9264
  echo "$as_me: failed program was:" >&5
 
9265
sed 's/^/| /' conftest.$ac_ext >&5
 
9266
 
 
9267
        lt_cv_ld_exported_symbols_list=no
 
9268
fi
 
9269
 
 
9270
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9271
      conftest$ac_exeext conftest.$ac_ext
 
9272
   LDFLAGS="$save_LDFLAGS"
 
9273
 
 
9274
fi
 
9275
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
9276
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
9277
    case $host_os in
 
9278
    rhapsody* | darwin1.[0123])
 
9279
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9280
    darwin1.*)
 
9281
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9282
    darwin*)
 
9283
      # if running on 10.5 or later, the deployment target defaults
 
9284
      # to the OS version, if on x86, and 10.4, the deployment
 
9285
      # target defaults to 10.4. Don't you love it?
 
9286
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9287
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9288
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9289
   10.[012]*)
 
9290
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9291
   10.*)
 
9292
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9293
      esac
 
9294
    ;;
 
9295
  esac
 
9296
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9297
      _lt_dar_single_mod='$single_module'
 
9298
    fi
 
9299
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9300
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9301
    else
 
9302
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
9303
    fi
 
9304
    if test "$DSYMUTIL" != ":"; then
 
9305
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
9306
    else
 
9307
      _lt_dsymutil=
 
9308
    fi
 
9309
    ;;
 
9310
  esac
 
9311
 
 
9312
 
8060
9313
enable_dlopen=no
8061
9314
enable_win32_dll=no
8062
9315
 
8063
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
9316
# Check whether --enable-libtool-lock was given.
8064
9317
if test "${enable_libtool_lock+set}" = set; then
8065
 
  enableval="$enable_libtool_lock"
 
9318
  enableval=$enable_libtool_lock;
 
9319
fi
8066
9320
 
8067
 
fi;
8068
9321
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8069
9322
 
8070
9323
 
8071
 
# Check whether --with-pic or --without-pic was given.
 
9324
# Check whether --with-pic was given.
8072
9325
if test "${with_pic+set}" = set; then
8073
 
  withval="$with_pic"
8074
 
  pic_mode="$withval"
 
9326
  withval=$with_pic; pic_mode="$withval"
8075
9327
else
8076
9328
  pic_mode=default
8077
 
fi;
 
9329
fi
 
9330
 
8078
9331
test -z "$pic_mode" && pic_mode=default
8079
9332
 
8080
9333
# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
8083
9336
#        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
8084
9337
#        calls AC_LIBTOOL_CONFIG and creates libtool.
8085
9338
#
8086
 
echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
8087
 
echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6
 
9339
{ echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
 
9340
echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
8088
9341
if test "x$ltmain" = "x" ; then
8089
 
  echo "$as_me:$LINENO: result: no" >&5
8090
 
echo "${ECHO_T}no" >&6
 
9342
  { echo "$as_me:$LINENO: result: no" >&5
 
9343
echo "${ECHO_T}no" >&6; }
8091
9344
  { { echo "$as_me:$LINENO: error:
8092
9345
 
8093
9346
*** [Gentoo] sanity check failed! ***
8100
9353
" >&2;}
8101
9354
   { (exit 1); exit 1; }; }
8102
9355
fi
8103
 
gentoo_lt_version="1.5.22"
 
9356
gentoo_lt_version="1.5.26"
8104
9357
gentoo_ltmain_version=`sed -n '/^[      ]*VERSION=/{s/^[        ]*VERSION=//;p;q;}' "$ltmain"`
8105
9358
if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
8106
 
  echo "$as_me:$LINENO: result: no" >&5
8107
 
echo "${ECHO_T}no" >&6
 
9359
  { echo "$as_me:$LINENO: result: no" >&5
 
9360
echo "${ECHO_T}no" >&6; }
8108
9361
  { { echo "$as_me:$LINENO: error:
8109
9362
 
8110
9363
*** [Gentoo] sanity check failed! ***
8133
9386
" >&2;}
8134
9387
   { (exit 1); exit 1; }; }
8135
9388
else
8136
 
  echo "$as_me:$LINENO: result: yes" >&5
8137
 
echo "${ECHO_T}yes" >&6
 
9389
  { echo "$as_me:$LINENO: result: yes" >&5
 
9390
echo "${ECHO_T}yes" >&6; }
8138
9391
fi
8139
9392
 
8140
9393
 
8156
9409
objext=$objext
8157
9410
 
8158
9411
# Code to be used in simple compile tests
8159
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
9412
lt_simple_compile_test_code="int some_variable = 0;"
8160
9413
 
8161
9414
# Code to be used in simple link tests
8162
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
9415
lt_simple_link_test_code='int main(){return(0);}'
8163
9416
 
8164
9417
 
8165
9418
# If no C compiler was specified, use CC.
8174
9427
 
8175
9428
# save warnings/boilerplate of simple test code
8176
9429
ac_outfile=conftest.$ac_objext
8177
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
9430
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8178
9431
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8179
9432
_lt_compiler_boilerplate=`cat conftest.err`
8180
9433
$rm conftest*
8181
9434
 
8182
9435
ac_outfile=conftest.$ac_objext
8183
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
9436
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8184
9437
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8185
9438
_lt_linker_boilerplate=`cat conftest.err`
8186
 
$rm conftest*
 
9439
$rm -r conftest*
8187
9440
 
8188
9441
 
8189
9442
 
8193
9446
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8194
9447
 
8195
9448
 
8196
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8197
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
9449
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9450
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8198
9451
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8199
9452
  echo $ECHO_N "(cached) $ECHO_C" >&6
8200
9453
else
8201
9454
  lt_cv_prog_compiler_rtti_exceptions=no
8202
9455
  ac_outfile=conftest.$ac_objext
8203
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9456
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8204
9457
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8205
9458
   # Insert the option either (1) after the last *FLAGS variable, or
8206
9459
   # (2) before a word containing "conftest.", or (3) at the end.
8211
9464
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8212
9465
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8213
9466
   -e 's:$: $lt_compiler_flag:'`
8214
 
   (eval echo "\"\$as_me:8214: $lt_compile\"" >&5)
 
9467
   (eval echo "\"\$as_me:9467: $lt_compile\"" >&5)
8215
9468
   (eval "$lt_compile" 2>conftest.err)
8216
9469
   ac_status=$?
8217
9470
   cat conftest.err >&5
8218
 
   echo "$as_me:8218: \$? = $ac_status" >&5
 
9471
   echo "$as_me:9471: \$? = $ac_status" >&5
8219
9472
   if (exit $ac_status) && test -s "$ac_outfile"; then
8220
9473
     # The compiler can only warn and ignore the option if not recognized
8221
9474
     # So say no if there are warnings other than the usual output.
8228
9481
   $rm conftest*
8229
9482
 
8230
9483
fi
8231
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8232
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
9484
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9485
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8233
9486
 
8234
9487
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8235
9488
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8243
9496
lt_prog_compiler_pic=
8244
9497
lt_prog_compiler_static=
8245
9498
 
8246
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8247
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
9499
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
9500
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8248
9501
 
8249
9502
  if test "$GCC" = yes; then
8250
9503
    lt_prog_compiler_wl='-Wl,'
8266
9519
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8267
9520
      ;;
8268
9521
 
8269
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
9522
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8270
9523
      # PIC is the default for these OSes.
8271
9524
      ;;
8272
9525
 
8273
 
    mingw* | pw32* | os2*)
 
9526
    mingw* | cygwin* | pw32* | os2*)
8274
9527
      # This hack is so that the source file can tell whether it is being
8275
9528
      # built for inclusion in a dll (and should export symbols for example).
 
9529
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
9530
      # (--disable-auto-import) libraries
8276
9531
      lt_prog_compiler_pic='-DDLL_EXPORT'
8277
9532
      ;;
8278
9533
 
8282
9537
      lt_prog_compiler_pic='-fno-common'
8283
9538
      ;;
8284
9539
 
8285
 
    interix3*)
 
9540
    interix[3-9]*)
8286
9541
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8287
9542
      # Instead, we relocate shared libraries at runtime.
8288
9543
      ;;
8340
9595
       esac
8341
9596
       ;;
8342
9597
 
8343
 
    mingw* | pw32* | os2*)
 
9598
    mingw* | cygwin* | pw32* | os2*)
8344
9599
      # This hack is so that the source file can tell whether it is being
8345
9600
      # built for inclusion in a dll (and should export symbols for example).
8346
9601
      lt_prog_compiler_pic='-DDLL_EXPORT'
8373
9628
      lt_prog_compiler_static='-Bstatic'
8374
9629
      ;;
8375
9630
 
8376
 
    linux*)
 
9631
    linux* | k*bsd*-gnu)
8377
9632
      case $cc_basename in
8378
9633
      icc* | ecc*)
8379
9634
        lt_prog_compiler_wl='-Wl,'
8392
9647
        # All Alpha code is PIC.
8393
9648
        lt_prog_compiler_static='-non_shared'
8394
9649
        ;;
 
9650
      *)
 
9651
        case `$CC -V 2>&1 | sed 5q` in
 
9652
        *Sun\ C*)
 
9653
          # Sun C 5.9
 
9654
          lt_prog_compiler_pic='-KPIC'
 
9655
          lt_prog_compiler_static='-Bstatic'
 
9656
          lt_prog_compiler_wl='-Wl,'
 
9657
          ;;
 
9658
        *Sun\ F*)
 
9659
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9660
          lt_prog_compiler_pic='-KPIC'
 
9661
          lt_prog_compiler_static='-Bstatic'
 
9662
          lt_prog_compiler_wl=''
 
9663
          ;;
 
9664
        esac
 
9665
        ;;
8395
9666
      esac
8396
9667
      ;;
8397
9668
 
8401
9672
      lt_prog_compiler_static='-non_shared'
8402
9673
      ;;
8403
9674
 
 
9675
    rdos*)
 
9676
      lt_prog_compiler_static='-non_shared'
 
9677
      ;;
 
9678
 
8404
9679
    solaris*)
8405
9680
      lt_prog_compiler_pic='-KPIC'
8406
9681
      lt_prog_compiler_static='-Bstatic'
8453
9728
    esac
8454
9729
  fi
8455
9730
 
8456
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8457
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
9731
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9732
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8458
9733
 
8459
9734
#
8460
9735
# Check to make sure the PIC flag actually works.
8461
9736
#
8462
9737
if test -n "$lt_prog_compiler_pic"; then
8463
9738
 
8464
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8465
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8466
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
9739
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9740
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
9741
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8467
9742
  echo $ECHO_N "(cached) $ECHO_C" >&6
8468
9743
else
8469
 
  lt_prog_compiler_pic_works=no
 
9744
  lt_cv_prog_compiler_pic_works=no
8470
9745
  ac_outfile=conftest.$ac_objext
8471
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9746
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8472
9747
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8473
9748
   # Insert the option either (1) after the last *FLAGS variable, or
8474
9749
   # (2) before a word containing "conftest.", or (3) at the end.
8479
9754
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8480
9755
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8481
9756
   -e 's:$: $lt_compiler_flag:'`
8482
 
   (eval echo "\"\$as_me:8482: $lt_compile\"" >&5)
 
9757
   (eval echo "\"\$as_me:9757: $lt_compile\"" >&5)
8483
9758
   (eval "$lt_compile" 2>conftest.err)
8484
9759
   ac_status=$?
8485
9760
   cat conftest.err >&5
8486
 
   echo "$as_me:8486: \$? = $ac_status" >&5
 
9761
   echo "$as_me:9761: \$? = $ac_status" >&5
8487
9762
   if (exit $ac_status) && test -s "$ac_outfile"; then
8488
9763
     # The compiler can only warn and ignore the option if not recognized
8489
9764
     # So say no if there are warnings other than the usual output.
8490
9765
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8491
9766
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8492
9767
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8493
 
       lt_prog_compiler_pic_works=yes
 
9768
       lt_cv_prog_compiler_pic_works=yes
8494
9769
     fi
8495
9770
   fi
8496
9771
   $rm conftest*
8497
9772
 
8498
9773
fi
8499
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8500
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
9774
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9775
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8501
9776
 
8502
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
9777
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8503
9778
    case $lt_prog_compiler_pic in
8504
9779
     "" | " "*) ;;
8505
9780
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8524
9799
# Check to make sure the static flag actually works.
8525
9800
#
8526
9801
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8527
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8528
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8529
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
9802
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9803
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
9804
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8530
9805
  echo $ECHO_N "(cached) $ECHO_C" >&6
8531
9806
else
8532
 
  lt_prog_compiler_static_works=no
 
9807
  lt_cv_prog_compiler_static_works=no
8533
9808
   save_LDFLAGS="$LDFLAGS"
8534
9809
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8535
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
9810
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8536
9811
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8537
9812
     # The linker can only warn and ignore the option if not recognized
8538
9813
     # So say no if there are warnings
8542
9817
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8543
9818
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8544
9819
       if diff conftest.exp conftest.er2 >/dev/null; then
8545
 
         lt_prog_compiler_static_works=yes
 
9820
         lt_cv_prog_compiler_static_works=yes
8546
9821
       fi
8547
9822
     else
8548
 
       lt_prog_compiler_static_works=yes
 
9823
       lt_cv_prog_compiler_static_works=yes
8549
9824
     fi
8550
9825
   fi
8551
 
   $rm conftest*
 
9826
   $rm -r conftest*
8552
9827
   LDFLAGS="$save_LDFLAGS"
8553
9828
 
8554
9829
fi
8555
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8556
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
9830
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9831
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8557
9832
 
8558
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9833
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8559
9834
    :
8560
9835
else
8561
9836
    lt_prog_compiler_static=
8562
9837
fi
8563
9838
 
8564
9839
 
8565
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8566
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
9840
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9841
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8567
9842
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8568
9843
  echo $ECHO_N "(cached) $ECHO_C" >&6
8569
9844
else
8572
9847
   mkdir conftest
8573
9848
   cd conftest
8574
9849
   mkdir out
8575
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9850
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8576
9851
 
8577
9852
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8578
9853
   # Insert the option either (1) after the last *FLAGS variable, or
8583
9858
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584
9859
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585
9860
   -e 's:$: $lt_compiler_flag:'`
8586
 
   (eval echo "\"\$as_me:8586: $lt_compile\"" >&5)
 
9861
   (eval echo "\"\$as_me:9861: $lt_compile\"" >&5)
8587
9862
   (eval "$lt_compile" 2>out/conftest.err)
8588
9863
   ac_status=$?
8589
9864
   cat out/conftest.err >&5
8590
 
   echo "$as_me:8590: \$? = $ac_status" >&5
 
9865
   echo "$as_me:9865: \$? = $ac_status" >&5
8591
9866
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8592
9867
   then
8593
9868
     # The compiler can only warn and ignore the option if not recognized
8609
9884
   $rm conftest*
8610
9885
 
8611
9886
fi
8612
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8613
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
9887
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9888
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8614
9889
 
8615
9890
 
8616
9891
hard_links="nottested"
8617
9892
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8618
9893
  # do not overwrite the value of need_locks provided by the user
8619
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8620
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
9894
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9895
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8621
9896
  hard_links=yes
8622
9897
  $rm conftest*
8623
9898
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8624
9899
  touch conftest.a
8625
9900
  ln conftest.a conftest.b 2>&5 || hard_links=no
8626
9901
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8627
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
8628
 
echo "${ECHO_T}$hard_links" >&6
 
9902
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
9903
echo "${ECHO_T}$hard_links" >&6; }
8629
9904
  if test "$hard_links" = no; then
8630
9905
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8631
9906
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8635
9910
  need_locks=no
8636
9911
fi
8637
9912
 
8638
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8639
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
9913
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9914
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8640
9915
 
8641
9916
  runpath_var=
8642
9917
  allow_undefined_flag=
8667
9942
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8668
9943
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8669
9944
  # as well as any symbol that contains `d'.
8670
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9945
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8671
9946
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8672
9947
  # platforms (ab)use it in PIC code, but their linkers get confused if
8673
9948
  # the symbol is explicitly referenced.  Since portable code cannot
8674
9949
  # rely on this symbol name, it's probably fine to never include it in
8675
9950
  # preloaded symbol tables.
 
9951
  # Exclude shared library initialization/finalization symbols.
8676
9952
  extract_expsyms_cmds=
8677
9953
  # Just being paranoid about ensuring that cc_basename is set.
8678
9954
  for cc_temp in $compiler""; do
8731
10007
 
8732
10008
    # See if GNU ld supports shared libraries.
8733
10009
    case $host_os in
8734
 
    aix3* | aix4* | aix5*)
 
10010
    aix[3-9]*)
8735
10011
      # On AIX/PPC, the GNU linker is very broken
8736
10012
      if test "$host_cpu" != ia64; then
8737
10013
        ld_shlibs=no
8779
10055
      allow_undefined_flag=unsupported
8780
10056
      always_export_symbols=no
8781
10057
      enable_shared_with_static_runtimes=yes
8782
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
10058
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8783
10059
 
8784
10060
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8785
10061
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8797
10073
      fi
8798
10074
      ;;
8799
10075
 
8800
 
    interix3*)
 
10076
    interix[3-9]*)
8801
10077
      hardcode_direct=no
8802
10078
      hardcode_shlibpath_var=no
8803
10079
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8812
10088
      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'
8813
10089
      ;;
8814
10090
 
8815
 
    linux*)
 
10091
    gnu* | linux* | k*bsd*-gnu)
8816
10092
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8817
10093
        tmp_addflag=
8818
10094
        case $cc_basename,$host_cpu in
8830
10106
        ifc* | ifort*)                  # Intel Fortran compiler
8831
10107
          tmp_addflag=' -nofor_main' ;;
8832
10108
        esac
8833
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10109
        case `$CC -V 2>&1 | sed 5q` in
 
10110
        *Sun\ C*)                       # Sun C 5.9
 
10111
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
10112
          tmp_sharedflag='-G' ;;
 
10113
        *Sun\ F*)                       # Sun Fortran 8.3
 
10114
          tmp_sharedflag='-G' ;;
 
10115
        *)
 
10116
          tmp_sharedflag='-shared' ;;
 
10117
        esac
 
10118
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8834
10119
 
8835
10120
        if test $supports_anon_versioning = yes; then
8836
10121
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8837
10122
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8838
10123
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8839
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10124
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8840
10125
        fi
8841
10126
      else
8842
10127
        ld_shlibs=no
8941
10226
      fi
8942
10227
      ;;
8943
10228
 
8944
 
    aix4* | aix5*)
 
10229
    aix[4-9]*)
8945
10230
      if test "$host_cpu" = ia64; then
8946
10231
        # On IA64, the linker does run time linking by default, so we don't
8947
10232
        # have to do anything special.
8961
10246
        # Test if we are trying to use run time linking or normal
8962
10247
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8963
10248
        # need to do runtime linking.
8964
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
10249
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8965
10250
          for ld_flag in $LDFLAGS; do
8966
10251
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8967
10252
            aix_use_runtimelinking=yes
8995
10280
           strings "$collect2name" | grep resolve_lib_name >/dev/null
8996
10281
          then
8997
10282
          # We have reworked collect2
8998
 
          hardcode_direct=yes
 
10283
          :
8999
10284
          else
9000
10285
          # We have old collect2
9001
10286
          hardcode_direct=unsupported
9051
10336
}
9052
10337
_ACEOF
9053
10338
rm -f conftest.$ac_objext conftest$ac_exeext
9054
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9055
 
  (eval $ac_link) 2>conftest.er1
 
10339
if { (ac_try="$ac_link"
 
10340
case "(($ac_try" in
 
10341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10342
  *) ac_try_echo=$ac_try;;
 
10343
esac
 
10344
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10345
  (eval "$ac_link") 2>conftest.er1
9056
10346
  ac_status=$?
9057
10347
  grep -v '^ *+' conftest.er1 >conftest.err
9058
10348
  rm -f conftest.er1
9059
10349
  cat conftest.err >&5
9060
10350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061
 
  (exit $ac_status); } &&
9062
 
         { ac_try='test -z "$ac_c_werror_flag"
9063
 
                         || test ! -s conftest.err'
9064
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065
 
  (eval $ac_try) 2>&5
9066
 
  ac_status=$?
9067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068
 
  (exit $ac_status); }; } &&
9069
 
         { ac_try='test -s conftest$ac_exeext'
9070
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071
 
  (eval $ac_try) 2>&5
9072
 
  ac_status=$?
9073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
 
  (exit $ac_status); }; }; then
 
10351
  (exit $ac_status); } && {
 
10352
         test -z "$ac_c_werror_flag" ||
 
10353
         test ! -s conftest.err
 
10354
       } && test -s conftest$ac_exeext &&
 
10355
       $as_test_x conftest$ac_exeext; then
9075
10356
 
9076
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9077
 
}'`
 
10357
lt_aix_libpath_sed='
 
10358
    /Import File Strings/,/^$/ {
 
10359
        /^0/ {
 
10360
            s/^0  *\(.*\)$/\1/
 
10361
            p
 
10362
        }
 
10363
    }'
 
10364
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9078
10365
# Check for a 64-bit object if we didn't find anything.
9079
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9080
 
}'`; fi
 
10366
if test -z "$aix_libpath"; then
 
10367
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10368
fi
9081
10369
else
9082
10370
  echo "$as_me: failed program was:" >&5
9083
10371
sed 's/^/| /' conftest.$ac_ext >&5
9084
10372
 
 
10373
 
9085
10374
fi
9086
 
rm -f conftest.err conftest.$ac_objext \
 
10375
 
 
10376
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9087
10377
      conftest$ac_exeext conftest.$ac_ext
9088
10378
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9089
10379
 
9112
10402
}
9113
10403
_ACEOF
9114
10404
rm -f conftest.$ac_objext conftest$ac_exeext
9115
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9116
 
  (eval $ac_link) 2>conftest.er1
 
10405
if { (ac_try="$ac_link"
 
10406
case "(($ac_try" in
 
10407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10408
  *) ac_try_echo=$ac_try;;
 
10409
esac
 
10410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10411
  (eval "$ac_link") 2>conftest.er1
9117
10412
  ac_status=$?
9118
10413
  grep -v '^ *+' conftest.er1 >conftest.err
9119
10414
  rm -f conftest.er1
9120
10415
  cat conftest.err >&5
9121
10416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122
 
  (exit $ac_status); } &&
9123
 
         { ac_try='test -z "$ac_c_werror_flag"
9124
 
                         || test ! -s conftest.err'
9125
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126
 
  (eval $ac_try) 2>&5
9127
 
  ac_status=$?
9128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129
 
  (exit $ac_status); }; } &&
9130
 
         { ac_try='test -s conftest$ac_exeext'
9131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132
 
  (eval $ac_try) 2>&5
9133
 
  ac_status=$?
9134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135
 
  (exit $ac_status); }; }; then
 
10417
  (exit $ac_status); } && {
 
10418
         test -z "$ac_c_werror_flag" ||
 
10419
         test ! -s conftest.err
 
10420
       } && test -s conftest$ac_exeext &&
 
10421
       $as_test_x conftest$ac_exeext; then
9136
10422
 
9137
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9138
 
}'`
 
10423
lt_aix_libpath_sed='
 
10424
    /Import File Strings/,/^$/ {
 
10425
        /^0/ {
 
10426
            s/^0  *\(.*\)$/\1/
 
10427
            p
 
10428
        }
 
10429
    }'
 
10430
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9139
10431
# Check for a 64-bit object if we didn't find anything.
9140
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9141
 
}'`; fi
 
10432
if test -z "$aix_libpath"; then
 
10433
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10434
fi
9142
10435
else
9143
10436
  echo "$as_me: failed program was:" >&5
9144
10437
sed 's/^/| /' conftest.$ac_ext >&5
9145
10438
 
 
10439
 
9146
10440
fi
9147
 
rm -f conftest.err conftest.$ac_objext \
 
10441
 
 
10442
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9148
10443
      conftest$ac_exeext conftest.$ac_ext
9149
10444
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9150
10445
 
9190
10485
      # The linker will automatically build a .lib file if we build a DLL.
9191
10486
      old_archive_From_new_cmds='true'
9192
10487
      # FIXME: Should let the user specify the lib program.
9193
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
10488
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9194
10489
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9195
10490
      enable_shared_with_static_runtimes=yes
9196
10491
      ;;
9223
10518
      link_all_deplibs=yes
9224
10519
    if test "$GCC" = yes ; then
9225
10520
        output_verbose_link_cmd='echo'
9226
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9227
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9228
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9229
 
      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}'
9230
 
      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}'
 
10521
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10522
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10523
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
10524
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9231
10525
    else
9232
10526
      case $cc_basename in
9233
10527
        xlc*)
9234
10528
         output_verbose_link_cmd='echo'
9235
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
10529
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9236
10530
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9237
10531
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9238
 
         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}'
 
10532
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9239
10533
          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}'
9240
10534
          ;;
9241
10535
       *)
9275
10569
      ;;
9276
10570
 
9277
10571
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9278
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
10572
    freebsd* | dragonfly*)
9279
10573
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9280
10574
      hardcode_libdir_flag_spec='-R$libdir'
9281
10575
      hardcode_direct=yes
9397
10691
      ;;
9398
10692
 
9399
10693
    openbsd*)
9400
 
      hardcode_direct=yes
9401
 
      hardcode_shlibpath_var=no
9402
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9403
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9404
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9405
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9406
 
        export_dynamic_flag_spec='${wl}-E'
 
10694
      if test -f /usr/libexec/ld.so; then
 
10695
        hardcode_direct=yes
 
10696
        hardcode_shlibpath_var=no
 
10697
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10698
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10699
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
10700
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10701
          export_dynamic_flag_spec='${wl}-E'
 
10702
        else
 
10703
          case $host_os in
 
10704
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
10705
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10706
             hardcode_libdir_flag_spec='-R$libdir'
 
10707
             ;;
 
10708
           *)
 
10709
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10710
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10711
             ;;
 
10712
          esac
 
10713
        fi
9407
10714
      else
9408
 
       case $host_os in
9409
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9410
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9411
 
           hardcode_libdir_flag_spec='-R$libdir'
9412
 
           ;;
9413
 
         *)
9414
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9415
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9416
 
           ;;
9417
 
       esac
 
10715
        ld_shlibs=no
9418
10716
      fi
9419
10717
      ;;
9420
10718
 
9473
10771
      case $host_os in
9474
10772
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9475
10773
      *)
9476
 
        # The compiler driver will combine linker options so we
9477
 
        # cannot just pass the convience library names through
9478
 
        # without $wl, iff we do not link with $LD.
9479
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
10774
        # The compiler driver will combine and reorder linker options,
 
10775
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10776
        # but is careful enough not to reorder.
9480
10777
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9481
 
        case $wlarc in
9482
 
        '')
9483
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9484
 
        *)
9485
 
          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' ;;
9486
 
        esac ;;
 
10778
        if test "$GCC" = yes; then
 
10779
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10780
        else
 
10781
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10782
        fi
 
10783
        ;;
9487
10784
      esac
9488
10785
      link_all_deplibs=yes
9489
10786
      ;;
9540
10837
      fi
9541
10838
      ;;
9542
10839
 
9543
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10840
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9544
10841
      no_undefined_flag='${wl}-z,text'
9545
10842
      archive_cmds_need_lc=no
9546
10843
      hardcode_shlibpath_var=no
9593
10890
    esac
9594
10891
  fi
9595
10892
 
9596
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9597
 
echo "${ECHO_T}$ld_shlibs" >&6
 
10893
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10894
echo "${ECHO_T}$ld_shlibs" >&6; }
9598
10895
test "$ld_shlibs" = no && can_build_shared=no
9599
10896
 
9600
10897
#
9614
10911
      # Test whether the compiler implicitly links with -lc since on some
9615
10912
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9616
10913
      # to ld, don't add -lc before -lgcc.
9617
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9618
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
10914
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10915
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9619
10916
      $rm conftest*
9620
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10917
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9621
10918
 
9622
10919
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9623
10920
  (eval $ac_compile) 2>&5
9652
10949
        cat conftest.err 1>&5
9653
10950
      fi
9654
10951
      $rm conftest*
9655
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9656
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
10952
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10953
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9657
10954
      ;;
9658
10955
    esac
9659
10956
  fi
9660
10957
  ;;
9661
10958
esac
9662
10959
 
9663
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9664
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
10960
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10961
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9665
10962
library_names_spec=
9666
10963
libname_spec='lib$name'
9667
10964
soname_spec=
9675
10972
version_type=none
9676
10973
dynamic_linker="$host_os ld.so"
9677
10974
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10975
 
9678
10976
if test "$GCC" = yes; then
9679
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9680
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
10977
  case $host_os in
 
10978
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10979
    *) lt_awk_arg="/^libraries:/" ;;
 
10980
  esac
 
10981
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10982
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9681
10983
    # if the path contains ";" then we assume it to be the separator
9682
10984
    # otherwise default to the standard path separator (i.e. ":") - it is
9683
10985
    # assumed that no part of a normal pathname contains ";" but that should
9684
10986
    # okay in the real world where ";" in dirpaths is itself problematic.
9685
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10987
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9686
10988
  else
9687
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10989
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9688
10990
  fi
 
10991
  # Ok, now we have the path, separated by spaces, we can step through it
 
10992
  # and add multilib dir if necessary.
 
10993
  lt_tmp_lt_search_path_spec=
 
10994
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10995
  for lt_sys_path in $lt_search_path_spec; do
 
10996
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10997
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10998
    else
 
10999
      test -d "$lt_sys_path" && \
 
11000
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
11001
    fi
 
11002
  done
 
11003
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
11004
BEGIN {RS=" "; FS="/|\n";} {
 
11005
  lt_foo="";
 
11006
  lt_count=0;
 
11007
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
11008
    if ($lt_i != "" && $lt_i != ".") {
 
11009
      if ($lt_i == "..") {
 
11010
        lt_count++;
 
11011
      } else {
 
11012
        if (lt_count == 0) {
 
11013
          lt_foo="/" $lt_i lt_foo;
 
11014
        } else {
 
11015
          lt_count--;
 
11016
        }
 
11017
      }
 
11018
    }
 
11019
  }
 
11020
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
11021
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
11022
}'`
 
11023
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
9689
11024
else
9690
11025
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9691
11026
fi
9706
11041
  soname_spec='${libname}${release}${shared_ext}$major'
9707
11042
  ;;
9708
11043
 
9709
 
aix4* | aix5*)
 
11044
aix[4-9]*)
9710
11045
  version_type=linux
9711
11046
  need_lib_prefix=no
9712
11047
  need_version=no
9826
11161
    esac
9827
11162
    ;;
9828
11163
 
9829
 
  linux*)
9830
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
9831
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9832
 
      supports_anon_versioning=no
9833
 
      case `$LD -v 2>/dev/null` in
9834
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9835
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9836
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9837
 
        *\ 2.11.*) ;; # other 2.11 versions
9838
 
        *) supports_anon_versioning=yes ;;
9839
 
      esac
9840
 
      if test $supports_anon_versioning = yes; then
9841
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9842
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9843
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
9844
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9845
 
      else
9846
 
        $archive_expsym_cmds="$archive_cmds"
9847
 
      fi
9848
 
    else
9849
 
      ld_shlibs=no
9850
 
    fi
9851
 
    ;;
9852
 
 
9853
11164
  *)
9854
11165
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9855
11166
    ;;
9869
11180
  shlibpath_overrides_runpath=yes
9870
11181
  shlibpath_var=DYLD_LIBRARY_PATH
9871
11182
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9872
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9873
 
  if test "$GCC" = yes; then
9874
 
    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"`
9875
 
  else
9876
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9877
 
  fi
 
11183
 
 
11184
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9878
11185
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9879
11186
  ;;
9880
11187
 
9891
11198
  dynamic_linker=no
9892
11199
  ;;
9893
11200
 
9894
 
kfreebsd*-gnu)
9895
 
  version_type=linux
9896
 
  need_lib_prefix=no
9897
 
  need_version=no
9898
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9899
 
  soname_spec='${libname}${release}${shared_ext}$major'
9900
 
  shlibpath_var=LD_LIBRARY_PATH
9901
 
  shlibpath_overrides_runpath=no
9902
 
  hardcode_into_libs=yes
9903
 
  dynamic_linker='GNU ld.so'
9904
 
  ;;
9905
 
 
9906
11201
freebsd* | dragonfly*)
9907
11202
  # DragonFly does not have aout.  When/if they implement a new
9908
11203
  # versioning mechanism, adjust this.
9953
11248
    shlibpath_overrides_runpath=no
9954
11249
    hardcode_into_libs=yes
9955
11250
    ;;
9956
 
  freebsd*) # from 4.6 on
 
11251
  *) # from 4.6 on, and DragonFly
9957
11252
    shlibpath_overrides_runpath=yes
9958
11253
    hardcode_into_libs=yes
9959
11254
    ;;
10016
11311
  postinstall_cmds='chmod 555 $lib'
10017
11312
  ;;
10018
11313
 
10019
 
interix3*)
 
11314
interix[3-9]*)
10020
11315
  version_type=linux
10021
11316
  need_lib_prefix=no
10022
11317
  need_version=no
10071
11366
  ;;
10072
11367
 
10073
11368
# This must be Linux ELF.
10074
 
linux*)
 
11369
linux* | k*bsd*-gnu)
10075
11370
  version_type=linux
10076
11371
  need_lib_prefix=no
10077
11372
  need_version=no
10087
11382
 
10088
11383
  # Append ld.so.conf contents to the search path
10089
11384
  if test -f /etc/ld.so.conf; then
10090
 
    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' ' '`
 
11385
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10091
11386
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10092
11387
  fi
10093
11388
 
10100
11395
  dynamic_linker='GNU/Linux ld.so'
10101
11396
  ;;
10102
11397
 
10103
 
knetbsd*-gnu)
10104
 
  version_type=linux
10105
 
  need_lib_prefix=no
10106
 
  need_version=no
10107
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10108
 
  soname_spec='${libname}${release}${shared_ext}$major'
10109
 
  shlibpath_var=LD_LIBRARY_PATH
10110
 
  shlibpath_overrides_runpath=no
10111
 
  hardcode_into_libs=yes
10112
 
  dynamic_linker='GNU ld.so'
10113
 
  ;;
10114
 
 
10115
11398
netbsd*)
10116
11399
  version_type=sunos
10117
11400
  need_lib_prefix=no
10193
11476
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10194
11477
  ;;
10195
11478
 
 
11479
rdos*)
 
11480
  dynamic_linker=no
 
11481
  ;;
 
11482
 
10196
11483
solaris*)
10197
11484
  version_type=linux
10198
11485
  need_lib_prefix=no
10285
11572
  dynamic_linker=no
10286
11573
  ;;
10287
11574
esac
10288
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10289
 
echo "${ECHO_T}$dynamic_linker" >&6
 
11575
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11576
echo "${ECHO_T}$dynamic_linker" >&6; }
10290
11577
test "$dynamic_linker" = no && can_build_shared=no
10291
11578
 
 
11579
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11580
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11581
else
 
11582
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
11583
fi
 
11584
 
 
11585
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11586
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11587
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11588
else
 
11589
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
11590
fi
 
11591
 
 
11592
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11593
 
10292
11594
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10293
11595
if test "$GCC" = yes; then
10294
11596
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10295
11597
fi
10296
11598
 
10297
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10298
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
11599
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11600
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10299
11601
hardcode_action=
10300
11602
if test -n "$hardcode_libdir_flag_spec" || \
10301
11603
   test -n "$runpath_var" || \
10319
11621
  # directories.
10320
11622
  hardcode_action=unsupported
10321
11623
fi
10322
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10323
 
echo "${ECHO_T}$hardcode_action" >&6
 
11624
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11625
echo "${ECHO_T}$hardcode_action" >&6; }
10324
11626
 
10325
11627
if test "$hardcode_action" = relink; then
10326
11628
  # Fast installation is not supported
10333
11635
 
10334
11636
striplib=
10335
11637
old_striplib=
10336
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10337
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
11638
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11639
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10338
11640
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10339
11641
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10340
11642
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10341
 
  echo "$as_me:$LINENO: result: yes" >&5
10342
 
echo "${ECHO_T}yes" >&6
 
11643
  { echo "$as_me:$LINENO: result: yes" >&5
 
11644
echo "${ECHO_T}yes" >&6; }
10343
11645
else
10344
11646
# FIXME - insert some real tests, host_os isn't really good enough
10345
11647
  case $host_os in
10346
11648
   darwin*)
10347
11649
       if test -n "$STRIP" ; then
10348
11650
         striplib="$STRIP -x"
10349
 
         echo "$as_me:$LINENO: result: yes" >&5
10350
 
echo "${ECHO_T}yes" >&6
 
11651
         old_striplib="$STRIP -S"
 
11652
         { echo "$as_me:$LINENO: result: yes" >&5
 
11653
echo "${ECHO_T}yes" >&6; }
10351
11654
       else
10352
 
  echo "$as_me:$LINENO: result: no" >&5
10353
 
echo "${ECHO_T}no" >&6
 
11655
  { echo "$as_me:$LINENO: result: no" >&5
 
11656
echo "${ECHO_T}no" >&6; }
10354
11657
fi
10355
11658
       ;;
10356
11659
   *)
10357
 
  echo "$as_me:$LINENO: result: no" >&5
10358
 
echo "${ECHO_T}no" >&6
 
11660
  { echo "$as_me:$LINENO: result: no" >&5
 
11661
echo "${ECHO_T}no" >&6; }
10359
11662
    ;;
10360
11663
  esac
10361
11664
fi
10387
11690
 
10388
11691
  darwin*)
10389
11692
  # if libdl is installed we need to link against it
10390
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10391
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11693
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11694
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10392
11695
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10393
11696
  echo $ECHO_N "(cached) $ECHO_C" >&6
10394
11697
else
10401
11704
cat >>conftest.$ac_ext <<_ACEOF
10402
11705
/* end confdefs.h.  */
10403
11706
 
10404
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11707
/* Override any GCC internal prototype to avoid an error.
 
11708
   Use char because int might match the return type of a GCC
 
11709
   builtin and then its argument prototype would still apply.  */
10405
11710
#ifdef __cplusplus
10406
11711
extern "C"
10407
11712
#endif
10408
 
/* We use char because int might match the return type of a gcc2
10409
 
   builtin and then its argument prototype would still apply.  */
10410
11713
char dlopen ();
10411
11714
int
10412
11715
main ()
10413
11716
{
10414
 
dlopen ();
 
11717
return dlopen ();
10415
11718
  ;
10416
11719
  return 0;
10417
11720
}
10418
11721
_ACEOF
10419
11722
rm -f conftest.$ac_objext conftest$ac_exeext
10420
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421
 
  (eval $ac_link) 2>conftest.er1
 
11723
if { (ac_try="$ac_link"
 
11724
case "(($ac_try" in
 
11725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11726
  *) ac_try_echo=$ac_try;;
 
11727
esac
 
11728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11729
  (eval "$ac_link") 2>conftest.er1
10422
11730
  ac_status=$?
10423
11731
  grep -v '^ *+' conftest.er1 >conftest.err
10424
11732
  rm -f conftest.er1
10425
11733
  cat conftest.err >&5
10426
11734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427
 
  (exit $ac_status); } &&
10428
 
         { ac_try='test -z "$ac_c_werror_flag"
10429
 
                         || test ! -s conftest.err'
10430
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431
 
  (eval $ac_try) 2>&5
10432
 
  ac_status=$?
10433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434
 
  (exit $ac_status); }; } &&
10435
 
         { ac_try='test -s conftest$ac_exeext'
10436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437
 
  (eval $ac_try) 2>&5
10438
 
  ac_status=$?
10439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440
 
  (exit $ac_status); }; }; then
 
11735
  (exit $ac_status); } && {
 
11736
         test -z "$ac_c_werror_flag" ||
 
11737
         test ! -s conftest.err
 
11738
       } && test -s conftest$ac_exeext &&
 
11739
       $as_test_x conftest$ac_exeext; then
10441
11740
  ac_cv_lib_dl_dlopen=yes
10442
11741
else
10443
11742
  echo "$as_me: failed program was:" >&5
10444
11743
sed 's/^/| /' conftest.$ac_ext >&5
10445
11744
 
10446
 
ac_cv_lib_dl_dlopen=no
 
11745
        ac_cv_lib_dl_dlopen=no
10447
11746
fi
10448
 
rm -f conftest.err conftest.$ac_objext \
 
11747
 
 
11748
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10449
11749
      conftest$ac_exeext conftest.$ac_ext
10450
11750
LIBS=$ac_check_lib_save_LIBS
10451
11751
fi
10452
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10453
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
11752
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11753
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10454
11754
if test $ac_cv_lib_dl_dlopen = yes; then
10455
11755
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10456
11756
else
10464
11764
   ;;
10465
11765
 
10466
11766
  *)
10467
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
10468
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
11767
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
11768
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10469
11769
if test "${ac_cv_func_shl_load+set}" = set; then
10470
11770
  echo $ECHO_N "(cached) $ECHO_C" >&6
10471
11771
else
10492
11792
 
10493
11793
#undef shl_load
10494
11794
 
10495
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11795
/* Override any GCC internal prototype to avoid an error.
 
11796
   Use char because int might match the return type of a GCC
 
11797
   builtin and then its argument prototype would still apply.  */
10496
11798
#ifdef __cplusplus
10497
11799
extern "C"
10498
 
{
10499
11800
#endif
10500
 
/* We use char because int might match the return type of a gcc2
10501
 
   builtin and then its argument prototype would still apply.  */
10502
11801
char shl_load ();
10503
11802
/* The GNU C library defines this for functions which it implements
10504
11803
    to always fail with ENOSYS.  Some functions are actually named
10505
11804
    something starting with __ and the normal name is an alias.  */
10506
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
11805
#if defined __stub_shl_load || defined __stub___shl_load
10507
11806
choke me
10508
 
#else
10509
 
char (*f) () = shl_load;
10510
 
#endif
10511
 
#ifdef __cplusplus
10512
 
}
10513
11807
#endif
10514
11808
 
10515
11809
int
10516
11810
main ()
10517
11811
{
10518
 
return f != shl_load;
 
11812
return shl_load ();
10519
11813
  ;
10520
11814
  return 0;
10521
11815
}
10522
11816
_ACEOF
10523
11817
rm -f conftest.$ac_objext conftest$ac_exeext
10524
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10525
 
  (eval $ac_link) 2>conftest.er1
 
11818
if { (ac_try="$ac_link"
 
11819
case "(($ac_try" in
 
11820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11821
  *) ac_try_echo=$ac_try;;
 
11822
esac
 
11823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11824
  (eval "$ac_link") 2>conftest.er1
10526
11825
  ac_status=$?
10527
11826
  grep -v '^ *+' conftest.er1 >conftest.err
10528
11827
  rm -f conftest.er1
10529
11828
  cat conftest.err >&5
10530
11829
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531
 
  (exit $ac_status); } &&
10532
 
         { ac_try='test -z "$ac_c_werror_flag"
10533
 
                         || test ! -s conftest.err'
10534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535
 
  (eval $ac_try) 2>&5
10536
 
  ac_status=$?
10537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538
 
  (exit $ac_status); }; } &&
10539
 
         { ac_try='test -s conftest$ac_exeext'
10540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541
 
  (eval $ac_try) 2>&5
10542
 
  ac_status=$?
10543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544
 
  (exit $ac_status); }; }; then
 
11830
  (exit $ac_status); } && {
 
11831
         test -z "$ac_c_werror_flag" ||
 
11832
         test ! -s conftest.err
 
11833
       } && test -s conftest$ac_exeext &&
 
11834
       $as_test_x conftest$ac_exeext; then
10545
11835
  ac_cv_func_shl_load=yes
10546
11836
else
10547
11837
  echo "$as_me: failed program was:" >&5
10548
11838
sed 's/^/| /' conftest.$ac_ext >&5
10549
11839
 
10550
 
ac_cv_func_shl_load=no
 
11840
        ac_cv_func_shl_load=no
10551
11841
fi
10552
 
rm -f conftest.err conftest.$ac_objext \
 
11842
 
 
11843
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10553
11844
      conftest$ac_exeext conftest.$ac_ext
10554
11845
fi
10555
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10556
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
11846
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11847
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10557
11848
if test $ac_cv_func_shl_load = yes; then
10558
11849
  lt_cv_dlopen="shl_load"
10559
11850
else
10560
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10561
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
11851
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11852
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10562
11853
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10563
11854
  echo $ECHO_N "(cached) $ECHO_C" >&6
10564
11855
else
10571
11862
cat >>conftest.$ac_ext <<_ACEOF
10572
11863
/* end confdefs.h.  */
10573
11864
 
10574
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11865
/* Override any GCC internal prototype to avoid an error.
 
11866
   Use char because int might match the return type of a GCC
 
11867
   builtin and then its argument prototype would still apply.  */
10575
11868
#ifdef __cplusplus
10576
11869
extern "C"
10577
11870
#endif
10578
 
/* We use char because int might match the return type of a gcc2
10579
 
   builtin and then its argument prototype would still apply.  */
10580
11871
char shl_load ();
10581
11872
int
10582
11873
main ()
10583
11874
{
10584
 
shl_load ();
 
11875
return shl_load ();
10585
11876
  ;
10586
11877
  return 0;
10587
11878
}
10588
11879
_ACEOF
10589
11880
rm -f conftest.$ac_objext conftest$ac_exeext
10590
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10591
 
  (eval $ac_link) 2>conftest.er1
 
11881
if { (ac_try="$ac_link"
 
11882
case "(($ac_try" in
 
11883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11884
  *) ac_try_echo=$ac_try;;
 
11885
esac
 
11886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11887
  (eval "$ac_link") 2>conftest.er1
10592
11888
  ac_status=$?
10593
11889
  grep -v '^ *+' conftest.er1 >conftest.err
10594
11890
  rm -f conftest.er1
10595
11891
  cat conftest.err >&5
10596
11892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597
 
  (exit $ac_status); } &&
10598
 
         { ac_try='test -z "$ac_c_werror_flag"
10599
 
                         || test ! -s conftest.err'
10600
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10601
 
  (eval $ac_try) 2>&5
10602
 
  ac_status=$?
10603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604
 
  (exit $ac_status); }; } &&
10605
 
         { ac_try='test -s conftest$ac_exeext'
10606
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607
 
  (eval $ac_try) 2>&5
10608
 
  ac_status=$?
10609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610
 
  (exit $ac_status); }; }; then
 
11893
  (exit $ac_status); } && {
 
11894
         test -z "$ac_c_werror_flag" ||
 
11895
         test ! -s conftest.err
 
11896
       } && test -s conftest$ac_exeext &&
 
11897
       $as_test_x conftest$ac_exeext; then
10611
11898
  ac_cv_lib_dld_shl_load=yes
10612
11899
else
10613
11900
  echo "$as_me: failed program was:" >&5
10614
11901
sed 's/^/| /' conftest.$ac_ext >&5
10615
11902
 
10616
 
ac_cv_lib_dld_shl_load=no
 
11903
        ac_cv_lib_dld_shl_load=no
10617
11904
fi
10618
 
rm -f conftest.err conftest.$ac_objext \
 
11905
 
 
11906
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10619
11907
      conftest$ac_exeext conftest.$ac_ext
10620
11908
LIBS=$ac_check_lib_save_LIBS
10621
11909
fi
10622
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10623
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
11910
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11911
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10624
11912
if test $ac_cv_lib_dld_shl_load = yes; then
10625
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
11913
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10626
11914
else
10627
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
10628
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
11915
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
11916
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10629
11917
if test "${ac_cv_func_dlopen+set}" = set; then
10630
11918
  echo $ECHO_N "(cached) $ECHO_C" >&6
10631
11919
else
10652
11940
 
10653
11941
#undef dlopen
10654
11942
 
10655
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11943
/* Override any GCC internal prototype to avoid an error.
 
11944
   Use char because int might match the return type of a GCC
 
11945
   builtin and then its argument prototype would still apply.  */
10656
11946
#ifdef __cplusplus
10657
11947
extern "C"
10658
 
{
10659
11948
#endif
10660
 
/* We use char because int might match the return type of a gcc2
10661
 
   builtin and then its argument prototype would still apply.  */
10662
11949
char dlopen ();
10663
11950
/* The GNU C library defines this for functions which it implements
10664
11951
    to always fail with ENOSYS.  Some functions are actually named
10665
11952
    something starting with __ and the normal name is an alias.  */
10666
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
11953
#if defined __stub_dlopen || defined __stub___dlopen
10667
11954
choke me
10668
 
#else
10669
 
char (*f) () = dlopen;
10670
 
#endif
10671
 
#ifdef __cplusplus
10672
 
}
10673
11955
#endif
10674
11956
 
10675
11957
int
10676
11958
main ()
10677
11959
{
10678
 
return f != dlopen;
 
11960
return dlopen ();
10679
11961
  ;
10680
11962
  return 0;
10681
11963
}
10682
11964
_ACEOF
10683
11965
rm -f conftest.$ac_objext conftest$ac_exeext
10684
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10685
 
  (eval $ac_link) 2>conftest.er1
 
11966
if { (ac_try="$ac_link"
 
11967
case "(($ac_try" in
 
11968
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11969
  *) ac_try_echo=$ac_try;;
 
11970
esac
 
11971
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11972
  (eval "$ac_link") 2>conftest.er1
10686
11973
  ac_status=$?
10687
11974
  grep -v '^ *+' conftest.er1 >conftest.err
10688
11975
  rm -f conftest.er1
10689
11976
  cat conftest.err >&5
10690
11977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691
 
  (exit $ac_status); } &&
10692
 
         { ac_try='test -z "$ac_c_werror_flag"
10693
 
                         || test ! -s conftest.err'
10694
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695
 
  (eval $ac_try) 2>&5
10696
 
  ac_status=$?
10697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698
 
  (exit $ac_status); }; } &&
10699
 
         { ac_try='test -s conftest$ac_exeext'
10700
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701
 
  (eval $ac_try) 2>&5
10702
 
  ac_status=$?
10703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704
 
  (exit $ac_status); }; }; then
 
11978
  (exit $ac_status); } && {
 
11979
         test -z "$ac_c_werror_flag" ||
 
11980
         test ! -s conftest.err
 
11981
       } && test -s conftest$ac_exeext &&
 
11982
       $as_test_x conftest$ac_exeext; then
10705
11983
  ac_cv_func_dlopen=yes
10706
11984
else
10707
11985
  echo "$as_me: failed program was:" >&5
10708
11986
sed 's/^/| /' conftest.$ac_ext >&5
10709
11987
 
10710
 
ac_cv_func_dlopen=no
 
11988
        ac_cv_func_dlopen=no
10711
11989
fi
10712
 
rm -f conftest.err conftest.$ac_objext \
 
11990
 
 
11991
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10713
11992
      conftest$ac_exeext conftest.$ac_ext
10714
11993
fi
10715
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10716
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
11994
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11995
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10717
11996
if test $ac_cv_func_dlopen = yes; then
10718
11997
  lt_cv_dlopen="dlopen"
10719
11998
else
10720
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10721
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11999
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12000
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10722
12001
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10723
12002
  echo $ECHO_N "(cached) $ECHO_C" >&6
10724
12003
else
10731
12010
cat >>conftest.$ac_ext <<_ACEOF
10732
12011
/* end confdefs.h.  */
10733
12012
 
10734
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12013
/* Override any GCC internal prototype to avoid an error.
 
12014
   Use char because int might match the return type of a GCC
 
12015
   builtin and then its argument prototype would still apply.  */
10735
12016
#ifdef __cplusplus
10736
12017
extern "C"
10737
12018
#endif
10738
 
/* We use char because int might match the return type of a gcc2
10739
 
   builtin and then its argument prototype would still apply.  */
10740
12019
char dlopen ();
10741
12020
int
10742
12021
main ()
10743
12022
{
10744
 
dlopen ();
 
12023
return dlopen ();
10745
12024
  ;
10746
12025
  return 0;
10747
12026
}
10748
12027
_ACEOF
10749
12028
rm -f conftest.$ac_objext conftest$ac_exeext
10750
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10751
 
  (eval $ac_link) 2>conftest.er1
 
12029
if { (ac_try="$ac_link"
 
12030
case "(($ac_try" in
 
12031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12032
  *) ac_try_echo=$ac_try;;
 
12033
esac
 
12034
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12035
  (eval "$ac_link") 2>conftest.er1
10752
12036
  ac_status=$?
10753
12037
  grep -v '^ *+' conftest.er1 >conftest.err
10754
12038
  rm -f conftest.er1
10755
12039
  cat conftest.err >&5
10756
12040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757
 
  (exit $ac_status); } &&
10758
 
         { ac_try='test -z "$ac_c_werror_flag"
10759
 
                         || test ! -s conftest.err'
10760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761
 
  (eval $ac_try) 2>&5
10762
 
  ac_status=$?
10763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764
 
  (exit $ac_status); }; } &&
10765
 
         { ac_try='test -s conftest$ac_exeext'
10766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767
 
  (eval $ac_try) 2>&5
10768
 
  ac_status=$?
10769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770
 
  (exit $ac_status); }; }; then
 
12041
  (exit $ac_status); } && {
 
12042
         test -z "$ac_c_werror_flag" ||
 
12043
         test ! -s conftest.err
 
12044
       } && test -s conftest$ac_exeext &&
 
12045
       $as_test_x conftest$ac_exeext; then
10771
12046
  ac_cv_lib_dl_dlopen=yes
10772
12047
else
10773
12048
  echo "$as_me: failed program was:" >&5
10774
12049
sed 's/^/| /' conftest.$ac_ext >&5
10775
12050
 
10776
 
ac_cv_lib_dl_dlopen=no
 
12051
        ac_cv_lib_dl_dlopen=no
10777
12052
fi
10778
 
rm -f conftest.err conftest.$ac_objext \
 
12053
 
 
12054
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10779
12055
      conftest$ac_exeext conftest.$ac_ext
10780
12056
LIBS=$ac_check_lib_save_LIBS
10781
12057
fi
10782
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10783
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12058
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12059
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10784
12060
if test $ac_cv_lib_dl_dlopen = yes; then
10785
12061
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10786
12062
else
10787
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10788
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
12063
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
12064
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10789
12065
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10790
12066
  echo $ECHO_N "(cached) $ECHO_C" >&6
10791
12067
else
10798
12074
cat >>conftest.$ac_ext <<_ACEOF
10799
12075
/* end confdefs.h.  */
10800
12076
 
10801
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12077
/* Override any GCC internal prototype to avoid an error.
 
12078
   Use char because int might match the return type of a GCC
 
12079
   builtin and then its argument prototype would still apply.  */
10802
12080
#ifdef __cplusplus
10803
12081
extern "C"
10804
12082
#endif
10805
 
/* We use char because int might match the return type of a gcc2
10806
 
   builtin and then its argument prototype would still apply.  */
10807
12083
char dlopen ();
10808
12084
int
10809
12085
main ()
10810
12086
{
10811
 
dlopen ();
 
12087
return dlopen ();
10812
12088
  ;
10813
12089
  return 0;
10814
12090
}
10815
12091
_ACEOF
10816
12092
rm -f conftest.$ac_objext conftest$ac_exeext
10817
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10818
 
  (eval $ac_link) 2>conftest.er1
 
12093
if { (ac_try="$ac_link"
 
12094
case "(($ac_try" in
 
12095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12096
  *) ac_try_echo=$ac_try;;
 
12097
esac
 
12098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12099
  (eval "$ac_link") 2>conftest.er1
10819
12100
  ac_status=$?
10820
12101
  grep -v '^ *+' conftest.er1 >conftest.err
10821
12102
  rm -f conftest.er1
10822
12103
  cat conftest.err >&5
10823
12104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824
 
  (exit $ac_status); } &&
10825
 
         { ac_try='test -z "$ac_c_werror_flag"
10826
 
                         || test ! -s conftest.err'
10827
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828
 
  (eval $ac_try) 2>&5
10829
 
  ac_status=$?
10830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831
 
  (exit $ac_status); }; } &&
10832
 
         { ac_try='test -s conftest$ac_exeext'
10833
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834
 
  (eval $ac_try) 2>&5
10835
 
  ac_status=$?
10836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837
 
  (exit $ac_status); }; }; then
 
12105
  (exit $ac_status); } && {
 
12106
         test -z "$ac_c_werror_flag" ||
 
12107
         test ! -s conftest.err
 
12108
       } && test -s conftest$ac_exeext &&
 
12109
       $as_test_x conftest$ac_exeext; then
10838
12110
  ac_cv_lib_svld_dlopen=yes
10839
12111
else
10840
12112
  echo "$as_me: failed program was:" >&5
10841
12113
sed 's/^/| /' conftest.$ac_ext >&5
10842
12114
 
10843
 
ac_cv_lib_svld_dlopen=no
 
12115
        ac_cv_lib_svld_dlopen=no
10844
12116
fi
10845
 
rm -f conftest.err conftest.$ac_objext \
 
12117
 
 
12118
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10846
12119
      conftest$ac_exeext conftest.$ac_ext
10847
12120
LIBS=$ac_check_lib_save_LIBS
10848
12121
fi
10849
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10850
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
12122
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12123
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10851
12124
if test $ac_cv_lib_svld_dlopen = yes; then
10852
12125
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10853
12126
else
10854
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10855
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
12127
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12128
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10856
12129
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10857
12130
  echo $ECHO_N "(cached) $ECHO_C" >&6
10858
12131
else
10865
12138
cat >>conftest.$ac_ext <<_ACEOF
10866
12139
/* end confdefs.h.  */
10867
12140
 
10868
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12141
/* Override any GCC internal prototype to avoid an error.
 
12142
   Use char because int might match the return type of a GCC
 
12143
   builtin and then its argument prototype would still apply.  */
10869
12144
#ifdef __cplusplus
10870
12145
extern "C"
10871
12146
#endif
10872
 
/* We use char because int might match the return type of a gcc2
10873
 
   builtin and then its argument prototype would still apply.  */
10874
12147
char dld_link ();
10875
12148
int
10876
12149
main ()
10877
12150
{
10878
 
dld_link ();
 
12151
return dld_link ();
10879
12152
  ;
10880
12153
  return 0;
10881
12154
}
10882
12155
_ACEOF
10883
12156
rm -f conftest.$ac_objext conftest$ac_exeext
10884
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10885
 
  (eval $ac_link) 2>conftest.er1
 
12157
if { (ac_try="$ac_link"
 
12158
case "(($ac_try" in
 
12159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12160
  *) ac_try_echo=$ac_try;;
 
12161
esac
 
12162
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12163
  (eval "$ac_link") 2>conftest.er1
10886
12164
  ac_status=$?
10887
12165
  grep -v '^ *+' conftest.er1 >conftest.err
10888
12166
  rm -f conftest.er1
10889
12167
  cat conftest.err >&5
10890
12168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891
 
  (exit $ac_status); } &&
10892
 
         { ac_try='test -z "$ac_c_werror_flag"
10893
 
                         || test ! -s conftest.err'
10894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895
 
  (eval $ac_try) 2>&5
10896
 
  ac_status=$?
10897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898
 
  (exit $ac_status); }; } &&
10899
 
         { ac_try='test -s conftest$ac_exeext'
10900
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901
 
  (eval $ac_try) 2>&5
10902
 
  ac_status=$?
10903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904
 
  (exit $ac_status); }; }; then
 
12169
  (exit $ac_status); } && {
 
12170
         test -z "$ac_c_werror_flag" ||
 
12171
         test ! -s conftest.err
 
12172
       } && test -s conftest$ac_exeext &&
 
12173
       $as_test_x conftest$ac_exeext; then
10905
12174
  ac_cv_lib_dld_dld_link=yes
10906
12175
else
10907
12176
  echo "$as_me: failed program was:" >&5
10908
12177
sed 's/^/| /' conftest.$ac_ext >&5
10909
12178
 
10910
 
ac_cv_lib_dld_dld_link=no
 
12179
        ac_cv_lib_dld_dld_link=no
10911
12180
fi
10912
 
rm -f conftest.err conftest.$ac_objext \
 
12181
 
 
12182
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10913
12183
      conftest$ac_exeext conftest.$ac_ext
10914
12184
LIBS=$ac_check_lib_save_LIBS
10915
12185
fi
10916
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10917
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
12186
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12187
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10918
12188
if test $ac_cv_lib_dld_dld_link = yes; then
10919
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
12189
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10920
12190
fi
10921
12191
 
10922
12192
 
10954
12224
    save_LIBS="$LIBS"
10955
12225
    LIBS="$lt_cv_dlopen_libs $LIBS"
10956
12226
 
10957
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10958
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
12227
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12228
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10959
12229
if test "${lt_cv_dlopen_self+set}" = set; then
10960
12230
  echo $ECHO_N "(cached) $ECHO_C" >&6
10961
12231
else
10965
12235
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10966
12236
  lt_status=$lt_dlunknown
10967
12237
  cat > conftest.$ac_ext <<EOF
10968
 
#line 10968 "configure"
 
12238
#line 12238 "configure"
10969
12239
#include "confdefs.h"
10970
12240
 
10971
12241
#if HAVE_DLFCN_H
11049
12319
 
11050
12320
 
11051
12321
fi
11052
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11053
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
12322
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12323
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11054
12324
 
11055
12325
    if test "x$lt_cv_dlopen_self" = xyes; then
11056
12326
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11057
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11058
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
12327
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12328
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11059
12329
if test "${lt_cv_dlopen_self_static+set}" = set; then
11060
12330
  echo $ECHO_N "(cached) $ECHO_C" >&6
11061
12331
else
11065
12335
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11066
12336
  lt_status=$lt_dlunknown
11067
12337
  cat > conftest.$ac_ext <<EOF
11068
 
#line 11068 "configure"
 
12338
#line 12338 "configure"
11069
12339
#include "confdefs.h"
11070
12340
 
11071
12341
#if HAVE_DLFCN_H
11149
12419
 
11150
12420
 
11151
12421
fi
11152
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11153
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
12422
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12423
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11154
12424
    fi
11155
12425
 
11156
12426
    CPPFLAGS="$save_CPPFLAGS"
11172
12442
 
11173
12443
 
11174
12444
# Report which library types will actually be built
11175
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11176
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11177
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11178
 
echo "${ECHO_T}$can_build_shared" >&6
 
12445
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12446
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
12447
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12448
echo "${ECHO_T}$can_build_shared" >&6; }
11179
12449
 
11180
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11181
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
12450
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12451
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11182
12452
test "$can_build_shared" = "no" && enable_shared=no
11183
12453
 
11184
12454
# On AIX, shared libraries and static libraries use the same namespace, and
11192
12462
  fi
11193
12463
  ;;
11194
12464
 
11195
 
aix4* | aix5*)
 
12465
aix[4-9]*)
11196
12466
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11197
12467
    test "$enable_shared" = yes && enable_static=no
11198
12468
  fi
11199
12469
    ;;
11200
12470
esac
11201
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
11202
 
echo "${ECHO_T}$enable_shared" >&6
 
12471
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12472
echo "${ECHO_T}$enable_shared" >&6; }
11203
12473
 
11204
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11205
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
12474
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12475
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11206
12476
# Make sure either enable_shared or enable_static is yes.
11207
12477
test "$enable_shared" = yes || enable_static=yes
11208
 
echo "$as_me:$LINENO: result: $enable_static" >&5
11209
 
echo "${ECHO_T}$enable_static" >&6
 
12478
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
12479
echo "${ECHO_T}$enable_static" >&6; }
11210
12480
 
11211
12481
# The else clause should only fire when bootstrapping the
11212
12482
# libtool distribution, otherwise you forgot to ship ltmain.sh
11248
12518
    predeps \
11249
12519
    postdeps \
11250
12520
    compiler_lib_search_path \
 
12521
    compiler_lib_search_dirs \
11251
12522
    archive_cmds \
11252
12523
    archive_expsym_cmds \
11253
12524
    postinstall_cmds \
11263
12534
    module_cmds \
11264
12535
    module_expsym_cmds \
11265
12536
    lt_cv_prog_compiler_c_o \
 
12537
    fix_srcfile_path \
11266
12538
    exclude_expsyms \
11267
12539
    include_expsyms; do
11268
12540
 
11307
12579
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11308
12580
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11309
12581
#
11310
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
12582
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11311
12583
# Free Software Foundation, Inc.
11312
12584
#
11313
12585
# This file is part of GNU Libtool:
11543
12815
# shared library.
11544
12816
postdeps=$lt_postdeps
11545
12817
 
 
12818
# The directories searched by this compiler when creating a shared
 
12819
# library
 
12820
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
12821
 
11546
12822
# The library search path used internally by the compiler when linking
11547
12823
# a shared library.
11548
12824
compiler_lib_search_path=$lt_compiler_lib_search_path
11631
12907
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11632
12908
 
11633
12909
# Fix the shell variable \$srcfile for the compiler.
11634
 
fix_srcfile_path="$fix_srcfile_path"
 
12910
fix_srcfile_path=$lt_fix_srcfile_path
11635
12911
 
11636
12912
# Set to yes if exported symbols are required.
11637
12913
always_export_symbols=$always_export_symbols
11689
12965
fi
11690
12966
 
11691
12967
 
11692
 
ac_ext=cc
 
12968
ac_ext=cpp
11693
12969
ac_cpp='$CXXCPP $CPPFLAGS'
11694
12970
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11695
12971
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11698
12974
CC="$lt_save_CC"
11699
12975
 
11700
12976
 
11701
 
# Check whether --with-tags or --without-tags was given.
 
12977
# Check whether --with-tags was given.
11702
12978
if test "${with_tags+set}" = set; then
11703
 
  withval="$with_tags"
11704
 
  tagnames="$withval"
11705
 
fi;
 
12979
  withval=$with_tags; tagnames="$withval"
 
12980
fi
 
12981
 
11706
12982
 
11707
12983
if test -f "$ltmain" && test -n "$tagnames"; then
11708
12984
  if test ! -f "${ofile}"; then
11756
13032
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11757
13033
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11758
13034
            (test "X$CXX" != "Xg++"))) ; then
11759
 
          ac_ext=cc
 
13035
          ac_ext=cpp
11760
13036
ac_cpp='$CXXCPP $CPPFLAGS'
11761
13037
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11762
13038
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791
13067
predeps_CXX=
11792
13068
postdeps_CXX=
11793
13069
compiler_lib_search_path_CXX=
 
13070
compiler_lib_search_dirs_CXX=
11794
13071
 
11795
13072
# Source file extension for C++ test sources.
11796
13073
ac_ext=cpp
11800
13077
objext_CXX=$objext
11801
13078
 
11802
13079
# Code to be used in simple compile tests
11803
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
13080
lt_simple_compile_test_code="int some_variable = 0;"
11804
13081
 
11805
13082
# Code to be used in simple link tests
11806
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
13083
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11807
13084
 
11808
13085
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11809
13086
 
11819
13096
 
11820
13097
# save warnings/boilerplate of simple test code
11821
13098
ac_outfile=conftest.$ac_objext
11822
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13099
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11823
13100
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11824
13101
_lt_compiler_boilerplate=`cat conftest.err`
11825
13102
$rm conftest*
11826
13103
 
11827
13104
ac_outfile=conftest.$ac_objext
11828
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
13105
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11829
13106
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11830
13107
_lt_linker_boilerplate=`cat conftest.err`
11831
 
$rm conftest*
 
13108
$rm -r conftest*
11832
13109
 
11833
13110
 
11834
13111
# Allow CC to be a program name with arguments.
11875
13152
  # Set up default GNU C++ configuration
11876
13153
 
11877
13154
 
11878
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
13155
# Check whether --with-gnu-ld was given.
11879
13156
if test "${with_gnu_ld+set}" = set; then
11880
 
  withval="$with_gnu_ld"
11881
 
  test "$withval" = no || with_gnu_ld=yes
 
13157
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11882
13158
else
11883
13159
  with_gnu_ld=no
11884
 
fi;
 
13160
fi
 
13161
 
11885
13162
ac_prog=ld
11886
13163
if test "$GCC" = yes; then
11887
13164
  # Check if gcc -print-prog-name=ld gives a path.
11888
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11889
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
13165
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
13166
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11890
13167
  case $host in
11891
13168
  *-*-mingw*)
11892
13169
    # gcc leaves a trailing carriage return which upsets mingw
11915
13192
    ;;
11916
13193
  esac
11917
13194
elif test "$with_gnu_ld" = yes; then
11918
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
11919
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
13195
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13196
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11920
13197
else
11921
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11922
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
13198
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13199
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11923
13200
fi
11924
13201
if test "${lt_cv_path_LD+set}" = set; then
11925
13202
  echo $ECHO_N "(cached) $ECHO_C" >&6
11952
13229
 
11953
13230
LD="$lt_cv_path_LD"
11954
13231
if test -n "$LD"; then
11955
 
  echo "$as_me:$LINENO: result: $LD" >&5
11956
 
echo "${ECHO_T}$LD" >&6
 
13232
  { echo "$as_me:$LINENO: result: $LD" >&5
 
13233
echo "${ECHO_T}$LD" >&6; }
11957
13234
else
11958
 
  echo "$as_me:$LINENO: result: no" >&5
11959
 
echo "${ECHO_T}no" >&6
 
13235
  { echo "$as_me:$LINENO: result: no" >&5
 
13236
echo "${ECHO_T}no" >&6; }
11960
13237
fi
11961
13238
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11962
13239
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11963
13240
   { (exit 1); exit 1; }; }
11964
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11965
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
13241
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13242
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11966
13243
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11967
13244
  echo $ECHO_N "(cached) $ECHO_C" >&6
11968
13245
else
11976
13253
  ;;
11977
13254
esac
11978
13255
fi
11979
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11980
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
13256
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
13257
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11981
13258
with_gnu_ld=$lt_cv_prog_gnu_ld
11982
13259
 
11983
13260
 
12027
13304
fi
12028
13305
 
12029
13306
# PORTME: fill in a description of your system's C++ link characteristics
12030
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12031
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13307
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13308
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12032
13309
ld_shlibs_CXX=yes
12033
13310
case $host_os in
12034
13311
  aix3*)
12035
13312
    # FIXME: insert proper C++ library support
12036
13313
    ld_shlibs_CXX=no
12037
13314
    ;;
12038
 
  aix4* | aix5*)
 
13315
  aix[4-9]*)
12039
13316
    if test "$host_cpu" = ia64; then
12040
13317
      # On IA64, the linker does run time linking by default, so we don't
12041
13318
      # have to do anything special.
12048
13325
      # Test if we are trying to use run time linking or normal
12049
13326
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12050
13327
      # need to do runtime linking.
12051
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
13328
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12052
13329
        for ld_flag in $LDFLAGS; do
12053
13330
          case $ld_flag in
12054
13331
          *-brtl*)
12084
13361
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12085
13362
        then
12086
13363
          # We have reworked collect2
12087
 
          hardcode_direct_CXX=yes
 
13364
          :
12088
13365
        else
12089
13366
          # We have old collect2
12090
13367
          hardcode_direct_CXX=unsupported
12140
13417
}
12141
13418
_ACEOF
12142
13419
rm -f conftest.$ac_objext conftest$ac_exeext
12143
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12144
 
  (eval $ac_link) 2>conftest.er1
 
13420
if { (ac_try="$ac_link"
 
13421
case "(($ac_try" in
 
13422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13423
  *) ac_try_echo=$ac_try;;
 
13424
esac
 
13425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13426
  (eval "$ac_link") 2>conftest.er1
12145
13427
  ac_status=$?
12146
13428
  grep -v '^ *+' conftest.er1 >conftest.err
12147
13429
  rm -f conftest.er1
12148
13430
  cat conftest.err >&5
12149
13431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150
 
  (exit $ac_status); } &&
12151
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12152
 
                         || test ! -s conftest.err'
12153
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12154
 
  (eval $ac_try) 2>&5
12155
 
  ac_status=$?
12156
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157
 
  (exit $ac_status); }; } &&
12158
 
         { ac_try='test -s conftest$ac_exeext'
12159
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12160
 
  (eval $ac_try) 2>&5
12161
 
  ac_status=$?
12162
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163
 
  (exit $ac_status); }; }; then
 
13432
  (exit $ac_status); } && {
 
13433
         test -z "$ac_cxx_werror_flag" ||
 
13434
         test ! -s conftest.err
 
13435
       } && test -s conftest$ac_exeext &&
 
13436
       $as_test_x conftest$ac_exeext; then
12164
13437
 
12165
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12166
 
}'`
 
13438
lt_aix_libpath_sed='
 
13439
    /Import File Strings/,/^$/ {
 
13440
        /^0/ {
 
13441
            s/^0  *\(.*\)$/\1/
 
13442
            p
 
13443
        }
 
13444
    }'
 
13445
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12167
13446
# Check for a 64-bit object if we didn't find anything.
12168
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12169
 
}'`; fi
 
13447
if test -z "$aix_libpath"; then
 
13448
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13449
fi
12170
13450
else
12171
13451
  echo "$as_me: failed program was:" >&5
12172
13452
sed 's/^/| /' conftest.$ac_ext >&5
12173
13453
 
 
13454
 
12174
13455
fi
12175
 
rm -f conftest.err conftest.$ac_objext \
 
13456
 
 
13457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12176
13458
      conftest$ac_exeext conftest.$ac_ext
12177
13459
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12178
13460
 
12202
13484
}
12203
13485
_ACEOF
12204
13486
rm -f conftest.$ac_objext conftest$ac_exeext
12205
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12206
 
  (eval $ac_link) 2>conftest.er1
 
13487
if { (ac_try="$ac_link"
 
13488
case "(($ac_try" in
 
13489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13490
  *) ac_try_echo=$ac_try;;
 
13491
esac
 
13492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13493
  (eval "$ac_link") 2>conftest.er1
12207
13494
  ac_status=$?
12208
13495
  grep -v '^ *+' conftest.er1 >conftest.err
12209
13496
  rm -f conftest.er1
12210
13497
  cat conftest.err >&5
12211
13498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212
 
  (exit $ac_status); } &&
12213
 
         { ac_try='test -z "$ac_cxx_werror_flag"
12214
 
                         || test ! -s conftest.err'
12215
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12216
 
  (eval $ac_try) 2>&5
12217
 
  ac_status=$?
12218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219
 
  (exit $ac_status); }; } &&
12220
 
         { ac_try='test -s conftest$ac_exeext'
12221
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222
 
  (eval $ac_try) 2>&5
12223
 
  ac_status=$?
12224
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225
 
  (exit $ac_status); }; }; then
 
13499
  (exit $ac_status); } && {
 
13500
         test -z "$ac_cxx_werror_flag" ||
 
13501
         test ! -s conftest.err
 
13502
       } && test -s conftest$ac_exeext &&
 
13503
       $as_test_x conftest$ac_exeext; then
12226
13504
 
12227
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12228
 
}'`
 
13505
lt_aix_libpath_sed='
 
13506
    /Import File Strings/,/^$/ {
 
13507
        /^0/ {
 
13508
            s/^0  *\(.*\)$/\1/
 
13509
            p
 
13510
        }
 
13511
    }'
 
13512
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12229
13513
# Check for a 64-bit object if we didn't find anything.
12230
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12231
 
}'`; fi
 
13514
if test -z "$aix_libpath"; then
 
13515
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13516
fi
12232
13517
else
12233
13518
  echo "$as_me: failed program was:" >&5
12234
13519
sed 's/^/| /' conftest.$ac_ext >&5
12235
13520
 
 
13521
 
12236
13522
fi
12237
 
rm -f conftest.err conftest.$ac_objext \
 
13523
 
 
13524
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12238
13525
      conftest$ac_exeext conftest.$ac_ext
12239
13526
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12240
13527
 
12296
13583
    fi
12297
13584
  ;;
12298
13585
      darwin* | rhapsody*)
12299
 
        case $host_os in
12300
 
        rhapsody* | darwin1.[012])
12301
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12302
 
         ;;
12303
 
       *) # Darwin 1.3 on
12304
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12305
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12306
 
         else
12307
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12308
 
             10.[012])
12309
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12310
 
               ;;
12311
 
             10.*)
12312
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12313
 
               ;;
12314
 
           esac
12315
 
         fi
12316
 
         ;;
12317
 
        esac
12318
13586
      archive_cmds_need_lc_CXX=no
12319
13587
      hardcode_direct_CXX=no
12320
13588
      hardcode_automatic_CXX=yes
12321
13589
      hardcode_shlibpath_var_CXX=unsupported
12322
13590
      whole_archive_flag_spec_CXX=''
12323
13591
      link_all_deplibs_CXX=yes
12324
 
 
12325
 
    if test "$GXX" = yes ; then
12326
 
      lt_int_apple_cc_single_mod=no
 
13592
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
13593
      if test "$GXX" = yes ; then
12327
13594
      output_verbose_link_cmd='echo'
12328
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12329
 
       lt_int_apple_cc_single_mod=yes
 
13595
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
13596
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
13597
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
13598
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
13599
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
13600
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
13601
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12330
13602
      fi
12331
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12332
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12333
 
      else
12334
 
          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'
12335
 
        fi
12336
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12337
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12338
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12339
 
            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}'
12340
 
          else
12341
 
            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}'
12342
 
          fi
12343
 
            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}'
12344
13603
      else
12345
13604
      case $cc_basename in
12346
13605
        xlc*)
12347
13606
         output_verbose_link_cmd='echo'
12348
 
          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'
 
13607
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12349
13608
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12350
13609
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12351
 
          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}'
 
13610
          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12352
13611
          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}'
12353
13612
          ;;
12354
13613
       *)
12382
13641
  freebsd-elf*)
12383
13642
    archive_cmds_need_lc_CXX=no
12384
13643
    ;;
12385
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
13644
  freebsd* | dragonfly*)
12386
13645
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12387
13646
    # conventions
12388
13647
    ld_shlibs_CXX=yes
12431
13690
      hardcode_libdir_separator_CXX=:
12432
13691
 
12433
13692
      case $host_cpu in
12434
 
      hppa*64*|ia64*)
12435
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12436
 
        ;;
 
13693
      hppa*64*|ia64*) ;;
12437
13694
      *)
12438
13695
        export_dynamic_flag_spec_CXX='${wl}-E'
12439
13696
        ;;
12501
13758
        ;;
12502
13759
    esac
12503
13760
    ;;
12504
 
  interix3*)
 
13761
  interix[3-9]*)
12505
13762
    hardcode_direct_CXX=no
12506
13763
    hardcode_shlibpath_var_CXX=no
12507
13764
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12541
13798
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12542
13799
    hardcode_libdir_separator_CXX=:
12543
13800
    ;;
12544
 
  linux*)
 
13801
  linux* | k*bsd*-gnu)
12545
13802
    case $cc_basename in
12546
13803
      KCC*)
12547
13804
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12593
13850
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12594
13851
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12595
13852
        ;;
12596
 
      pgCC*)
 
13853
      pgCC* | pgcpp*)
12597
13854
        # Portland Group C++ compiler
12598
13855
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12599
13856
        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'
12621
13878
        # dependencies.
12622
13879
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12623
13880
        ;;
 
13881
      *)
 
13882
        case `$CC -V 2>&1 | sed 5q` in
 
13883
        *Sun\ C*)
 
13884
          # Sun C++ 5.9
 
13885
          no_undefined_flag_CXX=' -zdefs'
 
13886
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13887
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
13888
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13889
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
13890
 
 
13891
          # Not sure whether something based on
 
13892
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13893
          # would be better.
 
13894
          output_verbose_link_cmd='echo'
 
13895
 
 
13896
          # Archives containing C++ object files must be created using
 
13897
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13898
          # necessary to make sure instantiated templates are included
 
13899
          # in the archive.
 
13900
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13901
          ;;
 
13902
        esac
 
13903
        ;;
12624
13904
    esac
12625
13905
    ;;
12626
13906
  lynxos*)
12659
13939
    ld_shlibs_CXX=no
12660
13940
    ;;
12661
13941
  openbsd*)
12662
 
    hardcode_direct_CXX=yes
12663
 
    hardcode_shlibpath_var_CXX=no
12664
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12665
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12666
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12667
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12668
 
      export_dynamic_flag_spec_CXX='${wl}-E'
12669
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13942
    if test -f /usr/libexec/ld.so; then
 
13943
      hardcode_direct_CXX=yes
 
13944
      hardcode_shlibpath_var_CXX=no
 
13945
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13946
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13947
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13948
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13949
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13950
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13951
      fi
 
13952
      output_verbose_link_cmd='echo'
 
13953
    else
 
13954
      ld_shlibs_CXX=no
12670
13955
    fi
12671
 
    output_verbose_link_cmd='echo'
12672
13956
    ;;
12673
13957
  osf3*)
12674
13958
    case $cc_basename in
12830
14114
        case $host_os in
12831
14115
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12832
14116
          *)
12833
 
            # The C++ compiler is used as linker so we must use $wl
12834
 
            # flag to pass the commands to the underlying system
12835
 
            # linker. We must also pass each convience library through
12836
 
            # to the system linker between allextract/defaultextract.
12837
 
            # The C++ compiler will combine linker options so we
12838
 
            # cannot just pass the convience library names through
12839
 
            # without $wl.
 
14117
            # The compiler driver will combine and reorder linker options,
 
14118
            # but understands `-z linker_flag'.
12840
14119
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12841
 
            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'
 
14120
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12842
14121
            ;;
12843
14122
        esac
12844
14123
        link_all_deplibs_CXX=yes
12885
14164
          fi
12886
14165
 
12887
14166
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
14167
          case $host_os in
 
14168
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
14169
          *)
 
14170
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
14171
            ;;
 
14172
          esac
12888
14173
        fi
12889
14174
        ;;
12890
14175
    esac
12965
14250
    ld_shlibs_CXX=no
12966
14251
    ;;
12967
14252
esac
12968
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12969
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14253
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14254
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12970
14255
test "$ld_shlibs_CXX" = no && can_build_shared=no
12971
14256
 
12972
14257
GCC_CXX="$GXX"
12973
14258
LD_CXX="$LD"
12974
14259
 
12975
 
 
12976
14260
cat > conftest.$ac_ext <<EOF
12977
14261
class Foo
12978
14262
{
13074
14358
 
13075
14359
$rm -f confest.$objext
13076
14360
 
 
14361
compiler_lib_search_dirs_CXX=
 
14362
if test -n "$compiler_lib_search_path_CXX"; then
 
14363
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
14364
fi
 
14365
 
13077
14366
# PORTME: override above test on systems where it is broken
13078
14367
case $host_os in
13079
 
interix3*)
 
14368
interix[3-9]*)
13080
14369
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13081
14370
  # hack all around it, let's just trust "g++" to DTRT.
13082
14371
  predep_objects_CXX=
13084
14373
  postdeps_CXX=
13085
14374
  ;;
13086
14375
 
 
14376
linux*)
 
14377
  case `$CC -V 2>&1 | sed 5q` in
 
14378
  *Sun\ C*)
 
14379
    # Sun C++ 5.9
 
14380
    #
 
14381
    # The more standards-conforming stlport4 library is
 
14382
    # incompatible with the Cstd library. Avoid specifying
 
14383
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14384
    # -library=stlport4 depends on it.
 
14385
    case " $CXX $CXXFLAGS " in
 
14386
    *" -library=stlport4 "*)
 
14387
      solaris_use_stlport4=yes
 
14388
      ;;
 
14389
    esac
 
14390
    if test "$solaris_use_stlport4" != yes; then
 
14391
      postdeps_CXX='-library=Cstd -library=Crun'
 
14392
    fi
 
14393
    ;;
 
14394
  esac
 
14395
  ;;
 
14396
 
13087
14397
solaris*)
13088
14398
  case $cc_basename in
13089
14399
  CC*)
 
14400
    # The more standards-conforming stlport4 library is
 
14401
    # incompatible with the Cstd library. Avoid specifying
 
14402
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14403
    # -library=stlport4 depends on it.
 
14404
    case " $CXX $CXXFLAGS " in
 
14405
    *" -library=stlport4 "*)
 
14406
      solaris_use_stlport4=yes
 
14407
      ;;
 
14408
    esac
 
14409
 
13090
14410
    # Adding this requires a known-good setup of shared libraries for
13091
14411
    # Sun compiler versions before 5.6, else PIC objects from an old
13092
14412
    # archive will be linked into the output, leading to subtle bugs.
13093
 
    postdeps_CXX='-lCstd -lCrun'
 
14413
    if test "$solaris_use_stlport4" != yes; then
 
14414
      postdeps_CXX='-library=Cstd -library=Crun'
 
14415
    fi
13094
14416
    ;;
13095
14417
  esac
13096
14418
  ;;
13097
14419
esac
13098
14420
 
13099
 
 
13100
14421
case " $postdeps_CXX " in
13101
14422
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13102
14423
esac
13105
14426
lt_prog_compiler_pic_CXX=
13106
14427
lt_prog_compiler_static_CXX=
13107
14428
 
13108
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13109
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14429
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14430
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13110
14431
 
13111
14432
  # C++ specific cases for pic, static, wl, etc.
13112
14433
  if test "$GXX" = yes; then
13127
14448
      # like `-m68040'.
13128
14449
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13129
14450
      ;;
13130
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14451
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13131
14452
      # PIC is the default for these OSes.
13132
14453
      ;;
13133
 
    mingw* | os2* | pw32*)
 
14454
    mingw* | cygwin* | os2* | pw32*)
13134
14455
      # This hack is so that the source file can tell whether it is being
13135
14456
      # built for inclusion in a dll (and should export symbols for example).
 
14457
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14458
      # (--disable-auto-import) libraries
13136
14459
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13137
14460
      ;;
13138
14461
    darwin* | rhapsody*)
13144
14467
      # DJGPP does not support shared libraries at all
13145
14468
      lt_prog_compiler_pic_CXX=
13146
14469
      ;;
13147
 
    interix3*)
 
14470
    interix[3-9]*)
13148
14471
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13149
14472
      # Instead, we relocate shared libraries at runtime.
13150
14473
      ;;
13170
14493
    esac
13171
14494
  else
13172
14495
    case $host_os in
13173
 
      aix4* | aix5*)
 
14496
      aix[4-9]*)
13174
14497
        # All AIX code is PIC.
13175
14498
        if test "$host_cpu" = ia64; then
13176
14499
          # AIX 5 now supports IA64 processor
13210
14533
            ;;
13211
14534
        esac
13212
14535
        ;;
13213
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
14536
      freebsd* | dragonfly*)
13214
14537
        # FreeBSD uses GNU C++
13215
14538
        ;;
13216
14539
      hpux9* | hpux10* | hpux11*)
13253
14576
            ;;
13254
14577
        esac
13255
14578
        ;;
13256
 
      linux*)
 
14579
      linux* | k*bsd*-gnu)
13257
14580
        case $cc_basename in
13258
14581
          KCC*)
13259
14582
            # KAI C++ Compiler
13266
14589
            lt_prog_compiler_pic_CXX='-KPIC'
13267
14590
            lt_prog_compiler_static_CXX='-static'
13268
14591
            ;;
13269
 
          pgCC*)
 
14592
          pgCC* | pgcpp*)
13270
14593
            # Portland Group C++ compiler.
13271
14594
            lt_prog_compiler_wl_CXX='-Wl,'
13272
14595
            lt_prog_compiler_pic_CXX='-fpic'
13280
14603
            lt_prog_compiler_static_CXX='-non_shared'
13281
14604
            ;;
13282
14605
          *)
 
14606
            case `$CC -V 2>&1 | sed 5q` in
 
14607
            *Sun\ C*)
 
14608
              # Sun C++ 5.9
 
14609
              lt_prog_compiler_pic_CXX='-KPIC'
 
14610
              lt_prog_compiler_static_CXX='-Bstatic'
 
14611
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
14612
              ;;
 
14613
            esac
13283
14614
            ;;
13284
14615
        esac
13285
14616
        ;;
13379
14710
    esac
13380
14711
  fi
13381
14712
 
13382
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13383
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
14713
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
14714
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13384
14715
 
13385
14716
#
13386
14717
# Check to make sure the PIC flag actually works.
13387
14718
#
13388
14719
if test -n "$lt_prog_compiler_pic_CXX"; then
13389
14720
 
13390
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13391
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13392
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
14721
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14722
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
14723
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13393
14724
  echo $ECHO_N "(cached) $ECHO_C" >&6
13394
14725
else
13395
 
  lt_prog_compiler_pic_works_CXX=no
 
14726
  lt_cv_prog_compiler_pic_works_CXX=no
13396
14727
  ac_outfile=conftest.$ac_objext
13397
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14728
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13398
14729
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13399
14730
   # Insert the option either (1) after the last *FLAGS variable, or
13400
14731
   # (2) before a word containing "conftest.", or (3) at the end.
13405
14736
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13406
14737
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13407
14738
   -e 's:$: $lt_compiler_flag:'`
13408
 
   (eval echo "\"\$as_me:13408: $lt_compile\"" >&5)
 
14739
   (eval echo "\"\$as_me:14739: $lt_compile\"" >&5)
13409
14740
   (eval "$lt_compile" 2>conftest.err)
13410
14741
   ac_status=$?
13411
14742
   cat conftest.err >&5
13412
 
   echo "$as_me:13412: \$? = $ac_status" >&5
 
14743
   echo "$as_me:14743: \$? = $ac_status" >&5
13413
14744
   if (exit $ac_status) && test -s "$ac_outfile"; then
13414
14745
     # The compiler can only warn and ignore the option if not recognized
13415
14746
     # So say no if there are warnings other than the usual output.
13416
14747
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13417
14748
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13418
14749
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13419
 
       lt_prog_compiler_pic_works_CXX=yes
 
14750
       lt_cv_prog_compiler_pic_works_CXX=yes
13420
14751
     fi
13421
14752
   fi
13422
14753
   $rm conftest*
13423
14754
 
13424
14755
fi
13425
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13426
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
14756
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14757
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13427
14758
 
13428
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
14759
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13429
14760
    case $lt_prog_compiler_pic_CXX in
13430
14761
     "" | " "*) ;;
13431
14762
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13450
14781
# Check to make sure the static flag actually works.
13451
14782
#
13452
14783
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13453
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13454
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13455
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
14784
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14785
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14786
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13456
14787
  echo $ECHO_N "(cached) $ECHO_C" >&6
13457
14788
else
13458
 
  lt_prog_compiler_static_works_CXX=no
 
14789
  lt_cv_prog_compiler_static_works_CXX=no
13459
14790
   save_LDFLAGS="$LDFLAGS"
13460
14791
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13461
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14792
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13462
14793
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13463
14794
     # The linker can only warn and ignore the option if not recognized
13464
14795
     # So say no if there are warnings
13468
14799
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13469
14800
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13470
14801
       if diff conftest.exp conftest.er2 >/dev/null; then
13471
 
         lt_prog_compiler_static_works_CXX=yes
 
14802
         lt_cv_prog_compiler_static_works_CXX=yes
13472
14803
       fi
13473
14804
     else
13474
 
       lt_prog_compiler_static_works_CXX=yes
 
14805
       lt_cv_prog_compiler_static_works_CXX=yes
13475
14806
     fi
13476
14807
   fi
13477
 
   $rm conftest*
 
14808
   $rm -r conftest*
13478
14809
   LDFLAGS="$save_LDFLAGS"
13479
14810
 
13480
14811
fi
13481
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13482
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
14812
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14813
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13483
14814
 
13484
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14815
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13485
14816
    :
13486
14817
else
13487
14818
    lt_prog_compiler_static_CXX=
13488
14819
fi
13489
14820
 
13490
14821
 
13491
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13492
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14822
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14823
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13493
14824
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13494
14825
  echo $ECHO_N "(cached) $ECHO_C" >&6
13495
14826
else
13498
14829
   mkdir conftest
13499
14830
   cd conftest
13500
14831
   mkdir out
13501
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14832
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13502
14833
 
13503
14834
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13504
14835
   # Insert the option either (1) after the last *FLAGS variable, or
13509
14840
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13510
14841
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13511
14842
   -e 's:$: $lt_compiler_flag:'`
13512
 
   (eval echo "\"\$as_me:13512: $lt_compile\"" >&5)
 
14843
   (eval echo "\"\$as_me:14843: $lt_compile\"" >&5)
13513
14844
   (eval "$lt_compile" 2>out/conftest.err)
13514
14845
   ac_status=$?
13515
14846
   cat out/conftest.err >&5
13516
 
   echo "$as_me:13516: \$? = $ac_status" >&5
 
14847
   echo "$as_me:14847: \$? = $ac_status" >&5
13517
14848
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13518
14849
   then
13519
14850
     # The compiler can only warn and ignore the option if not recognized
13535
14866
   $rm conftest*
13536
14867
 
13537
14868
fi
13538
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13539
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
14869
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14870
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13540
14871
 
13541
14872
 
13542
14873
hard_links="nottested"
13543
14874
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13544
14875
  # do not overwrite the value of need_locks provided by the user
13545
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13546
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14876
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14877
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13547
14878
  hard_links=yes
13548
14879
  $rm conftest*
13549
14880
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13550
14881
  touch conftest.a
13551
14882
  ln conftest.a conftest.b 2>&5 || hard_links=no
13552
14883
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13553
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13554
 
echo "${ECHO_T}$hard_links" >&6
 
14884
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14885
echo "${ECHO_T}$hard_links" >&6; }
13555
14886
  if test "$hard_links" = no; then
13556
14887
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13557
14888
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13561
14892
  need_locks=no
13562
14893
fi
13563
14894
 
13564
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13565
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14895
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14896
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13566
14897
 
13567
14898
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13568
14899
  case $host_os in
13569
 
  aix4* | aix5*)
 
14900
  aix[4-9]*)
13570
14901
    # If we're using GNU nm, then we don't want the "-C" option.
13571
14902
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13572
14903
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13579
14910
    export_symbols_cmds_CXX="$ltdll_cmds"
13580
14911
  ;;
13581
14912
  cygwin* | mingw*)
13582
 
    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'
 
14913
    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'
13583
14914
  ;;
13584
14915
  *)
13585
14916
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13586
14917
  ;;
13587
14918
  esac
 
14919
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13588
14920
 
13589
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13590
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
14921
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14922
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13591
14923
test "$ld_shlibs_CXX" = no && can_build_shared=no
13592
14924
 
13593
14925
#
13607
14939
      # Test whether the compiler implicitly links with -lc since on some
13608
14940
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13609
14941
      # to ld, don't add -lc before -lgcc.
13610
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13611
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
14942
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14943
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13612
14944
      $rm conftest*
13613
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14945
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13614
14946
 
13615
14947
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13616
14948
  (eval $ac_compile) 2>&5
13645
14977
        cat conftest.err 1>&5
13646
14978
      fi
13647
14979
      $rm conftest*
13648
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13649
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
14980
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
14981
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13650
14982
      ;;
13651
14983
    esac
13652
14984
  fi
13653
14985
  ;;
13654
14986
esac
13655
14987
 
13656
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13657
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
14988
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14989
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13658
14990
library_names_spec=
13659
14991
libname_spec='lib$name'
13660
14992
soname_spec=
13668
15000
version_type=none
13669
15001
dynamic_linker="$host_os ld.so"
13670
15002
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13671
 
if test "$GCC" = yes; then
13672
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13673
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13674
 
    # if the path contains ";" then we assume it to be the separator
13675
 
    # otherwise default to the standard path separator (i.e. ":") - it is
13676
 
    # assumed that no part of a normal pathname contains ";" but that should
13677
 
    # okay in the real world where ";" in dirpaths is itself problematic.
13678
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13679
 
  else
13680
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13681
 
  fi
13682
 
else
13683
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13684
 
fi
 
15003
 
13685
15004
need_lib_prefix=unknown
13686
15005
hardcode_into_libs=no
13687
15006
 
13699
15018
  soname_spec='${libname}${release}${shared_ext}$major'
13700
15019
  ;;
13701
15020
 
13702
 
aix4* | aix5*)
 
15021
aix[4-9]*)
13703
15022
  version_type=linux
13704
15023
  need_lib_prefix=no
13705
15024
  need_version=no
13819
15138
    esac
13820
15139
    ;;
13821
15140
 
13822
 
  linux*)
13823
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13824
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13825
 
      supports_anon_versioning=no
13826
 
      case `$LD -v 2>/dev/null` in
13827
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13828
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13829
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13830
 
        *\ 2.11.*) ;; # other 2.11 versions
13831
 
        *) supports_anon_versioning=yes ;;
13832
 
      esac
13833
 
      if test $supports_anon_versioning = yes; then
13834
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13835
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13836
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
13837
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13838
 
      else
13839
 
        $archive_expsym_cmds="$archive_cmds"
13840
 
      fi
13841
 
    else
13842
 
      ld_shlibs=no
13843
 
    fi
13844
 
    ;;
13845
 
 
13846
15141
  *)
13847
15142
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13848
15143
    ;;
13862
15157
  shlibpath_overrides_runpath=yes
13863
15158
  shlibpath_var=DYLD_LIBRARY_PATH
13864
15159
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13865
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13866
 
  if test "$GCC" = yes; then
13867
 
    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"`
13868
 
  else
13869
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13870
 
  fi
 
15160
 
13871
15161
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13872
15162
  ;;
13873
15163
 
13884
15174
  dynamic_linker=no
13885
15175
  ;;
13886
15176
 
13887
 
kfreebsd*-gnu)
13888
 
  version_type=linux
13889
 
  need_lib_prefix=no
13890
 
  need_version=no
13891
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13892
 
  soname_spec='${libname}${release}${shared_ext}$major'
13893
 
  shlibpath_var=LD_LIBRARY_PATH
13894
 
  shlibpath_overrides_runpath=no
13895
 
  hardcode_into_libs=yes
13896
 
  dynamic_linker='GNU ld.so'
13897
 
  ;;
13898
 
 
13899
15177
freebsd* | dragonfly*)
13900
15178
  # DragonFly does not have aout.  When/if they implement a new
13901
15179
  # versioning mechanism, adjust this.
13946
15224
    shlibpath_overrides_runpath=no
13947
15225
    hardcode_into_libs=yes
13948
15226
    ;;
13949
 
  freebsd*) # from 4.6 on
 
15227
  *) # from 4.6 on, and DragonFly
13950
15228
    shlibpath_overrides_runpath=yes
13951
15229
    hardcode_into_libs=yes
13952
15230
    ;;
14009
15287
  postinstall_cmds='chmod 555 $lib'
14010
15288
  ;;
14011
15289
 
14012
 
interix3*)
 
15290
interix[3-9]*)
14013
15291
  version_type=linux
14014
15292
  need_lib_prefix=no
14015
15293
  need_version=no
14064
15342
  ;;
14065
15343
 
14066
15344
# This must be Linux ELF.
14067
 
linux*)
 
15345
linux* | k*bsd*-gnu)
14068
15346
  version_type=linux
14069
15347
  need_lib_prefix=no
14070
15348
  need_version=no
14080
15358
 
14081
15359
  # Append ld.so.conf contents to the search path
14082
15360
  if test -f /etc/ld.so.conf; then
14083
 
    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' ' '`
 
15361
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14084
15362
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14085
15363
  fi
14086
15364
 
14093
15371
  dynamic_linker='GNU/Linux ld.so'
14094
15372
  ;;
14095
15373
 
14096
 
knetbsd*-gnu)
14097
 
  version_type=linux
14098
 
  need_lib_prefix=no
14099
 
  need_version=no
14100
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14101
 
  soname_spec='${libname}${release}${shared_ext}$major'
14102
 
  shlibpath_var=LD_LIBRARY_PATH
14103
 
  shlibpath_overrides_runpath=no
14104
 
  hardcode_into_libs=yes
14105
 
  dynamic_linker='GNU ld.so'
14106
 
  ;;
14107
 
 
14108
15374
netbsd*)
14109
15375
  version_type=sunos
14110
15376
  need_lib_prefix=no
14186
15452
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14187
15453
  ;;
14188
15454
 
 
15455
rdos*)
 
15456
  dynamic_linker=no
 
15457
  ;;
 
15458
 
14189
15459
solaris*)
14190
15460
  version_type=linux
14191
15461
  need_lib_prefix=no
14278
15548
  dynamic_linker=no
14279
15549
  ;;
14280
15550
esac
14281
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14282
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15551
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15552
echo "${ECHO_T}$dynamic_linker" >&6; }
14283
15553
test "$dynamic_linker" = no && can_build_shared=no
14284
15554
 
 
15555
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
15556
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15557
else
 
15558
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
15559
fi
 
15560
 
 
15561
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
15562
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
15563
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15564
else
 
15565
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
15566
fi
 
15567
 
 
15568
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
15569
 
14285
15570
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14286
15571
if test "$GCC" = yes; then
14287
15572
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14288
15573
fi
14289
15574
 
14290
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14291
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15575
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15576
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14292
15577
hardcode_action_CXX=
14293
15578
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14294
15579
   test -n "$runpath_var_CXX" || \
14312
15597
  # directories.
14313
15598
  hardcode_action_CXX=unsupported
14314
15599
fi
14315
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14316
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
15600
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15601
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14317
15602
 
14318
15603
if test "$hardcode_action_CXX" = relink; then
14319
15604
  # Fast installation is not supported
14365
15650
    predeps_CXX \
14366
15651
    postdeps_CXX \
14367
15652
    compiler_lib_search_path_CXX \
 
15653
    compiler_lib_search_dirs_CXX \
14368
15654
    archive_cmds_CXX \
14369
15655
    archive_expsym_cmds_CXX \
14370
15656
    postinstall_cmds_CXX \
14380
15666
    module_cmds_CXX \
14381
15667
    module_expsym_cmds_CXX \
14382
15668
    lt_cv_prog_compiler_c_o_CXX \
 
15669
    fix_srcfile_path_CXX \
14383
15670
    exclude_expsyms_CXX \
14384
15671
    include_expsyms_CXX; do
14385
15672
 
14612
15899
# shared library.
14613
15900
postdeps=$lt_postdeps_CXX
14614
15901
 
 
15902
# The directories searched by this compiler when creating a shared
 
15903
# library
 
15904
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
15905
 
14615
15906
# The library search path used internally by the compiler when linking
14616
15907
# a shared library.
14617
15908
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14700
15991
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14701
15992
 
14702
15993
# Fix the shell variable \$srcfile for the compiler.
14703
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
15994
fix_srcfile_path=$lt_fix_srcfile_path
14704
15995
 
14705
15996
# Set to yes if exported symbols are required.
14706
15997
always_export_symbols=$always_export_symbols_CXX
14733
16024
fi
14734
16025
 
14735
16026
 
14736
 
ac_ext=cc
 
16027
ac_ext=cpp
14737
16028
ac_cpp='$CXXCPP $CPPFLAGS'
14738
16029
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14739
16030
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14791
16082
objext_F77=$objext
14792
16083
 
14793
16084
# Code to be used in simple compile tests
14794
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
16085
lt_simple_compile_test_code="\
 
16086
      subroutine t
 
16087
      return
 
16088
      end
 
16089
"
14795
16090
 
14796
16091
# Code to be used in simple link tests
14797
 
lt_simple_link_test_code="      program t\n      end\n"
 
16092
lt_simple_link_test_code="\
 
16093
      program t
 
16094
      end
 
16095
"
14798
16096
 
14799
16097
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14800
16098
 
14810
16108
 
14811
16109
# save warnings/boilerplate of simple test code
14812
16110
ac_outfile=conftest.$ac_objext
14813
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16111
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14814
16112
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14815
16113
_lt_compiler_boilerplate=`cat conftest.err`
14816
16114
$rm conftest*
14817
16115
 
14818
16116
ac_outfile=conftest.$ac_objext
14819
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16117
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14820
16118
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14821
16119
_lt_linker_boilerplate=`cat conftest.err`
14822
 
$rm conftest*
 
16120
$rm -r conftest*
14823
16121
 
14824
16122
 
14825
16123
# Allow CC to be a program name with arguments.
14838
16136
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14839
16137
 
14840
16138
 
14841
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14842
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14843
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
14844
 
echo "${ECHO_T}$can_build_shared" >&6
 
16139
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
16140
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
16141
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
16142
echo "${ECHO_T}$can_build_shared" >&6; }
14845
16143
 
14846
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14847
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
16144
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
16145
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14848
16146
test "$can_build_shared" = "no" && enable_shared=no
14849
16147
 
14850
16148
# On AIX, shared libraries and static libraries use the same namespace, and
14857
16155
    postinstall_cmds='$RANLIB $lib'
14858
16156
  fi
14859
16157
  ;;
14860
 
aix4* | aix5*)
 
16158
aix[4-9]*)
14861
16159
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14862
16160
    test "$enable_shared" = yes && enable_static=no
14863
16161
  fi
14864
16162
  ;;
14865
16163
esac
14866
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
14867
 
echo "${ECHO_T}$enable_shared" >&6
 
16164
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
16165
echo "${ECHO_T}$enable_shared" >&6; }
14868
16166
 
14869
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14870
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
16167
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
16168
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14871
16169
# Make sure either enable_shared or enable_static is yes.
14872
16170
test "$enable_shared" = yes || enable_static=yes
14873
 
echo "$as_me:$LINENO: result: $enable_static" >&5
14874
 
echo "${ECHO_T}$enable_static" >&6
 
16171
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
16172
echo "${ECHO_T}$enable_static" >&6; }
14875
16173
 
14876
16174
GCC_F77="$G77"
14877
16175
LD_F77="$LD"
14880
16178
lt_prog_compiler_pic_F77=
14881
16179
lt_prog_compiler_static_F77=
14882
16180
 
14883
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14884
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16181
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16182
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14885
16183
 
14886
16184
  if test "$GCC" = yes; then
14887
16185
    lt_prog_compiler_wl_F77='-Wl,'
14903
16201
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14904
16202
      ;;
14905
16203
 
14906
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16204
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14907
16205
      # PIC is the default for these OSes.
14908
16206
      ;;
14909
16207
 
14910
 
    mingw* | pw32* | os2*)
 
16208
    mingw* | cygwin* | pw32* | os2*)
14911
16209
      # This hack is so that the source file can tell whether it is being
14912
16210
      # built for inclusion in a dll (and should export symbols for example).
 
16211
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16212
      # (--disable-auto-import) libraries
14913
16213
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14914
16214
      ;;
14915
16215
 
14919
16219
      lt_prog_compiler_pic_F77='-fno-common'
14920
16220
      ;;
14921
16221
 
14922
 
    interix3*)
 
16222
    interix[3-9]*)
14923
16223
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14924
16224
      # Instead, we relocate shared libraries at runtime.
14925
16225
      ;;
14977
16277
       esac
14978
16278
       ;;
14979
16279
 
14980
 
    mingw* | pw32* | os2*)
 
16280
    mingw* | cygwin* | pw32* | os2*)
14981
16281
      # This hack is so that the source file can tell whether it is being
14982
16282
      # built for inclusion in a dll (and should export symbols for example).
14983
16283
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15010
16310
      lt_prog_compiler_static_F77='-Bstatic'
15011
16311
      ;;
15012
16312
 
15013
 
    linux*)
 
16313
    linux* | k*bsd*-gnu)
15014
16314
      case $cc_basename in
15015
16315
      icc* | ecc*)
15016
16316
        lt_prog_compiler_wl_F77='-Wl,'
15029
16329
        # All Alpha code is PIC.
15030
16330
        lt_prog_compiler_static_F77='-non_shared'
15031
16331
        ;;
 
16332
      *)
 
16333
        case `$CC -V 2>&1 | sed 5q` in
 
16334
        *Sun\ C*)
 
16335
          # Sun C 5.9
 
16336
          lt_prog_compiler_pic_F77='-KPIC'
 
16337
          lt_prog_compiler_static_F77='-Bstatic'
 
16338
          lt_prog_compiler_wl_F77='-Wl,'
 
16339
          ;;
 
16340
        *Sun\ F*)
 
16341
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16342
          lt_prog_compiler_pic_F77='-KPIC'
 
16343
          lt_prog_compiler_static_F77='-Bstatic'
 
16344
          lt_prog_compiler_wl_F77=''
 
16345
          ;;
 
16346
        esac
 
16347
        ;;
15032
16348
      esac
15033
16349
      ;;
15034
16350
 
15038
16354
      lt_prog_compiler_static_F77='-non_shared'
15039
16355
      ;;
15040
16356
 
 
16357
    rdos*)
 
16358
      lt_prog_compiler_static_F77='-non_shared'
 
16359
      ;;
 
16360
 
15041
16361
    solaris*)
15042
16362
      lt_prog_compiler_pic_F77='-KPIC'
15043
16363
      lt_prog_compiler_static_F77='-Bstatic'
15090
16410
    esac
15091
16411
  fi
15092
16412
 
15093
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15094
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
16413
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
16414
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15095
16415
 
15096
16416
#
15097
16417
# Check to make sure the PIC flag actually works.
15098
16418
#
15099
16419
if test -n "$lt_prog_compiler_pic_F77"; then
15100
16420
 
15101
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15102
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15103
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
16421
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
16422
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 
16423
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15104
16424
  echo $ECHO_N "(cached) $ECHO_C" >&6
15105
16425
else
15106
 
  lt_prog_compiler_pic_works_F77=no
 
16426
  lt_cv_prog_compiler_pic_works_F77=no
15107
16427
  ac_outfile=conftest.$ac_objext
15108
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16428
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15109
16429
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15110
16430
   # Insert the option either (1) after the last *FLAGS variable, or
15111
16431
   # (2) before a word containing "conftest.", or (3) at the end.
15116
16436
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15117
16437
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15118
16438
   -e 's:$: $lt_compiler_flag:'`
15119
 
   (eval echo "\"\$as_me:15119: $lt_compile\"" >&5)
 
16439
   (eval echo "\"\$as_me:16439: $lt_compile\"" >&5)
15120
16440
   (eval "$lt_compile" 2>conftest.err)
15121
16441
   ac_status=$?
15122
16442
   cat conftest.err >&5
15123
 
   echo "$as_me:15123: \$? = $ac_status" >&5
 
16443
   echo "$as_me:16443: \$? = $ac_status" >&5
15124
16444
   if (exit $ac_status) && test -s "$ac_outfile"; then
15125
16445
     # The compiler can only warn and ignore the option if not recognized
15126
16446
     # So say no if there are warnings other than the usual output.
15127
16447
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15128
16448
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15129
16449
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15130
 
       lt_prog_compiler_pic_works_F77=yes
 
16450
       lt_cv_prog_compiler_pic_works_F77=yes
15131
16451
     fi
15132
16452
   fi
15133
16453
   $rm conftest*
15134
16454
 
15135
16455
fi
15136
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15137
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
16456
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
16457
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15138
16458
 
15139
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
16459
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15140
16460
    case $lt_prog_compiler_pic_F77 in
15141
16461
     "" | " "*) ;;
15142
16462
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15161
16481
# Check to make sure the static flag actually works.
15162
16482
#
15163
16483
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15164
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15165
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15166
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
16484
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16485
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
16486
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15167
16487
  echo $ECHO_N "(cached) $ECHO_C" >&6
15168
16488
else
15169
 
  lt_prog_compiler_static_works_F77=no
 
16489
  lt_cv_prog_compiler_static_works_F77=no
15170
16490
   save_LDFLAGS="$LDFLAGS"
15171
16491
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15172
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16492
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15173
16493
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15174
16494
     # The linker can only warn and ignore the option if not recognized
15175
16495
     # So say no if there are warnings
15179
16499
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15180
16500
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15181
16501
       if diff conftest.exp conftest.er2 >/dev/null; then
15182
 
         lt_prog_compiler_static_works_F77=yes
 
16502
         lt_cv_prog_compiler_static_works_F77=yes
15183
16503
       fi
15184
16504
     else
15185
 
       lt_prog_compiler_static_works_F77=yes
 
16505
       lt_cv_prog_compiler_static_works_F77=yes
15186
16506
     fi
15187
16507
   fi
15188
 
   $rm conftest*
 
16508
   $rm -r conftest*
15189
16509
   LDFLAGS="$save_LDFLAGS"
15190
16510
 
15191
16511
fi
15192
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15193
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
16512
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
16513
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15194
16514
 
15195
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
16515
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15196
16516
    :
15197
16517
else
15198
16518
    lt_prog_compiler_static_F77=
15199
16519
fi
15200
16520
 
15201
16521
 
15202
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15203
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16522
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16523
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15204
16524
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15205
16525
  echo $ECHO_N "(cached) $ECHO_C" >&6
15206
16526
else
15209
16529
   mkdir conftest
15210
16530
   cd conftest
15211
16531
   mkdir out
15212
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16532
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15213
16533
 
15214
16534
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15215
16535
   # Insert the option either (1) after the last *FLAGS variable, or
15220
16540
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15221
16541
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15222
16542
   -e 's:$: $lt_compiler_flag:'`
15223
 
   (eval echo "\"\$as_me:15223: $lt_compile\"" >&5)
 
16543
   (eval echo "\"\$as_me:16543: $lt_compile\"" >&5)
15224
16544
   (eval "$lt_compile" 2>out/conftest.err)
15225
16545
   ac_status=$?
15226
16546
   cat out/conftest.err >&5
15227
 
   echo "$as_me:15227: \$? = $ac_status" >&5
 
16547
   echo "$as_me:16547: \$? = $ac_status" >&5
15228
16548
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15229
16549
   then
15230
16550
     # The compiler can only warn and ignore the option if not recognized
15246
16566
   $rm conftest*
15247
16567
 
15248
16568
fi
15249
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15250
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
16569
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
16570
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15251
16571
 
15252
16572
 
15253
16573
hard_links="nottested"
15254
16574
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15255
16575
  # do not overwrite the value of need_locks provided by the user
15256
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15257
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16576
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16577
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15258
16578
  hard_links=yes
15259
16579
  $rm conftest*
15260
16580
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15261
16581
  touch conftest.a
15262
16582
  ln conftest.a conftest.b 2>&5 || hard_links=no
15263
16583
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15264
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15265
 
echo "${ECHO_T}$hard_links" >&6
 
16584
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16585
echo "${ECHO_T}$hard_links" >&6; }
15266
16586
  if test "$hard_links" = no; then
15267
16587
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15268
16588
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15272
16592
  need_locks=no
15273
16593
fi
15274
16594
 
15275
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15276
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16595
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16596
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15277
16597
 
15278
16598
  runpath_var=
15279
16599
  allow_undefined_flag_F77=
15304
16624
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15305
16625
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15306
16626
  # as well as any symbol that contains `d'.
15307
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
16627
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15308
16628
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15309
16629
  # platforms (ab)use it in PIC code, but their linkers get confused if
15310
16630
  # the symbol is explicitly referenced.  Since portable code cannot
15311
16631
  # rely on this symbol name, it's probably fine to never include it in
15312
16632
  # preloaded symbol tables.
 
16633
  # Exclude shared library initialization/finalization symbols.
15313
16634
  extract_expsyms_cmds=
15314
16635
  # Just being paranoid about ensuring that cc_basename is set.
15315
16636
  for cc_temp in $compiler""; do
15368
16689
 
15369
16690
    # See if GNU ld supports shared libraries.
15370
16691
    case $host_os in
15371
 
    aix3* | aix4* | aix5*)
 
16692
    aix[3-9]*)
15372
16693
      # On AIX/PPC, the GNU linker is very broken
15373
16694
      if test "$host_cpu" != ia64; then
15374
16695
        ld_shlibs_F77=no
15416
16737
      allow_undefined_flag_F77=unsupported
15417
16738
      always_export_symbols_F77=no
15418
16739
      enable_shared_with_static_runtimes_F77=yes
15419
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
16740
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15420
16741
 
15421
16742
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15422
16743
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15434
16755
      fi
15435
16756
      ;;
15436
16757
 
15437
 
    interix3*)
 
16758
    interix[3-9]*)
15438
16759
      hardcode_direct_F77=no
15439
16760
      hardcode_shlibpath_var_F77=no
15440
16761
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15449
16770
      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'
15450
16771
      ;;
15451
16772
 
15452
 
    linux*)
 
16773
    gnu* | linux* | k*bsd*-gnu)
15453
16774
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15454
16775
        tmp_addflag=
15455
16776
        case $cc_basename,$host_cpu in
15467
16788
        ifc* | ifort*)                  # Intel Fortran compiler
15468
16789
          tmp_addflag=' -nofor_main' ;;
15469
16790
        esac
15470
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16791
        case `$CC -V 2>&1 | sed 5q` in
 
16792
        *Sun\ C*)                       # Sun C 5.9
 
16793
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16794
          tmp_sharedflag='-G' ;;
 
16795
        *Sun\ F*)                       # Sun Fortran 8.3
 
16796
          tmp_sharedflag='-G' ;;
 
16797
        *)
 
16798
          tmp_sharedflag='-shared' ;;
 
16799
        esac
 
16800
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15471
16801
 
15472
16802
        if test $supports_anon_versioning = yes; then
15473
16803
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15474
16804
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15475
16805
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15476
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16806
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15477
16807
        fi
15478
16808
      else
15479
16809
        ld_shlibs_F77=no
15578
16908
      fi
15579
16909
      ;;
15580
16910
 
15581
 
    aix4* | aix5*)
 
16911
    aix[4-9]*)
15582
16912
      if test "$host_cpu" = ia64; then
15583
16913
        # On IA64, the linker does run time linking by default, so we don't
15584
16914
        # have to do anything special.
15598
16928
        # Test if we are trying to use run time linking or normal
15599
16929
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15600
16930
        # need to do runtime linking.
15601
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
16931
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15602
16932
          for ld_flag in $LDFLAGS; do
15603
16933
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15604
16934
            aix_use_runtimelinking=yes
15632
16962
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15633
16963
          then
15634
16964
          # We have reworked collect2
15635
 
          hardcode_direct_F77=yes
 
16965
          :
15636
16966
          else
15637
16967
          # We have old collect2
15638
16968
          hardcode_direct_F77=unsupported
15678
17008
      end
15679
17009
_ACEOF
15680
17010
rm -f conftest.$ac_objext conftest$ac_exeext
15681
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15682
 
  (eval $ac_link) 2>conftest.er1
 
17011
if { (ac_try="$ac_link"
 
17012
case "(($ac_try" in
 
17013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17014
  *) ac_try_echo=$ac_try;;
 
17015
esac
 
17016
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17017
  (eval "$ac_link") 2>conftest.er1
15683
17018
  ac_status=$?
15684
17019
  grep -v '^ *+' conftest.er1 >conftest.err
15685
17020
  rm -f conftest.er1
15686
17021
  cat conftest.err >&5
15687
17022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688
 
  (exit $ac_status); } &&
15689
 
         { ac_try='test -z "$ac_f77_werror_flag"
15690
 
                         || test ! -s conftest.err'
15691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692
 
  (eval $ac_try) 2>&5
15693
 
  ac_status=$?
15694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695
 
  (exit $ac_status); }; } &&
15696
 
         { ac_try='test -s conftest$ac_exeext'
15697
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698
 
  (eval $ac_try) 2>&5
15699
 
  ac_status=$?
15700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701
 
  (exit $ac_status); }; }; then
 
17023
  (exit $ac_status); } && {
 
17024
         test -z "$ac_f77_werror_flag" ||
 
17025
         test ! -s conftest.err
 
17026
       } && test -s conftest$ac_exeext &&
 
17027
       $as_test_x conftest$ac_exeext; then
15702
17028
 
15703
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15704
 
}'`
 
17029
lt_aix_libpath_sed='
 
17030
    /Import File Strings/,/^$/ {
 
17031
        /^0/ {
 
17032
            s/^0  *\(.*\)$/\1/
 
17033
            p
 
17034
        }
 
17035
    }'
 
17036
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15705
17037
# Check for a 64-bit object if we didn't find anything.
15706
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15707
 
}'`; fi
 
17038
if test -z "$aix_libpath"; then
 
17039
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17040
fi
15708
17041
else
15709
17042
  echo "$as_me: failed program was:" >&5
15710
17043
sed 's/^/| /' conftest.$ac_ext >&5
15711
17044
 
 
17045
 
15712
17046
fi
15713
 
rm -f conftest.err conftest.$ac_objext \
 
17047
 
 
17048
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15714
17049
      conftest$ac_exeext conftest.$ac_ext
15715
17050
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15716
17051
 
15729
17064
      end
15730
17065
_ACEOF
15731
17066
rm -f conftest.$ac_objext conftest$ac_exeext
15732
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15733
 
  (eval $ac_link) 2>conftest.er1
 
17067
if { (ac_try="$ac_link"
 
17068
case "(($ac_try" in
 
17069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17070
  *) ac_try_echo=$ac_try;;
 
17071
esac
 
17072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17073
  (eval "$ac_link") 2>conftest.er1
15734
17074
  ac_status=$?
15735
17075
  grep -v '^ *+' conftest.er1 >conftest.err
15736
17076
  rm -f conftest.er1
15737
17077
  cat conftest.err >&5
15738
17078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739
 
  (exit $ac_status); } &&
15740
 
         { ac_try='test -z "$ac_f77_werror_flag"
15741
 
                         || test ! -s conftest.err'
15742
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15743
 
  (eval $ac_try) 2>&5
15744
 
  ac_status=$?
15745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746
 
  (exit $ac_status); }; } &&
15747
 
         { ac_try='test -s conftest$ac_exeext'
15748
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15749
 
  (eval $ac_try) 2>&5
15750
 
  ac_status=$?
15751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752
 
  (exit $ac_status); }; }; then
 
17079
  (exit $ac_status); } && {
 
17080
         test -z "$ac_f77_werror_flag" ||
 
17081
         test ! -s conftest.err
 
17082
       } && test -s conftest$ac_exeext &&
 
17083
       $as_test_x conftest$ac_exeext; then
15753
17084
 
15754
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15755
 
}'`
 
17085
lt_aix_libpath_sed='
 
17086
    /Import File Strings/,/^$/ {
 
17087
        /^0/ {
 
17088
            s/^0  *\(.*\)$/\1/
 
17089
            p
 
17090
        }
 
17091
    }'
 
17092
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15756
17093
# Check for a 64-bit object if we didn't find anything.
15757
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15758
 
}'`; fi
 
17094
if test -z "$aix_libpath"; then
 
17095
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17096
fi
15759
17097
else
15760
17098
  echo "$as_me: failed program was:" >&5
15761
17099
sed 's/^/| /' conftest.$ac_ext >&5
15762
17100
 
 
17101
 
15763
17102
fi
15764
 
rm -f conftest.err conftest.$ac_objext \
 
17103
 
 
17104
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15765
17105
      conftest$ac_exeext conftest.$ac_ext
15766
17106
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15767
17107
 
15807
17147
      # The linker will automatically build a .lib file if we build a DLL.
15808
17148
      old_archive_From_new_cmds_F77='true'
15809
17149
      # FIXME: Should let the user specify the lib program.
15810
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17150
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15811
17151
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15812
17152
      enable_shared_with_static_runtimes_F77=yes
15813
17153
      ;;
15840
17180
      link_all_deplibs_F77=yes
15841
17181
    if test "$GCC" = yes ; then
15842
17182
        output_verbose_link_cmd='echo'
15843
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15844
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15845
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15846
 
      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}'
15847
 
      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}'
 
17183
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
17184
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17185
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
17186
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15848
17187
    else
15849
17188
      case $cc_basename in
15850
17189
        xlc*)
15851
17190
         output_verbose_link_cmd='echo'
15852
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17191
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15853
17192
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15854
17193
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15855
 
         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}'
 
17194
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15856
17195
          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}'
15857
17196
          ;;
15858
17197
       *)
15892
17231
      ;;
15893
17232
 
15894
17233
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15895
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17234
    freebsd* | dragonfly*)
15896
17235
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15897
17236
      hardcode_libdir_flag_spec_F77='-R$libdir'
15898
17237
      hardcode_direct_F77=yes
16014
17353
      ;;
16015
17354
 
16016
17355
    openbsd*)
16017
 
      hardcode_direct_F77=yes
16018
 
      hardcode_shlibpath_var_F77=no
16019
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16020
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16021
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16022
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16023
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
17356
      if test -f /usr/libexec/ld.so; then
 
17357
        hardcode_direct_F77=yes
 
17358
        hardcode_shlibpath_var_F77=no
 
17359
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17360
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17361
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17362
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17363
          export_dynamic_flag_spec_F77='${wl}-E'
 
17364
        else
 
17365
          case $host_os in
 
17366
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17367
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17368
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
17369
             ;;
 
17370
           *)
 
17371
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17372
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17373
             ;;
 
17374
          esac
 
17375
        fi
16024
17376
      else
16025
 
       case $host_os in
16026
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16027
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16028
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
16029
 
           ;;
16030
 
         *)
16031
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16032
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16033
 
           ;;
16034
 
       esac
 
17377
        ld_shlibs_F77=no
16035
17378
      fi
16036
17379
      ;;
16037
17380
 
16090
17433
      case $host_os in
16091
17434
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16092
17435
      *)
16093
 
        # The compiler driver will combine linker options so we
16094
 
        # cannot just pass the convience library names through
16095
 
        # without $wl, iff we do not link with $LD.
16096
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17436
        # The compiler driver will combine and reorder linker options,
 
17437
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17438
        # but is careful enough not to reorder.
16097
17439
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16098
 
        case $wlarc in
16099
 
        '')
16100
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16101
 
        *)
16102
 
          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' ;;
16103
 
        esac ;;
 
17440
        if test "$GCC" = yes; then
 
17441
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17442
        else
 
17443
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
17444
        fi
 
17445
        ;;
16104
17446
      esac
16105
17447
      link_all_deplibs_F77=yes
16106
17448
      ;;
16157
17499
      fi
16158
17500
      ;;
16159
17501
 
16160
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17502
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16161
17503
      no_undefined_flag_F77='${wl}-z,text'
16162
17504
      archive_cmds_need_lc_F77=no
16163
17505
      hardcode_shlibpath_var_F77=no
16210
17552
    esac
16211
17553
  fi
16212
17554
 
16213
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16214
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
17555
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
17556
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16215
17557
test "$ld_shlibs_F77" = no && can_build_shared=no
16216
17558
 
16217
17559
#
16231
17573
      # Test whether the compiler implicitly links with -lc since on some
16232
17574
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16233
17575
      # to ld, don't add -lc before -lgcc.
16234
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16235
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17576
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17577
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16236
17578
      $rm conftest*
16237
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17579
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16238
17580
 
16239
17581
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16240
17582
  (eval $ac_compile) 2>&5
16269
17611
        cat conftest.err 1>&5
16270
17612
      fi
16271
17613
      $rm conftest*
16272
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16273
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
17614
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
17615
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16274
17616
      ;;
16275
17617
    esac
16276
17618
  fi
16277
17619
  ;;
16278
17620
esac
16279
17621
 
16280
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16281
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17622
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17623
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16282
17624
library_names_spec=
16283
17625
libname_spec='lib$name'
16284
17626
soname_spec=
16292
17634
version_type=none
16293
17635
dynamic_linker="$host_os ld.so"
16294
17636
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16295
 
if test "$GCC" = yes; then
16296
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16297
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16298
 
    # if the path contains ";" then we assume it to be the separator
16299
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16300
 
    # assumed that no part of a normal pathname contains ";" but that should
16301
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16302
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16303
 
  else
16304
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16305
 
  fi
16306
 
else
16307
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16308
 
fi
 
17637
 
16309
17638
need_lib_prefix=unknown
16310
17639
hardcode_into_libs=no
16311
17640
 
16323
17652
  soname_spec='${libname}${release}${shared_ext}$major'
16324
17653
  ;;
16325
17654
 
16326
 
aix4* | aix5*)
 
17655
aix[4-9]*)
16327
17656
  version_type=linux
16328
17657
  need_lib_prefix=no
16329
17658
  need_version=no
16443
17772
    esac
16444
17773
    ;;
16445
17774
 
16446
 
  linux*)
16447
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
16448
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16449
 
      supports_anon_versioning=no
16450
 
      case `$LD -v 2>/dev/null` in
16451
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16452
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16453
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16454
 
        *\ 2.11.*) ;; # other 2.11 versions
16455
 
        *) supports_anon_versioning=yes ;;
16456
 
      esac
16457
 
      if test $supports_anon_versioning = yes; then
16458
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
16459
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16460
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
16461
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16462
 
      else
16463
 
        $archive_expsym_cmds="$archive_cmds"
16464
 
      fi
16465
 
    else
16466
 
      ld_shlibs=no
16467
 
    fi
16468
 
    ;;
16469
 
 
16470
17775
  *)
16471
17776
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16472
17777
    ;;
16486
17791
  shlibpath_overrides_runpath=yes
16487
17792
  shlibpath_var=DYLD_LIBRARY_PATH
16488
17793
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16489
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16490
 
  if test "$GCC" = yes; then
16491
 
    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"`
16492
 
  else
16493
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16494
 
  fi
 
17794
 
16495
17795
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16496
17796
  ;;
16497
17797
 
16508
17808
  dynamic_linker=no
16509
17809
  ;;
16510
17810
 
16511
 
kfreebsd*-gnu)
16512
 
  version_type=linux
16513
 
  need_lib_prefix=no
16514
 
  need_version=no
16515
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16516
 
  soname_spec='${libname}${release}${shared_ext}$major'
16517
 
  shlibpath_var=LD_LIBRARY_PATH
16518
 
  shlibpath_overrides_runpath=no
16519
 
  hardcode_into_libs=yes
16520
 
  dynamic_linker='GNU ld.so'
16521
 
  ;;
16522
 
 
16523
17811
freebsd* | dragonfly*)
16524
17812
  # DragonFly does not have aout.  When/if they implement a new
16525
17813
  # versioning mechanism, adjust this.
16570
17858
    shlibpath_overrides_runpath=no
16571
17859
    hardcode_into_libs=yes
16572
17860
    ;;
16573
 
  freebsd*) # from 4.6 on
 
17861
  *) # from 4.6 on, and DragonFly
16574
17862
    shlibpath_overrides_runpath=yes
16575
17863
    hardcode_into_libs=yes
16576
17864
    ;;
16633
17921
  postinstall_cmds='chmod 555 $lib'
16634
17922
  ;;
16635
17923
 
16636
 
interix3*)
 
17924
interix[3-9]*)
16637
17925
  version_type=linux
16638
17926
  need_lib_prefix=no
16639
17927
  need_version=no
16688
17976
  ;;
16689
17977
 
16690
17978
# This must be Linux ELF.
16691
 
linux*)
 
17979
linux* | k*bsd*-gnu)
16692
17980
  version_type=linux
16693
17981
  need_lib_prefix=no
16694
17982
  need_version=no
16704
17992
 
16705
17993
  # Append ld.so.conf contents to the search path
16706
17994
  if test -f /etc/ld.so.conf; then
16707
 
    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' ' '`
 
17995
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16708
17996
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16709
17997
  fi
16710
17998
 
16717
18005
  dynamic_linker='GNU/Linux ld.so'
16718
18006
  ;;
16719
18007
 
16720
 
knetbsd*-gnu)
16721
 
  version_type=linux
16722
 
  need_lib_prefix=no
16723
 
  need_version=no
16724
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16725
 
  soname_spec='${libname}${release}${shared_ext}$major'
16726
 
  shlibpath_var=LD_LIBRARY_PATH
16727
 
  shlibpath_overrides_runpath=no
16728
 
  hardcode_into_libs=yes
16729
 
  dynamic_linker='GNU ld.so'
16730
 
  ;;
16731
 
 
16732
18008
netbsd*)
16733
18009
  version_type=sunos
16734
18010
  need_lib_prefix=no
16810
18086
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16811
18087
  ;;
16812
18088
 
 
18089
rdos*)
 
18090
  dynamic_linker=no
 
18091
  ;;
 
18092
 
16813
18093
solaris*)
16814
18094
  version_type=linux
16815
18095
  need_lib_prefix=no
16902
18182
  dynamic_linker=no
16903
18183
  ;;
16904
18184
esac
16905
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16906
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18185
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18186
echo "${ECHO_T}$dynamic_linker" >&6; }
16907
18187
test "$dynamic_linker" = no && can_build_shared=no
16908
18188
 
 
18189
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18190
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18191
else
 
18192
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18193
fi
 
18194
 
 
18195
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18196
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18197
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18198
else
 
18199
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18200
fi
 
18201
 
 
18202
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18203
 
16909
18204
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16910
18205
if test "$GCC" = yes; then
16911
18206
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16912
18207
fi
16913
18208
 
16914
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16915
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18209
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18210
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16916
18211
hardcode_action_F77=
16917
18212
if test -n "$hardcode_libdir_flag_spec_F77" || \
16918
18213
   test -n "$runpath_var_F77" || \
16936
18231
  # directories.
16937
18232
  hardcode_action_F77=unsupported
16938
18233
fi
16939
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16940
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
18234
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
18235
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16941
18236
 
16942
18237
if test "$hardcode_action_F77" = relink; then
16943
18238
  # Fast installation is not supported
16989
18284
    predeps_F77 \
16990
18285
    postdeps_F77 \
16991
18286
    compiler_lib_search_path_F77 \
 
18287
    compiler_lib_search_dirs_F77 \
16992
18288
    archive_cmds_F77 \
16993
18289
    archive_expsym_cmds_F77 \
16994
18290
    postinstall_cmds_F77 \
17004
18300
    module_cmds_F77 \
17005
18301
    module_expsym_cmds_F77 \
17006
18302
    lt_cv_prog_compiler_c_o_F77 \
 
18303
    fix_srcfile_path_F77 \
17007
18304
    exclude_expsyms_F77 \
17008
18305
    include_expsyms_F77; do
17009
18306
 
17236
18533
# shared library.
17237
18534
postdeps=$lt_postdeps_F77
17238
18535
 
 
18536
# The directories searched by this compiler when creating a shared
 
18537
# library
 
18538
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
18539
 
17239
18540
# The library search path used internally by the compiler when linking
17240
18541
# a shared library.
17241
18542
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17324
18625
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17325
18626
 
17326
18627
# Fix the shell variable \$srcfile for the compiler.
17327
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
18628
fix_srcfile_path=$lt_fix_srcfile_path
17328
18629
 
17329
18630
# Set to yes if exported symbols are required.
17330
18631
always_export_symbols=$always_export_symbols_F77
17357
18658
fi
17358
18659
 
17359
18660
 
17360
 
ac_ext=cc
 
18661
ac_ext=cpp
17361
18662
ac_cpp='$CXXCPP $CPPFLAGS'
17362
18663
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363
18664
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374
18675
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17375
18676
 
17376
18677
 
17377
 
 
17378
18678
# Source file extension for Java test sources.
17379
18679
ac_ext=java
17380
18680
 
17383
18683
objext_GCJ=$objext
17384
18684
 
17385
18685
# Code to be used in simple compile tests
17386
 
lt_simple_compile_test_code="class foo {}\n"
 
18686
lt_simple_compile_test_code="class foo {}"
17387
18687
 
17388
18688
# Code to be used in simple link tests
17389
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
18689
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17390
18690
 
17391
18691
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17392
18692
 
17402
18702
 
17403
18703
# save warnings/boilerplate of simple test code
17404
18704
ac_outfile=conftest.$ac_objext
17405
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18705
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17406
18706
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17407
18707
_lt_compiler_boilerplate=`cat conftest.err`
17408
18708
$rm conftest*
17409
18709
 
17410
18710
ac_outfile=conftest.$ac_objext
17411
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18711
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17412
18712
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17413
18713
_lt_linker_boilerplate=`cat conftest.err`
17414
 
$rm conftest*
 
18714
$rm -r conftest*
17415
18715
 
17416
18716
 
17417
18717
# Allow CC to be a program name with arguments.
17442
18742
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17443
18743
 
17444
18744
 
17445
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17446
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
18745
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
18746
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17447
18747
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17448
18748
  echo $ECHO_N "(cached) $ECHO_C" >&6
17449
18749
else
17450
18750
  lt_cv_prog_compiler_rtti_exceptions=no
17451
18751
  ac_outfile=conftest.$ac_objext
17452
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18752
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17453
18753
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17454
18754
   # Insert the option either (1) after the last *FLAGS variable, or
17455
18755
   # (2) before a word containing "conftest.", or (3) at the end.
17460
18760
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17461
18761
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17462
18762
   -e 's:$: $lt_compiler_flag:'`
17463
 
   (eval echo "\"\$as_me:17463: $lt_compile\"" >&5)
 
18763
   (eval echo "\"\$as_me:18763: $lt_compile\"" >&5)
17464
18764
   (eval "$lt_compile" 2>conftest.err)
17465
18765
   ac_status=$?
17466
18766
   cat conftest.err >&5
17467
 
   echo "$as_me:17467: \$? = $ac_status" >&5
 
18767
   echo "$as_me:18767: \$? = $ac_status" >&5
17468
18768
   if (exit $ac_status) && test -s "$ac_outfile"; then
17469
18769
     # The compiler can only warn and ignore the option if not recognized
17470
18770
     # So say no if there are warnings other than the usual output.
17477
18777
   $rm conftest*
17478
18778
 
17479
18779
fi
17480
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17481
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
18780
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
18781
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17482
18782
 
17483
18783
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17484
18784
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17492
18792
lt_prog_compiler_pic_GCJ=
17493
18793
lt_prog_compiler_static_GCJ=
17494
18794
 
17495
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17496
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
18795
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
18796
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17497
18797
 
17498
18798
  if test "$GCC" = yes; then
17499
18799
    lt_prog_compiler_wl_GCJ='-Wl,'
17515
18815
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17516
18816
      ;;
17517
18817
 
17518
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
18818
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17519
18819
      # PIC is the default for these OSes.
17520
18820
      ;;
17521
18821
 
17522
 
    mingw* | pw32* | os2*)
 
18822
    mingw* | cygwin* | pw32* | os2*)
17523
18823
      # This hack is so that the source file can tell whether it is being
17524
18824
      # built for inclusion in a dll (and should export symbols for example).
17525
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18825
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
18826
      # (--disable-auto-import) libraries
 
18827
 
17526
18828
      ;;
17527
18829
 
17528
18830
    darwin* | rhapsody*)
17531
18833
      lt_prog_compiler_pic_GCJ='-fno-common'
17532
18834
      ;;
17533
18835
 
17534
 
    interix3*)
 
18836
    interix[3-9]*)
17535
18837
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17536
18838
      # Instead, we relocate shared libraries at runtime.
17537
18839
      ;;
17589
18891
       esac
17590
18892
       ;;
17591
18893
 
17592
 
    mingw* | pw32* | os2*)
 
18894
    mingw* | cygwin* | pw32* | os2*)
17593
18895
      # This hack is so that the source file can tell whether it is being
17594
18896
      # built for inclusion in a dll (and should export symbols for example).
17595
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18897
 
17596
18898
      ;;
17597
18899
 
17598
18900
    hpux9* | hpux10* | hpux11*)
17622
18924
      lt_prog_compiler_static_GCJ='-Bstatic'
17623
18925
      ;;
17624
18926
 
17625
 
    linux*)
 
18927
    linux* | k*bsd*-gnu)
17626
18928
      case $cc_basename in
17627
18929
      icc* | ecc*)
17628
18930
        lt_prog_compiler_wl_GCJ='-Wl,'
17641
18943
        # All Alpha code is PIC.
17642
18944
        lt_prog_compiler_static_GCJ='-non_shared'
17643
18945
        ;;
 
18946
      *)
 
18947
        case `$CC -V 2>&1 | sed 5q` in
 
18948
        *Sun\ C*)
 
18949
          # Sun C 5.9
 
18950
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18951
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18952
          lt_prog_compiler_wl_GCJ='-Wl,'
 
18953
          ;;
 
18954
        *Sun\ F*)
 
18955
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18956
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18957
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18958
          lt_prog_compiler_wl_GCJ=''
 
18959
          ;;
 
18960
        esac
 
18961
        ;;
17644
18962
      esac
17645
18963
      ;;
17646
18964
 
17650
18968
      lt_prog_compiler_static_GCJ='-non_shared'
17651
18969
      ;;
17652
18970
 
 
18971
    rdos*)
 
18972
      lt_prog_compiler_static_GCJ='-non_shared'
 
18973
      ;;
 
18974
 
17653
18975
    solaris*)
17654
18976
      lt_prog_compiler_pic_GCJ='-KPIC'
17655
18977
      lt_prog_compiler_static_GCJ='-Bstatic'
17702
19024
    esac
17703
19025
  fi
17704
19026
 
17705
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17706
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
19027
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
19028
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17707
19029
 
17708
19030
#
17709
19031
# Check to make sure the PIC flag actually works.
17710
19032
#
17711
19033
if test -n "$lt_prog_compiler_pic_GCJ"; then
17712
19034
 
17713
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17714
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17715
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
19035
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
19036
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 
19037
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17716
19038
  echo $ECHO_N "(cached) $ECHO_C" >&6
17717
19039
else
17718
 
  lt_prog_compiler_pic_works_GCJ=no
 
19040
  lt_cv_prog_compiler_pic_works_GCJ=no
17719
19041
  ac_outfile=conftest.$ac_objext
17720
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19042
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17721
19043
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17722
19044
   # Insert the option either (1) after the last *FLAGS variable, or
17723
19045
   # (2) before a word containing "conftest.", or (3) at the end.
17728
19050
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17729
19051
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17730
19052
   -e 's:$: $lt_compiler_flag:'`
17731
 
   (eval echo "\"\$as_me:17731: $lt_compile\"" >&5)
 
19053
   (eval echo "\"\$as_me:19053: $lt_compile\"" >&5)
17732
19054
   (eval "$lt_compile" 2>conftest.err)
17733
19055
   ac_status=$?
17734
19056
   cat conftest.err >&5
17735
 
   echo "$as_me:17735: \$? = $ac_status" >&5
 
19057
   echo "$as_me:19057: \$? = $ac_status" >&5
17736
19058
   if (exit $ac_status) && test -s "$ac_outfile"; then
17737
19059
     # The compiler can only warn and ignore the option if not recognized
17738
19060
     # So say no if there are warnings other than the usual output.
17739
19061
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17740
19062
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17741
19063
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17742
 
       lt_prog_compiler_pic_works_GCJ=yes
 
19064
       lt_cv_prog_compiler_pic_works_GCJ=yes
17743
19065
     fi
17744
19066
   fi
17745
19067
   $rm conftest*
17746
19068
 
17747
19069
fi
17748
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17749
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
19070
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
19071
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17750
19072
 
17751
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
19073
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17752
19074
    case $lt_prog_compiler_pic_GCJ in
17753
19075
     "" | " "*) ;;
17754
19076
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17773
19095
# Check to make sure the static flag actually works.
17774
19096
#
17775
19097
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17776
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17777
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
17778
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
19098
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
19099
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
19100
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17779
19101
  echo $ECHO_N "(cached) $ECHO_C" >&6
17780
19102
else
17781
 
  lt_prog_compiler_static_works_GCJ=no
 
19103
  lt_cv_prog_compiler_static_works_GCJ=no
17782
19104
   save_LDFLAGS="$LDFLAGS"
17783
19105
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17784
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
19106
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17785
19107
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17786
19108
     # The linker can only warn and ignore the option if not recognized
17787
19109
     # So say no if there are warnings
17791
19113
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17792
19114
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17793
19115
       if diff conftest.exp conftest.er2 >/dev/null; then
17794
 
         lt_prog_compiler_static_works_GCJ=yes
 
19116
         lt_cv_prog_compiler_static_works_GCJ=yes
17795
19117
       fi
17796
19118
     else
17797
 
       lt_prog_compiler_static_works_GCJ=yes
 
19119
       lt_cv_prog_compiler_static_works_GCJ=yes
17798
19120
     fi
17799
19121
   fi
17800
 
   $rm conftest*
 
19122
   $rm -r conftest*
17801
19123
   LDFLAGS="$save_LDFLAGS"
17802
19124
 
17803
19125
fi
17804
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17805
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
19126
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
19127
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17806
19128
 
17807
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
19129
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17808
19130
    :
17809
19131
else
17810
19132
    lt_prog_compiler_static_GCJ=
17811
19133
fi
17812
19134
 
17813
19135
 
17814
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17815
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
19136
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
19137
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17816
19138
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17817
19139
  echo $ECHO_N "(cached) $ECHO_C" >&6
17818
19140
else
17821
19143
   mkdir conftest
17822
19144
   cd conftest
17823
19145
   mkdir out
17824
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19146
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17825
19147
 
17826
19148
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17827
19149
   # Insert the option either (1) after the last *FLAGS variable, or
17832
19154
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17833
19155
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17834
19156
   -e 's:$: $lt_compiler_flag:'`
17835
 
   (eval echo "\"\$as_me:17835: $lt_compile\"" >&5)
 
19157
   (eval echo "\"\$as_me:19157: $lt_compile\"" >&5)
17836
19158
   (eval "$lt_compile" 2>out/conftest.err)
17837
19159
   ac_status=$?
17838
19160
   cat out/conftest.err >&5
17839
 
   echo "$as_me:17839: \$? = $ac_status" >&5
 
19161
   echo "$as_me:19161: \$? = $ac_status" >&5
17840
19162
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17841
19163
   then
17842
19164
     # The compiler can only warn and ignore the option if not recognized
17858
19180
   $rm conftest*
17859
19181
 
17860
19182
fi
17861
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17862
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
19183
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
19184
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17863
19185
 
17864
19186
 
17865
19187
hard_links="nottested"
17866
19188
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17867
19189
  # do not overwrite the value of need_locks provided by the user
17868
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17869
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
19190
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
19191
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17870
19192
  hard_links=yes
17871
19193
  $rm conftest*
17872
19194
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17873
19195
  touch conftest.a
17874
19196
  ln conftest.a conftest.b 2>&5 || hard_links=no
17875
19197
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17876
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
17877
 
echo "${ECHO_T}$hard_links" >&6
 
19198
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
19199
echo "${ECHO_T}$hard_links" >&6; }
17878
19200
  if test "$hard_links" = no; then
17879
19201
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17880
19202
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17884
19206
  need_locks=no
17885
19207
fi
17886
19208
 
17887
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17888
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
19209
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
19210
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17889
19211
 
17890
19212
  runpath_var=
17891
19213
  allow_undefined_flag_GCJ=
17916
19238
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17917
19239
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17918
19240
  # as well as any symbol that contains `d'.
17919
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
19241
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17920
19242
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17921
19243
  # platforms (ab)use it in PIC code, but their linkers get confused if
17922
19244
  # the symbol is explicitly referenced.  Since portable code cannot
17923
19245
  # rely on this symbol name, it's probably fine to never include it in
17924
19246
  # preloaded symbol tables.
 
19247
  # Exclude shared library initialization/finalization symbols.
17925
19248
  extract_expsyms_cmds=
17926
19249
  # Just being paranoid about ensuring that cc_basename is set.
17927
19250
  for cc_temp in $compiler""; do
17980
19303
 
17981
19304
    # See if GNU ld supports shared libraries.
17982
19305
    case $host_os in
17983
 
    aix3* | aix4* | aix5*)
 
19306
    aix[3-9]*)
17984
19307
      # On AIX/PPC, the GNU linker is very broken
17985
19308
      if test "$host_cpu" != ia64; then
17986
19309
        ld_shlibs_GCJ=no
18028
19351
      allow_undefined_flag_GCJ=unsupported
18029
19352
      always_export_symbols_GCJ=no
18030
19353
      enable_shared_with_static_runtimes_GCJ=yes
18031
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
19354
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18032
19355
 
18033
19356
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18034
19357
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18046
19369
      fi
18047
19370
      ;;
18048
19371
 
18049
 
    interix3*)
 
19372
    interix[3-9]*)
18050
19373
      hardcode_direct_GCJ=no
18051
19374
      hardcode_shlibpath_var_GCJ=no
18052
19375
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18061
19384
      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'
18062
19385
      ;;
18063
19386
 
18064
 
    linux*)
 
19387
    gnu* | linux* | k*bsd*-gnu)
18065
19388
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18066
19389
        tmp_addflag=
18067
19390
        case $cc_basename,$host_cpu in
18079
19402
        ifc* | ifort*)                  # Intel Fortran compiler
18080
19403
          tmp_addflag=' -nofor_main' ;;
18081
19404
        esac
18082
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19405
        case `$CC -V 2>&1 | sed 5q` in
 
19406
        *Sun\ C*)                       # Sun C 5.9
 
19407
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
19408
          tmp_sharedflag='-G' ;;
 
19409
        *Sun\ F*)                       # Sun Fortran 8.3
 
19410
          tmp_sharedflag='-G' ;;
 
19411
        *)
 
19412
          tmp_sharedflag='-shared' ;;
 
19413
        esac
 
19414
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18083
19415
 
18084
19416
        if test $supports_anon_versioning = yes; then
18085
19417
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18086
19418
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18087
19419
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18088
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
19420
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18089
19421
        fi
18090
19422
      else
18091
19423
        ld_shlibs_GCJ=no
18190
19522
      fi
18191
19523
      ;;
18192
19524
 
18193
 
    aix4* | aix5*)
 
19525
    aix[4-9]*)
18194
19526
      if test "$host_cpu" = ia64; then
18195
19527
        # On IA64, the linker does run time linking by default, so we don't
18196
19528
        # have to do anything special.
18210
19542
        # Test if we are trying to use run time linking or normal
18211
19543
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18212
19544
        # need to do runtime linking.
18213
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
19545
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18214
19546
          for ld_flag in $LDFLAGS; do
18215
19547
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18216
19548
            aix_use_runtimelinking=yes
18244
19576
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18245
19577
          then
18246
19578
          # We have reworked collect2
18247
 
          hardcode_direct_GCJ=yes
 
19579
          :
18248
19580
          else
18249
19581
          # We have old collect2
18250
19582
          hardcode_direct_GCJ=unsupported
18300
19632
}
18301
19633
_ACEOF
18302
19634
rm -f conftest.$ac_objext conftest$ac_exeext
18303
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18304
 
  (eval $ac_link) 2>conftest.er1
 
19635
if { (ac_try="$ac_link"
 
19636
case "(($ac_try" in
 
19637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19638
  *) ac_try_echo=$ac_try;;
 
19639
esac
 
19640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19641
  (eval "$ac_link") 2>conftest.er1
18305
19642
  ac_status=$?
18306
19643
  grep -v '^ *+' conftest.er1 >conftest.err
18307
19644
  rm -f conftest.er1
18308
19645
  cat conftest.err >&5
18309
19646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310
 
  (exit $ac_status); } &&
18311
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18312
 
                         || test ! -s conftest.err'
18313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314
 
  (eval $ac_try) 2>&5
18315
 
  ac_status=$?
18316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317
 
  (exit $ac_status); }; } &&
18318
 
         { ac_try='test -s conftest$ac_exeext'
18319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320
 
  (eval $ac_try) 2>&5
18321
 
  ac_status=$?
18322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323
 
  (exit $ac_status); }; }; then
 
19647
  (exit $ac_status); } && {
 
19648
         test -z "$ac_cxx_werror_flag" ||
 
19649
         test ! -s conftest.err
 
19650
       } && test -s conftest$ac_exeext &&
 
19651
       $as_test_x conftest$ac_exeext; then
18324
19652
 
18325
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18326
 
}'`
 
19653
lt_aix_libpath_sed='
 
19654
    /Import File Strings/,/^$/ {
 
19655
        /^0/ {
 
19656
            s/^0  *\(.*\)$/\1/
 
19657
            p
 
19658
        }
 
19659
    }'
 
19660
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18327
19661
# Check for a 64-bit object if we didn't find anything.
18328
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18329
 
}'`; fi
 
19662
if test -z "$aix_libpath"; then
 
19663
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19664
fi
18330
19665
else
18331
19666
  echo "$as_me: failed program was:" >&5
18332
19667
sed 's/^/| /' conftest.$ac_ext >&5
18333
19668
 
 
19669
 
18334
19670
fi
18335
 
rm -f conftest.err conftest.$ac_objext \
 
19671
 
 
19672
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18336
19673
      conftest$ac_exeext conftest.$ac_ext
18337
19674
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18338
19675
 
18361
19698
}
18362
19699
_ACEOF
18363
19700
rm -f conftest.$ac_objext conftest$ac_exeext
18364
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18365
 
  (eval $ac_link) 2>conftest.er1
 
19701
if { (ac_try="$ac_link"
 
19702
case "(($ac_try" in
 
19703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19704
  *) ac_try_echo=$ac_try;;
 
19705
esac
 
19706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19707
  (eval "$ac_link") 2>conftest.er1
18366
19708
  ac_status=$?
18367
19709
  grep -v '^ *+' conftest.er1 >conftest.err
18368
19710
  rm -f conftest.er1
18369
19711
  cat conftest.err >&5
18370
19712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371
 
  (exit $ac_status); } &&
18372
 
         { ac_try='test -z "$ac_cxx_werror_flag"
18373
 
                         || test ! -s conftest.err'
18374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18375
 
  (eval $ac_try) 2>&5
18376
 
  ac_status=$?
18377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378
 
  (exit $ac_status); }; } &&
18379
 
         { ac_try='test -s conftest$ac_exeext'
18380
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381
 
  (eval $ac_try) 2>&5
18382
 
  ac_status=$?
18383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384
 
  (exit $ac_status); }; }; then
 
19713
  (exit $ac_status); } && {
 
19714
         test -z "$ac_cxx_werror_flag" ||
 
19715
         test ! -s conftest.err
 
19716
       } && test -s conftest$ac_exeext &&
 
19717
       $as_test_x conftest$ac_exeext; then
18385
19718
 
18386
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18387
 
}'`
 
19719
lt_aix_libpath_sed='
 
19720
    /Import File Strings/,/^$/ {
 
19721
        /^0/ {
 
19722
            s/^0  *\(.*\)$/\1/
 
19723
            p
 
19724
        }
 
19725
    }'
 
19726
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18388
19727
# Check for a 64-bit object if we didn't find anything.
18389
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18390
 
}'`; fi
 
19728
if test -z "$aix_libpath"; then
 
19729
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19730
fi
18391
19731
else
18392
19732
  echo "$as_me: failed program was:" >&5
18393
19733
sed 's/^/| /' conftest.$ac_ext >&5
18394
19734
 
 
19735
 
18395
19736
fi
18396
 
rm -f conftest.err conftest.$ac_objext \
 
19737
 
 
19738
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18397
19739
      conftest$ac_exeext conftest.$ac_ext
18398
19740
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18399
19741
 
18439
19781
      # The linker will automatically build a .lib file if we build a DLL.
18440
19782
      old_archive_From_new_cmds_GCJ='true'
18441
19783
      # FIXME: Should let the user specify the lib program.
18442
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
19784
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18443
19785
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18444
19786
      enable_shared_with_static_runtimes_GCJ=yes
18445
19787
      ;;
18472
19814
      link_all_deplibs_GCJ=yes
18473
19815
    if test "$GCC" = yes ; then
18474
19816
        output_verbose_link_cmd='echo'
18475
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18476
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18477
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18478
 
      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}'
18479
 
      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}'
 
19817
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
19818
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
19819
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
19820
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18480
19821
    else
18481
19822
      case $cc_basename in
18482
19823
        xlc*)
18483
19824
         output_verbose_link_cmd='echo'
18484
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
19825
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18485
19826
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18486
19827
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18487
 
         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}'
 
19828
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18488
19829
          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}'
18489
19830
          ;;
18490
19831
       *)
18524
19865
      ;;
18525
19866
 
18526
19867
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18527
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
19868
    freebsd* | dragonfly*)
18528
19869
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18529
19870
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18530
19871
      hardcode_direct_GCJ=yes
18646
19987
      ;;
18647
19988
 
18648
19989
    openbsd*)
18649
 
      hardcode_direct_GCJ=yes
18650
 
      hardcode_shlibpath_var_GCJ=no
18651
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18652
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18653
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18654
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18655
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19990
      if test -f /usr/libexec/ld.so; then
 
19991
        hardcode_direct_GCJ=yes
 
19992
        hardcode_shlibpath_var_GCJ=no
 
19993
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19994
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19995
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19996
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19997
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19998
        else
 
19999
          case $host_os in
 
20000
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
20001
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
20002
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
20003
             ;;
 
20004
           *)
 
20005
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
20006
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
20007
             ;;
 
20008
          esac
 
20009
        fi
18656
20010
      else
18657
 
       case $host_os in
18658
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18659
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18660
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
18661
 
           ;;
18662
 
         *)
18663
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18664
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18665
 
           ;;
18666
 
       esac
 
20011
        ld_shlibs_GCJ=no
18667
20012
      fi
18668
20013
      ;;
18669
20014
 
18722
20067
      case $host_os in
18723
20068
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18724
20069
      *)
18725
 
        # The compiler driver will combine linker options so we
18726
 
        # cannot just pass the convience library names through
18727
 
        # without $wl, iff we do not link with $LD.
18728
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
20070
        # The compiler driver will combine and reorder linker options,
 
20071
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
20072
        # but is careful enough not to reorder.
18729
20073
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18730
 
        case $wlarc in
18731
 
        '')
18732
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18733
 
        *)
18734
 
          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' ;;
18735
 
        esac ;;
 
20074
        if test "$GCC" = yes; then
 
20075
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
20076
        else
 
20077
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
20078
        fi
 
20079
        ;;
18736
20080
      esac
18737
20081
      link_all_deplibs_GCJ=yes
18738
20082
      ;;
18789
20133
      fi
18790
20134
      ;;
18791
20135
 
18792
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
20136
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18793
20137
      no_undefined_flag_GCJ='${wl}-z,text'
18794
20138
      archive_cmds_need_lc_GCJ=no
18795
20139
      hardcode_shlibpath_var_GCJ=no
18842
20186
    esac
18843
20187
  fi
18844
20188
 
18845
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18846
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
20189
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
20190
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18847
20191
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18848
20192
 
18849
20193
#
18863
20207
      # Test whether the compiler implicitly links with -lc since on some
18864
20208
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18865
20209
      # to ld, don't add -lc before -lgcc.
18866
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18867
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
20210
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
20211
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18868
20212
      $rm conftest*
18869
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
20213
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18870
20214
 
18871
20215
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18872
20216
  (eval $ac_compile) 2>&5
18901
20245
        cat conftest.err 1>&5
18902
20246
      fi
18903
20247
      $rm conftest*
18904
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18905
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
20248
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
20249
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18906
20250
      ;;
18907
20251
    esac
18908
20252
  fi
18909
20253
  ;;
18910
20254
esac
18911
20255
 
18912
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18913
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
20256
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
20257
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18914
20258
library_names_spec=
18915
20259
libname_spec='lib$name'
18916
20260
soname_spec=
18924
20268
version_type=none
18925
20269
dynamic_linker="$host_os ld.so"
18926
20270
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18927
 
if test "$GCC" = yes; then
18928
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18929
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18930
 
    # if the path contains ";" then we assume it to be the separator
18931
 
    # otherwise default to the standard path separator (i.e. ":") - it is
18932
 
    # assumed that no part of a normal pathname contains ";" but that should
18933
 
    # okay in the real world where ";" in dirpaths is itself problematic.
18934
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18935
 
  else
18936
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18937
 
  fi
18938
 
else
18939
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18940
 
fi
 
20271
 
18941
20272
need_lib_prefix=unknown
18942
20273
hardcode_into_libs=no
18943
20274
 
18955
20286
  soname_spec='${libname}${release}${shared_ext}$major'
18956
20287
  ;;
18957
20288
 
18958
 
aix4* | aix5*)
 
20289
aix[4-9]*)
18959
20290
  version_type=linux
18960
20291
  need_lib_prefix=no
18961
20292
  need_version=no
19075
20406
    esac
19076
20407
    ;;
19077
20408
 
19078
 
  linux*)
19079
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
19080
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19081
 
      supports_anon_versioning=no
19082
 
      case `$LD -v 2>/dev/null` in
19083
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19084
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19085
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19086
 
        *\ 2.11.*) ;; # other 2.11 versions
19087
 
        *) supports_anon_versioning=yes ;;
19088
 
      esac
19089
 
      if test $supports_anon_versioning = yes; then
19090
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
19091
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19092
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
19093
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19094
 
      else
19095
 
        $archive_expsym_cmds="$archive_cmds"
19096
 
      fi
19097
 
    else
19098
 
      ld_shlibs=no
19099
 
    fi
19100
 
    ;;
19101
 
 
19102
20409
  *)
19103
20410
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19104
20411
    ;;
19118
20425
  shlibpath_overrides_runpath=yes
19119
20426
  shlibpath_var=DYLD_LIBRARY_PATH
19120
20427
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19121
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19122
 
  if test "$GCC" = yes; then
19123
 
    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"`
19124
 
  else
19125
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19126
 
  fi
 
20428
 
19127
20429
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19128
20430
  ;;
19129
20431
 
19140
20442
  dynamic_linker=no
19141
20443
  ;;
19142
20444
 
19143
 
kfreebsd*-gnu)
19144
 
  version_type=linux
19145
 
  need_lib_prefix=no
19146
 
  need_version=no
19147
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19148
 
  soname_spec='${libname}${release}${shared_ext}$major'
19149
 
  shlibpath_var=LD_LIBRARY_PATH
19150
 
  shlibpath_overrides_runpath=no
19151
 
  hardcode_into_libs=yes
19152
 
  dynamic_linker='GNU ld.so'
19153
 
  ;;
19154
 
 
19155
20445
freebsd* | dragonfly*)
19156
20446
  # DragonFly does not have aout.  When/if they implement a new
19157
20447
  # versioning mechanism, adjust this.
19202
20492
    shlibpath_overrides_runpath=no
19203
20493
    hardcode_into_libs=yes
19204
20494
    ;;
19205
 
  freebsd*) # from 4.6 on
 
20495
  *) # from 4.6 on, and DragonFly
19206
20496
    shlibpath_overrides_runpath=yes
19207
20497
    hardcode_into_libs=yes
19208
20498
    ;;
19265
20555
  postinstall_cmds='chmod 555 $lib'
19266
20556
  ;;
19267
20557
 
19268
 
interix3*)
 
20558
interix[3-9]*)
19269
20559
  version_type=linux
19270
20560
  need_lib_prefix=no
19271
20561
  need_version=no
19320
20610
  ;;
19321
20611
 
19322
20612
# This must be Linux ELF.
19323
 
linux*)
 
20613
linux* | k*bsd*-gnu)
19324
20614
  version_type=linux
19325
20615
  need_lib_prefix=no
19326
20616
  need_version=no
19336
20626
 
19337
20627
  # Append ld.so.conf contents to the search path
19338
20628
  if test -f /etc/ld.so.conf; then
19339
 
    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' ' '`
 
20629
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19340
20630
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19341
20631
  fi
19342
20632
 
19349
20639
  dynamic_linker='GNU/Linux ld.so'
19350
20640
  ;;
19351
20641
 
19352
 
knetbsd*-gnu)
19353
 
  version_type=linux
19354
 
  need_lib_prefix=no
19355
 
  need_version=no
19356
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19357
 
  soname_spec='${libname}${release}${shared_ext}$major'
19358
 
  shlibpath_var=LD_LIBRARY_PATH
19359
 
  shlibpath_overrides_runpath=no
19360
 
  hardcode_into_libs=yes
19361
 
  dynamic_linker='GNU ld.so'
19362
 
  ;;
19363
 
 
19364
20642
netbsd*)
19365
20643
  version_type=sunos
19366
20644
  need_lib_prefix=no
19442
20720
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19443
20721
  ;;
19444
20722
 
 
20723
rdos*)
 
20724
  dynamic_linker=no
 
20725
  ;;
 
20726
 
19445
20727
solaris*)
19446
20728
  version_type=linux
19447
20729
  need_lib_prefix=no
19534
20816
  dynamic_linker=no
19535
20817
  ;;
19536
20818
esac
19537
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19538
 
echo "${ECHO_T}$dynamic_linker" >&6
 
20819
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
20820
echo "${ECHO_T}$dynamic_linker" >&6; }
19539
20821
test "$dynamic_linker" = no && can_build_shared=no
19540
20822
 
 
20823
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20824
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20825
else
 
20826
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
20827
fi
 
20828
 
 
20829
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20830
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20831
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20832
else
 
20833
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
20834
fi
 
20835
 
 
20836
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20837
 
19541
20838
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19542
20839
if test "$GCC" = yes; then
19543
20840
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19544
20841
fi
19545
20842
 
19546
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19547
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
20843
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
20844
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19548
20845
hardcode_action_GCJ=
19549
20846
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19550
20847
   test -n "$runpath_var_GCJ" || \
19568
20865
  # directories.
19569
20866
  hardcode_action_GCJ=unsupported
19570
20867
fi
19571
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19572
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
20868
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
20869
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19573
20870
 
19574
20871
if test "$hardcode_action_GCJ" = relink; then
19575
20872
  # Fast installation is not supported
19621
20918
    predeps_GCJ \
19622
20919
    postdeps_GCJ \
19623
20920
    compiler_lib_search_path_GCJ \
 
20921
    compiler_lib_search_dirs_GCJ \
19624
20922
    archive_cmds_GCJ \
19625
20923
    archive_expsym_cmds_GCJ \
19626
20924
    postinstall_cmds_GCJ \
19636
20934
    module_cmds_GCJ \
19637
20935
    module_expsym_cmds_GCJ \
19638
20936
    lt_cv_prog_compiler_c_o_GCJ \
 
20937
    fix_srcfile_path_GCJ \
19639
20938
    exclude_expsyms_GCJ \
19640
20939
    include_expsyms_GCJ; do
19641
20940
 
19868
21167
# shared library.
19869
21168
postdeps=$lt_postdeps_GCJ
19870
21169
 
 
21170
# The directories searched by this compiler when creating a shared
 
21171
# library
 
21172
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
21173
 
19871
21174
# The library search path used internally by the compiler when linking
19872
21175
# a shared library.
19873
21176
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19956
21259
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19957
21260
 
19958
21261
# Fix the shell variable \$srcfile for the compiler.
19959
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
21262
fix_srcfile_path=$lt_fix_srcfile_path
19960
21263
 
19961
21264
# Set to yes if exported symbols are required.
19962
21265
always_export_symbols=$always_export_symbols_GCJ
19989
21292
fi
19990
21293
 
19991
21294
 
19992
 
ac_ext=cc
 
21295
ac_ext=cpp
19993
21296
ac_cpp='$CXXCPP $CPPFLAGS'
19994
21297
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995
21298
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20005
21308
      RC)
20006
21309
 
20007
21310
 
20008
 
 
20009
21311
# Source file extension for RC test sources.
20010
21312
ac_ext=rc
20011
21313
 
20014
21316
objext_RC=$objext
20015
21317
 
20016
21318
# Code to be used in simple compile tests
20017
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
21319
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20018
21320
 
20019
21321
# Code to be used in simple link tests
20020
21322
lt_simple_link_test_code="$lt_simple_compile_test_code"
20033
21335
 
20034
21336
# save warnings/boilerplate of simple test code
20035
21337
ac_outfile=conftest.$ac_objext
20036
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
21338
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20037
21339
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20038
21340
_lt_compiler_boilerplate=`cat conftest.err`
20039
21341
$rm conftest*
20040
21342
 
20041
21343
ac_outfile=conftest.$ac_objext
20042
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
21344
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20043
21345
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20044
21346
_lt_linker_boilerplate=`cat conftest.err`
20045
 
$rm conftest*
 
21347
$rm -r conftest*
20046
21348
 
20047
21349
 
20048
21350
# Allow CC to be a program name with arguments.
20102
21404
    predeps_RC \
20103
21405
    postdeps_RC \
20104
21406
    compiler_lib_search_path_RC \
 
21407
    compiler_lib_search_dirs_RC \
20105
21408
    archive_cmds_RC \
20106
21409
    archive_expsym_cmds_RC \
20107
21410
    postinstall_cmds_RC \
20117
21420
    module_cmds_RC \
20118
21421
    module_expsym_cmds_RC \
20119
21422
    lt_cv_prog_compiler_c_o_RC \
 
21423
    fix_srcfile_path_RC \
20120
21424
    exclude_expsyms_RC \
20121
21425
    include_expsyms_RC; do
20122
21426
 
20349
21653
# shared library.
20350
21654
postdeps=$lt_postdeps_RC
20351
21655
 
 
21656
# The directories searched by this compiler when creating a shared
 
21657
# library
 
21658
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
21659
 
20352
21660
# The library search path used internally by the compiler when linking
20353
21661
# a shared library.
20354
21662
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20437
21745
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20438
21746
 
20439
21747
# Fix the shell variable \$srcfile for the compiler.
20440
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
21748
fix_srcfile_path=$lt_fix_srcfile_path
20441
21749
 
20442
21750
# Set to yes if exported symbols are required.
20443
21751
always_export_symbols=$always_export_symbols_RC
20470
21778
fi
20471
21779
 
20472
21780
 
20473
 
ac_ext=cc
 
21781
ac_ext=cpp
20474
21782
ac_cpp='$CXXCPP $CPPFLAGS'
20475
21783
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20476
21784
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543
21851
  if test -z "$PKG_CONFIG"; then
20544
21852
    # Extract the first word of "pkg-config", so it can be a program name with args.
20545
21853
set dummy pkg-config; ac_word=$2
20546
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20547
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21854
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21855
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20548
21856
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20549
21857
  echo $ECHO_N "(cached) $ECHO_C" >&6
20550
21858
else
20559
21867
  IFS=$as_save_IFS
20560
21868
  test -z "$as_dir" && as_dir=.
20561
21869
  for ac_exec_ext in '' $ac_executable_extensions; do
20562
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21870
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20563
21871
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20564
21872
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20565
21873
    break 2
20566
21874
  fi
20567
21875
done
20568
21876
done
 
21877
IFS=$as_save_IFS
20569
21878
 
20570
21879
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20571
21880
  ;;
20572
21881
esac
20573
21882
fi
20574
21883
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20575
 
 
20576
21884
if test -n "$PKG_CONFIG"; then
20577
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20578
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
21885
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
21886
echo "${ECHO_T}$PKG_CONFIG" >&6; }
20579
21887
else
20580
 
  echo "$as_me:$LINENO: result: no" >&5
20581
 
echo "${ECHO_T}no" >&6
 
21888
  { echo "$as_me:$LINENO: result: no" >&5
 
21889
echo "${ECHO_T}no" >&6; }
20582
21890
fi
20583
21891
 
 
21892
 
20584
21893
  fi
20585
21894
 
20586
21895
  if test "$PKG_CONFIG" = "no" ; then
20591
21900
  else
20592
21901
     PKG_CONFIG_MIN_VERSION=0.9.0
20593
21902
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20594
 
        echo "$as_me:$LINENO: checking for gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" >&5
20595
 
echo $ECHO_N "checking for gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0... $ECHO_C" >&6
 
21903
        { echo "$as_me:$LINENO: checking for gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" >&5
 
21904
echo $ECHO_N "checking for gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0... $ECHO_C" >&6; }
20596
21905
 
20597
 
        if $PKG_CONFIG --exists "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" ; then
20598
 
            echo "$as_me:$LINENO: result: yes" >&5
20599
 
echo "${ECHO_T}yes" >&6
 
21906
        if $PKG_CONFIG --exists "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" ; then
 
21907
            { echo "$as_me:$LINENO: result: yes" >&5
 
21908
echo "${ECHO_T}yes" >&6; }
20600
21909
            succeeded=yes
20601
21910
 
20602
 
            echo "$as_me:$LINENO: checking GTKMM_CFLAGS" >&5
20603
 
echo $ECHO_N "checking GTKMM_CFLAGS... $ECHO_C" >&6
20604
 
            GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"`
20605
 
            echo "$as_me:$LINENO: result: $GTKMM_CFLAGS" >&5
20606
 
echo "${ECHO_T}$GTKMM_CFLAGS" >&6
 
21911
            { echo "$as_me:$LINENO: checking GTKMM_CFLAGS" >&5
 
21912
echo $ECHO_N "checking GTKMM_CFLAGS... $ECHO_C" >&6; }
 
21913
            GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"`
 
21914
            { echo "$as_me:$LINENO: result: $GTKMM_CFLAGS" >&5
 
21915
echo "${ECHO_T}$GTKMM_CFLAGS" >&6; }
20607
21916
 
20608
 
            echo "$as_me:$LINENO: checking GTKMM_LIBS" >&5
20609
 
echo $ECHO_N "checking GTKMM_LIBS... $ECHO_C" >&6
20610
 
            GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"`
20611
 
            echo "$as_me:$LINENO: result: $GTKMM_LIBS" >&5
20612
 
echo "${ECHO_T}$GTKMM_LIBS" >&6
 
21917
            { echo "$as_me:$LINENO: checking GTKMM_LIBS" >&5
 
21918
echo $ECHO_N "checking GTKMM_LIBS... $ECHO_C" >&6; }
 
21919
            GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"`
 
21920
            { echo "$as_me:$LINENO: result: $GTKMM_LIBS" >&5
 
21921
echo "${ECHO_T}$GTKMM_LIBS" >&6; }
20613
21922
        else
20614
21923
            GTKMM_CFLAGS=""
20615
21924
            GTKMM_LIBS=""
20616
21925
            ## If we have a custom action on failure, don't print errors, but
20617
21926
            ## do set a variable so people can do so.
20618
 
            GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"`
 
21927
            GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"`
20619
21928
            echo $GTKMM_PKG_ERRORS
20620
21929
        fi
20621
21930
 
20630
21939
  if test $succeeded = yes; then
20631
21940
     :
20632
21941
  else
20633
 
     { { echo "$as_me:$LINENO: error: Library requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
20634
 
echo "$as_me: error: Library requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
 
21942
     { { echo "$as_me:$LINENO: error: Library requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
 
21943
echo "$as_me: error: Library requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
20635
21944
   { (exit 1); exit 1; }; }
20636
21945
  fi
20637
21946
 
20638
21947
 
20639
 
echo "$as_me:$LINENO: checking for nautilus extensions directory" >&5
20640
 
echo $ECHO_N "checking for nautilus extensions directory... $ECHO_C" >&6
20641
 
 
20642
 
 
20643
 
# Check whether --with-nautilus-extensions-dir or --without-nautilus-extensions-dir was given.
 
21948
{ echo "$as_me:$LINENO: checking for nautilus extensions directory" >&5
 
21949
echo $ECHO_N "checking for nautilus extensions directory... $ECHO_C" >&6; }
 
21950
 
 
21951
 
 
21952
# Check whether --with-nautilus-extensions-dir was given.
20644
21953
if test "${with_nautilus_extensions_dir+set}" = set; then
20645
 
  withval="$with_nautilus_extensions_dir"
20646
 
 
 
21954
  withval=$with_nautilus_extensions_dir;
20647
21955
if test x$withval = xyes -o x$withval = xno;
20648
21956
then
20649
21957
   { { echo "$as_me:$LINENO: error: If you specify --with-nautilus-extensions-dir you must set the directory. E.g.: --with-nautilus-extensions-dir=/usr/lib/nautilus/extensions-1.0" >&5
20652
21960
else
20653
21961
 NAUTILUS_EXTENSIONS_DIR=$withval
20654
21962
 
20655
 
 echo "$as_me:$LINENO: result: $withval" >&5
20656
 
echo "${ECHO_T}$withval" >&6
 
21963
 { echo "$as_me:$LINENO: result: $withval" >&5
 
21964
echo "${ECHO_T}$withval" >&6; }
20657
21965
fi
20658
21966
 
20659
21967
 
20660
21968
else
20661
 
    if test -d `pkg-config --variable=prefix libnautilus-extension`/lib/nautilus/extensions-1.0 ;
 
21969
    extensiondir=`pkg-config --variable=extensiondir libnautilus-extension`;
 
21970
  if test -n "$extensiondir" ;
20662
21971
  then
20663
 
     NAUTILUS_EXTENSIONS_DIR=`pkg-config --variable=prefix libnautilus-extension`/lib/nautilus/extensions-1.0
 
21972
     NAUTILUS_EXTENSIONS_DIR=$extensiondir
20664
21973
 
20665
 
         echo "$as_me:$LINENO: result: ${NAUTILUS_EXTENSIONS_DIR}" >&5
20666
 
echo "${ECHO_T}${NAUTILUS_EXTENSIONS_DIR}" >&6
 
21974
         { echo "$as_me:$LINENO: result: ${NAUTILUS_EXTENSIONS_DIR}" >&5
 
21975
echo "${ECHO_T}${NAUTILUS_EXTENSIONS_DIR}" >&6; }
20667
21976
  else
20668
21977
        { { echo "$as_me:$LINENO: error: I need pkg-config in order to determine where to install nautilus extensions. You may want to set --with-nautilus-extensions-dir=DIR" >&5
20669
21978
echo "$as_me: error: I need pkg-config in order to determine where to install nautilus extensions. You may want to set --with-nautilus-extensions-dir=DIR" >&2;}
20671
21980
  fi
20672
21981
 
20673
21982
 
20674
 
fi;
 
21983
fi
 
21984
 
20675
21985
 
20676
21986
enable_eua=no
20677
 
echo "$as_me:$LINENO: checking for extended user attributes support" >&5
20678
 
echo $ECHO_N "checking for extended user attributes support... $ECHO_C" >&6
20679
 
# Check whether --enable-user-attributes or --disable-user-attributes was given.
 
21987
{ echo "$as_me:$LINENO: checking for extended user attributes support" >&5
 
21988
echo $ECHO_N "checking for extended user attributes support... $ECHO_C" >&6; }
 
21989
# Check whether --enable-user-attributes was given.
20680
21990
if test "${enable_user_attributes+set}" = set; then
20681
 
  enableval="$enable_user_attributes"
20682
 
 
 
21991
  enableval=$enable_user_attributes;
20683
21992
if test x$enableval = xyes -o x$enableval = x;
20684
21993
then
20685
 
   echo "$as_me:$LINENO: result: yes" >&5
20686
 
echo "${ECHO_T}yes" >&6
 
21994
   { echo "$as_me:$LINENO: result: yes" >&5
 
21995
echo "${ECHO_T}yes" >&6; }
20687
21996
   enable_eua=yes
20688
21997
else
20689
21998
  if test x$enableval = xno;
20690
21999
  then
20691
22000
    enable_eua=no
20692
 
    echo "$as_me:$LINENO: result: no" >&5
20693
 
echo "${ECHO_T}no" >&6
 
22001
    { echo "$as_me:$LINENO: result: no" >&5
 
22002
echo "${ECHO_T}no" >&6; }
20694
22003
  else
20695
22004
    { { echo "$as_me:$LINENO: error: This option can only be given 'yes' or 'no' values" >&5
20696
22005
echo "$as_me: error: This option can only be given 'yes' or 'no' values" >&2;}
20704
22013
 case $target_os in
20705
22014
     linux*)
20706
22015
           enable_eua=yes
20707
 
       echo "$as_me:$LINENO: result: yes, since we are in GNU/Linux" >&5
20708
 
echo "${ECHO_T}yes, since we are in GNU/Linux" >&6
 
22016
       { echo "$as_me:$LINENO: result: yes, since we are in GNU/Linux" >&5
 
22017
echo "${ECHO_T}yes, since we are in GNU/Linux" >&6; }
20709
22018
           ;;
20710
22019
         *)
20711
22020
           enable_eua=no
20712
 
           echo "$as_me:$LINENO: result: no, this does not seem to be GNU/Linux" >&5
20713
 
echo "${ECHO_T}no, this does not seem to be GNU/Linux" >&6
 
22021
           { echo "$as_me:$LINENO: result: no, this does not seem to be GNU/Linux" >&5
 
22022
echo "${ECHO_T}no, this does not seem to be GNU/Linux" >&6; }
20714
22023
         ;;
20715
22024
 esac
20716
22025
 
20717
22026
 
20718
 
fi;
 
22027
fi
 
22028
 
20719
22029
 
20720
22030
if test x$enable_eua = xyes;
20721
22031
then
20724
22034
for ac_header in attr/xattr.h
20725
22035
do
20726
22036
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20727
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20728
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20729
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20730
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22037
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22038
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22039
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22040
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20731
22041
  echo $ECHO_N "(cached) $ECHO_C" >&6
20732
22042
fi
20733
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20734
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22043
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22044
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22045
echo "${ECHO_T}$ac_res" >&6; }
20735
22046
else
20736
22047
  # Is the header compilable?
20737
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20738
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22048
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22049
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20739
22050
cat >conftest.$ac_ext <<_ACEOF
20740
22051
/* confdefs.h.  */
20741
22052
_ACEOF
20746
22057
#include <$ac_header>
20747
22058
_ACEOF
20748
22059
rm -f conftest.$ac_objext
20749
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20750
 
  (eval $ac_compile) 2>conftest.er1
 
22060
if { (ac_try="$ac_compile"
 
22061
case "(($ac_try" in
 
22062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22063
  *) ac_try_echo=$ac_try;;
 
22064
esac
 
22065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22066
  (eval "$ac_compile") 2>conftest.er1
20751
22067
  ac_status=$?
20752
22068
  grep -v '^ *+' conftest.er1 >conftest.err
20753
22069
  rm -f conftest.er1
20754
22070
  cat conftest.err >&5
20755
22071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756
 
  (exit $ac_status); } &&
20757
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20758
 
                         || test ! -s conftest.err'
20759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760
 
  (eval $ac_try) 2>&5
20761
 
  ac_status=$?
20762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763
 
  (exit $ac_status); }; } &&
20764
 
         { ac_try='test -s conftest.$ac_objext'
20765
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766
 
  (eval $ac_try) 2>&5
20767
 
  ac_status=$?
20768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769
 
  (exit $ac_status); }; }; then
 
22072
  (exit $ac_status); } && {
 
22073
         test -z "$ac_cxx_werror_flag" ||
 
22074
         test ! -s conftest.err
 
22075
       } && test -s conftest.$ac_objext; then
20770
22076
  ac_header_compiler=yes
20771
22077
else
20772
22078
  echo "$as_me: failed program was:" >&5
20773
22079
sed 's/^/| /' conftest.$ac_ext >&5
20774
22080
 
20775
 
ac_header_compiler=no
 
22081
        ac_header_compiler=no
20776
22082
fi
20777
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20778
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20779
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22083
 
 
22084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22085
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22086
echo "${ECHO_T}$ac_header_compiler" >&6; }
20780
22087
 
20781
22088
# Is the header present?
20782
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20783
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22089
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22090
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20784
22091
cat >conftest.$ac_ext <<_ACEOF
20785
22092
/* confdefs.h.  */
20786
22093
_ACEOF
20789
22096
/* end confdefs.h.  */
20790
22097
#include <$ac_header>
20791
22098
_ACEOF
20792
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20793
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22099
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22100
case "(($ac_try" in
 
22101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22102
  *) ac_try_echo=$ac_try;;
 
22103
esac
 
22104
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22105
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20794
22106
  ac_status=$?
20795
22107
  grep -v '^ *+' conftest.er1 >conftest.err
20796
22108
  rm -f conftest.er1
20797
22109
  cat conftest.err >&5
20798
22110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799
 
  (exit $ac_status); } >/dev/null; then
20800
 
  if test -s conftest.err; then
20801
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
20802
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20803
 
  else
20804
 
    ac_cpp_err=
20805
 
  fi
20806
 
else
20807
 
  ac_cpp_err=yes
20808
 
fi
20809
 
if test -z "$ac_cpp_err"; then
 
22111
  (exit $ac_status); } >/dev/null && {
 
22112
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
22113
         test ! -s conftest.err
 
22114
       }; then
20810
22115
  ac_header_preproc=yes
20811
22116
else
20812
22117
  echo "$as_me: failed program was:" >&5
20814
22119
 
20815
22120
  ac_header_preproc=no
20816
22121
fi
 
22122
 
20817
22123
rm -f conftest.err conftest.$ac_ext
20818
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20819
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22124
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22125
echo "${ECHO_T}$ac_header_preproc" >&6; }
20820
22126
 
20821
22127
# So?  What about this header?
20822
22128
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20840
22146
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20841
22147
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20842
22148
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20843
 
    (
20844
 
      cat <<\_ASBOX
 
22149
    ( cat <<\_ASBOX
20845
22150
## -------------------------- ##
20846
22151
## Report this to rofi@ya.com ##
20847
22152
## -------------------------- ##
20848
22153
_ASBOX
20849
 
    ) |
20850
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22154
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20851
22155
    ;;
20852
22156
esac
20853
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20854
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20855
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22157
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22158
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22159
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20856
22160
  echo $ECHO_N "(cached) $ECHO_C" >&6
20857
22161
else
20858
22162
  eval "$as_ac_Header=\$ac_header_preproc"
20859
22163
fi
20860
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20861
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22164
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22165
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22166
echo "${ECHO_T}$ac_res" >&6; }
20862
22167
 
20863
22168
fi
20864
22169
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20880
22185
_ACEOF
20881
22186
 
20882
22187
fi
20883
 
 
20884
 
 
20885
 
if test x$enable_eua = xyes; then
 
22188
 if test x$enable_eua = xyes; then
20886
22189
  ENABLE_USER_XATTR_TRUE=
20887
22190
  ENABLE_USER_XATTR_FALSE='#'
20888
22191
else
20897
22200
for ac_header in sys/acl.h
20898
22201
do
20899
22202
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20900
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20901
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20902
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20903
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22203
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22204
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22205
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22206
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20904
22207
  echo $ECHO_N "(cached) $ECHO_C" >&6
20905
22208
fi
20906
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20907
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22209
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22210
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22211
echo "${ECHO_T}$ac_res" >&6; }
20908
22212
else
20909
22213
  # Is the header compilable?
20910
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20911
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22214
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22215
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20912
22216
cat >conftest.$ac_ext <<_ACEOF
20913
22217
/* confdefs.h.  */
20914
22218
_ACEOF
20919
22223
#include <$ac_header>
20920
22224
_ACEOF
20921
22225
rm -f conftest.$ac_objext
20922
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20923
 
  (eval $ac_compile) 2>conftest.er1
 
22226
if { (ac_try="$ac_compile"
 
22227
case "(($ac_try" in
 
22228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22229
  *) ac_try_echo=$ac_try;;
 
22230
esac
 
22231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22232
  (eval "$ac_compile") 2>conftest.er1
20924
22233
  ac_status=$?
20925
22234
  grep -v '^ *+' conftest.er1 >conftest.err
20926
22235
  rm -f conftest.er1
20927
22236
  cat conftest.err >&5
20928
22237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929
 
  (exit $ac_status); } &&
20930
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20931
 
                         || test ! -s conftest.err'
20932
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20933
 
  (eval $ac_try) 2>&5
20934
 
  ac_status=$?
20935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936
 
  (exit $ac_status); }; } &&
20937
 
         { ac_try='test -s conftest.$ac_objext'
20938
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939
 
  (eval $ac_try) 2>&5
20940
 
  ac_status=$?
20941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942
 
  (exit $ac_status); }; }; then
 
22238
  (exit $ac_status); } && {
 
22239
         test -z "$ac_cxx_werror_flag" ||
 
22240
         test ! -s conftest.err
 
22241
       } && test -s conftest.$ac_objext; then
20943
22242
  ac_header_compiler=yes
20944
22243
else
20945
22244
  echo "$as_me: failed program was:" >&5
20946
22245
sed 's/^/| /' conftest.$ac_ext >&5
20947
22246
 
20948
 
ac_header_compiler=no
 
22247
        ac_header_compiler=no
20949
22248
fi
20950
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20951
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20952
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22249
 
 
22250
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22251
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22252
echo "${ECHO_T}$ac_header_compiler" >&6; }
20953
22253
 
20954
22254
# Is the header present?
20955
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20956
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22255
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22256
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20957
22257
cat >conftest.$ac_ext <<_ACEOF
20958
22258
/* confdefs.h.  */
20959
22259
_ACEOF
20962
22262
/* end confdefs.h.  */
20963
22263
#include <$ac_header>
20964
22264
_ACEOF
20965
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20966
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22265
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22266
case "(($ac_try" in
 
22267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22268
  *) ac_try_echo=$ac_try;;
 
22269
esac
 
22270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22271
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20967
22272
  ac_status=$?
20968
22273
  grep -v '^ *+' conftest.er1 >conftest.err
20969
22274
  rm -f conftest.er1
20970
22275
  cat conftest.err >&5
20971
22276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972
 
  (exit $ac_status); } >/dev/null; then
20973
 
  if test -s conftest.err; then
20974
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
20975
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20976
 
  else
20977
 
    ac_cpp_err=
20978
 
  fi
20979
 
else
20980
 
  ac_cpp_err=yes
20981
 
fi
20982
 
if test -z "$ac_cpp_err"; then
 
22277
  (exit $ac_status); } >/dev/null && {
 
22278
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
22279
         test ! -s conftest.err
 
22280
       }; then
20983
22281
  ac_header_preproc=yes
20984
22282
else
20985
22283
  echo "$as_me: failed program was:" >&5
20987
22285
 
20988
22286
  ac_header_preproc=no
20989
22287
fi
 
22288
 
20990
22289
rm -f conftest.err conftest.$ac_ext
20991
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20992
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22290
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22291
echo "${ECHO_T}$ac_header_preproc" >&6; }
20993
22292
 
20994
22293
# So?  What about this header?
20995
22294
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21013
22312
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21014
22313
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21015
22314
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21016
 
    (
21017
 
      cat <<\_ASBOX
 
22315
    ( cat <<\_ASBOX
21018
22316
## -------------------------- ##
21019
22317
## Report this to rofi@ya.com ##
21020
22318
## -------------------------- ##
21021
22319
_ASBOX
21022
 
    ) |
21023
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22320
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21024
22321
    ;;
21025
22322
esac
21026
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21027
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21028
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22323
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22324
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22325
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21029
22326
  echo $ECHO_N "(cached) $ECHO_C" >&6
21030
22327
else
21031
22328
  eval "$as_ac_Header=\$ac_header_preproc"
21032
22329
fi
21033
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21034
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22330
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22331
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22332
echo "${ECHO_T}$ac_res" >&6; }
21035
22333
 
21036
22334
fi
21037
22335
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21050
22348
for ac_header in acl/libacl.h
21051
22349
do
21052
22350
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21053
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21054
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21055
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21056
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22351
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22352
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22353
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22354
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21057
22355
  echo $ECHO_N "(cached) $ECHO_C" >&6
21058
22356
fi
21059
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21060
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22357
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22358
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22359
echo "${ECHO_T}$ac_res" >&6; }
21061
22360
else
21062
22361
  # Is the header compilable?
21063
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21064
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22362
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22363
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21065
22364
cat >conftest.$ac_ext <<_ACEOF
21066
22365
/* confdefs.h.  */
21067
22366
_ACEOF
21072
22371
#include <$ac_header>
21073
22372
_ACEOF
21074
22373
rm -f conftest.$ac_objext
21075
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21076
 
  (eval $ac_compile) 2>conftest.er1
 
22374
if { (ac_try="$ac_compile"
 
22375
case "(($ac_try" in
 
22376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22377
  *) ac_try_echo=$ac_try;;
 
22378
esac
 
22379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22380
  (eval "$ac_compile") 2>conftest.er1
21077
22381
  ac_status=$?
21078
22382
  grep -v '^ *+' conftest.er1 >conftest.err
21079
22383
  rm -f conftest.er1
21080
22384
  cat conftest.err >&5
21081
22385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082
 
  (exit $ac_status); } &&
21083
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21084
 
                         || test ! -s conftest.err'
21085
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086
 
  (eval $ac_try) 2>&5
21087
 
  ac_status=$?
21088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089
 
  (exit $ac_status); }; } &&
21090
 
         { ac_try='test -s conftest.$ac_objext'
21091
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092
 
  (eval $ac_try) 2>&5
21093
 
  ac_status=$?
21094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095
 
  (exit $ac_status); }; }; then
 
22386
  (exit $ac_status); } && {
 
22387
         test -z "$ac_cxx_werror_flag" ||
 
22388
         test ! -s conftest.err
 
22389
       } && test -s conftest.$ac_objext; then
21096
22390
  ac_header_compiler=yes
21097
22391
else
21098
22392
  echo "$as_me: failed program was:" >&5
21099
22393
sed 's/^/| /' conftest.$ac_ext >&5
21100
22394
 
21101
 
ac_header_compiler=no
 
22395
        ac_header_compiler=no
21102
22396
fi
21103
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21104
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21105
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22397
 
 
22398
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22399
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22400
echo "${ECHO_T}$ac_header_compiler" >&6; }
21106
22401
 
21107
22402
# Is the header present?
21108
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21109
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22403
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22404
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21110
22405
cat >conftest.$ac_ext <<_ACEOF
21111
22406
/* confdefs.h.  */
21112
22407
_ACEOF
21115
22410
/* end confdefs.h.  */
21116
22411
#include <$ac_header>
21117
22412
_ACEOF
21118
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21119
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22413
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22414
case "(($ac_try" in
 
22415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22416
  *) ac_try_echo=$ac_try;;
 
22417
esac
 
22418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22419
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21120
22420
  ac_status=$?
21121
22421
  grep -v '^ *+' conftest.er1 >conftest.err
21122
22422
  rm -f conftest.er1
21123
22423
  cat conftest.err >&5
21124
22424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125
 
  (exit $ac_status); } >/dev/null; then
21126
 
  if test -s conftest.err; then
21127
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
21128
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21129
 
  else
21130
 
    ac_cpp_err=
21131
 
  fi
21132
 
else
21133
 
  ac_cpp_err=yes
21134
 
fi
21135
 
if test -z "$ac_cpp_err"; then
 
22425
  (exit $ac_status); } >/dev/null && {
 
22426
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
22427
         test ! -s conftest.err
 
22428
       }; then
21136
22429
  ac_header_preproc=yes
21137
22430
else
21138
22431
  echo "$as_me: failed program was:" >&5
21140
22433
 
21141
22434
  ac_header_preproc=no
21142
22435
fi
 
22436
 
21143
22437
rm -f conftest.err conftest.$ac_ext
21144
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21145
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22438
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22439
echo "${ECHO_T}$ac_header_preproc" >&6; }
21146
22440
 
21147
22441
# So?  What about this header?
21148
22442
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21166
22460
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21167
22461
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21168
22462
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21169
 
    (
21170
 
      cat <<\_ASBOX
 
22463
    ( cat <<\_ASBOX
21171
22464
## -------------------------- ##
21172
22465
## Report this to rofi@ya.com ##
21173
22466
## -------------------------- ##
21174
22467
_ASBOX
21175
 
    ) |
21176
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22468
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21177
22469
    ;;
21178
22470
esac
21179
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21180
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21181
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22471
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22472
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22473
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21182
22474
  echo $ECHO_N "(cached) $ECHO_C" >&6
21183
22475
else
21184
22476
  eval "$as_ac_Header=\$ac_header_preproc"
21185
22477
fi
21186
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21187
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22478
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22479
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22480
echo "${ECHO_T}$ac_res" >&6; }
21188
22481
 
21189
22482
fi
21190
22483
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21206
22499
   { (exit 1); exit 1; }; }
21207
22500
fi
21208
22501
 
21209
 
echo "$as_me:$LINENO: checking for acl_get_perm_np" >&5
21210
 
echo $ECHO_N "checking for acl_get_perm_np... $ECHO_C" >&6
 
22502
{ echo "$as_me:$LINENO: checking for acl_get_perm_np" >&5
 
22503
echo $ECHO_N "checking for acl_get_perm_np... $ECHO_C" >&6; }
21211
22504
if test "${ac_cv_func_acl_get_perm_np+set}" = set; then
21212
22505
  echo $ECHO_N "(cached) $ECHO_C" >&6
21213
22506
else
21234
22527
 
21235
22528
#undef acl_get_perm_np
21236
22529
 
21237
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22530
/* Override any GCC internal prototype to avoid an error.
 
22531
   Use char because int might match the return type of a GCC
 
22532
   builtin and then its argument prototype would still apply.  */
21238
22533
#ifdef __cplusplus
21239
22534
extern "C"
21240
 
{
21241
22535
#endif
21242
 
/* We use char because int might match the return type of a gcc2
21243
 
   builtin and then its argument prototype would still apply.  */
21244
22536
char acl_get_perm_np ();
21245
22537
/* The GNU C library defines this for functions which it implements
21246
22538
    to always fail with ENOSYS.  Some functions are actually named
21247
22539
    something starting with __ and the normal name is an alias.  */
21248
 
#if defined (__stub_acl_get_perm_np) || defined (__stub___acl_get_perm_np)
 
22540
#if defined __stub_acl_get_perm_np || defined __stub___acl_get_perm_np
21249
22541
choke me
21250
 
#else
21251
 
char (*f) () = acl_get_perm_np;
21252
 
#endif
21253
 
#ifdef __cplusplus
21254
 
}
21255
22542
#endif
21256
22543
 
21257
22544
int
21258
22545
main ()
21259
22546
{
21260
 
return f != acl_get_perm_np;
 
22547
return acl_get_perm_np ();
21261
22548
  ;
21262
22549
  return 0;
21263
22550
}
21264
22551
_ACEOF
21265
22552
rm -f conftest.$ac_objext conftest$ac_exeext
21266
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21267
 
  (eval $ac_link) 2>conftest.er1
 
22553
if { (ac_try="$ac_link"
 
22554
case "(($ac_try" in
 
22555
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22556
  *) ac_try_echo=$ac_try;;
 
22557
esac
 
22558
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22559
  (eval "$ac_link") 2>conftest.er1
21268
22560
  ac_status=$?
21269
22561
  grep -v '^ *+' conftest.er1 >conftest.err
21270
22562
  rm -f conftest.er1
21271
22563
  cat conftest.err >&5
21272
22564
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273
 
  (exit $ac_status); } &&
21274
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21275
 
                         || test ! -s conftest.err'
21276
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277
 
  (eval $ac_try) 2>&5
21278
 
  ac_status=$?
21279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280
 
  (exit $ac_status); }; } &&
21281
 
         { ac_try='test -s conftest$ac_exeext'
21282
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283
 
  (eval $ac_try) 2>&5
21284
 
  ac_status=$?
21285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286
 
  (exit $ac_status); }; }; then
 
22565
  (exit $ac_status); } && {
 
22566
         test -z "$ac_cxx_werror_flag" ||
 
22567
         test ! -s conftest.err
 
22568
       } && test -s conftest$ac_exeext &&
 
22569
       $as_test_x conftest$ac_exeext; then
21287
22570
  ac_cv_func_acl_get_perm_np=yes
21288
22571
else
21289
22572
  echo "$as_me: failed program was:" >&5
21290
22573
sed 's/^/| /' conftest.$ac_ext >&5
21291
22574
 
21292
 
ac_cv_func_acl_get_perm_np=no
 
22575
        ac_cv_func_acl_get_perm_np=no
21293
22576
fi
21294
 
rm -f conftest.err conftest.$ac_objext \
 
22577
 
 
22578
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21295
22579
      conftest$ac_exeext conftest.$ac_ext
21296
22580
fi
21297
 
echo "$as_me:$LINENO: result: $ac_cv_func_acl_get_perm_np" >&5
21298
 
echo "${ECHO_T}$ac_cv_func_acl_get_perm_np" >&6
 
22581
{ echo "$as_me:$LINENO: result: $ac_cv_func_acl_get_perm_np" >&5
 
22582
echo "${ECHO_T}$ac_cv_func_acl_get_perm_np" >&6; }
21299
22583
if test $ac_cv_func_acl_get_perm_np = yes; then
21300
22584
 
21301
22585
cat >>confdefs.h <<\_ACEOF
21308
22592
 
21309
22593
 
21310
22594
 
21311
 
echo "$as_me:$LINENO: checking for acl_get_perm in -lacl" >&5
21312
 
echo $ECHO_N "checking for acl_get_perm in -lacl... $ECHO_C" >&6
 
22595
{ echo "$as_me:$LINENO: checking for acl_get_perm in -lacl" >&5
 
22596
echo $ECHO_N "checking for acl_get_perm in -lacl... $ECHO_C" >&6; }
21313
22597
if test "${ac_cv_lib_acl_acl_get_perm+set}" = set; then
21314
22598
  echo $ECHO_N "(cached) $ECHO_C" >&6
21315
22599
else
21322
22606
cat >>conftest.$ac_ext <<_ACEOF
21323
22607
/* end confdefs.h.  */
21324
22608
 
21325
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22609
/* Override any GCC internal prototype to avoid an error.
 
22610
   Use char because int might match the return type of a GCC
 
22611
   builtin and then its argument prototype would still apply.  */
21326
22612
#ifdef __cplusplus
21327
22613
extern "C"
21328
22614
#endif
21329
 
/* We use char because int might match the return type of a gcc2
21330
 
   builtin and then its argument prototype would still apply.  */
21331
22615
char acl_get_perm ();
21332
22616
int
21333
22617
main ()
21334
22618
{
21335
 
acl_get_perm ();
 
22619
return acl_get_perm ();
21336
22620
  ;
21337
22621
  return 0;
21338
22622
}
21339
22623
_ACEOF
21340
22624
rm -f conftest.$ac_objext conftest$ac_exeext
21341
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21342
 
  (eval $ac_link) 2>conftest.er1
 
22625
if { (ac_try="$ac_link"
 
22626
case "(($ac_try" in
 
22627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22628
  *) ac_try_echo=$ac_try;;
 
22629
esac
 
22630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22631
  (eval "$ac_link") 2>conftest.er1
21343
22632
  ac_status=$?
21344
22633
  grep -v '^ *+' conftest.er1 >conftest.err
21345
22634
  rm -f conftest.er1
21346
22635
  cat conftest.err >&5
21347
22636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348
 
  (exit $ac_status); } &&
21349
 
         { ac_try='test -z "$ac_cxx_werror_flag"
21350
 
                         || test ! -s conftest.err'
21351
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352
 
  (eval $ac_try) 2>&5
21353
 
  ac_status=$?
21354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355
 
  (exit $ac_status); }; } &&
21356
 
         { ac_try='test -s conftest$ac_exeext'
21357
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358
 
  (eval $ac_try) 2>&5
21359
 
  ac_status=$?
21360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361
 
  (exit $ac_status); }; }; then
 
22637
  (exit $ac_status); } && {
 
22638
         test -z "$ac_cxx_werror_flag" ||
 
22639
         test ! -s conftest.err
 
22640
       } && test -s conftest$ac_exeext &&
 
22641
       $as_test_x conftest$ac_exeext; then
21362
22642
  ac_cv_lib_acl_acl_get_perm=yes
21363
22643
else
21364
22644
  echo "$as_me: failed program was:" >&5
21365
22645
sed 's/^/| /' conftest.$ac_ext >&5
21366
22646
 
21367
 
ac_cv_lib_acl_acl_get_perm=no
 
22647
        ac_cv_lib_acl_acl_get_perm=no
21368
22648
fi
21369
 
rm -f conftest.err conftest.$ac_objext \
 
22649
 
 
22650
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21370
22651
      conftest$ac_exeext conftest.$ac_ext
21371
22652
LIBS=$ac_check_lib_save_LIBS
21372
22653
fi
21373
 
echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_perm" >&5
21374
 
echo "${ECHO_T}$ac_cv_lib_acl_acl_get_perm" >&6
 
22654
{ echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_perm" >&5
 
22655
echo "${ECHO_T}$ac_cv_lib_acl_acl_get_perm" >&6; }
21375
22656
if test $ac_cv_lib_acl_acl_get_perm = yes; then
21376
22657
 
21377
22658
 
21385
22666
fi
21386
22667
 
21387
22668
 
21388
 
                                                                                          ac_config_files="$ac_config_files Makefile src/Makefile img/Makefile lib/Makefile po/Makefile.in man/Makefile doc/Makefile doc/C/Makefile doc/C/figures/Makefile"
 
22669
ac_config_files="$ac_config_files Makefile src/Makefile img/Makefile lib/Makefile po/Makefile.in man/Makefile doc/Makefile doc/C/Makefile doc/C/figures/Makefile"
 
22670
 
21389
22671
cat >confcache <<\_ACEOF
21390
22672
# This file is a shell script that caches the results of configure
21391
22673
# tests run on this system so they can be shared between configure
21404
22686
 
21405
22687
# The following way of writing the cache mishandles newlines in values,
21406
22688
# but we know of no workaround that is simple, portable, and efficient.
21407
 
# So, don't put newlines in cache variables' values.
 
22689
# So, we kill variables containing newlines.
21408
22690
# Ultrix sh set writes to stderr and can't be redirected directly,
21409
22691
# and sets the high bit in the cache file unless we assign to the vars.
21410
 
{
 
22692
(
 
22693
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
22694
    eval ac_val=\$$ac_var
 
22695
    case $ac_val in #(
 
22696
    *${as_nl}*)
 
22697
      case $ac_var in #(
 
22698
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
22699
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22700
      esac
 
22701
      case $ac_var in #(
 
22702
      _ | IFS | as_nl) ;; #(
 
22703
      *) $as_unset $ac_var ;;
 
22704
      esac ;;
 
22705
    esac
 
22706
  done
 
22707
 
21411
22708
  (set) 2>&1 |
21412
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
21413
 
    *ac_space=\ *)
 
22709
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
22710
    *${as_nl}ac_space=\ *)
21414
22711
      # `set' does not quote correctly, so add quotes (double-quote
21415
22712
      # substitution turns \\\\ into \\, and sed turns \\ into \).
21416
22713
      sed -n \
21417
22714
        "s/'/'\\\\''/g;
21418
22715
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21419
 
      ;;
 
22716
      ;; #(
21420
22717
    *)
21421
22718
      # `set' quotes correctly as required by POSIX, so do not add quotes.
21422
 
      sed -n \
21423
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
22719
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21424
22720
      ;;
21425
 
    esac;
21426
 
} |
 
22721
    esac |
 
22722
    sort
 
22723
) |
21427
22724
  sed '
 
22725
     /^ac_cv_env_/b end
21428
22726
     t clear
21429
 
     : clear
 
22727
     :clear
21430
22728
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21431
22729
     t end
21432
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21433
 
     : end' >>confcache
21434
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
21435
 
  if test -w $cache_file; then
21436
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
22730
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22731
     :end' >>confcache
 
22732
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22733
  if test -w "$cache_file"; then
 
22734
    test "x$cache_file" != "x/dev/null" &&
 
22735
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22736
echo "$as_me: updating cache $cache_file" >&6;}
21437
22737
    cat confcache >$cache_file
21438
22738
  else
21439
 
    echo "not updating unwritable cache $cache_file"
 
22739
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22740
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21440
22741
  fi
21441
22742
fi
21442
22743
rm -f confcache
21445
22746
# Let make expand exec_prefix.
21446
22747
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21447
22748
 
21448
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21449
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21450
 
# trailing colons and then remove the whole line if VPATH becomes empty
21451
 
# (actually we leave an empty line to preserve line numbers).
21452
 
if test "x$srcdir" = x.; then
21453
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
21454
 
s/:*\$(srcdir):*/:/;
21455
 
s/:*\${srcdir}:*/:/;
21456
 
s/:*@srcdir@:*/:/;
21457
 
s/^\([^=]*=[     ]*\):*/\1/;
21458
 
s/:*$//;
21459
 
s/^[^=]*=[       ]*$//;
21460
 
}'
21461
 
fi
21462
 
 
21463
22749
DEFS=-DHAVE_CONFIG_H
21464
22750
 
21465
22751
ac_libobjs=
21466
22752
ac_ltlibobjs=
21467
22753
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21468
22754
  # 1. Remove the extension, and $U if already installed.
21469
 
  ac_i=`echo "$ac_i" |
21470
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21471
 
  # 2. Add them.
21472
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21473
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
22755
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22756
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22757
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22758
  #    will be set to the directory where LIBOBJS objects are built.
 
22759
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22760
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21474
22761
done
21475
22762
LIBOBJS=$ac_libobjs
21476
22763
 
21529
22816
## M4sh Initialization.  ##
21530
22817
## --------------------- ##
21531
22818
 
21532
 
# Be Bourne compatible
 
22819
# Be more Bourne compatible
 
22820
DUALCASE=1; export DUALCASE # for MKS sh
21533
22821
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21534
22822
  emulate sh
21535
22823
  NULLCMD=:
21536
22824
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21537
22825
  # is contrary to our usage.  Disable this feature.
21538
22826
  alias -g '${1+"$@"}'='"$@"'
21539
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21540
 
  set -o posix
21541
 
fi
21542
 
DUALCASE=1; export DUALCASE # for MKS sh
 
22827
  setopt NO_GLOB_SUBST
 
22828
else
 
22829
  case `(set -o) 2>/dev/null` in
 
22830
  *posix*) set -o posix ;;
 
22831
esac
 
22832
 
 
22833
fi
 
22834
 
 
22835
 
 
22836
 
 
22837
 
 
22838
# PATH needs CR
 
22839
# Avoid depending upon Character Ranges.
 
22840
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22841
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22842
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22843
as_cr_digits='0123456789'
 
22844
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22845
 
 
22846
# The user is always right.
 
22847
if test "${PATH_SEPARATOR+set}" != set; then
 
22848
  echo "#! /bin/sh" >conf$$.sh
 
22849
  echo  "exit 0"   >>conf$$.sh
 
22850
  chmod +x conf$$.sh
 
22851
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
22852
    PATH_SEPARATOR=';'
 
22853
  else
 
22854
    PATH_SEPARATOR=:
 
22855
  fi
 
22856
  rm -f conf$$.sh
 
22857
fi
21543
22858
 
21544
22859
# Support unset when possible.
21545
22860
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21549
22864
fi
21550
22865
 
21551
22866
 
 
22867
# IFS
 
22868
# We need space, tab and new line, in precisely that order.  Quoting is
 
22869
# there to prevent editors from complaining about space-tab.
 
22870
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22871
# splitting by setting IFS to empty value.)
 
22872
as_nl='
 
22873
'
 
22874
IFS=" ""        $as_nl"
 
22875
 
 
22876
# Find who we are.  Look in the path if we contain no directory separator.
 
22877
case $0 in
 
22878
  *[\\/]* ) as_myself=$0 ;;
 
22879
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22880
for as_dir in $PATH
 
22881
do
 
22882
  IFS=$as_save_IFS
 
22883
  test -z "$as_dir" && as_dir=.
 
22884
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22885
done
 
22886
IFS=$as_save_IFS
 
22887
 
 
22888
     ;;
 
22889
esac
 
22890
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22891
# in which case we are not to be found in the path.
 
22892
if test "x$as_myself" = x; then
 
22893
  as_myself=$0
 
22894
fi
 
22895
if test ! -f "$as_myself"; then
 
22896
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22897
  { (exit 1); exit 1; }
 
22898
fi
 
22899
 
21552
22900
# Work around bugs in pre-3.0 UWIN ksh.
21553
 
$as_unset ENV MAIL MAILPATH
 
22901
for as_var in ENV MAIL MAILPATH
 
22902
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22903
done
21554
22904
PS1='$ '
21555
22905
PS2='> '
21556
22906
PS4='+ '
21564
22914
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21565
22915
    eval $as_var=C; export $as_var
21566
22916
  else
21567
 
    $as_unset $as_var
 
22917
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21568
22918
  fi
21569
22919
done
21570
22920
 
21571
22921
# Required to use basename.
21572
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22922
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22923
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21573
22924
  as_expr=expr
21574
22925
else
21575
22926
  as_expr=false
21576
22927
fi
21577
22928
 
21578
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22929
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21579
22930
  as_basename=basename
21580
22931
else
21581
22932
  as_basename=false
21583
22934
 
21584
22935
 
21585
22936
# Name of the executable.
21586
 
as_me=`$as_basename "$0" ||
 
22937
as_me=`$as_basename -- "$0" ||
21587
22938
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21588
22939
         X"$0" : 'X\(//\)$' \| \
21589
 
         X"$0" : 'X\(/\)$' \| \
21590
 
         .     : '\(.\)' 2>/dev/null ||
 
22940
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21591
22941
echo X/"$0" |
21592
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21593
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
21594
 
          /^X\/\(\/\).*/{ s//\1/; q; }
21595
 
          s/.*/./; q'`
21596
 
 
21597
 
 
21598
 
# PATH needs CR, and LINENO needs CR and PATH.
21599
 
# Avoid depending upon Character Ranges.
21600
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21601
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21602
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21603
 
as_cr_digits='0123456789'
21604
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21605
 
 
21606
 
# The user is always right.
21607
 
if test "${PATH_SEPARATOR+set}" != set; then
21608
 
  echo "#! /bin/sh" >conf$$.sh
21609
 
  echo  "exit 0"   >>conf$$.sh
21610
 
  chmod +x conf$$.sh
21611
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21612
 
    PATH_SEPARATOR=';'
21613
 
  else
21614
 
    PATH_SEPARATOR=:
21615
 
  fi
21616
 
  rm -f conf$$.sh
21617
 
fi
21618
 
 
21619
 
 
21620
 
  as_lineno_1=$LINENO
21621
 
  as_lineno_2=$LINENO
21622
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21623
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21624
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21625
 
  # Find who we are.  Look in the path if we contain no path at all
21626
 
  # relative or not.
21627
 
  case $0 in
21628
 
    *[\\/]* ) as_myself=$0 ;;
21629
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21630
 
for as_dir in $PATH
21631
 
do
21632
 
  IFS=$as_save_IFS
21633
 
  test -z "$as_dir" && as_dir=.
21634
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21635
 
done
21636
 
 
21637
 
       ;;
21638
 
  esac
21639
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
21640
 
  # in which case we are not to be found in the path.
21641
 
  if test "x$as_myself" = x; then
21642
 
    as_myself=$0
21643
 
  fi
21644
 
  if test ! -f "$as_myself"; then
21645
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21646
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21647
 
   { (exit 1); exit 1; }; }
21648
 
  fi
21649
 
  case $CONFIG_SHELL in
21650
 
  '')
21651
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21652
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21653
 
do
21654
 
  IFS=$as_save_IFS
21655
 
  test -z "$as_dir" && as_dir=.
21656
 
  for as_base in sh bash ksh sh5; do
21657
 
         case $as_dir in
21658
 
         /*)
21659
 
           if ("$as_dir/$as_base" -c '
21660
 
  as_lineno_1=$LINENO
21661
 
  as_lineno_2=$LINENO
21662
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21663
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21664
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21665
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21666
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21667
 
             CONFIG_SHELL=$as_dir/$as_base
21668
 
             export CONFIG_SHELL
21669
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21670
 
           fi;;
21671
 
         esac
21672
 
       done
21673
 
done
21674
 
;;
21675
 
  esac
 
22942
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22943
            s//\1/
 
22944
            q
 
22945
          }
 
22946
          /^X\/\(\/\/\)$/{
 
22947
            s//\1/
 
22948
            q
 
22949
          }
 
22950
          /^X\/\(\/\).*/{
 
22951
            s//\1/
 
22952
            q
 
22953
          }
 
22954
          s/.*/./; q'`
 
22955
 
 
22956
# CDPATH.
 
22957
$as_unset CDPATH
 
22958
 
 
22959
 
 
22960
 
 
22961
  as_lineno_1=$LINENO
 
22962
  as_lineno_2=$LINENO
 
22963
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22964
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21676
22965
 
21677
22966
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21678
22967
  # uniformly replaced by the line number.  The first 'sed' inserts a
21679
 
  # line-number line before each line; the second 'sed' does the real
21680
 
  # work.  The second script uses 'N' to pair each line-number line
21681
 
  # with the numbered line, and appends trailing '-' during
21682
 
  # substitution so that $LINENO is not a special case at line end.
 
22968
  # line-number line after each line using $LINENO; the second 'sed'
 
22969
  # does the real work.  The second script uses 'N' to pair each
 
22970
  # line-number line with the line containing $LINENO, and appends
 
22971
  # trailing '-' during substitution so that $LINENO is not a special
 
22972
  # case at line end.
21683
22973
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21684
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21685
 
  sed '=' <$as_myself |
 
22974
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22975
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22976
  sed -n '
 
22977
    p
 
22978
    /[$]LINENO/=
 
22979
  ' <$as_myself |
21686
22980
    sed '
 
22981
      s/[$]LINENO.*/&-/
 
22982
      t lineno
 
22983
      b
 
22984
      :lineno
21687
22985
      N
21688
 
      s,$,-,
21689
 
      : loop
21690
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22986
      :loop
 
22987
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21691
22988
      t loop
21692
 
      s,-$,,
21693
 
      s,^['$as_cr_digits']*\n,,
 
22989
      s/-\n.*//
21694
22990
    ' >$as_me.lineno &&
21695
 
  chmod +x $as_me.lineno ||
21696
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21697
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22991
  chmod +x "$as_me.lineno" ||
 
22992
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21698
22993
   { (exit 1); exit 1; }; }
21699
22994
 
21700
22995
  # Don't try to exec as it changes $[0], causing all sort of problems
21701
22996
  # (the dirname of $[0] is not the place where we might find the
21702
 
  # original and so on.  Autoconf is especially sensible to this).
21703
 
  . ./$as_me.lineno
 
22997
  # original and so on.  Autoconf is especially sensitive to this).
 
22998
  . "./$as_me.lineno"
21704
22999
  # Exit status is that of the last command.
21705
23000
  exit
21706
23001
}
21707
23002
 
21708
23003
 
21709
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21710
 
  *c*,-n*) ECHO_N= ECHO_C='
21711
 
' ECHO_T='      ' ;;
21712
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21713
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
23004
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
23005
  as_dirname=dirname
 
23006
else
 
23007
  as_dirname=false
 
23008
fi
 
23009
 
 
23010
ECHO_C= ECHO_N= ECHO_T=
 
23011
case `echo -n x` in
 
23012
-n*)
 
23013
  case `echo 'x\c'` in
 
23014
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
23015
  *)   ECHO_C='\c';;
 
23016
  esac;;
 
23017
*)
 
23018
  ECHO_N='-n';;
21714
23019
esac
21715
23020
 
21716
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23021
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23022
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21717
23023
  as_expr=expr
21718
23024
else
21719
23025
  as_expr=false
21720
23026
fi
21721
23027
 
21722
23028
rm -f conf$$ conf$$.exe conf$$.file
 
23029
if test -d conf$$.dir; then
 
23030
  rm -f conf$$.dir/conf$$.file
 
23031
else
 
23032
  rm -f conf$$.dir
 
23033
  mkdir conf$$.dir
 
23034
fi
21723
23035
echo >conf$$.file
21724
23036
if ln -s conf$$.file conf$$ 2>/dev/null; then
21725
 
  # We could just check for DJGPP; but this test a) works b) is more generic
21726
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21727
 
  if test -f conf$$.exe; then
21728
 
    # Don't use ln at all; we don't have any links
 
23037
  as_ln_s='ln -s'
 
23038
  # ... but there are two gotchas:
 
23039
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
23040
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
23041
  # In both cases, we have to default to `cp -p'.
 
23042
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21729
23043
    as_ln_s='cp -p'
21730
 
  else
21731
 
    as_ln_s='ln -s'
21732
 
  fi
21733
23044
elif ln conf$$.file conf$$ 2>/dev/null; then
21734
23045
  as_ln_s=ln
21735
23046
else
21736
23047
  as_ln_s='cp -p'
21737
23048
fi
21738
 
rm -f conf$$ conf$$.exe conf$$.file
 
23049
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
23050
rmdir conf$$.dir 2>/dev/null
21739
23051
 
21740
23052
if mkdir -p . 2>/dev/null; then
21741
23053
  as_mkdir_p=:
21744
23056
  as_mkdir_p=false
21745
23057
fi
21746
23058
 
21747
 
as_executable_p="test -f"
 
23059
if test -x / >/dev/null 2>&1; then
 
23060
  as_test_x='test -x'
 
23061
else
 
23062
  if ls -dL / >/dev/null 2>&1; then
 
23063
    as_ls_L_option=L
 
23064
  else
 
23065
    as_ls_L_option=
 
23066
  fi
 
23067
  as_test_x='
 
23068
    eval sh -c '\''
 
23069
      if test -d "$1"; then
 
23070
        test -d "$1/.";
 
23071
      else
 
23072
        case $1 in
 
23073
        -*)set "./$1";;
 
23074
        esac;
 
23075
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
23076
        ???[sx]*):;;*)false;;esac;fi
 
23077
    '\'' sh
 
23078
  '
 
23079
fi
 
23080
as_executable_p=$as_test_x
21748
23081
 
21749
23082
# Sed expression to map a string onto a valid CPP name.
21750
23083
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21753
23086
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21754
23087
 
21755
23088
 
21756
 
# IFS
21757
 
# We need space, tab and new line, in precisely that order.
21758
 
as_nl='
21759
 
'
21760
 
IFS="   $as_nl"
21761
 
 
21762
 
# CDPATH.
21763
 
$as_unset CDPATH
21764
 
 
21765
23089
exec 6>&1
21766
23090
 
21767
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
23091
# Save the log message, to keep $[0] and so on meaningful, and to
21768
23092
# report actual input values of CONFIG_FILES etc. instead of their
21769
 
# values after options handling.  Logging --version etc. is OK.
21770
 
exec 5>>config.log
21771
 
{
21772
 
  echo
21773
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21774
 
## Running $as_me. ##
21775
 
_ASBOX
21776
 
} >&5
21777
 
cat >&5 <<_CSEOF
21778
 
 
21779
 
This file was extended by eiciel $as_me 0.9.2, which was
21780
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
23093
# values after options handling.
 
23094
ac_log="
 
23095
This file was extended by eiciel $as_me 0.9.6.1, which was
 
23096
generated by GNU Autoconf 2.61.  Invocation command line was
21781
23097
 
21782
23098
  CONFIG_FILES    = $CONFIG_FILES
21783
23099
  CONFIG_HEADERS  = $CONFIG_HEADERS
21785
23101
  CONFIG_COMMANDS = $CONFIG_COMMANDS
21786
23102
  $ $0 $@
21787
23103
 
21788
 
_CSEOF
21789
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21790
 
echo >&5
 
23104
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
23105
"
 
23106
 
21791
23107
_ACEOF
21792
23108
 
 
23109
cat >>$CONFIG_STATUS <<_ACEOF
21793
23110
# Files that config.status was made for.
21794
 
if test -n "$ac_config_files"; then
21795
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21796
 
fi
21797
 
 
21798
 
if test -n "$ac_config_headers"; then
21799
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21800
 
fi
21801
 
 
21802
 
if test -n "$ac_config_links"; then
21803
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21804
 
fi
21805
 
 
21806
 
if test -n "$ac_config_commands"; then
21807
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21808
 
fi
 
23111
config_files="$ac_config_files"
 
23112
config_headers="$ac_config_headers"
 
23113
config_commands="$ac_config_commands"
 
23114
 
 
23115
_ACEOF
21809
23116
 
21810
23117
cat >>$CONFIG_STATUS <<\_ACEOF
21811
 
 
21812
23118
ac_cs_usage="\
21813
23119
\`$as_me' instantiates files from templates according to the
21814
23120
current configuration.
21816
23122
Usage: $0 [OPTIONS] [FILE]...
21817
23123
 
21818
23124
  -h, --help       print this help, then exit
21819
 
  -V, --version    print version number, then exit
 
23125
  -V, --version    print version number and configuration settings, then exit
21820
23126
  -q, --quiet      do not print progress messages
21821
23127
  -d, --debug      don't remove temporary files
21822
23128
      --recheck    update $as_me by reconfiguring in the same conditions
21835
23141
$config_commands
21836
23142
 
21837
23143
Report bugs to <bug-autoconf@gnu.org>."
 
23144
 
21838
23145
_ACEOF
21839
 
 
21840
23146
cat >>$CONFIG_STATUS <<_ACEOF
21841
23147
ac_cs_version="\\
21842
 
eiciel config.status 0.9.2
21843
 
configured by $0, generated by GNU Autoconf 2.59,
21844
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
23148
eiciel config.status 0.9.6.1
 
23149
configured by $0, generated by GNU Autoconf 2.61,
 
23150
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21845
23151
 
21846
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
23152
Copyright (C) 2006 Free Software Foundation, Inc.
21847
23153
This config.status script is free software; the Free Software Foundation
21848
23154
gives unlimited permission to copy, distribute and modify it."
21849
 
srcdir=$srcdir
21850
 
INSTALL="$INSTALL"
 
23155
 
 
23156
ac_pwd='$ac_pwd'
 
23157
srcdir='$srcdir'
 
23158
INSTALL='$INSTALL'
 
23159
MKDIR_P='$MKDIR_P'
21851
23160
_ACEOF
21852
23161
 
21853
23162
cat >>$CONFIG_STATUS <<\_ACEOF
21858
23167
do
21859
23168
  case $1 in
21860
23169
  --*=*)
21861
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
21862
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
23170
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23171
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21863
23172
    ac_shift=:
21864
23173
    ;;
21865
 
  -*)
 
23174
  *)
21866
23175
    ac_option=$1
21867
23176
    ac_optarg=$2
21868
23177
    ac_shift=shift
21869
23178
    ;;
21870
 
  *) # This is not an option, so the user has probably given explicit
21871
 
     # arguments.
21872
 
     ac_option=$1
21873
 
     ac_need_defaults=false;;
21874
23179
  esac
21875
23180
 
21876
23181
  case $ac_option in
21877
23182
  # Handling of the options.
21878
 
_ACEOF
21879
 
cat >>$CONFIG_STATUS <<\_ACEOF
21880
23183
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21881
23184
    ac_cs_recheck=: ;;
21882
 
  --version | --vers* | -V )
21883
 
    echo "$ac_cs_version"; exit 0 ;;
21884
 
  --he | --h)
21885
 
    # Conflict between --help and --header
21886
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
21887
 
Try \`$0 --help' for more information." >&5
21888
 
echo "$as_me: error: ambiguous option: $1
21889
 
Try \`$0 --help' for more information." >&2;}
21890
 
   { (exit 1); exit 1; }; };;
21891
 
  --help | --hel | -h )
21892
 
    echo "$ac_cs_usage"; exit 0 ;;
21893
 
  --debug | --d* | -d )
 
23185
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23186
    echo "$ac_cs_version"; exit ;;
 
23187
  --debug | --debu | --deb | --de | --d | -d )
21894
23188
    debug=: ;;
21895
23189
  --file | --fil | --fi | --f )
21896
23190
    $ac_shift
21900
23194
    $ac_shift
21901
23195
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21902
23196
    ac_need_defaults=false;;
 
23197
  --he | --h)
 
23198
    # Conflict between --help and --header
 
23199
    { echo "$as_me: error: ambiguous option: $1
 
23200
Try \`$0 --help' for more information." >&2
 
23201
   { (exit 1); exit 1; }; };;
 
23202
  --help | --hel | -h )
 
23203
    echo "$ac_cs_usage"; exit ;;
21903
23204
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21904
23205
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21905
23206
    ac_cs_silent=: ;;
21906
23207
 
21907
23208
  # This is an error.
21908
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21909
 
Try \`$0 --help' for more information." >&5
21910
 
echo "$as_me: error: unrecognized option: $1
21911
 
Try \`$0 --help' for more information." >&2;}
 
23209
  -*) { echo "$as_me: error: unrecognized option: $1
 
23210
Try \`$0 --help' for more information." >&2
21912
23211
   { (exit 1); exit 1; }; } ;;
21913
23212
 
21914
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
23213
  *) ac_config_targets="$ac_config_targets $1"
 
23214
     ac_need_defaults=false ;;
21915
23215
 
21916
23216
  esac
21917
23217
  shift
21927
23227
_ACEOF
21928
23228
cat >>$CONFIG_STATUS <<_ACEOF
21929
23229
if \$ac_cs_recheck; then
21930
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21931
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23230
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
23231
  CONFIG_SHELL=$SHELL
 
23232
  export CONFIG_SHELL
 
23233
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21932
23234
fi
21933
23235
 
21934
23236
_ACEOF
 
23237
cat >>$CONFIG_STATUS <<\_ACEOF
 
23238
exec 5>>config.log
 
23239
{
 
23240
  echo
 
23241
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
23242
## Running $as_me. ##
 
23243
_ASBOX
 
23244
  echo "$ac_log"
 
23245
} >&5
21935
23246
 
 
23247
_ACEOF
21936
23248
cat >>$CONFIG_STATUS <<_ACEOF
21937
23249
#
21938
 
# INIT-COMMANDS section.
 
23250
# INIT-COMMANDS
21939
23251
#
21940
 
 
21941
23252
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
21942
 
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
21943
 
    # from automake.
 
23253
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
23254
    # from automake < 1.5.
21944
23255
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
21945
23256
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
21946
23257
    LINGUAS="${LINGUAS-%UNSET%}"
21949
23260
 
21950
23261
_ACEOF
21951
23262
 
21952
 
 
21953
 
 
21954
23263
cat >>$CONFIG_STATUS <<\_ACEOF
 
23264
 
 
23265
# Handling of arguments.
21955
23266
for ac_config_target in $ac_config_targets
21956
23267
do
21957
 
  case "$ac_config_target" in
21958
 
  # Handling of arguments.
21959
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21960
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21961
 
  "img/Makefile" ) CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
21962
 
  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
21963
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
21964
 
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
21965
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21966
 
  "doc/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/C/Makefile" ;;
21967
 
  "doc/C/figures/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/C/figures/Makefile" ;;
21968
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21969
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21970
 
  "config.hpp" ) CONFIG_HEADERS="$CONFIG_HEADERS config.hpp" ;;
 
23268
  case $ac_config_target in
 
23269
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
 
23270
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23271
    "config.hpp") CONFIG_HEADERS="$CONFIG_HEADERS config.hpp" ;;
 
23272
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23273
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
23274
    "img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
 
23275
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 
23276
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
23277
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
23278
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
23279
    "doc/C/Makefile") CONFIG_FILES="$CONFIG_FILES doc/C/Makefile" ;;
 
23280
    "doc/C/figures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/C/figures/Makefile" ;;
 
23281
 
21971
23282
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21972
23283
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21973
23284
   { (exit 1); exit 1; }; };;
21974
23285
  esac
21975
23286
done
21976
23287
 
 
23288
 
21977
23289
# If the user did not use the arguments to specify the items to instantiate,
21978
23290
# then the envvar interface is used.  Set only those that are not.
21979
23291
# We use the long form for the default assignment because of an extremely
21985
23297
fi
21986
23298
 
21987
23299
# Have a temporary directory for convenience.  Make it in the build tree
21988
 
# simply because there is no reason to put it here, and in addition,
 
23300
# simply because there is no reason against having it here, and in addition,
21989
23301
# creating and moving files from /tmp can sometimes cause problems.
21990
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23302
# Hook for its removal unless debugging.
 
23303
# Note that there is a small window in which the directory will not be cleaned:
 
23304
# after its creation but before its name has been assigned to `$tmp'.
21991
23305
$debug ||
21992
23306
{
21993
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23307
  tmp=
 
23308
  trap 'exit_status=$?
 
23309
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23310
' 0
21994
23311
  trap '{ (exit 1); exit 1; }' 1 2 13 15
21995
23312
}
21996
 
 
21997
23313
# Create a (secure) tmp directory for tmp files.
21998
23314
 
21999
23315
{
22000
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23316
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22001
23317
  test -n "$tmp" && test -d "$tmp"
22002
23318
}  ||
22003
23319
{
22004
 
  tmp=./confstat$$-$RANDOM
22005
 
  (umask 077 && mkdir $tmp)
 
23320
  tmp=./conf$$-$RANDOM
 
23321
  (umask 077 && mkdir "$tmp")
22006
23322
} ||
22007
23323
{
22008
23324
   echo "$me: cannot create a temporary directory in ." >&2
22009
23325
   { (exit 1); exit 1; }
22010
23326
}
22011
23327
 
22012
 
_ACEOF
22013
 
 
22014
 
cat >>$CONFIG_STATUS <<_ACEOF
22015
 
 
22016
23328
#
22017
 
# CONFIG_FILES section.
 
23329
# Set up the sed scripts for CONFIG_FILES section.
22018
23330
#
22019
23331
 
22020
23332
# No need to generate the scripts if there are no CONFIG_FILES.
22021
23333
# This happens for instance when ./config.status config.h
22022
 
if test -n "\$CONFIG_FILES"; then
22023
 
  # Protect against being on the right side of a sed subst in config.status.
22024
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22025
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22026
 
s,@SHELL@,$SHELL,;t t
22027
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22028
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22029
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22030
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22031
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22032
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22033
 
s,@exec_prefix@,$exec_prefix,;t t
22034
 
s,@prefix@,$prefix,;t t
22035
 
s,@program_transform_name@,$program_transform_name,;t t
22036
 
s,@bindir@,$bindir,;t t
22037
 
s,@sbindir@,$sbindir,;t t
22038
 
s,@libexecdir@,$libexecdir,;t t
22039
 
s,@datadir@,$datadir,;t t
22040
 
s,@sysconfdir@,$sysconfdir,;t t
22041
 
s,@sharedstatedir@,$sharedstatedir,;t t
22042
 
s,@localstatedir@,$localstatedir,;t t
22043
 
s,@libdir@,$libdir,;t t
22044
 
s,@includedir@,$includedir,;t t
22045
 
s,@oldincludedir@,$oldincludedir,;t t
22046
 
s,@infodir@,$infodir,;t t
22047
 
s,@mandir@,$mandir,;t t
22048
 
s,@build_alias@,$build_alias,;t t
22049
 
s,@host_alias@,$host_alias,;t t
22050
 
s,@target_alias@,$target_alias,;t t
22051
 
s,@DEFS@,$DEFS,;t t
22052
 
s,@ECHO_C@,$ECHO_C,;t t
22053
 
s,@ECHO_N@,$ECHO_N,;t t
22054
 
s,@ECHO_T@,$ECHO_T,;t t
22055
 
s,@LIBS@,$LIBS,;t t
22056
 
s,@build@,$build,;t t
22057
 
s,@build_cpu@,$build_cpu,;t t
22058
 
s,@build_vendor@,$build_vendor,;t t
22059
 
s,@build_os@,$build_os,;t t
22060
 
s,@host@,$host,;t t
22061
 
s,@host_cpu@,$host_cpu,;t t
22062
 
s,@host_vendor@,$host_vendor,;t t
22063
 
s,@host_os@,$host_os,;t t
22064
 
s,@target@,$target,;t t
22065
 
s,@target_cpu@,$target_cpu,;t t
22066
 
s,@target_vendor@,$target_vendor,;t t
22067
 
s,@target_os@,$target_os,;t t
22068
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22069
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22070
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22071
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
22072
 
s,@PACKAGE@,$PACKAGE,;t t
22073
 
s,@VERSION@,$VERSION,;t t
22074
 
s,@ACLOCAL@,$ACLOCAL,;t t
22075
 
s,@AUTOCONF@,$AUTOCONF,;t t
22076
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
22077
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
22078
 
s,@MAKEINFO@,$MAKEINFO,;t t
22079
 
s,@AMTAR@,$AMTAR,;t t
22080
 
s,@install_sh@,$install_sh,;t t
22081
 
s,@STRIP@,$STRIP,;t t
22082
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22083
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22084
 
s,@AWK@,$AWK,;t t
22085
 
s,@SET_MAKE@,$SET_MAKE,;t t
22086
 
s,@am__leading_dot@,$am__leading_dot,;t t
22087
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22088
 
s,@USE_NLS@,$USE_NLS,;t t
22089
 
s,@MSGFMT@,$MSGFMT,;t t
22090
 
s,@GMSGFMT@,$GMSGFMT,;t t
22091
 
s,@XGETTEXT@,$XGETTEXT,;t t
22092
 
s,@MSGMERGE@,$MSGMERGE,;t t
22093
 
s,@CC@,$CC,;t t
22094
 
s,@CFLAGS@,$CFLAGS,;t t
22095
 
s,@LDFLAGS@,$LDFLAGS,;t t
22096
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
22097
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
22098
 
s,@EXEEXT@,$EXEEXT,;t t
22099
 
s,@OBJEXT@,$OBJEXT,;t t
22100
 
s,@DEPDIR@,$DEPDIR,;t t
22101
 
s,@am__include@,$am__include,;t t
22102
 
s,@am__quote@,$am__quote,;t t
22103
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22104
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22105
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22106
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
22107
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22108
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22109
 
s,@LIBICONV@,$LIBICONV,;t t
22110
 
s,@LTLIBICONV@,$LTLIBICONV,;t t
22111
 
s,@INTLLIBS@,$INTLLIBS,;t t
22112
 
s,@LIBINTL@,$LIBINTL,;t t
22113
 
s,@LTLIBINTL@,$LTLIBINTL,;t t
22114
 
s,@POSUB@,$POSUB,;t t
22115
 
s,@CPP@,$CPP,;t t
22116
 
s,@CXX@,$CXX,;t t
22117
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
22118
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22119
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22120
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22121
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22122
 
s,@EGREP@,$EGREP,;t t
22123
 
s,@LN_S@,$LN_S,;t t
22124
 
s,@ECHO@,$ECHO,;t t
22125
 
s,@AR@,$AR,;t t
22126
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
22127
 
s,@RANLIB@,$RANLIB,;t t
22128
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22129
 
s,@CXXCPP@,$CXXCPP,;t t
22130
 
s,@F77@,$F77,;t t
22131
 
s,@FFLAGS@,$FFLAGS,;t t
22132
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
22133
 
s,@LIBTOOL@,$LIBTOOL,;t t
22134
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22135
 
s,@GTKMM_CFLAGS@,$GTKMM_CFLAGS,;t t
22136
 
s,@GTKMM_LIBS@,$GTKMM_LIBS,;t t
22137
 
s,@NAUTILUS_EXTENSIONS_DIR@,$NAUTILUS_EXTENSIONS_DIR,;t t
22138
 
s,@ENABLE_USER_XATTR_TRUE@,$ENABLE_USER_XATTR_TRUE,;t t
22139
 
s,@ENABLE_USER_XATTR_FALSE@,$ENABLE_USER_XATTR_FALSE,;t t
22140
 
s,@llibreria_acl@,$llibreria_acl,;t t
22141
 
s,@LIBOBJS@,$LIBOBJS,;t t
22142
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22143
 
CEOF
22144
 
 
22145
 
_ACEOF
22146
 
 
22147
 
  cat >>$CONFIG_STATUS <<\_ACEOF
22148
 
  # Split the substitutions into bite-sized pieces for seds with
22149
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
22150
 
  ac_max_sed_lines=48
22151
 
  ac_sed_frag=1 # Number of current file.
22152
 
  ac_beg=1 # First line for current file.
22153
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
22154
 
  ac_more_lines=:
22155
 
  ac_sed_cmds=
22156
 
  while $ac_more_lines; do
22157
 
    if test $ac_beg -gt 1; then
22158
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22159
 
    else
22160
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22161
 
    fi
22162
 
    if test ! -s $tmp/subs.frag; then
22163
 
      ac_more_lines=false
22164
 
    else
22165
 
      # The purpose of the label and of the branching condition is to
22166
 
      # speed up the sed processing (if there are no `@' at all, there
22167
 
      # is no need to browse any of the substitutions).
22168
 
      # These are the two extra sed commands mentioned above.
22169
 
      (echo ':t
22170
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22171
 
      if test -z "$ac_sed_cmds"; then
22172
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22173
 
      else
22174
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22175
 
      fi
22176
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
22177
 
      ac_beg=$ac_end
22178
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
22179
 
    fi
22180
 
  done
22181
 
  if test -z "$ac_sed_cmds"; then
22182
 
    ac_sed_cmds=cat
22183
 
  fi
 
23334
if test -n "$CONFIG_FILES"; then
 
23335
 
 
23336
_ACEOF
 
23337
 
 
23338
 
 
23339
 
 
23340
ac_delim='%!_!# '
 
23341
for ac_last_try in false false false false false :; do
 
23342
  cat >conf$$subs.sed <<_ACEOF
 
23343
SHELL!$SHELL$ac_delim
 
23344
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23345
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23346
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23347
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23348
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23349
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23350
exec_prefix!$exec_prefix$ac_delim
 
23351
prefix!$prefix$ac_delim
 
23352
program_transform_name!$program_transform_name$ac_delim
 
23353
bindir!$bindir$ac_delim
 
23354
sbindir!$sbindir$ac_delim
 
23355
libexecdir!$libexecdir$ac_delim
 
23356
datarootdir!$datarootdir$ac_delim
 
23357
datadir!$datadir$ac_delim
 
23358
sysconfdir!$sysconfdir$ac_delim
 
23359
sharedstatedir!$sharedstatedir$ac_delim
 
23360
localstatedir!$localstatedir$ac_delim
 
23361
includedir!$includedir$ac_delim
 
23362
oldincludedir!$oldincludedir$ac_delim
 
23363
docdir!$docdir$ac_delim
 
23364
infodir!$infodir$ac_delim
 
23365
htmldir!$htmldir$ac_delim
 
23366
dvidir!$dvidir$ac_delim
 
23367
pdfdir!$pdfdir$ac_delim
 
23368
psdir!$psdir$ac_delim
 
23369
libdir!$libdir$ac_delim
 
23370
localedir!$localedir$ac_delim
 
23371
mandir!$mandir$ac_delim
 
23372
DEFS!$DEFS$ac_delim
 
23373
ECHO_C!$ECHO_C$ac_delim
 
23374
ECHO_N!$ECHO_N$ac_delim
 
23375
ECHO_T!$ECHO_T$ac_delim
 
23376
LIBS!$LIBS$ac_delim
 
23377
build_alias!$build_alias$ac_delim
 
23378
host_alias!$host_alias$ac_delim
 
23379
target_alias!$target_alias$ac_delim
 
23380
build!$build$ac_delim
 
23381
build_cpu!$build_cpu$ac_delim
 
23382
build_vendor!$build_vendor$ac_delim
 
23383
build_os!$build_os$ac_delim
 
23384
host!$host$ac_delim
 
23385
host_cpu!$host_cpu$ac_delim
 
23386
host_vendor!$host_vendor$ac_delim
 
23387
host_os!$host_os$ac_delim
 
23388
target!$target$ac_delim
 
23389
target_cpu!$target_cpu$ac_delim
 
23390
target_vendor!$target_vendor$ac_delim
 
23391
target_os!$target_os$ac_delim
 
23392
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23393
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23394
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23395
am__isrc!$am__isrc$ac_delim
 
23396
CYGPATH_W!$CYGPATH_W$ac_delim
 
23397
PACKAGE!$PACKAGE$ac_delim
 
23398
VERSION!$VERSION$ac_delim
 
23399
ACLOCAL!$ACLOCAL$ac_delim
 
23400
AUTOCONF!$AUTOCONF$ac_delim
 
23401
AUTOMAKE!$AUTOMAKE$ac_delim
 
23402
AUTOHEADER!$AUTOHEADER$ac_delim
 
23403
MAKEINFO!$MAKEINFO$ac_delim
 
23404
install_sh!$install_sh$ac_delim
 
23405
STRIP!$STRIP$ac_delim
 
23406
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23407
mkdir_p!$mkdir_p$ac_delim
 
23408
AWK!$AWK$ac_delim
 
23409
SET_MAKE!$SET_MAKE$ac_delim
 
23410
am__leading_dot!$am__leading_dot$ac_delim
 
23411
AMTAR!$AMTAR$ac_delim
 
23412
am__tar!$am__tar$ac_delim
 
23413
am__untar!$am__untar$ac_delim
 
23414
USE_NLS!$USE_NLS$ac_delim
 
23415
MSGFMT!$MSGFMT$ac_delim
 
23416
GMSGFMT!$GMSGFMT$ac_delim
 
23417
MSGFMT_015!$MSGFMT_015$ac_delim
 
23418
GMSGFMT_015!$GMSGFMT_015$ac_delim
 
23419
XGETTEXT!$XGETTEXT$ac_delim
 
23420
XGETTEXT_015!$XGETTEXT_015$ac_delim
 
23421
MSGMERGE!$MSGMERGE$ac_delim
 
23422
CC!$CC$ac_delim
 
23423
CFLAGS!$CFLAGS$ac_delim
 
23424
LDFLAGS!$LDFLAGS$ac_delim
 
23425
CPPFLAGS!$CPPFLAGS$ac_delim
 
23426
ac_ct_CC!$ac_ct_CC$ac_delim
 
23427
EXEEXT!$EXEEXT$ac_delim
 
23428
OBJEXT!$OBJEXT$ac_delim
 
23429
DEPDIR!$DEPDIR$ac_delim
 
23430
am__include!$am__include$ac_delim
 
23431
am__quote!$am__quote$ac_delim
 
23432
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23433
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23434
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23435
CCDEPMODE!$CCDEPMODE$ac_delim
 
23436
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23437
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23438
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
 
23439
LIBICONV!$LIBICONV$ac_delim
 
23440
_ACEOF
 
23441
 
 
23442
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23443
    break
 
23444
  elif $ac_last_try; then
 
23445
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23446
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23447
   { (exit 1); exit 1; }; }
 
23448
  else
 
23449
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23450
  fi
 
23451
done
 
23452
 
 
23453
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23454
if test -n "$ac_eof"; then
 
23455
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23456
  ac_eof=`expr $ac_eof + 1`
 
23457
fi
 
23458
 
 
23459
cat >>$CONFIG_STATUS <<_ACEOF
 
23460
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
23461
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23462
_ACEOF
 
23463
sed '
 
23464
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23465
s/^/s,@/; s/!/@,|#_!!_#|/
 
23466
:n
 
23467
t n
 
23468
s/'"$ac_delim"'$/,g/; t
 
23469
s/$/\\/; p
 
23470
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23471
' >>$CONFIG_STATUS <conf$$subs.sed
 
23472
rm -f conf$$subs.sed
 
23473
cat >>$CONFIG_STATUS <<_ACEOF
 
23474
CEOF$ac_eof
 
23475
_ACEOF
 
23476
 
 
23477
 
 
23478
ac_delim='%!_!# '
 
23479
for ac_last_try in false false false false false :; do
 
23480
  cat >conf$$subs.sed <<_ACEOF
 
23481
LTLIBICONV!$LTLIBICONV$ac_delim
 
23482
INTLLIBS!$INTLLIBS$ac_delim
 
23483
LIBINTL!$LIBINTL$ac_delim
 
23484
LTLIBINTL!$LTLIBINTL$ac_delim
 
23485
POSUB!$POSUB$ac_delim
 
23486
CPP!$CPP$ac_delim
 
23487
CXX!$CXX$ac_delim
 
23488
CXXFLAGS!$CXXFLAGS$ac_delim
 
23489
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23490
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23491
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23492
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
23493
SED!$SED$ac_delim
 
23494
GREP!$GREP$ac_delim
 
23495
EGREP!$EGREP$ac_delim
 
23496
LN_S!$LN_S$ac_delim
 
23497
ECHO!$ECHO$ac_delim
 
23498
AR!$AR$ac_delim
 
23499
RANLIB!$RANLIB$ac_delim
 
23500
DSYMUTIL!$DSYMUTIL$ac_delim
 
23501
NMEDIT!$NMEDIT$ac_delim
 
23502
CXXCPP!$CXXCPP$ac_delim
 
23503
F77!$F77$ac_delim
 
23504
FFLAGS!$FFLAGS$ac_delim
 
23505
ac_ct_F77!$ac_ct_F77$ac_delim
 
23506
LIBTOOL!$LIBTOOL$ac_delim
 
23507
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
23508
GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
 
23509
GTKMM_LIBS!$GTKMM_LIBS$ac_delim
 
23510
NAUTILUS_EXTENSIONS_DIR!$NAUTILUS_EXTENSIONS_DIR$ac_delim
 
23511
ENABLE_USER_XATTR_TRUE!$ENABLE_USER_XATTR_TRUE$ac_delim
 
23512
ENABLE_USER_XATTR_FALSE!$ENABLE_USER_XATTR_FALSE$ac_delim
 
23513
llibreria_acl!$llibreria_acl$ac_delim
 
23514
LIBOBJS!$LIBOBJS$ac_delim
 
23515
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
23516
_ACEOF
 
23517
 
 
23518
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
 
23519
    break
 
23520
  elif $ac_last_try; then
 
23521
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23522
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23523
   { (exit 1); exit 1; }; }
 
23524
  else
 
23525
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23526
  fi
 
23527
done
 
23528
 
 
23529
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23530
if test -n "$ac_eof"; then
 
23531
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23532
  ac_eof=`expr $ac_eof + 1`
 
23533
fi
 
23534
 
 
23535
cat >>$CONFIG_STATUS <<_ACEOF
 
23536
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
23537
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
23538
_ACEOF
 
23539
sed '
 
23540
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23541
s/^/s,@/; s/!/@,|#_!!_#|/
 
23542
:n
 
23543
t n
 
23544
s/'"$ac_delim"'$/,g/; t
 
23545
s/$/\\/; p
 
23546
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23547
' >>$CONFIG_STATUS <conf$$subs.sed
 
23548
rm -f conf$$subs.sed
 
23549
cat >>$CONFIG_STATUS <<_ACEOF
 
23550
:end
 
23551
s/|#_!!_#|//g
 
23552
CEOF$ac_eof
 
23553
_ACEOF
 
23554
 
 
23555
 
 
23556
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
23557
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
23558
# trailing colons and then remove the whole line if VPATH becomes empty
 
23559
# (actually we leave an empty line to preserve line numbers).
 
23560
if test "x$srcdir" = x.; then
 
23561
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
23562
s/:*\$(srcdir):*/:/
 
23563
s/:*\${srcdir}:*/:/
 
23564
s/:*@srcdir@:*/:/
 
23565
s/^\([^=]*=[     ]*\):*/\1/
 
23566
s/:*$//
 
23567
s/^[^=]*=[       ]*$//
 
23568
}'
 
23569
fi
 
23570
 
 
23571
cat >>$CONFIG_STATUS <<\_ACEOF
22184
23572
fi # test -n "$CONFIG_FILES"
22185
23573
 
22186
 
_ACEOF
22187
 
cat >>$CONFIG_STATUS <<\_ACEOF
22188
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22189
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22190
 
  case $ac_file in
22191
 
  - | *:- | *:-:* ) # input from stdin
22192
 
        cat >$tmp/stdin
22193
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22194
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22195
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22196
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22197
 
  * )   ac_file_in=$ac_file.in ;;
22198
 
  esac
22199
 
 
22200
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22201
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
23574
 
 
23575
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
23576
do
 
23577
  case $ac_tag in
 
23578
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
23579
  esac
 
23580
  case $ac_mode$ac_tag in
 
23581
  :[FHL]*:*);;
 
23582
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
23583
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
23584
   { (exit 1); exit 1; }; };;
 
23585
  :[FH]-) ac_tag=-:-;;
 
23586
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
23587
  esac
 
23588
  ac_save_IFS=$IFS
 
23589
  IFS=:
 
23590
  set x $ac_tag
 
23591
  IFS=$ac_save_IFS
 
23592
  shift
 
23593
  ac_file=$1
 
23594
  shift
 
23595
 
 
23596
  case $ac_mode in
 
23597
  :L) ac_source=$1;;
 
23598
  :[FH])
 
23599
    ac_file_inputs=
 
23600
    for ac_f
 
23601
    do
 
23602
      case $ac_f in
 
23603
      -) ac_f="$tmp/stdin";;
 
23604
      *) # Look for the file first in the build tree, then in the source tree
 
23605
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
23606
         # because $ac_f cannot contain `:'.
 
23607
         test -f "$ac_f" ||
 
23608
           case $ac_f in
 
23609
           [\\/$]*) false;;
 
23610
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
23611
           esac ||
 
23612
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23613
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23614
   { (exit 1); exit 1; }; };;
 
23615
      esac
 
23616
      ac_file_inputs="$ac_file_inputs $ac_f"
 
23617
    done
 
23618
 
 
23619
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
23620
    # use $as_me), people would be surprised to read:
 
23621
    #    /* config.h.  Generated by config.status.  */
 
23622
    configure_input="Generated from "`IFS=:
 
23623
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
23624
    if test x"$ac_file" != x-; then
 
23625
      configure_input="$ac_file.  $configure_input"
 
23626
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
23627
echo "$as_me: creating $ac_file" >&6;}
 
23628
    fi
 
23629
 
 
23630
    case $ac_tag in
 
23631
    *:-:* | *:-) cat >"$tmp/stdin";;
 
23632
    esac
 
23633
    ;;
 
23634
  esac
 
23635
 
 
23636
  ac_dir=`$as_dirname -- "$ac_file" ||
22202
23637
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22203
23638
         X"$ac_file" : 'X\(//\)[^/]' \| \
22204
23639
         X"$ac_file" : 'X\(//\)$' \| \
22205
 
         X"$ac_file" : 'X\(/\)' \| \
22206
 
         .     : '\(.\)' 2>/dev/null ||
 
23640
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22207
23641
echo X"$ac_file" |
22208
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22209
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22210
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22211
 
          /^X\(\/\).*/{ s//\1/; q; }
22212
 
          s/.*/./; q'`
22213
 
  { if $as_mkdir_p; then
22214
 
    mkdir -p "$ac_dir"
22215
 
  else
22216
 
    as_dir="$ac_dir"
 
23642
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23643
            s//\1/
 
23644
            q
 
23645
          }
 
23646
          /^X\(\/\/\)[^/].*/{
 
23647
            s//\1/
 
23648
            q
 
23649
          }
 
23650
          /^X\(\/\/\)$/{
 
23651
            s//\1/
 
23652
            q
 
23653
          }
 
23654
          /^X\(\/\).*/{
 
23655
            s//\1/
 
23656
            q
 
23657
          }
 
23658
          s/.*/./; q'`
 
23659
  { as_dir="$ac_dir"
 
23660
  case $as_dir in #(
 
23661
  -*) as_dir=./$as_dir;;
 
23662
  esac
 
23663
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22217
23664
    as_dirs=
22218
 
    while test ! -d "$as_dir"; do
22219
 
      as_dirs="$as_dir $as_dirs"
22220
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23665
    while :; do
 
23666
      case $as_dir in #(
 
23667
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23668
      *) as_qdir=$as_dir;;
 
23669
      esac
 
23670
      as_dirs="'$as_qdir' $as_dirs"
 
23671
      as_dir=`$as_dirname -- "$as_dir" ||
22221
23672
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22222
23673
         X"$as_dir" : 'X\(//\)[^/]' \| \
22223
23674
         X"$as_dir" : 'X\(//\)$' \| \
22224
 
         X"$as_dir" : 'X\(/\)' \| \
22225
 
         .     : '\(.\)' 2>/dev/null ||
 
23675
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22226
23676
echo X"$as_dir" |
22227
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22228
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22229
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22230
 
          /^X\(\/\).*/{ s//\1/; q; }
22231
 
          s/.*/./; q'`
 
23677
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23678
            s//\1/
 
23679
            q
 
23680
          }
 
23681
          /^X\(\/\/\)[^/].*/{
 
23682
            s//\1/
 
23683
            q
 
23684
          }
 
23685
          /^X\(\/\/\)$/{
 
23686
            s//\1/
 
23687
            q
 
23688
          }
 
23689
          /^X\(\/\).*/{
 
23690
            s//\1/
 
23691
            q
 
23692
          }
 
23693
          s/.*/./; q'`
 
23694
      test -d "$as_dir" && break
22232
23695
    done
22233
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22234
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22235
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
23696
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23697
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23698
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22236
23699
   { (exit 1); exit 1; }; }; }
22237
 
 
22238
23700
  ac_builddir=.
22239
23701
 
22240
 
if test "$ac_dir" != .; then
 
23702
case "$ac_dir" in
 
23703
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23704
*)
22241
23705
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22242
 
  # A "../" for each directory in $ac_dir_suffix.
22243
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22244
 
else
22245
 
  ac_dir_suffix= ac_top_builddir=
22246
 
fi
 
23706
  # A ".." for each directory in $ac_dir_suffix.
 
23707
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
23708
  case $ac_top_builddir_sub in
 
23709
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23710
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
23711
  esac ;;
 
23712
esac
 
23713
ac_abs_top_builddir=$ac_pwd
 
23714
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
23715
# for backward compatibility:
 
23716
ac_top_builddir=$ac_top_build_prefix
22247
23717
 
22248
23718
case $srcdir in
22249
 
  .)  # No --srcdir option.  We are building in place.
 
23719
  .)  # We are building in place.
22250
23720
    ac_srcdir=.
22251
 
    if test -z "$ac_top_builddir"; then
22252
 
       ac_top_srcdir=.
22253
 
    else
22254
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22255
 
    fi ;;
22256
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
23721
    ac_top_srcdir=$ac_top_builddir_sub
 
23722
    ac_abs_top_srcdir=$ac_pwd ;;
 
23723
  [\\/]* | ?:[\\/]* )  # Absolute name.
22257
23724
    ac_srcdir=$srcdir$ac_dir_suffix;
22258
 
    ac_top_srcdir=$srcdir ;;
22259
 
  *) # Relative path.
22260
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22261
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22262
 
esac
22263
 
 
22264
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22265
 
# the directories may not exist.
22266
 
case `pwd` in
22267
 
.) ac_abs_builddir="$ac_dir";;
22268
 
*)
22269
 
  case "$ac_dir" in
22270
 
  .) ac_abs_builddir=`pwd`;;
22271
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22272
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22273
 
  esac;;
22274
 
esac
22275
 
case $ac_abs_builddir in
22276
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22277
 
*)
22278
 
  case ${ac_top_builddir}. in
22279
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22280
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22281
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22282
 
  esac;;
22283
 
esac
22284
 
case $ac_abs_builddir in
22285
 
.) ac_abs_srcdir=$ac_srcdir;;
22286
 
*)
22287
 
  case $ac_srcdir in
22288
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22289
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22290
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22291
 
  esac;;
22292
 
esac
22293
 
case $ac_abs_builddir in
22294
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22295
 
*)
22296
 
  case $ac_top_srcdir in
22297
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22298
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22299
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22300
 
  esac;;
22301
 
esac
22302
 
 
 
23725
    ac_top_srcdir=$srcdir
 
23726
    ac_abs_top_srcdir=$srcdir ;;
 
23727
  *) # Relative name.
 
23728
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
23729
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
23730
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
23731
esac
 
23732
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
23733
 
 
23734
 
 
23735
  case $ac_mode in
 
23736
  :F)
 
23737
  #
 
23738
  # CONFIG_FILE
 
23739
  #
22303
23740
 
22304
23741
  case $INSTALL in
22305
23742
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22306
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22307
 
  esac
22308
 
 
22309
 
  if test x"$ac_file" != x-; then
22310
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
22311
 
echo "$as_me: creating $ac_file" >&6;}
22312
 
    rm -f "$ac_file"
22313
 
  fi
22314
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22315
 
  # use $as_me), people would be surprised to read:
22316
 
  #    /* config.h.  Generated by config.status.  */
22317
 
  if test x"$ac_file" = x-; then
22318
 
    configure_input=
22319
 
  else
22320
 
    configure_input="$ac_file.  "
22321
 
  fi
22322
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
22323
 
                                     sed 's,.*/,,'` by configure."
22324
 
 
22325
 
  # First look for the input files in the build tree, otherwise in the
22326
 
  # src tree.
22327
 
  ac_file_inputs=`IFS=:
22328
 
    for f in $ac_file_in; do
22329
 
      case $f in
22330
 
      -) echo $tmp/stdin ;;
22331
 
      [\\/$]*)
22332
 
         # Absolute (can't be DOS-style, as IFS=:)
22333
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22334
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22335
 
   { (exit 1); exit 1; }; }
22336
 
         echo "$f";;
22337
 
      *) # Relative
22338
 
         if test -f "$f"; then
22339
 
           # Build tree
22340
 
           echo "$f"
22341
 
         elif test -f "$srcdir/$f"; then
22342
 
           # Source tree
22343
 
           echo "$srcdir/$f"
22344
 
         else
22345
 
           # /dev/null tree
22346
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22347
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22348
 
   { (exit 1); exit 1; }; }
22349
 
         fi;;
22350
 
      esac
22351
 
    done` || { (exit 1); exit 1; }
22352
 
_ACEOF
 
23743
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
23744
  esac
 
23745
  ac_MKDIR_P=$MKDIR_P
 
23746
  case $MKDIR_P in
 
23747
  [\\/$]* | ?:[\\/]* ) ;;
 
23748
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
23749
  esac
 
23750
_ACEOF
 
23751
 
 
23752
cat >>$CONFIG_STATUS <<\_ACEOF
 
23753
# If the template does not know about datarootdir, expand it.
 
23754
# FIXME: This hack should be removed a few years after 2.60.
 
23755
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23756
 
 
23757
case `sed -n '/datarootdir/ {
 
23758
  p
 
23759
  q
 
23760
}
 
23761
/@datadir@/p
 
23762
/@docdir@/p
 
23763
/@infodir@/p
 
23764
/@localedir@/p
 
23765
/@mandir@/p
 
23766
' $ac_file_inputs` in
 
23767
*datarootdir*) ac_datarootdir_seen=yes;;
 
23768
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
23769
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23770
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23771
_ACEOF
 
23772
cat >>$CONFIG_STATUS <<_ACEOF
 
23773
  ac_datarootdir_hack='
 
23774
  s&@datadir@&$datadir&g
 
23775
  s&@docdir@&$docdir&g
 
23776
  s&@infodir@&$infodir&g
 
23777
  s&@localedir@&$localedir&g
 
23778
  s&@mandir@&$mandir&g
 
23779
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
23780
esac
 
23781
_ACEOF
 
23782
 
 
23783
# Neutralize VPATH when `$srcdir' = `.'.
 
23784
# Shell code in configure.ac might set extrasub.
 
23785
# FIXME: do we really want to maintain this feature?
22353
23786
cat >>$CONFIG_STATUS <<_ACEOF
22354
23787
  sed "$ac_vpsub
22355
23788
$extrasub
22357
23790
cat >>$CONFIG_STATUS <<\_ACEOF
22358
23791
:t
22359
23792
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22360
 
s,@configure_input@,$configure_input,;t t
22361
 
s,@srcdir@,$ac_srcdir,;t t
22362
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22363
 
s,@top_srcdir@,$ac_top_srcdir,;t t
22364
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22365
 
s,@builddir@,$ac_builddir,;t t
22366
 
s,@abs_builddir@,$ac_abs_builddir,;t t
22367
 
s,@top_builddir@,$ac_top_builddir,;t t
22368
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22369
 
s,@INSTALL@,$ac_INSTALL,;t t
22370
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22371
 
  rm -f $tmp/stdin
22372
 
  if test x"$ac_file" != x-; then
22373
 
    mv $tmp/out $ac_file
22374
 
  else
22375
 
    cat $tmp/out
22376
 
    rm -f $tmp/out
22377
 
  fi
22378
 
 
22379
 
done
 
23793
s&@configure_input@&$configure_input&;t t
 
23794
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23795
s&@srcdir@&$ac_srcdir&;t t
 
23796
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23797
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23798
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23799
s&@builddir@&$ac_builddir&;t t
 
23800
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23801
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23802
s&@INSTALL@&$ac_INSTALL&;t t
 
23803
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
23804
$ac_datarootdir_hack
 
23805
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
23806
 
 
23807
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23808
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
23809
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23810
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23811
which seems to be undefined.  Please make sure it is defined." >&5
 
23812
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23813
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23814
 
 
23815
  rm -f "$tmp/stdin"
 
23816
  case $ac_file in
 
23817
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
23818
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
23819
  esac
 
23820
 ;;
 
23821
  :H)
 
23822
  #
 
23823
  # CONFIG_HEADER
 
23824
  #
22380
23825
_ACEOF
22381
 
cat >>$CONFIG_STATUS <<\_ACEOF
22382
 
 
22383
 
#
22384
 
# CONFIG_HEADER section.
22385
 
#
22386
 
 
22387
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22388
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22389
 
#
22390
 
# ac_d sets the value in "#define NAME VALUE" lines.
22391
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
22392
 
ac_dB='[         ].*$,\1#\2'
 
23826
 
 
23827
# Transform confdefs.h into a sed script `conftest.defines', that
 
23828
# substitutes the proper values into config.h.in to produce config.h.
 
23829
rm -f conftest.defines conftest.tail
 
23830
# First, append a space to every undef/define line, to ease matching.
 
23831
echo 's/$/ /' >conftest.defines
 
23832
# Then, protect against being on the right side of a sed subst, or in
 
23833
# an unquoted here document, in config.status.  If some macros were
 
23834
# called several times there might be several #defines for the same
 
23835
# symbol, which is useless.  But do not sort them, since the last
 
23836
# AC_DEFINE must be honored.
 
23837
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23838
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
23839
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
23840
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
23841
# just an empty string.
 
23842
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
23843
ac_dB='\\)[      (].*,\\1define\\2'
22393
23844
ac_dC=' '
22394
 
ac_dD=',;t'
22395
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22396
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
22397
 
ac_uB='$,\1#\2define\3'
22398
 
ac_uC=' '
22399
 
ac_uD=',;t'
22400
 
 
22401
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22402
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22403
 
  case $ac_file in
22404
 
  - | *:- | *:-:* ) # input from stdin
22405
 
        cat >$tmp/stdin
22406
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22407
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22408
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22409
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22410
 
  * )   ac_file_in=$ac_file.in ;;
22411
 
  esac
22412
 
 
22413
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22414
 
echo "$as_me: creating $ac_file" >&6;}
22415
 
 
22416
 
  # First look for the input files in the build tree, otherwise in the
22417
 
  # src tree.
22418
 
  ac_file_inputs=`IFS=:
22419
 
    for f in $ac_file_in; do
22420
 
      case $f in
22421
 
      -) echo $tmp/stdin ;;
22422
 
      [\\/$]*)
22423
 
         # Absolute (can't be DOS-style, as IFS=:)
22424
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22425
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22426
 
   { (exit 1); exit 1; }; }
22427
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
22428
 
         echo "$f";;
22429
 
      *) # Relative
22430
 
         if test -f "$f"; then
22431
 
           # Build tree
22432
 
           echo "$f"
22433
 
         elif test -f "$srcdir/$f"; then
22434
 
           # Source tree
22435
 
           echo "$srcdir/$f"
22436
 
         else
22437
 
           # /dev/null tree
22438
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22439
 
echo "$as_me: error: cannot find input file: $f" >&2;}
22440
 
   { (exit 1); exit 1; }; }
22441
 
         fi;;
22442
 
      esac
22443
 
    done` || { (exit 1); exit 1; }
22444
 
  # Remove the trailing spaces.
22445
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
22446
 
 
22447
 
_ACEOF
22448
 
 
22449
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22450
 
# `conftest.undefs', that substitutes the proper values into
22451
 
# config.h.in to produce config.h.  The first handles `#define'
22452
 
# templates, and the second `#undef' templates.
22453
 
# And first: Protect against being on the right side of a sed subst in
22454
 
# config.status.  Protect against being in an unquoted here document
22455
 
# in config.status.
22456
 
rm -f conftest.defines conftest.undefs
22457
 
# Using a here document instead of a string reduces the quoting nightmare.
22458
 
# Putting comments in sed scripts is not portable.
22459
 
#
22460
 
# `end' is used to avoid that the second main sed command (meant for
22461
 
# 0-ary CPP macros) applies to n-ary macro definitions.
22462
 
# See the Autoconf documentation for `clear'.
22463
 
cat >confdef2sed.sed <<\_ACEOF
22464
 
s/[\\&,]/\\&/g
22465
 
s,[\\$`],\\&,g
22466
 
t clear
22467
 
: clear
22468
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22469
 
t end
22470
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22471
 
: end
22472
 
_ACEOF
22473
 
# If some macros were called several times there might be several times
22474
 
# the same #defines, which is useless.  Nevertheless, we may not want to
22475
 
# sort them, since we want the *last* AC-DEFINE to be honored.
22476
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22477
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22478
 
rm -f confdef2sed.sed
22479
 
 
22480
 
# This sed command replaces #undef with comments.  This is necessary, for
 
23845
ac_dD=' ,'
 
23846
 
 
23847
uniq confdefs.h |
 
23848
  sed -n '
 
23849
        t rset
 
23850
        :rset
 
23851
        s/^[     ]*#[    ]*define[       ][      ]*//
 
23852
        t ok
 
23853
        d
 
23854
        :ok
 
23855
        s/[\\&,]/\\&/g
 
23856
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
23857
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
23858
  ' >>conftest.defines
 
23859
 
 
23860
# Remove the space that was appended to ease matching.
 
23861
# Then replace #undef with comments.  This is necessary, for
22481
23862
# example, in the case of _POSIX_SOURCE, which is predefined and required
22482
23863
# on some systems where configure will not decide to define it.
22483
 
cat >>conftest.undefs <<\_ACEOF
22484
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
23864
# (The regexp can be short, since the line contains either #define or #undef.)
 
23865
echo 's/ $//
 
23866
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
23867
 
 
23868
# Break up conftest.defines:
 
23869
ac_max_sed_lines=50
 
23870
 
 
23871
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
23872
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
23873
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
23874
# et cetera.
 
23875
ac_in='$ac_file_inputs'
 
23876
ac_out='"$tmp/out1"'
 
23877
ac_nxt='"$tmp/out2"'
 
23878
 
 
23879
while :
 
23880
do
 
23881
  # Write a here document:
 
23882
    cat >>$CONFIG_STATUS <<_ACEOF
 
23883
    # First, check the format of the line:
 
23884
    cat >"\$tmp/defines.sed" <<\\CEOF
 
23885
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
23886
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
23887
b
 
23888
:def
22485
23889
_ACEOF
22486
 
 
22487
 
# Break up conftest.defines because some shells have a limit on the size
22488
 
# of here documents, and old seds have small limits too (100 cmds).
22489
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22490
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22491
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22492
 
echo '  :' >>$CONFIG_STATUS
22493
 
rm -f conftest.tail
22494
 
while grep . conftest.defines >/dev/null
22495
 
do
22496
 
  # Write a limited-size here document to $tmp/defines.sed.
22497
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22498
 
  # Speed up: don't consider the non `#define' lines.
22499
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
22500
 
  # Work around the forget-to-reset-the-flag bug.
22501
 
  echo 't clr' >>$CONFIG_STATUS
22502
 
  echo ': clr' >>$CONFIG_STATUS
22503
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
23890
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22504
23891
  echo 'CEOF
22505
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
22506
 
  rm -f $tmp/in
22507
 
  mv $tmp/out $tmp/in
22508
 
' >>$CONFIG_STATUS
22509
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
23892
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
23893
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
23894
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
23895
  grep . conftest.tail >/dev/null || break
22510
23896
  rm -f conftest.defines
22511
23897
  mv conftest.tail conftest.defines
22512
23898
done
22513
 
rm -f conftest.defines
22514
 
echo '  fi # grep' >>$CONFIG_STATUS
22515
 
echo >>$CONFIG_STATUS
22516
 
 
22517
 
# Break up conftest.undefs because some shells have a limit on the size
22518
 
# of here documents, and old seds have small limits too (100 cmds).
22519
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
22520
 
rm -f conftest.tail
22521
 
while grep . conftest.undefs >/dev/null
22522
 
do
22523
 
  # Write a limited-size here document to $tmp/undefs.sed.
22524
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22525
 
  # Speed up: don't consider the non `#undef'
22526
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
22527
 
  # Work around the forget-to-reset-the-flag bug.
22528
 
  echo 't clr' >>$CONFIG_STATUS
22529
 
  echo ': clr' >>$CONFIG_STATUS
22530
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22531
 
  echo 'CEOF
22532
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22533
 
  rm -f $tmp/in
22534
 
  mv $tmp/out $tmp/in
22535
 
' >>$CONFIG_STATUS
22536
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22537
 
  rm -f conftest.undefs
22538
 
  mv conftest.tail conftest.undefs
22539
 
done
22540
 
rm -f conftest.undefs
22541
 
 
 
23899
rm -f conftest.defines conftest.tail
 
23900
 
 
23901
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22542
23902
cat >>$CONFIG_STATUS <<\_ACEOF
22543
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
22544
 
  # use $as_me), people would be surprised to read:
22545
 
  #    /* config.h.  Generated by config.status.  */
22546
 
  if test x"$ac_file" = x-; then
22547
 
    echo "/* Generated by configure.  */" >$tmp/config.h
22548
 
  else
22549
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
22550
 
  fi
22551
 
  cat $tmp/in >>$tmp/config.h
22552
 
  rm -f $tmp/in
22553
23903
  if test x"$ac_file" != x-; then
22554
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
23904
    echo "/* $configure_input  */" >"$tmp/config.h"
 
23905
    cat "$ac_result" >>"$tmp/config.h"
 
23906
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22555
23907
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22556
23908
echo "$as_me: $ac_file is unchanged" >&6;}
22557
23909
    else
22558
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22559
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22560
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
22561
 
         X"$ac_file" : 'X\(//\)$' \| \
22562
 
         X"$ac_file" : 'X\(/\)' \| \
22563
 
         .     : '\(.\)' 2>/dev/null ||
22564
 
echo X"$ac_file" |
22565
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22566
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22567
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22568
 
          /^X\(\/\).*/{ s//\1/; q; }
22569
 
          s/.*/./; q'`
22570
 
      { if $as_mkdir_p; then
22571
 
    mkdir -p "$ac_dir"
22572
 
  else
22573
 
    as_dir="$ac_dir"
22574
 
    as_dirs=
22575
 
    while test ! -d "$as_dir"; do
22576
 
      as_dirs="$as_dir $as_dirs"
22577
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22578
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22579
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22580
 
         X"$as_dir" : 'X\(//\)$' \| \
22581
 
         X"$as_dir" : 'X\(/\)' \| \
22582
 
         .     : '\(.\)' 2>/dev/null ||
22583
 
echo X"$as_dir" |
22584
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22585
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22586
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22587
 
          /^X\(\/\).*/{ s//\1/; q; }
22588
 
          s/.*/./; q'`
22589
 
    done
22590
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22591
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22592
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22593
 
   { (exit 1); exit 1; }; }; }
22594
 
 
22595
23910
      rm -f $ac_file
22596
 
      mv $tmp/config.h $ac_file
 
23911
      mv "$tmp/config.h" $ac_file
22597
23912
    fi
22598
23913
  else
22599
 
    cat $tmp/config.h
22600
 
    rm -f $tmp/config.h
 
23914
    echo "/* $configure_input  */"
 
23915
    cat "$ac_result"
22601
23916
  fi
 
23917
  rm -f "$tmp/out12"
22602
23918
# Compute $ac_file's index in $config_headers.
 
23919
_am_arg=$ac_file
22603
23920
_am_stamp_count=1
22604
23921
for _am_header in $config_headers :; do
22605
23922
  case $_am_header in
22606
 
    $ac_file | $ac_file:* )
 
23923
    $_am_arg | $_am_arg:* )
22607
23924
      break ;;
22608
23925
    * )
22609
23926
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22610
23927
  esac
22611
23928
done
22612
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22613
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22614
 
         X$ac_file : 'X\(//\)[^/]' \| \
22615
 
         X$ac_file : 'X\(//\)$' \| \
22616
 
         X$ac_file : 'X\(/\)' \| \
22617
 
         .     : '\(.\)' 2>/dev/null ||
22618
 
echo X$ac_file |
22619
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22620
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22621
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22622
 
          /^X\(\/\).*/{ s//\1/; q; }
22623
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
22624
 
done
22625
 
_ACEOF
22626
 
cat >>$CONFIG_STATUS <<\_ACEOF
22627
 
 
22628
 
#
22629
 
# CONFIG_COMMANDS section.
22630
 
#
22631
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22632
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22633
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22634
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22635
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22636
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22637
 
         X"$ac_dest" : 'X\(//\)$' \| \
22638
 
         X"$ac_dest" : 'X\(/\)' \| \
22639
 
         .     : '\(.\)' 2>/dev/null ||
22640
 
echo X"$ac_dest" |
22641
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22642
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22643
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22644
 
          /^X\(\/\).*/{ s//\1/; q; }
22645
 
          s/.*/./; q'`
22646
 
  { if $as_mkdir_p; then
22647
 
    mkdir -p "$ac_dir"
22648
 
  else
22649
 
    as_dir="$ac_dir"
22650
 
    as_dirs=
22651
 
    while test ! -d "$as_dir"; do
22652
 
      as_dirs="$as_dir $as_dirs"
22653
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22654
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22655
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22656
 
         X"$as_dir" : 'X\(//\)$' \| \
22657
 
         X"$as_dir" : 'X\(/\)' \| \
22658
 
         .     : '\(.\)' 2>/dev/null ||
22659
 
echo X"$as_dir" |
22660
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22661
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22662
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22663
 
          /^X\(\/\).*/{ s//\1/; q; }
22664
 
          s/.*/./; q'`
22665
 
    done
22666
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22667
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22668
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22669
 
   { (exit 1); exit 1; }; }; }
22670
 
 
22671
 
  ac_builddir=.
22672
 
 
22673
 
if test "$ac_dir" != .; then
22674
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22675
 
  # A "../" for each directory in $ac_dir_suffix.
22676
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22677
 
else
22678
 
  ac_dir_suffix= ac_top_builddir=
22679
 
fi
22680
 
 
22681
 
case $srcdir in
22682
 
  .)  # No --srcdir option.  We are building in place.
22683
 
    ac_srcdir=.
22684
 
    if test -z "$ac_top_builddir"; then
22685
 
       ac_top_srcdir=.
22686
 
    else
22687
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22688
 
    fi ;;
22689
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
22690
 
    ac_srcdir=$srcdir$ac_dir_suffix;
22691
 
    ac_top_srcdir=$srcdir ;;
22692
 
  *) # Relative path.
22693
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22694
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22695
 
esac
22696
 
 
22697
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22698
 
# the directories may not exist.
22699
 
case `pwd` in
22700
 
.) ac_abs_builddir="$ac_dir";;
22701
 
*)
22702
 
  case "$ac_dir" in
22703
 
  .) ac_abs_builddir=`pwd`;;
22704
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22705
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22706
 
  esac;;
22707
 
esac
22708
 
case $ac_abs_builddir in
22709
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22710
 
*)
22711
 
  case ${ac_top_builddir}. in
22712
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22713
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22714
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22715
 
  esac;;
22716
 
esac
22717
 
case $ac_abs_builddir in
22718
 
.) ac_abs_srcdir=$ac_srcdir;;
22719
 
*)
22720
 
  case $ac_srcdir in
22721
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22722
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22723
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22724
 
  esac;;
22725
 
esac
22726
 
case $ac_abs_builddir in
22727
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22728
 
*)
22729
 
  case $ac_top_srcdir in
22730
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22731
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22732
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22733
 
  esac;;
22734
 
esac
22735
 
 
22736
 
 
22737
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22738
 
echo "$as_me: executing $ac_dest commands" >&6;}
22739
 
  case $ac_dest in
22740
 
    default-1 )
 
23929
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
23930
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23931
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
23932
         X"$_am_arg" : 'X\(//\)$' \| \
 
23933
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
23934
echo X"$_am_arg" |
 
23935
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23936
            s//\1/
 
23937
            q
 
23938
          }
 
23939
          /^X\(\/\/\)[^/].*/{
 
23940
            s//\1/
 
23941
            q
 
23942
          }
 
23943
          /^X\(\/\/\)$/{
 
23944
            s//\1/
 
23945
            q
 
23946
          }
 
23947
          /^X\(\/\).*/{
 
23948
            s//\1/
 
23949
            q
 
23950
          }
 
23951
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23952
 ;;
 
23953
 
 
23954
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23955
echo "$as_me: executing $ac_file commands" >&6;}
 
23956
 ;;
 
23957
  esac
 
23958
 
 
23959
 
 
23960
  case $ac_file$ac_mode in
 
23961
    "po-directories":C)
22741
23962
    for ac_file in $CONFIG_FILES; do
22742
23963
      # Support "outfile[:infile[:infile...]]"
22743
23964
      case "$ac_file" in
22757
23978
          /*) top_srcdir="$ac_given_srcdir" ;;
22758
23979
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
22759
23980
        esac
 
23981
        # Treat a directory as a PO directory if and only if it has a
 
23982
        # POTFILES.in file. This allows packages to have multiple PO
 
23983
        # directories under different names or in different locations.
22760
23984
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22761
23985
          rm -f "$ac_dir/POTFILES"
22762
23986
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
22763
23987
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22764
23988
          POMAKEFILEDEPS="POTFILES.in"
22765
 
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
 
23989
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22766
23990
          # on $ac_dir but don't depend on user-specified configuration
22767
23991
          # parameters.
22768
23992
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22770
23994
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
22771
23995
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
22772
23996
            fi
22773
 
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22774
 
            # Hide the ALL_LINGUAS assigment from automake.
 
23997
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
23998
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
22775
23999
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22776
24000
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
22777
24001
          else
22778
24002
            # The set of available languages was given in configure.in.
 
24003
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
22779
24004
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22780
24005
          fi
 
24006
          # Compute POFILES
 
24007
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
24008
          # Compute UPDATEPOFILES
 
24009
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
24010
          # Compute DUMMYPOFILES
 
24011
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
24012
          # Compute GMOFILES
 
24013
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22781
24014
          case "$ac_given_srcdir" in
22782
24015
            .) srcdirpre= ;;
22783
24016
            *) srcdirpre='$(srcdir)/' ;;
22784
24017
          esac
22785
24018
          POFILES=
22786
 
          GMOFILES=
22787
24019
          UPDATEPOFILES=
22788
24020
          DUMMYPOFILES=
 
24021
          GMOFILES=
22789
24022
          for lang in $ALL_LINGUAS; do
22790
24023
            POFILES="$POFILES $srcdirpre$lang.po"
22791
 
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22792
24024
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
22793
24025
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
24026
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22794
24027
          done
22795
24028
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
22796
24029
          # environment variable.
22825
24058
            done
22826
24059
          fi
22827
24060
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
22828
 
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
24061
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
22829
24062
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
22830
24063
            if test -f "$f"; then
22831
24064
              case "$f" in
22838
24071
        ;;
22839
24072
      esac
22840
24073
    done ;;
22841
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
24074
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22842
24075
  # Strip MF so we end up with the name of the file.
22843
24076
  mf=`echo "$mf" | sed -e 's/:.*$//'`
22844
24077
  # Check whether this is an Automake generated Makefile or not.
22846
24079
  # some people rename them; so instead we look at the file content.
22847
24080
  # Grep'ing the first line is not enough: some people post-process
22848
24081
  # each Makefile.in and add a new line on top of each file to say so.
22849
 
  # So let's grep whole file.
22850
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22851
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
24082
  # Grep'ing the whole file is not good either: AIX grep has a line
 
24083
  # limit of 2048, but all sed's we know have understand at least 4000.
 
24084
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
24085
    dirpart=`$as_dirname -- "$mf" ||
22852
24086
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22853
24087
         X"$mf" : 'X\(//\)[^/]' \| \
22854
24088
         X"$mf" : 'X\(//\)$' \| \
22855
 
         X"$mf" : 'X\(/\)' \| \
22856
 
         .     : '\(.\)' 2>/dev/null ||
 
24089
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22857
24090
echo X"$mf" |
22858
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22859
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22860
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22861
 
          /^X\(\/\).*/{ s//\1/; q; }
22862
 
          s/.*/./; q'`
 
24091
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24092
            s//\1/
 
24093
            q
 
24094
          }
 
24095
          /^X\(\/\/\)[^/].*/{
 
24096
            s//\1/
 
24097
            q
 
24098
          }
 
24099
          /^X\(\/\/\)$/{
 
24100
            s//\1/
 
24101
            q
 
24102
          }
 
24103
          /^X\(\/\).*/{
 
24104
            s//\1/
 
24105
            q
 
24106
          }
 
24107
          s/.*/./; q'`
22863
24108
  else
22864
24109
    continue
22865
24110
  fi
22866
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
22867
 
  # Extract the definition of DEP_FILES from the Makefile without
22868
 
  # running `make'.
22869
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
24111
  # Extract the definition of DEPDIR, am__include, and am__quote
 
24112
  # from the Makefile without running `make'.
 
24113
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22870
24114
  test -z "$DEPDIR" && continue
 
24115
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
24116
  test -z "am__include" && continue
 
24117
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22871
24118
  # When using ansi2knr, U may be empty or an underscore; expand it
22872
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
22873
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
22874
 
  # We invoke sed twice because it is the simplest approach to
22875
 
  # changing $(DEPDIR) to its actual value in the expansion.
22876
 
  for file in `sed -n -e '
22877
 
    /^DEP_FILES = .*\\\\$/ {
22878
 
      s/^DEP_FILES = //
22879
 
      :loop
22880
 
        s/\\\\$//
22881
 
        p
22882
 
        n
22883
 
        /\\\\$/ b loop
22884
 
      p
22885
 
    }
22886
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
24119
  U=`sed -n 's/^U = //p' < "$mf"`
 
24120
  # Find all dependency output files, they are included files with
 
24121
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
24122
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
24123
  # expansion.
 
24124
  for file in `sed -n "
 
24125
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22887
24126
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22888
24127
    # Make sure the directory exists.
22889
24128
    test -f "$dirpart/$file" && continue
22890
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
24129
    fdir=`$as_dirname -- "$file" ||
22891
24130
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22892
24131
         X"$file" : 'X\(//\)[^/]' \| \
22893
24132
         X"$file" : 'X\(//\)$' \| \
22894
 
         X"$file" : 'X\(/\)' \| \
22895
 
         .     : '\(.\)' 2>/dev/null ||
 
24133
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22896
24134
echo X"$file" |
22897
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22898
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22899
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22900
 
          /^X\(\/\).*/{ s//\1/; q; }
22901
 
          s/.*/./; q'`
22902
 
    { if $as_mkdir_p; then
22903
 
    mkdir -p $dirpart/$fdir
22904
 
  else
22905
 
    as_dir=$dirpart/$fdir
 
24135
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24136
            s//\1/
 
24137
            q
 
24138
          }
 
24139
          /^X\(\/\/\)[^/].*/{
 
24140
            s//\1/
 
24141
            q
 
24142
          }
 
24143
          /^X\(\/\/\)$/{
 
24144
            s//\1/
 
24145
            q
 
24146
          }
 
24147
          /^X\(\/\).*/{
 
24148
            s//\1/
 
24149
            q
 
24150
          }
 
24151
          s/.*/./; q'`
 
24152
    { as_dir=$dirpart/$fdir
 
24153
  case $as_dir in #(
 
24154
  -*) as_dir=./$as_dir;;
 
24155
  esac
 
24156
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22906
24157
    as_dirs=
22907
 
    while test ! -d "$as_dir"; do
22908
 
      as_dirs="$as_dir $as_dirs"
22909
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24158
    while :; do
 
24159
      case $as_dir in #(
 
24160
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24161
      *) as_qdir=$as_dir;;
 
24162
      esac
 
24163
      as_dirs="'$as_qdir' $as_dirs"
 
24164
      as_dir=`$as_dirname -- "$as_dir" ||
22910
24165
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22911
24166
         X"$as_dir" : 'X\(//\)[^/]' \| \
22912
24167
         X"$as_dir" : 'X\(//\)$' \| \
22913
 
         X"$as_dir" : 'X\(/\)' \| \
22914
 
         .     : '\(.\)' 2>/dev/null ||
 
24168
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22915
24169
echo X"$as_dir" |
22916
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22917
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22918
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22919
 
          /^X\(\/\).*/{ s//\1/; q; }
22920
 
          s/.*/./; q'`
 
24170
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24171
            s//\1/
 
24172
            q
 
24173
          }
 
24174
          /^X\(\/\/\)[^/].*/{
 
24175
            s//\1/
 
24176
            q
 
24177
          }
 
24178
          /^X\(\/\/\)$/{
 
24179
            s//\1/
 
24180
            q
 
24181
          }
 
24182
          /^X\(\/\).*/{
 
24183
            s//\1/
 
24184
            q
 
24185
          }
 
24186
          s/.*/./; q'`
 
24187
      test -d "$as_dir" && break
22921
24188
    done
22922
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22923
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22924
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
24189
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24190
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24191
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22925
24192
   { (exit 1); exit 1; }; }; }
22926
 
 
22927
24193
    # echo "creating $dirpart/$file"
22928
24194
    echo '# dummy' > "$dirpart/$file"
22929
24195
  done
22930
24196
done
22931
24197
 ;;
 
24198
 
22932
24199
  esac
22933
 
done
22934
 
_ACEOF
 
24200
done # for ac_tag
22935
24201
 
22936
 
cat >>$CONFIG_STATUS <<\_ACEOF
22937
24202
 
22938
24203
{ (exit 0); exit 0; }
22939
24204
_ACEOF