~ubuntu-branches/ubuntu/lucid/ardour/lucid-proposed

« back to all changes in this revision

Viewing changes to libs/glibmm2/configure

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2008-02-07 20:51:55 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20080207205155-xzi5lq5s2o1okvx8
Tags: 1:2.3.1-1
* New upstream release
* debian/control:
   - build-depend on libfftw3-dev (Closes: #463803)
   - added Homepage, Vcs-Svn, Vcs-Browser
* debian/patches
   - dropped 50-soundtouch.patch (fixed upstream)
   - updated 80_ardourino.patch
   - dropped unused patches from source package

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.
 
3
# Generated by GNU Autoconf 2.61.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
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
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
152
232
done
153
 
;;
154
 
  esac
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
551
 
244
552
 
245
553
# Check that we are running under the correct shell.
395
703
 
396
704
tagnames=${tagnames+${tagnames},}F77
397
705
 
 
706
exec 7<&0 </dev/null 6>&1
 
707
 
398
708
# Name of the host.
399
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
710
# so uname gets run too.
401
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
712
 
403
 
exec 6>&1
404
 
 
405
713
#
406
714
# Initializations.
407
715
#
408
716
ac_default_prefix=/usr/local
 
717
ac_clean_files=
409
718
ac_config_libobj_dir=.
 
719
LIBOBJS=
410
720
cross_compiling=no
411
721
subdirs=
412
722
MFLAGS=
413
723
MAKEFLAGS=
414
724
SHELL=${CONFIG_SHELL-/bin/sh}
415
725
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
 
 
421
726
# Identity of this package.
422
727
PACKAGE_NAME=
423
728
PACKAGE_TARNAME=
429
734
# Factoring default headers for most tests.
430
735
ac_includes_default="\
431
736
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
 
737
#ifdef HAVE_SYS_TYPES_H
433
738
# include <sys/types.h>
434
739
#endif
435
 
#if HAVE_SYS_STAT_H
 
740
#ifdef HAVE_SYS_STAT_H
436
741
# include <sys/stat.h>
437
742
#endif
438
 
#if STDC_HEADERS
 
743
#ifdef STDC_HEADERS
439
744
# include <stdlib.h>
440
745
# include <stddef.h>
441
746
#else
442
 
# if HAVE_STDLIB_H
 
747
# ifdef HAVE_STDLIB_H
443
748
#  include <stdlib.h>
444
749
# endif
445
750
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
751
#ifdef HAVE_STRING_H
 
752
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448
753
#  include <memory.h>
449
754
# endif
450
755
# include <string.h>
451
756
#endif
452
 
#if HAVE_STRINGS_H
 
757
#ifdef HAVE_STRINGS_H
453
758
# include <strings.h>
454
759
#endif
455
 
#if HAVE_INTTYPES_H
 
760
#ifdef HAVE_INTTYPES_H
456
761
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
 
762
#endif
 
763
#ifdef HAVE_STDINT_H
 
764
# include <stdint.h>
 
765
#endif
 
766
#ifdef HAVE_UNISTD_H
463
767
# include <unistd.h>
464
768
#endif"
465
769
 
466
 
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 GLIBMM_MAJOR_VERSION GLIBMM_MINOR_VERSION GLIBMM_MICRO_VERSION GLIBMM_VERSION GLIBMM_RELEASE LIBGLIBMM_SO_VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL M4 PKG_CONFIG ac_pt_PKG_CONFIG GLIBMM_CFLAGS GLIBMM_LIBS GTHREAD_CFLAGS GTHREAD_LIBS GTKMM_FALSE_TRUE GTKMM_FALSE_FALSE LIBOBJS LTLIBOBJS'
 
770
ac_subst_vars='SHELL
 
771
PATH_SEPARATOR
 
772
PACKAGE_NAME
 
773
PACKAGE_TARNAME
 
774
PACKAGE_VERSION
 
775
PACKAGE_STRING
 
776
PACKAGE_BUGREPORT
 
777
exec_prefix
 
778
prefix
 
779
program_transform_name
 
780
bindir
 
781
sbindir
 
782
libexecdir
 
783
datarootdir
 
784
datadir
 
785
sysconfdir
 
786
sharedstatedir
 
787
localstatedir
 
788
includedir
 
789
oldincludedir
 
790
docdir
 
791
infodir
 
792
htmldir
 
793
dvidir
 
794
pdfdir
 
795
psdir
 
796
libdir
 
797
localedir
 
798
mandir
 
799
DEFS
 
800
ECHO_C
 
801
ECHO_N
 
802
ECHO_T
 
803
LIBS
 
804
build_alias
 
805
host_alias
 
806
target_alias
 
807
GLIBMM_MAJOR_VERSION
 
808
GLIBMM_MINOR_VERSION
 
809
GLIBMM_MICRO_VERSION
 
810
GLIBMM_VERSION
 
811
GLIBMM_RELEASE
 
812
LIBGLIBMM_SO_VERSION
 
813
INSTALL_PROGRAM
 
814
INSTALL_SCRIPT
 
815
INSTALL_DATA
 
816
am__isrc
 
817
CYGPATH_W
 
818
PACKAGE
 
819
VERSION
 
820
ACLOCAL
 
821
AUTOCONF
 
822
AUTOMAKE
 
823
AUTOHEADER
 
824
MAKEINFO
 
825
install_sh
 
826
STRIP
 
827
INSTALL_STRIP_PROGRAM
 
828
mkdir_p
 
829
AWK
 
830
SET_MAKE
 
831
am__leading_dot
 
832
AMTAR
 
833
am__tar
 
834
am__untar
 
835
MAINTAINER_MODE_TRUE
 
836
MAINTAINER_MODE_FALSE
 
837
MAINT
 
838
CC
 
839
CFLAGS
 
840
LDFLAGS
 
841
CPPFLAGS
 
842
ac_ct_CC
 
843
EXEEXT
 
844
OBJEXT
 
845
DEPDIR
 
846
am__include
 
847
am__quote
 
848
AMDEP_TRUE
 
849
AMDEP_FALSE
 
850
AMDEPBACKSLASH
 
851
CCDEPMODE
 
852
am__fastdepCC_TRUE
 
853
am__fastdepCC_FALSE
 
854
CPP
 
855
build
 
856
build_cpu
 
857
build_vendor
 
858
build_os
 
859
host
 
860
host_cpu
 
861
host_vendor
 
862
host_os
 
863
SED
 
864
GREP
 
865
EGREP
 
866
LN_S
 
867
ECHO
 
868
AR
 
869
RANLIB
 
870
CXX
 
871
CXXFLAGS
 
872
ac_ct_CXX
 
873
CXXDEPMODE
 
874
am__fastdepCXX_TRUE
 
875
am__fastdepCXX_FALSE
 
876
CXXCPP
 
877
F77
 
878
FFLAGS
 
879
ac_ct_F77
 
880
LIBTOOL
 
881
M4
 
882
PKG_CONFIG
 
883
GLIBMM_CFLAGS
 
884
GLIBMM_LIBS
 
885
GTHREAD_CFLAGS
 
886
GTHREAD_LIBS
 
887
GTKMM_FALSE_TRUE
 
888
GTKMM_FALSE_FALSE
 
889
LIBOBJS
 
890
LTLIBOBJS'
467
891
ac_subst_files=''
 
892
      ac_precious_vars='build_alias
 
893
host_alias
 
894
target_alias
 
895
CC
 
896
CFLAGS
 
897
LDFLAGS
 
898
LIBS
 
899
CPPFLAGS
 
900
CPP
 
901
CXX
 
902
CXXFLAGS
 
903
CCC
 
904
CXXCPP
 
905
F77
 
906
FFLAGS
 
907
PKG_CONFIG
 
908
GLIBMM_CFLAGS
 
909
GLIBMM_LIBS
 
910
GTHREAD_CFLAGS
 
911
GTHREAD_LIBS'
 
912
 
468
913
 
469
914
# Initialize some variables set by options.
470
915
ac_init_help=
491
936
# and all the variables that are supposed to be based on exec_prefix
492
937
# by default will actually change.
493
938
# Use braces instead of parens because sh, perl, etc. also accept them.
 
939
# (The list follows the same order as the GNU Coding Standards.)
494
940
bindir='${exec_prefix}/bin'
495
941
sbindir='${exec_prefix}/sbin'
496
942
libexecdir='${exec_prefix}/libexec'
497
 
datadir='${prefix}/share'
 
943
datarootdir='${prefix}/share'
 
944
datadir='${datarootdir}'
498
945
sysconfdir='${prefix}/etc'
499
946
sharedstatedir='${prefix}/com'
500
947
localstatedir='${prefix}/var'
501
 
libdir='${exec_prefix}/lib'
502
948
includedir='${prefix}/include'
503
949
oldincludedir='/usr/include'
504
 
infodir='${prefix}/info'
505
 
mandir='${prefix}/man'
 
950
docdir='${datarootdir}/doc/${PACKAGE}'
 
951
infodir='${datarootdir}/info'
 
952
htmldir='${docdir}'
 
953
dvidir='${docdir}'
 
954
pdfdir='${docdir}'
 
955
psdir='${docdir}'
 
956
libdir='${exec_prefix}/lib'
 
957
localedir='${datarootdir}/locale'
 
958
mandir='${datarootdir}/man'
506
959
 
507
960
ac_prev=
 
961
ac_dashdash=
508
962
for ac_option
509
963
do
510
964
  # If the previous option needs an argument, assign it.
511
965
  if test -n "$ac_prev"; then
512
 
    eval "$ac_prev=\$ac_option"
 
966
    eval $ac_prev=\$ac_option
513
967
    ac_prev=
514
968
    continue
515
969
  fi
516
970
 
517
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
971
  case $ac_option in
 
972
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
973
  *)    ac_optarg=yes ;;
 
974
  esac
518
975
 
519
976
  # Accept the important Cygnus configure options, so we can diagnose typos.
520
977
 
521
 
  case $ac_option in
 
978
  case $ac_dashdash$ac_option in
 
979
  --)
 
980
    ac_dashdash=yes ;;
522
981
 
523
982
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
524
983
    ac_prev=bindir ;;
540
999
  --config-cache | -C)
541
1000
    cache_file=config.cache ;;
542
1001
 
543
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1002
  -datadir | --datadir | --datadi | --datad)
544
1003
    ac_prev=datadir ;;
545
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
 
  | --da=*)
 
1004
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
547
1005
    datadir=$ac_optarg ;;
548
1006
 
 
1007
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1008
  | --dataroo | --dataro | --datar)
 
1009
    ac_prev=datarootdir ;;
 
1010
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1011
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1012
    datarootdir=$ac_optarg ;;
 
1013
 
549
1014
  -disable-* | --disable-*)
550
1015
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551
1016
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1017
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553
1018
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554
1019
   { (exit 1); exit 1; }; }
555
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
 
    eval "enable_$ac_feature=no" ;;
 
1020
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1021
    eval enable_$ac_feature=no ;;
 
1022
 
 
1023
  -docdir | --docdir | --docdi | --doc | --do)
 
1024
    ac_prev=docdir ;;
 
1025
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1026
    docdir=$ac_optarg ;;
 
1027
 
 
1028
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1029
    ac_prev=dvidir ;;
 
1030
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1031
    dvidir=$ac_optarg ;;
557
1032
 
558
1033
  -enable-* | --enable-*)
559
1034
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560
1035
    # Reject names that are not valid shell variable names.
561
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1036
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
562
1037
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563
1038
   { (exit 1); exit 1; }; }
564
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
 
    case $ac_option in
566
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
 
      *) ac_optarg=yes ;;
568
 
    esac
569
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1039
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1040
    eval enable_$ac_feature=\$ac_optarg ;;
570
1041
 
571
1042
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572
1043
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
593
1064
  -host=* | --host=* | --hos=* | --ho=*)
594
1065
    host_alias=$ac_optarg ;;
595
1066
 
 
1067
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1068
    ac_prev=htmldir ;;
 
1069
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1070
  | --ht=*)
 
1071
    htmldir=$ac_optarg ;;
 
1072
 
596
1073
  -includedir | --includedir | --includedi | --included | --include \
597
1074
  | --includ | --inclu | --incl | --inc)
598
1075
    ac_prev=includedir ;;
617
1094
  | --libexe=* | --libex=* | --libe=*)
618
1095
    libexecdir=$ac_optarg ;;
619
1096
 
 
1097
  -localedir | --localedir | --localedi | --localed | --locale)
 
1098
    ac_prev=localedir ;;
 
1099
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1100
    localedir=$ac_optarg ;;
 
1101
 
620
1102
  -localstatedir | --localstatedir | --localstatedi | --localstated \
621
 
  | --localstate | --localstat | --localsta | --localst \
622
 
  | --locals | --local | --loca | --loc | --lo)
 
1103
  | --localstate | --localstat | --localsta | --localst | --locals)
623
1104
    ac_prev=localstatedir ;;
624
1105
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1106
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627
1107
    localstatedir=$ac_optarg ;;
628
1108
 
629
1109
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
688
1168
  | --progr-tra=* | --program-tr=* | --program-t=*)
689
1169
    program_transform_name=$ac_optarg ;;
690
1170
 
 
1171
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1172
    ac_prev=pdfdir ;;
 
1173
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1174
    pdfdir=$ac_optarg ;;
 
1175
 
 
1176
  -psdir | --psdir | --psdi | --psd | --ps)
 
1177
    ac_prev=psdir ;;
 
1178
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1179
    psdir=$ac_optarg ;;
 
1180
 
691
1181
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692
1182
  | -silent | --silent | --silen | --sile | --sil)
693
1183
    silent=yes ;;
740
1230
  -with-* | --with-*)
741
1231
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742
1232
    # Reject names that are not valid shell variable names.
743
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1233
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744
1234
      { echo "$as_me: error: invalid package name: $ac_package" >&2
745
1235
   { (exit 1); exit 1; }; }
746
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
 
    case $ac_option in
748
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
 
      *) ac_optarg=yes ;;
750
 
    esac
751
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1236
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1237
    eval with_$ac_package=\$ac_optarg ;;
752
1238
 
753
1239
  -without-* | --without-*)
754
1240
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755
1241
    # Reject names that are not valid shell variable names.
756
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1242
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
757
1243
      { echo "$as_me: error: invalid package name: $ac_package" >&2
758
1244
   { (exit 1); exit 1; }; }
759
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
 
    eval "with_$ac_package=no" ;;
 
1245
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1246
    eval with_$ac_package=no ;;
761
1247
 
762
1248
  --x)
763
1249
    # Obsolete; use --with-x.
788
1274
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789
1275
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790
1276
   { (exit 1); exit 1; }; }
791
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
 
    eval "$ac_envvar='$ac_optarg'"
 
1277
    eval $ac_envvar=\$ac_optarg
793
1278
    export $ac_envvar ;;
794
1279
 
795
1280
  *)
809
1294
   { (exit 1); exit 1; }; }
810
1295
fi
811
1296
 
812
 
# Be sure to have absolute paths.
813
 
for ac_var in exec_prefix prefix
814
 
do
815
 
  eval ac_val=$`echo $ac_var`
816
 
  case $ac_val in
817
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
 
   { (exit 1); exit 1; }; };;
820
 
  esac
821
 
done
822
 
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
 
              localstatedir libdir includedir oldincludedir infodir mandir
826
 
do
827
 
  eval ac_val=$`echo $ac_var`
828
 
  case $ac_val in
829
 
    [\\/$]* | ?:[\\/]* ) ;;
830
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
 
   { (exit 1); exit 1; }; };;
832
 
  esac
 
1297
# Be sure to have absolute directory names.
 
1298
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1299
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1300
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1301
                libdir localedir mandir
 
1302
do
 
1303
  eval ac_val=\$$ac_var
 
1304
  case $ac_val in
 
1305
    [\\/$]* | ?:[\\/]* )  continue;;
 
1306
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1307
  esac
 
1308
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1309
   { (exit 1); exit 1; }; }
833
1310
done
834
1311
 
835
1312
# There might be people who depend on the old broken behavior: `$host'
856
1333
test "$silent" = yes && exec 6>/dev/null
857
1334
 
858
1335
 
 
1336
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1337
ac_ls_di=`ls -di .` &&
 
1338
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1339
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1340
   { (exit 1); exit 1; }; }
 
1341
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1342
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1343
   { (exit 1); exit 1; }; }
 
1344
 
 
1345
 
859
1346
# Find the source files, if location was not specified.
860
1347
if test -z "$srcdir"; then
861
1348
  ac_srcdir_defaulted=yes
862
 
  # Try the directory containing this script, then its parent.
863
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1349
  # Try the directory containing this script, then the parent directory.
 
1350
  ac_confdir=`$as_dirname -- "$0" ||
864
1351
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
1352
         X"$0" : 'X\(//\)[^/]' \| \
866
1353
         X"$0" : 'X\(//\)$' \| \
867
 
         X"$0" : 'X\(/\)' \| \
868
 
         .     : '\(.\)' 2>/dev/null ||
 
1354
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
869
1355
echo X"$0" |
870
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
 
          /^X\(\/\/\)$/{ s//\1/; q; }
873
 
          /^X\(\/\).*/{ s//\1/; q; }
874
 
          s/.*/./; q'`
 
1356
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1357
            s//\1/
 
1358
            q
 
1359
          }
 
1360
          /^X\(\/\/\)[^/].*/{
 
1361
            s//\1/
 
1362
            q
 
1363
          }
 
1364
          /^X\(\/\/\)$/{
 
1365
            s//\1/
 
1366
            q
 
1367
          }
 
1368
          /^X\(\/\).*/{
 
1369
            s//\1/
 
1370
            q
 
1371
          }
 
1372
          s/.*/./; q'`
875
1373
  srcdir=$ac_confdir
876
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1374
  if test ! -r "$srcdir/$ac_unique_file"; then
877
1375
    srcdir=..
878
1376
  fi
879
1377
else
880
1378
  ac_srcdir_defaulted=no
881
1379
fi
882
 
if test ! -r $srcdir/$ac_unique_file; then
883
 
  if test "$ac_srcdir_defaulted" = yes; then
884
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
 
   { (exit 1); exit 1; }; }
886
 
  else
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  fi
890
 
fi
891
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
 
ac_env_build_alias_set=${build_alias+set}
896
 
ac_env_build_alias_value=$build_alias
897
 
ac_cv_env_build_alias_set=${build_alias+set}
898
 
ac_cv_env_build_alias_value=$build_alias
899
 
ac_env_host_alias_set=${host_alias+set}
900
 
ac_env_host_alias_value=$host_alias
901
 
ac_cv_env_host_alias_set=${host_alias+set}
902
 
ac_cv_env_host_alias_value=$host_alias
903
 
ac_env_target_alias_set=${target_alias+set}
904
 
ac_env_target_alias_value=$target_alias
905
 
ac_cv_env_target_alias_set=${target_alias+set}
906
 
ac_cv_env_target_alias_value=$target_alias
907
 
ac_env_CC_set=${CC+set}
908
 
ac_env_CC_value=$CC
909
 
ac_cv_env_CC_set=${CC+set}
910
 
ac_cv_env_CC_value=$CC
911
 
ac_env_CFLAGS_set=${CFLAGS+set}
912
 
ac_env_CFLAGS_value=$CFLAGS
913
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_cv_env_CFLAGS_value=$CFLAGS
915
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
 
ac_env_LDFLAGS_value=$LDFLAGS
917
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
 
ac_env_CPPFLAGS_value=$CPPFLAGS
921
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_env_CPP_set=${CPP+set}
924
 
ac_env_CPP_value=$CPP
925
 
ac_cv_env_CPP_set=${CPP+set}
926
 
ac_cv_env_CPP_value=$CPP
927
 
ac_env_CXX_set=${CXX+set}
928
 
ac_env_CXX_value=$CXX
929
 
ac_cv_env_CXX_set=${CXX+set}
930
 
ac_cv_env_CXX_value=$CXX
931
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932
 
ac_env_CXXFLAGS_value=$CXXFLAGS
933
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_env_CXXCPP_set=${CXXCPP+set}
936
 
ac_env_CXXCPP_value=$CXXCPP
937
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_cv_env_CXXCPP_value=$CXXCPP
939
 
ac_env_F77_set=${F77+set}
940
 
ac_env_F77_value=$F77
941
 
ac_cv_env_F77_set=${F77+set}
942
 
ac_cv_env_F77_value=$F77
943
 
ac_env_FFLAGS_set=${FFLAGS+set}
944
 
ac_env_FFLAGS_value=$FFLAGS
945
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_cv_env_FFLAGS_value=$FFLAGS
947
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
948
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
949
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
951
 
ac_env_GLIBMM_CFLAGS_set=${GLIBMM_CFLAGS+set}
952
 
ac_env_GLIBMM_CFLAGS_value=$GLIBMM_CFLAGS
953
 
ac_cv_env_GLIBMM_CFLAGS_set=${GLIBMM_CFLAGS+set}
954
 
ac_cv_env_GLIBMM_CFLAGS_value=$GLIBMM_CFLAGS
955
 
ac_env_GLIBMM_LIBS_set=${GLIBMM_LIBS+set}
956
 
ac_env_GLIBMM_LIBS_value=$GLIBMM_LIBS
957
 
ac_cv_env_GLIBMM_LIBS_set=${GLIBMM_LIBS+set}
958
 
ac_cv_env_GLIBMM_LIBS_value=$GLIBMM_LIBS
959
 
ac_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
960
 
ac_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
961
 
ac_cv_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
962
 
ac_cv_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
963
 
ac_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
964
 
ac_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
965
 
ac_cv_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
966
 
ac_cv_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
 
1380
if test ! -r "$srcdir/$ac_unique_file"; then
 
1381
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1382
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1383
   { (exit 1); exit 1; }; }
 
1384
fi
 
1385
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1386
ac_abs_confdir=`(
 
1387
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1388
   { (exit 1); exit 1; }; }
 
1389
        pwd)`
 
1390
# When building in place, set srcdir=.
 
1391
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1392
  srcdir=.
 
1393
fi
 
1394
# Remove unnecessary trailing slashes from srcdir.
 
1395
# Double slashes in file names in object file debugging info
 
1396
# mess up M-x gdb in Emacs.
 
1397
case $srcdir in
 
1398
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1399
esac
 
1400
for ac_var in $ac_precious_vars; do
 
1401
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1402
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1403
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1404
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1405
done
967
1406
 
968
1407
#
969
1408
# Report the --help message.
992
1431
  -n, --no-create         do not create output files
993
1432
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
994
1433
 
995
 
_ACEOF
996
 
 
997
 
  cat <<_ACEOF
998
1434
Installation directories:
999
1435
  --prefix=PREFIX         install architecture-independent files in PREFIX
1000
1436
                          [$ac_default_prefix]
1012
1448
  --bindir=DIR           user executables [EPREFIX/bin]
1013
1449
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1014
1450
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1015
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1016
1451
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1017
1452
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1018
1453
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1019
1454
  --libdir=DIR           object code libraries [EPREFIX/lib]
1020
1455
  --includedir=DIR       C header files [PREFIX/include]
1021
1456
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1022
 
  --infodir=DIR          info documentation [PREFIX/info]
1023
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1457
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1458
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1459
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1460
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1461
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1462
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1463
  --htmldir=DIR          html documentation [DOCDIR]
 
1464
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1465
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1466
  --psdir=DIR            ps documentation [DOCDIR]
1024
1467
_ACEOF
1025
1468
 
1026
1469
  cat <<\_ACEOF
1047
1490
                          (and sometimes confusing) to the casual installer
1048
1491
  --disable-dependency-tracking  speeds up one-time build
1049
1492
  --enable-dependency-tracking   do not reject slow dependency extractors
1050
 
  --enable-static[=PKGS]
1051
 
                          build static libraries [default=no]
1052
 
  --enable-shared[=PKGS]
1053
 
                          build shared libraries [default=yes]
 
1493
  --enable-static[=PKGS]  build static libraries [default=no]
 
1494
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1054
1495
  --enable-fast-install[=PKGS]
1055
1496
                          optimize for fast installation [default=yes]
1056
1497
  --disable-libtool-lock  avoid locking (might break parallel builds)
1065
1506
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1066
1507
  --with-pic              try to use only PIC/non-PIC objects [default=use
1067
1508
                          both]
1068
 
  --with-tags[=TAGS]
1069
 
                          include additional configurations [automatic]
 
1509
  --with-tags[=TAGS]      include additional configurations [automatic]
1070
1510
 
1071
1511
Some influential environment variables:
1072
1512
  CC          C compiler command
1073
1513
  CFLAGS      C compiler flags
1074
1514
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1075
1515
              nonstandard directory <lib dir>
1076
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1077
 
              headers in a nonstandard directory <include dir>
 
1516
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1517
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1518
              you have headers in a nonstandard directory <include dir>
1078
1519
  CPP         C preprocessor
1079
1520
  CXX         C++ compiler command
1080
1521
  CXXFLAGS    C++ compiler flags
1094
1535
it to find libraries and programs with nonstandard names/locations.
1095
1536
 
1096
1537
_ACEOF
 
1538
ac_status=$?
1097
1539
fi
1098
1540
 
1099
1541
if test "$ac_init_help" = "recursive"; then
1100
1542
  # If there are subdirs, report their specific --help.
1101
 
  ac_popdir=`pwd`
1102
1543
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103
 
    test -d $ac_dir || continue
 
1544
    test -d "$ac_dir" || continue
1104
1545
    ac_builddir=.
1105
1546
 
1106
 
if test "$ac_dir" != .; then
 
1547
case "$ac_dir" in
 
1548
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1549
*)
1107
1550
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108
 
  # A "../" for each directory in $ac_dir_suffix.
1109
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110
 
else
1111
 
  ac_dir_suffix= ac_top_builddir=
1112
 
fi
 
1551
  # A ".." for each directory in $ac_dir_suffix.
 
1552
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1553
  case $ac_top_builddir_sub in
 
1554
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1555
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1556
  esac ;;
 
1557
esac
 
1558
ac_abs_top_builddir=$ac_pwd
 
1559
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1560
# for backward compatibility:
 
1561
ac_top_builddir=$ac_top_build_prefix
1113
1562
 
1114
1563
case $srcdir in
1115
 
  .)  # No --srcdir option.  We are building in place.
 
1564
  .)  # We are building in place.
1116
1565
    ac_srcdir=.
1117
 
    if test -z "$ac_top_builddir"; then
1118
 
       ac_top_srcdir=.
1119
 
    else
1120
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121
 
    fi ;;
1122
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1566
    ac_top_srcdir=$ac_top_builddir_sub
 
1567
    ac_abs_top_srcdir=$ac_pwd ;;
 
1568
  [\\/]* | ?:[\\/]* )  # Absolute name.
1123
1569
    ac_srcdir=$srcdir$ac_dir_suffix;
1124
 
    ac_top_srcdir=$srcdir ;;
1125
 
  *) # Relative path.
1126
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128
 
esac
1129
 
 
1130
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1131
 
# the directories may not exist.
1132
 
case `pwd` in
1133
 
.) ac_abs_builddir="$ac_dir";;
1134
 
*)
1135
 
  case "$ac_dir" in
1136
 
  .) ac_abs_builddir=`pwd`;;
1137
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139
 
  esac;;
1140
 
esac
1141
 
case $ac_abs_builddir in
1142
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1143
 
*)
1144
 
  case ${ac_top_builddir}. in
1145
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1146
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148
 
  esac;;
1149
 
esac
1150
 
case $ac_abs_builddir in
1151
 
.) ac_abs_srcdir=$ac_srcdir;;
1152
 
*)
1153
 
  case $ac_srcdir in
1154
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1155
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157
 
  esac;;
1158
 
esac
1159
 
case $ac_abs_builddir in
1160
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1161
 
*)
1162
 
  case $ac_top_srcdir in
1163
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166
 
  esac;;
1167
 
esac
1168
 
 
1169
 
    cd $ac_dir
1170
 
    # Check for guested configure; otherwise get Cygnus style configure.
1171
 
    if test -f $ac_srcdir/configure.gnu; then
1172
 
      echo
1173
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1174
 
    elif test -f $ac_srcdir/configure; then
1175
 
      echo
1176
 
      $SHELL $ac_srcdir/configure  --help=recursive
1177
 
    elif test -f $ac_srcdir/configure.ac ||
1178
 
           test -f $ac_srcdir/configure.in; then
1179
 
      echo
1180
 
      $ac_configure --help
 
1570
    ac_top_srcdir=$srcdir
 
1571
    ac_abs_top_srcdir=$srcdir ;;
 
1572
  *) # Relative name.
 
1573
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1574
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1575
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1576
esac
 
1577
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1578
 
 
1579
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1580
    # Check for guested configure.
 
1581
    if test -f "$ac_srcdir/configure.gnu"; then
 
1582
      echo &&
 
1583
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1584
    elif test -f "$ac_srcdir/configure"; then
 
1585
      echo &&
 
1586
      $SHELL "$ac_srcdir/configure" --help=recursive
1181
1587
    else
1182
1588
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183
 
    fi
1184
 
    cd $ac_popdir
 
1589
    fi || ac_status=$?
 
1590
    cd "$ac_pwd" || { ac_status=$?; break; }
1185
1591
  done
1186
1592
fi
1187
1593
 
1188
 
test -n "$ac_init_help" && exit 0
 
1594
test -n "$ac_init_help" && exit $ac_status
1189
1595
if $ac_init_version; then
1190
1596
  cat <<\_ACEOF
 
1597
configure
 
1598
generated by GNU Autoconf 2.61
1191
1599
 
1192
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1600
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1601
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1193
1602
This configure script is free software; the Free Software Foundation
1194
1603
gives unlimited permission to copy, distribute and modify it.
1195
1604
_ACEOF
1196
 
  exit 0
 
1605
  exit
1197
1606
fi
1198
 
exec 5>config.log
1199
 
cat >&5 <<_ACEOF
 
1607
cat >config.log <<_ACEOF
1200
1608
This file contains any messages produced by compilers while
1201
1609
running configure, to aid debugging if configure makes a mistake.
1202
1610
 
1203
1611
It was created by $as_me, which was
1204
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1612
generated by GNU Autoconf 2.61.  Invocation command line was
1205
1613
 
1206
1614
  $ $0 $@
1207
1615
 
1208
1616
_ACEOF
 
1617
exec 5>>config.log
1209
1618
{
1210
1619
cat <<_ASUNAME
1211
1620
## --------- ##
1224
1633
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1225
1634
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1226
1635
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1227
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1636
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1228
1637
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1229
1638
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1230
1639
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1238
1647
  test -z "$as_dir" && as_dir=.
1239
1648
  echo "PATH: $as_dir"
1240
1649
done
 
1650
IFS=$as_save_IFS
1241
1651
 
1242
1652
} >&5
1243
1653
 
1259
1669
ac_configure_args=
1260
1670
ac_configure_args0=
1261
1671
ac_configure_args1=
1262
 
ac_sep=
1263
1672
ac_must_keep_next=false
1264
1673
for ac_pass in 1 2
1265
1674
do
1270
1679
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271
1680
    | -silent | --silent | --silen | --sile | --sil)
1272
1681
      continue ;;
1273
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1682
    *\'*)
1274
1683
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275
1684
    esac
1276
1685
    case $ac_pass in
1292
1701
          -* ) ac_must_keep_next=true ;;
1293
1702
        esac
1294
1703
      fi
1295
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1296
 
      # Get rid of the leading space.
1297
 
      ac_sep=" "
 
1704
      ac_configure_args="$ac_configure_args '$ac_arg'"
1298
1705
      ;;
1299
1706
    esac
1300
1707
  done
1305
1712
# When interrupted or exit'd, cleanup temporary files, and complete
1306
1713
# config.log.  We remove comments because anyway the quotes in there
1307
1714
# would cause problems or look ugly.
1308
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1309
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1715
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1716
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1310
1717
trap 'exit_status=$?
1311
1718
  # Save into config.log some information that might help in debugging.
1312
1719
  {
1319
1726
_ASBOX
1320
1727
    echo
1321
1728
    # The following way of writing the cache mishandles newlines in values,
1322
 
{
 
1729
(
 
1730
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1731
    eval ac_val=\$$ac_var
 
1732
    case $ac_val in #(
 
1733
    *${as_nl}*)
 
1734
      case $ac_var in #(
 
1735
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1736
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1737
      esac
 
1738
      case $ac_var in #(
 
1739
      _ | IFS | as_nl) ;; #(
 
1740
      *) $as_unset $ac_var ;;
 
1741
      esac ;;
 
1742
    esac
 
1743
  done
1323
1744
  (set) 2>&1 |
1324
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325
 
    *ac_space=\ *)
 
1745
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1746
    *${as_nl}ac_space=\ *)
1326
1747
      sed -n \
1327
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1328
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329
 
      ;;
 
1748
        "s/'\''/'\''\\\\'\'''\''/g;
 
1749
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1750
      ;; #(
1330
1751
    *)
1331
 
      sed -n \
1332
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1752
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1333
1753
      ;;
1334
 
    esac;
1335
 
}
 
1754
    esac |
 
1755
    sort
 
1756
)
1336
1757
    echo
1337
1758
 
1338
1759
    cat <<\_ASBOX
1343
1764
    echo
1344
1765
    for ac_var in $ac_subst_vars
1345
1766
    do
1346
 
      eval ac_val=$`echo $ac_var`
1347
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1767
      eval ac_val=\$$ac_var
 
1768
      case $ac_val in
 
1769
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1770
      esac
 
1771
      echo "$ac_var='\''$ac_val'\''"
1348
1772
    done | sort
1349
1773
    echo
1350
1774
 
1351
1775
    if test -n "$ac_subst_files"; then
1352
1776
      cat <<\_ASBOX
1353
 
## ------------- ##
1354
 
## Output files. ##
1355
 
## ------------- ##
 
1777
## ------------------- ##
 
1778
## File substitutions. ##
 
1779
## ------------------- ##
1356
1780
_ASBOX
1357
1781
      echo
1358
1782
      for ac_var in $ac_subst_files
1359
1783
      do
1360
 
        eval ac_val=$`echo $ac_var`
1361
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1784
        eval ac_val=\$$ac_var
 
1785
        case $ac_val in
 
1786
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1787
        esac
 
1788
        echo "$ac_var='\''$ac_val'\''"
1362
1789
      done | sort
1363
1790
      echo
1364
1791
    fi
1370
1797
## ----------- ##
1371
1798
_ASBOX
1372
1799
      echo
1373
 
      sed "/^$/d" confdefs.h | sort
 
1800
      cat confdefs.h
1374
1801
      echo
1375
1802
    fi
1376
1803
    test "$ac_signal" != 0 &&
1377
1804
      echo "$as_me: caught signal $ac_signal"
1378
1805
    echo "$as_me: exit $exit_status"
1379
1806
  } >&5
1380
 
  rm -f core *.core &&
1381
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1807
  rm -f core *.core core.conftest.* &&
 
1808
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1382
1809
    exit $exit_status
1383
 
     ' 0
 
1810
' 0
1384
1811
for ac_signal in 1 2 13 15; do
1385
1812
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386
1813
done
1387
1814
ac_signal=0
1388
1815
 
1389
1816
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1390
 
rm -rf conftest* confdefs.h
1391
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392
 
echo >confdefs.h
 
1817
rm -f -r conftest* confdefs.h
1393
1818
 
1394
1819
# Predefined preprocessor variables.
1395
1820
 
1420
1845
 
1421
1846
# Let the site file select an alternate cache file if it wants to.
1422
1847
# Prefer explicitly selected file to automatically selected ones.
1423
 
if test -z "$CONFIG_SITE"; then
1424
 
  if test "x$prefix" != xNONE; then
1425
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1426
 
  else
1427
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428
 
  fi
 
1848
if test -n "$CONFIG_SITE"; then
 
1849
  set x "$CONFIG_SITE"
 
1850
elif test "x$prefix" != xNONE; then
 
1851
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1852
else
 
1853
  set x "$ac_default_prefix/share/config.site" \
 
1854
        "$ac_default_prefix/etc/config.site"
1429
1855
fi
1430
 
for ac_site_file in $CONFIG_SITE; do
 
1856
shift
 
1857
for ac_site_file
 
1858
do
1431
1859
  if test -r "$ac_site_file"; then
1432
1860
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1433
1861
echo "$as_me: loading site script $ac_site_file" >&6;}
1443
1871
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1444
1872
echo "$as_me: loading cache $cache_file" >&6;}
1445
1873
    case $cache_file in
1446
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1447
 
      *)                      . ./$cache_file;;
 
1874
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1875
      *)                      . "./$cache_file";;
1448
1876
    esac
1449
1877
  fi
1450
1878
else
1456
1884
# Check that the precious variables saved in the cache have kept the same
1457
1885
# value.
1458
1886
ac_cache_corrupted=false
1459
 
for ac_var in `(set) 2>&1 |
1460
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1887
for ac_var in $ac_precious_vars; do
1461
1888
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1462
1889
  eval ac_new_set=\$ac_env_${ac_var}_set
1463
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1464
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1890
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1891
  eval ac_new_val=\$ac_env_${ac_var}_value
1465
1892
  case $ac_old_set,$ac_new_set in
1466
1893
    set,)
1467
1894
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1486
1913
  # Pass precious variables to config.status.
1487
1914
  if test "$ac_new_set" = set; then
1488
1915
    case $ac_new_val in
1489
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1490
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1916
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1491
1917
    *) ac_arg=$ac_var=$ac_new_val ;;
1492
1918
    esac
1493
1919
    case " $ac_configure_args " in
1504
1930
   { (exit 1); exit 1; }; }
1505
1931
fi
1506
1932
 
 
1933
 
 
1934
 
 
1935
 
 
1936
 
 
1937
 
 
1938
 
 
1939
 
 
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
1507
1949
ac_ext=c
1508
1950
ac_cpp='$CPP $CPPFLAGS'
1509
1951
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513
1955
 
1514
1956
 
1515
1957
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
 
1529
 
 
1530
 
 
1531
 
 
1532
 
 
1533
1958
#########################################################################
1534
1959
#  Version and initialization
1535
1960
#########################################################################
1567
1992
 
1568
1993
 
1569
1994
ac_aux_dir=
1570
 
for ac_dir in scripts $srcdir/scripts; do
1571
 
  if test -f $ac_dir/install-sh; then
 
1995
for ac_dir in scripts "$srcdir"/scripts; do
 
1996
  if test -f "$ac_dir/install-sh"; then
1572
1997
    ac_aux_dir=$ac_dir
1573
1998
    ac_install_sh="$ac_aux_dir/install-sh -c"
1574
1999
    break
1575
 
  elif test -f $ac_dir/install.sh; then
 
2000
  elif test -f "$ac_dir/install.sh"; then
1576
2001
    ac_aux_dir=$ac_dir
1577
2002
    ac_install_sh="$ac_aux_dir/install.sh -c"
1578
2003
    break
1579
 
  elif test -f $ac_dir/shtool; then
 
2004
  elif test -f "$ac_dir/shtool"; then
1580
2005
    ac_aux_dir=$ac_dir
1581
2006
    ac_install_sh="$ac_aux_dir/shtool install -c"
1582
2007
    break
1583
2008
  fi
1584
2009
done
1585
2010
if test -z "$ac_aux_dir"; then
1586
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&5
1587
 
echo "$as_me: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&2;}
 
2011
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
 
2012
echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
1588
2013
   { (exit 1); exit 1; }; }
1589
2014
fi
1590
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1591
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1592
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2015
 
 
2016
# These three variables are undocumented and unsupported,
 
2017
# and are intended to be withdrawn in a future Autoconf release.
 
2018
# They can cause serious problems if a builder's source tree is in a directory
 
2019
# whose full name contains unusual characters.
 
2020
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2021
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2022
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2023
 
1593
2024
 
1594
2025
 
1595
2026
VERSION=$GLIBMM_VERSION
1596
2027
PACKAGE=glibmm
1597
2028
 
1598
 
am__api_version="1.9"
 
2029
am__api_version='1.10'
 
2030
 
1599
2031
# Find a good install program.  We prefer a C program (faster),
1600
2032
# so one script is as good as another.  But avoid the broken or
1601
2033
# incompatible versions:
1609
2041
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1610
2042
# OS/2's system install, which has a completely different semantic
1611
2043
# ./install, which can be erroneously created by make from ./install.sh.
1612
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1613
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2044
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2045
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1614
2046
if test -z "$INSTALL"; then
1615
2047
if test "${ac_cv_path_install+set}" = set; then
1616
2048
  echo $ECHO_N "(cached) $ECHO_C" >&6
1632
2064
    # by default.
1633
2065
    for ac_prog in ginstall scoinst install; do
1634
2066
      for ac_exec_ext in '' $ac_executable_extensions; do
1635
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2067
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1636
2068
          if test $ac_prog = install &&
1637
2069
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1638
2070
            # AIX install.  It has an incompatible calling convention.
1651
2083
    ;;
1652
2084
esac
1653
2085
done
 
2086
IFS=$as_save_IFS
1654
2087
 
1655
2088
 
1656
2089
fi
1657
2090
  if test "${ac_cv_path_install+set}" = set; then
1658
2091
    INSTALL=$ac_cv_path_install
1659
2092
  else
1660
 
    # As a last resort, use the slow shell script.  We don't cache a
1661
 
    # path for INSTALL within a source directory, because that will
 
2093
    # As a last resort, use the slow shell script.  Don't cache a
 
2094
    # value for INSTALL within a source directory, because that will
1662
2095
    # break other packages using the cache if that directory is
1663
 
    # removed, or if the path is relative.
 
2096
    # removed, or if the value is a relative name.
1664
2097
    INSTALL=$ac_install_sh
1665
2098
  fi
1666
2099
fi
1667
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1668
 
echo "${ECHO_T}$INSTALL" >&6
 
2100
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2101
echo "${ECHO_T}$INSTALL" >&6; }
1669
2102
 
1670
2103
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1671
2104
# It thinks the first close brace ends the variable substitution.
1675
2108
 
1676
2109
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1677
2110
 
1678
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1679
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2111
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2112
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1680
2113
# Just in case
1681
2114
sleep 1
1682
2115
echo timestamp > conftest.file
1718
2151
Check your system clock" >&2;}
1719
2152
   { (exit 1); exit 1; }; }
1720
2153
fi
1721
 
echo "$as_me:$LINENO: result: yes" >&5
1722
 
echo "${ECHO_T}yes" >&6
 
2154
{ echo "$as_me:$LINENO: result: yes" >&5
 
2155
echo "${ECHO_T}yes" >&6; }
1723
2156
test "$program_prefix" != NONE &&
1724
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2157
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1725
2158
# Use a double $ so make ignores it.
1726
2159
test "$program_suffix" != NONE &&
1727
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2160
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1728
2161
# Double any \ or $.  echo might interpret backslashes.
1729
2162
# By default was `s,x,x', remove it if useless.
1730
2163
cat <<\_ACEOF >conftest.sed
1731
2164
s/[\\$]/&&/g;s/;s,x,x,$//
1732
2165
_ACEOF
1733
2166
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1734
 
rm conftest.sed
 
2167
rm -f conftest.sed
1735
2168
 
1736
2169
# expand $ac_aux_dir to an absolute path
1737
2170
am_aux_dir=`cd $ac_aux_dir && pwd`
1746
2179
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1747
2180
fi
1748
2181
 
1749
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1750
 
  # We used to keeping the `.' as first argument, in order to
1751
 
  # allow $(mkdir_p) to be used without argument.  As in
1752
 
  #   $(mkdir_p) $(somedir)
1753
 
  # where $(somedir) is conditionally defined.  However this is wrong
1754
 
  # for two reasons:
1755
 
  #  1. if the package is installed by a user who cannot write `.'
1756
 
  #     make install will fail,
1757
 
  #  2. the above comment should most certainly read
1758
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1759
 
  #     so it does not work when $(somedir) is undefined and
1760
 
  #     $(DESTDIR) is not.
1761
 
  #  To support the latter case, we have to write
1762
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1763
 
  #  so the `.' trick is pointless.
1764
 
  mkdir_p='mkdir -p --'
 
2182
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2183
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2184
if test -z "$MKDIR_P"; then
 
2185
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2186
  echo $ECHO_N "(cached) $ECHO_C" >&6
1765
2187
else
1766
 
  # On NextStep and OpenStep, the `mkdir' command does not
1767
 
  # recognize any option.  It will interpret all options as
1768
 
  # directories to create, and then abort because `.' already
1769
 
  # exists.
1770
 
  for d in ./-p ./--version;
1771
 
  do
1772
 
    test -d $d && rmdir $d
1773
 
  done
1774
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1775
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1776
 
    mkdir_p='$(mkinstalldirs)'
 
2188
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2189
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2190
do
 
2191
  IFS=$as_save_IFS
 
2192
  test -z "$as_dir" && as_dir=.
 
2193
  for ac_prog in mkdir gmkdir; do
 
2194
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2195
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2196
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2197
             'mkdir (GNU coreutils) '* | \
 
2198
             'mkdir (coreutils) '* | \
 
2199
             'mkdir (fileutils) '4.1*)
 
2200
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2201
               break 3;;
 
2202
           esac
 
2203
         done
 
2204
       done
 
2205
done
 
2206
IFS=$as_save_IFS
 
2207
 
 
2208
fi
 
2209
 
 
2210
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2211
    MKDIR_P="$ac_cv_path_mkdir -p"
1777
2212
  else
1778
 
    mkdir_p='$(install_sh) -d'
 
2213
    # As a last resort, use the slow shell script.  Don't cache a
 
2214
    # value for MKDIR_P within a source directory, because that will
 
2215
    # break other packages using the cache if that directory is
 
2216
    # removed, or if the value is a relative name.
 
2217
    test -d ./--version && rmdir ./--version
 
2218
    MKDIR_P="$ac_install_sh -d"
1779
2219
  fi
1780
2220
fi
 
2221
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2222
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2223
 
 
2224
mkdir_p="$MKDIR_P"
 
2225
case $mkdir_p in
 
2226
  [\\/$]* | ?:[\\/]*) ;;
 
2227
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2228
esac
1781
2229
 
1782
2230
for ac_prog in gawk mawk nawk awk
1783
2231
do
1784
2232
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1785
2233
set dummy $ac_prog; ac_word=$2
1786
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1787
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2234
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2235
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1788
2236
if test "${ac_cv_prog_AWK+set}" = set; then
1789
2237
  echo $ECHO_N "(cached) $ECHO_C" >&6
1790
2238
else
1797
2245
  IFS=$as_save_IFS
1798
2246
  test -z "$as_dir" && as_dir=.
1799
2247
  for ac_exec_ext in '' $ac_executable_extensions; do
1800
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1801
2249
    ac_cv_prog_AWK="$ac_prog"
1802
2250
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1803
2251
    break 2
1804
2252
  fi
1805
2253
done
1806
2254
done
 
2255
IFS=$as_save_IFS
1807
2256
 
1808
2257
fi
1809
2258
fi
1810
2259
AWK=$ac_cv_prog_AWK
1811
2260
if test -n "$AWK"; then
1812
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1813
 
echo "${ECHO_T}$AWK" >&6
 
2261
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2262
echo "${ECHO_T}$AWK" >&6; }
1814
2263
else
1815
 
  echo "$as_me:$LINENO: result: no" >&5
1816
 
echo "${ECHO_T}no" >&6
 
2264
  { echo "$as_me:$LINENO: result: no" >&5
 
2265
echo "${ECHO_T}no" >&6; }
1817
2266
fi
1818
2267
 
 
2268
 
1819
2269
  test -n "$AWK" && break
1820
2270
done
1821
2271
 
1822
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1823
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1824
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1825
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2272
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2273
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2274
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2275
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1826
2276
  echo $ECHO_N "(cached) $ECHO_C" >&6
1827
2277
else
1828
2278
  cat >conftest.make <<\_ACEOF
 
2279
SHELL = /bin/sh
1829
2280
all:
1830
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2281
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1831
2282
_ACEOF
1832
2283
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1833
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1834
 
if test -n "$ac_maketemp"; then
1835
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1836
 
else
1837
 
  eval ac_cv_prog_make_${ac_make}_set=no
1838
 
fi
 
2284
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2285
  *@@@%%%=?*=@@@%%%*)
 
2286
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2287
  *)
 
2288
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2289
esac
1839
2290
rm -f conftest.make
1840
2291
fi
1841
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1842
 
  echo "$as_me:$LINENO: result: yes" >&5
1843
 
echo "${ECHO_T}yes" >&6
 
2292
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2293
  { echo "$as_me:$LINENO: result: yes" >&5
 
2294
echo "${ECHO_T}yes" >&6; }
1844
2295
  SET_MAKE=
1845
2296
else
1846
 
  echo "$as_me:$LINENO: result: no" >&5
1847
 
echo "${ECHO_T}no" >&6
 
2297
  { echo "$as_me:$LINENO: result: no" >&5
 
2298
echo "${ECHO_T}no" >&6; }
1848
2299
  SET_MAKE="MAKE=${MAKE-make}"
1849
2300
fi
1850
2301
 
1857
2308
fi
1858
2309
rmdir .tst 2>/dev/null
1859
2310
 
1860
 
# test to see if srcdir already configured
1861
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1862
 
   test -f $srcdir/config.status; then
1863
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2311
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2312
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2313
  # is not polluted with repeated "-I."
 
2314
  am__isrc=' -I$(srcdir)'
 
2315
  # test to see if srcdir already configured
 
2316
  if test -f $srcdir/config.status; then
 
2317
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1864
2318
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1865
2319
   { (exit 1); exit 1; }; }
 
2320
  fi
1866
2321
fi
1867
2322
 
1868
2323
# test whether we have cygpath
1905
2360
 
1906
2361
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1907
2362
 
1908
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2363
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1909
2364
 
1910
2365
# Installed binaries are usually stripped using `strip' when the user
1911
2366
# run `make install-strip'.  However `strip' might not be the right
1915
2370
  if test -n "$ac_tool_prefix"; then
1916
2371
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1917
2372
set dummy ${ac_tool_prefix}strip; ac_word=$2
1918
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1919
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2373
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2374
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1920
2375
if test "${ac_cv_prog_STRIP+set}" = set; then
1921
2376
  echo $ECHO_N "(cached) $ECHO_C" >&6
1922
2377
else
1929
2384
  IFS=$as_save_IFS
1930
2385
  test -z "$as_dir" && as_dir=.
1931
2386
  for ac_exec_ext in '' $ac_executable_extensions; do
1932
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2387
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1933
2388
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1934
2389
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935
2390
    break 2
1936
2391
  fi
1937
2392
done
1938
2393
done
 
2394
IFS=$as_save_IFS
1939
2395
 
1940
2396
fi
1941
2397
fi
1942
2398
STRIP=$ac_cv_prog_STRIP
1943
2399
if test -n "$STRIP"; then
1944
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1945
 
echo "${ECHO_T}$STRIP" >&6
 
2400
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2401
echo "${ECHO_T}$STRIP" >&6; }
1946
2402
else
1947
 
  echo "$as_me:$LINENO: result: no" >&5
1948
 
echo "${ECHO_T}no" >&6
 
2403
  { echo "$as_me:$LINENO: result: no" >&5
 
2404
echo "${ECHO_T}no" >&6; }
1949
2405
fi
 
2406
 
1950
2407
 
1951
2408
fi
1952
2409
if test -z "$ac_cv_prog_STRIP"; then
1953
2410
  ac_ct_STRIP=$STRIP
1954
2411
  # Extract the first word of "strip", so it can be a program name with args.
1955
2412
set dummy strip; ac_word=$2
1956
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1957
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2413
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2414
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1958
2415
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1959
2416
  echo $ECHO_N "(cached) $ECHO_C" >&6
1960
2417
else
1967
2424
  IFS=$as_save_IFS
1968
2425
  test -z "$as_dir" && as_dir=.
1969
2426
  for ac_exec_ext in '' $ac_executable_extensions; do
1970
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2427
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1971
2428
    ac_cv_prog_ac_ct_STRIP="strip"
1972
2429
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973
2430
    break 2
1974
2431
  fi
1975
2432
done
1976
2433
done
 
2434
IFS=$as_save_IFS
1977
2435
 
1978
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1979
2436
fi
1980
2437
fi
1981
2438
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1982
2439
if test -n "$ac_ct_STRIP"; then
1983
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1984
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2440
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2441
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1985
2442
else
1986
 
  echo "$as_me:$LINENO: result: no" >&5
1987
 
echo "${ECHO_T}no" >&6
 
2443
  { echo "$as_me:$LINENO: result: no" >&5
 
2444
echo "${ECHO_T}no" >&6; }
1988
2445
fi
1989
2446
 
1990
 
  STRIP=$ac_ct_STRIP
 
2447
  if test "x$ac_ct_STRIP" = x; then
 
2448
    STRIP=":"
 
2449
  else
 
2450
    case $cross_compiling:$ac_tool_warned in
 
2451
yes:)
 
2452
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2453
whose name does not start with the host triplet.  If you think this
 
2454
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2455
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2456
whose name does not start with the host triplet.  If you think this
 
2457
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2458
ac_tool_warned=yes ;;
 
2459
esac
 
2460
    STRIP=$ac_ct_STRIP
 
2461
  fi
1991
2462
else
1992
2463
  STRIP="$ac_cv_prog_STRIP"
1993
2464
fi
1994
2465
 
1995
2466
fi
1996
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2467
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1997
2468
 
1998
2469
# We need awk for the "check" target.  The system "awk" is bad on
1999
2470
# some platforms.
2008
2479
 
2009
2480
 
2010
2481
 
2011
 
          ac_config_headers="$ac_config_headers glibmmconfig.h"
 
2482
ac_config_headers="$ac_config_headers glibmmconfig.h"
2012
2483
 
2013
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2014
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2015
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2484
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2485
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2486
    # Check whether --enable-maintainer-mode was given.
2016
2487
if test "${enable_maintainer_mode+set}" = set; then
2017
 
  enableval="$enable_maintainer_mode"
2018
 
  USE_MAINTAINER_MODE=$enableval
 
2488
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2019
2489
else
2020
2490
  USE_MAINTAINER_MODE=no
2021
 
fi;
2022
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2023
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2024
 
 
2025
 
 
2026
 
if test $USE_MAINTAINER_MODE = yes; then
 
2491
fi
 
2492
 
 
2493
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2494
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2495
   if test $USE_MAINTAINER_MODE = yes; then
2027
2496
  MAINTAINER_MODE_TRUE=
2028
2497
  MAINTAINER_MODE_FALSE='#'
2029
2498
else
2058
2527
if test -n "$ac_tool_prefix"; then
2059
2528
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2060
2529
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2061
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2062
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2530
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2531
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2063
2532
if test "${ac_cv_prog_CC+set}" = set; then
2064
2533
  echo $ECHO_N "(cached) $ECHO_C" >&6
2065
2534
else
2072
2541
  IFS=$as_save_IFS
2073
2542
  test -z "$as_dir" && as_dir=.
2074
2543
  for ac_exec_ext in '' $ac_executable_extensions; do
2075
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2544
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2076
2545
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2077
2546
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078
2547
    break 2
2079
2548
  fi
2080
2549
done
2081
2550
done
 
2551
IFS=$as_save_IFS
2082
2552
 
2083
2553
fi
2084
2554
fi
2085
2555
CC=$ac_cv_prog_CC
2086
2556
if test -n "$CC"; then
2087
 
  echo "$as_me:$LINENO: result: $CC" >&5
2088
 
echo "${ECHO_T}$CC" >&6
 
2557
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2558
echo "${ECHO_T}$CC" >&6; }
2089
2559
else
2090
 
  echo "$as_me:$LINENO: result: no" >&5
2091
 
echo "${ECHO_T}no" >&6
 
2560
  { echo "$as_me:$LINENO: result: no" >&5
 
2561
echo "${ECHO_T}no" >&6; }
2092
2562
fi
 
2563
 
2093
2564
 
2094
2565
fi
2095
2566
if test -z "$ac_cv_prog_CC"; then
2096
2567
  ac_ct_CC=$CC
2097
2568
  # Extract the first word of "gcc", so it can be a program name with args.
2098
2569
set dummy gcc; ac_word=$2
2099
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2100
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2570
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2571
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2101
2572
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2102
2573
  echo $ECHO_N "(cached) $ECHO_C" >&6
2103
2574
else
2110
2581
  IFS=$as_save_IFS
2111
2582
  test -z "$as_dir" && as_dir=.
2112
2583
  for ac_exec_ext in '' $ac_executable_extensions; do
2113
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2584
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114
2585
    ac_cv_prog_ac_ct_CC="gcc"
2115
2586
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116
2587
    break 2
2117
2588
  fi
2118
2589
done
2119
2590
done
 
2591
IFS=$as_save_IFS
2120
2592
 
2121
2593
fi
2122
2594
fi
2123
2595
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2124
2596
if test -n "$ac_ct_CC"; then
2125
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2126
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2597
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2598
echo "${ECHO_T}$ac_ct_CC" >&6; }
2127
2599
else
2128
 
  echo "$as_me:$LINENO: result: no" >&5
2129
 
echo "${ECHO_T}no" >&6
 
2600
  { echo "$as_me:$LINENO: result: no" >&5
 
2601
echo "${ECHO_T}no" >&6; }
2130
2602
fi
2131
2603
 
2132
 
  CC=$ac_ct_CC
 
2604
  if test "x$ac_ct_CC" = x; then
 
2605
    CC=""
 
2606
  else
 
2607
    case $cross_compiling:$ac_tool_warned in
 
2608
yes:)
 
2609
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2610
whose name does not start with the host triplet.  If you think this
 
2611
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2612
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2613
whose name does not start with the host triplet.  If you think this
 
2614
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2615
ac_tool_warned=yes ;;
 
2616
esac
 
2617
    CC=$ac_ct_CC
 
2618
  fi
2133
2619
else
2134
2620
  CC="$ac_cv_prog_CC"
2135
2621
fi
2136
2622
 
2137
2623
if test -z "$CC"; then
2138
 
  if test -n "$ac_tool_prefix"; then
2139
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2624
          if test -n "$ac_tool_prefix"; then
 
2625
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2140
2626
set dummy ${ac_tool_prefix}cc; ac_word=$2
2141
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2142
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2627
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2143
2629
if test "${ac_cv_prog_CC+set}" = set; then
2144
2630
  echo $ECHO_N "(cached) $ECHO_C" >&6
2145
2631
else
2152
2638
  IFS=$as_save_IFS
2153
2639
  test -z "$as_dir" && as_dir=.
2154
2640
  for ac_exec_ext in '' $ac_executable_extensions; do
2155
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2641
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156
2642
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2157
2643
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158
2644
    break 2
2159
2645
  fi
2160
2646
done
2161
2647
done
 
2648
IFS=$as_save_IFS
2162
2649
 
2163
2650
fi
2164
2651
fi
2165
2652
CC=$ac_cv_prog_CC
2166
2653
if test -n "$CC"; then
2167
 
  echo "$as_me:$LINENO: result: $CC" >&5
2168
 
echo "${ECHO_T}$CC" >&6
2169
 
else
2170
 
  echo "$as_me:$LINENO: result: no" >&5
2171
 
echo "${ECHO_T}no" >&6
2172
 
fi
2173
 
 
2174
 
fi
2175
 
if test -z "$ac_cv_prog_CC"; then
2176
 
  ac_ct_CC=$CC
2177
 
  # Extract the first word of "cc", so it can be a program name with args.
2178
 
set dummy cc; ac_word=$2
2179
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2180
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2183
 
else
2184
 
  if test -n "$ac_ct_CC"; then
2185
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2186
 
else
2187
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188
 
for as_dir in $PATH
2189
 
do
2190
 
  IFS=$as_save_IFS
2191
 
  test -z "$as_dir" && as_dir=.
2192
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2193
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2194
 
    ac_cv_prog_ac_ct_CC="cc"
2195
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196
 
    break 2
 
2654
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2655
echo "${ECHO_T}$CC" >&6; }
 
2656
else
 
2657
  { echo "$as_me:$LINENO: result: no" >&5
 
2658
echo "${ECHO_T}no" >&6; }
 
2659
fi
 
2660
 
 
2661
 
2197
2662
  fi
2198
 
done
2199
 
done
2200
 
 
2201
 
fi
2202
 
fi
2203
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2204
 
if test -n "$ac_ct_CC"; then
2205
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2206
 
echo "${ECHO_T}$ac_ct_CC" >&6
2207
 
else
2208
 
  echo "$as_me:$LINENO: result: no" >&5
2209
 
echo "${ECHO_T}no" >&6
2210
 
fi
2211
 
 
2212
 
  CC=$ac_ct_CC
2213
 
else
2214
 
  CC="$ac_cv_prog_CC"
2215
 
fi
2216
 
 
2217
2663
fi
2218
2664
if test -z "$CC"; then
2219
2665
  # Extract the first word of "cc", so it can be a program name with args.
2220
2666
set dummy cc; ac_word=$2
2221
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2222
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2667
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2668
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2223
2669
if test "${ac_cv_prog_CC+set}" = set; then
2224
2670
  echo $ECHO_N "(cached) $ECHO_C" >&6
2225
2671
else
2233
2679
  IFS=$as_save_IFS
2234
2680
  test -z "$as_dir" && as_dir=.
2235
2681
  for ac_exec_ext in '' $ac_executable_extensions; do
2236
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2682
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2237
2683
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2238
2684
       ac_prog_rejected=yes
2239
2685
       continue
2244
2690
  fi
2245
2691
done
2246
2692
done
 
2693
IFS=$as_save_IFS
2247
2694
 
2248
2695
if test $ac_prog_rejected = yes; then
2249
2696
  # We found a bogon in the path, so make sure we never use it.
2261
2708
fi
2262
2709
CC=$ac_cv_prog_CC
2263
2710
if test -n "$CC"; then
2264
 
  echo "$as_me:$LINENO: result: $CC" >&5
2265
 
echo "${ECHO_T}$CC" >&6
 
2711
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2712
echo "${ECHO_T}$CC" >&6; }
2266
2713
else
2267
 
  echo "$as_me:$LINENO: result: no" >&5
2268
 
echo "${ECHO_T}no" >&6
 
2714
  { echo "$as_me:$LINENO: result: no" >&5
 
2715
echo "${ECHO_T}no" >&6; }
2269
2716
fi
 
2717
 
2270
2718
 
2271
2719
fi
2272
2720
if test -z "$CC"; then
2273
2721
  if test -n "$ac_tool_prefix"; then
2274
 
  for ac_prog in cl
 
2722
  for ac_prog in cl.exe
2275
2723
  do
2276
2724
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2277
2725
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2278
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2279
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2726
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2727
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2280
2728
if test "${ac_cv_prog_CC+set}" = set; then
2281
2729
  echo $ECHO_N "(cached) $ECHO_C" >&6
2282
2730
else
2289
2737
  IFS=$as_save_IFS
2290
2738
  test -z "$as_dir" && as_dir=.
2291
2739
  for ac_exec_ext in '' $ac_executable_extensions; do
2292
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2740
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293
2741
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2294
2742
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295
2743
    break 2
2296
2744
  fi
2297
2745
done
2298
2746
done
 
2747
IFS=$as_save_IFS
2299
2748
 
2300
2749
fi
2301
2750
fi
2302
2751
CC=$ac_cv_prog_CC
2303
2752
if test -n "$CC"; then
2304
 
  echo "$as_me:$LINENO: result: $CC" >&5
2305
 
echo "${ECHO_T}$CC" >&6
 
2753
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2754
echo "${ECHO_T}$CC" >&6; }
2306
2755
else
2307
 
  echo "$as_me:$LINENO: result: no" >&5
2308
 
echo "${ECHO_T}no" >&6
 
2756
  { echo "$as_me:$LINENO: result: no" >&5
 
2757
echo "${ECHO_T}no" >&6; }
2309
2758
fi
2310
2759
 
 
2760
 
2311
2761
    test -n "$CC" && break
2312
2762
  done
2313
2763
fi
2314
2764
if test -z "$CC"; then
2315
2765
  ac_ct_CC=$CC
2316
 
  for ac_prog in cl
 
2766
  for ac_prog in cl.exe
2317
2767
do
2318
2768
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2319
2769
set dummy $ac_prog; ac_word=$2
2320
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2321
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2770
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2771
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322
2772
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323
2773
  echo $ECHO_N "(cached) $ECHO_C" >&6
2324
2774
else
2331
2781
  IFS=$as_save_IFS
2332
2782
  test -z "$as_dir" && as_dir=.
2333
2783
  for ac_exec_ext in '' $ac_executable_extensions; do
2334
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2784
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335
2785
    ac_cv_prog_ac_ct_CC="$ac_prog"
2336
2786
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337
2787
    break 2
2338
2788
  fi
2339
2789
done
2340
2790
done
 
2791
IFS=$as_save_IFS
2341
2792
 
2342
2793
fi
2343
2794
fi
2344
2795
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345
2796
if test -n "$ac_ct_CC"; then
2346
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2347
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2797
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2798
echo "${ECHO_T}$ac_ct_CC" >&6; }
2348
2799
else
2349
 
  echo "$as_me:$LINENO: result: no" >&5
2350
 
echo "${ECHO_T}no" >&6
 
2800
  { echo "$as_me:$LINENO: result: no" >&5
 
2801
echo "${ECHO_T}no" >&6; }
2351
2802
fi
2352
2803
 
 
2804
 
2353
2805
  test -n "$ac_ct_CC" && break
2354
2806
done
2355
2807
 
2356
 
  CC=$ac_ct_CC
 
2808
  if test "x$ac_ct_CC" = x; then
 
2809
    CC=""
 
2810
  else
 
2811
    case $cross_compiling:$ac_tool_warned in
 
2812
yes:)
 
2813
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2814
whose name does not start with the host triplet.  If you think this
 
2815
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2816
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2817
whose name does not start with the host triplet.  If you think this
 
2818
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2819
ac_tool_warned=yes ;;
 
2820
esac
 
2821
    CC=$ac_ct_CC
 
2822
  fi
2357
2823
fi
2358
2824
 
2359
2825
fi
2366
2832
   { (exit 1); exit 1; }; }
2367
2833
 
2368
2834
# Provide some information about the compiler.
2369
 
echo "$as_me:$LINENO:" \
2370
 
     "checking for C compiler version" >&5
 
2835
echo "$as_me:$LINENO: checking for C compiler version" >&5
2371
2836
ac_compiler=`set X $ac_compile; echo $2`
2372
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2373
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2374
 
  ac_status=$?
2375
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376
 
  (exit $ac_status); }
2377
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2378
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2379
 
  ac_status=$?
2380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381
 
  (exit $ac_status); }
2382
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2383
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2837
{ (ac_try="$ac_compiler --version >&5"
 
2838
case "(($ac_try" in
 
2839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2840
  *) ac_try_echo=$ac_try;;
 
2841
esac
 
2842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2843
  (eval "$ac_compiler --version >&5") 2>&5
 
2844
  ac_status=$?
 
2845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2846
  (exit $ac_status); }
 
2847
{ (ac_try="$ac_compiler -v >&5"
 
2848
case "(($ac_try" in
 
2849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2850
  *) ac_try_echo=$ac_try;;
 
2851
esac
 
2852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2853
  (eval "$ac_compiler -v >&5") 2>&5
 
2854
  ac_status=$?
 
2855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2856
  (exit $ac_status); }
 
2857
{ (ac_try="$ac_compiler -V >&5"
 
2858
case "(($ac_try" in
 
2859
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2860
  *) ac_try_echo=$ac_try;;
 
2861
esac
 
2862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2863
  (eval "$ac_compiler -V >&5") 2>&5
2384
2864
  ac_status=$?
2385
2865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386
2866
  (exit $ac_status); }
2405
2885
# Try to create an executable without -o first, disregard a.out.
2406
2886
# It will help us diagnose broken compilers, and finding out an intuition
2407
2887
# of exeext.
2408
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2409
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2888
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2889
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2410
2890
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2412
 
  (eval $ac_link_default) 2>&5
 
2891
#
 
2892
# List of possible output files, starting from the most likely.
 
2893
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2894
# only as a last resort.  b.out is created by i960 compilers.
 
2895
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2896
#
 
2897
# The IRIX 6 linker writes into existing files which may not be
 
2898
# executable, retaining their permissions.  Remove them first so a
 
2899
# subsequent execution test works.
 
2900
ac_rmfiles=
 
2901
for ac_file in $ac_files
 
2902
do
 
2903
  case $ac_file in
 
2904
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2905
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2906
  esac
 
2907
done
 
2908
rm -f $ac_rmfiles
 
2909
 
 
2910
if { (ac_try="$ac_link_default"
 
2911
case "(($ac_try" in
 
2912
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2913
  *) ac_try_echo=$ac_try;;
 
2914
esac
 
2915
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2916
  (eval "$ac_link_default") 2>&5
2413
2917
  ac_status=$?
2414
2918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
2919
  (exit $ac_status); }; then
2416
 
  # Find the output, starting from the most likely.  This scheme is
2417
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2418
 
# resort.
2419
 
 
2420
 
# Be careful to initialize this variable, since it used to be cached.
2421
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2422
 
ac_cv_exeext=
2423
 
# b.out is created by i960 compilers.
2424
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2920
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2921
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2922
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2923
# so that the user can short-circuit this test for compilers unknown to
 
2924
# Autoconf.
 
2925
for ac_file in $ac_files ''
2425
2926
do
2426
2927
  test -f "$ac_file" || continue
2427
2928
  case $ac_file in
2428
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2429
 
        ;;
2430
 
    conftest.$ac_ext )
2431
 
        # This is the source file.
 
2929
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2432
2930
        ;;
2433
2931
    [ab].out )
2434
2932
        # We found the default executable, but exeext='' is most
2435
2933
        # certainly right.
2436
2934
        break;;
2437
2935
    *.* )
2438
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2439
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2440
 
        # but it would be cool to find out if it's true.  Does anybody
2441
 
        # maintain Libtool? --akim.
2442
 
        export ac_cv_exeext
 
2936
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2937
        then :; else
 
2938
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2939
        fi
 
2940
        # We set ac_cv_exeext here because the later test for it is not
 
2941
        # safe: cross compilers may not add the suffix if given an `-o'
 
2942
        # argument, so we may need to know it at that point already.
 
2943
        # Even if this section looks crufty: it has the advantage of
 
2944
        # actually working.
2443
2945
        break;;
2444
2946
    * )
2445
2947
        break;;
2446
2948
  esac
2447
2949
done
 
2950
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2951
 
2448
2952
else
 
2953
  ac_file=''
 
2954
fi
 
2955
 
 
2956
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2957
echo "${ECHO_T}$ac_file" >&6; }
 
2958
if test -z "$ac_file"; then
2449
2959
  echo "$as_me: failed program was:" >&5
2450
2960
sed 's/^/| /' conftest.$ac_ext >&5
2451
2961
 
2457
2967
fi
2458
2968
 
2459
2969
ac_exeext=$ac_cv_exeext
2460
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2461
 
echo "${ECHO_T}$ac_file" >&6
2462
2970
 
2463
 
# Check the compiler produces executables we can run.  If not, either
 
2971
# Check that the compiler produces executables we can run.  If not, either
2464
2972
# the compiler is broken, or we cross compile.
2465
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2466
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2973
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2974
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2467
2975
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2468
2976
# If not cross compiling, check that we can run a simple program.
2469
2977
if test "$cross_compiling" != yes; then
2470
2978
  if { ac_try='./$ac_file'
2471
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2472
 
  (eval $ac_try) 2>&5
 
2979
  { (case "(($ac_try" in
 
2980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2981
  *) ac_try_echo=$ac_try;;
 
2982
esac
 
2983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2984
  (eval "$ac_try") 2>&5
2473
2985
  ac_status=$?
2474
2986
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475
2987
  (exit $ac_status); }; }; then
2488
3000
    fi
2489
3001
  fi
2490
3002
fi
2491
 
echo "$as_me:$LINENO: result: yes" >&5
2492
 
echo "${ECHO_T}yes" >&6
 
3003
{ echo "$as_me:$LINENO: result: yes" >&5
 
3004
echo "${ECHO_T}yes" >&6; }
2493
3005
 
2494
3006
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2495
3007
ac_clean_files=$ac_clean_files_save
2496
 
# Check the compiler produces executables we can run.  If not, either
 
3008
# Check that the compiler produces executables we can run.  If not, either
2497
3009
# the compiler is broken, or we cross compile.
2498
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2499
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2500
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2501
 
echo "${ECHO_T}$cross_compiling" >&6
 
3010
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3011
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3012
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3013
echo "${ECHO_T}$cross_compiling" >&6; }
2502
3014
 
2503
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2504
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2505
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2506
 
  (eval $ac_link) 2>&5
 
3015
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3016
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3017
if { (ac_try="$ac_link"
 
3018
case "(($ac_try" in
 
3019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3020
  *) ac_try_echo=$ac_try;;
 
3021
esac
 
3022
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3023
  (eval "$ac_link") 2>&5
2507
3024
  ac_status=$?
2508
3025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509
3026
  (exit $ac_status); }; then
2514
3031
for ac_file in conftest.exe conftest conftest.*; do
2515
3032
  test -f "$ac_file" || continue
2516
3033
  case $ac_file in
2517
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3034
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2518
3035
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2519
 
          export ac_cv_exeext
2520
3036
          break;;
2521
3037
    * ) break;;
2522
3038
  esac
2530
3046
fi
2531
3047
 
2532
3048
rm -f conftest$ac_cv_exeext
2533
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2534
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3049
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3050
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2535
3051
 
2536
3052
rm -f conftest.$ac_ext
2537
3053
EXEEXT=$ac_cv_exeext
2538
3054
ac_exeext=$EXEEXT
2539
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2540
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3055
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3056
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2541
3057
if test "${ac_cv_objext+set}" = set; then
2542
3058
  echo $ECHO_N "(cached) $ECHO_C" >&6
2543
3059
else
2557
3073
}
2558
3074
_ACEOF
2559
3075
rm -f conftest.o conftest.obj
2560
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561
 
  (eval $ac_compile) 2>&5
 
3076
if { (ac_try="$ac_compile"
 
3077
case "(($ac_try" in
 
3078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3079
  *) ac_try_echo=$ac_try;;
 
3080
esac
 
3081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3082
  (eval "$ac_compile") 2>&5
2562
3083
  ac_status=$?
2563
3084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564
3085
  (exit $ac_status); }; then
2565
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3086
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3087
  test -f "$ac_file" || continue;
2566
3088
  case $ac_file in
2567
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3089
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2568
3090
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2569
3091
       break;;
2570
3092
  esac
2582
3104
 
2583
3105
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2584
3106
fi
2585
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2586
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3107
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3108
echo "${ECHO_T}$ac_cv_objext" >&6; }
2587
3109
OBJEXT=$ac_cv_objext
2588
3110
ac_objext=$OBJEXT
2589
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2590
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3111
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3112
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2591
3113
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2592
3114
  echo $ECHO_N "(cached) $ECHO_C" >&6
2593
3115
else
2610
3132
}
2611
3133
_ACEOF
2612
3134
rm -f conftest.$ac_objext
2613
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2614
 
  (eval $ac_compile) 2>conftest.er1
 
3135
if { (ac_try="$ac_compile"
 
3136
case "(($ac_try" in
 
3137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3138
  *) ac_try_echo=$ac_try;;
 
3139
esac
 
3140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3141
  (eval "$ac_compile") 2>conftest.er1
2615
3142
  ac_status=$?
2616
3143
  grep -v '^ *+' conftest.er1 >conftest.err
2617
3144
  rm -f conftest.er1
2618
3145
  cat conftest.err >&5
2619
3146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620
 
  (exit $ac_status); } &&
2621
 
         { ac_try='test -z "$ac_c_werror_flag"
2622
 
                         || test ! -s conftest.err'
2623
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624
 
  (eval $ac_try) 2>&5
2625
 
  ac_status=$?
2626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627
 
  (exit $ac_status); }; } &&
2628
 
         { ac_try='test -s conftest.$ac_objext'
2629
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630
 
  (eval $ac_try) 2>&5
2631
 
  ac_status=$?
2632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633
 
  (exit $ac_status); }; }; then
 
3147
  (exit $ac_status); } && {
 
3148
         test -z "$ac_c_werror_flag" ||
 
3149
         test ! -s conftest.err
 
3150
       } && test -s conftest.$ac_objext; then
2634
3151
  ac_compiler_gnu=yes
2635
3152
else
2636
3153
  echo "$as_me: failed program was:" >&5
2637
3154
sed 's/^/| /' conftest.$ac_ext >&5
2638
3155
 
2639
 
ac_compiler_gnu=no
 
3156
        ac_compiler_gnu=no
2640
3157
fi
2641
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3158
 
 
3159
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642
3160
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2643
3161
 
2644
3162
fi
2645
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2646
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3163
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3164
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2647
3165
GCC=`test $ac_compiler_gnu = yes && echo yes`
2648
3166
ac_test_CFLAGS=${CFLAGS+set}
2649
3167
ac_save_CFLAGS=$CFLAGS
2650
 
CFLAGS="-g"
2651
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2652
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3168
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3169
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2653
3170
if test "${ac_cv_prog_cc_g+set}" = set; then
2654
3171
  echo $ECHO_N "(cached) $ECHO_C" >&6
2655
3172
else
2656
 
  cat >conftest.$ac_ext <<_ACEOF
2657
 
/* confdefs.h.  */
2658
 
_ACEOF
2659
 
cat confdefs.h >>conftest.$ac_ext
2660
 
cat >>conftest.$ac_ext <<_ACEOF
2661
 
/* end confdefs.h.  */
2662
 
 
2663
 
int
2664
 
main ()
2665
 
{
2666
 
 
2667
 
  ;
2668
 
  return 0;
2669
 
}
2670
 
_ACEOF
2671
 
rm -f conftest.$ac_objext
2672
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2673
 
  (eval $ac_compile) 2>conftest.er1
2674
 
  ac_status=$?
2675
 
  grep -v '^ *+' conftest.er1 >conftest.err
2676
 
  rm -f conftest.er1
2677
 
  cat conftest.err >&5
2678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679
 
  (exit $ac_status); } &&
2680
 
         { ac_try='test -z "$ac_c_werror_flag"
2681
 
                         || test ! -s conftest.err'
2682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683
 
  (eval $ac_try) 2>&5
2684
 
  ac_status=$?
2685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686
 
  (exit $ac_status); }; } &&
2687
 
         { ac_try='test -s conftest.$ac_objext'
2688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689
 
  (eval $ac_try) 2>&5
2690
 
  ac_status=$?
2691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
 
  (exit $ac_status); }; }; then
2693
 
  ac_cv_prog_cc_g=yes
2694
 
else
2695
 
  echo "$as_me: failed program was:" >&5
2696
 
sed 's/^/| /' conftest.$ac_ext >&5
2697
 
 
2698
 
ac_cv_prog_cc_g=no
2699
 
fi
2700
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2701
 
fi
2702
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2703
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3173
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3174
   ac_c_werror_flag=yes
 
3175
   ac_cv_prog_cc_g=no
 
3176
   CFLAGS="-g"
 
3177
   cat >conftest.$ac_ext <<_ACEOF
 
3178
/* confdefs.h.  */
 
3179
_ACEOF
 
3180
cat confdefs.h >>conftest.$ac_ext
 
3181
cat >>conftest.$ac_ext <<_ACEOF
 
3182
/* end confdefs.h.  */
 
3183
 
 
3184
int
 
3185
main ()
 
3186
{
 
3187
 
 
3188
  ;
 
3189
  return 0;
 
3190
}
 
3191
_ACEOF
 
3192
rm -f conftest.$ac_objext
 
3193
if { (ac_try="$ac_compile"
 
3194
case "(($ac_try" in
 
3195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3196
  *) ac_try_echo=$ac_try;;
 
3197
esac
 
3198
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3199
  (eval "$ac_compile") 2>conftest.er1
 
3200
  ac_status=$?
 
3201
  grep -v '^ *+' conftest.er1 >conftest.err
 
3202
  rm -f conftest.er1
 
3203
  cat conftest.err >&5
 
3204
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3205
  (exit $ac_status); } && {
 
3206
         test -z "$ac_c_werror_flag" ||
 
3207
         test ! -s conftest.err
 
3208
       } && test -s conftest.$ac_objext; then
 
3209
  ac_cv_prog_cc_g=yes
 
3210
else
 
3211
  echo "$as_me: failed program was:" >&5
 
3212
sed 's/^/| /' conftest.$ac_ext >&5
 
3213
 
 
3214
        CFLAGS=""
 
3215
      cat >conftest.$ac_ext <<_ACEOF
 
3216
/* confdefs.h.  */
 
3217
_ACEOF
 
3218
cat confdefs.h >>conftest.$ac_ext
 
3219
cat >>conftest.$ac_ext <<_ACEOF
 
3220
/* end confdefs.h.  */
 
3221
 
 
3222
int
 
3223
main ()
 
3224
{
 
3225
 
 
3226
  ;
 
3227
  return 0;
 
3228
}
 
3229
_ACEOF
 
3230
rm -f conftest.$ac_objext
 
3231
if { (ac_try="$ac_compile"
 
3232
case "(($ac_try" in
 
3233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3234
  *) ac_try_echo=$ac_try;;
 
3235
esac
 
3236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3237
  (eval "$ac_compile") 2>conftest.er1
 
3238
  ac_status=$?
 
3239
  grep -v '^ *+' conftest.er1 >conftest.err
 
3240
  rm -f conftest.er1
 
3241
  cat conftest.err >&5
 
3242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3243
  (exit $ac_status); } && {
 
3244
         test -z "$ac_c_werror_flag" ||
 
3245
         test ! -s conftest.err
 
3246
       } && test -s conftest.$ac_objext; then
 
3247
  :
 
3248
else
 
3249
  echo "$as_me: failed program was:" >&5
 
3250
sed 's/^/| /' conftest.$ac_ext >&5
 
3251
 
 
3252
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3253
         CFLAGS="-g"
 
3254
         cat >conftest.$ac_ext <<_ACEOF
 
3255
/* confdefs.h.  */
 
3256
_ACEOF
 
3257
cat confdefs.h >>conftest.$ac_ext
 
3258
cat >>conftest.$ac_ext <<_ACEOF
 
3259
/* end confdefs.h.  */
 
3260
 
 
3261
int
 
3262
main ()
 
3263
{
 
3264
 
 
3265
  ;
 
3266
  return 0;
 
3267
}
 
3268
_ACEOF
 
3269
rm -f conftest.$ac_objext
 
3270
if { (ac_try="$ac_compile"
 
3271
case "(($ac_try" in
 
3272
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3273
  *) ac_try_echo=$ac_try;;
 
3274
esac
 
3275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3276
  (eval "$ac_compile") 2>conftest.er1
 
3277
  ac_status=$?
 
3278
  grep -v '^ *+' conftest.er1 >conftest.err
 
3279
  rm -f conftest.er1
 
3280
  cat conftest.err >&5
 
3281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3282
  (exit $ac_status); } && {
 
3283
         test -z "$ac_c_werror_flag" ||
 
3284
         test ! -s conftest.err
 
3285
       } && test -s conftest.$ac_objext; then
 
3286
  ac_cv_prog_cc_g=yes
 
3287
else
 
3288
  echo "$as_me: failed program was:" >&5
 
3289
sed 's/^/| /' conftest.$ac_ext >&5
 
3290
 
 
3291
 
 
3292
fi
 
3293
 
 
3294
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3295
fi
 
3296
 
 
3297
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3298
fi
 
3299
 
 
3300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3301
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3302
fi
 
3303
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3304
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2704
3305
if test "$ac_test_CFLAGS" = set; then
2705
3306
  CFLAGS=$ac_save_CFLAGS
2706
3307
elif test $ac_cv_prog_cc_g = yes; then
2716
3317
    CFLAGS=
2717
3318
  fi
2718
3319
fi
2719
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2720
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2721
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3320
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3321
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3322
if test "${ac_cv_prog_cc_c89+set}" = set; then
2722
3323
  echo $ECHO_N "(cached) $ECHO_C" >&6
2723
3324
else
2724
 
  ac_cv_prog_cc_stdc=no
 
3325
  ac_cv_prog_cc_c89=no
2725
3326
ac_save_CC=$CC
2726
3327
cat >conftest.$ac_ext <<_ACEOF
2727
3328
/* confdefs.h.  */
2755
3356
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2756
3357
   function prototypes and stuff, but not '\xHH' hex character constants.
2757
3358
   These don't provoke an error unfortunately, instead are silently treated
2758
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3359
   as 'x'.  The following induces an error, until -std is added to get
2759
3360
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2760
3361
   array size at least.  It's necessary to write '\x00'==0 to get something
2761
 
   that's true only with -std1.  */
 
3362
   that's true only with -std.  */
2762
3363
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2763
3364
 
 
3365
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3366
   inside strings and character constants.  */
 
3367
#define FOO(x) 'x'
 
3368
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3369
 
2764
3370
int test (int i, double x);
2765
3371
struct s1 {int (*f) (int a);};
2766
3372
struct s2 {int (*f) (double a);};
2775
3381
  return 0;
2776
3382
}
2777
3383
_ACEOF
2778
 
# Don't try gcc -ansi; that turns off useful extensions and
2779
 
# breaks some systems' header files.
2780
 
# AIX                   -qlanglvl=ansi
2781
 
# Ultrix and OSF/1      -std1
2782
 
# HP-UX 10.20 and later -Ae
2783
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2784
 
# SVR4                  -Xc -D__EXTENSIONS__
2785
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3384
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3385
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2786
3386
do
2787
3387
  CC="$ac_save_CC $ac_arg"
2788
3388
  rm -f conftest.$ac_objext
2789
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790
 
  (eval $ac_compile) 2>conftest.er1
 
3389
if { (ac_try="$ac_compile"
 
3390
case "(($ac_try" in
 
3391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3392
  *) ac_try_echo=$ac_try;;
 
3393
esac
 
3394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3395
  (eval "$ac_compile") 2>conftest.er1
2791
3396
  ac_status=$?
2792
3397
  grep -v '^ *+' conftest.er1 >conftest.err
2793
3398
  rm -f conftest.er1
2794
3399
  cat conftest.err >&5
2795
3400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796
 
  (exit $ac_status); } &&
2797
 
         { ac_try='test -z "$ac_c_werror_flag"
2798
 
                         || test ! -s conftest.err'
2799
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800
 
  (eval $ac_try) 2>&5
2801
 
  ac_status=$?
2802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803
 
  (exit $ac_status); }; } &&
2804
 
         { ac_try='test -s conftest.$ac_objext'
2805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806
 
  (eval $ac_try) 2>&5
2807
 
  ac_status=$?
2808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809
 
  (exit $ac_status); }; }; then
2810
 
  ac_cv_prog_cc_stdc=$ac_arg
2811
 
break
 
3401
  (exit $ac_status); } && {
 
3402
         test -z "$ac_c_werror_flag" ||
 
3403
         test ! -s conftest.err
 
3404
       } && test -s conftest.$ac_objext; then
 
3405
  ac_cv_prog_cc_c89=$ac_arg
2812
3406
else
2813
3407
  echo "$as_me: failed program was:" >&5
2814
3408
sed 's/^/| /' conftest.$ac_ext >&5
2815
3409
 
 
3410
 
2816
3411
fi
2817
 
rm -f conftest.err conftest.$ac_objext
 
3412
 
 
3413
rm -f core conftest.err conftest.$ac_objext
 
3414
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2818
3415
done
2819
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3416
rm -f conftest.$ac_ext
2820
3417
CC=$ac_save_CC
2821
3418
 
2822
3419
fi
2823
 
 
2824
 
case "x$ac_cv_prog_cc_stdc" in
2825
 
  x|xno)
2826
 
    echo "$as_me:$LINENO: result: none needed" >&5
2827
 
echo "${ECHO_T}none needed" >&6 ;;
 
3420
# AC_CACHE_VAL
 
3421
case "x$ac_cv_prog_cc_c89" in
 
3422
  x)
 
3423
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3424
echo "${ECHO_T}none needed" >&6; } ;;
 
3425
  xno)
 
3426
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3427
echo "${ECHO_T}unsupported" >&6; } ;;
2828
3428
  *)
2829
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2830
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2831
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3429
    CC="$CC $ac_cv_prog_cc_c89"
 
3430
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3431
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2832
3432
esac
2833
3433
 
2834
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2835
 
# in C++ we need to declare it.  In case someone uses the same compiler
2836
 
# for both compiling C and C++ we need to have the C++ compiler decide
2837
 
# the declaration of exit, since it's the most demanding environment.
2838
 
cat >conftest.$ac_ext <<_ACEOF
2839
 
#ifndef __cplusplus
2840
 
  choke me
2841
 
#endif
2842
 
_ACEOF
2843
 
rm -f conftest.$ac_objext
2844
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2845
 
  (eval $ac_compile) 2>conftest.er1
2846
 
  ac_status=$?
2847
 
  grep -v '^ *+' conftest.er1 >conftest.err
2848
 
  rm -f conftest.er1
2849
 
  cat conftest.err >&5
2850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851
 
  (exit $ac_status); } &&
2852
 
         { ac_try='test -z "$ac_c_werror_flag"
2853
 
                         || test ! -s conftest.err'
2854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855
 
  (eval $ac_try) 2>&5
2856
 
  ac_status=$?
2857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858
 
  (exit $ac_status); }; } &&
2859
 
         { ac_try='test -s conftest.$ac_objext'
2860
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861
 
  (eval $ac_try) 2>&5
2862
 
  ac_status=$?
2863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864
 
  (exit $ac_status); }; }; then
2865
 
  for ac_declaration in \
2866
 
   '' \
2867
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2868
 
   'extern "C" void std::exit (int); using std::exit;' \
2869
 
   'extern "C" void exit (int) throw ();' \
2870
 
   'extern "C" void exit (int);' \
2871
 
   'void exit (int);'
2872
 
do
2873
 
  cat >conftest.$ac_ext <<_ACEOF
2874
 
/* confdefs.h.  */
2875
 
_ACEOF
2876
 
cat confdefs.h >>conftest.$ac_ext
2877
 
cat >>conftest.$ac_ext <<_ACEOF
2878
 
/* end confdefs.h.  */
2879
 
$ac_declaration
2880
 
#include <stdlib.h>
2881
 
int
2882
 
main ()
2883
 
{
2884
 
exit (42);
2885
 
  ;
2886
 
  return 0;
2887
 
}
2888
 
_ACEOF
2889
 
rm -f conftest.$ac_objext
2890
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2891
 
  (eval $ac_compile) 2>conftest.er1
2892
 
  ac_status=$?
2893
 
  grep -v '^ *+' conftest.er1 >conftest.err
2894
 
  rm -f conftest.er1
2895
 
  cat conftest.err >&5
2896
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897
 
  (exit $ac_status); } &&
2898
 
         { ac_try='test -z "$ac_c_werror_flag"
2899
 
                         || test ! -s conftest.err'
2900
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901
 
  (eval $ac_try) 2>&5
2902
 
  ac_status=$?
2903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904
 
  (exit $ac_status); }; } &&
2905
 
         { ac_try='test -s conftest.$ac_objext'
2906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907
 
  (eval $ac_try) 2>&5
2908
 
  ac_status=$?
2909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910
 
  (exit $ac_status); }; }; then
2911
 
  :
2912
 
else
2913
 
  echo "$as_me: failed program was:" >&5
2914
 
sed 's/^/| /' conftest.$ac_ext >&5
2915
 
 
2916
 
continue
2917
 
fi
2918
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2919
 
  cat >conftest.$ac_ext <<_ACEOF
2920
 
/* confdefs.h.  */
2921
 
_ACEOF
2922
 
cat confdefs.h >>conftest.$ac_ext
2923
 
cat >>conftest.$ac_ext <<_ACEOF
2924
 
/* end confdefs.h.  */
2925
 
$ac_declaration
2926
 
int
2927
 
main ()
2928
 
{
2929
 
exit (42);
2930
 
  ;
2931
 
  return 0;
2932
 
}
2933
 
_ACEOF
2934
 
rm -f conftest.$ac_objext
2935
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2936
 
  (eval $ac_compile) 2>conftest.er1
2937
 
  ac_status=$?
2938
 
  grep -v '^ *+' conftest.er1 >conftest.err
2939
 
  rm -f conftest.er1
2940
 
  cat conftest.err >&5
2941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942
 
  (exit $ac_status); } &&
2943
 
         { ac_try='test -z "$ac_c_werror_flag"
2944
 
                         || test ! -s conftest.err'
2945
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946
 
  (eval $ac_try) 2>&5
2947
 
  ac_status=$?
2948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949
 
  (exit $ac_status); }; } &&
2950
 
         { ac_try='test -s conftest.$ac_objext'
2951
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2952
 
  (eval $ac_try) 2>&5
2953
 
  ac_status=$?
2954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955
 
  (exit $ac_status); }; }; then
2956
 
  break
2957
 
else
2958
 
  echo "$as_me: failed program was:" >&5
2959
 
sed 's/^/| /' conftest.$ac_ext >&5
2960
 
 
2961
 
fi
2962
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2963
 
done
2964
 
rm -f conftest*
2965
 
if test -n "$ac_declaration"; then
2966
 
  echo '#ifdef __cplusplus' >>confdefs.h
2967
 
  echo $ac_declaration      >>confdefs.h
2968
 
  echo '#endif'             >>confdefs.h
2969
 
fi
2970
 
 
2971
 
else
2972
 
  echo "$as_me: failed program was:" >&5
2973
 
sed 's/^/| /' conftest.$ac_ext >&5
2974
 
 
2975
 
fi
2976
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3434
 
2977
3435
ac_ext=c
2978
3436
ac_cpp='$CPP $CPPFLAGS'
2979
3437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981
3439
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2982
3440
DEPDIR="${am__leading_dot}deps"
2983
3441
 
2984
 
          ac_config_commands="$ac_config_commands depfiles"
 
3442
ac_config_commands="$ac_config_commands depfiles"
2985
3443
 
2986
3444
 
2987
3445
am_make=${MAKE-make}
2991
3449
.PHONY: am__doit
2992
3450
END
2993
3451
# If we don't find an include directive, just comment out the code.
2994
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2995
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3452
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3453
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2996
3454
am__include="#"
2997
3455
am__quote=
2998
3456
_am_result=none
3019
3477
fi
3020
3478
 
3021
3479
 
3022
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3023
 
echo "${ECHO_T}$_am_result" >&6
 
3480
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3481
echo "${ECHO_T}$_am_result" >&6; }
3024
3482
rm -f confinc confmf
3025
3483
 
3026
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3484
# Check whether --enable-dependency-tracking was given.
3027
3485
if test "${enable_dependency_tracking+set}" = set; then
3028
 
  enableval="$enable_dependency_tracking"
 
3486
  enableval=$enable_dependency_tracking;
 
3487
fi
3029
3488
 
3030
 
fi;
3031
3489
if test "x$enable_dependency_tracking" != xno; then
3032
3490
  am_depcomp="$ac_aux_dir/depcomp"
3033
3491
  AMDEPBACKSLASH='\'
3034
3492
fi
3035
 
 
3036
 
 
3037
 
if test "x$enable_dependency_tracking" != xno; then
 
3493
 if test "x$enable_dependency_tracking" != xno; then
3038
3494
  AMDEP_TRUE=
3039
3495
  AMDEP_FALSE='#'
3040
3496
else
3044
3500
 
3045
3501
 
3046
3502
 
3047
 
 
3048
3503
depcc="$CC"   am_compiler_list=
3049
3504
 
3050
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3051
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3505
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3506
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3052
3507
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3053
3508
  echo $ECHO_N "(cached) $ECHO_C" >&6
3054
3509
else
3112
3567
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3113
3568
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3114
3569
         >/dev/null 2>conftest.err &&
 
3570
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3115
3571
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3116
3572
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3117
3573
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3137
3593
fi
3138
3594
 
3139
3595
fi
3140
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3141
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3596
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3597
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3142
3598
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3143
3599
 
3144
 
 
3145
 
 
3146
 
if
 
3600
 if
3147
3601
  test "x$enable_dependency_tracking" != xno \
3148
3602
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3149
3603
  am__fastdepCC_TRUE=
3159
3613
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3160
3614
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3161
3615
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3162
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3163
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3616
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3617
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3164
3618
# On Suns, sometimes $CPP names a directory.
3165
3619
if test -n "$CPP" && test -d "$CPP"; then
3166
3620
  CPP=
3194
3648
#endif
3195
3649
                     Syntax error
3196
3650
_ACEOF
3197
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3198
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3651
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3652
case "(($ac_try" in
 
3653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3654
  *) ac_try_echo=$ac_try;;
 
3655
esac
 
3656
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3657
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3199
3658
  ac_status=$?
3200
3659
  grep -v '^ *+' conftest.er1 >conftest.err
3201
3660
  rm -f conftest.er1
3202
3661
  cat conftest.err >&5
3203
3662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204
 
  (exit $ac_status); } >/dev/null; then
3205
 
  if test -s conftest.err; then
3206
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3207
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3208
 
  else
3209
 
    ac_cpp_err=
3210
 
  fi
3211
 
else
3212
 
  ac_cpp_err=yes
3213
 
fi
3214
 
if test -z "$ac_cpp_err"; then
 
3663
  (exit $ac_status); } >/dev/null && {
 
3664
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3665
         test ! -s conftest.err
 
3666
       }; then
3215
3667
  :
3216
3668
else
3217
3669
  echo "$as_me: failed program was:" >&5
3220
3672
  # Broken: fails on valid input.
3221
3673
continue
3222
3674
fi
 
3675
 
3223
3676
rm -f conftest.err conftest.$ac_ext
3224
3677
 
3225
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3678
  # OK, works on sane cases.  Now check whether nonexistent headers
3226
3679
  # can be detected and how.
3227
3680
  cat >conftest.$ac_ext <<_ACEOF
3228
3681
/* confdefs.h.  */
3232
3685
/* end confdefs.h.  */
3233
3686
#include <ac_nonexistent.h>
3234
3687
_ACEOF
3235
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3236
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3688
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3689
case "(($ac_try" in
 
3690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3691
  *) ac_try_echo=$ac_try;;
 
3692
esac
 
3693
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3694
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3237
3695
  ac_status=$?
3238
3696
  grep -v '^ *+' conftest.er1 >conftest.err
3239
3697
  rm -f conftest.er1
3240
3698
  cat conftest.err >&5
3241
3699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242
 
  (exit $ac_status); } >/dev/null; then
3243
 
  if test -s conftest.err; then
3244
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3245
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3246
 
  else
3247
 
    ac_cpp_err=
3248
 
  fi
3249
 
else
3250
 
  ac_cpp_err=yes
3251
 
fi
3252
 
if test -z "$ac_cpp_err"; then
 
3700
  (exit $ac_status); } >/dev/null && {
 
3701
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3702
         test ! -s conftest.err
 
3703
       }; then
3253
3704
  # Broken: success on invalid input.
3254
3705
continue
3255
3706
else
3260
3711
ac_preproc_ok=:
3261
3712
break
3262
3713
fi
 
3714
 
3263
3715
rm -f conftest.err conftest.$ac_ext
3264
3716
 
3265
3717
done
3277
3729
else
3278
3730
  ac_cv_prog_CPP=$CPP
3279
3731
fi
3280
 
echo "$as_me:$LINENO: result: $CPP" >&5
3281
 
echo "${ECHO_T}$CPP" >&6
 
3732
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3733
echo "${ECHO_T}$CPP" >&6; }
3282
3734
ac_preproc_ok=false
3283
3735
for ac_c_preproc_warn_flag in '' yes
3284
3736
do
3301
3753
#endif
3302
3754
                     Syntax error
3303
3755
_ACEOF
3304
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3305
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3756
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3757
case "(($ac_try" in
 
3758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3759
  *) ac_try_echo=$ac_try;;
 
3760
esac
 
3761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3762
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3306
3763
  ac_status=$?
3307
3764
  grep -v '^ *+' conftest.er1 >conftest.err
3308
3765
  rm -f conftest.er1
3309
3766
  cat conftest.err >&5
3310
3767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311
 
  (exit $ac_status); } >/dev/null; then
3312
 
  if test -s conftest.err; then
3313
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3314
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3315
 
  else
3316
 
    ac_cpp_err=
3317
 
  fi
3318
 
else
3319
 
  ac_cpp_err=yes
3320
 
fi
3321
 
if test -z "$ac_cpp_err"; then
 
3768
  (exit $ac_status); } >/dev/null && {
 
3769
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3770
         test ! -s conftest.err
 
3771
       }; then
3322
3772
  :
3323
3773
else
3324
3774
  echo "$as_me: failed program was:" >&5
3327
3777
  # Broken: fails on valid input.
3328
3778
continue
3329
3779
fi
 
3780
 
3330
3781
rm -f conftest.err conftest.$ac_ext
3331
3782
 
3332
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3783
  # OK, works on sane cases.  Now check whether nonexistent headers
3333
3784
  # can be detected and how.
3334
3785
  cat >conftest.$ac_ext <<_ACEOF
3335
3786
/* confdefs.h.  */
3339
3790
/* end confdefs.h.  */
3340
3791
#include <ac_nonexistent.h>
3341
3792
_ACEOF
3342
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3343
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3793
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3794
case "(($ac_try" in
 
3795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3796
  *) ac_try_echo=$ac_try;;
 
3797
esac
 
3798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3799
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3344
3800
  ac_status=$?
3345
3801
  grep -v '^ *+' conftest.er1 >conftest.err
3346
3802
  rm -f conftest.er1
3347
3803
  cat conftest.err >&5
3348
3804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349
 
  (exit $ac_status); } >/dev/null; then
3350
 
  if test -s conftest.err; then
3351
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3352
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3353
 
  else
3354
 
    ac_cpp_err=
3355
 
  fi
3356
 
else
3357
 
  ac_cpp_err=yes
3358
 
fi
3359
 
if test -z "$ac_cpp_err"; then
 
3805
  (exit $ac_status); } >/dev/null && {
 
3806
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3807
         test ! -s conftest.err
 
3808
       }; then
3360
3809
  # Broken: success on invalid input.
3361
3810
continue
3362
3811
else
3367
3816
ac_preproc_ok=:
3368
3817
break
3369
3818
fi
 
3819
 
3370
3820
rm -f conftest.err conftest.$ac_ext
3371
3821
 
3372
3822
done
3388
3838
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389
3839
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3390
3840
 
3391
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3392
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3393
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3394
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
3841
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3842
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
3843
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3844
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3395
3845
  echo $ECHO_N "(cached) $ECHO_C" >&6
3396
3846
else
3397
3847
  cat >conftest.make <<\_ACEOF
 
3848
SHELL = /bin/sh
3398
3849
all:
3399
 
        @echo 'ac_maketemp="$(MAKE)"'
 
3850
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3400
3851
_ACEOF
3401
3852
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3402
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3403
 
if test -n "$ac_maketemp"; then
3404
 
  eval ac_cv_prog_make_${ac_make}_set=yes
3405
 
else
3406
 
  eval ac_cv_prog_make_${ac_make}_set=no
3407
 
fi
 
3853
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3854
  *@@@%%%=?*=@@@%%%*)
 
3855
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3856
  *)
 
3857
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3858
esac
3408
3859
rm -f conftest.make
3409
3860
fi
3410
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3411
 
  echo "$as_me:$LINENO: result: yes" >&5
3412
 
echo "${ECHO_T}yes" >&6
 
3861
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3862
  { echo "$as_me:$LINENO: result: yes" >&5
 
3863
echo "${ECHO_T}yes" >&6; }
3413
3864
  SET_MAKE=
3414
3865
else
3415
 
  echo "$as_me:$LINENO: result: no" >&5
3416
 
echo "${ECHO_T}no" >&6
 
3866
  { echo "$as_me:$LINENO: result: no" >&5
 
3867
echo "${ECHO_T}no" >&6; }
3417
3868
  SET_MAKE="MAKE=${MAKE-make}"
3418
3869
fi
3419
3870
 
3420
3871
# Make sure we can run config.sub.
3421
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3422
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3423
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
3872
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3873
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3874
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3424
3875
   { (exit 1); exit 1; }; }
3425
3876
 
3426
 
echo "$as_me:$LINENO: checking build system type" >&5
3427
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
3877
{ echo "$as_me:$LINENO: checking build system type" >&5
 
3878
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3428
3879
if test "${ac_cv_build+set}" = set; then
3429
3880
  echo $ECHO_N "(cached) $ECHO_C" >&6
3430
3881
else
3431
 
  ac_cv_build_alias=$build_alias
3432
 
test -z "$ac_cv_build_alias" &&
3433
 
  ac_cv_build_alias=`$ac_config_guess`
3434
 
test -z "$ac_cv_build_alias" &&
 
3882
  ac_build_alias=$build_alias
 
3883
test "x$ac_build_alias" = x &&
 
3884
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3885
test "x$ac_build_alias" = x &&
3435
3886
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3436
3887
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3437
3888
   { (exit 1); exit 1; }; }
3438
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3439
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3440
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
3889
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3890
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3891
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3441
3892
   { (exit 1); exit 1; }; }
3442
3893
 
3443
3894
fi
3444
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3445
 
echo "${ECHO_T}$ac_cv_build" >&6
 
3895
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3896
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3897
case $ac_cv_build in
 
3898
*-*-*) ;;
 
3899
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3900
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3901
   { (exit 1); exit 1; }; };;
 
3902
esac
3446
3903
build=$ac_cv_build
3447
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3448
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3449
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3450
 
 
3451
 
 
3452
 
echo "$as_me:$LINENO: checking host system type" >&5
3453
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
3904
ac_save_IFS=$IFS; IFS='-'
 
3905
set x $ac_cv_build
 
3906
shift
 
3907
build_cpu=$1
 
3908
build_vendor=$2
 
3909
shift; shift
 
3910
# Remember, the first character of IFS is used to create $*,
 
3911
# except with old shells:
 
3912
build_os=$*
 
3913
IFS=$ac_save_IFS
 
3914
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3915
 
 
3916
 
 
3917
{ echo "$as_me:$LINENO: checking host system type" >&5
 
3918
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3454
3919
if test "${ac_cv_host+set}" = set; then
3455
3920
  echo $ECHO_N "(cached) $ECHO_C" >&6
3456
3921
else
3457
 
  ac_cv_host_alias=$host_alias
3458
 
test -z "$ac_cv_host_alias" &&
3459
 
  ac_cv_host_alias=$ac_cv_build_alias
3460
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3461
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3462
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
3922
  if test "x$host_alias" = x; then
 
3923
  ac_cv_host=$ac_cv_build
 
3924
else
 
3925
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3926
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3927
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3463
3928
   { (exit 1); exit 1; }; }
 
3929
fi
3464
3930
 
3465
3931
fi
3466
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3467
 
echo "${ECHO_T}$ac_cv_host" >&6
 
3932
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3933
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3934
case $ac_cv_host in
 
3935
*-*-*) ;;
 
3936
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3937
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3938
   { (exit 1); exit 1; }; };;
 
3939
esac
3468
3940
host=$ac_cv_host
3469
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3470
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3471
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3472
 
 
3473
 
 
3474
 
 
3475
 
# Check whether --enable-static or --disable-static was given.
 
3941
ac_save_IFS=$IFS; IFS='-'
 
3942
set x $ac_cv_host
 
3943
shift
 
3944
host_cpu=$1
 
3945
host_vendor=$2
 
3946
shift; shift
 
3947
# Remember, the first character of IFS is used to create $*,
 
3948
# except with old shells:
 
3949
host_os=$*
 
3950
IFS=$ac_save_IFS
 
3951
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3952
 
 
3953
 
 
3954
 
 
3955
# Check whether --enable-static was given.
3476
3956
if test "${enable_static+set}" = set; then
3477
 
  enableval="$enable_static"
3478
 
  p=${PACKAGE-default}
 
3957
  enableval=$enable_static; p=${PACKAGE-default}
3479
3958
    case $enableval in
3480
3959
    yes) enable_static=yes ;;
3481
3960
    no) enable_static=no ;;
3494
3973
    esac
3495
3974
else
3496
3975
  enable_static=no
3497
 
fi;
3498
 
 
3499
 
 
3500
 
# Check whether --enable-shared or --disable-shared was given.
 
3976
fi
 
3977
 
 
3978
 
 
3979
 
 
3980
# Check whether --enable-shared was given.
3501
3981
if test "${enable_shared+set}" = set; then
3502
 
  enableval="$enable_shared"
3503
 
  p=${PACKAGE-default}
 
3982
  enableval=$enable_shared; p=${PACKAGE-default}
3504
3983
    case $enableval in
3505
3984
    yes) enable_shared=yes ;;
3506
3985
    no) enable_shared=no ;;
3519
3998
    esac
3520
3999
else
3521
4000
  enable_shared=yes
3522
 
fi;
3523
 
 
3524
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4001
fi
 
4002
 
 
4003
 
 
4004
# Check whether --enable-fast-install was given.
3525
4005
if test "${enable_fast_install+set}" = set; then
3526
 
  enableval="$enable_fast_install"
3527
 
  p=${PACKAGE-default}
 
4006
  enableval=$enable_fast_install; p=${PACKAGE-default}
3528
4007
    case $enableval in
3529
4008
    yes) enable_fast_install=yes ;;
3530
4009
    no) enable_fast_install=no ;;
3543
4022
    esac
3544
4023
else
3545
4024
  enable_fast_install=yes
3546
 
fi;
3547
 
 
3548
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3549
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4025
fi
 
4026
 
 
4027
 
 
4028
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4029
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3550
4030
if test "${lt_cv_path_SED+set}" = set; then
3551
4031
  echo $ECHO_N "(cached) $ECHO_C" >&6
3552
4032
else
3559
4039
  test -z "$as_dir" && as_dir=.
3560
4040
  for lt_ac_prog in sed gsed; do
3561
4041
    for ac_exec_ext in '' $ac_executable_extensions; do
3562
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4042
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3563
4043
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3564
4044
      fi
3565
4045
    done
3566
4046
  done
3567
4047
done
 
4048
IFS=$as_save_IFS
3568
4049
lt_ac_max=0
3569
4050
lt_ac_count=0
3570
4051
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3599
4080
fi
3600
4081
 
3601
4082
SED=$lt_cv_path_SED
3602
 
echo "$as_me:$LINENO: result: $SED" >&5
3603
 
echo "${ECHO_T}$SED" >&6
3604
 
 
3605
 
echo "$as_me:$LINENO: checking for egrep" >&5
3606
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3607
 
if test "${ac_cv_prog_egrep+set}" = set; then
3608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3609
 
else
3610
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3611
 
    then ac_cv_prog_egrep='grep -E'
3612
 
    else ac_cv_prog_egrep='egrep'
3613
 
    fi
3614
 
fi
3615
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3616
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3617
 
 EGREP=$ac_cv_prog_egrep
3618
 
 
3619
 
 
3620
 
 
3621
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4083
 
 
4084
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4085
echo "${ECHO_T}$SED" >&6; }
 
4086
 
 
4087
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4088
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4089
if test "${ac_cv_path_GREP+set}" = set; then
 
4090
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4091
else
 
4092
  # Extract the first word of "grep ggrep" to use in msg output
 
4093
if test -z "$GREP"; then
 
4094
set dummy grep ggrep; ac_prog_name=$2
 
4095
if test "${ac_cv_path_GREP+set}" = set; then
 
4096
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4097
else
 
4098
  ac_path_GREP_found=false
 
4099
# Loop through the user's path and test for each of PROGNAME-LIST
 
4100
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4101
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4102
do
 
4103
  IFS=$as_save_IFS
 
4104
  test -z "$as_dir" && as_dir=.
 
4105
  for ac_prog in grep ggrep; do
 
4106
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4107
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4108
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4109
    # Check for GNU ac_path_GREP and select it if it is found.
 
4110
  # Check for GNU $ac_path_GREP
 
4111
case `"$ac_path_GREP" --version 2>&1` in
 
4112
*GNU*)
 
4113
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4114
*)
 
4115
  ac_count=0
 
4116
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4117
  while :
 
4118
  do
 
4119
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4120
    mv "conftest.tmp" "conftest.in"
 
4121
    cp "conftest.in" "conftest.nl"
 
4122
    echo 'GREP' >> "conftest.nl"
 
4123
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4124
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4125
    ac_count=`expr $ac_count + 1`
 
4126
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4127
      # Best one so far, save it but keep looking for a better one
 
4128
      ac_cv_path_GREP="$ac_path_GREP"
 
4129
      ac_path_GREP_max=$ac_count
 
4130
    fi
 
4131
    # 10*(2^10) chars as input seems more than enough
 
4132
    test $ac_count -gt 10 && break
 
4133
  done
 
4134
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4135
esac
 
4136
 
 
4137
 
 
4138
    $ac_path_GREP_found && break 3
 
4139
  done
 
4140
done
 
4141
 
 
4142
done
 
4143
IFS=$as_save_IFS
 
4144
 
 
4145
 
 
4146
fi
 
4147
 
 
4148
GREP="$ac_cv_path_GREP"
 
4149
if test -z "$GREP"; then
 
4150
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4151
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4152
   { (exit 1); exit 1; }; }
 
4153
fi
 
4154
 
 
4155
else
 
4156
  ac_cv_path_GREP=$GREP
 
4157
fi
 
4158
 
 
4159
 
 
4160
fi
 
4161
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4162
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4163
 GREP="$ac_cv_path_GREP"
 
4164
 
 
4165
 
 
4166
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4167
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4168
if test "${ac_cv_path_EGREP+set}" = set; then
 
4169
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4170
else
 
4171
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4172
   then ac_cv_path_EGREP="$GREP -E"
 
4173
   else
 
4174
     # Extract the first word of "egrep" to use in msg output
 
4175
if test -z "$EGREP"; then
 
4176
set dummy egrep; ac_prog_name=$2
 
4177
if test "${ac_cv_path_EGREP+set}" = set; then
 
4178
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4179
else
 
4180
  ac_path_EGREP_found=false
 
4181
# Loop through the user's path and test for each of PROGNAME-LIST
 
4182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4183
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4184
do
 
4185
  IFS=$as_save_IFS
 
4186
  test -z "$as_dir" && as_dir=.
 
4187
  for ac_prog in egrep; do
 
4188
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4189
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4190
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4191
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4192
  # Check for GNU $ac_path_EGREP
 
4193
case `"$ac_path_EGREP" --version 2>&1` in
 
4194
*GNU*)
 
4195
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4196
*)
 
4197
  ac_count=0
 
4198
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4199
  while :
 
4200
  do
 
4201
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4202
    mv "conftest.tmp" "conftest.in"
 
4203
    cp "conftest.in" "conftest.nl"
 
4204
    echo 'EGREP' >> "conftest.nl"
 
4205
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4206
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4207
    ac_count=`expr $ac_count + 1`
 
4208
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4209
      # Best one so far, save it but keep looking for a better one
 
4210
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4211
      ac_path_EGREP_max=$ac_count
 
4212
    fi
 
4213
    # 10*(2^10) chars as input seems more than enough
 
4214
    test $ac_count -gt 10 && break
 
4215
  done
 
4216
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4217
esac
 
4218
 
 
4219
 
 
4220
    $ac_path_EGREP_found && break 3
 
4221
  done
 
4222
done
 
4223
 
 
4224
done
 
4225
IFS=$as_save_IFS
 
4226
 
 
4227
 
 
4228
fi
 
4229
 
 
4230
EGREP="$ac_cv_path_EGREP"
 
4231
if test -z "$EGREP"; then
 
4232
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4233
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4234
   { (exit 1); exit 1; }; }
 
4235
fi
 
4236
 
 
4237
else
 
4238
  ac_cv_path_EGREP=$EGREP
 
4239
fi
 
4240
 
 
4241
 
 
4242
   fi
 
4243
fi
 
4244
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4245
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4246
 EGREP="$ac_cv_path_EGREP"
 
4247
 
 
4248
 
 
4249
 
 
4250
# Check whether --with-gnu-ld was given.
3622
4251
if test "${with_gnu_ld+set}" = set; then
3623
 
  withval="$with_gnu_ld"
3624
 
  test "$withval" = no || with_gnu_ld=yes
 
4252
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3625
4253
else
3626
4254
  with_gnu_ld=no
3627
 
fi;
 
4255
fi
 
4256
 
3628
4257
ac_prog=ld
3629
4258
if test "$GCC" = yes; then
3630
4259
  # Check if gcc -print-prog-name=ld gives a path.
3631
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3632
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4260
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4261
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3633
4262
  case $host in
3634
4263
  *-*-mingw*)
3635
4264
    # gcc leaves a trailing carriage return which upsets mingw
3658
4287
    ;;
3659
4288
  esac
3660
4289
elif test "$with_gnu_ld" = yes; then
3661
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3662
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4290
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4291
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3663
4292
else
3664
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3665
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4293
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4294
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3666
4295
fi
3667
4296
if test "${lt_cv_path_LD+set}" = set; then
3668
4297
  echo $ECHO_N "(cached) $ECHO_C" >&6
3695
4324
 
3696
4325
LD="$lt_cv_path_LD"
3697
4326
if test -n "$LD"; then
3698
 
  echo "$as_me:$LINENO: result: $LD" >&5
3699
 
echo "${ECHO_T}$LD" >&6
 
4327
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4328
echo "${ECHO_T}$LD" >&6; }
3700
4329
else
3701
 
  echo "$as_me:$LINENO: result: no" >&5
3702
 
echo "${ECHO_T}no" >&6
 
4330
  { echo "$as_me:$LINENO: result: no" >&5
 
4331
echo "${ECHO_T}no" >&6; }
3703
4332
fi
3704
4333
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3705
4334
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3706
4335
   { (exit 1); exit 1; }; }
3707
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3708
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4336
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4337
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3709
4338
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3710
4339
  echo $ECHO_N "(cached) $ECHO_C" >&6
3711
4340
else
3719
4348
  ;;
3720
4349
esac
3721
4350
fi
3722
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3723
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4351
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4352
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3724
4353
with_gnu_ld=$lt_cv_prog_gnu_ld
3725
4354
 
3726
4355
 
3727
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3728
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4356
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4357
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3729
4358
if test "${lt_cv_ld_reload_flag+set}" = set; then
3730
4359
  echo $ECHO_N "(cached) $ECHO_C" >&6
3731
4360
else
3732
4361
  lt_cv_ld_reload_flag='-r'
3733
4362
fi
3734
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3735
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4363
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4364
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3736
4365
reload_flag=$lt_cv_ld_reload_flag
3737
4366
case $reload_flag in
3738
4367
"" | " "*) ;;
3749
4378
    ;;
3750
4379
esac
3751
4380
 
3752
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3753
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4381
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4382
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3754
4383
if test "${lt_cv_path_NM+set}" = set; then
3755
4384
  echo $ECHO_N "(cached) $ECHO_C" >&6
3756
4385
else
3798
4427
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3799
4428
fi
3800
4429
fi
3801
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3802
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4430
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4431
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3803
4432
NM="$lt_cv_path_NM"
3804
4433
 
3805
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3806
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4434
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4435
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3807
4436
LN_S=$as_ln_s
3808
4437
if test "$LN_S" = "ln -s"; then
3809
 
  echo "$as_me:$LINENO: result: yes" >&5
3810
 
echo "${ECHO_T}yes" >&6
 
4438
  { echo "$as_me:$LINENO: result: yes" >&5
 
4439
echo "${ECHO_T}yes" >&6; }
3811
4440
else
3812
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3813
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4441
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4442
echo "${ECHO_T}no, using $LN_S" >&6; }
3814
4443
fi
3815
4444
 
3816
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3817
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4445
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4446
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
3818
4447
if test "${lt_cv_deplibs_check_method+set}" = set; then
3819
4448
  echo $ECHO_N "(cached) $ECHO_C" >&6
3820
4449
else
3855
4484
 
3856
4485
mingw* | pw32*)
3857
4486
  # Base MSYS/MinGW do not provide the 'file' command needed by
3858
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3859
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3860
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4487
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4488
  # unless we find 'file', for example because we are cross-compiling.
 
4489
  if ( file / ) >/dev/null 2>&1; then
 
4490
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4491
    lt_cv_file_magic_cmd='func_win32_libid'
 
4492
  else
 
4493
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4494
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4495
  fi
3861
4496
  ;;
3862
4497
 
3863
4498
darwin* | rhapsody*)
3864
4499
  lt_cv_deplibs_check_method=pass_all
3865
4500
  ;;
3866
4501
 
3867
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4502
freebsd* | dragonfly*)
3868
4503
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3869
4504
    case $host_cpu in
3870
4505
    i*86 )
3902
4537
  esac
3903
4538
  ;;
3904
4539
 
3905
 
interix3*)
 
4540
interix[3-9]*)
3906
4541
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3907
4542
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3908
4543
  ;;
3918
4553
  ;;
3919
4554
 
3920
4555
# This must be Linux ELF.
3921
 
linux*)
 
4556
linux* | k*bsd*-gnu)
3922
4557
  lt_cv_deplibs_check_method=pass_all
3923
4558
  ;;
3924
4559
 
3952
4587
  lt_cv_deplibs_check_method=pass_all
3953
4588
  ;;
3954
4589
 
 
4590
rdos*)
 
4591
  lt_cv_deplibs_check_method=pass_all
 
4592
  ;;
 
4593
 
3955
4594
solaris*)
3956
4595
  lt_cv_deplibs_check_method=pass_all
3957
4596
  ;;
3989
4628
esac
3990
4629
 
3991
4630
fi
3992
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3993
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4631
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4632
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3994
4633
file_magic_cmd=$lt_cv_file_magic_cmd
3995
4634
deplibs_check_method=$lt_cv_deplibs_check_method
3996
4635
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4008
4647
compiler=$CC
4009
4648
 
4010
4649
 
4011
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4650
# Check whether --enable-libtool-lock was given.
4012
4651
if test "${enable_libtool_lock+set}" = set; then
4013
 
  enableval="$enable_libtool_lock"
 
4652
  enableval=$enable_libtool_lock;
 
4653
fi
4014
4654
 
4015
 
fi;
4016
4655
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4017
4656
 
4018
4657
# Some flags need to be propagated to the compiler or linker for good
4039
4678
  ;;
4040
4679
*-*-irix6*)
4041
4680
  # Find out which ABI we are using.
4042
 
  echo '#line 4042 "configure"' > conftest.$ac_ext
 
4681
  echo '#line 4681 "configure"' > conftest.$ac_ext
4043
4682
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4044
4683
  (eval $ac_compile) 2>&5
4045
4684
  ac_status=$?
4074
4713
  rm -rf conftest*
4075
4714
  ;;
4076
4715
 
4077
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
4716
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4717
s390*-*linux*|sparc*-*linux*)
4078
4718
  # Find out which ABI we are using.
4079
4719
  echo 'int i;' > conftest.$ac_ext
4080
4720
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4085
4725
    case `/usr/bin/file conftest.o` in
4086
4726
    *32-bit*)
4087
4727
      case $host in
 
4728
        x86_64-*kfreebsd*-gnu)
 
4729
          LD="${LD-ld} -m elf_i386_fbsd"
 
4730
          ;;
4088
4731
        x86_64-*linux*)
4089
4732
          LD="${LD-ld} -m elf_i386"
4090
4733
          ;;
4100
4743
      esac
4101
4744
      ;;
4102
4745
    *64-bit*)
 
4746
      libsuff=64
4103
4747
      case $host in
 
4748
        x86_64-*kfreebsd*-gnu)
 
4749
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
4750
          ;;
4104
4751
        x86_64-*linux*)
4105
4752
          LD="${LD-ld} -m elf_x86_64"
4106
4753
          ;;
4124
4771
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4125
4772
  SAVE_CFLAGS="$CFLAGS"
4126
4773
  CFLAGS="$CFLAGS -belf"
4127
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4128
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4774
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4775
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4129
4776
if test "${lt_cv_cc_needs_belf+set}" = set; then
4130
4777
  echo $ECHO_N "(cached) $ECHO_C" >&6
4131
4778
else
4151
4798
}
4152
4799
_ACEOF
4153
4800
rm -f conftest.$ac_objext conftest$ac_exeext
4154
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4155
 
  (eval $ac_link) 2>conftest.er1
 
4801
if { (ac_try="$ac_link"
 
4802
case "(($ac_try" in
 
4803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4804
  *) ac_try_echo=$ac_try;;
 
4805
esac
 
4806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4807
  (eval "$ac_link") 2>conftest.er1
4156
4808
  ac_status=$?
4157
4809
  grep -v '^ *+' conftest.er1 >conftest.err
4158
4810
  rm -f conftest.er1
4159
4811
  cat conftest.err >&5
4160
4812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161
 
  (exit $ac_status); } &&
4162
 
         { ac_try='test -z "$ac_c_werror_flag"
4163
 
                         || test ! -s conftest.err'
4164
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165
 
  (eval $ac_try) 2>&5
4166
 
  ac_status=$?
4167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168
 
  (exit $ac_status); }; } &&
4169
 
         { ac_try='test -s conftest$ac_exeext'
4170
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171
 
  (eval $ac_try) 2>&5
4172
 
  ac_status=$?
4173
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174
 
  (exit $ac_status); }; }; then
 
4813
  (exit $ac_status); } && {
 
4814
         test -z "$ac_c_werror_flag" ||
 
4815
         test ! -s conftest.err
 
4816
       } && test -s conftest$ac_exeext &&
 
4817
       $as_test_x conftest$ac_exeext; then
4175
4818
  lt_cv_cc_needs_belf=yes
4176
4819
else
4177
4820
  echo "$as_me: failed program was:" >&5
4178
4821
sed 's/^/| /' conftest.$ac_ext >&5
4179
4822
 
4180
 
lt_cv_cc_needs_belf=no
 
4823
        lt_cv_cc_needs_belf=no
4181
4824
fi
4182
 
rm -f conftest.err conftest.$ac_objext \
 
4825
 
 
4826
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4183
4827
      conftest$ac_exeext conftest.$ac_ext
4184
4828
     ac_ext=c
4185
4829
ac_cpp='$CPP $CPPFLAGS'
4188
4832
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4189
4833
 
4190
4834
fi
4191
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4192
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4835
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4836
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4193
4837
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4194
4838
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4195
4839
    CFLAGS="$SAVE_CFLAGS"
4222
4866
 
4223
4867
 
4224
4868
 
4225
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4226
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4869
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4870
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4227
4871
if test "${ac_cv_header_stdc+set}" = set; then
4228
4872
  echo $ECHO_N "(cached) $ECHO_C" >&6
4229
4873
else
4247
4891
}
4248
4892
_ACEOF
4249
4893
rm -f conftest.$ac_objext
4250
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4251
 
  (eval $ac_compile) 2>conftest.er1
 
4894
if { (ac_try="$ac_compile"
 
4895
case "(($ac_try" in
 
4896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4897
  *) ac_try_echo=$ac_try;;
 
4898
esac
 
4899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4900
  (eval "$ac_compile") 2>conftest.er1
4252
4901
  ac_status=$?
4253
4902
  grep -v '^ *+' conftest.er1 >conftest.err
4254
4903
  rm -f conftest.er1
4255
4904
  cat conftest.err >&5
4256
4905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257
 
  (exit $ac_status); } &&
4258
 
         { ac_try='test -z "$ac_c_werror_flag"
4259
 
                         || test ! -s conftest.err'
4260
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261
 
  (eval $ac_try) 2>&5
4262
 
  ac_status=$?
4263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264
 
  (exit $ac_status); }; } &&
4265
 
         { ac_try='test -s conftest.$ac_objext'
4266
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267
 
  (eval $ac_try) 2>&5
4268
 
  ac_status=$?
4269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270
 
  (exit $ac_status); }; }; then
 
4906
  (exit $ac_status); } && {
 
4907
         test -z "$ac_c_werror_flag" ||
 
4908
         test ! -s conftest.err
 
4909
       } && test -s conftest.$ac_objext; then
4271
4910
  ac_cv_header_stdc=yes
4272
4911
else
4273
4912
  echo "$as_me: failed program was:" >&5
4274
4913
sed 's/^/| /' conftest.$ac_ext >&5
4275
4914
 
4276
 
ac_cv_header_stdc=no
 
4915
        ac_cv_header_stdc=no
4277
4916
fi
4278
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4917
 
 
4918
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279
4919
 
4280
4920
if test $ac_cv_header_stdc = yes; then
4281
4921
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4331
4971
cat >>conftest.$ac_ext <<_ACEOF
4332
4972
/* end confdefs.h.  */
4333
4973
#include <ctype.h>
 
4974
#include <stdlib.h>
4334
4975
#if ((' ' & 0x0FF) == 0x020)
4335
4976
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4336
4977
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4350
4991
  for (i = 0; i < 256; i++)
4351
4992
    if (XOR (islower (i), ISLOWER (i))
4352
4993
        || toupper (i) != TOUPPER (i))
4353
 
      exit(2);
4354
 
  exit (0);
 
4994
      return 2;
 
4995
  return 0;
4355
4996
}
4356
4997
_ACEOF
4357
4998
rm -f conftest$ac_exeext
4358
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4359
 
  (eval $ac_link) 2>&5
 
4999
if { (ac_try="$ac_link"
 
5000
case "(($ac_try" in
 
5001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5002
  *) ac_try_echo=$ac_try;;
 
5003
esac
 
5004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5005
  (eval "$ac_link") 2>&5
4360
5006
  ac_status=$?
4361
5007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362
5008
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4364
 
  (eval $ac_try) 2>&5
 
5009
  { (case "(($ac_try" in
 
5010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5011
  *) ac_try_echo=$ac_try;;
 
5012
esac
 
5013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5014
  (eval "$ac_try") 2>&5
4365
5015
  ac_status=$?
4366
5016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367
5017
  (exit $ac_status); }; }; then
4374
5024
( exit $ac_status )
4375
5025
ac_cv_header_stdc=no
4376
5026
fi
4377
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4378
 
fi
4379
 
fi
4380
 
fi
4381
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4382
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5027
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5028
fi
 
5029
 
 
5030
 
 
5031
fi
 
5032
fi
 
5033
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5034
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4383
5035
if test $ac_cv_header_stdc = yes; then
4384
5036
 
4385
5037
cat >>confdefs.h <<\_ACEOF
4402
5054
                  inttypes.h stdint.h unistd.h
4403
5055
do
4404
5056
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4405
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4406
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4407
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5057
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5058
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5059
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4408
5060
  echo $ECHO_N "(cached) $ECHO_C" >&6
4409
5061
else
4410
5062
  cat >conftest.$ac_ext <<_ACEOF
4418
5070
#include <$ac_header>
4419
5071
_ACEOF
4420
5072
rm -f conftest.$ac_objext
4421
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4422
 
  (eval $ac_compile) 2>conftest.er1
 
5073
if { (ac_try="$ac_compile"
 
5074
case "(($ac_try" in
 
5075
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5076
  *) ac_try_echo=$ac_try;;
 
5077
esac
 
5078
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5079
  (eval "$ac_compile") 2>conftest.er1
4423
5080
  ac_status=$?
4424
5081
  grep -v '^ *+' conftest.er1 >conftest.err
4425
5082
  rm -f conftest.er1
4426
5083
  cat conftest.err >&5
4427
5084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428
 
  (exit $ac_status); } &&
4429
 
         { ac_try='test -z "$ac_c_werror_flag"
4430
 
                         || test ! -s conftest.err'
4431
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432
 
  (eval $ac_try) 2>&5
4433
 
  ac_status=$?
4434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435
 
  (exit $ac_status); }; } &&
4436
 
         { ac_try='test -s conftest.$ac_objext'
4437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438
 
  (eval $ac_try) 2>&5
4439
 
  ac_status=$?
4440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441
 
  (exit $ac_status); }; }; then
 
5085
  (exit $ac_status); } && {
 
5086
         test -z "$ac_c_werror_flag" ||
 
5087
         test ! -s conftest.err
 
5088
       } && test -s conftest.$ac_objext; then
4442
5089
  eval "$as_ac_Header=yes"
4443
5090
else
4444
5091
  echo "$as_me: failed program was:" >&5
4445
5092
sed 's/^/| /' conftest.$ac_ext >&5
4446
5093
 
4447
 
eval "$as_ac_Header=no"
4448
 
fi
4449
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4450
 
fi
4451
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4452
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5094
        eval "$as_ac_Header=no"
 
5095
fi
 
5096
 
 
5097
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5098
fi
 
5099
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5100
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5101
echo "${ECHO_T}$ac_res" >&6; }
4453
5102
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4454
5103
  cat >>confdefs.h <<_ACEOF
4455
5104
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4464
5113
for ac_header in dlfcn.h
4465
5114
do
4466
5115
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4467
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4468
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4469
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4470
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5116
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5117
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5118
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5119
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4471
5120
  echo $ECHO_N "(cached) $ECHO_C" >&6
4472
5121
fi
4473
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4474
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5122
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5123
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5124
echo "${ECHO_T}$ac_res" >&6; }
4475
5125
else
4476
5126
  # Is the header compilable?
4477
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4478
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5127
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5128
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4479
5129
cat >conftest.$ac_ext <<_ACEOF
4480
5130
/* confdefs.h.  */
4481
5131
_ACEOF
4486
5136
#include <$ac_header>
4487
5137
_ACEOF
4488
5138
rm -f conftest.$ac_objext
4489
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4490
 
  (eval $ac_compile) 2>conftest.er1
 
5139
if { (ac_try="$ac_compile"
 
5140
case "(($ac_try" in
 
5141
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5142
  *) ac_try_echo=$ac_try;;
 
5143
esac
 
5144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5145
  (eval "$ac_compile") 2>conftest.er1
4491
5146
  ac_status=$?
4492
5147
  grep -v '^ *+' conftest.er1 >conftest.err
4493
5148
  rm -f conftest.er1
4494
5149
  cat conftest.err >&5
4495
5150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496
 
  (exit $ac_status); } &&
4497
 
         { ac_try='test -z "$ac_c_werror_flag"
4498
 
                         || test ! -s conftest.err'
4499
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500
 
  (eval $ac_try) 2>&5
4501
 
  ac_status=$?
4502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503
 
  (exit $ac_status); }; } &&
4504
 
         { ac_try='test -s conftest.$ac_objext'
4505
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506
 
  (eval $ac_try) 2>&5
4507
 
  ac_status=$?
4508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509
 
  (exit $ac_status); }; }; then
 
5151
  (exit $ac_status); } && {
 
5152
         test -z "$ac_c_werror_flag" ||
 
5153
         test ! -s conftest.err
 
5154
       } && test -s conftest.$ac_objext; then
4510
5155
  ac_header_compiler=yes
4511
5156
else
4512
5157
  echo "$as_me: failed program was:" >&5
4513
5158
sed 's/^/| /' conftest.$ac_ext >&5
4514
5159
 
4515
 
ac_header_compiler=no
 
5160
        ac_header_compiler=no
4516
5161
fi
4517
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4518
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4519
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5162
 
 
5163
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5164
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5165
echo "${ECHO_T}$ac_header_compiler" >&6; }
4520
5166
 
4521
5167
# Is the header present?
4522
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4523
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5168
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5169
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4524
5170
cat >conftest.$ac_ext <<_ACEOF
4525
5171
/* confdefs.h.  */
4526
5172
_ACEOF
4529
5175
/* end confdefs.h.  */
4530
5176
#include <$ac_header>
4531
5177
_ACEOF
4532
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4533
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5178
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5179
case "(($ac_try" in
 
5180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5181
  *) ac_try_echo=$ac_try;;
 
5182
esac
 
5183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5184
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4534
5185
  ac_status=$?
4535
5186
  grep -v '^ *+' conftest.er1 >conftest.err
4536
5187
  rm -f conftest.er1
4537
5188
  cat conftest.err >&5
4538
5189
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539
 
  (exit $ac_status); } >/dev/null; then
4540
 
  if test -s conftest.err; then
4541
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4542
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4543
 
  else
4544
 
    ac_cpp_err=
4545
 
  fi
4546
 
else
4547
 
  ac_cpp_err=yes
4548
 
fi
4549
 
if test -z "$ac_cpp_err"; then
 
5190
  (exit $ac_status); } >/dev/null && {
 
5191
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5192
         test ! -s conftest.err
 
5193
       }; then
4550
5194
  ac_header_preproc=yes
4551
5195
else
4552
5196
  echo "$as_me: failed program was:" >&5
4554
5198
 
4555
5199
  ac_header_preproc=no
4556
5200
fi
 
5201
 
4557
5202
rm -f conftest.err conftest.$ac_ext
4558
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4559
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5203
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5204
echo "${ECHO_T}$ac_header_preproc" >&6; }
4560
5205
 
4561
5206
# So?  What about this header?
4562
5207
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4580
5225
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4581
5226
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4582
5227
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4583
 
    (
4584
 
      cat <<\_ASBOX
4585
 
## ------------------------------------------ ##
4586
 
## Report this to the AC_PACKAGE_NAME lists.  ##
4587
 
## ------------------------------------------ ##
4588
 
_ASBOX
4589
 
    ) |
4590
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5228
 
4591
5229
    ;;
4592
5230
esac
4593
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4594
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4595
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5231
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5232
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5233
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4596
5234
  echo $ECHO_N "(cached) $ECHO_C" >&6
4597
5235
else
4598
5236
  eval "$as_ac_Header=\$ac_header_preproc"
4599
5237
fi
4600
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4601
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5238
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5239
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5240
echo "${ECHO_T}$ac_res" >&6; }
4602
5241
 
4603
5242
fi
4604
5243
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4610
5249
 
4611
5250
done
4612
5251
 
4613
 
ac_ext=cc
 
5252
ac_ext=cpp
4614
5253
ac_cpp='$CXXCPP $CPPFLAGS'
4615
5254
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4616
5255
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4617
5256
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4618
 
if test -n "$ac_tool_prefix"; then
4619
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5257
if test -z "$CXX"; then
 
5258
  if test -n "$CCC"; then
 
5259
    CXX=$CCC
 
5260
  else
 
5261
    if test -n "$ac_tool_prefix"; then
 
5262
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4620
5263
  do
4621
5264
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4622
5265
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4623
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4624
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5266
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5267
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4625
5268
if test "${ac_cv_prog_CXX+set}" = set; then
4626
5269
  echo $ECHO_N "(cached) $ECHO_C" >&6
4627
5270
else
4634
5277
  IFS=$as_save_IFS
4635
5278
  test -z "$as_dir" && as_dir=.
4636
5279
  for ac_exec_ext in '' $ac_executable_extensions; do
4637
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4638
5281
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4639
5282
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4640
5283
    break 2
4641
5284
  fi
4642
5285
done
4643
5286
done
 
5287
IFS=$as_save_IFS
4644
5288
 
4645
5289
fi
4646
5290
fi
4647
5291
CXX=$ac_cv_prog_CXX
4648
5292
if test -n "$CXX"; then
4649
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4650
 
echo "${ECHO_T}$CXX" >&6
 
5293
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5294
echo "${ECHO_T}$CXX" >&6; }
4651
5295
else
4652
 
  echo "$as_me:$LINENO: result: no" >&5
4653
 
echo "${ECHO_T}no" >&6
 
5296
  { echo "$as_me:$LINENO: result: no" >&5
 
5297
echo "${ECHO_T}no" >&6; }
4654
5298
fi
4655
5299
 
 
5300
 
4656
5301
    test -n "$CXX" && break
4657
5302
  done
4658
5303
fi
4659
5304
if test -z "$CXX"; then
4660
5305
  ac_ct_CXX=$CXX
4661
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5306
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4662
5307
do
4663
5308
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4664
5309
set dummy $ac_prog; ac_word=$2
4665
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4666
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5310
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4667
5312
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4668
5313
  echo $ECHO_N "(cached) $ECHO_C" >&6
4669
5314
else
4676
5321
  IFS=$as_save_IFS
4677
5322
  test -z "$as_dir" && as_dir=.
4678
5323
  for ac_exec_ext in '' $ac_executable_extensions; do
4679
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5324
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4680
5325
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4681
5326
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4682
5327
    break 2
4683
5328
  fi
4684
5329
done
4685
5330
done
 
5331
IFS=$as_save_IFS
4686
5332
 
4687
5333
fi
4688
5334
fi
4689
5335
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4690
5336
if test -n "$ac_ct_CXX"; then
4691
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4692
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5337
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5338
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4693
5339
else
4694
 
  echo "$as_me:$LINENO: result: no" >&5
4695
 
echo "${ECHO_T}no" >&6
 
5340
  { echo "$as_me:$LINENO: result: no" >&5
 
5341
echo "${ECHO_T}no" >&6; }
4696
5342
fi
4697
5343
 
 
5344
 
4698
5345
  test -n "$ac_ct_CXX" && break
4699
5346
done
4700
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4701
 
 
4702
 
  CXX=$ac_ct_CXX
4703
 
fi
4704
 
 
4705
 
 
 
5347
 
 
5348
  if test "x$ac_ct_CXX" = x; then
 
5349
    CXX="g++"
 
5350
  else
 
5351
    case $cross_compiling:$ac_tool_warned in
 
5352
yes:)
 
5353
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5354
whose name does not start with the host triplet.  If you think this
 
5355
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5356
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5357
whose name does not start with the host triplet.  If you think this
 
5358
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5359
ac_tool_warned=yes ;;
 
5360
esac
 
5361
    CXX=$ac_ct_CXX
 
5362
  fi
 
5363
fi
 
5364
 
 
5365
  fi
 
5366
fi
4706
5367
# Provide some information about the compiler.
4707
 
echo "$as_me:$LINENO:" \
4708
 
     "checking for C++ compiler version" >&5
 
5368
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4709
5369
ac_compiler=`set X $ac_compile; echo $2`
4710
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4711
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4712
 
  ac_status=$?
4713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714
 
  (exit $ac_status); }
4715
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4716
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4717
 
  ac_status=$?
4718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719
 
  (exit $ac_status); }
4720
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4721
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5370
{ (ac_try="$ac_compiler --version >&5"
 
5371
case "(($ac_try" in
 
5372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5373
  *) ac_try_echo=$ac_try;;
 
5374
esac
 
5375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5376
  (eval "$ac_compiler --version >&5") 2>&5
 
5377
  ac_status=$?
 
5378
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5379
  (exit $ac_status); }
 
5380
{ (ac_try="$ac_compiler -v >&5"
 
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_compiler -v >&5") 2>&5
 
5387
  ac_status=$?
 
5388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5389
  (exit $ac_status); }
 
5390
{ (ac_try="$ac_compiler -V >&5"
 
5391
case "(($ac_try" in
 
5392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5393
  *) ac_try_echo=$ac_try;;
 
5394
esac
 
5395
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5396
  (eval "$ac_compiler -V >&5") 2>&5
4722
5397
  ac_status=$?
4723
5398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724
5399
  (exit $ac_status); }
4725
5400
 
4726
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4727
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5401
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5402
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4728
5403
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4729
5404
  echo $ECHO_N "(cached) $ECHO_C" >&6
4730
5405
else
4747
5422
}
4748
5423
_ACEOF
4749
5424
rm -f conftest.$ac_objext
4750
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4751
 
  (eval $ac_compile) 2>conftest.er1
 
5425
if { (ac_try="$ac_compile"
 
5426
case "(($ac_try" in
 
5427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5428
  *) ac_try_echo=$ac_try;;
 
5429
esac
 
5430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5431
  (eval "$ac_compile") 2>conftest.er1
4752
5432
  ac_status=$?
4753
5433
  grep -v '^ *+' conftest.er1 >conftest.err
4754
5434
  rm -f conftest.er1
4755
5435
  cat conftest.err >&5
4756
5436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757
 
  (exit $ac_status); } &&
4758
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4759
 
                         || test ! -s conftest.err'
4760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761
 
  (eval $ac_try) 2>&5
4762
 
  ac_status=$?
4763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764
 
  (exit $ac_status); }; } &&
4765
 
         { ac_try='test -s conftest.$ac_objext'
4766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767
 
  (eval $ac_try) 2>&5
4768
 
  ac_status=$?
4769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770
 
  (exit $ac_status); }; }; then
 
5437
  (exit $ac_status); } && {
 
5438
         test -z "$ac_cxx_werror_flag" ||
 
5439
         test ! -s conftest.err
 
5440
       } && test -s conftest.$ac_objext; then
4771
5441
  ac_compiler_gnu=yes
4772
5442
else
4773
5443
  echo "$as_me: failed program was:" >&5
4774
5444
sed 's/^/| /' conftest.$ac_ext >&5
4775
5445
 
4776
 
ac_compiler_gnu=no
 
5446
        ac_compiler_gnu=no
4777
5447
fi
4778
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5448
 
 
5449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779
5450
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4780
5451
 
4781
5452
fi
4782
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4783
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5453
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5454
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4784
5455
GXX=`test $ac_compiler_gnu = yes && echo yes`
4785
5456
ac_test_CXXFLAGS=${CXXFLAGS+set}
4786
5457
ac_save_CXXFLAGS=$CXXFLAGS
4787
 
CXXFLAGS="-g"
4788
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4789
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5458
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5459
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4790
5460
if test "${ac_cv_prog_cxx_g+set}" = set; then
4791
5461
  echo $ECHO_N "(cached) $ECHO_C" >&6
4792
5462
else
4793
 
  cat >conftest.$ac_ext <<_ACEOF
4794
 
/* confdefs.h.  */
4795
 
_ACEOF
4796
 
cat confdefs.h >>conftest.$ac_ext
4797
 
cat >>conftest.$ac_ext <<_ACEOF
4798
 
/* end confdefs.h.  */
4799
 
 
4800
 
int
4801
 
main ()
4802
 
{
4803
 
 
4804
 
  ;
4805
 
  return 0;
4806
 
}
4807
 
_ACEOF
4808
 
rm -f conftest.$ac_objext
4809
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810
 
  (eval $ac_compile) 2>conftest.er1
4811
 
  ac_status=$?
4812
 
  grep -v '^ *+' conftest.er1 >conftest.err
4813
 
  rm -f conftest.er1
4814
 
  cat conftest.err >&5
4815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816
 
  (exit $ac_status); } &&
4817
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4818
 
                         || test ! -s conftest.err'
4819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820
 
  (eval $ac_try) 2>&5
4821
 
  ac_status=$?
4822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823
 
  (exit $ac_status); }; } &&
4824
 
         { ac_try='test -s conftest.$ac_objext'
4825
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826
 
  (eval $ac_try) 2>&5
4827
 
  ac_status=$?
4828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829
 
  (exit $ac_status); }; }; then
4830
 
  ac_cv_prog_cxx_g=yes
4831
 
else
4832
 
  echo "$as_me: failed program was:" >&5
4833
 
sed 's/^/| /' conftest.$ac_ext >&5
4834
 
 
4835
 
ac_cv_prog_cxx_g=no
4836
 
fi
4837
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4838
 
fi
4839
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4840
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5463
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5464
   ac_cxx_werror_flag=yes
 
5465
   ac_cv_prog_cxx_g=no
 
5466
   CXXFLAGS="-g"
 
5467
   cat >conftest.$ac_ext <<_ACEOF
 
5468
/* confdefs.h.  */
 
5469
_ACEOF
 
5470
cat confdefs.h >>conftest.$ac_ext
 
5471
cat >>conftest.$ac_ext <<_ACEOF
 
5472
/* end confdefs.h.  */
 
5473
 
 
5474
int
 
5475
main ()
 
5476
{
 
5477
 
 
5478
  ;
 
5479
  return 0;
 
5480
}
 
5481
_ACEOF
 
5482
rm -f conftest.$ac_objext
 
5483
if { (ac_try="$ac_compile"
 
5484
case "(($ac_try" in
 
5485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5486
  *) ac_try_echo=$ac_try;;
 
5487
esac
 
5488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5489
  (eval "$ac_compile") 2>conftest.er1
 
5490
  ac_status=$?
 
5491
  grep -v '^ *+' conftest.er1 >conftest.err
 
5492
  rm -f conftest.er1
 
5493
  cat conftest.err >&5
 
5494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5495
  (exit $ac_status); } && {
 
5496
         test -z "$ac_cxx_werror_flag" ||
 
5497
         test ! -s conftest.err
 
5498
       } && test -s conftest.$ac_objext; then
 
5499
  ac_cv_prog_cxx_g=yes
 
5500
else
 
5501
  echo "$as_me: failed program was:" >&5
 
5502
sed 's/^/| /' conftest.$ac_ext >&5
 
5503
 
 
5504
        CXXFLAGS=""
 
5505
      cat >conftest.$ac_ext <<_ACEOF
 
5506
/* confdefs.h.  */
 
5507
_ACEOF
 
5508
cat confdefs.h >>conftest.$ac_ext
 
5509
cat >>conftest.$ac_ext <<_ACEOF
 
5510
/* end confdefs.h.  */
 
5511
 
 
5512
int
 
5513
main ()
 
5514
{
 
5515
 
 
5516
  ;
 
5517
  return 0;
 
5518
}
 
5519
_ACEOF
 
5520
rm -f conftest.$ac_objext
 
5521
if { (ac_try="$ac_compile"
 
5522
case "(($ac_try" in
 
5523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5524
  *) ac_try_echo=$ac_try;;
 
5525
esac
 
5526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5527
  (eval "$ac_compile") 2>conftest.er1
 
5528
  ac_status=$?
 
5529
  grep -v '^ *+' conftest.er1 >conftest.err
 
5530
  rm -f conftest.er1
 
5531
  cat conftest.err >&5
 
5532
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5533
  (exit $ac_status); } && {
 
5534
         test -z "$ac_cxx_werror_flag" ||
 
5535
         test ! -s conftest.err
 
5536
       } && test -s conftest.$ac_objext; then
 
5537
  :
 
5538
else
 
5539
  echo "$as_me: failed program was:" >&5
 
5540
sed 's/^/| /' conftest.$ac_ext >&5
 
5541
 
 
5542
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5543
         CXXFLAGS="-g"
 
5544
         cat >conftest.$ac_ext <<_ACEOF
 
5545
/* confdefs.h.  */
 
5546
_ACEOF
 
5547
cat confdefs.h >>conftest.$ac_ext
 
5548
cat >>conftest.$ac_ext <<_ACEOF
 
5549
/* end confdefs.h.  */
 
5550
 
 
5551
int
 
5552
main ()
 
5553
{
 
5554
 
 
5555
  ;
 
5556
  return 0;
 
5557
}
 
5558
_ACEOF
 
5559
rm -f conftest.$ac_objext
 
5560
if { (ac_try="$ac_compile"
 
5561
case "(($ac_try" in
 
5562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5563
  *) ac_try_echo=$ac_try;;
 
5564
esac
 
5565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5566
  (eval "$ac_compile") 2>conftest.er1
 
5567
  ac_status=$?
 
5568
  grep -v '^ *+' conftest.er1 >conftest.err
 
5569
  rm -f conftest.er1
 
5570
  cat conftest.err >&5
 
5571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5572
  (exit $ac_status); } && {
 
5573
         test -z "$ac_cxx_werror_flag" ||
 
5574
         test ! -s conftest.err
 
5575
       } && test -s conftest.$ac_objext; then
 
5576
  ac_cv_prog_cxx_g=yes
 
5577
else
 
5578
  echo "$as_me: failed program was:" >&5
 
5579
sed 's/^/| /' conftest.$ac_ext >&5
 
5580
 
 
5581
 
 
5582
fi
 
5583
 
 
5584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5585
fi
 
5586
 
 
5587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5588
fi
 
5589
 
 
5590
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5591
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5592
fi
 
5593
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5594
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4841
5595
if test "$ac_test_CXXFLAGS" = set; then
4842
5596
  CXXFLAGS=$ac_save_CXXFLAGS
4843
5597
elif test $ac_cv_prog_cxx_g = yes; then
4853
5607
    CXXFLAGS=
4854
5608
  fi
4855
5609
fi
4856
 
for ac_declaration in \
4857
 
   '' \
4858
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4859
 
   'extern "C" void std::exit (int); using std::exit;' \
4860
 
   'extern "C" void exit (int) throw ();' \
4861
 
   'extern "C" void exit (int);' \
4862
 
   'void exit (int);'
4863
 
do
4864
 
  cat >conftest.$ac_ext <<_ACEOF
4865
 
/* confdefs.h.  */
4866
 
_ACEOF
4867
 
cat confdefs.h >>conftest.$ac_ext
4868
 
cat >>conftest.$ac_ext <<_ACEOF
4869
 
/* end confdefs.h.  */
4870
 
$ac_declaration
4871
 
#include <stdlib.h>
4872
 
int
4873
 
main ()
4874
 
{
4875
 
exit (42);
4876
 
  ;
4877
 
  return 0;
4878
 
}
4879
 
_ACEOF
4880
 
rm -f conftest.$ac_objext
4881
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4882
 
  (eval $ac_compile) 2>conftest.er1
4883
 
  ac_status=$?
4884
 
  grep -v '^ *+' conftest.er1 >conftest.err
4885
 
  rm -f conftest.er1
4886
 
  cat conftest.err >&5
4887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888
 
  (exit $ac_status); } &&
4889
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4890
 
                         || test ! -s conftest.err'
4891
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892
 
  (eval $ac_try) 2>&5
4893
 
  ac_status=$?
4894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895
 
  (exit $ac_status); }; } &&
4896
 
         { ac_try='test -s conftest.$ac_objext'
4897
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898
 
  (eval $ac_try) 2>&5
4899
 
  ac_status=$?
4900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901
 
  (exit $ac_status); }; }; then
4902
 
  :
4903
 
else
4904
 
  echo "$as_me: failed program was:" >&5
4905
 
sed 's/^/| /' conftest.$ac_ext >&5
4906
 
 
4907
 
continue
4908
 
fi
4909
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4910
 
  cat >conftest.$ac_ext <<_ACEOF
4911
 
/* confdefs.h.  */
4912
 
_ACEOF
4913
 
cat confdefs.h >>conftest.$ac_ext
4914
 
cat >>conftest.$ac_ext <<_ACEOF
4915
 
/* end confdefs.h.  */
4916
 
$ac_declaration
4917
 
int
4918
 
main ()
4919
 
{
4920
 
exit (42);
4921
 
  ;
4922
 
  return 0;
4923
 
}
4924
 
_ACEOF
4925
 
rm -f conftest.$ac_objext
4926
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4927
 
  (eval $ac_compile) 2>conftest.er1
4928
 
  ac_status=$?
4929
 
  grep -v '^ *+' conftest.er1 >conftest.err
4930
 
  rm -f conftest.er1
4931
 
  cat conftest.err >&5
4932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933
 
  (exit $ac_status); } &&
4934
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4935
 
                         || test ! -s conftest.err'
4936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937
 
  (eval $ac_try) 2>&5
4938
 
  ac_status=$?
4939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940
 
  (exit $ac_status); }; } &&
4941
 
         { ac_try='test -s conftest.$ac_objext'
4942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943
 
  (eval $ac_try) 2>&5
4944
 
  ac_status=$?
4945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946
 
  (exit $ac_status); }; }; then
4947
 
  break
4948
 
else
4949
 
  echo "$as_me: failed program was:" >&5
4950
 
sed 's/^/| /' conftest.$ac_ext >&5
4951
 
 
4952
 
fi
4953
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4954
 
done
4955
 
rm -f conftest*
4956
 
if test -n "$ac_declaration"; then
4957
 
  echo '#ifdef __cplusplus' >>confdefs.h
4958
 
  echo $ac_declaration      >>confdefs.h
4959
 
  echo '#endif'             >>confdefs.h
4960
 
fi
4961
 
 
4962
 
ac_ext=cc
 
5610
ac_ext=cpp
4963
5611
ac_cpp='$CXXCPP $CPPFLAGS'
4964
5612
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965
5613
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967
5615
 
4968
5616
depcc="$CXX"  am_compiler_list=
4969
5617
 
4970
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4971
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5618
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5619
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4972
5620
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4973
5621
  echo $ECHO_N "(cached) $ECHO_C" >&6
4974
5622
else
5032
5680
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5033
5681
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5034
5682
         >/dev/null 2>conftest.err &&
 
5683
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5035
5684
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5036
5685
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5037
5686
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5057
5706
fi
5058
5707
 
5059
5708
fi
5060
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5061
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5709
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5710
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5062
5711
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5063
5712
 
5064
 
 
5065
 
 
5066
 
if
 
5713
 if
5067
5714
  test "x$enable_dependency_tracking" != xno \
5068
5715
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5069
5716
  am__fastdepCXX_TRUE=
5079
5726
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5080
5727
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5081
5728
    (test "X$CXX" != "Xg++"))) ; then
5082
 
  ac_ext=cc
 
5729
  ac_ext=cpp
5083
5730
ac_cpp='$CXXCPP $CPPFLAGS'
5084
5731
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085
5732
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086
5733
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5087
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5088
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5734
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5735
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5089
5736
if test -z "$CXXCPP"; then
5090
5737
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5091
5738
  echo $ECHO_N "(cached) $ECHO_C" >&6
5115
5762
#endif
5116
5763
                     Syntax error
5117
5764
_ACEOF
5118
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5765
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5766
case "(($ac_try" in
 
5767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5768
  *) ac_try_echo=$ac_try;;
 
5769
esac
 
5770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5771
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5120
5772
  ac_status=$?
5121
5773
  grep -v '^ *+' conftest.er1 >conftest.err
5122
5774
  rm -f conftest.er1
5123
5775
  cat conftest.err >&5
5124
5776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125
 
  (exit $ac_status); } >/dev/null; then
5126
 
  if test -s conftest.err; then
5127
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5128
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5129
 
  else
5130
 
    ac_cpp_err=
5131
 
  fi
5132
 
else
5133
 
  ac_cpp_err=yes
5134
 
fi
5135
 
if test -z "$ac_cpp_err"; then
 
5777
  (exit $ac_status); } >/dev/null && {
 
5778
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5779
         test ! -s conftest.err
 
5780
       }; then
5136
5781
  :
5137
5782
else
5138
5783
  echo "$as_me: failed program was:" >&5
5141
5786
  # Broken: fails on valid input.
5142
5787
continue
5143
5788
fi
 
5789
 
5144
5790
rm -f conftest.err conftest.$ac_ext
5145
5791
 
5146
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5792
  # OK, works on sane cases.  Now check whether nonexistent headers
5147
5793
  # can be detected and how.
5148
5794
  cat >conftest.$ac_ext <<_ACEOF
5149
5795
/* confdefs.h.  */
5153
5799
/* end confdefs.h.  */
5154
5800
#include <ac_nonexistent.h>
5155
5801
_ACEOF
5156
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5157
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5802
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5803
case "(($ac_try" in
 
5804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5805
  *) ac_try_echo=$ac_try;;
 
5806
esac
 
5807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5808
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5158
5809
  ac_status=$?
5159
5810
  grep -v '^ *+' conftest.er1 >conftest.err
5160
5811
  rm -f conftest.er1
5161
5812
  cat conftest.err >&5
5162
5813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163
 
  (exit $ac_status); } >/dev/null; then
5164
 
  if test -s conftest.err; then
5165
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5166
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5167
 
  else
5168
 
    ac_cpp_err=
5169
 
  fi
5170
 
else
5171
 
  ac_cpp_err=yes
5172
 
fi
5173
 
if test -z "$ac_cpp_err"; then
 
5814
  (exit $ac_status); } >/dev/null && {
 
5815
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5816
         test ! -s conftest.err
 
5817
       }; then
5174
5818
  # Broken: success on invalid input.
5175
5819
continue
5176
5820
else
5181
5825
ac_preproc_ok=:
5182
5826
break
5183
5827
fi
 
5828
 
5184
5829
rm -f conftest.err conftest.$ac_ext
5185
5830
 
5186
5831
done
5198
5843
else
5199
5844
  ac_cv_prog_CXXCPP=$CXXCPP
5200
5845
fi
5201
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5202
 
echo "${ECHO_T}$CXXCPP" >&6
 
5846
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5847
echo "${ECHO_T}$CXXCPP" >&6; }
5203
5848
ac_preproc_ok=false
5204
5849
for ac_cxx_preproc_warn_flag in '' yes
5205
5850
do
5222
5867
#endif
5223
5868
                     Syntax error
5224
5869
_ACEOF
5225
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5870
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5871
case "(($ac_try" in
 
5872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5873
  *) ac_try_echo=$ac_try;;
 
5874
esac
 
5875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5876
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5227
5877
  ac_status=$?
5228
5878
  grep -v '^ *+' conftest.er1 >conftest.err
5229
5879
  rm -f conftest.er1
5230
5880
  cat conftest.err >&5
5231
5881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232
 
  (exit $ac_status); } >/dev/null; then
5233
 
  if test -s conftest.err; then
5234
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5235
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5236
 
  else
5237
 
    ac_cpp_err=
5238
 
  fi
5239
 
else
5240
 
  ac_cpp_err=yes
5241
 
fi
5242
 
if test -z "$ac_cpp_err"; then
 
5882
  (exit $ac_status); } >/dev/null && {
 
5883
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5884
         test ! -s conftest.err
 
5885
       }; then
5243
5886
  :
5244
5887
else
5245
5888
  echo "$as_me: failed program was:" >&5
5248
5891
  # Broken: fails on valid input.
5249
5892
continue
5250
5893
fi
 
5894
 
5251
5895
rm -f conftest.err conftest.$ac_ext
5252
5896
 
5253
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5897
  # OK, works on sane cases.  Now check whether nonexistent headers
5254
5898
  # can be detected and how.
5255
5899
  cat >conftest.$ac_ext <<_ACEOF
5256
5900
/* confdefs.h.  */
5260
5904
/* end confdefs.h.  */
5261
5905
#include <ac_nonexistent.h>
5262
5906
_ACEOF
5263
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5264
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5907
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5908
case "(($ac_try" in
 
5909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5910
  *) ac_try_echo=$ac_try;;
 
5911
esac
 
5912
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5913
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5265
5914
  ac_status=$?
5266
5915
  grep -v '^ *+' conftest.er1 >conftest.err
5267
5916
  rm -f conftest.er1
5268
5917
  cat conftest.err >&5
5269
5918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270
 
  (exit $ac_status); } >/dev/null; then
5271
 
  if test -s conftest.err; then
5272
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5273
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5274
 
  else
5275
 
    ac_cpp_err=
5276
 
  fi
5277
 
else
5278
 
  ac_cpp_err=yes
5279
 
fi
5280
 
if test -z "$ac_cpp_err"; then
 
5919
  (exit $ac_status); } >/dev/null && {
 
5920
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5921
         test ! -s conftest.err
 
5922
       }; then
5281
5923
  # Broken: success on invalid input.
5282
5924
continue
5283
5925
else
5288
5930
ac_preproc_ok=:
5289
5931
break
5290
5932
fi
 
5933
 
5291
5934
rm -f conftest.err conftest.$ac_ext
5292
5935
 
5293
5936
done
5303
5946
   { (exit 1); exit 1; }; }
5304
5947
fi
5305
5948
 
5306
 
ac_ext=cc
 
5949
ac_ext=cpp
5307
5950
ac_cpp='$CXXCPP $CPPFLAGS'
5308
5951
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5309
5952
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5317
5960
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5318
5961
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5319
5962
if test -n "$ac_tool_prefix"; then
5320
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5963
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5321
5964
  do
5322
5965
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5323
5966
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5324
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5325
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5967
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5968
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5326
5969
if test "${ac_cv_prog_F77+set}" = set; then
5327
5970
  echo $ECHO_N "(cached) $ECHO_C" >&6
5328
5971
else
5335
5978
  IFS=$as_save_IFS
5336
5979
  test -z "$as_dir" && as_dir=.
5337
5980
  for ac_exec_ext in '' $ac_executable_extensions; do
5338
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5981
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5339
5982
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5340
5983
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5341
5984
    break 2
5342
5985
  fi
5343
5986
done
5344
5987
done
 
5988
IFS=$as_save_IFS
5345
5989
 
5346
5990
fi
5347
5991
fi
5348
5992
F77=$ac_cv_prog_F77
5349
5993
if test -n "$F77"; then
5350
 
  echo "$as_me:$LINENO: result: $F77" >&5
5351
 
echo "${ECHO_T}$F77" >&6
 
5994
  { echo "$as_me:$LINENO: result: $F77" >&5
 
5995
echo "${ECHO_T}$F77" >&6; }
5352
5996
else
5353
 
  echo "$as_me:$LINENO: result: no" >&5
5354
 
echo "${ECHO_T}no" >&6
 
5997
  { echo "$as_me:$LINENO: result: no" >&5
 
5998
echo "${ECHO_T}no" >&6; }
5355
5999
fi
5356
6000
 
 
6001
 
5357
6002
    test -n "$F77" && break
5358
6003
  done
5359
6004
fi
5360
6005
if test -z "$F77"; then
5361
6006
  ac_ct_F77=$F77
5362
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6007
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5363
6008
do
5364
6009
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5365
6010
set dummy $ac_prog; ac_word=$2
5366
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5367
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6011
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6012
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5368
6013
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5369
6014
  echo $ECHO_N "(cached) $ECHO_C" >&6
5370
6015
else
5377
6022
  IFS=$as_save_IFS
5378
6023
  test -z "$as_dir" && as_dir=.
5379
6024
  for ac_exec_ext in '' $ac_executable_extensions; do
5380
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6025
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5381
6026
    ac_cv_prog_ac_ct_F77="$ac_prog"
5382
6027
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383
6028
    break 2
5384
6029
  fi
5385
6030
done
5386
6031
done
 
6032
IFS=$as_save_IFS
5387
6033
 
5388
6034
fi
5389
6035
fi
5390
6036
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5391
6037
if test -n "$ac_ct_F77"; then
5392
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5393
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6038
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6039
echo "${ECHO_T}$ac_ct_F77" >&6; }
5394
6040
else
5395
 
  echo "$as_me:$LINENO: result: no" >&5
5396
 
echo "${ECHO_T}no" >&6
 
6041
  { echo "$as_me:$LINENO: result: no" >&5
 
6042
echo "${ECHO_T}no" >&6; }
5397
6043
fi
5398
6044
 
 
6045
 
5399
6046
  test -n "$ac_ct_F77" && break
5400
6047
done
5401
6048
 
5402
 
  F77=$ac_ct_F77
 
6049
  if test "x$ac_ct_F77" = x; then
 
6050
    F77=""
 
6051
  else
 
6052
    case $cross_compiling:$ac_tool_warned in
 
6053
yes:)
 
6054
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6055
whose name does not start with the host triplet.  If you think this
 
6056
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6057
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6058
whose name does not start with the host triplet.  If you think this
 
6059
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6060
ac_tool_warned=yes ;;
 
6061
esac
 
6062
    F77=$ac_ct_F77
 
6063
  fi
5403
6064
fi
5404
6065
 
5405
6066
 
5406
6067
# Provide some information about the compiler.
5407
 
echo "$as_me:5407:" \
5408
 
     "checking for Fortran 77 compiler version" >&5
 
6068
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5409
6069
ac_compiler=`set X $ac_compile; echo $2`
5410
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5411
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5412
 
  ac_status=$?
5413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414
 
  (exit $ac_status); }
5415
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5416
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5417
 
  ac_status=$?
5418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419
 
  (exit $ac_status); }
5420
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5421
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6070
{ (ac_try="$ac_compiler --version >&5"
 
6071
case "(($ac_try" in
 
6072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6073
  *) ac_try_echo=$ac_try;;
 
6074
esac
 
6075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6076
  (eval "$ac_compiler --version >&5") 2>&5
 
6077
  ac_status=$?
 
6078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6079
  (exit $ac_status); }
 
6080
{ (ac_try="$ac_compiler -v >&5"
 
6081
case "(($ac_try" in
 
6082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6083
  *) ac_try_echo=$ac_try;;
 
6084
esac
 
6085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6086
  (eval "$ac_compiler -v >&5") 2>&5
 
6087
  ac_status=$?
 
6088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6089
  (exit $ac_status); }
 
6090
{ (ac_try="$ac_compiler -V >&5"
 
6091
case "(($ac_try" in
 
6092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6093
  *) ac_try_echo=$ac_try;;
 
6094
esac
 
6095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6096
  (eval "$ac_compiler -V >&5") 2>&5
5422
6097
  ac_status=$?
5423
6098
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424
6099
  (exit $ac_status); }
5428
6103
# input file.  (Note that this only needs to work for GNU compilers.)
5429
6104
ac_save_ext=$ac_ext
5430
6105
ac_ext=F
5431
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5432
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6106
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6107
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5433
6108
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5434
6109
  echo $ECHO_N "(cached) $ECHO_C" >&6
5435
6110
else
5442
6117
      end
5443
6118
_ACEOF
5444
6119
rm -f conftest.$ac_objext
5445
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5446
 
  (eval $ac_compile) 2>conftest.er1
 
6120
if { (ac_try="$ac_compile"
 
6121
case "(($ac_try" in
 
6122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6123
  *) ac_try_echo=$ac_try;;
 
6124
esac
 
6125
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6126
  (eval "$ac_compile") 2>conftest.er1
5447
6127
  ac_status=$?
5448
6128
  grep -v '^ *+' conftest.er1 >conftest.err
5449
6129
  rm -f conftest.er1
5450
6130
  cat conftest.err >&5
5451
6131
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452
 
  (exit $ac_status); } &&
5453
 
         { ac_try='test -z "$ac_f77_werror_flag"
5454
 
                         || test ! -s conftest.err'
5455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456
 
  (eval $ac_try) 2>&5
5457
 
  ac_status=$?
5458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459
 
  (exit $ac_status); }; } &&
5460
 
         { ac_try='test -s conftest.$ac_objext'
5461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5462
 
  (eval $ac_try) 2>&5
5463
 
  ac_status=$?
5464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465
 
  (exit $ac_status); }; }; then
 
6132
  (exit $ac_status); } && {
 
6133
         test -z "$ac_f77_werror_flag" ||
 
6134
         test ! -s conftest.err
 
6135
       } && test -s conftest.$ac_objext; then
5466
6136
  ac_compiler_gnu=yes
5467
6137
else
5468
6138
  echo "$as_me: failed program was:" >&5
5469
6139
sed 's/^/| /' conftest.$ac_ext >&5
5470
6140
 
5471
 
ac_compiler_gnu=no
 
6141
        ac_compiler_gnu=no
5472
6142
fi
5473
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6143
 
 
6144
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5474
6145
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5475
6146
 
5476
6147
fi
5477
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5478
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6148
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6149
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5479
6150
ac_ext=$ac_save_ext
5480
6151
ac_test_FFLAGS=${FFLAGS+set}
5481
6152
ac_save_FFLAGS=$FFLAGS
5482
6153
FFLAGS=
5483
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5484
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6154
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6155
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5485
6156
if test "${ac_cv_prog_f77_g+set}" = set; then
5486
6157
  echo $ECHO_N "(cached) $ECHO_C" >&6
5487
6158
else
5492
6163
      end
5493
6164
_ACEOF
5494
6165
rm -f conftest.$ac_objext
5495
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5496
 
  (eval $ac_compile) 2>conftest.er1
 
6166
if { (ac_try="$ac_compile"
 
6167
case "(($ac_try" in
 
6168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6169
  *) ac_try_echo=$ac_try;;
 
6170
esac
 
6171
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6172
  (eval "$ac_compile") 2>conftest.er1
5497
6173
  ac_status=$?
5498
6174
  grep -v '^ *+' conftest.er1 >conftest.err
5499
6175
  rm -f conftest.er1
5500
6176
  cat conftest.err >&5
5501
6177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502
 
  (exit $ac_status); } &&
5503
 
         { ac_try='test -z "$ac_f77_werror_flag"
5504
 
                         || test ! -s conftest.err'
5505
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5506
 
  (eval $ac_try) 2>&5
5507
 
  ac_status=$?
5508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509
 
  (exit $ac_status); }; } &&
5510
 
         { ac_try='test -s conftest.$ac_objext'
5511
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512
 
  (eval $ac_try) 2>&5
5513
 
  ac_status=$?
5514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515
 
  (exit $ac_status); }; }; then
 
6178
  (exit $ac_status); } && {
 
6179
         test -z "$ac_f77_werror_flag" ||
 
6180
         test ! -s conftest.err
 
6181
       } && test -s conftest.$ac_objext; then
5516
6182
  ac_cv_prog_f77_g=yes
5517
6183
else
5518
6184
  echo "$as_me: failed program was:" >&5
5519
6185
sed 's/^/| /' conftest.$ac_ext >&5
5520
6186
 
5521
 
ac_cv_prog_f77_g=no
5522
 
fi
5523
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5524
 
 
5525
 
fi
5526
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5527
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6187
        ac_cv_prog_f77_g=no
 
6188
fi
 
6189
 
 
6190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6191
 
 
6192
fi
 
6193
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6194
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5528
6195
if test "$ac_test_FFLAGS" = set; then
5529
6196
  FFLAGS=$ac_save_FFLAGS
5530
6197
elif test $ac_cv_prog_f77_g = yes; then
5553
6220
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5554
6221
 
5555
6222
# find the maximum length of command line arguments
5556
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5557
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6223
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6224
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5558
6225
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5559
6226
  echo $ECHO_N "(cached) $ECHO_C" >&6
5560
6227
else
5638
6305
    fi
5639
6306
    ;;
5640
6307
  *)
5641
 
    # If test is not a shell built-in, we'll probably end up computing a
5642
 
    # maximum length that is only half of the actual maximum length, but
5643
 
    # we can't tell.
5644
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5645
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6308
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6309
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6310
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6311
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6312
    else
 
6313
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6314
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5646
6315
               = "XX$teststring") >/dev/null 2>&1 &&
5647
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5648
 
            lt_cv_sys_max_cmd_len=$new_result &&
5649
 
            test $i != 17 # 1/2 MB should be enough
5650
 
    do
5651
 
      i=`expr $i + 1`
5652
 
      teststring=$teststring$teststring
5653
 
    done
5654
 
    teststring=
5655
 
    # Add a significant safety factor because C++ compilers can tack on massive
5656
 
    # amounts of additional arguments before passing them to the linker.
5657
 
    # It appears as though 1/2 is a usable value.
5658
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6316
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6317
              lt_cv_sys_max_cmd_len=$new_result &&
 
6318
              test $i != 17 # 1/2 MB should be enough
 
6319
      do
 
6320
        i=`expr $i + 1`
 
6321
        teststring=$teststring$teststring
 
6322
      done
 
6323
      teststring=
 
6324
      # Add a significant safety factor because C++ compilers can tack on massive
 
6325
      # amounts of additional arguments before passing them to the linker.
 
6326
      # It appears as though 1/2 is a usable value.
 
6327
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6328
    fi
5659
6329
    ;;
5660
6330
  esac
5661
6331
 
5662
6332
fi
5663
6333
 
5664
6334
if test -n $lt_cv_sys_max_cmd_len ; then
5665
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5666
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6335
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6336
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5667
6337
else
5668
 
  echo "$as_me:$LINENO: result: none" >&5
5669
 
echo "${ECHO_T}none" >&6
 
6338
  { echo "$as_me:$LINENO: result: none" >&5
 
6339
echo "${ECHO_T}none" >&6; }
5670
6340
fi
5671
6341
 
5672
6342
 
5673
6343
 
5674
6344
 
 
6345
 
5675
6346
# Check for command to grab the raw symbol name followed by C symbol from nm.
5676
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5677
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6347
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6348
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5678
6349
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5679
6350
  echo $ECHO_N "(cached) $ECHO_C" >&6
5680
6351
else
5709
6380
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5710
6381
  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'"
5711
6382
  ;;
5712
 
linux*)
 
6383
linux* | k*bsd*-gnu)
5713
6384
  if test "$host_cpu" = ia64; then
5714
6385
    symcode='[ABCDGIRSTW]'
5715
6386
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5878
6549
  lt_cv_sys_global_symbol_to_cdecl=
5879
6550
fi
5880
6551
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5881
 
  echo "$as_me:$LINENO: result: failed" >&5
5882
 
echo "${ECHO_T}failed" >&6
 
6552
  { echo "$as_me:$LINENO: result: failed" >&5
 
6553
echo "${ECHO_T}failed" >&6; }
5883
6554
else
5884
 
  echo "$as_me:$LINENO: result: ok" >&5
5885
 
echo "${ECHO_T}ok" >&6
 
6555
  { echo "$as_me:$LINENO: result: ok" >&5
 
6556
echo "${ECHO_T}ok" >&6; }
5886
6557
fi
5887
6558
 
5888
 
echo "$as_me:$LINENO: checking for objdir" >&5
5889
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6559
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6560
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5890
6561
if test "${lt_cv_objdir+set}" = set; then
5891
6562
  echo $ECHO_N "(cached) $ECHO_C" >&6
5892
6563
else
5900
6571
fi
5901
6572
rmdir .libs 2>/dev/null
5902
6573
fi
5903
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5904
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6574
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6575
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5905
6576
objdir=$lt_cv_objdir
5906
6577
 
5907
6578
 
5952
6623
if test -n "$ac_tool_prefix"; then
5953
6624
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5954
6625
set dummy ${ac_tool_prefix}ar; ac_word=$2
5955
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5956
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6626
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6627
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5957
6628
if test "${ac_cv_prog_AR+set}" = set; then
5958
6629
  echo $ECHO_N "(cached) $ECHO_C" >&6
5959
6630
else
5966
6637
  IFS=$as_save_IFS
5967
6638
  test -z "$as_dir" && as_dir=.
5968
6639
  for ac_exec_ext in '' $ac_executable_extensions; do
5969
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6640
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5970
6641
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5971
6642
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972
6643
    break 2
5973
6644
  fi
5974
6645
done
5975
6646
done
 
6647
IFS=$as_save_IFS
5976
6648
 
5977
6649
fi
5978
6650
fi
5979
6651
AR=$ac_cv_prog_AR
5980
6652
if test -n "$AR"; then
5981
 
  echo "$as_me:$LINENO: result: $AR" >&5
5982
 
echo "${ECHO_T}$AR" >&6
 
6653
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6654
echo "${ECHO_T}$AR" >&6; }
5983
6655
else
5984
 
  echo "$as_me:$LINENO: result: no" >&5
5985
 
echo "${ECHO_T}no" >&6
 
6656
  { echo "$as_me:$LINENO: result: no" >&5
 
6657
echo "${ECHO_T}no" >&6; }
5986
6658
fi
 
6659
 
5987
6660
 
5988
6661
fi
5989
6662
if test -z "$ac_cv_prog_AR"; then
5990
6663
  ac_ct_AR=$AR
5991
6664
  # Extract the first word of "ar", so it can be a program name with args.
5992
6665
set dummy ar; ac_word=$2
5993
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5994
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6666
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6667
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995
6668
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5996
6669
  echo $ECHO_N "(cached) $ECHO_C" >&6
5997
6670
else
6004
6677
  IFS=$as_save_IFS
6005
6678
  test -z "$as_dir" && as_dir=.
6006
6679
  for ac_exec_ext in '' $ac_executable_extensions; do
6007
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6680
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008
6681
    ac_cv_prog_ac_ct_AR="ar"
6009
6682
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6010
6683
    break 2
6011
6684
  fi
6012
6685
done
6013
6686
done
 
6687
IFS=$as_save_IFS
6014
6688
 
6015
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6016
6689
fi
6017
6690
fi
6018
6691
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6019
6692
if test -n "$ac_ct_AR"; then
6020
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6021
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6693
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6694
echo "${ECHO_T}$ac_ct_AR" >&6; }
6022
6695
else
6023
 
  echo "$as_me:$LINENO: result: no" >&5
6024
 
echo "${ECHO_T}no" >&6
 
6696
  { echo "$as_me:$LINENO: result: no" >&5
 
6697
echo "${ECHO_T}no" >&6; }
6025
6698
fi
6026
6699
 
6027
 
  AR=$ac_ct_AR
 
6700
  if test "x$ac_ct_AR" = x; then
 
6701
    AR="false"
 
6702
  else
 
6703
    case $cross_compiling:$ac_tool_warned in
 
6704
yes:)
 
6705
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6706
whose name does not start with the host triplet.  If you think this
 
6707
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6708
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6709
whose name does not start with the host triplet.  If you think this
 
6710
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6711
ac_tool_warned=yes ;;
 
6712
esac
 
6713
    AR=$ac_ct_AR
 
6714
  fi
6028
6715
else
6029
6716
  AR="$ac_cv_prog_AR"
6030
6717
fi
6032
6719
if test -n "$ac_tool_prefix"; then
6033
6720
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6034
6721
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6035
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6036
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6722
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6723
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6037
6724
if test "${ac_cv_prog_RANLIB+set}" = set; then
6038
6725
  echo $ECHO_N "(cached) $ECHO_C" >&6
6039
6726
else
6046
6733
  IFS=$as_save_IFS
6047
6734
  test -z "$as_dir" && as_dir=.
6048
6735
  for ac_exec_ext in '' $ac_executable_extensions; do
6049
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6736
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050
6737
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6051
6738
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6052
6739
    break 2
6053
6740
  fi
6054
6741
done
6055
6742
done
 
6743
IFS=$as_save_IFS
6056
6744
 
6057
6745
fi
6058
6746
fi
6059
6747
RANLIB=$ac_cv_prog_RANLIB
6060
6748
if test -n "$RANLIB"; then
6061
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6062
 
echo "${ECHO_T}$RANLIB" >&6
 
6749
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6750
echo "${ECHO_T}$RANLIB" >&6; }
6063
6751
else
6064
 
  echo "$as_me:$LINENO: result: no" >&5
6065
 
echo "${ECHO_T}no" >&6
 
6752
  { echo "$as_me:$LINENO: result: no" >&5
 
6753
echo "${ECHO_T}no" >&6; }
6066
6754
fi
 
6755
 
6067
6756
 
6068
6757
fi
6069
6758
if test -z "$ac_cv_prog_RANLIB"; then
6070
6759
  ac_ct_RANLIB=$RANLIB
6071
6760
  # Extract the first word of "ranlib", so it can be a program name with args.
6072
6761
set dummy ranlib; ac_word=$2
6073
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6074
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6762
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6763
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6075
6764
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6076
6765
  echo $ECHO_N "(cached) $ECHO_C" >&6
6077
6766
else
6084
6773
  IFS=$as_save_IFS
6085
6774
  test -z "$as_dir" && as_dir=.
6086
6775
  for ac_exec_ext in '' $ac_executable_extensions; do
6087
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6776
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6088
6777
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6089
6778
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6090
6779
    break 2
6091
6780
  fi
6092
6781
done
6093
6782
done
 
6783
IFS=$as_save_IFS
6094
6784
 
6095
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6096
6785
fi
6097
6786
fi
6098
6787
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6099
6788
if test -n "$ac_ct_RANLIB"; then
6100
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6101
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6789
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6790
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6102
6791
else
6103
 
  echo "$as_me:$LINENO: result: no" >&5
6104
 
echo "${ECHO_T}no" >&6
 
6792
  { echo "$as_me:$LINENO: result: no" >&5
 
6793
echo "${ECHO_T}no" >&6; }
6105
6794
fi
6106
6795
 
6107
 
  RANLIB=$ac_ct_RANLIB
 
6796
  if test "x$ac_ct_RANLIB" = x; then
 
6797
    RANLIB=":"
 
6798
  else
 
6799
    case $cross_compiling:$ac_tool_warned in
 
6800
yes:)
 
6801
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6802
whose name does not start with the host triplet.  If you think this
 
6803
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6804
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6805
whose name does not start with the host triplet.  If you think this
 
6806
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6807
ac_tool_warned=yes ;;
 
6808
esac
 
6809
    RANLIB=$ac_ct_RANLIB
 
6810
  fi
6108
6811
else
6109
6812
  RANLIB="$ac_cv_prog_RANLIB"
6110
6813
fi
6112
6815
if test -n "$ac_tool_prefix"; then
6113
6816
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6114
6817
set dummy ${ac_tool_prefix}strip; ac_word=$2
6115
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6116
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6818
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6819
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6117
6820
if test "${ac_cv_prog_STRIP+set}" = set; then
6118
6821
  echo $ECHO_N "(cached) $ECHO_C" >&6
6119
6822
else
6126
6829
  IFS=$as_save_IFS
6127
6830
  test -z "$as_dir" && as_dir=.
6128
6831
  for ac_exec_ext in '' $ac_executable_extensions; do
6129
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6832
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6130
6833
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6131
6834
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6132
6835
    break 2
6133
6836
  fi
6134
6837
done
6135
6838
done
 
6839
IFS=$as_save_IFS
6136
6840
 
6137
6841
fi
6138
6842
fi
6139
6843
STRIP=$ac_cv_prog_STRIP
6140
6844
if test -n "$STRIP"; then
6141
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6142
 
echo "${ECHO_T}$STRIP" >&6
 
6845
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6846
echo "${ECHO_T}$STRIP" >&6; }
6143
6847
else
6144
 
  echo "$as_me:$LINENO: result: no" >&5
6145
 
echo "${ECHO_T}no" >&6
 
6848
  { echo "$as_me:$LINENO: result: no" >&5
 
6849
echo "${ECHO_T}no" >&6; }
6146
6850
fi
 
6851
 
6147
6852
 
6148
6853
fi
6149
6854
if test -z "$ac_cv_prog_STRIP"; then
6150
6855
  ac_ct_STRIP=$STRIP
6151
6856
  # Extract the first word of "strip", so it can be a program name with args.
6152
6857
set dummy strip; ac_word=$2
6153
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6154
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6858
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6859
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6155
6860
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6156
6861
  echo $ECHO_N "(cached) $ECHO_C" >&6
6157
6862
else
6164
6869
  IFS=$as_save_IFS
6165
6870
  test -z "$as_dir" && as_dir=.
6166
6871
  for ac_exec_ext in '' $ac_executable_extensions; do
6167
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6168
6873
    ac_cv_prog_ac_ct_STRIP="strip"
6169
6874
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6170
6875
    break 2
6171
6876
  fi
6172
6877
done
6173
6878
done
 
6879
IFS=$as_save_IFS
6174
6880
 
6175
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6176
6881
fi
6177
6882
fi
6178
6883
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6179
6884
if test -n "$ac_ct_STRIP"; then
6180
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6181
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6885
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6886
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6182
6887
else
6183
 
  echo "$as_me:$LINENO: result: no" >&5
6184
 
echo "${ECHO_T}no" >&6
 
6888
  { echo "$as_me:$LINENO: result: no" >&5
 
6889
echo "${ECHO_T}no" >&6; }
6185
6890
fi
6186
6891
 
6187
 
  STRIP=$ac_ct_STRIP
 
6892
  if test "x$ac_ct_STRIP" = x; then
 
6893
    STRIP=":"
 
6894
  else
 
6895
    case $cross_compiling:$ac_tool_warned in
 
6896
yes:)
 
6897
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6898
whose name does not start with the host triplet.  If you think this
 
6899
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6900
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6901
whose name does not start with the host triplet.  If you think this
 
6902
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6903
ac_tool_warned=yes ;;
 
6904
esac
 
6905
    STRIP=$ac_ct_STRIP
 
6906
  fi
6188
6907
else
6189
6908
  STRIP="$ac_cv_prog_STRIP"
6190
6909
fi
6212
6931
test -z "$ac_objext" && ac_objext=o
6213
6932
 
6214
6933
# Determine commands to create old-style static archives.
6215
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
6934
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6216
6935
old_postinstall_cmds='chmod 644 $oldlib'
6217
6936
old_postuninstall_cmds=
6218
6937
 
6243
6962
case $deplibs_check_method in
6244
6963
file_magic*)
6245
6964
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6246
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6247
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
6965
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6966
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6248
6967
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6249
6968
  echo $ECHO_N "(cached) $ECHO_C" >&6
6250
6969
else
6296
7015
 
6297
7016
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6298
7017
if test -n "$MAGIC_CMD"; then
6299
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6300
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7018
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7019
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6301
7020
else
6302
 
  echo "$as_me:$LINENO: result: no" >&5
6303
 
echo "${ECHO_T}no" >&6
 
7021
  { echo "$as_me:$LINENO: result: no" >&5
 
7022
echo "${ECHO_T}no" >&6; }
6304
7023
fi
6305
7024
 
6306
7025
if test -z "$lt_cv_path_MAGIC_CMD"; then
6307
7026
  if test -n "$ac_tool_prefix"; then
6308
 
    echo "$as_me:$LINENO: checking for file" >&5
6309
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7027
    { echo "$as_me:$LINENO: checking for file" >&5
 
7028
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6310
7029
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6311
7030
  echo $ECHO_N "(cached) $ECHO_C" >&6
6312
7031
else
6358
7077
 
6359
7078
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6360
7079
if test -n "$MAGIC_CMD"; then
6361
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6362
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7080
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7081
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6363
7082
else
6364
 
  echo "$as_me:$LINENO: result: no" >&5
6365
 
echo "${ECHO_T}no" >&6
 
7083
  { echo "$as_me:$LINENO: result: no" >&5
 
7084
echo "${ECHO_T}no" >&6; }
6366
7085
fi
6367
7086
 
6368
7087
  else
6377
7096
enable_dlopen=no
6378
7097
enable_win32_dll=no
6379
7098
 
6380
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7099
# Check whether --enable-libtool-lock was given.
6381
7100
if test "${enable_libtool_lock+set}" = set; then
6382
 
  enableval="$enable_libtool_lock"
 
7101
  enableval=$enable_libtool_lock;
 
7102
fi
6383
7103
 
6384
 
fi;
6385
7104
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6386
7105
 
6387
7106
 
6388
 
# Check whether --with-pic or --without-pic was given.
 
7107
# Check whether --with-pic was given.
6389
7108
if test "${with_pic+set}" = set; then
6390
 
  withval="$with_pic"
6391
 
  pic_mode="$withval"
 
7109
  withval=$with_pic; pic_mode="$withval"
6392
7110
else
6393
7111
  pic_mode=default
6394
 
fi;
 
7112
fi
 
7113
 
6395
7114
test -z "$pic_mode" && pic_mode=default
6396
7115
 
6397
7116
# Use C for the default configuration in the libtool script
6412
7131
objext=$objext
6413
7132
 
6414
7133
# Code to be used in simple compile tests
6415
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7134
lt_simple_compile_test_code="int some_variable = 0;"
6416
7135
 
6417
7136
# Code to be used in simple link tests
6418
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7137
lt_simple_link_test_code='int main(){return(0);}'
6419
7138
 
6420
7139
 
6421
7140
# If no C compiler was specified, use CC.
6430
7149
 
6431
7150
# save warnings/boilerplate of simple test code
6432
7151
ac_outfile=conftest.$ac_objext
6433
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7152
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6434
7153
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6435
7154
_lt_compiler_boilerplate=`cat conftest.err`
6436
7155
$rm conftest*
6437
7156
 
6438
7157
ac_outfile=conftest.$ac_objext
6439
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7158
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6440
7159
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6441
7160
_lt_linker_boilerplate=`cat conftest.err`
6442
7161
$rm conftest*
6449
7168
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6450
7169
 
6451
7170
 
6452
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6453
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7171
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7172
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6454
7173
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6455
7174
  echo $ECHO_N "(cached) $ECHO_C" >&6
6456
7175
else
6457
7176
  lt_cv_prog_compiler_rtti_exceptions=no
6458
7177
  ac_outfile=conftest.$ac_objext
6459
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7178
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6460
7179
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6461
7180
   # Insert the option either (1) after the last *FLAGS variable, or
6462
7181
   # (2) before a word containing "conftest.", or (3) at the end.
6467
7186
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6468
7187
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6469
7188
   -e 's:$: $lt_compiler_flag:'`
6470
 
   (eval echo "\"\$as_me:6470: $lt_compile\"" >&5)
 
7189
   (eval echo "\"\$as_me:7189: $lt_compile\"" >&5)
6471
7190
   (eval "$lt_compile" 2>conftest.err)
6472
7191
   ac_status=$?
6473
7192
   cat conftest.err >&5
6474
 
   echo "$as_me:6474: \$? = $ac_status" >&5
 
7193
   echo "$as_me:7193: \$? = $ac_status" >&5
6475
7194
   if (exit $ac_status) && test -s "$ac_outfile"; then
6476
7195
     # The compiler can only warn and ignore the option if not recognized
6477
7196
     # So say no if there are warnings other than the usual output.
6484
7203
   $rm conftest*
6485
7204
 
6486
7205
fi
6487
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6488
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7206
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7207
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6489
7208
 
6490
7209
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6491
7210
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6499
7218
lt_prog_compiler_pic=
6500
7219
lt_prog_compiler_static=
6501
7220
 
6502
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6503
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7221
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7222
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6504
7223
 
6505
7224
  if test "$GCC" = yes; then
6506
7225
    lt_prog_compiler_wl='-Wl,'
6522
7241
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6523
7242
      ;;
6524
7243
 
6525
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7244
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6526
7245
      # PIC is the default for these OSes.
6527
7246
      ;;
6528
7247
 
6529
 
    mingw* | pw32* | os2*)
 
7248
    mingw* | cygwin* | pw32* | os2*)
6530
7249
      # This hack is so that the source file can tell whether it is being
6531
7250
      # built for inclusion in a dll (and should export symbols for example).
 
7251
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7252
      # (--disable-auto-import) libraries
6532
7253
      lt_prog_compiler_pic='-DDLL_EXPORT'
6533
7254
      ;;
6534
7255
 
6538
7259
      lt_prog_compiler_pic='-fno-common'
6539
7260
      ;;
6540
7261
 
6541
 
    interix3*)
 
7262
    interix[3-9]*)
6542
7263
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6543
7264
      # Instead, we relocate shared libraries at runtime.
6544
7265
      ;;
6596
7317
       esac
6597
7318
       ;;
6598
7319
 
6599
 
    mingw* | pw32* | os2*)
 
7320
    mingw* | cygwin* | pw32* | os2*)
6600
7321
      # This hack is so that the source file can tell whether it is being
6601
7322
      # built for inclusion in a dll (and should export symbols for example).
6602
7323
      lt_prog_compiler_pic='-DDLL_EXPORT'
6629
7350
      lt_prog_compiler_static='-Bstatic'
6630
7351
      ;;
6631
7352
 
6632
 
    linux*)
 
7353
    linux* | k*bsd*-gnu)
6633
7354
      case $cc_basename in
6634
7355
      icc* | ecc*)
6635
7356
        lt_prog_compiler_wl='-Wl,'
6648
7369
        # All Alpha code is PIC.
6649
7370
        lt_prog_compiler_static='-non_shared'
6650
7371
        ;;
 
7372
      *)
 
7373
        case `$CC -V 2>&1 | sed 5q` in
 
7374
        *Sun\ C*)
 
7375
          # Sun C 5.9
 
7376
          lt_prog_compiler_pic='-KPIC'
 
7377
          lt_prog_compiler_static='-Bstatic'
 
7378
          lt_prog_compiler_wl='-Wl,'
 
7379
          ;;
 
7380
        *Sun\ F*)
 
7381
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7382
          lt_prog_compiler_pic='-KPIC'
 
7383
          lt_prog_compiler_static='-Bstatic'
 
7384
          lt_prog_compiler_wl=''
 
7385
          ;;
 
7386
        esac
 
7387
        ;;
6651
7388
      esac
6652
7389
      ;;
6653
7390
 
6657
7394
      lt_prog_compiler_static='-non_shared'
6658
7395
      ;;
6659
7396
 
 
7397
    rdos*)
 
7398
      lt_prog_compiler_static='-non_shared'
 
7399
      ;;
 
7400
 
6660
7401
    solaris*)
6661
7402
      lt_prog_compiler_pic='-KPIC'
6662
7403
      lt_prog_compiler_static='-Bstatic'
6709
7450
    esac
6710
7451
  fi
6711
7452
 
6712
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6713
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7453
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7454
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6714
7455
 
6715
7456
#
6716
7457
# Check to make sure the PIC flag actually works.
6717
7458
#
6718
7459
if test -n "$lt_prog_compiler_pic"; then
6719
7460
 
6720
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6721
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7461
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7462
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6722
7463
if test "${lt_prog_compiler_pic_works+set}" = set; then
6723
7464
  echo $ECHO_N "(cached) $ECHO_C" >&6
6724
7465
else
6725
7466
  lt_prog_compiler_pic_works=no
6726
7467
  ac_outfile=conftest.$ac_objext
6727
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7468
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6728
7469
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6729
7470
   # Insert the option either (1) after the last *FLAGS variable, or
6730
7471
   # (2) before a word containing "conftest.", or (3) at the end.
6735
7476
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6736
7477
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6737
7478
   -e 's:$: $lt_compiler_flag:'`
6738
 
   (eval echo "\"\$as_me:6738: $lt_compile\"" >&5)
 
7479
   (eval echo "\"\$as_me:7479: $lt_compile\"" >&5)
6739
7480
   (eval "$lt_compile" 2>conftest.err)
6740
7481
   ac_status=$?
6741
7482
   cat conftest.err >&5
6742
 
   echo "$as_me:6742: \$? = $ac_status" >&5
 
7483
   echo "$as_me:7483: \$? = $ac_status" >&5
6743
7484
   if (exit $ac_status) && test -s "$ac_outfile"; then
6744
7485
     # The compiler can only warn and ignore the option if not recognized
6745
7486
     # So say no if there are warnings other than the usual output.
6752
7493
   $rm conftest*
6753
7494
 
6754
7495
fi
6755
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6756
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7496
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7497
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6757
7498
 
6758
7499
if test x"$lt_prog_compiler_pic_works" = xyes; then
6759
7500
    case $lt_prog_compiler_pic in
6780
7521
# Check to make sure the static flag actually works.
6781
7522
#
6782
7523
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6783
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6784
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
7524
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7525
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6785
7526
if test "${lt_prog_compiler_static_works+set}" = set; then
6786
7527
  echo $ECHO_N "(cached) $ECHO_C" >&6
6787
7528
else
6788
7529
  lt_prog_compiler_static_works=no
6789
7530
   save_LDFLAGS="$LDFLAGS"
6790
7531
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6791
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7532
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6792
7533
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6793
7534
     # The linker can only warn and ignore the option if not recognized
6794
7535
     # So say no if there are warnings
6808
7549
   LDFLAGS="$save_LDFLAGS"
6809
7550
 
6810
7551
fi
6811
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6812
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7552
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7553
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6813
7554
 
6814
7555
if test x"$lt_prog_compiler_static_works" = xyes; then
6815
7556
    :
6818
7559
fi
6819
7560
 
6820
7561
 
6821
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6822
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7562
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7563
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6823
7564
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6824
7565
  echo $ECHO_N "(cached) $ECHO_C" >&6
6825
7566
else
6828
7569
   mkdir conftest
6829
7570
   cd conftest
6830
7571
   mkdir out
6831
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7572
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6832
7573
 
6833
7574
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6834
7575
   # Insert the option either (1) after the last *FLAGS variable, or
6839
7580
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6840
7581
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6841
7582
   -e 's:$: $lt_compiler_flag:'`
6842
 
   (eval echo "\"\$as_me:6842: $lt_compile\"" >&5)
 
7583
   (eval echo "\"\$as_me:7583: $lt_compile\"" >&5)
6843
7584
   (eval "$lt_compile" 2>out/conftest.err)
6844
7585
   ac_status=$?
6845
7586
   cat out/conftest.err >&5
6846
 
   echo "$as_me:6846: \$? = $ac_status" >&5
 
7587
   echo "$as_me:7587: \$? = $ac_status" >&5
6847
7588
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6848
7589
   then
6849
7590
     # The compiler can only warn and ignore the option if not recognized
6865
7606
   $rm conftest*
6866
7607
 
6867
7608
fi
6868
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6869
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7609
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7610
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6870
7611
 
6871
7612
 
6872
7613
hard_links="nottested"
6873
7614
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6874
7615
  # do not overwrite the value of need_locks provided by the user
6875
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6876
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7616
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7617
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6877
7618
  hard_links=yes
6878
7619
  $rm conftest*
6879
7620
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6880
7621
  touch conftest.a
6881
7622
  ln conftest.a conftest.b 2>&5 || hard_links=no
6882
7623
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6883
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6884
 
echo "${ECHO_T}$hard_links" >&6
 
7624
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7625
echo "${ECHO_T}$hard_links" >&6; }
6885
7626
  if test "$hard_links" = no; then
6886
7627
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6887
7628
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6891
7632
  need_locks=no
6892
7633
fi
6893
7634
 
6894
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6895
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7635
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7636
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6896
7637
 
6897
7638
  runpath_var=
6898
7639
  allow_undefined_flag=
7035
7776
      allow_undefined_flag=unsupported
7036
7777
      always_export_symbols=no
7037
7778
      enable_shared_with_static_runtimes=yes
7038
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
7779
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7039
7780
 
7040
7781
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7041
7782
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7053
7794
      fi
7054
7795
      ;;
7055
7796
 
7056
 
    interix3*)
 
7797
    interix[3-9]*)
7057
7798
      hardcode_direct=no
7058
7799
      hardcode_shlibpath_var=no
7059
7800
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7068
7809
      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'
7069
7810
      ;;
7070
7811
 
7071
 
    linux*)
 
7812
    gnu* | linux* | k*bsd*-gnu)
7072
7813
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7073
7814
        tmp_addflag=
7074
7815
        case $cc_basename,$host_cpu in
7086
7827
        ifc* | ifort*)                  # Intel Fortran compiler
7087
7828
          tmp_addflag=' -nofor_main' ;;
7088
7829
        esac
7089
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7830
        case `$CC -V 2>&1 | sed 5q` in
 
7831
        *Sun\ C*)                       # Sun C 5.9
 
7832
          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'
 
7833
          tmp_sharedflag='-G' ;;
 
7834
        *Sun\ F*)                       # Sun Fortran 8.3
 
7835
          tmp_sharedflag='-G' ;;
 
7836
        *)
 
7837
          tmp_sharedflag='-shared' ;;
 
7838
        esac
 
7839
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7090
7840
 
7091
7841
        if test $supports_anon_versioning = yes; then
7092
7842
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7093
7843
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7094
7844
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7095
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7845
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7096
7846
        fi
7097
7847
      else
7098
7848
        ld_shlibs=no
7251
8001
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7252
8002
          then
7253
8003
          # We have reworked collect2
7254
 
          hardcode_direct=yes
 
8004
          :
7255
8005
          else
7256
8006
          # We have old collect2
7257
8007
          hardcode_direct=unsupported
7307
8057
}
7308
8058
_ACEOF
7309
8059
rm -f conftest.$ac_objext conftest$ac_exeext
7310
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7311
 
  (eval $ac_link) 2>conftest.er1
 
8060
if { (ac_try="$ac_link"
 
8061
case "(($ac_try" in
 
8062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8063
  *) ac_try_echo=$ac_try;;
 
8064
esac
 
8065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8066
  (eval "$ac_link") 2>conftest.er1
7312
8067
  ac_status=$?
7313
8068
  grep -v '^ *+' conftest.er1 >conftest.err
7314
8069
  rm -f conftest.er1
7315
8070
  cat conftest.err >&5
7316
8071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317
 
  (exit $ac_status); } &&
7318
 
         { ac_try='test -z "$ac_c_werror_flag"
7319
 
                         || test ! -s conftest.err'
7320
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321
 
  (eval $ac_try) 2>&5
7322
 
  ac_status=$?
7323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324
 
  (exit $ac_status); }; } &&
7325
 
         { ac_try='test -s conftest$ac_exeext'
7326
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327
 
  (eval $ac_try) 2>&5
7328
 
  ac_status=$?
7329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330
 
  (exit $ac_status); }; }; then
 
8072
  (exit $ac_status); } && {
 
8073
         test -z "$ac_c_werror_flag" ||
 
8074
         test ! -s conftest.err
 
8075
       } && test -s conftest$ac_exeext &&
 
8076
       $as_test_x conftest$ac_exeext; then
7331
8077
 
7332
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7333
 
}'`
 
8078
lt_aix_libpath_sed='
 
8079
    /Import File Strings/,/^$/ {
 
8080
        /^0/ {
 
8081
            s/^0  *\(.*\)$/\1/
 
8082
            p
 
8083
        }
 
8084
    }'
 
8085
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7334
8086
# Check for a 64-bit object if we didn't find anything.
7335
 
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; }
7336
 
}'`; fi
 
8087
if test -z "$aix_libpath"; then
 
8088
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8089
fi
7337
8090
else
7338
8091
  echo "$as_me: failed program was:" >&5
7339
8092
sed 's/^/| /' conftest.$ac_ext >&5
7340
8093
 
 
8094
 
7341
8095
fi
7342
 
rm -f conftest.err conftest.$ac_objext \
 
8096
 
 
8097
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7343
8098
      conftest$ac_exeext conftest.$ac_ext
7344
8099
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7345
8100
 
7368
8123
}
7369
8124
_ACEOF
7370
8125
rm -f conftest.$ac_objext conftest$ac_exeext
7371
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7372
 
  (eval $ac_link) 2>conftest.er1
 
8126
if { (ac_try="$ac_link"
 
8127
case "(($ac_try" in
 
8128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8129
  *) ac_try_echo=$ac_try;;
 
8130
esac
 
8131
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8132
  (eval "$ac_link") 2>conftest.er1
7373
8133
  ac_status=$?
7374
8134
  grep -v '^ *+' conftest.er1 >conftest.err
7375
8135
  rm -f conftest.er1
7376
8136
  cat conftest.err >&5
7377
8137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378
 
  (exit $ac_status); } &&
7379
 
         { ac_try='test -z "$ac_c_werror_flag"
7380
 
                         || test ! -s conftest.err'
7381
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382
 
  (eval $ac_try) 2>&5
7383
 
  ac_status=$?
7384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385
 
  (exit $ac_status); }; } &&
7386
 
         { ac_try='test -s conftest$ac_exeext'
7387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388
 
  (eval $ac_try) 2>&5
7389
 
  ac_status=$?
7390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391
 
  (exit $ac_status); }; }; then
 
8138
  (exit $ac_status); } && {
 
8139
         test -z "$ac_c_werror_flag" ||
 
8140
         test ! -s conftest.err
 
8141
       } && test -s conftest$ac_exeext &&
 
8142
       $as_test_x conftest$ac_exeext; then
7392
8143
 
7393
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7394
 
}'`
 
8144
lt_aix_libpath_sed='
 
8145
    /Import File Strings/,/^$/ {
 
8146
        /^0/ {
 
8147
            s/^0  *\(.*\)$/\1/
 
8148
            p
 
8149
        }
 
8150
    }'
 
8151
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7395
8152
# Check for a 64-bit object if we didn't find anything.
7396
 
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; }
7397
 
}'`; fi
 
8153
if test -z "$aix_libpath"; then
 
8154
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8155
fi
7398
8156
else
7399
8157
  echo "$as_me: failed program was:" >&5
7400
8158
sed 's/^/| /' conftest.$ac_ext >&5
7401
8159
 
 
8160
 
7402
8161
fi
7403
 
rm -f conftest.err conftest.$ac_objext \
 
8162
 
 
8163
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7404
8164
      conftest$ac_exeext conftest.$ac_ext
7405
8165
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7406
8166
 
7446
8206
      # The linker will automatically build a .lib file if we build a DLL.
7447
8207
      old_archive_From_new_cmds='true'
7448
8208
      # FIXME: Should let the user specify the lib program.
7449
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8209
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7450
8210
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7451
8211
      enable_shared_with_static_runtimes=yes
7452
8212
      ;;
7488
8248
      case $cc_basename in
7489
8249
        xlc*)
7490
8250
         output_verbose_link_cmd='echo'
7491
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8251
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7492
8252
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7493
8253
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7494
 
         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}'
 
8254
         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}'
7495
8255
          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}'
7496
8256
          ;;
7497
8257
       *)
7531
8291
      ;;
7532
8292
 
7533
8293
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7534
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8294
    freebsd* | dragonfly*)
7535
8295
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7536
8296
      hardcode_libdir_flag_spec='-R$libdir'
7537
8297
      hardcode_direct=yes
7653
8413
      ;;
7654
8414
 
7655
8415
    openbsd*)
7656
 
      hardcode_direct=yes
7657
 
      hardcode_shlibpath_var=no
7658
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7659
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7660
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7661
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7662
 
        export_dynamic_flag_spec='${wl}-E'
 
8416
      if test -f /usr/libexec/ld.so; then
 
8417
        hardcode_direct=yes
 
8418
        hardcode_shlibpath_var=no
 
8419
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8420
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8421
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8422
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8423
          export_dynamic_flag_spec='${wl}-E'
 
8424
        else
 
8425
          case $host_os in
 
8426
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8427
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8428
             hardcode_libdir_flag_spec='-R$libdir'
 
8429
             ;;
 
8430
           *)
 
8431
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8432
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8433
             ;;
 
8434
          esac
 
8435
        fi
7663
8436
      else
7664
 
       case $host_os in
7665
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7666
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7667
 
           hardcode_libdir_flag_spec='-R$libdir'
7668
 
           ;;
7669
 
         *)
7670
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7671
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7672
 
           ;;
7673
 
       esac
 
8437
        ld_shlibs=no
7674
8438
      fi
7675
8439
      ;;
7676
8440
 
7729
8493
      case $host_os in
7730
8494
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7731
8495
      *)
7732
 
        # The compiler driver will combine linker options so we
7733
 
        # cannot just pass the convience library names through
7734
 
        # without $wl, iff we do not link with $LD.
7735
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8496
        # The compiler driver will combine and reorder linker options,
 
8497
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8498
        # but is careful enough not to reorder.
7736
8499
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7737
 
        case $wlarc in
7738
 
        '')
7739
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7740
 
        *)
7741
 
          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' ;;
7742
 
        esac ;;
 
8500
        if test "$GCC" = yes; then
 
8501
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8502
        else
 
8503
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8504
        fi
 
8505
        ;;
7743
8506
      esac
7744
8507
      link_all_deplibs=yes
7745
8508
      ;;
7796
8559
      fi
7797
8560
      ;;
7798
8561
 
7799
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8562
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7800
8563
      no_undefined_flag='${wl}-z,text'
7801
8564
      archive_cmds_need_lc=no
7802
8565
      hardcode_shlibpath_var=no
7849
8612
    esac
7850
8613
  fi
7851
8614
 
7852
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7853
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8615
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8616
echo "${ECHO_T}$ld_shlibs" >&6; }
7854
8617
test "$ld_shlibs" = no && can_build_shared=no
7855
8618
 
7856
8619
#
7870
8633
      # Test whether the compiler implicitly links with -lc since on some
7871
8634
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7872
8635
      # to ld, don't add -lc before -lgcc.
7873
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7874
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8636
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8637
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7875
8638
      $rm conftest*
7876
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8639
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7877
8640
 
7878
8641
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7879
8642
  (eval $ac_compile) 2>&5
7908
8671
        cat conftest.err 1>&5
7909
8672
      fi
7910
8673
      $rm conftest*
7911
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7912
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8674
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8675
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7913
8676
      ;;
7914
8677
    esac
7915
8678
  fi
7916
8679
  ;;
7917
8680
esac
7918
8681
 
7919
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7920
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8682
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8683
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7921
8684
library_names_spec=
7922
8685
libname_spec='lib$name'
7923
8686
soname_spec=
7931
8694
version_type=none
7932
8695
dynamic_linker="$host_os ld.so"
7933
8696
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8697
 
7934
8698
if test "$GCC" = yes; then
7935
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7936
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8699
  case $host_os in
 
8700
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8701
    *) lt_awk_arg="/^libraries:/" ;;
 
8702
  esac
 
8703
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8704
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7937
8705
    # if the path contains ";" then we assume it to be the separator
7938
8706
    # otherwise default to the standard path separator (i.e. ":") - it is
7939
8707
    # assumed that no part of a normal pathname contains ";" but that should
7940
8708
    # okay in the real world where ";" in dirpaths is itself problematic.
7941
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8709
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7942
8710
  else
7943
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8711
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7944
8712
  fi
 
8713
  # Ok, now we have the path, separated by spaces, we can step through it
 
8714
  # and add multilib dir if necessary.
 
8715
  lt_tmp_lt_search_path_spec=
 
8716
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8717
  for lt_sys_path in $lt_search_path_spec; do
 
8718
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8719
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
8720
    else
 
8721
      test -d "$lt_sys_path" && \
 
8722
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
8723
    fi
 
8724
  done
 
8725
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
8726
BEGIN {RS=" "; FS="/|\n";} {
 
8727
  lt_foo="";
 
8728
  lt_count=0;
 
8729
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
8730
    if ($lt_i != "" && $lt_i != ".") {
 
8731
      if ($lt_i == "..") {
 
8732
        lt_count++;
 
8733
      } else {
 
8734
        if (lt_count == 0) {
 
8735
          lt_foo="/" $lt_i lt_foo;
 
8736
        } else {
 
8737
          lt_count--;
 
8738
        }
 
8739
      }
 
8740
    }
 
8741
  }
 
8742
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
8743
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
8744
}'`
 
8745
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7945
8746
else
7946
8747
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7947
8748
fi
8101
8902
  shlibpath_overrides_runpath=yes
8102
8903
  shlibpath_var=DYLD_LIBRARY_PATH
8103
8904
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8104
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8105
 
  if test "$GCC" = yes; then
8106
 
    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"`
8107
 
  else
8108
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8109
 
  fi
 
8905
 
 
8906
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8110
8907
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8111
8908
  ;;
8112
8909
 
8123
8920
  dynamic_linker=no
8124
8921
  ;;
8125
8922
 
8126
 
kfreebsd*-gnu)
8127
 
  version_type=linux
8128
 
  need_lib_prefix=no
8129
 
  need_version=no
8130
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8131
 
  soname_spec='${libname}${release}${shared_ext}$major'
8132
 
  shlibpath_var=LD_LIBRARY_PATH
8133
 
  shlibpath_overrides_runpath=no
8134
 
  hardcode_into_libs=yes
8135
 
  dynamic_linker='GNU ld.so'
8136
 
  ;;
8137
 
 
8138
8923
freebsd* | dragonfly*)
8139
8924
  # DragonFly does not have aout.  When/if they implement a new
8140
8925
  # versioning mechanism, adjust this.
8172
8957
    shlibpath_overrides_runpath=no
8173
8958
    hardcode_into_libs=yes
8174
8959
    ;;
8175
 
  freebsd*) # from 4.6 on
 
8960
  *) # from 4.6 on, and DragonFly
8176
8961
    shlibpath_overrides_runpath=yes
8177
8962
    hardcode_into_libs=yes
8178
8963
    ;;
8235
9020
  postinstall_cmds='chmod 555 $lib'
8236
9021
  ;;
8237
9022
 
8238
 
interix3*)
 
9023
interix[3-9]*)
8239
9024
  version_type=linux
8240
9025
  need_lib_prefix=no
8241
9026
  need_version=no
8290
9075
  ;;
8291
9076
 
8292
9077
# This must be Linux ELF.
8293
 
linux*)
 
9078
linux* | k*bsd*-gnu)
8294
9079
  version_type=linux
8295
9080
  need_lib_prefix=no
8296
9081
  need_version=no
8303
9088
  # Some rework will be needed to allow for fast_install
8304
9089
  # before this can be enabled.
8305
9090
  hardcode_into_libs=yes
8306
 
 
8307
 
  # find out which ABI we are using
8308
 
  libsuff=
8309
 
  case "$host_cpu" in
8310
 
  x86_64*|s390x*|powerpc64*)
8311
 
    echo '#line 8311 "configure"' > conftest.$ac_ext
8312
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8313
 
  (eval $ac_compile) 2>&5
8314
 
  ac_status=$?
8315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316
 
  (exit $ac_status); }; then
8317
 
      case `/usr/bin/file conftest.$ac_objext` in
8318
 
      *64-bit*)
8319
 
        libsuff=64
8320
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8321
 
        ;;
8322
 
      esac
8323
 
    fi
8324
 
    rm -rf conftest*
8325
 
    ;;
8326
 
  esac
 
9091
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
9092
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8327
9093
 
8328
9094
  # Append ld.so.conf contents to the search path
8329
9095
  if test -f /etc/ld.so.conf; then
8330
 
    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' ' '`
8331
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9096
    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' ' '`
 
9097
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
8332
9098
  fi
8333
9099
 
8334
9100
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8340
9106
  dynamic_linker='GNU/Linux ld.so'
8341
9107
  ;;
8342
9108
 
8343
 
knetbsd*-gnu)
8344
 
  version_type=linux
8345
 
  need_lib_prefix=no
8346
 
  need_version=no
8347
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8348
 
  soname_spec='${libname}${release}${shared_ext}$major'
8349
 
  shlibpath_var=LD_LIBRARY_PATH
8350
 
  shlibpath_overrides_runpath=no
8351
 
  hardcode_into_libs=yes
8352
 
  dynamic_linker='GNU ld.so'
8353
 
  ;;
8354
 
 
8355
9109
netbsd*)
8356
9110
  version_type=sunos
8357
9111
  need_lib_prefix=no
8433
9187
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8434
9188
  ;;
8435
9189
 
 
9190
rdos*)
 
9191
  dynamic_linker=no
 
9192
  ;;
 
9193
 
8436
9194
solaris*)
8437
9195
  version_type=linux
8438
9196
  need_lib_prefix=no
8525
9283
  dynamic_linker=no
8526
9284
  ;;
8527
9285
esac
8528
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8529
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9286
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9287
echo "${ECHO_T}$dynamic_linker" >&6; }
8530
9288
test "$dynamic_linker" = no && can_build_shared=no
8531
9289
 
8532
9290
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8534
9292
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8535
9293
fi
8536
9294
 
8537
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8538
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9295
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9296
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8539
9297
hardcode_action=
8540
9298
if test -n "$hardcode_libdir_flag_spec" || \
8541
9299
   test -n "$runpath_var" || \
8559
9317
  # directories.
8560
9318
  hardcode_action=unsupported
8561
9319
fi
8562
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8563
 
echo "${ECHO_T}$hardcode_action" >&6
 
9320
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9321
echo "${ECHO_T}$hardcode_action" >&6; }
8564
9322
 
8565
9323
if test "$hardcode_action" = relink; then
8566
9324
  # Fast installation is not supported
8573
9331
 
8574
9332
striplib=
8575
9333
old_striplib=
8576
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8577
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9334
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9335
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8578
9336
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8579
9337
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8580
9338
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8581
 
  echo "$as_me:$LINENO: result: yes" >&5
8582
 
echo "${ECHO_T}yes" >&6
 
9339
  { echo "$as_me:$LINENO: result: yes" >&5
 
9340
echo "${ECHO_T}yes" >&6; }
8583
9341
else
8584
9342
# FIXME - insert some real tests, host_os isn't really good enough
8585
9343
  case $host_os in
8586
9344
   darwin*)
8587
9345
       if test -n "$STRIP" ; then
8588
9346
         striplib="$STRIP -x"
8589
 
         echo "$as_me:$LINENO: result: yes" >&5
8590
 
echo "${ECHO_T}yes" >&6
 
9347
         old_striplib="$STRIP -S"
 
9348
         { echo "$as_me:$LINENO: result: yes" >&5
 
9349
echo "${ECHO_T}yes" >&6; }
8591
9350
       else
8592
 
  echo "$as_me:$LINENO: result: no" >&5
8593
 
echo "${ECHO_T}no" >&6
 
9351
  { echo "$as_me:$LINENO: result: no" >&5
 
9352
echo "${ECHO_T}no" >&6; }
8594
9353
fi
8595
9354
       ;;
8596
9355
   *)
8597
 
  echo "$as_me:$LINENO: result: no" >&5
8598
 
echo "${ECHO_T}no" >&6
 
9356
  { echo "$as_me:$LINENO: result: no" >&5
 
9357
echo "${ECHO_T}no" >&6; }
8599
9358
    ;;
8600
9359
  esac
8601
9360
fi
8627
9386
 
8628
9387
  darwin*)
8629
9388
  # if libdl is installed we need to link against it
8630
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8631
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9389
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9390
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8632
9391
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8633
9392
  echo $ECHO_N "(cached) $ECHO_C" >&6
8634
9393
else
8641
9400
cat >>conftest.$ac_ext <<_ACEOF
8642
9401
/* end confdefs.h.  */
8643
9402
 
8644
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9403
/* Override any GCC internal prototype to avoid an error.
 
9404
   Use char because int might match the return type of a GCC
 
9405
   builtin and then its argument prototype would still apply.  */
8645
9406
#ifdef __cplusplus
8646
9407
extern "C"
8647
9408
#endif
8648
 
/* We use char because int might match the return type of a gcc2
8649
 
   builtin and then its argument prototype would still apply.  */
8650
9409
char dlopen ();
8651
9410
int
8652
9411
main ()
8653
9412
{
8654
 
dlopen ();
 
9413
return dlopen ();
8655
9414
  ;
8656
9415
  return 0;
8657
9416
}
8658
9417
_ACEOF
8659
9418
rm -f conftest.$ac_objext conftest$ac_exeext
8660
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8661
 
  (eval $ac_link) 2>conftest.er1
 
9419
if { (ac_try="$ac_link"
 
9420
case "(($ac_try" in
 
9421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9422
  *) ac_try_echo=$ac_try;;
 
9423
esac
 
9424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9425
  (eval "$ac_link") 2>conftest.er1
8662
9426
  ac_status=$?
8663
9427
  grep -v '^ *+' conftest.er1 >conftest.err
8664
9428
  rm -f conftest.er1
8665
9429
  cat conftest.err >&5
8666
9430
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667
 
  (exit $ac_status); } &&
8668
 
         { ac_try='test -z "$ac_c_werror_flag"
8669
 
                         || test ! -s conftest.err'
8670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671
 
  (eval $ac_try) 2>&5
8672
 
  ac_status=$?
8673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674
 
  (exit $ac_status); }; } &&
8675
 
         { ac_try='test -s conftest$ac_exeext'
8676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8677
 
  (eval $ac_try) 2>&5
8678
 
  ac_status=$?
8679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680
 
  (exit $ac_status); }; }; then
 
9431
  (exit $ac_status); } && {
 
9432
         test -z "$ac_c_werror_flag" ||
 
9433
         test ! -s conftest.err
 
9434
       } && test -s conftest$ac_exeext &&
 
9435
       $as_test_x conftest$ac_exeext; then
8681
9436
  ac_cv_lib_dl_dlopen=yes
8682
9437
else
8683
9438
  echo "$as_me: failed program was:" >&5
8684
9439
sed 's/^/| /' conftest.$ac_ext >&5
8685
9440
 
8686
 
ac_cv_lib_dl_dlopen=no
 
9441
        ac_cv_lib_dl_dlopen=no
8687
9442
fi
8688
 
rm -f conftest.err conftest.$ac_objext \
 
9443
 
 
9444
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8689
9445
      conftest$ac_exeext conftest.$ac_ext
8690
9446
LIBS=$ac_check_lib_save_LIBS
8691
9447
fi
8692
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8693
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9448
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9449
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8694
9450
if test $ac_cv_lib_dl_dlopen = yes; then
8695
9451
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8696
9452
else
8704
9460
   ;;
8705
9461
 
8706
9462
  *)
8707
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8708
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9463
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9464
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8709
9465
if test "${ac_cv_func_shl_load+set}" = set; then
8710
9466
  echo $ECHO_N "(cached) $ECHO_C" >&6
8711
9467
else
8732
9488
 
8733
9489
#undef shl_load
8734
9490
 
8735
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9491
/* Override any GCC internal prototype to avoid an error.
 
9492
   Use char because int might match the return type of a GCC
 
9493
   builtin and then its argument prototype would still apply.  */
8736
9494
#ifdef __cplusplus
8737
9495
extern "C"
8738
 
{
8739
9496
#endif
8740
 
/* We use char because int might match the return type of a gcc2
8741
 
   builtin and then its argument prototype would still apply.  */
8742
9497
char shl_load ();
8743
9498
/* The GNU C library defines this for functions which it implements
8744
9499
    to always fail with ENOSYS.  Some functions are actually named
8745
9500
    something starting with __ and the normal name is an alias.  */
8746
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9501
#if defined __stub_shl_load || defined __stub___shl_load
8747
9502
choke me
8748
 
#else
8749
 
char (*f) () = shl_load;
8750
 
#endif
8751
 
#ifdef __cplusplus
8752
 
}
8753
9503
#endif
8754
9504
 
8755
9505
int
8756
9506
main ()
8757
9507
{
8758
 
return f != shl_load;
 
9508
return shl_load ();
8759
9509
  ;
8760
9510
  return 0;
8761
9511
}
8762
9512
_ACEOF
8763
9513
rm -f conftest.$ac_objext conftest$ac_exeext
8764
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8765
 
  (eval $ac_link) 2>conftest.er1
 
9514
if { (ac_try="$ac_link"
 
9515
case "(($ac_try" in
 
9516
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9517
  *) ac_try_echo=$ac_try;;
 
9518
esac
 
9519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9520
  (eval "$ac_link") 2>conftest.er1
8766
9521
  ac_status=$?
8767
9522
  grep -v '^ *+' conftest.er1 >conftest.err
8768
9523
  rm -f conftest.er1
8769
9524
  cat conftest.err >&5
8770
9525
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
 
  (exit $ac_status); } &&
8772
 
         { ac_try='test -z "$ac_c_werror_flag"
8773
 
                         || test ! -s conftest.err'
8774
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775
 
  (eval $ac_try) 2>&5
8776
 
  ac_status=$?
8777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778
 
  (exit $ac_status); }; } &&
8779
 
         { ac_try='test -s conftest$ac_exeext'
8780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8781
 
  (eval $ac_try) 2>&5
8782
 
  ac_status=$?
8783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784
 
  (exit $ac_status); }; }; then
 
9526
  (exit $ac_status); } && {
 
9527
         test -z "$ac_c_werror_flag" ||
 
9528
         test ! -s conftest.err
 
9529
       } && test -s conftest$ac_exeext &&
 
9530
       $as_test_x conftest$ac_exeext; then
8785
9531
  ac_cv_func_shl_load=yes
8786
9532
else
8787
9533
  echo "$as_me: failed program was:" >&5
8788
9534
sed 's/^/| /' conftest.$ac_ext >&5
8789
9535
 
8790
 
ac_cv_func_shl_load=no
 
9536
        ac_cv_func_shl_load=no
8791
9537
fi
8792
 
rm -f conftest.err conftest.$ac_objext \
 
9538
 
 
9539
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8793
9540
      conftest$ac_exeext conftest.$ac_ext
8794
9541
fi
8795
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8796
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9542
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9543
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8797
9544
if test $ac_cv_func_shl_load = yes; then
8798
9545
  lt_cv_dlopen="shl_load"
8799
9546
else
8800
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8801
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9547
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9548
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8802
9549
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8803
9550
  echo $ECHO_N "(cached) $ECHO_C" >&6
8804
9551
else
8811
9558
cat >>conftest.$ac_ext <<_ACEOF
8812
9559
/* end confdefs.h.  */
8813
9560
 
8814
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9561
/* Override any GCC internal prototype to avoid an error.
 
9562
   Use char because int might match the return type of a GCC
 
9563
   builtin and then its argument prototype would still apply.  */
8815
9564
#ifdef __cplusplus
8816
9565
extern "C"
8817
9566
#endif
8818
 
/* We use char because int might match the return type of a gcc2
8819
 
   builtin and then its argument prototype would still apply.  */
8820
9567
char shl_load ();
8821
9568
int
8822
9569
main ()
8823
9570
{
8824
 
shl_load ();
 
9571
return shl_load ();
8825
9572
  ;
8826
9573
  return 0;
8827
9574
}
8828
9575
_ACEOF
8829
9576
rm -f conftest.$ac_objext conftest$ac_exeext
8830
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8831
 
  (eval $ac_link) 2>conftest.er1
 
9577
if { (ac_try="$ac_link"
 
9578
case "(($ac_try" in
 
9579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9580
  *) ac_try_echo=$ac_try;;
 
9581
esac
 
9582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9583
  (eval "$ac_link") 2>conftest.er1
8832
9584
  ac_status=$?
8833
9585
  grep -v '^ *+' conftest.er1 >conftest.err
8834
9586
  rm -f conftest.er1
8835
9587
  cat conftest.err >&5
8836
9588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837
 
  (exit $ac_status); } &&
8838
 
         { ac_try='test -z "$ac_c_werror_flag"
8839
 
                         || test ! -s conftest.err'
8840
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841
 
  (eval $ac_try) 2>&5
8842
 
  ac_status=$?
8843
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844
 
  (exit $ac_status); }; } &&
8845
 
         { ac_try='test -s conftest$ac_exeext'
8846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8847
 
  (eval $ac_try) 2>&5
8848
 
  ac_status=$?
8849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850
 
  (exit $ac_status); }; }; then
 
9589
  (exit $ac_status); } && {
 
9590
         test -z "$ac_c_werror_flag" ||
 
9591
         test ! -s conftest.err
 
9592
       } && test -s conftest$ac_exeext &&
 
9593
       $as_test_x conftest$ac_exeext; then
8851
9594
  ac_cv_lib_dld_shl_load=yes
8852
9595
else
8853
9596
  echo "$as_me: failed program was:" >&5
8854
9597
sed 's/^/| /' conftest.$ac_ext >&5
8855
9598
 
8856
 
ac_cv_lib_dld_shl_load=no
 
9599
        ac_cv_lib_dld_shl_load=no
8857
9600
fi
8858
 
rm -f conftest.err conftest.$ac_objext \
 
9601
 
 
9602
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8859
9603
      conftest$ac_exeext conftest.$ac_ext
8860
9604
LIBS=$ac_check_lib_save_LIBS
8861
9605
fi
8862
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8863
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9606
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9607
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8864
9608
if test $ac_cv_lib_dld_shl_load = yes; then
8865
9609
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8866
9610
else
8867
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8868
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9611
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9612
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8869
9613
if test "${ac_cv_func_dlopen+set}" = set; then
8870
9614
  echo $ECHO_N "(cached) $ECHO_C" >&6
8871
9615
else
8892
9636
 
8893
9637
#undef dlopen
8894
9638
 
8895
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9639
/* Override any GCC internal prototype to avoid an error.
 
9640
   Use char because int might match the return type of a GCC
 
9641
   builtin and then its argument prototype would still apply.  */
8896
9642
#ifdef __cplusplus
8897
9643
extern "C"
8898
 
{
8899
9644
#endif
8900
 
/* We use char because int might match the return type of a gcc2
8901
 
   builtin and then its argument prototype would still apply.  */
8902
9645
char dlopen ();
8903
9646
/* The GNU C library defines this for functions which it implements
8904
9647
    to always fail with ENOSYS.  Some functions are actually named
8905
9648
    something starting with __ and the normal name is an alias.  */
8906
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9649
#if defined __stub_dlopen || defined __stub___dlopen
8907
9650
choke me
8908
 
#else
8909
 
char (*f) () = dlopen;
8910
 
#endif
8911
 
#ifdef __cplusplus
8912
 
}
8913
9651
#endif
8914
9652
 
8915
9653
int
8916
9654
main ()
8917
9655
{
8918
 
return f != dlopen;
 
9656
return dlopen ();
8919
9657
  ;
8920
9658
  return 0;
8921
9659
}
8922
9660
_ACEOF
8923
9661
rm -f conftest.$ac_objext conftest$ac_exeext
8924
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8925
 
  (eval $ac_link) 2>conftest.er1
 
9662
if { (ac_try="$ac_link"
 
9663
case "(($ac_try" in
 
9664
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9665
  *) ac_try_echo=$ac_try;;
 
9666
esac
 
9667
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9668
  (eval "$ac_link") 2>conftest.er1
8926
9669
  ac_status=$?
8927
9670
  grep -v '^ *+' conftest.er1 >conftest.err
8928
9671
  rm -f conftest.er1
8929
9672
  cat conftest.err >&5
8930
9673
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931
 
  (exit $ac_status); } &&
8932
 
         { ac_try='test -z "$ac_c_werror_flag"
8933
 
                         || test ! -s conftest.err'
8934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935
 
  (eval $ac_try) 2>&5
8936
 
  ac_status=$?
8937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938
 
  (exit $ac_status); }; } &&
8939
 
         { ac_try='test -s conftest$ac_exeext'
8940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941
 
  (eval $ac_try) 2>&5
8942
 
  ac_status=$?
8943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944
 
  (exit $ac_status); }; }; then
 
9674
  (exit $ac_status); } && {
 
9675
         test -z "$ac_c_werror_flag" ||
 
9676
         test ! -s conftest.err
 
9677
       } && test -s conftest$ac_exeext &&
 
9678
       $as_test_x conftest$ac_exeext; then
8945
9679
  ac_cv_func_dlopen=yes
8946
9680
else
8947
9681
  echo "$as_me: failed program was:" >&5
8948
9682
sed 's/^/| /' conftest.$ac_ext >&5
8949
9683
 
8950
 
ac_cv_func_dlopen=no
 
9684
        ac_cv_func_dlopen=no
8951
9685
fi
8952
 
rm -f conftest.err conftest.$ac_objext \
 
9686
 
 
9687
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8953
9688
      conftest$ac_exeext conftest.$ac_ext
8954
9689
fi
8955
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8956
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9690
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9691
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8957
9692
if test $ac_cv_func_dlopen = yes; then
8958
9693
  lt_cv_dlopen="dlopen"
8959
9694
else
8960
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8961
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9695
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9696
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8962
9697
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8963
9698
  echo $ECHO_N "(cached) $ECHO_C" >&6
8964
9699
else
8971
9706
cat >>conftest.$ac_ext <<_ACEOF
8972
9707
/* end confdefs.h.  */
8973
9708
 
8974
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9709
/* Override any GCC internal prototype to avoid an error.
 
9710
   Use char because int might match the return type of a GCC
 
9711
   builtin and then its argument prototype would still apply.  */
8975
9712
#ifdef __cplusplus
8976
9713
extern "C"
8977
9714
#endif
8978
 
/* We use char because int might match the return type of a gcc2
8979
 
   builtin and then its argument prototype would still apply.  */
8980
9715
char dlopen ();
8981
9716
int
8982
9717
main ()
8983
9718
{
8984
 
dlopen ();
 
9719
return dlopen ();
8985
9720
  ;
8986
9721
  return 0;
8987
9722
}
8988
9723
_ACEOF
8989
9724
rm -f conftest.$ac_objext conftest$ac_exeext
8990
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8991
 
  (eval $ac_link) 2>conftest.er1
 
9725
if { (ac_try="$ac_link"
 
9726
case "(($ac_try" in
 
9727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9728
  *) ac_try_echo=$ac_try;;
 
9729
esac
 
9730
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9731
  (eval "$ac_link") 2>conftest.er1
8992
9732
  ac_status=$?
8993
9733
  grep -v '^ *+' conftest.er1 >conftest.err
8994
9734
  rm -f conftest.er1
8995
9735
  cat conftest.err >&5
8996
9736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997
 
  (exit $ac_status); } &&
8998
 
         { ac_try='test -z "$ac_c_werror_flag"
8999
 
                         || test ! -s conftest.err'
9000
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9001
 
  (eval $ac_try) 2>&5
9002
 
  ac_status=$?
9003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004
 
  (exit $ac_status); }; } &&
9005
 
         { ac_try='test -s conftest$ac_exeext'
9006
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9007
 
  (eval $ac_try) 2>&5
9008
 
  ac_status=$?
9009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010
 
  (exit $ac_status); }; }; then
 
9737
  (exit $ac_status); } && {
 
9738
         test -z "$ac_c_werror_flag" ||
 
9739
         test ! -s conftest.err
 
9740
       } && test -s conftest$ac_exeext &&
 
9741
       $as_test_x conftest$ac_exeext; then
9011
9742
  ac_cv_lib_dl_dlopen=yes
9012
9743
else
9013
9744
  echo "$as_me: failed program was:" >&5
9014
9745
sed 's/^/| /' conftest.$ac_ext >&5
9015
9746
 
9016
 
ac_cv_lib_dl_dlopen=no
 
9747
        ac_cv_lib_dl_dlopen=no
9017
9748
fi
9018
 
rm -f conftest.err conftest.$ac_objext \
 
9749
 
 
9750
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9019
9751
      conftest$ac_exeext conftest.$ac_ext
9020
9752
LIBS=$ac_check_lib_save_LIBS
9021
9753
fi
9022
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9023
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9754
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9755
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9024
9756
if test $ac_cv_lib_dl_dlopen = yes; then
9025
9757
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9026
9758
else
9027
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9028
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9759
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9760
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9029
9761
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9030
9762
  echo $ECHO_N "(cached) $ECHO_C" >&6
9031
9763
else
9038
9770
cat >>conftest.$ac_ext <<_ACEOF
9039
9771
/* end confdefs.h.  */
9040
9772
 
9041
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9773
/* Override any GCC internal prototype to avoid an error.
 
9774
   Use char because int might match the return type of a GCC
 
9775
   builtin and then its argument prototype would still apply.  */
9042
9776
#ifdef __cplusplus
9043
9777
extern "C"
9044
9778
#endif
9045
 
/* We use char because int might match the return type of a gcc2
9046
 
   builtin and then its argument prototype would still apply.  */
9047
9779
char dlopen ();
9048
9780
int
9049
9781
main ()
9050
9782
{
9051
 
dlopen ();
 
9783
return dlopen ();
9052
9784
  ;
9053
9785
  return 0;
9054
9786
}
9055
9787
_ACEOF
9056
9788
rm -f conftest.$ac_objext conftest$ac_exeext
9057
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9058
 
  (eval $ac_link) 2>conftest.er1
 
9789
if { (ac_try="$ac_link"
 
9790
case "(($ac_try" in
 
9791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9792
  *) ac_try_echo=$ac_try;;
 
9793
esac
 
9794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9795
  (eval "$ac_link") 2>conftest.er1
9059
9796
  ac_status=$?
9060
9797
  grep -v '^ *+' conftest.er1 >conftest.err
9061
9798
  rm -f conftest.er1
9062
9799
  cat conftest.err >&5
9063
9800
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064
 
  (exit $ac_status); } &&
9065
 
         { ac_try='test -z "$ac_c_werror_flag"
9066
 
                         || test ! -s conftest.err'
9067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068
 
  (eval $ac_try) 2>&5
9069
 
  ac_status=$?
9070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071
 
  (exit $ac_status); }; } &&
9072
 
         { ac_try='test -s conftest$ac_exeext'
9073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074
 
  (eval $ac_try) 2>&5
9075
 
  ac_status=$?
9076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077
 
  (exit $ac_status); }; }; then
 
9801
  (exit $ac_status); } && {
 
9802
         test -z "$ac_c_werror_flag" ||
 
9803
         test ! -s conftest.err
 
9804
       } && test -s conftest$ac_exeext &&
 
9805
       $as_test_x conftest$ac_exeext; then
9078
9806
  ac_cv_lib_svld_dlopen=yes
9079
9807
else
9080
9808
  echo "$as_me: failed program was:" >&5
9081
9809
sed 's/^/| /' conftest.$ac_ext >&5
9082
9810
 
9083
 
ac_cv_lib_svld_dlopen=no
 
9811
        ac_cv_lib_svld_dlopen=no
9084
9812
fi
9085
 
rm -f conftest.err conftest.$ac_objext \
 
9813
 
 
9814
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9086
9815
      conftest$ac_exeext conftest.$ac_ext
9087
9816
LIBS=$ac_check_lib_save_LIBS
9088
9817
fi
9089
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9090
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
9818
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9819
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9091
9820
if test $ac_cv_lib_svld_dlopen = yes; then
9092
9821
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9093
9822
else
9094
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9095
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
9823
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9824
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9096
9825
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9097
9826
  echo $ECHO_N "(cached) $ECHO_C" >&6
9098
9827
else
9105
9834
cat >>conftest.$ac_ext <<_ACEOF
9106
9835
/* end confdefs.h.  */
9107
9836
 
9108
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9837
/* Override any GCC internal prototype to avoid an error.
 
9838
   Use char because int might match the return type of a GCC
 
9839
   builtin and then its argument prototype would still apply.  */
9109
9840
#ifdef __cplusplus
9110
9841
extern "C"
9111
9842
#endif
9112
 
/* We use char because int might match the return type of a gcc2
9113
 
   builtin and then its argument prototype would still apply.  */
9114
9843
char dld_link ();
9115
9844
int
9116
9845
main ()
9117
9846
{
9118
 
dld_link ();
 
9847
return dld_link ();
9119
9848
  ;
9120
9849
  return 0;
9121
9850
}
9122
9851
_ACEOF
9123
9852
rm -f conftest.$ac_objext conftest$ac_exeext
9124
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9125
 
  (eval $ac_link) 2>conftest.er1
 
9853
if { (ac_try="$ac_link"
 
9854
case "(($ac_try" in
 
9855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9856
  *) ac_try_echo=$ac_try;;
 
9857
esac
 
9858
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9859
  (eval "$ac_link") 2>conftest.er1
9126
9860
  ac_status=$?
9127
9861
  grep -v '^ *+' conftest.er1 >conftest.err
9128
9862
  rm -f conftest.er1
9129
9863
  cat conftest.err >&5
9130
9864
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131
 
  (exit $ac_status); } &&
9132
 
         { ac_try='test -z "$ac_c_werror_flag"
9133
 
                         || test ! -s conftest.err'
9134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135
 
  (eval $ac_try) 2>&5
9136
 
  ac_status=$?
9137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138
 
  (exit $ac_status); }; } &&
9139
 
         { ac_try='test -s conftest$ac_exeext'
9140
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141
 
  (eval $ac_try) 2>&5
9142
 
  ac_status=$?
9143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144
 
  (exit $ac_status); }; }; then
 
9865
  (exit $ac_status); } && {
 
9866
         test -z "$ac_c_werror_flag" ||
 
9867
         test ! -s conftest.err
 
9868
       } && test -s conftest$ac_exeext &&
 
9869
       $as_test_x conftest$ac_exeext; then
9145
9870
  ac_cv_lib_dld_dld_link=yes
9146
9871
else
9147
9872
  echo "$as_me: failed program was:" >&5
9148
9873
sed 's/^/| /' conftest.$ac_ext >&5
9149
9874
 
9150
 
ac_cv_lib_dld_dld_link=no
 
9875
        ac_cv_lib_dld_dld_link=no
9151
9876
fi
9152
 
rm -f conftest.err conftest.$ac_objext \
 
9877
 
 
9878
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9153
9879
      conftest$ac_exeext conftest.$ac_ext
9154
9880
LIBS=$ac_check_lib_save_LIBS
9155
9881
fi
9156
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9157
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
9882
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9883
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9158
9884
if test $ac_cv_lib_dld_dld_link = yes; then
9159
9885
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9160
9886
fi
9194
9920
    save_LIBS="$LIBS"
9195
9921
    LIBS="$lt_cv_dlopen_libs $LIBS"
9196
9922
 
9197
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9198
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
9923
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9924
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9199
9925
if test "${lt_cv_dlopen_self+set}" = set; then
9200
9926
  echo $ECHO_N "(cached) $ECHO_C" >&6
9201
9927
else
9205
9931
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9206
9932
  lt_status=$lt_dlunknown
9207
9933
  cat > conftest.$ac_ext <<EOF
9208
 
#line 9208 "configure"
 
9934
#line 9934 "configure"
9209
9935
#include "confdefs.h"
9210
9936
 
9211
9937
#if HAVE_DLFCN_H
9289
10015
 
9290
10016
 
9291
10017
fi
9292
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9293
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10018
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10019
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9294
10020
 
9295
10021
    if test "x$lt_cv_dlopen_self" = xyes; then
9296
10022
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9297
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9298
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10023
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10024
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9299
10025
if test "${lt_cv_dlopen_self_static+set}" = set; then
9300
10026
  echo $ECHO_N "(cached) $ECHO_C" >&6
9301
10027
else
9305
10031
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9306
10032
  lt_status=$lt_dlunknown
9307
10033
  cat > conftest.$ac_ext <<EOF
9308
 
#line 9308 "configure"
 
10034
#line 10034 "configure"
9309
10035
#include "confdefs.h"
9310
10036
 
9311
10037
#if HAVE_DLFCN_H
9389
10115
 
9390
10116
 
9391
10117
fi
9392
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9393
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10118
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10119
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9394
10120
    fi
9395
10121
 
9396
10122
    CPPFLAGS="$save_CPPFLAGS"
9412
10138
 
9413
10139
 
9414
10140
# Report which library types will actually be built
9415
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9416
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9417
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9418
 
echo "${ECHO_T}$can_build_shared" >&6
 
10141
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10142
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10143
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10144
echo "${ECHO_T}$can_build_shared" >&6; }
9419
10145
 
9420
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9421
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10146
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10147
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9422
10148
test "$can_build_shared" = "no" && enable_shared=no
9423
10149
 
9424
10150
# On AIX, shared libraries and static libraries use the same namespace, and
9438
10164
  fi
9439
10165
    ;;
9440
10166
esac
9441
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9442
 
echo "${ECHO_T}$enable_shared" >&6
 
10167
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10168
echo "${ECHO_T}$enable_shared" >&6; }
9443
10169
 
9444
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9445
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10170
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10171
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9446
10172
# Make sure either enable_shared or enable_static is yes.
9447
10173
test "$enable_shared" = yes || enable_static=yes
9448
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9449
 
echo "${ECHO_T}$enable_static" >&6
 
10174
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10175
echo "${ECHO_T}$enable_static" >&6; }
9450
10176
 
9451
10177
# The else clause should only fire when bootstrapping the
9452
10178
# libtool distribution, otherwise you forgot to ship ltmain.sh
9503
10229
    module_cmds \
9504
10230
    module_expsym_cmds \
9505
10231
    lt_cv_prog_compiler_c_o \
 
10232
    fix_srcfile_path \
9506
10233
    exclude_expsyms \
9507
10234
    include_expsyms; do
9508
10235
 
9547
10274
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9548
10275
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9549
10276
#
9550
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10277
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
9551
10278
# Free Software Foundation, Inc.
9552
10279
#
9553
10280
# This file is part of GNU Libtool:
9871
10598
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9872
10599
 
9873
10600
# Fix the shell variable \$srcfile for the compiler.
9874
 
fix_srcfile_path="$fix_srcfile_path"
 
10601
fix_srcfile_path=$lt_fix_srcfile_path
9875
10602
 
9876
10603
# Set to yes if exported symbols are required.
9877
10604
always_export_symbols=$always_export_symbols
9938
10665
CC="$lt_save_CC"
9939
10666
 
9940
10667
 
9941
 
# Check whether --with-tags or --without-tags was given.
 
10668
# Check whether --with-tags was given.
9942
10669
if test "${with_tags+set}" = set; then
9943
 
  withval="$with_tags"
9944
 
  tagnames="$withval"
9945
 
fi;
 
10670
  withval=$with_tags; tagnames="$withval"
 
10671
fi
 
10672
 
9946
10673
 
9947
10674
if test -f "$ltmain" && test -n "$tagnames"; then
9948
10675
  if test ! -f "${ofile}"; then
9996
10723
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9997
10724
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9998
10725
            (test "X$CXX" != "Xg++"))) ; then
9999
 
          ac_ext=cc
 
10726
          ac_ext=cpp
10000
10727
ac_cpp='$CXXCPP $CPPFLAGS'
10001
10728
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10002
10729
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10040
10767
objext_CXX=$objext
10041
10768
 
10042
10769
# Code to be used in simple compile tests
10043
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
10770
lt_simple_compile_test_code="int some_variable = 0;"
10044
10771
 
10045
10772
# Code to be used in simple link tests
10046
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
10773
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10047
10774
 
10048
10775
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10049
10776
 
10059
10786
 
10060
10787
# save warnings/boilerplate of simple test code
10061
10788
ac_outfile=conftest.$ac_objext
10062
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10789
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10063
10790
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10064
10791
_lt_compiler_boilerplate=`cat conftest.err`
10065
10792
$rm conftest*
10066
10793
 
10067
10794
ac_outfile=conftest.$ac_objext
10068
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
10795
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10069
10796
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10070
10797
_lt_linker_boilerplate=`cat conftest.err`
10071
10798
$rm conftest*
10115
10842
  # Set up default GNU C++ configuration
10116
10843
 
10117
10844
 
10118
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
10845
# Check whether --with-gnu-ld was given.
10119
10846
if test "${with_gnu_ld+set}" = set; then
10120
 
  withval="$with_gnu_ld"
10121
 
  test "$withval" = no || with_gnu_ld=yes
 
10847
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10122
10848
else
10123
10849
  with_gnu_ld=no
10124
 
fi;
 
10850
fi
 
10851
 
10125
10852
ac_prog=ld
10126
10853
if test "$GCC" = yes; then
10127
10854
  # Check if gcc -print-prog-name=ld gives a path.
10128
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10129
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
10855
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
10856
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10130
10857
  case $host in
10131
10858
  *-*-mingw*)
10132
10859
    # gcc leaves a trailing carriage return which upsets mingw
10155
10882
    ;;
10156
10883
  esac
10157
10884
elif test "$with_gnu_ld" = yes; then
10158
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10159
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
10885
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10886
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10160
10887
else
10161
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10162
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
10888
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10889
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10163
10890
fi
10164
10891
if test "${lt_cv_path_LD+set}" = set; then
10165
10892
  echo $ECHO_N "(cached) $ECHO_C" >&6
10192
10919
 
10193
10920
LD="$lt_cv_path_LD"
10194
10921
if test -n "$LD"; then
10195
 
  echo "$as_me:$LINENO: result: $LD" >&5
10196
 
echo "${ECHO_T}$LD" >&6
 
10922
  { echo "$as_me:$LINENO: result: $LD" >&5
 
10923
echo "${ECHO_T}$LD" >&6; }
10197
10924
else
10198
 
  echo "$as_me:$LINENO: result: no" >&5
10199
 
echo "${ECHO_T}no" >&6
 
10925
  { echo "$as_me:$LINENO: result: no" >&5
 
10926
echo "${ECHO_T}no" >&6; }
10200
10927
fi
10201
10928
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10202
10929
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10203
10930
   { (exit 1); exit 1; }; }
10204
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10205
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
10931
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10932
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10206
10933
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10207
10934
  echo $ECHO_N "(cached) $ECHO_C" >&6
10208
10935
else
10216
10943
  ;;
10217
10944
esac
10218
10945
fi
10219
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10220
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
10946
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10947
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10221
10948
with_gnu_ld=$lt_cv_prog_gnu_ld
10222
10949
 
10223
10950
 
10267
10994
fi
10268
10995
 
10269
10996
# PORTME: fill in a description of your system's C++ link characteristics
10270
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10271
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10997
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10998
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10272
10999
ld_shlibs_CXX=yes
10273
11000
case $host_os in
10274
11001
  aix3*)
10324
11051
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10325
11052
        then
10326
11053
          # We have reworked collect2
10327
 
          hardcode_direct_CXX=yes
 
11054
          :
10328
11055
        else
10329
11056
          # We have old collect2
10330
11057
          hardcode_direct_CXX=unsupported
10380
11107
}
10381
11108
_ACEOF
10382
11109
rm -f conftest.$ac_objext conftest$ac_exeext
10383
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10384
 
  (eval $ac_link) 2>conftest.er1
 
11110
if { (ac_try="$ac_link"
 
11111
case "(($ac_try" in
 
11112
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11113
  *) ac_try_echo=$ac_try;;
 
11114
esac
 
11115
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11116
  (eval "$ac_link") 2>conftest.er1
10385
11117
  ac_status=$?
10386
11118
  grep -v '^ *+' conftest.er1 >conftest.err
10387
11119
  rm -f conftest.er1
10388
11120
  cat conftest.err >&5
10389
11121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390
 
  (exit $ac_status); } &&
10391
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10392
 
                         || test ! -s conftest.err'
10393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394
 
  (eval $ac_try) 2>&5
10395
 
  ac_status=$?
10396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397
 
  (exit $ac_status); }; } &&
10398
 
         { ac_try='test -s conftest$ac_exeext'
10399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400
 
  (eval $ac_try) 2>&5
10401
 
  ac_status=$?
10402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403
 
  (exit $ac_status); }; }; then
 
11122
  (exit $ac_status); } && {
 
11123
         test -z "$ac_cxx_werror_flag" ||
 
11124
         test ! -s conftest.err
 
11125
       } && test -s conftest$ac_exeext &&
 
11126
       $as_test_x conftest$ac_exeext; then
10404
11127
 
10405
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10406
 
}'`
 
11128
lt_aix_libpath_sed='
 
11129
    /Import File Strings/,/^$/ {
 
11130
        /^0/ {
 
11131
            s/^0  *\(.*\)$/\1/
 
11132
            p
 
11133
        }
 
11134
    }'
 
11135
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10407
11136
# Check for a 64-bit object if we didn't find anything.
10408
 
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; }
10409
 
}'`; fi
 
11137
if test -z "$aix_libpath"; then
 
11138
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11139
fi
10410
11140
else
10411
11141
  echo "$as_me: failed program was:" >&5
10412
11142
sed 's/^/| /' conftest.$ac_ext >&5
10413
11143
 
 
11144
 
10414
11145
fi
10415
 
rm -f conftest.err conftest.$ac_objext \
 
11146
 
 
11147
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10416
11148
      conftest$ac_exeext conftest.$ac_ext
10417
11149
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10418
11150
 
10442
11174
}
10443
11175
_ACEOF
10444
11176
rm -f conftest.$ac_objext conftest$ac_exeext
10445
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10446
 
  (eval $ac_link) 2>conftest.er1
 
11177
if { (ac_try="$ac_link"
 
11178
case "(($ac_try" in
 
11179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11180
  *) ac_try_echo=$ac_try;;
 
11181
esac
 
11182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11183
  (eval "$ac_link") 2>conftest.er1
10447
11184
  ac_status=$?
10448
11185
  grep -v '^ *+' conftest.er1 >conftest.err
10449
11186
  rm -f conftest.er1
10450
11187
  cat conftest.err >&5
10451
11188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452
 
  (exit $ac_status); } &&
10453
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10454
 
                         || test ! -s conftest.err'
10455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456
 
  (eval $ac_try) 2>&5
10457
 
  ac_status=$?
10458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459
 
  (exit $ac_status); }; } &&
10460
 
         { ac_try='test -s conftest$ac_exeext'
10461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462
 
  (eval $ac_try) 2>&5
10463
 
  ac_status=$?
10464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465
 
  (exit $ac_status); }; }; then
 
11189
  (exit $ac_status); } && {
 
11190
         test -z "$ac_cxx_werror_flag" ||
 
11191
         test ! -s conftest.err
 
11192
       } && test -s conftest$ac_exeext &&
 
11193
       $as_test_x conftest$ac_exeext; then
10466
11194
 
10467
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10468
 
}'`
 
11195
lt_aix_libpath_sed='
 
11196
    /Import File Strings/,/^$/ {
 
11197
        /^0/ {
 
11198
            s/^0  *\(.*\)$/\1/
 
11199
            p
 
11200
        }
 
11201
    }'
 
11202
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10469
11203
# Check for a 64-bit object if we didn't find anything.
10470
 
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; }
10471
 
}'`; fi
 
11204
if test -z "$aix_libpath"; then
 
11205
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11206
fi
10472
11207
else
10473
11208
  echo "$as_me: failed program was:" >&5
10474
11209
sed 's/^/| /' conftest.$ac_ext >&5
10475
11210
 
 
11211
 
10476
11212
fi
10477
 
rm -f conftest.err conftest.$ac_objext \
 
11213
 
 
11214
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10478
11215
      conftest$ac_exeext conftest.$ac_ext
10479
11216
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10480
11217
 
10585
11322
      case $cc_basename in
10586
11323
        xlc*)
10587
11324
         output_verbose_link_cmd='echo'
10588
 
          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'
 
11325
          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'
10589
11326
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10590
11327
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10591
 
          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}'
 
11328
          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}'
10592
11329
          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}'
10593
11330
          ;;
10594
11331
       *)
10622
11359
  freebsd-elf*)
10623
11360
    archive_cmds_need_lc_CXX=no
10624
11361
    ;;
10625
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11362
  freebsd* | dragonfly*)
10626
11363
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10627
11364
    # conventions
10628
11365
    ld_shlibs_CXX=yes
10671
11408
      hardcode_libdir_separator_CXX=:
10672
11409
 
10673
11410
      case $host_cpu in
10674
 
      hppa*64*|ia64*)
10675
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10676
 
        ;;
 
11411
      hppa*64*|ia64*) ;;
10677
11412
      *)
10678
11413
        export_dynamic_flag_spec_CXX='${wl}-E'
10679
11414
        ;;
10741
11476
        ;;
10742
11477
    esac
10743
11478
    ;;
10744
 
  interix3*)
 
11479
  interix[3-9]*)
10745
11480
    hardcode_direct_CXX=no
10746
11481
    hardcode_shlibpath_var_CXX=no
10747
11482
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10781
11516
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10782
11517
    hardcode_libdir_separator_CXX=:
10783
11518
    ;;
10784
 
  linux*)
 
11519
  linux* | k*bsd*-gnu)
10785
11520
    case $cc_basename in
10786
11521
      KCC*)
10787
11522
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10861
11596
        # dependencies.
10862
11597
        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'
10863
11598
        ;;
 
11599
      *)
 
11600
        case `$CC -V 2>&1 | sed 5q` in
 
11601
        *Sun\ C*)
 
11602
          # Sun C++ 5.9
 
11603
          no_undefined_flag_CXX=' -zdefs'
 
11604
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11605
          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'
 
11606
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11607
          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'
 
11608
 
 
11609
          # Not sure whether something based on
 
11610
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11611
          # would be better.
 
11612
          output_verbose_link_cmd='echo'
 
11613
 
 
11614
          # Archives containing C++ object files must be created using
 
11615
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11616
          # necessary to make sure instantiated templates are included
 
11617
          # in the archive.
 
11618
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11619
          ;;
 
11620
        esac
 
11621
        ;;
10864
11622
    esac
10865
11623
    ;;
10866
11624
  lynxos*)
10899
11657
    ld_shlibs_CXX=no
10900
11658
    ;;
10901
11659
  openbsd*)
10902
 
    hardcode_direct_CXX=yes
10903
 
    hardcode_shlibpath_var_CXX=no
10904
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10905
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10906
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10907
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10908
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10909
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11660
    if test -f /usr/libexec/ld.so; then
 
11661
      hardcode_direct_CXX=yes
 
11662
      hardcode_shlibpath_var_CXX=no
 
11663
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11664
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11665
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11666
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11667
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11668
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11669
      fi
 
11670
      output_verbose_link_cmd='echo'
 
11671
    else
 
11672
      ld_shlibs_CXX=no
10910
11673
    fi
10911
 
    output_verbose_link_cmd='echo'
10912
11674
    ;;
10913
11675
  osf3*)
10914
11676
    case $cc_basename in
11070
11832
        case $host_os in
11071
11833
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11072
11834
          *)
11073
 
            # The C++ compiler is used as linker so we must use $wl
11074
 
            # flag to pass the commands to the underlying system
11075
 
            # linker. We must also pass each convience library through
11076
 
            # to the system linker between allextract/defaultextract.
11077
 
            # The C++ compiler will combine linker options so we
11078
 
            # cannot just pass the convience library names through
11079
 
            # without $wl.
 
11835
            # The compiler driver will combine and reorder linker options,
 
11836
            # but understands `-z linker_flag'.
11080
11837
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11081
 
            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'
 
11838
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11082
11839
            ;;
11083
11840
        esac
11084
11841
        link_all_deplibs_CXX=yes
11125
11882
          fi
11126
11883
 
11127
11884
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
11885
          case $host_os in
 
11886
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11887
          *)
 
11888
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11889
            ;;
 
11890
          esac
11128
11891
        fi
11129
11892
        ;;
11130
11893
    esac
11205
11968
    ld_shlibs_CXX=no
11206
11969
    ;;
11207
11970
esac
11208
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11209
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
11971
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11972
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11210
11973
test "$ld_shlibs_CXX" = no && can_build_shared=no
11211
11974
 
11212
11975
GCC_CXX="$GXX"
11316
12079
 
11317
12080
# PORTME: override above test on systems where it is broken
11318
12081
case $host_os in
11319
 
interix3*)
 
12082
interix[3-9]*)
11320
12083
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11321
12084
  # hack all around it, let's just trust "g++" to DTRT.
11322
12085
  predep_objects_CXX=
11324
12087
  postdeps_CXX=
11325
12088
  ;;
11326
12089
 
 
12090
linux*)
 
12091
  case `$CC -V 2>&1 | sed 5q` in
 
12092
  *Sun\ C*)
 
12093
    # Sun C++ 5.9
 
12094
    #
 
12095
    # The more standards-conforming stlport4 library is
 
12096
    # incompatible with the Cstd library. Avoid specifying
 
12097
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12098
    # -library=stlport4 depends on it.
 
12099
    case " $CXX $CXXFLAGS " in
 
12100
    *" -library=stlport4 "*)
 
12101
      solaris_use_stlport4=yes
 
12102
      ;;
 
12103
    esac
 
12104
    if test "$solaris_use_stlport4" != yes; then
 
12105
      postdeps_CXX='-library=Cstd -library=Crun'
 
12106
    fi
 
12107
    ;;
 
12108
  esac
 
12109
  ;;
 
12110
 
11327
12111
solaris*)
11328
12112
  case $cc_basename in
11329
12113
  CC*)
 
12114
    # The more standards-conforming stlport4 library is
 
12115
    # incompatible with the Cstd library. Avoid specifying
 
12116
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12117
    # -library=stlport4 depends on it.
 
12118
    case " $CXX $CXXFLAGS " in
 
12119
    *" -library=stlport4 "*)
 
12120
      solaris_use_stlport4=yes
 
12121
      ;;
 
12122
    esac
 
12123
 
11330
12124
    # Adding this requires a known-good setup of shared libraries for
11331
12125
    # Sun compiler versions before 5.6, else PIC objects from an old
11332
12126
    # archive will be linked into the output, leading to subtle bugs.
11333
 
    postdeps_CXX='-lCstd -lCrun'
 
12127
    if test "$solaris_use_stlport4" != yes; then
 
12128
      postdeps_CXX='-library=Cstd -library=Crun'
 
12129
    fi
11334
12130
    ;;
11335
12131
  esac
11336
12132
  ;;
11345
12141
lt_prog_compiler_pic_CXX=
11346
12142
lt_prog_compiler_static_CXX=
11347
12143
 
11348
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11349
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12144
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12145
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11350
12146
 
11351
12147
  # C++ specific cases for pic, static, wl, etc.
11352
12148
  if test "$GXX" = yes; then
11367
12163
      # like `-m68040'.
11368
12164
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11369
12165
      ;;
11370
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12166
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11371
12167
      # PIC is the default for these OSes.
11372
12168
      ;;
11373
 
    mingw* | os2* | pw32*)
 
12169
    mingw* | cygwin* | os2* | pw32*)
11374
12170
      # This hack is so that the source file can tell whether it is being
11375
12171
      # built for inclusion in a dll (and should export symbols for example).
 
12172
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12173
      # (--disable-auto-import) libraries
11376
12174
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11377
12175
      ;;
11378
12176
    darwin* | rhapsody*)
11384
12182
      # DJGPP does not support shared libraries at all
11385
12183
      lt_prog_compiler_pic_CXX=
11386
12184
      ;;
11387
 
    interix3*)
 
12185
    interix[3-9]*)
11388
12186
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11389
12187
      # Instead, we relocate shared libraries at runtime.
11390
12188
      ;;
11450
12248
            ;;
11451
12249
        esac
11452
12250
        ;;
11453
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12251
      freebsd* | dragonfly*)
11454
12252
        # FreeBSD uses GNU C++
11455
12253
        ;;
11456
12254
      hpux9* | hpux10* | hpux11*)
11493
12291
            ;;
11494
12292
        esac
11495
12293
        ;;
11496
 
      linux*)
 
12294
      linux* | k*bsd*-gnu)
11497
12295
        case $cc_basename in
11498
12296
          KCC*)
11499
12297
            # KAI C++ Compiler
11520
12318
            lt_prog_compiler_static_CXX='-non_shared'
11521
12319
            ;;
11522
12320
          *)
 
12321
            case `$CC -V 2>&1 | sed 5q` in
 
12322
            *Sun\ C*)
 
12323
              # Sun C++ 5.9
 
12324
              lt_prog_compiler_pic_CXX='-KPIC'
 
12325
              lt_prog_compiler_static_CXX='-Bstatic'
 
12326
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12327
              ;;
 
12328
            esac
11523
12329
            ;;
11524
12330
        esac
11525
12331
        ;;
11619
12425
    esac
11620
12426
  fi
11621
12427
 
11622
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11623
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12428
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12429
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11624
12430
 
11625
12431
#
11626
12432
# Check to make sure the PIC flag actually works.
11627
12433
#
11628
12434
if test -n "$lt_prog_compiler_pic_CXX"; then
11629
12435
 
11630
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11631
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12436
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12437
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11632
12438
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11633
12439
  echo $ECHO_N "(cached) $ECHO_C" >&6
11634
12440
else
11635
12441
  lt_prog_compiler_pic_works_CXX=no
11636
12442
  ac_outfile=conftest.$ac_objext
11637
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12443
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11638
12444
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11639
12445
   # Insert the option either (1) after the last *FLAGS variable, or
11640
12446
   # (2) before a word containing "conftest.", or (3) at the end.
11645
12451
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11646
12452
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11647
12453
   -e 's:$: $lt_compiler_flag:'`
11648
 
   (eval echo "\"\$as_me:11648: $lt_compile\"" >&5)
 
12454
   (eval echo "\"\$as_me:12454: $lt_compile\"" >&5)
11649
12455
   (eval "$lt_compile" 2>conftest.err)
11650
12456
   ac_status=$?
11651
12457
   cat conftest.err >&5
11652
 
   echo "$as_me:11652: \$? = $ac_status" >&5
 
12458
   echo "$as_me:12458: \$? = $ac_status" >&5
11653
12459
   if (exit $ac_status) && test -s "$ac_outfile"; then
11654
12460
     # The compiler can only warn and ignore the option if not recognized
11655
12461
     # So say no if there are warnings other than the usual output.
11662
12468
   $rm conftest*
11663
12469
 
11664
12470
fi
11665
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11666
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12471
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12472
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11667
12473
 
11668
12474
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11669
12475
    case $lt_prog_compiler_pic_CXX in
11690
12496
# Check to make sure the static flag actually works.
11691
12497
#
11692
12498
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11693
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11694
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
12499
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12500
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11695
12501
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11696
12502
  echo $ECHO_N "(cached) $ECHO_C" >&6
11697
12503
else
11698
12504
  lt_prog_compiler_static_works_CXX=no
11699
12505
   save_LDFLAGS="$LDFLAGS"
11700
12506
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11701
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12507
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11702
12508
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11703
12509
     # The linker can only warn and ignore the option if not recognized
11704
12510
     # So say no if there are warnings
11718
12524
   LDFLAGS="$save_LDFLAGS"
11719
12525
 
11720
12526
fi
11721
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11722
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12527
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12528
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11723
12529
 
11724
12530
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11725
12531
    :
11728
12534
fi
11729
12535
 
11730
12536
 
11731
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11732
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12537
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12538
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11733
12539
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11734
12540
  echo $ECHO_N "(cached) $ECHO_C" >&6
11735
12541
else
11738
12544
   mkdir conftest
11739
12545
   cd conftest
11740
12546
   mkdir out
11741
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12547
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11742
12548
 
11743
12549
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11744
12550
   # Insert the option either (1) after the last *FLAGS variable, or
11749
12555
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11750
12556
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11751
12557
   -e 's:$: $lt_compiler_flag:'`
11752
 
   (eval echo "\"\$as_me:11752: $lt_compile\"" >&5)
 
12558
   (eval echo "\"\$as_me:12558: $lt_compile\"" >&5)
11753
12559
   (eval "$lt_compile" 2>out/conftest.err)
11754
12560
   ac_status=$?
11755
12561
   cat out/conftest.err >&5
11756
 
   echo "$as_me:11756: \$? = $ac_status" >&5
 
12562
   echo "$as_me:12562: \$? = $ac_status" >&5
11757
12563
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11758
12564
   then
11759
12565
     # The compiler can only warn and ignore the option if not recognized
11775
12581
   $rm conftest*
11776
12582
 
11777
12583
fi
11778
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11779
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12584
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12585
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11780
12586
 
11781
12587
 
11782
12588
hard_links="nottested"
11783
12589
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11784
12590
  # do not overwrite the value of need_locks provided by the user
11785
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11786
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12591
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12592
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11787
12593
  hard_links=yes
11788
12594
  $rm conftest*
11789
12595
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11790
12596
  touch conftest.a
11791
12597
  ln conftest.a conftest.b 2>&5 || hard_links=no
11792
12598
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11793
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11794
 
echo "${ECHO_T}$hard_links" >&6
 
12599
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12600
echo "${ECHO_T}$hard_links" >&6; }
11795
12601
  if test "$hard_links" = no; then
11796
12602
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11797
12603
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11801
12607
  need_locks=no
11802
12608
fi
11803
12609
 
11804
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11805
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12610
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12611
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11806
12612
 
11807
12613
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11808
12614
  case $host_os in
11819
12625
    export_symbols_cmds_CXX="$ltdll_cmds"
11820
12626
  ;;
11821
12627
  cygwin* | mingw*)
11822
 
    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'
 
12628
    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'
11823
12629
  ;;
11824
12630
  *)
11825
12631
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11826
12632
  ;;
11827
12633
  esac
11828
12634
 
11829
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11830
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12635
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12636
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11831
12637
test "$ld_shlibs_CXX" = no && can_build_shared=no
11832
12638
 
11833
12639
#
11847
12653
      # Test whether the compiler implicitly links with -lc since on some
11848
12654
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11849
12655
      # to ld, don't add -lc before -lgcc.
11850
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11851
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12656
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12657
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11852
12658
      $rm conftest*
11853
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12659
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11854
12660
 
11855
12661
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11856
12662
  (eval $ac_compile) 2>&5
11885
12691
        cat conftest.err 1>&5
11886
12692
      fi
11887
12693
      $rm conftest*
11888
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11889
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12694
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12695
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11890
12696
      ;;
11891
12697
    esac
11892
12698
  fi
11893
12699
  ;;
11894
12700
esac
11895
12701
 
11896
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11897
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12702
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12703
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11898
12704
library_names_spec=
11899
12705
libname_spec='lib$name'
11900
12706
soname_spec=
11908
12714
version_type=none
11909
12715
dynamic_linker="$host_os ld.so"
11910
12716
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11911
 
if test "$GCC" = yes; then
11912
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11913
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11914
 
    # if the path contains ";" then we assume it to be the separator
11915
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11916
 
    # assumed that no part of a normal pathname contains ";" but that should
11917
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11918
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11919
 
  else
11920
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11921
 
  fi
11922
 
else
11923
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11924
 
fi
 
12717
 
11925
12718
need_lib_prefix=unknown
11926
12719
hardcode_into_libs=no
11927
12720
 
12078
12871
  shlibpath_overrides_runpath=yes
12079
12872
  shlibpath_var=DYLD_LIBRARY_PATH
12080
12873
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12081
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12082
 
  if test "$GCC" = yes; then
12083
 
    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"`
12084
 
  else
12085
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12086
 
  fi
 
12874
 
12087
12875
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12088
12876
  ;;
12089
12877
 
12100
12888
  dynamic_linker=no
12101
12889
  ;;
12102
12890
 
12103
 
kfreebsd*-gnu)
12104
 
  version_type=linux
12105
 
  need_lib_prefix=no
12106
 
  need_version=no
12107
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12108
 
  soname_spec='${libname}${release}${shared_ext}$major'
12109
 
  shlibpath_var=LD_LIBRARY_PATH
12110
 
  shlibpath_overrides_runpath=no
12111
 
  hardcode_into_libs=yes
12112
 
  dynamic_linker='GNU ld.so'
12113
 
  ;;
12114
 
 
12115
12891
freebsd* | dragonfly*)
12116
12892
  # DragonFly does not have aout.  When/if they implement a new
12117
12893
  # versioning mechanism, adjust this.
12149
12925
    shlibpath_overrides_runpath=no
12150
12926
    hardcode_into_libs=yes
12151
12927
    ;;
12152
 
  freebsd*) # from 4.6 on
 
12928
  *) # from 4.6 on, and DragonFly
12153
12929
    shlibpath_overrides_runpath=yes
12154
12930
    hardcode_into_libs=yes
12155
12931
    ;;
12212
12988
  postinstall_cmds='chmod 555 $lib'
12213
12989
  ;;
12214
12990
 
12215
 
interix3*)
 
12991
interix[3-9]*)
12216
12992
  version_type=linux
12217
12993
  need_lib_prefix=no
12218
12994
  need_version=no
12267
13043
  ;;
12268
13044
 
12269
13045
# This must be Linux ELF.
12270
 
linux*)
 
13046
linux* | k*bsd*-gnu)
12271
13047
  version_type=linux
12272
13048
  need_lib_prefix=no
12273
13049
  need_version=no
12280
13056
  # Some rework will be needed to allow for fast_install
12281
13057
  # before this can be enabled.
12282
13058
  hardcode_into_libs=yes
12283
 
 
12284
 
  # find out which ABI we are using
12285
 
  libsuff=
12286
 
  case "$host_cpu" in
12287
 
  x86_64*|s390x*|powerpc64*)
12288
 
    echo '#line 12288 "configure"' > conftest.$ac_ext
12289
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12290
 
  (eval $ac_compile) 2>&5
12291
 
  ac_status=$?
12292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293
 
  (exit $ac_status); }; then
12294
 
      case `/usr/bin/file conftest.$ac_objext` in
12295
 
      *64-bit*)
12296
 
        libsuff=64
12297
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12298
 
        ;;
12299
 
      esac
12300
 
    fi
12301
 
    rm -rf conftest*
12302
 
    ;;
12303
 
  esac
 
13059
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
13060
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12304
13061
 
12305
13062
  # Append ld.so.conf contents to the search path
12306
13063
  if test -f /etc/ld.so.conf; then
12307
 
    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' ' '`
12308
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13064
    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' ' '`
 
13065
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12309
13066
  fi
12310
13067
 
12311
13068
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12317
13074
  dynamic_linker='GNU/Linux ld.so'
12318
13075
  ;;
12319
13076
 
12320
 
knetbsd*-gnu)
12321
 
  version_type=linux
12322
 
  need_lib_prefix=no
12323
 
  need_version=no
12324
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12325
 
  soname_spec='${libname}${release}${shared_ext}$major'
12326
 
  shlibpath_var=LD_LIBRARY_PATH
12327
 
  shlibpath_overrides_runpath=no
12328
 
  hardcode_into_libs=yes
12329
 
  dynamic_linker='GNU ld.so'
12330
 
  ;;
12331
 
 
12332
13077
netbsd*)
12333
13078
  version_type=sunos
12334
13079
  need_lib_prefix=no
12410
13155
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12411
13156
  ;;
12412
13157
 
 
13158
rdos*)
 
13159
  dynamic_linker=no
 
13160
  ;;
 
13161
 
12413
13162
solaris*)
12414
13163
  version_type=linux
12415
13164
  need_lib_prefix=no
12502
13251
  dynamic_linker=no
12503
13252
  ;;
12504
13253
esac
12505
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12506
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13254
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13255
echo "${ECHO_T}$dynamic_linker" >&6; }
12507
13256
test "$dynamic_linker" = no && can_build_shared=no
12508
13257
 
12509
13258
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12511
13260
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12512
13261
fi
12513
13262
 
12514
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12515
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13263
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13264
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12516
13265
hardcode_action_CXX=
12517
13266
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12518
13267
   test -n "$runpath_var_CXX" || \
12536
13285
  # directories.
12537
13286
  hardcode_action_CXX=unsupported
12538
13287
fi
12539
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12540
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13288
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13289
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12541
13290
 
12542
13291
if test "$hardcode_action_CXX" = relink; then
12543
13292
  # Fast installation is not supported
12604
13353
    module_cmds_CXX \
12605
13354
    module_expsym_cmds_CXX \
12606
13355
    lt_cv_prog_compiler_c_o_CXX \
 
13356
    fix_srcfile_path_CXX \
12607
13357
    exclude_expsyms_CXX \
12608
13358
    include_expsyms_CXX; do
12609
13359
 
12924
13674
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12925
13675
 
12926
13676
# Fix the shell variable \$srcfile for the compiler.
12927
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13677
fix_srcfile_path=$lt_fix_srcfile_path
12928
13678
 
12929
13679
# Set to yes if exported symbols are required.
12930
13680
always_export_symbols=$always_export_symbols_CXX
13015
13765
objext_F77=$objext
13016
13766
 
13017
13767
# Code to be used in simple compile tests
13018
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
13768
lt_simple_compile_test_code="\
 
13769
      subroutine t
 
13770
      return
 
13771
      end
 
13772
"
13019
13773
 
13020
13774
# Code to be used in simple link tests
13021
 
lt_simple_link_test_code="      program t\n      end\n"
 
13775
lt_simple_link_test_code="\
 
13776
      program t
 
13777
      end
 
13778
"
13022
13779
 
13023
13780
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13024
13781
 
13034
13791
 
13035
13792
# save warnings/boilerplate of simple test code
13036
13793
ac_outfile=conftest.$ac_objext
13037
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13794
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13038
13795
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13039
13796
_lt_compiler_boilerplate=`cat conftest.err`
13040
13797
$rm conftest*
13041
13798
 
13042
13799
ac_outfile=conftest.$ac_objext
13043
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
13800
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13044
13801
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13045
13802
_lt_linker_boilerplate=`cat conftest.err`
13046
13803
$rm conftest*
13062
13819
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13063
13820
 
13064
13821
 
13065
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13066
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13067
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13068
 
echo "${ECHO_T}$can_build_shared" >&6
 
13822
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13823
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
13824
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13825
echo "${ECHO_T}$can_build_shared" >&6; }
13069
13826
 
13070
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13071
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13827
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13828
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13072
13829
test "$can_build_shared" = "no" && enable_shared=no
13073
13830
 
13074
13831
# On AIX, shared libraries and static libraries use the same namespace, and
13087
13844
  fi
13088
13845
  ;;
13089
13846
esac
13090
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13091
 
echo "${ECHO_T}$enable_shared" >&6
 
13847
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13848
echo "${ECHO_T}$enable_shared" >&6; }
13092
13849
 
13093
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13094
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13850
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13851
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13095
13852
# Make sure either enable_shared or enable_static is yes.
13096
13853
test "$enable_shared" = yes || enable_static=yes
13097
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13098
 
echo "${ECHO_T}$enable_static" >&6
 
13854
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13855
echo "${ECHO_T}$enable_static" >&6; }
13099
13856
 
13100
13857
GCC_F77="$G77"
13101
13858
LD_F77="$LD"
13104
13861
lt_prog_compiler_pic_F77=
13105
13862
lt_prog_compiler_static_F77=
13106
13863
 
13107
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13108
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
13864
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13865
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13109
13866
 
13110
13867
  if test "$GCC" = yes; then
13111
13868
    lt_prog_compiler_wl_F77='-Wl,'
13127
13884
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13128
13885
      ;;
13129
13886
 
13130
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13887
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13131
13888
      # PIC is the default for these OSes.
13132
13889
      ;;
13133
13890
 
13134
 
    mingw* | pw32* | os2*)
 
13891
    mingw* | cygwin* | pw32* | os2*)
13135
13892
      # This hack is so that the source file can tell whether it is being
13136
13893
      # built for inclusion in a dll (and should export symbols for example).
 
13894
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13895
      # (--disable-auto-import) libraries
13137
13896
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13138
13897
      ;;
13139
13898
 
13143
13902
      lt_prog_compiler_pic_F77='-fno-common'
13144
13903
      ;;
13145
13904
 
13146
 
    interix3*)
 
13905
    interix[3-9]*)
13147
13906
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13148
13907
      # Instead, we relocate shared libraries at runtime.
13149
13908
      ;;
13201
13960
       esac
13202
13961
       ;;
13203
13962
 
13204
 
    mingw* | pw32* | os2*)
 
13963
    mingw* | cygwin* | pw32* | os2*)
13205
13964
      # This hack is so that the source file can tell whether it is being
13206
13965
      # built for inclusion in a dll (and should export symbols for example).
13207
13966
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13234
13993
      lt_prog_compiler_static_F77='-Bstatic'
13235
13994
      ;;
13236
13995
 
13237
 
    linux*)
 
13996
    linux* | k*bsd*-gnu)
13238
13997
      case $cc_basename in
13239
13998
      icc* | ecc*)
13240
13999
        lt_prog_compiler_wl_F77='-Wl,'
13253
14012
        # All Alpha code is PIC.
13254
14013
        lt_prog_compiler_static_F77='-non_shared'
13255
14014
        ;;
 
14015
      *)
 
14016
        case `$CC -V 2>&1 | sed 5q` in
 
14017
        *Sun\ C*)
 
14018
          # Sun C 5.9
 
14019
          lt_prog_compiler_pic_F77='-KPIC'
 
14020
          lt_prog_compiler_static_F77='-Bstatic'
 
14021
          lt_prog_compiler_wl_F77='-Wl,'
 
14022
          ;;
 
14023
        *Sun\ F*)
 
14024
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14025
          lt_prog_compiler_pic_F77='-KPIC'
 
14026
          lt_prog_compiler_static_F77='-Bstatic'
 
14027
          lt_prog_compiler_wl_F77=''
 
14028
          ;;
 
14029
        esac
 
14030
        ;;
13256
14031
      esac
13257
14032
      ;;
13258
14033
 
13262
14037
      lt_prog_compiler_static_F77='-non_shared'
13263
14038
      ;;
13264
14039
 
 
14040
    rdos*)
 
14041
      lt_prog_compiler_static_F77='-non_shared'
 
14042
      ;;
 
14043
 
13265
14044
    solaris*)
13266
14045
      lt_prog_compiler_pic_F77='-KPIC'
13267
14046
      lt_prog_compiler_static_F77='-Bstatic'
13314
14093
    esac
13315
14094
  fi
13316
14095
 
13317
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13318
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14096
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14097
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13319
14098
 
13320
14099
#
13321
14100
# Check to make sure the PIC flag actually works.
13322
14101
#
13323
14102
if test -n "$lt_prog_compiler_pic_F77"; then
13324
14103
 
13325
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13326
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14104
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14105
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13327
14106
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13328
14107
  echo $ECHO_N "(cached) $ECHO_C" >&6
13329
14108
else
13330
14109
  lt_prog_compiler_pic_works_F77=no
13331
14110
  ac_outfile=conftest.$ac_objext
13332
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14111
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13333
14112
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13334
14113
   # Insert the option either (1) after the last *FLAGS variable, or
13335
14114
   # (2) before a word containing "conftest.", or (3) at the end.
13340
14119
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13341
14120
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13342
14121
   -e 's:$: $lt_compiler_flag:'`
13343
 
   (eval echo "\"\$as_me:13343: $lt_compile\"" >&5)
 
14122
   (eval echo "\"\$as_me:14122: $lt_compile\"" >&5)
13344
14123
   (eval "$lt_compile" 2>conftest.err)
13345
14124
   ac_status=$?
13346
14125
   cat conftest.err >&5
13347
 
   echo "$as_me:13347: \$? = $ac_status" >&5
 
14126
   echo "$as_me:14126: \$? = $ac_status" >&5
13348
14127
   if (exit $ac_status) && test -s "$ac_outfile"; then
13349
14128
     # The compiler can only warn and ignore the option if not recognized
13350
14129
     # So say no if there are warnings other than the usual output.
13357
14136
   $rm conftest*
13358
14137
 
13359
14138
fi
13360
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13361
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14139
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14140
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13362
14141
 
13363
14142
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13364
14143
    case $lt_prog_compiler_pic_F77 in
13385
14164
# Check to make sure the static flag actually works.
13386
14165
#
13387
14166
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13388
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13389
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
14167
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14168
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13390
14169
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13391
14170
  echo $ECHO_N "(cached) $ECHO_C" >&6
13392
14171
else
13393
14172
  lt_prog_compiler_static_works_F77=no
13394
14173
   save_LDFLAGS="$LDFLAGS"
13395
14174
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13396
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14175
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13397
14176
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13398
14177
     # The linker can only warn and ignore the option if not recognized
13399
14178
     # So say no if there are warnings
13413
14192
   LDFLAGS="$save_LDFLAGS"
13414
14193
 
13415
14194
fi
13416
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13417
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
14195
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14196
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13418
14197
 
13419
14198
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13420
14199
    :
13423
14202
fi
13424
14203
 
13425
14204
 
13426
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13427
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14205
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14206
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13428
14207
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13429
14208
  echo $ECHO_N "(cached) $ECHO_C" >&6
13430
14209
else
13433
14212
   mkdir conftest
13434
14213
   cd conftest
13435
14214
   mkdir out
13436
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14215
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13437
14216
 
13438
14217
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13439
14218
   # Insert the option either (1) after the last *FLAGS variable, or
13444
14223
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13445
14224
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13446
14225
   -e 's:$: $lt_compiler_flag:'`
13447
 
   (eval echo "\"\$as_me:13447: $lt_compile\"" >&5)
 
14226
   (eval echo "\"\$as_me:14226: $lt_compile\"" >&5)
13448
14227
   (eval "$lt_compile" 2>out/conftest.err)
13449
14228
   ac_status=$?
13450
14229
   cat out/conftest.err >&5
13451
 
   echo "$as_me:13451: \$? = $ac_status" >&5
 
14230
   echo "$as_me:14230: \$? = $ac_status" >&5
13452
14231
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13453
14232
   then
13454
14233
     # The compiler can only warn and ignore the option if not recognized
13470
14249
   $rm conftest*
13471
14250
 
13472
14251
fi
13473
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13474
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14252
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14253
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13475
14254
 
13476
14255
 
13477
14256
hard_links="nottested"
13478
14257
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13479
14258
  # do not overwrite the value of need_locks provided by the user
13480
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13481
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14259
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14260
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13482
14261
  hard_links=yes
13483
14262
  $rm conftest*
13484
14263
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13485
14264
  touch conftest.a
13486
14265
  ln conftest.a conftest.b 2>&5 || hard_links=no
13487
14266
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13488
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13489
 
echo "${ECHO_T}$hard_links" >&6
 
14267
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14268
echo "${ECHO_T}$hard_links" >&6; }
13490
14269
  if test "$hard_links" = no; then
13491
14270
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13492
14271
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13496
14275
  need_locks=no
13497
14276
fi
13498
14277
 
13499
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13500
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14278
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14279
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13501
14280
 
13502
14281
  runpath_var=
13503
14282
  allow_undefined_flag_F77=
13640
14419
      allow_undefined_flag_F77=unsupported
13641
14420
      always_export_symbols_F77=no
13642
14421
      enable_shared_with_static_runtimes_F77=yes
13643
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14422
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13644
14423
 
13645
14424
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13646
14425
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13658
14437
      fi
13659
14438
      ;;
13660
14439
 
13661
 
    interix3*)
 
14440
    interix[3-9]*)
13662
14441
      hardcode_direct_F77=no
13663
14442
      hardcode_shlibpath_var_F77=no
13664
14443
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13673
14452
      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'
13674
14453
      ;;
13675
14454
 
13676
 
    linux*)
 
14455
    gnu* | linux* | k*bsd*-gnu)
13677
14456
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13678
14457
        tmp_addflag=
13679
14458
        case $cc_basename,$host_cpu in
13691
14470
        ifc* | ifort*)                  # Intel Fortran compiler
13692
14471
          tmp_addflag=' -nofor_main' ;;
13693
14472
        esac
13694
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14473
        case `$CC -V 2>&1 | sed 5q` in
 
14474
        *Sun\ C*)                       # Sun C 5.9
 
14475
          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'
 
14476
          tmp_sharedflag='-G' ;;
 
14477
        *Sun\ F*)                       # Sun Fortran 8.3
 
14478
          tmp_sharedflag='-G' ;;
 
14479
        *)
 
14480
          tmp_sharedflag='-shared' ;;
 
14481
        esac
 
14482
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13695
14483
 
13696
14484
        if test $supports_anon_versioning = yes; then
13697
14485
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13698
14486
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13699
14487
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13700
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14488
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13701
14489
        fi
13702
14490
      else
13703
14491
        ld_shlibs_F77=no
13856
14644
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13857
14645
          then
13858
14646
          # We have reworked collect2
13859
 
          hardcode_direct_F77=yes
 
14647
          :
13860
14648
          else
13861
14649
          # We have old collect2
13862
14650
          hardcode_direct_F77=unsupported
13902
14690
      end
13903
14691
_ACEOF
13904
14692
rm -f conftest.$ac_objext conftest$ac_exeext
13905
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13906
 
  (eval $ac_link) 2>conftest.er1
 
14693
if { (ac_try="$ac_link"
 
14694
case "(($ac_try" in
 
14695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14696
  *) ac_try_echo=$ac_try;;
 
14697
esac
 
14698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14699
  (eval "$ac_link") 2>conftest.er1
13907
14700
  ac_status=$?
13908
14701
  grep -v '^ *+' conftest.er1 >conftest.err
13909
14702
  rm -f conftest.er1
13910
14703
  cat conftest.err >&5
13911
14704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912
 
  (exit $ac_status); } &&
13913
 
         { ac_try='test -z "$ac_f77_werror_flag"
13914
 
                         || test ! -s conftest.err'
13915
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916
 
  (eval $ac_try) 2>&5
13917
 
  ac_status=$?
13918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919
 
  (exit $ac_status); }; } &&
13920
 
         { ac_try='test -s conftest$ac_exeext'
13921
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922
 
  (eval $ac_try) 2>&5
13923
 
  ac_status=$?
13924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925
 
  (exit $ac_status); }; }; then
 
14705
  (exit $ac_status); } && {
 
14706
         test -z "$ac_f77_werror_flag" ||
 
14707
         test ! -s conftest.err
 
14708
       } && test -s conftest$ac_exeext &&
 
14709
       $as_test_x conftest$ac_exeext; then
13926
14710
 
13927
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13928
 
}'`
 
14711
lt_aix_libpath_sed='
 
14712
    /Import File Strings/,/^$/ {
 
14713
        /^0/ {
 
14714
            s/^0  *\(.*\)$/\1/
 
14715
            p
 
14716
        }
 
14717
    }'
 
14718
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13929
14719
# Check for a 64-bit object if we didn't find anything.
13930
 
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; }
13931
 
}'`; fi
 
14720
if test -z "$aix_libpath"; then
 
14721
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14722
fi
13932
14723
else
13933
14724
  echo "$as_me: failed program was:" >&5
13934
14725
sed 's/^/| /' conftest.$ac_ext >&5
13935
14726
 
 
14727
 
13936
14728
fi
13937
 
rm -f conftest.err conftest.$ac_objext \
 
14729
 
 
14730
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13938
14731
      conftest$ac_exeext conftest.$ac_ext
13939
14732
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13940
14733
 
13953
14746
      end
13954
14747
_ACEOF
13955
14748
rm -f conftest.$ac_objext conftest$ac_exeext
13956
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13957
 
  (eval $ac_link) 2>conftest.er1
 
14749
if { (ac_try="$ac_link"
 
14750
case "(($ac_try" in
 
14751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14752
  *) ac_try_echo=$ac_try;;
 
14753
esac
 
14754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14755
  (eval "$ac_link") 2>conftest.er1
13958
14756
  ac_status=$?
13959
14757
  grep -v '^ *+' conftest.er1 >conftest.err
13960
14758
  rm -f conftest.er1
13961
14759
  cat conftest.err >&5
13962
14760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963
 
  (exit $ac_status); } &&
13964
 
         { ac_try='test -z "$ac_f77_werror_flag"
13965
 
                         || test ! -s conftest.err'
13966
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967
 
  (eval $ac_try) 2>&5
13968
 
  ac_status=$?
13969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970
 
  (exit $ac_status); }; } &&
13971
 
         { ac_try='test -s conftest$ac_exeext'
13972
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973
 
  (eval $ac_try) 2>&5
13974
 
  ac_status=$?
13975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976
 
  (exit $ac_status); }; }; then
 
14761
  (exit $ac_status); } && {
 
14762
         test -z "$ac_f77_werror_flag" ||
 
14763
         test ! -s conftest.err
 
14764
       } && test -s conftest$ac_exeext &&
 
14765
       $as_test_x conftest$ac_exeext; then
13977
14766
 
13978
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13979
 
}'`
 
14767
lt_aix_libpath_sed='
 
14768
    /Import File Strings/,/^$/ {
 
14769
        /^0/ {
 
14770
            s/^0  *\(.*\)$/\1/
 
14771
            p
 
14772
        }
 
14773
    }'
 
14774
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13980
14775
# Check for a 64-bit object if we didn't find anything.
13981
 
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; }
13982
 
}'`; fi
 
14776
if test -z "$aix_libpath"; then
 
14777
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14778
fi
13983
14779
else
13984
14780
  echo "$as_me: failed program was:" >&5
13985
14781
sed 's/^/| /' conftest.$ac_ext >&5
13986
14782
 
 
14783
 
13987
14784
fi
13988
 
rm -f conftest.err conftest.$ac_objext \
 
14785
 
 
14786
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13989
14787
      conftest$ac_exeext conftest.$ac_ext
13990
14788
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13991
14789
 
14031
14829
      # The linker will automatically build a .lib file if we build a DLL.
14032
14830
      old_archive_From_new_cmds_F77='true'
14033
14831
      # FIXME: Should let the user specify the lib program.
14034
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
14832
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
14035
14833
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14036
14834
      enable_shared_with_static_runtimes_F77=yes
14037
14835
      ;;
14073
14871
      case $cc_basename in
14074
14872
        xlc*)
14075
14873
         output_verbose_link_cmd='echo'
14076
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
14874
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14077
14875
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14078
14876
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14079
 
         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}'
 
14877
         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}'
14080
14878
          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}'
14081
14879
          ;;
14082
14880
       *)
14116
14914
      ;;
14117
14915
 
14118
14916
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14119
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
14917
    freebsd* | dragonfly*)
14120
14918
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14121
14919
      hardcode_libdir_flag_spec_F77='-R$libdir'
14122
14920
      hardcode_direct_F77=yes
14238
15036
      ;;
14239
15037
 
14240
15038
    openbsd*)
14241
 
      hardcode_direct_F77=yes
14242
 
      hardcode_shlibpath_var_F77=no
14243
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14244
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14245
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14246
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14247
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15039
      if test -f /usr/libexec/ld.so; then
 
15040
        hardcode_direct_F77=yes
 
15041
        hardcode_shlibpath_var_F77=no
 
15042
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15043
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15044
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15045
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15046
          export_dynamic_flag_spec_F77='${wl}-E'
 
15047
        else
 
15048
          case $host_os in
 
15049
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15050
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15051
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15052
             ;;
 
15053
           *)
 
15054
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15055
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15056
             ;;
 
15057
          esac
 
15058
        fi
14248
15059
      else
14249
 
       case $host_os in
14250
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14251
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14252
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14253
 
           ;;
14254
 
         *)
14255
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14256
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14257
 
           ;;
14258
 
       esac
 
15060
        ld_shlibs_F77=no
14259
15061
      fi
14260
15062
      ;;
14261
15063
 
14314
15116
      case $host_os in
14315
15117
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14316
15118
      *)
14317
 
        # The compiler driver will combine linker options so we
14318
 
        # cannot just pass the convience library names through
14319
 
        # without $wl, iff we do not link with $LD.
14320
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15119
        # The compiler driver will combine and reorder linker options,
 
15120
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15121
        # but is careful enough not to reorder.
14321
15122
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14322
 
        case $wlarc in
14323
 
        '')
14324
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14325
 
        *)
14326
 
          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' ;;
14327
 
        esac ;;
 
15123
        if test "$GCC" = yes; then
 
15124
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15125
        else
 
15126
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15127
        fi
 
15128
        ;;
14328
15129
      esac
14329
15130
      link_all_deplibs_F77=yes
14330
15131
      ;;
14381
15182
      fi
14382
15183
      ;;
14383
15184
 
14384
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15185
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14385
15186
      no_undefined_flag_F77='${wl}-z,text'
14386
15187
      archive_cmds_need_lc_F77=no
14387
15188
      hardcode_shlibpath_var_F77=no
14434
15235
    esac
14435
15236
  fi
14436
15237
 
14437
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14438
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15238
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15239
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14439
15240
test "$ld_shlibs_F77" = no && can_build_shared=no
14440
15241
 
14441
15242
#
14455
15256
      # Test whether the compiler implicitly links with -lc since on some
14456
15257
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14457
15258
      # to ld, don't add -lc before -lgcc.
14458
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14459
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15259
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15260
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14460
15261
      $rm conftest*
14461
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15262
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14462
15263
 
14463
15264
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14464
15265
  (eval $ac_compile) 2>&5
14493
15294
        cat conftest.err 1>&5
14494
15295
      fi
14495
15296
      $rm conftest*
14496
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14497
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15297
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15298
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14498
15299
      ;;
14499
15300
    esac
14500
15301
  fi
14501
15302
  ;;
14502
15303
esac
14503
15304
 
14504
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14505
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15305
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15306
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14506
15307
library_names_spec=
14507
15308
libname_spec='lib$name'
14508
15309
soname_spec=
14516
15317
version_type=none
14517
15318
dynamic_linker="$host_os ld.so"
14518
15319
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14519
 
if test "$GCC" = yes; then
14520
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14521
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14522
 
    # if the path contains ";" then we assume it to be the separator
14523
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14524
 
    # assumed that no part of a normal pathname contains ";" but that should
14525
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14526
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14527
 
  else
14528
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14529
 
  fi
14530
 
else
14531
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14532
 
fi
 
15320
 
14533
15321
need_lib_prefix=unknown
14534
15322
hardcode_into_libs=no
14535
15323
 
14686
15474
  shlibpath_overrides_runpath=yes
14687
15475
  shlibpath_var=DYLD_LIBRARY_PATH
14688
15476
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14689
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14690
 
  if test "$GCC" = yes; then
14691
 
    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"`
14692
 
  else
14693
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14694
 
  fi
 
15477
 
14695
15478
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14696
15479
  ;;
14697
15480
 
14708
15491
  dynamic_linker=no
14709
15492
  ;;
14710
15493
 
14711
 
kfreebsd*-gnu)
14712
 
  version_type=linux
14713
 
  need_lib_prefix=no
14714
 
  need_version=no
14715
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14716
 
  soname_spec='${libname}${release}${shared_ext}$major'
14717
 
  shlibpath_var=LD_LIBRARY_PATH
14718
 
  shlibpath_overrides_runpath=no
14719
 
  hardcode_into_libs=yes
14720
 
  dynamic_linker='GNU ld.so'
14721
 
  ;;
14722
 
 
14723
15494
freebsd* | dragonfly*)
14724
15495
  # DragonFly does not have aout.  When/if they implement a new
14725
15496
  # versioning mechanism, adjust this.
14757
15528
    shlibpath_overrides_runpath=no
14758
15529
    hardcode_into_libs=yes
14759
15530
    ;;
14760
 
  freebsd*) # from 4.6 on
 
15531
  *) # from 4.6 on, and DragonFly
14761
15532
    shlibpath_overrides_runpath=yes
14762
15533
    hardcode_into_libs=yes
14763
15534
    ;;
14820
15591
  postinstall_cmds='chmod 555 $lib'
14821
15592
  ;;
14822
15593
 
14823
 
interix3*)
 
15594
interix[3-9]*)
14824
15595
  version_type=linux
14825
15596
  need_lib_prefix=no
14826
15597
  need_version=no
14875
15646
  ;;
14876
15647
 
14877
15648
# This must be Linux ELF.
14878
 
linux*)
 
15649
linux* | k*bsd*-gnu)
14879
15650
  version_type=linux
14880
15651
  need_lib_prefix=no
14881
15652
  need_version=no
14888
15659
  # Some rework will be needed to allow for fast_install
14889
15660
  # before this can be enabled.
14890
15661
  hardcode_into_libs=yes
14891
 
 
14892
 
  # find out which ABI we are using
14893
 
  libsuff=
14894
 
  case "$host_cpu" in
14895
 
  x86_64*|s390x*|powerpc64*)
14896
 
    echo '#line 14896 "configure"' > conftest.$ac_ext
14897
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14898
 
  (eval $ac_compile) 2>&5
14899
 
  ac_status=$?
14900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901
 
  (exit $ac_status); }; then
14902
 
      case `/usr/bin/file conftest.$ac_objext` in
14903
 
      *64-bit*)
14904
 
        libsuff=64
14905
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14906
 
        ;;
14907
 
      esac
14908
 
    fi
14909
 
    rm -rf conftest*
14910
 
    ;;
14911
 
  esac
 
15662
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
15663
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14912
15664
 
14913
15665
  # Append ld.so.conf contents to the search path
14914
15666
  if test -f /etc/ld.so.conf; then
14915
 
    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' ' '`
14916
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
15667
    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' ' '`
 
15668
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14917
15669
  fi
14918
15670
 
14919
15671
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14925
15677
  dynamic_linker='GNU/Linux ld.so'
14926
15678
  ;;
14927
15679
 
14928
 
knetbsd*-gnu)
14929
 
  version_type=linux
14930
 
  need_lib_prefix=no
14931
 
  need_version=no
14932
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14933
 
  soname_spec='${libname}${release}${shared_ext}$major'
14934
 
  shlibpath_var=LD_LIBRARY_PATH
14935
 
  shlibpath_overrides_runpath=no
14936
 
  hardcode_into_libs=yes
14937
 
  dynamic_linker='GNU ld.so'
14938
 
  ;;
14939
 
 
14940
15680
netbsd*)
14941
15681
  version_type=sunos
14942
15682
  need_lib_prefix=no
15018
15758
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15019
15759
  ;;
15020
15760
 
 
15761
rdos*)
 
15762
  dynamic_linker=no
 
15763
  ;;
 
15764
 
15021
15765
solaris*)
15022
15766
  version_type=linux
15023
15767
  need_lib_prefix=no
15110
15854
  dynamic_linker=no
15111
15855
  ;;
15112
15856
esac
15113
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15114
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15857
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15858
echo "${ECHO_T}$dynamic_linker" >&6; }
15115
15859
test "$dynamic_linker" = no && can_build_shared=no
15116
15860
 
15117
15861
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15119
15863
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15120
15864
fi
15121
15865
 
15122
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15123
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15866
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15867
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15124
15868
hardcode_action_F77=
15125
15869
if test -n "$hardcode_libdir_flag_spec_F77" || \
15126
15870
   test -n "$runpath_var_F77" || \
15144
15888
  # directories.
15145
15889
  hardcode_action_F77=unsupported
15146
15890
fi
15147
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15148
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
15891
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
15892
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15149
15893
 
15150
15894
if test "$hardcode_action_F77" = relink; then
15151
15895
  # Fast installation is not supported
15212
15956
    module_cmds_F77 \
15213
15957
    module_expsym_cmds_F77 \
15214
15958
    lt_cv_prog_compiler_c_o_F77 \
 
15959
    fix_srcfile_path_F77 \
15215
15960
    exclude_expsyms_F77 \
15216
15961
    include_expsyms_F77; do
15217
15962
 
15532
16277
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15533
16278
 
15534
16279
# Fix the shell variable \$srcfile for the compiler.
15535
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16280
fix_srcfile_path=$lt_fix_srcfile_path
15536
16281
 
15537
16282
# Set to yes if exported symbols are required.
15538
16283
always_export_symbols=$always_export_symbols_F77
15582
16327
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15583
16328
 
15584
16329
 
15585
 
 
15586
16330
# Source file extension for Java test sources.
15587
16331
ac_ext=java
15588
16332
 
15591
16335
objext_GCJ=$objext
15592
16336
 
15593
16337
# Code to be used in simple compile tests
15594
 
lt_simple_compile_test_code="class foo {}\n"
 
16338
lt_simple_compile_test_code="class foo {}"
15595
16339
 
15596
16340
# Code to be used in simple link tests
15597
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16341
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15598
16342
 
15599
16343
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15600
16344
 
15610
16354
 
15611
16355
# save warnings/boilerplate of simple test code
15612
16356
ac_outfile=conftest.$ac_objext
15613
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16357
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15614
16358
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15615
16359
_lt_compiler_boilerplate=`cat conftest.err`
15616
16360
$rm conftest*
15617
16361
 
15618
16362
ac_outfile=conftest.$ac_objext
15619
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16363
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15620
16364
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15621
16365
_lt_linker_boilerplate=`cat conftest.err`
15622
16366
$rm conftest*
15650
16394
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15651
16395
 
15652
16396
 
15653
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15654
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16397
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16398
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15655
16399
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15656
16400
  echo $ECHO_N "(cached) $ECHO_C" >&6
15657
16401
else
15658
16402
  lt_cv_prog_compiler_rtti_exceptions=no
15659
16403
  ac_outfile=conftest.$ac_objext
15660
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16404
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15661
16405
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15662
16406
   # Insert the option either (1) after the last *FLAGS variable, or
15663
16407
   # (2) before a word containing "conftest.", or (3) at the end.
15668
16412
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15669
16413
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15670
16414
   -e 's:$: $lt_compiler_flag:'`
15671
 
   (eval echo "\"\$as_me:15671: $lt_compile\"" >&5)
 
16415
   (eval echo "\"\$as_me:16415: $lt_compile\"" >&5)
15672
16416
   (eval "$lt_compile" 2>conftest.err)
15673
16417
   ac_status=$?
15674
16418
   cat conftest.err >&5
15675
 
   echo "$as_me:15675: \$? = $ac_status" >&5
 
16419
   echo "$as_me:16419: \$? = $ac_status" >&5
15676
16420
   if (exit $ac_status) && test -s "$ac_outfile"; then
15677
16421
     # The compiler can only warn and ignore the option if not recognized
15678
16422
     # So say no if there are warnings other than the usual output.
15685
16429
   $rm conftest*
15686
16430
 
15687
16431
fi
15688
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15689
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16432
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16433
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15690
16434
 
15691
16435
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15692
16436
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15700
16444
lt_prog_compiler_pic_GCJ=
15701
16445
lt_prog_compiler_static_GCJ=
15702
16446
 
15703
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15704
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16447
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16448
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15705
16449
 
15706
16450
  if test "$GCC" = yes; then
15707
16451
    lt_prog_compiler_wl_GCJ='-Wl,'
15723
16467
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15724
16468
      ;;
15725
16469
 
15726
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16470
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15727
16471
      # PIC is the default for these OSes.
15728
16472
      ;;
15729
16473
 
15730
 
    mingw* | pw32* | os2*)
 
16474
    mingw* | cygwin* | pw32* | os2*)
15731
16475
      # This hack is so that the source file can tell whether it is being
15732
16476
      # built for inclusion in a dll (and should export symbols for example).
 
16477
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16478
      # (--disable-auto-import) libraries
15733
16479
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15734
16480
      ;;
15735
16481
 
15739
16485
      lt_prog_compiler_pic_GCJ='-fno-common'
15740
16486
      ;;
15741
16487
 
15742
 
    interix3*)
 
16488
    interix[3-9]*)
15743
16489
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15744
16490
      # Instead, we relocate shared libraries at runtime.
15745
16491
      ;;
15797
16543
       esac
15798
16544
       ;;
15799
16545
 
15800
 
    mingw* | pw32* | os2*)
 
16546
    mingw* | cygwin* | pw32* | os2*)
15801
16547
      # This hack is so that the source file can tell whether it is being
15802
16548
      # built for inclusion in a dll (and should export symbols for example).
15803
16549
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15830
16576
      lt_prog_compiler_static_GCJ='-Bstatic'
15831
16577
      ;;
15832
16578
 
15833
 
    linux*)
 
16579
    linux* | k*bsd*-gnu)
15834
16580
      case $cc_basename in
15835
16581
      icc* | ecc*)
15836
16582
        lt_prog_compiler_wl_GCJ='-Wl,'
15849
16595
        # All Alpha code is PIC.
15850
16596
        lt_prog_compiler_static_GCJ='-non_shared'
15851
16597
        ;;
 
16598
      *)
 
16599
        case `$CC -V 2>&1 | sed 5q` in
 
16600
        *Sun\ C*)
 
16601
          # Sun C 5.9
 
16602
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16603
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16604
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16605
          ;;
 
16606
        *Sun\ F*)
 
16607
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16608
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16609
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16610
          lt_prog_compiler_wl_GCJ=''
 
16611
          ;;
 
16612
        esac
 
16613
        ;;
15852
16614
      esac
15853
16615
      ;;
15854
16616
 
15858
16620
      lt_prog_compiler_static_GCJ='-non_shared'
15859
16621
      ;;
15860
16622
 
 
16623
    rdos*)
 
16624
      lt_prog_compiler_static_GCJ='-non_shared'
 
16625
      ;;
 
16626
 
15861
16627
    solaris*)
15862
16628
      lt_prog_compiler_pic_GCJ='-KPIC'
15863
16629
      lt_prog_compiler_static_GCJ='-Bstatic'
15910
16676
    esac
15911
16677
  fi
15912
16678
 
15913
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15914
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16679
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16680
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15915
16681
 
15916
16682
#
15917
16683
# Check to make sure the PIC flag actually works.
15918
16684
#
15919
16685
if test -n "$lt_prog_compiler_pic_GCJ"; then
15920
16686
 
15921
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15922
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16687
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16688
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15923
16689
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15924
16690
  echo $ECHO_N "(cached) $ECHO_C" >&6
15925
16691
else
15926
16692
  lt_prog_compiler_pic_works_GCJ=no
15927
16693
  ac_outfile=conftest.$ac_objext
15928
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16694
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15929
16695
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15930
16696
   # Insert the option either (1) after the last *FLAGS variable, or
15931
16697
   # (2) before a word containing "conftest.", or (3) at the end.
15936
16702
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15937
16703
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15938
16704
   -e 's:$: $lt_compiler_flag:'`
15939
 
   (eval echo "\"\$as_me:15939: $lt_compile\"" >&5)
 
16705
   (eval echo "\"\$as_me:16705: $lt_compile\"" >&5)
15940
16706
   (eval "$lt_compile" 2>conftest.err)
15941
16707
   ac_status=$?
15942
16708
   cat conftest.err >&5
15943
 
   echo "$as_me:15943: \$? = $ac_status" >&5
 
16709
   echo "$as_me:16709: \$? = $ac_status" >&5
15944
16710
   if (exit $ac_status) && test -s "$ac_outfile"; then
15945
16711
     # The compiler can only warn and ignore the option if not recognized
15946
16712
     # So say no if there are warnings other than the usual output.
15953
16719
   $rm conftest*
15954
16720
 
15955
16721
fi
15956
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15957
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16722
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16723
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15958
16724
 
15959
16725
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15960
16726
    case $lt_prog_compiler_pic_GCJ in
15981
16747
# Check to make sure the static flag actually works.
15982
16748
#
15983
16749
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15984
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15985
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
16750
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16751
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15986
16752
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15987
16753
  echo $ECHO_N "(cached) $ECHO_C" >&6
15988
16754
else
15989
16755
  lt_prog_compiler_static_works_GCJ=no
15990
16756
   save_LDFLAGS="$LDFLAGS"
15991
16757
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15992
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16758
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15993
16759
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15994
16760
     # The linker can only warn and ignore the option if not recognized
15995
16761
     # So say no if there are warnings
16009
16775
   LDFLAGS="$save_LDFLAGS"
16010
16776
 
16011
16777
fi
16012
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16013
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
16778
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
16779
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16014
16780
 
16015
16781
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16016
16782
    :
16019
16785
fi
16020
16786
 
16021
16787
 
16022
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16023
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16788
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16789
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16024
16790
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16025
16791
  echo $ECHO_N "(cached) $ECHO_C" >&6
16026
16792
else
16029
16795
   mkdir conftest
16030
16796
   cd conftest
16031
16797
   mkdir out
16032
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16798
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16033
16799
 
16034
16800
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16035
16801
   # Insert the option either (1) after the last *FLAGS variable, or
16040
16806
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16041
16807
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16042
16808
   -e 's:$: $lt_compiler_flag:'`
16043
 
   (eval echo "\"\$as_me:16043: $lt_compile\"" >&5)
 
16809
   (eval echo "\"\$as_me:16809: $lt_compile\"" >&5)
16044
16810
   (eval "$lt_compile" 2>out/conftest.err)
16045
16811
   ac_status=$?
16046
16812
   cat out/conftest.err >&5
16047
 
   echo "$as_me:16047: \$? = $ac_status" >&5
 
16813
   echo "$as_me:16813: \$? = $ac_status" >&5
16048
16814
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16049
16815
   then
16050
16816
     # The compiler can only warn and ignore the option if not recognized
16066
16832
   $rm conftest*
16067
16833
 
16068
16834
fi
16069
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16070
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
16835
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
16836
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16071
16837
 
16072
16838
 
16073
16839
hard_links="nottested"
16074
16840
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16075
16841
  # do not overwrite the value of need_locks provided by the user
16076
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16077
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16842
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16843
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16078
16844
  hard_links=yes
16079
16845
  $rm conftest*
16080
16846
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16081
16847
  touch conftest.a
16082
16848
  ln conftest.a conftest.b 2>&5 || hard_links=no
16083
16849
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16084
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16085
 
echo "${ECHO_T}$hard_links" >&6
 
16850
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16851
echo "${ECHO_T}$hard_links" >&6; }
16086
16852
  if test "$hard_links" = no; then
16087
16853
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16088
16854
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16092
16858
  need_locks=no
16093
16859
fi
16094
16860
 
16095
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16096
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16861
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16862
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16097
16863
 
16098
16864
  runpath_var=
16099
16865
  allow_undefined_flag_GCJ=
16236
17002
      allow_undefined_flag_GCJ=unsupported
16237
17003
      always_export_symbols_GCJ=no
16238
17004
      enable_shared_with_static_runtimes_GCJ=yes
16239
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17005
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16240
17006
 
16241
17007
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16242
17008
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16254
17020
      fi
16255
17021
      ;;
16256
17022
 
16257
 
    interix3*)
 
17023
    interix[3-9]*)
16258
17024
      hardcode_direct_GCJ=no
16259
17025
      hardcode_shlibpath_var_GCJ=no
16260
17026
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16269
17035
      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'
16270
17036
      ;;
16271
17037
 
16272
 
    linux*)
 
17038
    gnu* | linux* | k*bsd*-gnu)
16273
17039
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16274
17040
        tmp_addflag=
16275
17041
        case $cc_basename,$host_cpu in
16287
17053
        ifc* | ifort*)                  # Intel Fortran compiler
16288
17054
          tmp_addflag=' -nofor_main' ;;
16289
17055
        esac
16290
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17056
        case `$CC -V 2>&1 | sed 5q` in
 
17057
        *Sun\ C*)                       # Sun C 5.9
 
17058
          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'
 
17059
          tmp_sharedflag='-G' ;;
 
17060
        *Sun\ F*)                       # Sun Fortran 8.3
 
17061
          tmp_sharedflag='-G' ;;
 
17062
        *)
 
17063
          tmp_sharedflag='-shared' ;;
 
17064
        esac
 
17065
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16291
17066
 
16292
17067
        if test $supports_anon_versioning = yes; then
16293
17068
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16294
17069
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16295
17070
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16296
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17071
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16297
17072
        fi
16298
17073
      else
16299
17074
        ld_shlibs_GCJ=no
16452
17227
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16453
17228
          then
16454
17229
          # We have reworked collect2
16455
 
          hardcode_direct_GCJ=yes
 
17230
          :
16456
17231
          else
16457
17232
          # We have old collect2
16458
17233
          hardcode_direct_GCJ=unsupported
16508
17283
}
16509
17284
_ACEOF
16510
17285
rm -f conftest.$ac_objext conftest$ac_exeext
16511
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16512
 
  (eval $ac_link) 2>conftest.er1
 
17286
if { (ac_try="$ac_link"
 
17287
case "(($ac_try" in
 
17288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17289
  *) ac_try_echo=$ac_try;;
 
17290
esac
 
17291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17292
  (eval "$ac_link") 2>conftest.er1
16513
17293
  ac_status=$?
16514
17294
  grep -v '^ *+' conftest.er1 >conftest.err
16515
17295
  rm -f conftest.er1
16516
17296
  cat conftest.err >&5
16517
17297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518
 
  (exit $ac_status); } &&
16519
 
         { ac_try='test -z "$ac_c_werror_flag"
16520
 
                         || test ! -s conftest.err'
16521
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522
 
  (eval $ac_try) 2>&5
16523
 
  ac_status=$?
16524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525
 
  (exit $ac_status); }; } &&
16526
 
         { ac_try='test -s conftest$ac_exeext'
16527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528
 
  (eval $ac_try) 2>&5
16529
 
  ac_status=$?
16530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531
 
  (exit $ac_status); }; }; then
 
17298
  (exit $ac_status); } && {
 
17299
         test -z "$ac_c_werror_flag" ||
 
17300
         test ! -s conftest.err
 
17301
       } && test -s conftest$ac_exeext &&
 
17302
       $as_test_x conftest$ac_exeext; then
16532
17303
 
16533
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16534
 
}'`
 
17304
lt_aix_libpath_sed='
 
17305
    /Import File Strings/,/^$/ {
 
17306
        /^0/ {
 
17307
            s/^0  *\(.*\)$/\1/
 
17308
            p
 
17309
        }
 
17310
    }'
 
17311
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16535
17312
# Check for a 64-bit object if we didn't find anything.
16536
 
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; }
16537
 
}'`; fi
 
17313
if test -z "$aix_libpath"; then
 
17314
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17315
fi
16538
17316
else
16539
17317
  echo "$as_me: failed program was:" >&5
16540
17318
sed 's/^/| /' conftest.$ac_ext >&5
16541
17319
 
 
17320
 
16542
17321
fi
16543
 
rm -f conftest.err conftest.$ac_objext \
 
17322
 
 
17323
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16544
17324
      conftest$ac_exeext conftest.$ac_ext
16545
17325
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16546
17326
 
16569
17349
}
16570
17350
_ACEOF
16571
17351
rm -f conftest.$ac_objext conftest$ac_exeext
16572
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16573
 
  (eval $ac_link) 2>conftest.er1
 
17352
if { (ac_try="$ac_link"
 
17353
case "(($ac_try" in
 
17354
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17355
  *) ac_try_echo=$ac_try;;
 
17356
esac
 
17357
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17358
  (eval "$ac_link") 2>conftest.er1
16574
17359
  ac_status=$?
16575
17360
  grep -v '^ *+' conftest.er1 >conftest.err
16576
17361
  rm -f conftest.er1
16577
17362
  cat conftest.err >&5
16578
17363
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579
 
  (exit $ac_status); } &&
16580
 
         { ac_try='test -z "$ac_c_werror_flag"
16581
 
                         || test ! -s conftest.err'
16582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583
 
  (eval $ac_try) 2>&5
16584
 
  ac_status=$?
16585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586
 
  (exit $ac_status); }; } &&
16587
 
         { ac_try='test -s conftest$ac_exeext'
16588
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589
 
  (eval $ac_try) 2>&5
16590
 
  ac_status=$?
16591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592
 
  (exit $ac_status); }; }; then
 
17364
  (exit $ac_status); } && {
 
17365
         test -z "$ac_c_werror_flag" ||
 
17366
         test ! -s conftest.err
 
17367
       } && test -s conftest$ac_exeext &&
 
17368
       $as_test_x conftest$ac_exeext; then
16593
17369
 
16594
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16595
 
}'`
 
17370
lt_aix_libpath_sed='
 
17371
    /Import File Strings/,/^$/ {
 
17372
        /^0/ {
 
17373
            s/^0  *\(.*\)$/\1/
 
17374
            p
 
17375
        }
 
17376
    }'
 
17377
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16596
17378
# Check for a 64-bit object if we didn't find anything.
16597
 
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; }
16598
 
}'`; fi
 
17379
if test -z "$aix_libpath"; then
 
17380
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17381
fi
16599
17382
else
16600
17383
  echo "$as_me: failed program was:" >&5
16601
17384
sed 's/^/| /' conftest.$ac_ext >&5
16602
17385
 
 
17386
 
16603
17387
fi
16604
 
rm -f conftest.err conftest.$ac_objext \
 
17388
 
 
17389
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16605
17390
      conftest$ac_exeext conftest.$ac_ext
16606
17391
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16607
17392
 
16647
17432
      # The linker will automatically build a .lib file if we build a DLL.
16648
17433
      old_archive_From_new_cmds_GCJ='true'
16649
17434
      # FIXME: Should let the user specify the lib program.
16650
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17435
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16651
17436
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16652
17437
      enable_shared_with_static_runtimes_GCJ=yes
16653
17438
      ;;
16689
17474
      case $cc_basename in
16690
17475
        xlc*)
16691
17476
         output_verbose_link_cmd='echo'
16692
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17477
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16693
17478
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16694
17479
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16695
 
         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}'
 
17480
         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}'
16696
17481
          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}'
16697
17482
          ;;
16698
17483
       *)
16732
17517
      ;;
16733
17518
 
16734
17519
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16735
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17520
    freebsd* | dragonfly*)
16736
17521
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16737
17522
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16738
17523
      hardcode_direct_GCJ=yes
16854
17639
      ;;
16855
17640
 
16856
17641
    openbsd*)
16857
 
      hardcode_direct_GCJ=yes
16858
 
      hardcode_shlibpath_var_GCJ=no
16859
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16860
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16861
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16862
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16863
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17642
      if test -f /usr/libexec/ld.so; then
 
17643
        hardcode_direct_GCJ=yes
 
17644
        hardcode_shlibpath_var_GCJ=no
 
17645
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17646
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17647
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17648
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17649
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
17650
        else
 
17651
          case $host_os in
 
17652
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17653
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17654
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
17655
             ;;
 
17656
           *)
 
17657
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17658
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17659
             ;;
 
17660
          esac
 
17661
        fi
16864
17662
      else
16865
 
       case $host_os in
16866
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16867
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16868
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
16869
 
           ;;
16870
 
         *)
16871
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16872
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16873
 
           ;;
16874
 
       esac
 
17663
        ld_shlibs_GCJ=no
16875
17664
      fi
16876
17665
      ;;
16877
17666
 
16930
17719
      case $host_os in
16931
17720
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16932
17721
      *)
16933
 
        # The compiler driver will combine linker options so we
16934
 
        # cannot just pass the convience library names through
16935
 
        # without $wl, iff we do not link with $LD.
16936
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17722
        # The compiler driver will combine and reorder linker options,
 
17723
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17724
        # but is careful enough not to reorder.
16937
17725
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16938
 
        case $wlarc in
16939
 
        '')
16940
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16941
 
        *)
16942
 
          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' ;;
16943
 
        esac ;;
 
17726
        if test "$GCC" = yes; then
 
17727
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17728
        else
 
17729
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
17730
        fi
 
17731
        ;;
16944
17732
      esac
16945
17733
      link_all_deplibs_GCJ=yes
16946
17734
      ;;
16997
17785
      fi
16998
17786
      ;;
16999
17787
 
17000
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17788
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17001
17789
      no_undefined_flag_GCJ='${wl}-z,text'
17002
17790
      archive_cmds_need_lc_GCJ=no
17003
17791
      hardcode_shlibpath_var_GCJ=no
17050
17838
    esac
17051
17839
  fi
17052
17840
 
17053
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17054
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
17841
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
17842
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17055
17843
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17056
17844
 
17057
17845
#
17071
17859
      # Test whether the compiler implicitly links with -lc since on some
17072
17860
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17073
17861
      # to ld, don't add -lc before -lgcc.
17074
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17075
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17862
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17863
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17076
17864
      $rm conftest*
17077
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17865
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17078
17866
 
17079
17867
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17080
17868
  (eval $ac_compile) 2>&5
17109
17897
        cat conftest.err 1>&5
17110
17898
      fi
17111
17899
      $rm conftest*
17112
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17113
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
17900
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
17901
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17114
17902
      ;;
17115
17903
    esac
17116
17904
  fi
17117
17905
  ;;
17118
17906
esac
17119
17907
 
17120
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17121
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17908
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17909
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17122
17910
library_names_spec=
17123
17911
libname_spec='lib$name'
17124
17912
soname_spec=
17132
17920
version_type=none
17133
17921
dynamic_linker="$host_os ld.so"
17134
17922
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17135
 
if test "$GCC" = yes; then
17136
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17137
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17138
 
    # if the path contains ";" then we assume it to be the separator
17139
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17140
 
    # assumed that no part of a normal pathname contains ";" but that should
17141
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17142
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17143
 
  else
17144
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17145
 
  fi
17146
 
else
17147
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17148
 
fi
 
17923
 
17149
17924
need_lib_prefix=unknown
17150
17925
hardcode_into_libs=no
17151
17926
 
17302
18077
  shlibpath_overrides_runpath=yes
17303
18078
  shlibpath_var=DYLD_LIBRARY_PATH
17304
18079
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17305
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17306
 
  if test "$GCC" = yes; then
17307
 
    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"`
17308
 
  else
17309
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17310
 
  fi
 
18080
 
17311
18081
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17312
18082
  ;;
17313
18083
 
17324
18094
  dynamic_linker=no
17325
18095
  ;;
17326
18096
 
17327
 
kfreebsd*-gnu)
17328
 
  version_type=linux
17329
 
  need_lib_prefix=no
17330
 
  need_version=no
17331
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17332
 
  soname_spec='${libname}${release}${shared_ext}$major'
17333
 
  shlibpath_var=LD_LIBRARY_PATH
17334
 
  shlibpath_overrides_runpath=no
17335
 
  hardcode_into_libs=yes
17336
 
  dynamic_linker='GNU ld.so'
17337
 
  ;;
17338
 
 
17339
18097
freebsd* | dragonfly*)
17340
18098
  # DragonFly does not have aout.  When/if they implement a new
17341
18099
  # versioning mechanism, adjust this.
17373
18131
    shlibpath_overrides_runpath=no
17374
18132
    hardcode_into_libs=yes
17375
18133
    ;;
17376
 
  freebsd*) # from 4.6 on
 
18134
  *) # from 4.6 on, and DragonFly
17377
18135
    shlibpath_overrides_runpath=yes
17378
18136
    hardcode_into_libs=yes
17379
18137
    ;;
17436
18194
  postinstall_cmds='chmod 555 $lib'
17437
18195
  ;;
17438
18196
 
17439
 
interix3*)
 
18197
interix[3-9]*)
17440
18198
  version_type=linux
17441
18199
  need_lib_prefix=no
17442
18200
  need_version=no
17491
18249
  ;;
17492
18250
 
17493
18251
# This must be Linux ELF.
17494
 
linux*)
 
18252
linux* | k*bsd*-gnu)
17495
18253
  version_type=linux
17496
18254
  need_lib_prefix=no
17497
18255
  need_version=no
17504
18262
  # Some rework will be needed to allow for fast_install
17505
18263
  # before this can be enabled.
17506
18264
  hardcode_into_libs=yes
17507
 
 
17508
 
  # find out which ABI we are using
17509
 
  libsuff=
17510
 
  case "$host_cpu" in
17511
 
  x86_64*|s390x*|powerpc64*)
17512
 
    echo '#line 17512 "configure"' > conftest.$ac_ext
17513
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17514
 
  (eval $ac_compile) 2>&5
17515
 
  ac_status=$?
17516
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517
 
  (exit $ac_status); }; then
17518
 
      case `/usr/bin/file conftest.$ac_objext` in
17519
 
      *64-bit*)
17520
 
        libsuff=64
17521
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17522
 
        ;;
17523
 
      esac
17524
 
    fi
17525
 
    rm -rf conftest*
17526
 
    ;;
17527
 
  esac
 
18265
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
18266
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17528
18267
 
17529
18268
  # Append ld.so.conf contents to the search path
17530
18269
  if test -f /etc/ld.so.conf; then
17531
 
    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' ' '`
17532
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
18270
    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' ' '`
 
18271
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17533
18272
  fi
17534
18273
 
17535
18274
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17541
18280
  dynamic_linker='GNU/Linux ld.so'
17542
18281
  ;;
17543
18282
 
17544
 
knetbsd*-gnu)
17545
 
  version_type=linux
17546
 
  need_lib_prefix=no
17547
 
  need_version=no
17548
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17549
 
  soname_spec='${libname}${release}${shared_ext}$major'
17550
 
  shlibpath_var=LD_LIBRARY_PATH
17551
 
  shlibpath_overrides_runpath=no
17552
 
  hardcode_into_libs=yes
17553
 
  dynamic_linker='GNU ld.so'
17554
 
  ;;
17555
 
 
17556
18283
netbsd*)
17557
18284
  version_type=sunos
17558
18285
  need_lib_prefix=no
17634
18361
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17635
18362
  ;;
17636
18363
 
 
18364
rdos*)
 
18365
  dynamic_linker=no
 
18366
  ;;
 
18367
 
17637
18368
solaris*)
17638
18369
  version_type=linux
17639
18370
  need_lib_prefix=no
17726
18457
  dynamic_linker=no
17727
18458
  ;;
17728
18459
esac
17729
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17730
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18460
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18461
echo "${ECHO_T}$dynamic_linker" >&6; }
17731
18462
test "$dynamic_linker" = no && can_build_shared=no
17732
18463
 
17733
18464
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17735
18466
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17736
18467
fi
17737
18468
 
17738
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17739
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18469
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18470
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17740
18471
hardcode_action_GCJ=
17741
18472
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17742
18473
   test -n "$runpath_var_GCJ" || \
17760
18491
  # directories.
17761
18492
  hardcode_action_GCJ=unsupported
17762
18493
fi
17763
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17764
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18494
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18495
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17765
18496
 
17766
18497
if test "$hardcode_action_GCJ" = relink; then
17767
18498
  # Fast installation is not supported
17828
18559
    module_cmds_GCJ \
17829
18560
    module_expsym_cmds_GCJ \
17830
18561
    lt_cv_prog_compiler_c_o_GCJ \
 
18562
    fix_srcfile_path_GCJ \
17831
18563
    exclude_expsyms_GCJ \
17832
18564
    include_expsyms_GCJ; do
17833
18565
 
18148
18880
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18149
18881
 
18150
18882
# Fix the shell variable \$srcfile for the compiler.
18151
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
18883
fix_srcfile_path=$lt_fix_srcfile_path
18152
18884
 
18153
18885
# Set to yes if exported symbols are required.
18154
18886
always_export_symbols=$always_export_symbols_GCJ
18197
18929
      RC)
18198
18930
 
18199
18931
 
18200
 
 
18201
18932
# Source file extension for RC test sources.
18202
18933
ac_ext=rc
18203
18934
 
18206
18937
objext_RC=$objext
18207
18938
 
18208
18939
# Code to be used in simple compile tests
18209
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
18940
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18210
18941
 
18211
18942
# Code to be used in simple link tests
18212
18943
lt_simple_link_test_code="$lt_simple_compile_test_code"
18225
18956
 
18226
18957
# save warnings/boilerplate of simple test code
18227
18958
ac_outfile=conftest.$ac_objext
18228
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18959
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18229
18960
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18230
18961
_lt_compiler_boilerplate=`cat conftest.err`
18231
18962
$rm conftest*
18232
18963
 
18233
18964
ac_outfile=conftest.$ac_objext
18234
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18965
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18235
18966
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18236
18967
_lt_linker_boilerplate=`cat conftest.err`
18237
18968
$rm conftest*
18309
19040
    module_cmds_RC \
18310
19041
    module_expsym_cmds_RC \
18311
19042
    lt_cv_prog_compiler_c_o_RC \
 
19043
    fix_srcfile_path_RC \
18312
19044
    exclude_expsyms_RC \
18313
19045
    include_expsyms_RC; do
18314
19046
 
18629
19361
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18630
19362
 
18631
19363
# Fix the shell variable \$srcfile for the compiler.
18632
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19364
fix_srcfile_path=$lt_fix_srcfile_path
18633
19365
 
18634
19366
# Set to yes if exported symbols are required.
18635
19367
always_export_symbols=$always_export_symbols_RC
18734
19466
do
18735
19467
  # Extract the first word of "$ac_prog", so it can be a program name with args.
18736
19468
set dummy $ac_prog; ac_word=$2
18737
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18738
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19469
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19470
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18739
19471
if test "${ac_cv_prog_M4+set}" = set; then
18740
19472
  echo $ECHO_N "(cached) $ECHO_C" >&6
18741
19473
else
18748
19480
  IFS=$as_save_IFS
18749
19481
  test -z "$as_dir" && as_dir=.
18750
19482
  for ac_exec_ext in '' $ac_executable_extensions; do
18751
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19483
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18752
19484
    ac_cv_prog_M4="$ac_prog"
18753
19485
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18754
19486
    break 2
18755
19487
  fi
18756
19488
done
18757
19489
done
 
19490
IFS=$as_save_IFS
18758
19491
 
18759
19492
fi
18760
19493
fi
18761
19494
M4=$ac_cv_prog_M4
18762
19495
if test -n "$M4"; then
18763
 
  echo "$as_me:$LINENO: result: $M4" >&5
18764
 
echo "${ECHO_T}$M4" >&6
 
19496
  { echo "$as_me:$LINENO: result: $M4" >&5
 
19497
echo "${ECHO_T}$M4" >&6; }
18765
19498
else
18766
 
  echo "$as_me:$LINENO: result: no" >&5
18767
 
echo "${ECHO_T}no" >&6
 
19499
  { echo "$as_me:$LINENO: result: no" >&5
 
19500
echo "${ECHO_T}no" >&6; }
18768
19501
fi
18769
19502
 
 
19503
 
18770
19504
  test -n "$M4" && break
18771
19505
done
18772
19506
test -n "$M4" || M4="m4"
18773
19507
 
18774
19508
 
18775
19509
if test "$M4" = "m4"; then
18776
 
  echo "$as_me:$LINENO: checking whether m4 is GNU m4" >&5
18777
 
echo $ECHO_N "checking whether m4 is GNU m4... $ECHO_C" >&6
 
19510
  { echo "$as_me:$LINENO: checking whether m4 is GNU m4" >&5
 
19511
echo $ECHO_N "checking whether m4 is GNU m4... $ECHO_C" >&6; }
18778
19512
  if $M4 --version </dev/null 2>/dev/null | grep '^GNU m4 ' >/dev/null ; then
18779
 
    echo "$as_me:$LINENO: result: yes" >&5
18780
 
echo "${ECHO_T}yes" >&6
 
19513
    { echo "$as_me:$LINENO: result: yes" >&5
 
19514
echo "${ECHO_T}yes" >&6; }
18781
19515
  else
18782
 
    echo "$as_me:$LINENO: result: no" >&5
18783
 
echo "${ECHO_T}no" >&6
 
19516
    { echo "$as_me:$LINENO: result: no" >&5
 
19517
echo "${ECHO_T}no" >&6; }
18784
19518
    if test "$host_vendor" = "sun"; then
18785
19519
      { { echo "$as_me:$LINENO: error: SUN m4 does not work for building gtkmm.
18786
19520
Please install GNU m4." >&5
18793
19527
 
18794
19528
 
18795
19529
 
18796
 
echo "$as_me:$LINENO: checking whether make is GNU Make" >&5
18797
 
echo $ECHO_N "checking whether make is GNU Make... $ECHO_C" >&6
 
19530
{ echo "$as_me:$LINENO: checking whether make is GNU Make" >&5
 
19531
echo $ECHO_N "checking whether make is GNU Make... $ECHO_C" >&6; }
18798
19532
if $ac_make --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
18799
 
        echo "$as_me:$LINENO: result: yes" >&5
18800
 
echo "${ECHO_T}yes" >&6
 
19533
        { echo "$as_me:$LINENO: result: yes" >&5
 
19534
echo "${ECHO_T}yes" >&6; }
18801
19535
else
18802
 
        echo "$as_me:$LINENO: result: no" >&5
18803
 
echo "${ECHO_T}no" >&6
 
19536
        { echo "$as_me:$LINENO: result: no" >&5
 
19537
echo "${ECHO_T}no" >&6; }
18804
19538
        if test "$host_vendor" = "sun" ; then
18805
19539
           { { echo "$as_me:$LINENO: error: SUN make does not work for building gtkmm.
18806
19540
Please install GNU make." >&5
18822
19556
        if test -n "$ac_tool_prefix"; then
18823
19557
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18824
19558
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18825
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18826
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19559
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19560
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18827
19561
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18828
19562
  echo $ECHO_N "(cached) $ECHO_C" >&6
18829
19563
else
18838
19572
  IFS=$as_save_IFS
18839
19573
  test -z "$as_dir" && as_dir=.
18840
19574
  for ac_exec_ext in '' $ac_executable_extensions; do
18841
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19575
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18842
19576
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18843
19577
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18844
19578
    break 2
18845
19579
  fi
18846
19580
done
18847
19581
done
 
19582
IFS=$as_save_IFS
18848
19583
 
18849
19584
  ;;
18850
19585
esac
18851
19586
fi
18852
19587
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18853
 
 
18854
19588
if test -n "$PKG_CONFIG"; then
18855
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18856
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
19589
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
19590
echo "${ECHO_T}$PKG_CONFIG" >&6; }
18857
19591
else
18858
 
  echo "$as_me:$LINENO: result: no" >&5
18859
 
echo "${ECHO_T}no" >&6
 
19592
  { echo "$as_me:$LINENO: result: no" >&5
 
19593
echo "${ECHO_T}no" >&6; }
18860
19594
fi
 
19595
 
18861
19596
 
18862
19597
fi
18863
19598
if test -z "$ac_cv_path_PKG_CONFIG"; then
18864
19599
  ac_pt_PKG_CONFIG=$PKG_CONFIG
18865
19600
  # Extract the first word of "pkg-config", so it can be a program name with args.
18866
19601
set dummy pkg-config; ac_word=$2
18867
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18868
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19602
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19603
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18869
19604
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18870
19605
  echo $ECHO_N "(cached) $ECHO_C" >&6
18871
19606
else
18880
19615
  IFS=$as_save_IFS
18881
19616
  test -z "$as_dir" && as_dir=.
18882
19617
  for ac_exec_ext in '' $ac_executable_extensions; do
18883
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19618
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18884
19619
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18885
19620
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18886
19621
    break 2
18887
19622
  fi
18888
19623
done
18889
19624
done
 
19625
IFS=$as_save_IFS
18890
19626
 
18891
19627
  ;;
18892
19628
esac
18893
19629
fi
18894
19630
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18895
 
 
18896
19631
if test -n "$ac_pt_PKG_CONFIG"; then
18897
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18898
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
19632
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
19633
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
18899
19634
else
18900
 
  echo "$as_me:$LINENO: result: no" >&5
18901
 
echo "${ECHO_T}no" >&6
 
19635
  { echo "$as_me:$LINENO: result: no" >&5
 
19636
echo "${ECHO_T}no" >&6; }
18902
19637
fi
18903
19638
 
18904
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19639
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
19640
    PKG_CONFIG=""
 
19641
  else
 
19642
    case $cross_compiling:$ac_tool_warned in
 
19643
yes:)
 
19644
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
19645
whose name does not start with the host triplet.  If you think this
 
19646
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
19647
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
19648
whose name does not start with the host triplet.  If you think this
 
19649
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
19650
ac_tool_warned=yes ;;
 
19651
esac
 
19652
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19653
  fi
18905
19654
else
18906
19655
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18907
19656
fi
18909
19658
fi
18910
19659
if test -n "$PKG_CONFIG"; then
18911
19660
        _pkg_min_version=0.9.0
18912
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18913
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
19661
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
19662
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
18914
19663
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18915
 
                echo "$as_me:$LINENO: result: yes" >&5
18916
 
echo "${ECHO_T}yes" >&6
 
19664
                { echo "$as_me:$LINENO: result: yes" >&5
 
19665
echo "${ECHO_T}yes" >&6; }
18917
19666
        else
18918
 
                echo "$as_me:$LINENO: result: no" >&5
18919
 
echo "${ECHO_T}no" >&6
 
19667
                { echo "$as_me:$LINENO: result: no" >&5
 
19668
echo "${ECHO_T}no" >&6; }
18920
19669
                PKG_CONFIG=""
18921
19670
        fi
18922
19671
 
18923
19672
fi
18924
19673
 
18925
19674
pkg_failed=no
18926
 
echo "$as_me:$LINENO: checking for GLIBMM" >&5
18927
 
echo $ECHO_N "checking for GLIBMM... $ECHO_C" >&6
 
19675
{ echo "$as_me:$LINENO: checking for GLIBMM" >&5
 
19676
echo $ECHO_N "checking for GLIBMM... $ECHO_C" >&6; }
18928
19677
 
18929
19678
if test -n "$PKG_CONFIG"; then
18930
19679
    if test -n "$GLIBMM_CFLAGS"; then
19012
19761
and GLIBMM_LIBS to avoid the need to call pkg-config.
19013
19762
See the pkg-config man page for more details.
19014
19763
 
19015
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
19764
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19016
19765
See \`config.log' for more details." >&5
19017
19766
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
19018
19767
is in your PATH or set the PKG_CONFIG environment variable to the full
19022
19771
and GLIBMM_LIBS to avoid the need to call pkg-config.
19023
19772
See the pkg-config man page for more details.
19024
19773
 
19025
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
19774
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19026
19775
See \`config.log' for more details." >&2;}
19027
19776
   { (exit 1); exit 1; }; }
19028
19777
else
19029
19778
        GLIBMM_CFLAGS=$pkg_cv_GLIBMM_CFLAGS
19030
19779
        GLIBMM_LIBS=$pkg_cv_GLIBMM_LIBS
19031
 
        echo "$as_me:$LINENO: result: yes" >&5
19032
 
echo "${ECHO_T}yes" >&6
 
19780
        { echo "$as_me:$LINENO: result: yes" >&5
 
19781
echo "${ECHO_T}yes" >&6; }
19033
19782
        :
19034
19783
fi
19035
19784
 
19038
19787
# gthread isn't a requirement, but we should use its CFLAGS if available.
19039
19788
 
19040
19789
pkg_failed=no
19041
 
echo "$as_me:$LINENO: checking for GTHREAD" >&5
19042
 
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6
 
19790
{ echo "$as_me:$LINENO: checking for GTHREAD" >&5
 
19791
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
19043
19792
 
19044
19793
if test -n "$PKG_CONFIG"; then
19045
19794
    if test -n "$GTHREAD_CFLAGS"; then
19095
19844
        # Put the nasty error message in config.log where it belongs
19096
19845
        echo "$GTHREAD_PKG_ERRORS" >&5
19097
19846
 
19098
 
        GTHREAD_CFLAGS=''; GTHREAD_LIBS=''
 
19847
        { echo "$as_me:$LINENO: result: no" >&5
 
19848
echo "${ECHO_T}no" >&6; }
 
19849
                GTHREAD_CFLAGS=''; GTHREAD_LIBS=''
19099
19850
elif test $pkg_failed = untried; then
19100
19851
        GTHREAD_CFLAGS=''; GTHREAD_LIBS=''
19101
19852
else
19102
19853
        GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
19103
19854
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
19104
 
        echo "$as_me:$LINENO: result: yes" >&5
19105
 
echo "${ECHO_T}yes" >&6
 
19855
        { echo "$as_me:$LINENO: result: yes" >&5
 
19856
echo "${ECHO_T}yes" >&6; }
19106
19857
        :
19107
19858
fi
19108
19859
 
19112
19863
#########################################################################
19113
19864
#  C++ checks
19114
19865
#########################################################################
19115
 
ac_ext=cc
 
19866
ac_ext=cpp
19116
19867
ac_cpp='$CXXCPP $CPPFLAGS'
19117
19868
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19118
19869
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19119
19870
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19120
 
if test -n "$ac_tool_prefix"; then
19121
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
19871
if test -z "$CXX"; then
 
19872
  if test -n "$CCC"; then
 
19873
    CXX=$CCC
 
19874
  else
 
19875
    if test -n "$ac_tool_prefix"; then
 
19876
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19122
19877
  do
19123
19878
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19124
19879
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19125
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19126
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19880
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19881
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19127
19882
if test "${ac_cv_prog_CXX+set}" = set; then
19128
19883
  echo $ECHO_N "(cached) $ECHO_C" >&6
19129
19884
else
19136
19891
  IFS=$as_save_IFS
19137
19892
  test -z "$as_dir" && as_dir=.
19138
19893
  for ac_exec_ext in '' $ac_executable_extensions; do
19139
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19140
19895
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19141
19896
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19142
19897
    break 2
19143
19898
  fi
19144
19899
done
19145
19900
done
 
19901
IFS=$as_save_IFS
19146
19902
 
19147
19903
fi
19148
19904
fi
19149
19905
CXX=$ac_cv_prog_CXX
19150
19906
if test -n "$CXX"; then
19151
 
  echo "$as_me:$LINENO: result: $CXX" >&5
19152
 
echo "${ECHO_T}$CXX" >&6
 
19907
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
19908
echo "${ECHO_T}$CXX" >&6; }
19153
19909
else
19154
 
  echo "$as_me:$LINENO: result: no" >&5
19155
 
echo "${ECHO_T}no" >&6
 
19910
  { echo "$as_me:$LINENO: result: no" >&5
 
19911
echo "${ECHO_T}no" >&6; }
19156
19912
fi
19157
19913
 
 
19914
 
19158
19915
    test -n "$CXX" && break
19159
19916
  done
19160
19917
fi
19161
19918
if test -z "$CXX"; then
19162
19919
  ac_ct_CXX=$CXX
19163
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
19920
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19164
19921
do
19165
19922
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19166
19923
set dummy $ac_prog; ac_word=$2
19167
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19168
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19924
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19169
19926
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19170
19927
  echo $ECHO_N "(cached) $ECHO_C" >&6
19171
19928
else
19178
19935
  IFS=$as_save_IFS
19179
19936
  test -z "$as_dir" && as_dir=.
19180
19937
  for ac_exec_ext in '' $ac_executable_extensions; do
19181
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19938
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19182
19939
    ac_cv_prog_ac_ct_CXX="$ac_prog"
19183
19940
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19184
19941
    break 2
19185
19942
  fi
19186
19943
done
19187
19944
done
 
19945
IFS=$as_save_IFS
19188
19946
 
19189
19947
fi
19190
19948
fi
19191
19949
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19192
19950
if test -n "$ac_ct_CXX"; then
19193
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19194
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
19951
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
19952
echo "${ECHO_T}$ac_ct_CXX" >&6; }
19195
19953
else
19196
 
  echo "$as_me:$LINENO: result: no" >&5
19197
 
echo "${ECHO_T}no" >&6
 
19954
  { echo "$as_me:$LINENO: result: no" >&5
 
19955
echo "${ECHO_T}no" >&6; }
19198
19956
fi
19199
19957
 
 
19958
 
19200
19959
  test -n "$ac_ct_CXX" && break
19201
19960
done
19202
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
19203
 
 
19204
 
  CXX=$ac_ct_CXX
19205
 
fi
19206
 
 
19207
 
 
 
19961
 
 
19962
  if test "x$ac_ct_CXX" = x; then
 
19963
    CXX="g++"
 
19964
  else
 
19965
    case $cross_compiling:$ac_tool_warned in
 
19966
yes:)
 
19967
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
19968
whose name does not start with the host triplet.  If you think this
 
19969
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
19970
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
19971
whose name does not start with the host triplet.  If you think this
 
19972
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
19973
ac_tool_warned=yes ;;
 
19974
esac
 
19975
    CXX=$ac_ct_CXX
 
19976
  fi
 
19977
fi
 
19978
 
 
19979
  fi
 
19980
fi
19208
19981
# Provide some information about the compiler.
19209
 
echo "$as_me:$LINENO:" \
19210
 
     "checking for C++ compiler version" >&5
 
19982
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19211
19983
ac_compiler=`set X $ac_compile; echo $2`
19212
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19213
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
19214
 
  ac_status=$?
19215
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216
 
  (exit $ac_status); }
19217
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19218
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
19219
 
  ac_status=$?
19220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221
 
  (exit $ac_status); }
19222
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19223
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
19984
{ (ac_try="$ac_compiler --version >&5"
 
19985
case "(($ac_try" in
 
19986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19987
  *) ac_try_echo=$ac_try;;
 
19988
esac
 
19989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19990
  (eval "$ac_compiler --version >&5") 2>&5
 
19991
  ac_status=$?
 
19992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19993
  (exit $ac_status); }
 
19994
{ (ac_try="$ac_compiler -v >&5"
 
19995
case "(($ac_try" in
 
19996
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19997
  *) ac_try_echo=$ac_try;;
 
19998
esac
 
19999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20000
  (eval "$ac_compiler -v >&5") 2>&5
 
20001
  ac_status=$?
 
20002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20003
  (exit $ac_status); }
 
20004
{ (ac_try="$ac_compiler -V >&5"
 
20005
case "(($ac_try" in
 
20006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20007
  *) ac_try_echo=$ac_try;;
 
20008
esac
 
20009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20010
  (eval "$ac_compiler -V >&5") 2>&5
19224
20011
  ac_status=$?
19225
20012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226
20013
  (exit $ac_status); }
19227
20014
 
19228
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19229
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
20015
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
20016
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19230
20017
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19231
20018
  echo $ECHO_N "(cached) $ECHO_C" >&6
19232
20019
else
19249
20036
}
19250
20037
_ACEOF
19251
20038
rm -f conftest.$ac_objext
19252
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19253
 
  (eval $ac_compile) 2>conftest.er1
 
20039
if { (ac_try="$ac_compile"
 
20040
case "(($ac_try" in
 
20041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20042
  *) ac_try_echo=$ac_try;;
 
20043
esac
 
20044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20045
  (eval "$ac_compile") 2>conftest.er1
19254
20046
  ac_status=$?
19255
20047
  grep -v '^ *+' conftest.er1 >conftest.err
19256
20048
  rm -f conftest.er1
19257
20049
  cat conftest.err >&5
19258
20050
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259
 
  (exit $ac_status); } &&
19260
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19261
 
                         || test ! -s conftest.err'
19262
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263
 
  (eval $ac_try) 2>&5
19264
 
  ac_status=$?
19265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266
 
  (exit $ac_status); }; } &&
19267
 
         { ac_try='test -s conftest.$ac_objext'
19268
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269
 
  (eval $ac_try) 2>&5
19270
 
  ac_status=$?
19271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272
 
  (exit $ac_status); }; }; then
 
20051
  (exit $ac_status); } && {
 
20052
         test -z "$ac_cxx_werror_flag" ||
 
20053
         test ! -s conftest.err
 
20054
       } && test -s conftest.$ac_objext; then
19273
20055
  ac_compiler_gnu=yes
19274
20056
else
19275
20057
  echo "$as_me: failed program was:" >&5
19276
20058
sed 's/^/| /' conftest.$ac_ext >&5
19277
20059
 
19278
 
ac_compiler_gnu=no
 
20060
        ac_compiler_gnu=no
19279
20061
fi
19280
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20062
 
 
20063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281
20064
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19282
20065
 
19283
20066
fi
19284
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19285
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
20067
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
20068
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19286
20069
GXX=`test $ac_compiler_gnu = yes && echo yes`
19287
20070
ac_test_CXXFLAGS=${CXXFLAGS+set}
19288
20071
ac_save_CXXFLAGS=$CXXFLAGS
19289
 
CXXFLAGS="-g"
19290
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19291
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
20072
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
20073
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19292
20074
if test "${ac_cv_prog_cxx_g+set}" = set; then
19293
20075
  echo $ECHO_N "(cached) $ECHO_C" >&6
19294
20076
else
19295
 
  cat >conftest.$ac_ext <<_ACEOF
19296
 
/* confdefs.h.  */
19297
 
_ACEOF
19298
 
cat confdefs.h >>conftest.$ac_ext
19299
 
cat >>conftest.$ac_ext <<_ACEOF
19300
 
/* end confdefs.h.  */
19301
 
 
19302
 
int
19303
 
main ()
19304
 
{
19305
 
 
19306
 
  ;
19307
 
  return 0;
19308
 
}
19309
 
_ACEOF
19310
 
rm -f conftest.$ac_objext
19311
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19312
 
  (eval $ac_compile) 2>conftest.er1
19313
 
  ac_status=$?
19314
 
  grep -v '^ *+' conftest.er1 >conftest.err
19315
 
  rm -f conftest.er1
19316
 
  cat conftest.err >&5
19317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318
 
  (exit $ac_status); } &&
19319
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19320
 
                         || test ! -s conftest.err'
19321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322
 
  (eval $ac_try) 2>&5
19323
 
  ac_status=$?
19324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325
 
  (exit $ac_status); }; } &&
19326
 
         { ac_try='test -s conftest.$ac_objext'
19327
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328
 
  (eval $ac_try) 2>&5
19329
 
  ac_status=$?
19330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331
 
  (exit $ac_status); }; }; then
19332
 
  ac_cv_prog_cxx_g=yes
19333
 
else
19334
 
  echo "$as_me: failed program was:" >&5
19335
 
sed 's/^/| /' conftest.$ac_ext >&5
19336
 
 
19337
 
ac_cv_prog_cxx_g=no
19338
 
fi
19339
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19340
 
fi
19341
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19342
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
20077
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
20078
   ac_cxx_werror_flag=yes
 
20079
   ac_cv_prog_cxx_g=no
 
20080
   CXXFLAGS="-g"
 
20081
   cat >conftest.$ac_ext <<_ACEOF
 
20082
/* confdefs.h.  */
 
20083
_ACEOF
 
20084
cat confdefs.h >>conftest.$ac_ext
 
20085
cat >>conftest.$ac_ext <<_ACEOF
 
20086
/* end confdefs.h.  */
 
20087
 
 
20088
int
 
20089
main ()
 
20090
{
 
20091
 
 
20092
  ;
 
20093
  return 0;
 
20094
}
 
20095
_ACEOF
 
20096
rm -f conftest.$ac_objext
 
20097
if { (ac_try="$ac_compile"
 
20098
case "(($ac_try" in
 
20099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20100
  *) ac_try_echo=$ac_try;;
 
20101
esac
 
20102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20103
  (eval "$ac_compile") 2>conftest.er1
 
20104
  ac_status=$?
 
20105
  grep -v '^ *+' conftest.er1 >conftest.err
 
20106
  rm -f conftest.er1
 
20107
  cat conftest.err >&5
 
20108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20109
  (exit $ac_status); } && {
 
20110
         test -z "$ac_cxx_werror_flag" ||
 
20111
         test ! -s conftest.err
 
20112
       } && test -s conftest.$ac_objext; then
 
20113
  ac_cv_prog_cxx_g=yes
 
20114
else
 
20115
  echo "$as_me: failed program was:" >&5
 
20116
sed 's/^/| /' conftest.$ac_ext >&5
 
20117
 
 
20118
        CXXFLAGS=""
 
20119
      cat >conftest.$ac_ext <<_ACEOF
 
20120
/* confdefs.h.  */
 
20121
_ACEOF
 
20122
cat confdefs.h >>conftest.$ac_ext
 
20123
cat >>conftest.$ac_ext <<_ACEOF
 
20124
/* end confdefs.h.  */
 
20125
 
 
20126
int
 
20127
main ()
 
20128
{
 
20129
 
 
20130
  ;
 
20131
  return 0;
 
20132
}
 
20133
_ACEOF
 
20134
rm -f conftest.$ac_objext
 
20135
if { (ac_try="$ac_compile"
 
20136
case "(($ac_try" in
 
20137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20138
  *) ac_try_echo=$ac_try;;
 
20139
esac
 
20140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20141
  (eval "$ac_compile") 2>conftest.er1
 
20142
  ac_status=$?
 
20143
  grep -v '^ *+' conftest.er1 >conftest.err
 
20144
  rm -f conftest.er1
 
20145
  cat conftest.err >&5
 
20146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20147
  (exit $ac_status); } && {
 
20148
         test -z "$ac_cxx_werror_flag" ||
 
20149
         test ! -s conftest.err
 
20150
       } && test -s conftest.$ac_objext; then
 
20151
  :
 
20152
else
 
20153
  echo "$as_me: failed program was:" >&5
 
20154
sed 's/^/| /' conftest.$ac_ext >&5
 
20155
 
 
20156
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
20157
         CXXFLAGS="-g"
 
20158
         cat >conftest.$ac_ext <<_ACEOF
 
20159
/* confdefs.h.  */
 
20160
_ACEOF
 
20161
cat confdefs.h >>conftest.$ac_ext
 
20162
cat >>conftest.$ac_ext <<_ACEOF
 
20163
/* end confdefs.h.  */
 
20164
 
 
20165
int
 
20166
main ()
 
20167
{
 
20168
 
 
20169
  ;
 
20170
  return 0;
 
20171
}
 
20172
_ACEOF
 
20173
rm -f conftest.$ac_objext
 
20174
if { (ac_try="$ac_compile"
 
20175
case "(($ac_try" in
 
20176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20177
  *) ac_try_echo=$ac_try;;
 
20178
esac
 
20179
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20180
  (eval "$ac_compile") 2>conftest.er1
 
20181
  ac_status=$?
 
20182
  grep -v '^ *+' conftest.er1 >conftest.err
 
20183
  rm -f conftest.er1
 
20184
  cat conftest.err >&5
 
20185
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20186
  (exit $ac_status); } && {
 
20187
         test -z "$ac_cxx_werror_flag" ||
 
20188
         test ! -s conftest.err
 
20189
       } && test -s conftest.$ac_objext; then
 
20190
  ac_cv_prog_cxx_g=yes
 
20191
else
 
20192
  echo "$as_me: failed program was:" >&5
 
20193
sed 's/^/| /' conftest.$ac_ext >&5
 
20194
 
 
20195
 
 
20196
fi
 
20197
 
 
20198
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20199
fi
 
20200
 
 
20201
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20202
fi
 
20203
 
 
20204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20205
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
20206
fi
 
20207
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
20208
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19343
20209
if test "$ac_test_CXXFLAGS" = set; then
19344
20210
  CXXFLAGS=$ac_save_CXXFLAGS
19345
20211
elif test $ac_cv_prog_cxx_g = yes; then
19355
20221
    CXXFLAGS=
19356
20222
  fi
19357
20223
fi
19358
 
for ac_declaration in \
19359
 
   '' \
19360
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
19361
 
   'extern "C" void std::exit (int); using std::exit;' \
19362
 
   'extern "C" void exit (int) throw ();' \
19363
 
   'extern "C" void exit (int);' \
19364
 
   'void exit (int);'
19365
 
do
19366
 
  cat >conftest.$ac_ext <<_ACEOF
19367
 
/* confdefs.h.  */
19368
 
_ACEOF
19369
 
cat confdefs.h >>conftest.$ac_ext
19370
 
cat >>conftest.$ac_ext <<_ACEOF
19371
 
/* end confdefs.h.  */
19372
 
$ac_declaration
19373
 
#include <stdlib.h>
19374
 
int
19375
 
main ()
19376
 
{
19377
 
exit (42);
19378
 
  ;
19379
 
  return 0;
19380
 
}
19381
 
_ACEOF
19382
 
rm -f conftest.$ac_objext
19383
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19384
 
  (eval $ac_compile) 2>conftest.er1
19385
 
  ac_status=$?
19386
 
  grep -v '^ *+' conftest.er1 >conftest.err
19387
 
  rm -f conftest.er1
19388
 
  cat conftest.err >&5
19389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390
 
  (exit $ac_status); } &&
19391
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19392
 
                         || test ! -s conftest.err'
19393
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394
 
  (eval $ac_try) 2>&5
19395
 
  ac_status=$?
19396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397
 
  (exit $ac_status); }; } &&
19398
 
         { ac_try='test -s conftest.$ac_objext'
19399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400
 
  (eval $ac_try) 2>&5
19401
 
  ac_status=$?
19402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403
 
  (exit $ac_status); }; }; then
19404
 
  :
19405
 
else
19406
 
  echo "$as_me: failed program was:" >&5
19407
 
sed 's/^/| /' conftest.$ac_ext >&5
19408
 
 
19409
 
continue
19410
 
fi
19411
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19412
 
  cat >conftest.$ac_ext <<_ACEOF
19413
 
/* confdefs.h.  */
19414
 
_ACEOF
19415
 
cat confdefs.h >>conftest.$ac_ext
19416
 
cat >>conftest.$ac_ext <<_ACEOF
19417
 
/* end confdefs.h.  */
19418
 
$ac_declaration
19419
 
int
19420
 
main ()
19421
 
{
19422
 
exit (42);
19423
 
  ;
19424
 
  return 0;
19425
 
}
19426
 
_ACEOF
19427
 
rm -f conftest.$ac_objext
19428
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429
 
  (eval $ac_compile) 2>conftest.er1
19430
 
  ac_status=$?
19431
 
  grep -v '^ *+' conftest.er1 >conftest.err
19432
 
  rm -f conftest.er1
19433
 
  cat conftest.err >&5
19434
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435
 
  (exit $ac_status); } &&
19436
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19437
 
                         || test ! -s conftest.err'
19438
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439
 
  (eval $ac_try) 2>&5
19440
 
  ac_status=$?
19441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442
 
  (exit $ac_status); }; } &&
19443
 
         { ac_try='test -s conftest.$ac_objext'
19444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445
 
  (eval $ac_try) 2>&5
19446
 
  ac_status=$?
19447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448
 
  (exit $ac_status); }; }; then
19449
 
  break
19450
 
else
19451
 
  echo "$as_me: failed program was:" >&5
19452
 
sed 's/^/| /' conftest.$ac_ext >&5
19453
 
 
19454
 
fi
19455
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19456
 
done
19457
 
rm -f conftest*
19458
 
if test -n "$ac_declaration"; then
19459
 
  echo '#ifdef __cplusplus' >>confdefs.h
19460
 
  echo $ac_declaration      >>confdefs.h
19461
 
  echo '#endif'             >>confdefs.h
19462
 
fi
19463
 
 
19464
20224
ac_ext=c
19465
20225
ac_cpp='$CPP $CPPFLAGS'
19466
20226
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469
20229
 
19470
20230
depcc="$CXX"  am_compiler_list=
19471
20231
 
19472
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19473
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
20232
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
20233
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19474
20234
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19475
20235
  echo $ECHO_N "(cached) $ECHO_C" >&6
19476
20236
else
19534
20294
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19535
20295
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
19536
20296
         >/dev/null 2>conftest.err &&
 
20297
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
19537
20298
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19538
20299
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
19539
20300
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19559
20320
fi
19560
20321
 
19561
20322
fi
19562
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
19563
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
20323
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
20324
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
19564
20325
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
19565
20326
 
19566
 
 
19567
 
 
19568
 
if
 
20327
 if
19569
20328
  test "x$enable_dependency_tracking" != xno \
19570
20329
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
19571
20330
  am__fastdepCXX_TRUE=
19577
20336
 
19578
20337
 
19579
20338
 
19580
 
ac_ext=cc
 
20339
ac_ext=cpp
19581
20340
ac_cpp='$CXXCPP $CPPFLAGS'
19582
20341
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19583
20342
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19585
20344
 
19586
20345
 
19587
20346
 
19588
 
echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19589
 
echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
 
20347
{ echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
 
20348
echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
19590
20349
cat >conftest.$ac_ext <<_ACEOF
19591
20350
/* confdefs.h.  */
19592
20351
_ACEOF
19609
20368
}
19610
20369
_ACEOF
19611
20370
rm -f conftest.$ac_objext
19612
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19613
 
  (eval $ac_compile) 2>conftest.er1
 
20371
if { (ac_try="$ac_compile"
 
20372
case "(($ac_try" in
 
20373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20374
  *) ac_try_echo=$ac_try;;
 
20375
esac
 
20376
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20377
  (eval "$ac_compile") 2>conftest.er1
19614
20378
  ac_status=$?
19615
20379
  grep -v '^ *+' conftest.er1 >conftest.err
19616
20380
  rm -f conftest.er1
19617
20381
  cat conftest.err >&5
19618
20382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619
 
  (exit $ac_status); } &&
19620
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19621
 
                         || test ! -s conftest.err'
19622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623
 
  (eval $ac_try) 2>&5
19624
 
  ac_status=$?
19625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626
 
  (exit $ac_status); }; } &&
19627
 
         { ac_try='test -s conftest.$ac_objext'
19628
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629
 
  (eval $ac_try) 2>&5
19630
 
  ac_status=$?
19631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632
 
  (exit $ac_status); }; }; then
 
20383
  (exit $ac_status); } && {
 
20384
         test -z "$ac_cxx_werror_flag" ||
 
20385
         test ! -s conftest.err
 
20386
       } && test -s conftest.$ac_objext; then
19633
20387
 
19634
20388
  ac_cxx_bool=yes
19635
 
  echo "$as_me:$LINENO: result: $ac_cxx_bool" >&5
19636
 
echo "${ECHO_T}$ac_cxx_bool" >&6
 
20389
  { echo "$as_me:$LINENO: result: $ac_cxx_bool" >&5
 
20390
echo "${ECHO_T}$ac_cxx_bool" >&6; }
19637
20391
 
19638
20392
 
19639
20393
else
19642
20396
 
19643
20397
 
19644
20398
  ac_cxx_bool=no
19645
 
  echo "$as_me:$LINENO: result: $ac_cxx_bool" >&5
19646
 
echo "${ECHO_T}$ac_cxx_bool" >&6
 
20399
  { echo "$as_me:$LINENO: result: $ac_cxx_bool" >&5
 
20400
echo "${ECHO_T}$ac_cxx_bool" >&6; }
19647
20401
  config_error=yes
19648
20402
 
19649
20403
fi
19650
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19651
 
 
19652
 
 
19653
 
echo "$as_me:$LINENO: checking if C++ compiler supports namespaces" >&5
19654
 
echo $ECHO_N "checking if C++ compiler supports namespaces... $ECHO_C" >&6
 
20404
 
 
20405
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20406
 
 
20407
 
 
20408
{ echo "$as_me:$LINENO: checking if C++ compiler supports namespaces" >&5
 
20409
echo $ECHO_N "checking if C++ compiler supports namespaces... $ECHO_C" >&6; }
19655
20410
cat >conftest.$ac_ext <<_ACEOF
19656
20411
/* confdefs.h.  */
19657
20412
_ACEOF
19674
20429
}
19675
20430
_ACEOF
19676
20431
rm -f conftest.$ac_objext
19677
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19678
 
  (eval $ac_compile) 2>conftest.er1
 
20432
if { (ac_try="$ac_compile"
 
20433
case "(($ac_try" in
 
20434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20435
  *) ac_try_echo=$ac_try;;
 
20436
esac
 
20437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20438
  (eval "$ac_compile") 2>conftest.er1
19679
20439
  ac_status=$?
19680
20440
  grep -v '^ *+' conftest.er1 >conftest.err
19681
20441
  rm -f conftest.er1
19682
20442
  cat conftest.err >&5
19683
20443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684
 
  (exit $ac_status); } &&
19685
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19686
 
                         || test ! -s conftest.err'
19687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688
 
  (eval $ac_try) 2>&5
19689
 
  ac_status=$?
19690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691
 
  (exit $ac_status); }; } &&
19692
 
         { ac_try='test -s conftest.$ac_objext'
19693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694
 
  (eval $ac_try) 2>&5
19695
 
  ac_status=$?
19696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697
 
  (exit $ac_status); }; }; then
 
20444
  (exit $ac_status); } && {
 
20445
         test -z "$ac_cxx_werror_flag" ||
 
20446
         test ! -s conftest.err
 
20447
       } && test -s conftest.$ac_objext; then
19698
20448
 
19699
20449
 ac_cxx_namespaces=yes
19700
 
 echo "$as_me:$LINENO: result: $ac_cxx_namespaces" >&5
19701
 
echo "${ECHO_T}$ac_cxx_namespaces" >&6
 
20450
 { echo "$as_me:$LINENO: result: $ac_cxx_namespaces" >&5
 
20451
echo "${ECHO_T}$ac_cxx_namespaces" >&6; }
19702
20452
 
19703
20453
 
19704
20454
else
19707
20457
 
19708
20458
 
19709
20459
 ac_cxx_namespaces=no
19710
 
 echo "$as_me:$LINENO: result: $ac_cxx_namespaces" >&5
19711
 
echo "${ECHO_T}$ac_cxx_namespaces" >&6
 
20460
 { echo "$as_me:$LINENO: result: $ac_cxx_namespaces" >&5
 
20461
echo "${ECHO_T}$ac_cxx_namespaces" >&6; }
19712
20462
 config_error=yes
19713
20463
 
19714
20464
fi
19715
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19716
 
 
19717
 
 
19718
 
echo "$as_me:$LINENO: checking if C++ compiler supports mutable" >&5
19719
 
echo $ECHO_N "checking if C++ compiler supports mutable... $ECHO_C" >&6
 
20465
 
 
20466
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20467
 
 
20468
 
 
20469
{ echo "$as_me:$LINENO: checking if C++ compiler supports mutable" >&5
 
20470
echo $ECHO_N "checking if C++ compiler supports mutable... $ECHO_C" >&6; }
19720
20471
cat >conftest.$ac_ext <<_ACEOF
19721
20472
/* confdefs.h.  */
19722
20473
_ACEOF
19740
20491
}
19741
20492
_ACEOF
19742
20493
rm -f conftest.$ac_objext
19743
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19744
 
  (eval $ac_compile) 2>conftest.er1
 
20494
if { (ac_try="$ac_compile"
 
20495
case "(($ac_try" in
 
20496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20497
  *) ac_try_echo=$ac_try;;
 
20498
esac
 
20499
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20500
  (eval "$ac_compile") 2>conftest.er1
19745
20501
  ac_status=$?
19746
20502
  grep -v '^ *+' conftest.er1 >conftest.err
19747
20503
  rm -f conftest.er1
19748
20504
  cat conftest.err >&5
19749
20505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750
 
  (exit $ac_status); } &&
19751
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19752
 
                         || test ! -s conftest.err'
19753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754
 
  (eval $ac_try) 2>&5
19755
 
  ac_status=$?
19756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757
 
  (exit $ac_status); }; } &&
19758
 
         { ac_try='test -s conftest.$ac_objext'
19759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760
 
  (eval $ac_try) 2>&5
19761
 
  ac_status=$?
19762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763
 
  (exit $ac_status); }; }; then
 
20506
  (exit $ac_status); } && {
 
20507
         test -z "$ac_cxx_werror_flag" ||
 
20508
         test ! -s conftest.err
 
20509
       } && test -s conftest.$ac_objext; then
19764
20510
 
19765
20511
  ac_cxx_mutable=yes
19766
 
  echo "$as_me:$LINENO: result: $ac_cxx_mutable" >&5
19767
 
echo "${ECHO_T}$ac_cxx_mutable" >&6
 
20512
  { echo "$as_me:$LINENO: result: $ac_cxx_mutable" >&5
 
20513
echo "${ECHO_T}$ac_cxx_mutable" >&6; }
19768
20514
 
19769
20515
 
19770
20516
else
19773
20519
 
19774
20520
 
19775
20521
  ac_cxx_mutable=no
19776
 
  echo "$as_me:$LINENO: result: $ac_cxx_mutable" >&5
19777
 
echo "${ECHO_T}$ac_cxx_mutable" >&6
 
20522
  { echo "$as_me:$LINENO: result: $ac_cxx_mutable" >&5
 
20523
echo "${ECHO_T}$ac_cxx_mutable" >&6; }
19778
20524
  config_error=yes
19779
20525
 
19780
20526
fi
19781
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19782
 
 
19783
 
 
19784
 
echo "$as_me:$LINENO: checking if C++ environment provides all required features" >&5
19785
 
echo $ECHO_N "checking if C++ environment provides all required features... $ECHO_C" >&6
 
20527
 
 
20528
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20529
 
 
20530
 
 
20531
{ echo "$as_me:$LINENO: checking if C++ environment provides all required features" >&5
 
20532
echo $ECHO_N "checking if C++ environment provides all required features... $ECHO_C" >&6; }
19786
20533
if test "x$config_error" = xyes ; then
19787
 
  echo "$as_me:$LINENO: result: no" >&5
19788
 
echo "${ECHO_T}no" >&6
 
20534
  { echo "$as_me:$LINENO: result: no" >&5
 
20535
echo "${ECHO_T}no" >&6; }
19789
20536
  { { echo "$as_me:$LINENO: error: Your compiler is not powerful enough to compile gtkmm. If it should be, see config.log for more information of why it failed." >&5
19790
20537
echo "$as_me: error: Your compiler is not powerful enough to compile gtkmm. If it should be, see config.log for more information of why it failed." >&2;}
19791
20538
   { (exit 1); exit 1; }; }
19792
20539
fi
19793
 
echo "$as_me:$LINENO: result: yes" >&5
19794
 
echo "${ECHO_T}yes" >&6
19795
 
 
19796
 
 
19797
 
  echo "$as_me:$LINENO: checking whether C++ library symbols are declared in namespace std" >&5
19798
 
echo $ECHO_N "checking whether C++ library symbols are declared in namespace std... $ECHO_C" >&6
 
20540
{ echo "$as_me:$LINENO: result: yes" >&5
 
20541
echo "${ECHO_T}yes" >&6; }
 
20542
 
 
20543
 
 
20544
  { echo "$as_me:$LINENO: checking whether C++ library symbols are declared in namespace std" >&5
 
20545
echo $ECHO_N "checking whether C++ library symbols are declared in namespace std... $ECHO_C" >&6; }
19799
20546
if test "${gtkmm_cv_cxx_has_namespace_std+set}" = set; then
19800
20547
  echo $ECHO_N "(cached) $ECHO_C" >&6
19801
20548
else
19829
20576
}
19830
20577
_ACEOF
19831
20578
rm -f conftest.$ac_objext
19832
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19833
 
  (eval $ac_compile) 2>conftest.er1
 
20579
if { (ac_try="$ac_compile"
 
20580
case "(($ac_try" in
 
20581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20582
  *) ac_try_echo=$ac_try;;
 
20583
esac
 
20584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20585
  (eval "$ac_compile") 2>conftest.er1
19834
20586
  ac_status=$?
19835
20587
  grep -v '^ *+' conftest.er1 >conftest.err
19836
20588
  rm -f conftest.er1
19837
20589
  cat conftest.err >&5
19838
20590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839
 
  (exit $ac_status); } &&
19840
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19841
 
                         || test ! -s conftest.err'
19842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843
 
  (eval $ac_try) 2>&5
19844
 
  ac_status=$?
19845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846
 
  (exit $ac_status); }; } &&
19847
 
         { ac_try='test -s conftest.$ac_objext'
19848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849
 
  (eval $ac_try) 2>&5
19850
 
  ac_status=$?
19851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852
 
  (exit $ac_status); }; }; then
 
20591
  (exit $ac_status); } && {
 
20592
         test -z "$ac_cxx_werror_flag" ||
 
20593
         test ! -s conftest.err
 
20594
       } && test -s conftest.$ac_objext; then
19853
20595
  gtkmm_cv_cxx_has_namespace_std="yes"
19854
20596
else
19855
20597
  echo "$as_me: failed program was:" >&5
19856
20598
sed 's/^/| /' conftest.$ac_ext >&5
19857
20599
 
19858
 
gtkmm_cv_cxx_has_namespace_std="no"
19859
 
 
19860
 
fi
19861
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19862
 
 
19863
 
fi
19864
 
echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_namespace_std" >&5
19865
 
echo "${ECHO_T}$gtkmm_cv_cxx_has_namespace_std" >&6
 
20600
        gtkmm_cv_cxx_has_namespace_std="no"
 
20601
 
 
20602
fi
 
20603
 
 
20604
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20605
 
 
20606
fi
 
20607
{ echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_namespace_std" >&5
 
20608
echo "${ECHO_T}$gtkmm_cv_cxx_has_namespace_std" >&6; }
19866
20609
 
19867
20610
  if test "x${gtkmm_cv_cxx_has_namespace_std}" = "xyes"; then
19868
20611
  {
19877
20620
 
19878
20621
 
19879
20622
 
19880
 
  echo "$as_me:$LINENO: checking whether the C++ library supports std::iterator_traits" >&5
19881
 
echo $ECHO_N "checking whether the C++ library supports std::iterator_traits... $ECHO_C" >&6
 
20623
  { echo "$as_me:$LINENO: checking whether the C++ library supports std::iterator_traits" >&5
 
20624
echo $ECHO_N "checking whether the C++ library supports std::iterator_traits... $ECHO_C" >&6; }
19882
20625
if test "${gtkmm_cv_cxx_has_std_iterator_traits+set}" = set; then
19883
20626
  echo $ECHO_N "(cached) $ECHO_C" >&6
19884
20627
else
19906
20649
}
19907
20650
_ACEOF
19908
20651
rm -f conftest.$ac_objext
19909
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910
 
  (eval $ac_compile) 2>conftest.er1
 
20652
if { (ac_try="$ac_compile"
 
20653
case "(($ac_try" in
 
20654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20655
  *) ac_try_echo=$ac_try;;
 
20656
esac
 
20657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20658
  (eval "$ac_compile") 2>conftest.er1
19911
20659
  ac_status=$?
19912
20660
  grep -v '^ *+' conftest.er1 >conftest.err
19913
20661
  rm -f conftest.er1
19914
20662
  cat conftest.err >&5
19915
20663
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916
 
  (exit $ac_status); } &&
19917
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19918
 
                         || test ! -s conftest.err'
19919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920
 
  (eval $ac_try) 2>&5
19921
 
  ac_status=$?
19922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923
 
  (exit $ac_status); }; } &&
19924
 
         { ac_try='test -s conftest.$ac_objext'
19925
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926
 
  (eval $ac_try) 2>&5
19927
 
  ac_status=$?
19928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929
 
  (exit $ac_status); }; }; then
 
20664
  (exit $ac_status); } && {
 
20665
         test -z "$ac_cxx_werror_flag" ||
 
20666
         test ! -s conftest.err
 
20667
       } && test -s conftest.$ac_objext; then
19930
20668
  gtkmm_cv_cxx_has_std_iterator_traits="yes"
19931
20669
else
19932
20670
  echo "$as_me: failed program was:" >&5
19933
20671
sed 's/^/| /' conftest.$ac_ext >&5
19934
20672
 
19935
 
gtkmm_cv_cxx_has_std_iterator_traits="no"
19936
 
 
19937
 
fi
19938
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19939
 
 
19940
 
fi
19941
 
echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_std_iterator_traits" >&5
19942
 
echo "${ECHO_T}$gtkmm_cv_cxx_has_std_iterator_traits" >&6
 
20673
        gtkmm_cv_cxx_has_std_iterator_traits="no"
 
20674
 
 
20675
fi
 
20676
 
 
20677
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20678
 
 
20679
fi
 
20680
{ echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_std_iterator_traits" >&5
 
20681
echo "${ECHO_T}$gtkmm_cv_cxx_has_std_iterator_traits" >&6; }
19943
20682
 
19944
20683
  if test "x${gtkmm_cv_cxx_has_std_iterator_traits}" = "xyes"; then
19945
20684
  {
19954
20693
 
19955
20694
 
19956
20695
 
19957
 
  echo "$as_me:$LINENO: checking for non-standard Sun libCstd reverse_iterator" >&5
19958
 
echo $ECHO_N "checking for non-standard Sun libCstd reverse_iterator... $ECHO_C" >&6
 
20696
  { echo "$as_me:$LINENO: checking for non-standard Sun libCstd reverse_iterator" >&5
 
20697
echo $ECHO_N "checking for non-standard Sun libCstd reverse_iterator... $ECHO_C" >&6; }
19959
20698
if test "${gtkmm_cv_cxx_has_sun_reverse_iterator+set}" = set; then
19960
20699
  echo $ECHO_N "(cached) $ECHO_C" >&6
19961
20700
else
19983
20722
}
19984
20723
_ACEOF
19985
20724
rm -f conftest.$ac_objext
19986
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987
 
  (eval $ac_compile) 2>conftest.er1
 
20725
if { (ac_try="$ac_compile"
 
20726
case "(($ac_try" in
 
20727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20728
  *) ac_try_echo=$ac_try;;
 
20729
esac
 
20730
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20731
  (eval "$ac_compile") 2>conftest.er1
19988
20732
  ac_status=$?
19989
20733
  grep -v '^ *+' conftest.er1 >conftest.err
19990
20734
  rm -f conftest.er1
19991
20735
  cat conftest.err >&5
19992
20736
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993
 
  (exit $ac_status); } &&
19994
 
         { ac_try='test -z "$ac_cxx_werror_flag"
19995
 
                         || test ! -s conftest.err'
19996
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997
 
  (eval $ac_try) 2>&5
19998
 
  ac_status=$?
19999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000
 
  (exit $ac_status); }; } &&
20001
 
         { ac_try='test -s conftest.$ac_objext'
20002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003
 
  (eval $ac_try) 2>&5
20004
 
  ac_status=$?
20005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006
 
  (exit $ac_status); }; }; then
 
20737
  (exit $ac_status); } && {
 
20738
         test -z "$ac_cxx_werror_flag" ||
 
20739
         test ! -s conftest.err
 
20740
       } && test -s conftest.$ac_objext; then
20007
20741
  gtkmm_cv_cxx_has_sun_reverse_iterator="yes"
20008
20742
else
20009
20743
  echo "$as_me: failed program was:" >&5
20010
20744
sed 's/^/| /' conftest.$ac_ext >&5
20011
20745
 
20012
 
gtkmm_cv_cxx_has_sun_reverse_iterator="no"
20013
 
 
20014
 
fi
20015
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20016
 
 
20017
 
fi
20018
 
echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_sun_reverse_iterator" >&5
20019
 
echo "${ECHO_T}$gtkmm_cv_cxx_has_sun_reverse_iterator" >&6
 
20746
        gtkmm_cv_cxx_has_sun_reverse_iterator="no"
 
20747
 
 
20748
fi
 
20749
 
 
20750
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20751
 
 
20752
fi
 
20753
{ echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_sun_reverse_iterator" >&5
 
20754
echo "${ECHO_T}$gtkmm_cv_cxx_has_sun_reverse_iterator" >&6; }
20020
20755
 
20021
20756
  if test "x${gtkmm_cv_cxx_has_sun_reverse_iterator}" = "xyes"; then
20022
20757
  {
20031
20766
 
20032
20767
 
20033
20768
 
20034
 
  echo "$as_me:$LINENO: checking whether STL containers have templated sequence constructors" >&5
20035
 
echo $ECHO_N "checking whether STL containers have templated sequence constructors... $ECHO_C" >&6
 
20769
  { echo "$as_me:$LINENO: checking whether STL containers have templated sequence constructors" >&5
 
20770
echo $ECHO_N "checking whether STL containers have templated sequence constructors... $ECHO_C" >&6; }
20036
20771
if test "${gtkmm_cv_cxx_has_template_sequence_ctors+set}" = set; then
20037
20772
  echo $ECHO_N "(cached) $ECHO_C" >&6
20038
20773
else
20066
20801
}
20067
20802
_ACEOF
20068
20803
rm -f conftest.$ac_objext
20069
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20070
 
  (eval $ac_compile) 2>conftest.er1
 
20804
if { (ac_try="$ac_compile"
 
20805
case "(($ac_try" in
 
20806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20807
  *) ac_try_echo=$ac_try;;
 
20808
esac
 
20809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20810
  (eval "$ac_compile") 2>conftest.er1
20071
20811
  ac_status=$?
20072
20812
  grep -v '^ *+' conftest.er1 >conftest.err
20073
20813
  rm -f conftest.er1
20074
20814
  cat conftest.err >&5
20075
20815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076
 
  (exit $ac_status); } &&
20077
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20078
 
                         || test ! -s conftest.err'
20079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080
 
  (eval $ac_try) 2>&5
20081
 
  ac_status=$?
20082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083
 
  (exit $ac_status); }; } &&
20084
 
         { ac_try='test -s conftest.$ac_objext'
20085
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086
 
  (eval $ac_try) 2>&5
20087
 
  ac_status=$?
20088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089
 
  (exit $ac_status); }; }; then
 
20816
  (exit $ac_status); } && {
 
20817
         test -z "$ac_cxx_werror_flag" ||
 
20818
         test ! -s conftest.err
 
20819
       } && test -s conftest.$ac_objext; then
20090
20820
  gtkmm_cv_cxx_has_template_sequence_ctors="yes"
20091
20821
else
20092
20822
  echo "$as_me: failed program was:" >&5
20093
20823
sed 's/^/| /' conftest.$ac_ext >&5
20094
20824
 
20095
 
gtkmm_cv_cxx_has_template_sequence_ctors="no"
20096
 
 
20097
 
fi
20098
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20099
 
 
20100
 
fi
20101
 
echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_template_sequence_ctors" >&5
20102
 
echo "${ECHO_T}$gtkmm_cv_cxx_has_template_sequence_ctors" >&6
 
20825
        gtkmm_cv_cxx_has_template_sequence_ctors="no"
 
20826
 
 
20827
fi
 
20828
 
 
20829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20830
 
 
20831
fi
 
20832
{ echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_template_sequence_ctors" >&5
 
20833
echo "${ECHO_T}$gtkmm_cv_cxx_has_template_sequence_ctors" >&6; }
20103
20834
 
20104
20835
  if test "x${gtkmm_cv_cxx_has_template_sequence_ctors}" = "xyes"; then
20105
20836
  {
20112
20843
  fi
20113
20844
 
20114
20845
 
20115
 
echo "$as_me:$LINENO: checking if C++ compiler allows member functions to refer to member templates" >&5
20116
 
echo $ECHO_N "checking if C++ compiler allows member functions to refer to member templates... $ECHO_C" >&6
 
20846
{ echo "$as_me:$LINENO: checking if C++ compiler allows member functions to refer to member templates" >&5
 
20847
echo $ECHO_N "checking if C++ compiler allows member functions to refer to member templates... $ECHO_C" >&6; }
20117
20848
cat >conftest.$ac_ext <<_ACEOF
20118
20849
/* confdefs.h.  */
20119
20850
_ACEOF
20162
20893
}
20163
20894
_ACEOF
20164
20895
rm -f conftest.$ac_objext
20165
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20166
 
  (eval $ac_compile) 2>conftest.er1
 
20896
if { (ac_try="$ac_compile"
 
20897
case "(($ac_try" in
 
20898
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20899
  *) ac_try_echo=$ac_try;;
 
20900
esac
 
20901
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20902
  (eval "$ac_compile") 2>conftest.er1
20167
20903
  ac_status=$?
20168
20904
  grep -v '^ *+' conftest.er1 >conftest.err
20169
20905
  rm -f conftest.er1
20170
20906
  cat conftest.err >&5
20171
20907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172
 
  (exit $ac_status); } &&
20173
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20174
 
                         || test ! -s conftest.err'
20175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20176
 
  (eval $ac_try) 2>&5
20177
 
  ac_status=$?
20178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179
 
  (exit $ac_status); }; } &&
20180
 
         { ac_try='test -s conftest.$ac_objext'
20181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182
 
  (eval $ac_try) 2>&5
20183
 
  ac_status=$?
20184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185
 
  (exit $ac_status); }; }; then
 
20908
  (exit $ac_status); } && {
 
20909
         test -z "$ac_cxx_werror_flag" ||
 
20910
         test ! -s conftest.err
 
20911
       } && test -s conftest.$ac_objext; then
20186
20912
 
20187
20913
  glibmm_cxx_member_functions_member_templates=yes
20188
20914
 
20190
20916
#define GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES 1
20191
20917
_ACEOF
20192
20918
 
20193
 
  echo "$as_me:$LINENO: result: $glibmm_cxx_member_functions_member_templates" >&5
20194
 
echo "${ECHO_T}$glibmm_cxx_member_functions_member_templates" >&6
 
20919
  { echo "$as_me:$LINENO: result: $glibmm_cxx_member_functions_member_templates" >&5
 
20920
echo "${ECHO_T}$glibmm_cxx_member_functions_member_templates" >&6; }
20195
20921
 
20196
20922
else
20197
20923
  echo "$as_me: failed program was:" >&5
20203
20929
#define GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES 0
20204
20930
_ACEOF
20205
20931
 
20206
 
  echo "$as_me:$LINENO: result: $glibmm_cxx_member_functions_member_templates" >&5
20207
 
echo "${ECHO_T}$glibmm_cxx_member_functions_member_templates" >&6
 
20932
  { echo "$as_me:$LINENO: result: $glibmm_cxx_member_functions_member_templates" >&5
 
20933
echo "${ECHO_T}$glibmm_cxx_member_functions_member_templates" >&6; }
20208
20934
 
20209
20935
fi
20210
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20211
 
 
20212
 
 
20213
 
 
20214
 
 
20215
 
  echo "$as_me:$LINENO: checking whether the compiler finds it ambiguous to have both const and non-const template specializations" >&5
20216
 
echo $ECHO_N "checking whether the compiler finds it ambiguous to have both const and non-const template specializations... $ECHO_C" >&6
 
20936
 
 
20937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20938
 
 
20939
 
 
20940
 
 
20941
 
 
20942
  { echo "$as_me:$LINENO: checking whether the compiler finds it ambiguous to have both const and non-const template specializations" >&5
 
20943
echo $ECHO_N "checking whether the compiler finds it ambiguous to have both const and non-const template specializations... $ECHO_C" >&6; }
20217
20944
if test "${glibmm_cv_cxx_can_disambiguate_const_template_specializations+set}" = set; then
20218
20945
  echo $ECHO_N "(cached) $ECHO_C" >&6
20219
20946
else
20271
20998
}
20272
20999
_ACEOF
20273
21000
rm -f conftest.$ac_objext
20274
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20275
 
  (eval $ac_compile) 2>conftest.er1
 
21001
if { (ac_try="$ac_compile"
 
21002
case "(($ac_try" in
 
21003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21004
  *) ac_try_echo=$ac_try;;
 
21005
esac
 
21006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21007
  (eval "$ac_compile") 2>conftest.er1
20276
21008
  ac_status=$?
20277
21009
  grep -v '^ *+' conftest.er1 >conftest.err
20278
21010
  rm -f conftest.er1
20279
21011
  cat conftest.err >&5
20280
21012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281
 
  (exit $ac_status); } &&
20282
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20283
 
                         || test ! -s conftest.err'
20284
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285
 
  (eval $ac_try) 2>&5
20286
 
  ac_status=$?
20287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288
 
  (exit $ac_status); }; } &&
20289
 
         { ac_try='test -s conftest.$ac_objext'
20290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291
 
  (eval $ac_try) 2>&5
20292
 
  ac_status=$?
20293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294
 
  (exit $ac_status); }; }; then
 
21013
  (exit $ac_status); } && {
 
21014
         test -z "$ac_cxx_werror_flag" ||
 
21015
         test ! -s conftest.err
 
21016
       } && test -s conftest.$ac_objext; then
20295
21017
  glibmm_cv_cxx_can_disambiguate_const_template_specializations="yes"
20296
21018
else
20297
21019
  echo "$as_me: failed program was:" >&5
20298
21020
sed 's/^/| /' conftest.$ac_ext >&5
20299
21021
 
20300
 
glibmm_cv_cxx_can_disambiguate_const_template_specializations="no"
20301
 
 
20302
 
fi
20303
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20304
 
 
20305
 
fi
20306
 
echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_disambiguate_const_template_specializations" >&5
20307
 
echo "${ECHO_T}$glibmm_cv_cxx_can_disambiguate_const_template_specializations" >&6
 
21022
        glibmm_cv_cxx_can_disambiguate_const_template_specializations="no"
 
21023
 
 
21024
fi
 
21025
 
 
21026
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21027
 
 
21028
fi
 
21029
{ echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_disambiguate_const_template_specializations" >&5
 
21030
echo "${ECHO_T}$glibmm_cv_cxx_can_disambiguate_const_template_specializations" >&6; }
20308
21031
 
20309
21032
  if test "x${glibmm_cv_cxx_can_disambiguate_const_template_specializations}" = "xyes"; then
20310
21033
  {
20317
21040
  fi
20318
21041
 
20319
21042
 
20320
 
  echo "$as_me:$LINENO: checking whether the compiler allows us to define a template that uses dynamic_cast<> with an object whose type is not yet defined" >&5
20321
 
echo $ECHO_N "checking whether the compiler allows us to define a template that uses dynamic_cast<> with an object whose type is not yet defined... $ECHO_C" >&6
 
21043
  { echo "$as_me:$LINENO: checking whether the compiler allows us to define a template that uses dynamic_cast<> with an object whose type is not yet defined" >&5
 
21044
echo $ECHO_N "checking whether the compiler allows us to define a template that uses dynamic_cast<> with an object whose type is not yet defined... $ECHO_C" >&6; }
20322
21045
if test "${glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition+set}" = set; then
20323
21046
  echo $ECHO_N "(cached) $ECHO_C" >&6
20324
21047
else
20358
21081
}
20359
21082
_ACEOF
20360
21083
rm -f conftest.$ac_objext
20361
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362
 
  (eval $ac_compile) 2>conftest.er1
 
21084
if { (ac_try="$ac_compile"
 
21085
case "(($ac_try" in
 
21086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21087
  *) ac_try_echo=$ac_try;;
 
21088
esac
 
21089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21090
  (eval "$ac_compile") 2>conftest.er1
20363
21091
  ac_status=$?
20364
21092
  grep -v '^ *+' conftest.er1 >conftest.err
20365
21093
  rm -f conftest.er1
20366
21094
  cat conftest.err >&5
20367
21095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368
 
  (exit $ac_status); } &&
20369
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20370
 
                         || test ! -s conftest.err'
20371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372
 
  (eval $ac_try) 2>&5
20373
 
  ac_status=$?
20374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375
 
  (exit $ac_status); }; } &&
20376
 
         { ac_try='test -s conftest.$ac_objext'
20377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378
 
  (eval $ac_try) 2>&5
20379
 
  ac_status=$?
20380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381
 
  (exit $ac_status); }; }; then
 
21096
  (exit $ac_status); } && {
 
21097
         test -z "$ac_cxx_werror_flag" ||
 
21098
         test ! -s conftest.err
 
21099
       } && test -s conftest.$ac_objext; then
20382
21100
  glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition="yes"
20383
21101
else
20384
21102
  echo "$as_me: failed program was:" >&5
20385
21103
sed 's/^/| /' conftest.$ac_ext >&5
20386
21104
 
20387
 
glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition="no"
20388
 
 
20389
 
fi
20390
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20391
 
 
20392
 
fi
20393
 
echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition" >&5
20394
 
echo "${ECHO_T}$glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition" >&6
 
21105
        glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition="no"
 
21106
 
 
21107
fi
 
21108
 
 
21109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21110
 
 
21111
fi
 
21112
{ echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition" >&5
 
21113
echo "${ECHO_T}$glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition" >&6; }
20395
21114
 
20396
21115
  if test "x${glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition}" = "xyes"; then
20397
21116
  {
20404
21123
  fi
20405
21124
 
20406
21125
 
20407
 
  echo "$as_me:$LINENO: checking whether the the compilerallows us to use a non-extern \"C\" function for an extern \"C\" function pointer." >&5
20408
 
echo $ECHO_N "checking whether the the compilerallows us to use a non-extern \"C\" function for an extern \"C\" function pointer.... $ECHO_C" >&6
 
21126
  { echo "$as_me:$LINENO: checking whether the the compilerallows us to use a non-extern \"C\" function for an extern \"C\" function pointer." >&5
 
21127
echo $ECHO_N "checking whether the the compilerallows us to use a non-extern \"C\" function for an extern \"C\" function pointer.... $ECHO_C" >&6; }
20409
21128
if test "${glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks+set}" = set; then
20410
21129
  echo $ECHO_N "(cached) $ECHO_C" >&6
20411
21130
else
20443
21162
}
20444
21163
_ACEOF
20445
21164
rm -f conftest.$ac_objext
20446
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447
 
  (eval $ac_compile) 2>conftest.er1
 
21165
if { (ac_try="$ac_compile"
 
21166
case "(($ac_try" in
 
21167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21168
  *) ac_try_echo=$ac_try;;
 
21169
esac
 
21170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21171
  (eval "$ac_compile") 2>conftest.er1
20448
21172
  ac_status=$?
20449
21173
  grep -v '^ *+' conftest.er1 >conftest.err
20450
21174
  rm -f conftest.er1
20451
21175
  cat conftest.err >&5
20452
21176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453
 
  (exit $ac_status); } &&
20454
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20455
 
                         || test ! -s conftest.err'
20456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457
 
  (eval $ac_try) 2>&5
20458
 
  ac_status=$?
20459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460
 
  (exit $ac_status); }; } &&
20461
 
         { ac_try='test -s conftest.$ac_objext'
20462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463
 
  (eval $ac_try) 2>&5
20464
 
  ac_status=$?
20465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466
 
  (exit $ac_status); }; }; then
 
21177
  (exit $ac_status); } && {
 
21178
         test -z "$ac_cxx_werror_flag" ||
 
21179
         test ! -s conftest.err
 
21180
       } && test -s conftest.$ac_objext; then
20467
21181
  glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks="yes"
20468
21182
else
20469
21183
  echo "$as_me: failed program was:" >&5
20470
21184
sed 's/^/| /' conftest.$ac_ext >&5
20471
21185
 
20472
 
glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks="no"
20473
 
 
20474
 
fi
20475
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20476
 
 
20477
 
fi
20478
 
echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks" >&5
20479
 
echo "${ECHO_T}$glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks" >&6
 
21186
        glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks="no"
 
21187
 
 
21188
fi
 
21189
 
 
21190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21191
 
 
21192
fi
 
21193
{ echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks" >&5
 
21194
echo "${ECHO_T}$glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks" >&6; }
20480
21195
 
20481
21196
  if test "x${glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks}" = "xyes"; then
20482
21197
  {
20489
21204
  fi
20490
21205
 
20491
21206
 
20492
 
  echo "$as_me:$LINENO: checking whether the compiler uses namespace declarations inside extern \"C\" blocks." >&5
20493
 
echo $ECHO_N "checking whether the compiler uses namespace declarations inside extern \"C\" blocks.... $ECHO_C" >&6
 
21207
  { echo "$as_me:$LINENO: checking whether the compiler uses namespace declarations inside extern \"C\" blocks." >&5
 
21208
echo $ECHO_N "checking whether the compiler uses namespace declarations inside extern \"C\" blocks.... $ECHO_C" >&6; }
20494
21209
if test "${glibmm_cv_cxx_can_use_namespaces_inside_externc+set}" = set; then
20495
21210
  echo $ECHO_N "(cached) $ECHO_C" >&6
20496
21211
else
20542
21257
}
20543
21258
_ACEOF
20544
21259
rm -f conftest.$ac_objext
20545
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20546
 
  (eval $ac_compile) 2>conftest.er1
 
21260
if { (ac_try="$ac_compile"
 
21261
case "(($ac_try" in
 
21262
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21263
  *) ac_try_echo=$ac_try;;
 
21264
esac
 
21265
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21266
  (eval "$ac_compile") 2>conftest.er1
20547
21267
  ac_status=$?
20548
21268
  grep -v '^ *+' conftest.er1 >conftest.err
20549
21269
  rm -f conftest.er1
20550
21270
  cat conftest.err >&5
20551
21271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552
 
  (exit $ac_status); } &&
20553
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20554
 
                         || test ! -s conftest.err'
20555
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556
 
  (eval $ac_try) 2>&5
20557
 
  ac_status=$?
20558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559
 
  (exit $ac_status); }; } &&
20560
 
         { ac_try='test -s conftest.$ac_objext'
20561
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562
 
  (eval $ac_try) 2>&5
20563
 
  ac_status=$?
20564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565
 
  (exit $ac_status); }; }; then
 
21272
  (exit $ac_status); } && {
 
21273
         test -z "$ac_cxx_werror_flag" ||
 
21274
         test ! -s conftest.err
 
21275
       } && test -s conftest.$ac_objext; then
20566
21276
  glibmm_cv_cxx_can_use_namespaces_inside_externc="yes"
20567
21277
else
20568
21278
  echo "$as_me: failed program was:" >&5
20569
21279
sed 's/^/| /' conftest.$ac_ext >&5
20570
21280
 
20571
 
glibmm_cv_cxx_can_use_namespaces_inside_externc="no"
20572
 
 
20573
 
fi
20574
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20575
 
 
20576
 
fi
20577
 
echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_use_namespaces_inside_externc" >&5
20578
 
echo "${ECHO_T}$glibmm_cv_cxx_can_use_namespaces_inside_externc" >&6
 
21281
        glibmm_cv_cxx_can_use_namespaces_inside_externc="no"
 
21282
 
 
21283
fi
 
21284
 
 
21285
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21286
 
 
21287
fi
 
21288
{ echo "$as_me:$LINENO: result: $glibmm_cv_cxx_can_use_namespaces_inside_externc" >&5
 
21289
echo "${ECHO_T}$glibmm_cv_cxx_can_use_namespaces_inside_externc" >&6; }
20579
21290
 
20580
21291
  if test "x${glibmm_cv_cxx_can_use_namespaces_inside_externc}" = "xyes"; then
20581
21292
  {
20590
21301
 
20591
21302
 
20592
21303
 
20593
 
  echo "$as_me:$LINENO: checking whether the compiler allows a static member variable to be initialized inline to std::string::npos" >&5
20594
 
echo $ECHO_N "checking whether the compiler allows a static member variable to be initialized inline to std::string::npos... $ECHO_C" >&6
 
21304
  { echo "$as_me:$LINENO: checking whether the compiler allows a static member variable to be initialized inline to std::string::npos" >&5
 
21305
echo $ECHO_N "checking whether the compiler allows a static member variable to be initialized inline to std::string::npos... $ECHO_C" >&6; }
20595
21306
if test "${gtkmm_cv_cxx_has_allows_static_inline_npos+set}" = set; then
20596
21307
  echo $ECHO_N "(cached) $ECHO_C" >&6
20597
21308
else
20625
21336
}
20626
21337
_ACEOF
20627
21338
rm -f conftest.$ac_objext
20628
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20629
 
  (eval $ac_compile) 2>conftest.er1
 
21339
if { (ac_try="$ac_compile"
 
21340
case "(($ac_try" in
 
21341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21342
  *) ac_try_echo=$ac_try;;
 
21343
esac
 
21344
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21345
  (eval "$ac_compile") 2>conftest.er1
20630
21346
  ac_status=$?
20631
21347
  grep -v '^ *+' conftest.er1 >conftest.err
20632
21348
  rm -f conftest.er1
20633
21349
  cat conftest.err >&5
20634
21350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635
 
  (exit $ac_status); } &&
20636
 
         { ac_try='test -z "$ac_cxx_werror_flag"
20637
 
                         || test ! -s conftest.err'
20638
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639
 
  (eval $ac_try) 2>&5
20640
 
  ac_status=$?
20641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642
 
  (exit $ac_status); }; } &&
20643
 
         { ac_try='test -s conftest.$ac_objext'
20644
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645
 
  (eval $ac_try) 2>&5
20646
 
  ac_status=$?
20647
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648
 
  (exit $ac_status); }; }; then
 
21351
  (exit $ac_status); } && {
 
21352
         test -z "$ac_cxx_werror_flag" ||
 
21353
         test ! -s conftest.err
 
21354
       } && test -s conftest.$ac_objext; then
20649
21355
  gtkmm_cv_cxx_has_allows_static_inline_npos="yes"
20650
21356
else
20651
21357
  echo "$as_me: failed program was:" >&5
20652
21358
sed 's/^/| /' conftest.$ac_ext >&5
20653
21359
 
20654
 
gtkmm_cv_cxx_has_allows_static_inline_npos="no"
20655
 
 
20656
 
fi
20657
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20658
 
 
20659
 
fi
20660
 
echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_allows_static_inline_npos" >&5
20661
 
echo "${ECHO_T}$gtkmm_cv_cxx_has_allows_static_inline_npos" >&6
 
21360
        gtkmm_cv_cxx_has_allows_static_inline_npos="no"
 
21361
 
 
21362
fi
 
21363
 
 
21364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21365
 
 
21366
fi
 
21367
{ echo "$as_me:$LINENO: result: $gtkmm_cv_cxx_has_allows_static_inline_npos" >&5
 
21368
echo "${ECHO_T}$gtkmm_cv_cxx_has_allows_static_inline_npos" >&6; }
20662
21369
 
20663
21370
  if test "x${gtkmm_cv_cxx_has_allows_static_inline_npos}" = "xyes"; then
20664
21371
  {
20673
21380
 
20674
21381
# Check whether --enable-debug-refcounting was given.
20675
21382
 
20676
 
  # Check whether --enable-debug-refcounting or --disable-debug-refcounting was given.
 
21383
  # Check whether --enable-debug-refcounting was given.
20677
21384
if test "${enable_debug_refcounting+set}" = set; then
20678
 
  enableval="$enable_debug_refcounting"
20679
 
  glibmm_debug_refcounting="$enableval"
 
21385
  enableval=$enable_debug_refcounting; glibmm_debug_refcounting="$enableval"
20680
21386
else
20681
21387
  glibmm_debug_refcounting='no'
20682
 
fi;
 
21388
fi
 
21389
 
20683
21390
 
20684
21391
  if test "x$glibmm_debug_refcounting" = "xyes"; then
20685
21392
  {
20694
21401
 
20695
21402
# Evaluate the --enable-warnings=level option.
20696
21403
 
20697
 
  # Check whether --enable-warnings or --disable-warnings was given.
 
21404
  # Check whether --enable-warnings was given.
20698
21405
if test "${enable_warnings+set}" = set; then
20699
 
  enableval="$enable_warnings"
20700
 
  gtkmm_enable_warnings="$enableval"
 
21406
  enableval=$enable_warnings; gtkmm_enable_warnings="$enableval"
20701
21407
else
20702
21408
  gtkmm_enable_warnings='minimum'
20703
 
fi;
20704
 
 
20705
 
  echo "$as_me:$LINENO: checking for compiler warning flags to use" >&5
20706
 
echo $ECHO_N "checking for compiler warning flags to use... $ECHO_C" >&6
 
21409
fi
 
21410
 
 
21411
 
 
21412
  { echo "$as_me:$LINENO: checking for compiler warning flags to use" >&5
 
21413
echo $ECHO_N "checking for compiler warning flags to use... $ECHO_C" >&6; }
20707
21414
 
20708
21415
  gtkmm_warning_flags=''
20709
21416
 
20747
21454
    gtkmm_use_flags='none'
20748
21455
  fi
20749
21456
 
20750
 
  echo "$as_me:$LINENO: result: $gtkmm_use_flags" >&5
20751
 
echo "${ECHO_T}$gtkmm_use_flags" >&6
 
21457
  { echo "$as_me:$LINENO: result: $gtkmm_use_flags" >&5
 
21458
echo "${ECHO_T}$gtkmm_use_flags" >&6; }
20752
21459
 
20753
21460
 
20754
21461
# Dummy conditional just to make automake-1.4 happy.
20755
21462
# We need an always-false condition in docs/Makefile.am.
20756
 
 
20757
 
 
20758
 
if false; then
 
21463
 if false; then
20759
21464
  GTKMM_FALSE_TRUE=
20760
21465
  GTKMM_FALSE_FALSE='#'
20761
21466
else
20768
21473
# maintainer-mode rules.  That would fail since we aren't using autoheader.
20769
21474
AUTOHEADER=':'
20770
21475
 
20771
 
                              ac_config_files="$ac_config_files Makefile glibmm-2.4.pc glibmm/Makefile"
 
21476
ac_config_files="$ac_config_files Makefile glibmm-2.4.pc glibmm/Makefile"
20772
21477
 
20773
21478
 
20774
21479
cat >confcache <<\_ACEOF
20789
21494
 
20790
21495
# The following way of writing the cache mishandles newlines in values,
20791
21496
# but we know of no workaround that is simple, portable, and efficient.
20792
 
# So, don't put newlines in cache variables' values.
 
21497
# So, we kill variables containing newlines.
20793
21498
# Ultrix sh set writes to stderr and can't be redirected directly,
20794
21499
# and sets the high bit in the cache file unless we assign to the vars.
20795
 
{
 
21500
(
 
21501
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
21502
    eval ac_val=\$$ac_var
 
21503
    case $ac_val in #(
 
21504
    *${as_nl}*)
 
21505
      case $ac_var in #(
 
21506
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
21507
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
21508
      esac
 
21509
      case $ac_var in #(
 
21510
      _ | IFS | as_nl) ;; #(
 
21511
      *) $as_unset $ac_var ;;
 
21512
      esac ;;
 
21513
    esac
 
21514
  done
 
21515
 
20796
21516
  (set) 2>&1 |
20797
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
20798
 
    *ac_space=\ *)
 
21517
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
21518
    *${as_nl}ac_space=\ *)
20799
21519
      # `set' does not quote correctly, so add quotes (double-quote
20800
21520
      # substitution turns \\\\ into \\, and sed turns \\ into \).
20801
21521
      sed -n \
20802
21522
        "s/'/'\\\\''/g;
20803
21523
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20804
 
      ;;
 
21524
      ;; #(
20805
21525
    *)
20806
21526
      # `set' quotes correctly as required by POSIX, so do not add quotes.
20807
 
      sed -n \
20808
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
21527
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20809
21528
      ;;
20810
 
    esac;
20811
 
} |
 
21529
    esac |
 
21530
    sort
 
21531
) |
20812
21532
  sed '
 
21533
     /^ac_cv_env_/b end
20813
21534
     t clear
20814
 
     : clear
 
21535
     :clear
20815
21536
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20816
21537
     t end
20817
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20818
 
     : end' >>confcache
20819
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20820
 
  if test -w $cache_file; then
20821
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
21538
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
21539
     :end' >>confcache
 
21540
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
21541
  if test -w "$cache_file"; then
 
21542
    test "x$cache_file" != "x/dev/null" &&
 
21543
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
21544
echo "$as_me: updating cache $cache_file" >&6;}
20822
21545
    cat confcache >$cache_file
20823
21546
  else
20824
 
    echo "not updating unwritable cache $cache_file"
 
21547
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
21548
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20825
21549
  fi
20826
21550
fi
20827
21551
rm -f confcache
20830
21554
# Let make expand exec_prefix.
20831
21555
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20832
21556
 
20833
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20834
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20835
 
# trailing colons and then remove the whole line if VPATH becomes empty
20836
 
# (actually we leave an empty line to preserve line numbers).
20837
 
if test "x$srcdir" = x.; then
20838
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20839
 
s/:*\$(srcdir):*/:/;
20840
 
s/:*\${srcdir}:*/:/;
20841
 
s/:*@srcdir@:*/:/;
20842
 
s/^\([^=]*=[     ]*\):*/\1/;
20843
 
s/:*$//;
20844
 
s/^[^=]*=[       ]*$//;
20845
 
}'
20846
 
fi
20847
 
 
20848
21557
DEFS=-DHAVE_CONFIG_H
20849
21558
 
20850
21559
ac_libobjs=
20851
21560
ac_ltlibobjs=
20852
21561
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20853
21562
  # 1. Remove the extension, and $U if already installed.
20854
 
  ac_i=`echo "$ac_i" |
20855
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20856
 
  # 2. Add them.
20857
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20858
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
21563
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
21564
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
21565
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
21566
  #    will be set to the directory where LIBOBJS objects are built.
 
21567
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
21568
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20859
21569
done
20860
21570
LIBOBJS=$ac_libobjs
20861
21571
 
20928
21638
## M4sh Initialization.  ##
20929
21639
## --------------------- ##
20930
21640
 
20931
 
# Be Bourne compatible
 
21641
# Be more Bourne compatible
 
21642
DUALCASE=1; export DUALCASE # for MKS sh
20932
21643
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20933
21644
  emulate sh
20934
21645
  NULLCMD=:
20935
21646
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20936
21647
  # is contrary to our usage.  Disable this feature.
20937
21648
  alias -g '${1+"$@"}'='"$@"'
20938
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20939
 
  set -o posix
20940
 
fi
20941
 
DUALCASE=1; export DUALCASE # for MKS sh
 
21649
  setopt NO_GLOB_SUBST
 
21650
else
 
21651
  case `(set -o) 2>/dev/null` in
 
21652
  *posix*) set -o posix ;;
 
21653
esac
 
21654
 
 
21655
fi
 
21656
 
 
21657
 
 
21658
 
 
21659
 
 
21660
# PATH needs CR
 
21661
# Avoid depending upon Character Ranges.
 
21662
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
21663
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
21664
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
21665
as_cr_digits='0123456789'
 
21666
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
21667
 
 
21668
# The user is always right.
 
21669
if test "${PATH_SEPARATOR+set}" != set; then
 
21670
  echo "#! /bin/sh" >conf$$.sh
 
21671
  echo  "exit 0"   >>conf$$.sh
 
21672
  chmod +x conf$$.sh
 
21673
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
21674
    PATH_SEPARATOR=';'
 
21675
  else
 
21676
    PATH_SEPARATOR=:
 
21677
  fi
 
21678
  rm -f conf$$.sh
 
21679
fi
20942
21680
 
20943
21681
# Support unset when possible.
20944
21682
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20948
21686
fi
20949
21687
 
20950
21688
 
 
21689
# IFS
 
21690
# We need space, tab and new line, in precisely that order.  Quoting is
 
21691
# there to prevent editors from complaining about space-tab.
 
21692
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
21693
# splitting by setting IFS to empty value.)
 
21694
as_nl='
 
21695
'
 
21696
IFS=" ""        $as_nl"
 
21697
 
 
21698
# Find who we are.  Look in the path if we contain no directory separator.
 
21699
case $0 in
 
21700
  *[\\/]* ) as_myself=$0 ;;
 
21701
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21702
for as_dir in $PATH
 
21703
do
 
21704
  IFS=$as_save_IFS
 
21705
  test -z "$as_dir" && as_dir=.
 
21706
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
21707
done
 
21708
IFS=$as_save_IFS
 
21709
 
 
21710
     ;;
 
21711
esac
 
21712
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
21713
# in which case we are not to be found in the path.
 
21714
if test "x$as_myself" = x; then
 
21715
  as_myself=$0
 
21716
fi
 
21717
if test ! -f "$as_myself"; then
 
21718
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
21719
  { (exit 1); exit 1; }
 
21720
fi
 
21721
 
20951
21722
# Work around bugs in pre-3.0 UWIN ksh.
20952
 
$as_unset ENV MAIL MAILPATH
 
21723
for as_var in ENV MAIL MAILPATH
 
21724
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
21725
done
20953
21726
PS1='$ '
20954
21727
PS2='> '
20955
21728
PS4='+ '
20963
21736
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20964
21737
    eval $as_var=C; export $as_var
20965
21738
  else
20966
 
    $as_unset $as_var
 
21739
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20967
21740
  fi
20968
21741
done
20969
21742
 
20970
21743
# Required to use basename.
20971
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
21744
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
21745
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20972
21746
  as_expr=expr
20973
21747
else
20974
21748
  as_expr=false
20975
21749
fi
20976
21750
 
20977
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
21751
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20978
21752
  as_basename=basename
20979
21753
else
20980
21754
  as_basename=false
20982
21756
 
20983
21757
 
20984
21758
# Name of the executable.
20985
 
as_me=`$as_basename "$0" ||
 
21759
as_me=`$as_basename -- "$0" ||
20986
21760
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20987
21761
         X"$0" : 'X\(//\)$' \| \
20988
 
         X"$0" : 'X\(/\)$' \| \
20989
 
         .     : '\(.\)' 2>/dev/null ||
 
21762
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20990
21763
echo X/"$0" |
20991
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20992
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
20993
 
          /^X\/\(\/\).*/{ s//\1/; q; }
20994
 
          s/.*/./; q'`
20995
 
 
20996
 
 
20997
 
# PATH needs CR, and LINENO needs CR and PATH.
20998
 
# Avoid depending upon Character Ranges.
20999
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21000
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21001
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21002
 
as_cr_digits='0123456789'
21003
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21004
 
 
21005
 
# The user is always right.
21006
 
if test "${PATH_SEPARATOR+set}" != set; then
21007
 
  echo "#! /bin/sh" >conf$$.sh
21008
 
  echo  "exit 0"   >>conf$$.sh
21009
 
  chmod +x conf$$.sh
21010
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21011
 
    PATH_SEPARATOR=';'
21012
 
  else
21013
 
    PATH_SEPARATOR=:
21014
 
  fi
21015
 
  rm -f conf$$.sh
21016
 
fi
21017
 
 
21018
 
 
21019
 
  as_lineno_1=$LINENO
21020
 
  as_lineno_2=$LINENO
21021
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21022
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21023
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21024
 
  # Find who we are.  Look in the path if we contain no path at all
21025
 
  # relative or not.
21026
 
  case $0 in
21027
 
    *[\\/]* ) as_myself=$0 ;;
21028
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21029
 
for as_dir in $PATH
21030
 
do
21031
 
  IFS=$as_save_IFS
21032
 
  test -z "$as_dir" && as_dir=.
21033
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21034
 
done
21035
 
 
21036
 
       ;;
21037
 
  esac
21038
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
21039
 
  # in which case we are not to be found in the path.
21040
 
  if test "x$as_myself" = x; then
21041
 
    as_myself=$0
21042
 
  fi
21043
 
  if test ! -f "$as_myself"; then
21044
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21045
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21046
 
   { (exit 1); exit 1; }; }
21047
 
  fi
21048
 
  case $CONFIG_SHELL in
21049
 
  '')
21050
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21051
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21052
 
do
21053
 
  IFS=$as_save_IFS
21054
 
  test -z "$as_dir" && as_dir=.
21055
 
  for as_base in sh bash ksh sh5; do
21056
 
         case $as_dir in
21057
 
         /*)
21058
 
           if ("$as_dir/$as_base" -c '
21059
 
  as_lineno_1=$LINENO
21060
 
  as_lineno_2=$LINENO
21061
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21062
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21063
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21064
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21065
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21066
 
             CONFIG_SHELL=$as_dir/$as_base
21067
 
             export CONFIG_SHELL
21068
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21069
 
           fi;;
21070
 
         esac
21071
 
       done
21072
 
done
21073
 
;;
21074
 
  esac
 
21764
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
21765
            s//\1/
 
21766
            q
 
21767
          }
 
21768
          /^X\/\(\/\/\)$/{
 
21769
            s//\1/
 
21770
            q
 
21771
          }
 
21772
          /^X\/\(\/\).*/{
 
21773
            s//\1/
 
21774
            q
 
21775
          }
 
21776
          s/.*/./; q'`
 
21777
 
 
21778
# CDPATH.
 
21779
$as_unset CDPATH
 
21780
 
 
21781
 
 
21782
 
 
21783
  as_lineno_1=$LINENO
 
21784
  as_lineno_2=$LINENO
 
21785
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
21786
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21075
21787
 
21076
21788
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21077
21789
  # uniformly replaced by the line number.  The first 'sed' inserts a
21078
 
  # line-number line before each line; the second 'sed' does the real
21079
 
  # work.  The second script uses 'N' to pair each line-number line
21080
 
  # with the numbered line, and appends trailing '-' during
21081
 
  # substitution so that $LINENO is not a special case at line end.
 
21790
  # line-number line after each line using $LINENO; the second 'sed'
 
21791
  # does the real work.  The second script uses 'N' to pair each
 
21792
  # line-number line with the line containing $LINENO, and appends
 
21793
  # trailing '-' during substitution so that $LINENO is not a special
 
21794
  # case at line end.
21082
21795
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21083
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21084
 
  sed '=' <$as_myself |
 
21796
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
21797
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
21798
  sed -n '
 
21799
    p
 
21800
    /[$]LINENO/=
 
21801
  ' <$as_myself |
21085
21802
    sed '
 
21803
      s/[$]LINENO.*/&-/
 
21804
      t lineno
 
21805
      b
 
21806
      :lineno
21086
21807
      N
21087
 
      s,$,-,
21088
 
      : loop
21089
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
21808
      :loop
 
21809
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21090
21810
      t loop
21091
 
      s,-$,,
21092
 
      s,^['$as_cr_digits']*\n,,
 
21811
      s/-\n.*//
21093
21812
    ' >$as_me.lineno &&
21094
 
  chmod +x $as_me.lineno ||
21095
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21096
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
21813
  chmod +x "$as_me.lineno" ||
 
21814
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21097
21815
   { (exit 1); exit 1; }; }
21098
21816
 
21099
21817
  # Don't try to exec as it changes $[0], causing all sort of problems
21100
21818
  # (the dirname of $[0] is not the place where we might find the
21101
 
  # original and so on.  Autoconf is especially sensible to this).
21102
 
  . ./$as_me.lineno
 
21819
  # original and so on.  Autoconf is especially sensitive to this).
 
21820
  . "./$as_me.lineno"
21103
21821
  # Exit status is that of the last command.
21104
21822
  exit
21105
21823
}
21106
21824
 
21107
21825
 
21108
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21109
 
  *c*,-n*) ECHO_N= ECHO_C='
21110
 
' ECHO_T='      ' ;;
21111
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21112
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
21826
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
21827
  as_dirname=dirname
 
21828
else
 
21829
  as_dirname=false
 
21830
fi
 
21831
 
 
21832
ECHO_C= ECHO_N= ECHO_T=
 
21833
case `echo -n x` in
 
21834
-n*)
 
21835
  case `echo 'x\c'` in
 
21836
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
21837
  *)   ECHO_C='\c';;
 
21838
  esac;;
 
21839
*)
 
21840
  ECHO_N='-n';;
21113
21841
esac
21114
21842
 
21115
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
21843
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
21844
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21116
21845
  as_expr=expr
21117
21846
else
21118
21847
  as_expr=false
21119
21848
fi
21120
21849
 
21121
21850
rm -f conf$$ conf$$.exe conf$$.file
 
21851
if test -d conf$$.dir; then
 
21852
  rm -f conf$$.dir/conf$$.file
 
21853
else
 
21854
  rm -f conf$$.dir
 
21855
  mkdir conf$$.dir
 
21856
fi
21122
21857
echo >conf$$.file
21123
21858
if ln -s conf$$.file conf$$ 2>/dev/null; then
21124
 
  # We could just check for DJGPP; but this test a) works b) is more generic
21125
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21126
 
  if test -f conf$$.exe; then
21127
 
    # Don't use ln at all; we don't have any links
 
21859
  as_ln_s='ln -s'
 
21860
  # ... but there are two gotchas:
 
21861
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
21862
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
21863
  # In both cases, we have to default to `cp -p'.
 
21864
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21128
21865
    as_ln_s='cp -p'
21129
 
  else
21130
 
    as_ln_s='ln -s'
21131
 
  fi
21132
21866
elif ln conf$$.file conf$$ 2>/dev/null; then
21133
21867
  as_ln_s=ln
21134
21868
else
21135
21869
  as_ln_s='cp -p'
21136
21870
fi
21137
 
rm -f conf$$ conf$$.exe conf$$.file
 
21871
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
21872
rmdir conf$$.dir 2>/dev/null
21138
21873
 
21139
21874
if mkdir -p . 2>/dev/null; then
21140
21875
  as_mkdir_p=:
21143
21878
  as_mkdir_p=false
21144
21879
fi
21145
21880
 
21146
 
as_executable_p="test -f"
 
21881
if test -x / >/dev/null 2>&1; then
 
21882
  as_test_x='test -x'
 
21883
else
 
21884
  if ls -dL / >/dev/null 2>&1; then
 
21885
    as_ls_L_option=L
 
21886
  else
 
21887
    as_ls_L_option=
 
21888
  fi
 
21889
  as_test_x='
 
21890
    eval sh -c '\''
 
21891
      if test -d "$1"; then
 
21892
        test -d "$1/.";
 
21893
      else
 
21894
        case $1 in
 
21895
        -*)set "./$1";;
 
21896
        esac;
 
21897
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
21898
        ???[sx]*):;;*)false;;esac;fi
 
21899
    '\'' sh
 
21900
  '
 
21901
fi
 
21902
as_executable_p=$as_test_x
21147
21903
 
21148
21904
# Sed expression to map a string onto a valid CPP name.
21149
21905
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21152
21908
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21153
21909
 
21154
21910
 
21155
 
# IFS
21156
 
# We need space, tab and new line, in precisely that order.
21157
 
as_nl='
21158
 
'
21159
 
IFS="   $as_nl"
21160
 
 
21161
 
# CDPATH.
21162
 
$as_unset CDPATH
21163
 
 
21164
21911
exec 6>&1
21165
21912
 
21166
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
21913
# Save the log message, to keep $[0] and so on meaningful, and to
21167
21914
# report actual input values of CONFIG_FILES etc. instead of their
21168
 
# values after options handling.  Logging --version etc. is OK.
21169
 
exec 5>>config.log
21170
 
{
21171
 
  echo
21172
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21173
 
## Running $as_me. ##
21174
 
_ASBOX
21175
 
} >&5
21176
 
cat >&5 <<_CSEOF
21177
 
 
 
21915
# values after options handling.
 
21916
ac_log="
21178
21917
This file was extended by $as_me, which was
21179
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
21918
generated by GNU Autoconf 2.61.  Invocation command line was
21180
21919
 
21181
21920
  CONFIG_FILES    = $CONFIG_FILES
21182
21921
  CONFIG_HEADERS  = $CONFIG_HEADERS
21184
21923
  CONFIG_COMMANDS = $CONFIG_COMMANDS
21185
21924
  $ $0 $@
21186
21925
 
21187
 
_CSEOF
21188
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21189
 
echo >&5
 
21926
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
21927
"
 
21928
 
21190
21929
_ACEOF
21191
21930
 
 
21931
cat >>$CONFIG_STATUS <<_ACEOF
21192
21932
# Files that config.status was made for.
21193
 
if test -n "$ac_config_files"; then
21194
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21195
 
fi
21196
 
 
21197
 
if test -n "$ac_config_headers"; then
21198
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21199
 
fi
21200
 
 
21201
 
if test -n "$ac_config_links"; then
21202
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21203
 
fi
21204
 
 
21205
 
if test -n "$ac_config_commands"; then
21206
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21207
 
fi
 
21933
config_files="$ac_config_files"
 
21934
config_headers="$ac_config_headers"
 
21935
config_commands="$ac_config_commands"
 
21936
 
 
21937
_ACEOF
21208
21938
 
21209
21939
cat >>$CONFIG_STATUS <<\_ACEOF
21210
 
 
21211
21940
ac_cs_usage="\
21212
21941
\`$as_me' instantiates files from templates according to the
21213
21942
current configuration.
21215
21944
Usage: $0 [OPTIONS] [FILE]...
21216
21945
 
21217
21946
  -h, --help       print this help, then exit
21218
 
  -V, --version    print version number, then exit
 
21947
  -V, --version    print version number and configuration settings, then exit
21219
21948
  -q, --quiet      do not print progress messages
21220
21949
  -d, --debug      don't remove temporary files
21221
21950
      --recheck    update $as_me by reconfiguring in the same conditions
21234
21963
$config_commands
21235
21964
 
21236
21965
Report bugs to <bug-autoconf@gnu.org>."
 
21966
 
21237
21967
_ACEOF
21238
 
 
21239
21968
cat >>$CONFIG_STATUS <<_ACEOF
21240
21969
ac_cs_version="\\
21241
21970
config.status
21242
 
configured by $0, generated by GNU Autoconf 2.59,
21243
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
21971
configured by $0, generated by GNU Autoconf 2.61,
 
21972
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21244
21973
 
21245
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
21974
Copyright (C) 2006 Free Software Foundation, Inc.
21246
21975
This config.status script is free software; the Free Software Foundation
21247
21976
gives unlimited permission to copy, distribute and modify it."
21248
 
srcdir=$srcdir
21249
 
INSTALL="$INSTALL"
 
21977
 
 
21978
ac_pwd='$ac_pwd'
 
21979
srcdir='$srcdir'
 
21980
INSTALL='$INSTALL'
 
21981
MKDIR_P='$MKDIR_P'
21250
21982
_ACEOF
21251
21983
 
21252
21984
cat >>$CONFIG_STATUS <<\_ACEOF
21257
21989
do
21258
21990
  case $1 in
21259
21991
  --*=*)
21260
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
21261
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
21992
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
21993
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21262
21994
    ac_shift=:
21263
21995
    ;;
21264
 
  -*)
 
21996
  *)
21265
21997
    ac_option=$1
21266
21998
    ac_optarg=$2
21267
21999
    ac_shift=shift
21268
22000
    ;;
21269
 
  *) # This is not an option, so the user has probably given explicit
21270
 
     # arguments.
21271
 
     ac_option=$1
21272
 
     ac_need_defaults=false;;
21273
22001
  esac
21274
22002
 
21275
22003
  case $ac_option in
21276
22004
  # Handling of the options.
21277
 
_ACEOF
21278
 
cat >>$CONFIG_STATUS <<\_ACEOF
21279
22005
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21280
22006
    ac_cs_recheck=: ;;
21281
 
  --version | --vers* | -V )
21282
 
    echo "$ac_cs_version"; exit 0 ;;
21283
 
  --he | --h)
21284
 
    # Conflict between --help and --header
21285
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
21286
 
Try \`$0 --help' for more information." >&5
21287
 
echo "$as_me: error: ambiguous option: $1
21288
 
Try \`$0 --help' for more information." >&2;}
21289
 
   { (exit 1); exit 1; }; };;
21290
 
  --help | --hel | -h )
21291
 
    echo "$ac_cs_usage"; exit 0 ;;
21292
 
  --debug | --d* | -d )
 
22007
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
22008
    echo "$ac_cs_version"; exit ;;
 
22009
  --debug | --debu | --deb | --de | --d | -d )
21293
22010
    debug=: ;;
21294
22011
  --file | --fil | --fi | --f )
21295
22012
    $ac_shift
21299
22016
    $ac_shift
21300
22017
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21301
22018
    ac_need_defaults=false;;
 
22019
  --he | --h)
 
22020
    # Conflict between --help and --header
 
22021
    { echo "$as_me: error: ambiguous option: $1
 
22022
Try \`$0 --help' for more information." >&2
 
22023
   { (exit 1); exit 1; }; };;
 
22024
  --help | --hel | -h )
 
22025
    echo "$ac_cs_usage"; exit ;;
21302
22026
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21303
22027
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21304
22028
    ac_cs_silent=: ;;
21305
22029
 
21306
22030
  # This is an error.
21307
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21308
 
Try \`$0 --help' for more information." >&5
21309
 
echo "$as_me: error: unrecognized option: $1
21310
 
Try \`$0 --help' for more information." >&2;}
 
22031
  -*) { echo "$as_me: error: unrecognized option: $1
 
22032
Try \`$0 --help' for more information." >&2
21311
22033
   { (exit 1); exit 1; }; } ;;
21312
22034
 
21313
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
22035
  *) ac_config_targets="$ac_config_targets $1"
 
22036
     ac_need_defaults=false ;;
21314
22037
 
21315
22038
  esac
21316
22039
  shift
21326
22049
_ACEOF
21327
22050
cat >>$CONFIG_STATUS <<_ACEOF
21328
22051
if \$ac_cs_recheck; then
21329
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21330
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22052
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
22053
  CONFIG_SHELL=$SHELL
 
22054
  export CONFIG_SHELL
 
22055
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21331
22056
fi
21332
22057
 
21333
22058
_ACEOF
 
22059
cat >>$CONFIG_STATUS <<\_ACEOF
 
22060
exec 5>>config.log
 
22061
{
 
22062
  echo
 
22063
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
22064
## Running $as_me. ##
 
22065
_ASBOX
 
22066
  echo "$ac_log"
 
22067
} >&5
21334
22068
 
 
22069
_ACEOF
21335
22070
cat >>$CONFIG_STATUS <<_ACEOF
21336
22071
#
21337
 
# INIT-COMMANDS section.
 
22072
# INIT-COMMANDS
21338
22073
#
21339
 
 
21340
22074
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21341
22075
 
21342
22076
_ACEOF
21343
22077
 
21344
 
 
21345
 
 
21346
22078
cat >>$CONFIG_STATUS <<\_ACEOF
 
22079
 
 
22080
# Handling of arguments.
21347
22081
for ac_config_target in $ac_config_targets
21348
22082
do
21349
 
  case "$ac_config_target" in
21350
 
  # Handling of arguments.
21351
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21352
 
  "glibmm-2.4.pc" ) CONFIG_FILES="$CONFIG_FILES glibmm-2.4.pc" ;;
21353
 
  "glibmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES glibmm/Makefile" ;;
21354
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21355
 
  "glibmmconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS glibmmconfig.h" ;;
 
22083
  case $ac_config_target in
 
22084
    "glibmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS glibmmconfig.h" ;;
 
22085
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
22086
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
22087
    "glibmm-2.4.pc") CONFIG_FILES="$CONFIG_FILES glibmm-2.4.pc" ;;
 
22088
    "glibmm/Makefile") CONFIG_FILES="$CONFIG_FILES glibmm/Makefile" ;;
 
22089
 
21356
22090
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21357
22091
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21358
22092
   { (exit 1); exit 1; }; };;
21359
22093
  esac
21360
22094
done
21361
22095
 
 
22096
 
21362
22097
# If the user did not use the arguments to specify the items to instantiate,
21363
22098
# then the envvar interface is used.  Set only those that are not.
21364
22099
# We use the long form for the default assignment because of an extremely
21370
22105
fi
21371
22106
 
21372
22107
# Have a temporary directory for convenience.  Make it in the build tree
21373
 
# simply because there is no reason to put it here, and in addition,
 
22108
# simply because there is no reason against having it here, and in addition,
21374
22109
# creating and moving files from /tmp can sometimes cause problems.
21375
 
# Create a temporary directory, and hook for its removal unless debugging.
 
22110
# Hook for its removal unless debugging.
 
22111
# Note that there is a small window in which the directory will not be cleaned:
 
22112
# after its creation but before its name has been assigned to `$tmp'.
21376
22113
$debug ||
21377
22114
{
21378
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
22115
  tmp=
 
22116
  trap 'exit_status=$?
 
22117
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
22118
' 0
21379
22119
  trap '{ (exit 1); exit 1; }' 1 2 13 15
21380
22120
}
21381
 
 
21382
22121
# Create a (secure) tmp directory for tmp files.
21383
22122
 
21384
22123
{
21385
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
22124
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21386
22125
  test -n "$tmp" && test -d "$tmp"
21387
22126
}  ||
21388
22127
{
21389
 
  tmp=./confstat$$-$RANDOM
21390
 
  (umask 077 && mkdir $tmp)
 
22128
  tmp=./conf$$-$RANDOM
 
22129
  (umask 077 && mkdir "$tmp")
21391
22130
} ||
21392
22131
{
21393
22132
   echo "$me: cannot create a temporary directory in ." >&2
21394
22133
   { (exit 1); exit 1; }
21395
22134
}
21396
22135
 
21397
 
_ACEOF
21398
 
 
21399
 
cat >>$CONFIG_STATUS <<_ACEOF
21400
 
 
21401
22136
#
21402
 
# CONFIG_FILES section.
 
22137
# Set up the sed scripts for CONFIG_FILES section.
21403
22138
#
21404
22139
 
21405
22140
# No need to generate the scripts if there are no CONFIG_FILES.
21406
22141
# This happens for instance when ./config.status config.h
21407
 
if test -n "\$CONFIG_FILES"; then
21408
 
  # Protect against being on the right side of a sed subst in config.status.
21409
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21410
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21411
 
s,@SHELL@,$SHELL,;t t
21412
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21413
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21414
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21415
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21416
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21417
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21418
 
s,@exec_prefix@,$exec_prefix,;t t
21419
 
s,@prefix@,$prefix,;t t
21420
 
s,@program_transform_name@,$program_transform_name,;t t
21421
 
s,@bindir@,$bindir,;t t
21422
 
s,@sbindir@,$sbindir,;t t
21423
 
s,@libexecdir@,$libexecdir,;t t
21424
 
s,@datadir@,$datadir,;t t
21425
 
s,@sysconfdir@,$sysconfdir,;t t
21426
 
s,@sharedstatedir@,$sharedstatedir,;t t
21427
 
s,@localstatedir@,$localstatedir,;t t
21428
 
s,@libdir@,$libdir,;t t
21429
 
s,@includedir@,$includedir,;t t
21430
 
s,@oldincludedir@,$oldincludedir,;t t
21431
 
s,@infodir@,$infodir,;t t
21432
 
s,@mandir@,$mandir,;t t
21433
 
s,@build_alias@,$build_alias,;t t
21434
 
s,@host_alias@,$host_alias,;t t
21435
 
s,@target_alias@,$target_alias,;t t
21436
 
s,@DEFS@,$DEFS,;t t
21437
 
s,@ECHO_C@,$ECHO_C,;t t
21438
 
s,@ECHO_N@,$ECHO_N,;t t
21439
 
s,@ECHO_T@,$ECHO_T,;t t
21440
 
s,@LIBS@,$LIBS,;t t
21441
 
s,@GLIBMM_MAJOR_VERSION@,$GLIBMM_MAJOR_VERSION,;t t
21442
 
s,@GLIBMM_MINOR_VERSION@,$GLIBMM_MINOR_VERSION,;t t
21443
 
s,@GLIBMM_MICRO_VERSION@,$GLIBMM_MICRO_VERSION,;t t
21444
 
s,@GLIBMM_VERSION@,$GLIBMM_VERSION,;t t
21445
 
s,@GLIBMM_RELEASE@,$GLIBMM_RELEASE,;t t
21446
 
s,@LIBGLIBMM_SO_VERSION@,$LIBGLIBMM_SO_VERSION,;t t
21447
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21448
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21449
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21450
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
21451
 
s,@PACKAGE@,$PACKAGE,;t t
21452
 
s,@VERSION@,$VERSION,;t t
21453
 
s,@ACLOCAL@,$ACLOCAL,;t t
21454
 
s,@AUTOCONF@,$AUTOCONF,;t t
21455
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
21456
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
21457
 
s,@MAKEINFO@,$MAKEINFO,;t t
21458
 
s,@install_sh@,$install_sh,;t t
21459
 
s,@STRIP@,$STRIP,;t t
21460
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21461
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21462
 
s,@mkdir_p@,$mkdir_p,;t t
21463
 
s,@AWK@,$AWK,;t t
21464
 
s,@SET_MAKE@,$SET_MAKE,;t t
21465
 
s,@am__leading_dot@,$am__leading_dot,;t t
21466
 
s,@AMTAR@,$AMTAR,;t t
21467
 
s,@am__tar@,$am__tar,;t t
21468
 
s,@am__untar@,$am__untar,;t t
21469
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21470
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21471
 
s,@MAINT@,$MAINT,;t t
21472
 
s,@CC@,$CC,;t t
21473
 
s,@CFLAGS@,$CFLAGS,;t t
21474
 
s,@LDFLAGS@,$LDFLAGS,;t t
21475
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
21476
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
21477
 
s,@EXEEXT@,$EXEEXT,;t t
21478
 
s,@OBJEXT@,$OBJEXT,;t t
21479
 
s,@DEPDIR@,$DEPDIR,;t t
21480
 
s,@am__include@,$am__include,;t t
21481
 
s,@am__quote@,$am__quote,;t t
21482
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21483
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21484
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21485
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
21486
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21487
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21488
 
s,@CPP@,$CPP,;t t
21489
 
s,@build@,$build,;t t
21490
 
s,@build_cpu@,$build_cpu,;t t
21491
 
s,@build_vendor@,$build_vendor,;t t
21492
 
s,@build_os@,$build_os,;t t
21493
 
s,@host@,$host,;t t
21494
 
s,@host_cpu@,$host_cpu,;t t
21495
 
s,@host_vendor@,$host_vendor,;t t
21496
 
s,@host_os@,$host_os,;t t
21497
 
s,@EGREP@,$EGREP,;t t
21498
 
s,@LN_S@,$LN_S,;t t
21499
 
s,@ECHO@,$ECHO,;t t
21500
 
s,@AR@,$AR,;t t
21501
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
21502
 
s,@RANLIB@,$RANLIB,;t t
21503
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21504
 
s,@CXX@,$CXX,;t t
21505
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
21506
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21507
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21508
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21509
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21510
 
s,@CXXCPP@,$CXXCPP,;t t
21511
 
s,@F77@,$F77,;t t
21512
 
s,@FFLAGS@,$FFLAGS,;t t
21513
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
21514
 
s,@LIBTOOL@,$LIBTOOL,;t t
21515
 
s,@M4@,$M4,;t t
21516
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21517
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21518
 
s,@GLIBMM_CFLAGS@,$GLIBMM_CFLAGS,;t t
21519
 
s,@GLIBMM_LIBS@,$GLIBMM_LIBS,;t t
21520
 
s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
21521
 
s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
21522
 
s,@GTKMM_FALSE_TRUE@,$GTKMM_FALSE_TRUE,;t t
21523
 
s,@GTKMM_FALSE_FALSE@,$GTKMM_FALSE_FALSE,;t t
21524
 
s,@LIBOBJS@,$LIBOBJS,;t t
21525
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21526
 
CEOF
21527
 
 
21528
 
_ACEOF
21529
 
 
21530
 
  cat >>$CONFIG_STATUS <<\_ACEOF
21531
 
  # Split the substitutions into bite-sized pieces for seds with
21532
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
21533
 
  ac_max_sed_lines=48
21534
 
  ac_sed_frag=1 # Number of current file.
21535
 
  ac_beg=1 # First line for current file.
21536
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
21537
 
  ac_more_lines=:
21538
 
  ac_sed_cmds=
21539
 
  while $ac_more_lines; do
21540
 
    if test $ac_beg -gt 1; then
21541
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21542
 
    else
21543
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21544
 
    fi
21545
 
    if test ! -s $tmp/subs.frag; then
21546
 
      ac_more_lines=false
21547
 
    else
21548
 
      # The purpose of the label and of the branching condition is to
21549
 
      # speed up the sed processing (if there are no `@' at all, there
21550
 
      # is no need to browse any of the substitutions).
21551
 
      # These are the two extra sed commands mentioned above.
21552
 
      (echo ':t
21553
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21554
 
      if test -z "$ac_sed_cmds"; then
21555
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21556
 
      else
21557
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21558
 
      fi
21559
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
21560
 
      ac_beg=$ac_end
21561
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
21562
 
    fi
21563
 
  done
21564
 
  if test -z "$ac_sed_cmds"; then
21565
 
    ac_sed_cmds=cat
21566
 
  fi
 
22142
if test -n "$CONFIG_FILES"; then
 
22143
 
 
22144
_ACEOF
 
22145
 
 
22146
 
 
22147
 
 
22148
ac_delim='%!_!# '
 
22149
for ac_last_try in false false false false false :; do
 
22150
  cat >conf$$subs.sed <<_ACEOF
 
22151
SHELL!$SHELL$ac_delim
 
22152
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
22153
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
22154
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
22155
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
22156
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
22157
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
22158
exec_prefix!$exec_prefix$ac_delim
 
22159
prefix!$prefix$ac_delim
 
22160
program_transform_name!$program_transform_name$ac_delim
 
22161
bindir!$bindir$ac_delim
 
22162
sbindir!$sbindir$ac_delim
 
22163
libexecdir!$libexecdir$ac_delim
 
22164
datarootdir!$datarootdir$ac_delim
 
22165
datadir!$datadir$ac_delim
 
22166
sysconfdir!$sysconfdir$ac_delim
 
22167
sharedstatedir!$sharedstatedir$ac_delim
 
22168
localstatedir!$localstatedir$ac_delim
 
22169
includedir!$includedir$ac_delim
 
22170
oldincludedir!$oldincludedir$ac_delim
 
22171
docdir!$docdir$ac_delim
 
22172
infodir!$infodir$ac_delim
 
22173
htmldir!$htmldir$ac_delim
 
22174
dvidir!$dvidir$ac_delim
 
22175
pdfdir!$pdfdir$ac_delim
 
22176
psdir!$psdir$ac_delim
 
22177
libdir!$libdir$ac_delim
 
22178
localedir!$localedir$ac_delim
 
22179
mandir!$mandir$ac_delim
 
22180
DEFS!$DEFS$ac_delim
 
22181
ECHO_C!$ECHO_C$ac_delim
 
22182
ECHO_N!$ECHO_N$ac_delim
 
22183
ECHO_T!$ECHO_T$ac_delim
 
22184
LIBS!$LIBS$ac_delim
 
22185
build_alias!$build_alias$ac_delim
 
22186
host_alias!$host_alias$ac_delim
 
22187
target_alias!$target_alias$ac_delim
 
22188
GLIBMM_MAJOR_VERSION!$GLIBMM_MAJOR_VERSION$ac_delim
 
22189
GLIBMM_MINOR_VERSION!$GLIBMM_MINOR_VERSION$ac_delim
 
22190
GLIBMM_MICRO_VERSION!$GLIBMM_MICRO_VERSION$ac_delim
 
22191
GLIBMM_VERSION!$GLIBMM_VERSION$ac_delim
 
22192
GLIBMM_RELEASE!$GLIBMM_RELEASE$ac_delim
 
22193
LIBGLIBMM_SO_VERSION!$LIBGLIBMM_SO_VERSION$ac_delim
 
22194
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
22195
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
22196
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
22197
am__isrc!$am__isrc$ac_delim
 
22198
CYGPATH_W!$CYGPATH_W$ac_delim
 
22199
PACKAGE!$PACKAGE$ac_delim
 
22200
VERSION!$VERSION$ac_delim
 
22201
ACLOCAL!$ACLOCAL$ac_delim
 
22202
AUTOCONF!$AUTOCONF$ac_delim
 
22203
AUTOMAKE!$AUTOMAKE$ac_delim
 
22204
AUTOHEADER!$AUTOHEADER$ac_delim
 
22205
MAKEINFO!$MAKEINFO$ac_delim
 
22206
install_sh!$install_sh$ac_delim
 
22207
STRIP!$STRIP$ac_delim
 
22208
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
22209
mkdir_p!$mkdir_p$ac_delim
 
22210
AWK!$AWK$ac_delim
 
22211
SET_MAKE!$SET_MAKE$ac_delim
 
22212
am__leading_dot!$am__leading_dot$ac_delim
 
22213
AMTAR!$AMTAR$ac_delim
 
22214
am__tar!$am__tar$ac_delim
 
22215
am__untar!$am__untar$ac_delim
 
22216
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
22217
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
22218
MAINT!$MAINT$ac_delim
 
22219
CC!$CC$ac_delim
 
22220
CFLAGS!$CFLAGS$ac_delim
 
22221
LDFLAGS!$LDFLAGS$ac_delim
 
22222
CPPFLAGS!$CPPFLAGS$ac_delim
 
22223
ac_ct_CC!$ac_ct_CC$ac_delim
 
22224
EXEEXT!$EXEEXT$ac_delim
 
22225
OBJEXT!$OBJEXT$ac_delim
 
22226
DEPDIR!$DEPDIR$ac_delim
 
22227
am__include!$am__include$ac_delim
 
22228
am__quote!$am__quote$ac_delim
 
22229
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
22230
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
22231
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
22232
CCDEPMODE!$CCDEPMODE$ac_delim
 
22233
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
22234
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
22235
CPP!$CPP$ac_delim
 
22236
build!$build$ac_delim
 
22237
build_cpu!$build_cpu$ac_delim
 
22238
build_vendor!$build_vendor$ac_delim
 
22239
build_os!$build_os$ac_delim
 
22240
host!$host$ac_delim
 
22241
host_cpu!$host_cpu$ac_delim
 
22242
host_vendor!$host_vendor$ac_delim
 
22243
host_os!$host_os$ac_delim
 
22244
SED!$SED$ac_delim
 
22245
GREP!$GREP$ac_delim
 
22246
EGREP!$EGREP$ac_delim
 
22247
LN_S!$LN_S$ac_delim
 
22248
_ACEOF
 
22249
 
 
22250
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
22251
    break
 
22252
  elif $ac_last_try; then
 
22253
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22254
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22255
   { (exit 1); exit 1; }; }
 
22256
  else
 
22257
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22258
  fi
 
22259
done
 
22260
 
 
22261
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22262
if test -n "$ac_eof"; then
 
22263
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22264
  ac_eof=`expr $ac_eof + 1`
 
22265
fi
 
22266
 
 
22267
cat >>$CONFIG_STATUS <<_ACEOF
 
22268
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
22269
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
22270
_ACEOF
 
22271
sed '
 
22272
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22273
s/^/s,@/; s/!/@,|#_!!_#|/
 
22274
:n
 
22275
t n
 
22276
s/'"$ac_delim"'$/,g/; t
 
22277
s/$/\\/; p
 
22278
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22279
' >>$CONFIG_STATUS <conf$$subs.sed
 
22280
rm -f conf$$subs.sed
 
22281
cat >>$CONFIG_STATUS <<_ACEOF
 
22282
CEOF$ac_eof
 
22283
_ACEOF
 
22284
 
 
22285
 
 
22286
ac_delim='%!_!# '
 
22287
for ac_last_try in false false false false false :; do
 
22288
  cat >conf$$subs.sed <<_ACEOF
 
22289
ECHO!$ECHO$ac_delim
 
22290
AR!$AR$ac_delim
 
22291
RANLIB!$RANLIB$ac_delim
 
22292
CXX!$CXX$ac_delim
 
22293
CXXFLAGS!$CXXFLAGS$ac_delim
 
22294
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
22295
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
22296
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
22297
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
22298
CXXCPP!$CXXCPP$ac_delim
 
22299
F77!$F77$ac_delim
 
22300
FFLAGS!$FFLAGS$ac_delim
 
22301
ac_ct_F77!$ac_ct_F77$ac_delim
 
22302
LIBTOOL!$LIBTOOL$ac_delim
 
22303
M4!$M4$ac_delim
 
22304
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
22305
GLIBMM_CFLAGS!$GLIBMM_CFLAGS$ac_delim
 
22306
GLIBMM_LIBS!$GLIBMM_LIBS$ac_delim
 
22307
GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
 
22308
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
 
22309
GTKMM_FALSE_TRUE!$GTKMM_FALSE_TRUE$ac_delim
 
22310
GTKMM_FALSE_FALSE!$GTKMM_FALSE_FALSE$ac_delim
 
22311
LIBOBJS!$LIBOBJS$ac_delim
 
22312
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
22313
_ACEOF
 
22314
 
 
22315
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
 
22316
    break
 
22317
  elif $ac_last_try; then
 
22318
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22319
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22320
   { (exit 1); exit 1; }; }
 
22321
  else
 
22322
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22323
  fi
 
22324
done
 
22325
 
 
22326
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22327
if test -n "$ac_eof"; then
 
22328
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22329
  ac_eof=`expr $ac_eof + 1`
 
22330
fi
 
22331
 
 
22332
cat >>$CONFIG_STATUS <<_ACEOF
 
22333
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
22334
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
22335
_ACEOF
 
22336
sed '
 
22337
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22338
s/^/s,@/; s/!/@,|#_!!_#|/
 
22339
:n
 
22340
t n
 
22341
s/'"$ac_delim"'$/,g/; t
 
22342
s/$/\\/; p
 
22343
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22344
' >>$CONFIG_STATUS <conf$$subs.sed
 
22345
rm -f conf$$subs.sed
 
22346
cat >>$CONFIG_STATUS <<_ACEOF
 
22347
:end
 
22348
s/|#_!!_#|//g
 
22349
CEOF$ac_eof
 
22350
_ACEOF
 
22351
 
 
22352
 
 
22353
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
22354
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
22355
# trailing colons and then remove the whole line if VPATH becomes empty
 
22356
# (actually we leave an empty line to preserve line numbers).
 
22357
if test "x$srcdir" = x.; then
 
22358
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
22359
s/:*\$(srcdir):*/:/
 
22360
s/:*\${srcdir}:*/:/
 
22361
s/:*@srcdir@:*/:/
 
22362
s/^\([^=]*=[     ]*\):*/\1/
 
22363
s/:*$//
 
22364
s/^[^=]*=[       ]*$//
 
22365
}'
 
22366
fi
 
22367
 
 
22368
cat >>$CONFIG_STATUS <<\_ACEOF
21567
22369
fi # test -n "$CONFIG_FILES"
21568
22370
 
21569
 
_ACEOF
21570
 
cat >>$CONFIG_STATUS <<\_ACEOF
21571
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21572
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21573
 
  case $ac_file in
21574
 
  - | *:- | *:-:* ) # input from stdin
21575
 
        cat >$tmp/stdin
21576
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21577
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21578
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21579
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21580
 
  * )   ac_file_in=$ac_file.in ;;
21581
 
  esac
21582
 
 
21583
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21584
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
22371
 
 
22372
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
22373
do
 
22374
  case $ac_tag in
 
22375
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
22376
  esac
 
22377
  case $ac_mode$ac_tag in
 
22378
  :[FHL]*:*);;
 
22379
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
22380
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
22381
   { (exit 1); exit 1; }; };;
 
22382
  :[FH]-) ac_tag=-:-;;
 
22383
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
22384
  esac
 
22385
  ac_save_IFS=$IFS
 
22386
  IFS=:
 
22387
  set x $ac_tag
 
22388
  IFS=$ac_save_IFS
 
22389
  shift
 
22390
  ac_file=$1
 
22391
  shift
 
22392
 
 
22393
  case $ac_mode in
 
22394
  :L) ac_source=$1;;
 
22395
  :[FH])
 
22396
    ac_file_inputs=
 
22397
    for ac_f
 
22398
    do
 
22399
      case $ac_f in
 
22400
      -) ac_f="$tmp/stdin";;
 
22401
      *) # Look for the file first in the build tree, then in the source tree
 
22402
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
22403
         # because $ac_f cannot contain `:'.
 
22404
         test -f "$ac_f" ||
 
22405
           case $ac_f in
 
22406
           [\\/$]*) false;;
 
22407
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
22408
           esac ||
 
22409
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
22410
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
22411
   { (exit 1); exit 1; }; };;
 
22412
      esac
 
22413
      ac_file_inputs="$ac_file_inputs $ac_f"
 
22414
    done
 
22415
 
 
22416
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
22417
    # use $as_me), people would be surprised to read:
 
22418
    #    /* config.h.  Generated by config.status.  */
 
22419
    configure_input="Generated from "`IFS=:
 
22420
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
22421
    if test x"$ac_file" != x-; then
 
22422
      configure_input="$ac_file.  $configure_input"
 
22423
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
22424
echo "$as_me: creating $ac_file" >&6;}
 
22425
    fi
 
22426
 
 
22427
    case $ac_tag in
 
22428
    *:-:* | *:-) cat >"$tmp/stdin";;
 
22429
    esac
 
22430
    ;;
 
22431
  esac
 
22432
 
 
22433
  ac_dir=`$as_dirname -- "$ac_file" ||
21585
22434
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21586
22435
         X"$ac_file" : 'X\(//\)[^/]' \| \
21587
22436
         X"$ac_file" : 'X\(//\)$' \| \
21588
 
         X"$ac_file" : 'X\(/\)' \| \
21589
 
         .     : '\(.\)' 2>/dev/null ||
 
22437
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21590
22438
echo X"$ac_file" |
21591
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21592
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21593
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21594
 
          /^X\(\/\).*/{ s//\1/; q; }
21595
 
          s/.*/./; q'`
21596
 
  { if $as_mkdir_p; then
21597
 
    mkdir -p "$ac_dir"
21598
 
  else
21599
 
    as_dir="$ac_dir"
 
22439
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22440
            s//\1/
 
22441
            q
 
22442
          }
 
22443
          /^X\(\/\/\)[^/].*/{
 
22444
            s//\1/
 
22445
            q
 
22446
          }
 
22447
          /^X\(\/\/\)$/{
 
22448
            s//\1/
 
22449
            q
 
22450
          }
 
22451
          /^X\(\/\).*/{
 
22452
            s//\1/
 
22453
            q
 
22454
          }
 
22455
          s/.*/./; q'`
 
22456
  { as_dir="$ac_dir"
 
22457
  case $as_dir in #(
 
22458
  -*) as_dir=./$as_dir;;
 
22459
  esac
 
22460
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21600
22461
    as_dirs=
21601
 
    while test ! -d "$as_dir"; do
21602
 
      as_dirs="$as_dir $as_dirs"
21603
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22462
    while :; do
 
22463
      case $as_dir in #(
 
22464
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22465
      *) as_qdir=$as_dir;;
 
22466
      esac
 
22467
      as_dirs="'$as_qdir' $as_dirs"
 
22468
      as_dir=`$as_dirname -- "$as_dir" ||
21604
22469
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21605
22470
         X"$as_dir" : 'X\(//\)[^/]' \| \
21606
22471
         X"$as_dir" : 'X\(//\)$' \| \
21607
 
         X"$as_dir" : 'X\(/\)' \| \
21608
 
         .     : '\(.\)' 2>/dev/null ||
 
22472
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21609
22473
echo X"$as_dir" |
21610
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21611
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21612
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21613
 
          /^X\(\/\).*/{ s//\1/; q; }
21614
 
          s/.*/./; q'`
 
22474
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22475
            s//\1/
 
22476
            q
 
22477
          }
 
22478
          /^X\(\/\/\)[^/].*/{
 
22479
            s//\1/
 
22480
            q
 
22481
          }
 
22482
          /^X\(\/\/\)$/{
 
22483
            s//\1/
 
22484
            q
 
22485
          }
 
22486
          /^X\(\/\).*/{
 
22487
            s//\1/
 
22488
            q
 
22489
          }
 
22490
          s/.*/./; q'`
 
22491
      test -d "$as_dir" && break
21615
22492
    done
21616
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21617
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21618
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22493
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22494
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22495
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21619
22496
   { (exit 1); exit 1; }; }; }
21620
 
 
21621
22497
  ac_builddir=.
21622
22498
 
21623
 
if test "$ac_dir" != .; then
 
22499
case "$ac_dir" in
 
22500
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22501
*)
21624
22502
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21625
 
  # A "../" for each directory in $ac_dir_suffix.
21626
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21627
 
else
21628
 
  ac_dir_suffix= ac_top_builddir=
21629
 
fi
 
22503
  # A ".." for each directory in $ac_dir_suffix.
 
22504
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
22505
  case $ac_top_builddir_sub in
 
22506
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22507
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
22508
  esac ;;
 
22509
esac
 
22510
ac_abs_top_builddir=$ac_pwd
 
22511
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
22512
# for backward compatibility:
 
22513
ac_top_builddir=$ac_top_build_prefix
21630
22514
 
21631
22515
case $srcdir in
21632
 
  .)  # No --srcdir option.  We are building in place.
 
22516
  .)  # We are building in place.
21633
22517
    ac_srcdir=.
21634
 
    if test -z "$ac_top_builddir"; then
21635
 
       ac_top_srcdir=.
21636
 
    else
21637
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21638
 
    fi ;;
21639
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
22518
    ac_top_srcdir=$ac_top_builddir_sub
 
22519
    ac_abs_top_srcdir=$ac_pwd ;;
 
22520
  [\\/]* | ?:[\\/]* )  # Absolute name.
21640
22521
    ac_srcdir=$srcdir$ac_dir_suffix;
21641
 
    ac_top_srcdir=$srcdir ;;
21642
 
  *) # Relative path.
21643
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21644
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21645
 
esac
21646
 
 
21647
 
# Do not use `cd foo && pwd` to compute absolute paths, because
21648
 
# the directories may not exist.
21649
 
case `pwd` in
21650
 
.) ac_abs_builddir="$ac_dir";;
21651
 
*)
21652
 
  case "$ac_dir" in
21653
 
  .) ac_abs_builddir=`pwd`;;
21654
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21655
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
21656
 
  esac;;
21657
 
esac
21658
 
case $ac_abs_builddir in
21659
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21660
 
*)
21661
 
  case ${ac_top_builddir}. in
21662
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
21663
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21664
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21665
 
  esac;;
21666
 
esac
21667
 
case $ac_abs_builddir in
21668
 
.) ac_abs_srcdir=$ac_srcdir;;
21669
 
*)
21670
 
  case $ac_srcdir in
21671
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
21672
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21673
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21674
 
  esac;;
21675
 
esac
21676
 
case $ac_abs_builddir in
21677
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21678
 
*)
21679
 
  case $ac_top_srcdir in
21680
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
21681
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21682
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21683
 
  esac;;
21684
 
esac
21685
 
 
 
22522
    ac_top_srcdir=$srcdir
 
22523
    ac_abs_top_srcdir=$srcdir ;;
 
22524
  *) # Relative name.
 
22525
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
22526
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
22527
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
22528
esac
 
22529
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
22530
 
 
22531
 
 
22532
  case $ac_mode in
 
22533
  :F)
 
22534
  #
 
22535
  # CONFIG_FILE
 
22536
  #
21686
22537
 
21687
22538
  case $INSTALL in
21688
22539
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21689
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21690
 
  esac
21691
 
 
21692
 
  if test x"$ac_file" != x-; then
21693
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
21694
 
echo "$as_me: creating $ac_file" >&6;}
21695
 
    rm -f "$ac_file"
21696
 
  fi
21697
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21698
 
  # use $as_me), people would be surprised to read:
21699
 
  #    /* config.h.  Generated by config.status.  */
21700
 
  if test x"$ac_file" = x-; then
21701
 
    configure_input=
21702
 
  else
21703
 
    configure_input="$ac_file.  "
21704
 
  fi
21705
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
21706
 
                                     sed 's,.*/,,'` by configure."
21707
 
 
21708
 
  # First look for the input files in the build tree, otherwise in the
21709
 
  # src tree.
21710
 
  ac_file_inputs=`IFS=:
21711
 
    for f in $ac_file_in; do
21712
 
      case $f in
21713
 
      -) echo $tmp/stdin ;;
21714
 
      [\\/$]*)
21715
 
         # Absolute (can't be DOS-style, as IFS=:)
21716
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21717
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21718
 
   { (exit 1); exit 1; }; }
21719
 
         echo "$f";;
21720
 
      *) # Relative
21721
 
         if test -f "$f"; then
21722
 
           # Build tree
21723
 
           echo "$f"
21724
 
         elif test -f "$srcdir/$f"; then
21725
 
           # Source tree
21726
 
           echo "$srcdir/$f"
21727
 
         else
21728
 
           # /dev/null tree
21729
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21730
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21731
 
   { (exit 1); exit 1; }; }
21732
 
         fi;;
21733
 
      esac
21734
 
    done` || { (exit 1); exit 1; }
21735
 
_ACEOF
 
22540
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
22541
  esac
 
22542
  ac_MKDIR_P=$MKDIR_P
 
22543
  case $MKDIR_P in
 
22544
  [\\/$]* | ?:[\\/]* ) ;;
 
22545
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
22546
  esac
 
22547
_ACEOF
 
22548
 
 
22549
cat >>$CONFIG_STATUS <<\_ACEOF
 
22550
# If the template does not know about datarootdir, expand it.
 
22551
# FIXME: This hack should be removed a few years after 2.60.
 
22552
ac_datarootdir_hack=; ac_datarootdir_seen=
 
22553
 
 
22554
case `sed -n '/datarootdir/ {
 
22555
  p
 
22556
  q
 
22557
}
 
22558
/@datadir@/p
 
22559
/@docdir@/p
 
22560
/@infodir@/p
 
22561
/@localedir@/p
 
22562
/@mandir@/p
 
22563
' $ac_file_inputs` in
 
22564
*datarootdir*) ac_datarootdir_seen=yes;;
 
22565
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
22566
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
22567
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
22568
_ACEOF
 
22569
cat >>$CONFIG_STATUS <<_ACEOF
 
22570
  ac_datarootdir_hack='
 
22571
  s&@datadir@&$datadir&g
 
22572
  s&@docdir@&$docdir&g
 
22573
  s&@infodir@&$infodir&g
 
22574
  s&@localedir@&$localedir&g
 
22575
  s&@mandir@&$mandir&g
 
22576
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
22577
esac
 
22578
_ACEOF
 
22579
 
 
22580
# Neutralize VPATH when `$srcdir' = `.'.
 
22581
# Shell code in configure.ac might set extrasub.
 
22582
# FIXME: do we really want to maintain this feature?
21736
22583
cat >>$CONFIG_STATUS <<_ACEOF
21737
22584
  sed "$ac_vpsub
21738
22585
$extrasub
21740
22587
cat >>$CONFIG_STATUS <<\_ACEOF
21741
22588
:t
21742
22589
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21743
 
s,@configure_input@,$configure_input,;t t
21744
 
s,@srcdir@,$ac_srcdir,;t t
21745
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21746
 
s,@top_srcdir@,$ac_top_srcdir,;t t
21747
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21748
 
s,@builddir@,$ac_builddir,;t t
21749
 
s,@abs_builddir@,$ac_abs_builddir,;t t
21750
 
s,@top_builddir@,$ac_top_builddir,;t t
21751
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21752
 
s,@INSTALL@,$ac_INSTALL,;t t
21753
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21754
 
  rm -f $tmp/stdin
21755
 
  if test x"$ac_file" != x-; then
21756
 
    mv $tmp/out $ac_file
21757
 
  else
21758
 
    cat $tmp/out
21759
 
    rm -f $tmp/out
21760
 
  fi
21761
 
 
21762
 
done
 
22590
s&@configure_input@&$configure_input&;t t
 
22591
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
22592
s&@srcdir@&$ac_srcdir&;t t
 
22593
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
22594
s&@top_srcdir@&$ac_top_srcdir&;t t
 
22595
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
22596
s&@builddir@&$ac_builddir&;t t
 
22597
s&@abs_builddir@&$ac_abs_builddir&;t t
 
22598
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
22599
s&@INSTALL@&$ac_INSTALL&;t t
 
22600
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
22601
$ac_datarootdir_hack
 
22602
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
22603
 
 
22604
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
22605
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
22606
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
22607
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22608
which seems to be undefined.  Please make sure it is defined." >&5
 
22609
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22610
which seems to be undefined.  Please make sure it is defined." >&2;}
 
22611
 
 
22612
  rm -f "$tmp/stdin"
 
22613
  case $ac_file in
 
22614
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
22615
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
22616
  esac
 
22617
 ;;
 
22618
  :H)
 
22619
  #
 
22620
  # CONFIG_HEADER
 
22621
  #
21763
22622
_ACEOF
21764
 
cat >>$CONFIG_STATUS <<\_ACEOF
21765
 
 
21766
 
#
21767
 
# CONFIG_HEADER section.
21768
 
#
21769
 
 
21770
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21771
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21772
 
#
21773
 
# ac_d sets the value in "#define NAME VALUE" lines.
21774
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
21775
 
ac_dB='[         ].*$,\1#\2'
 
22623
 
 
22624
# Transform confdefs.h into a sed script `conftest.defines', that
 
22625
# substitutes the proper values into config.h.in to produce config.h.
 
22626
rm -f conftest.defines conftest.tail
 
22627
# First, append a space to every undef/define line, to ease matching.
 
22628
echo 's/$/ /' >conftest.defines
 
22629
# Then, protect against being on the right side of a sed subst, or in
 
22630
# an unquoted here document, in config.status.  If some macros were
 
22631
# called several times there might be several #defines for the same
 
22632
# symbol, which is useless.  But do not sort them, since the last
 
22633
# AC_DEFINE must be honored.
 
22634
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
22635
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
22636
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
22637
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
22638
# just an empty string.
 
22639
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
22640
ac_dB='\\)[      (].*,\\1define\\2'
21776
22641
ac_dC=' '
21777
 
ac_dD=',;t'
21778
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21779
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
21780
 
ac_uB='$,\1#\2define\3'
21781
 
ac_uC=' '
21782
 
ac_uD=',;t'
21783
 
 
21784
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21785
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21786
 
  case $ac_file in
21787
 
  - | *:- | *:-:* ) # input from stdin
21788
 
        cat >$tmp/stdin
21789
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21790
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21791
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21792
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21793
 
  * )   ac_file_in=$ac_file.in ;;
21794
 
  esac
21795
 
 
21796
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21797
 
echo "$as_me: creating $ac_file" >&6;}
21798
 
 
21799
 
  # First look for the input files in the build tree, otherwise in the
21800
 
  # src tree.
21801
 
  ac_file_inputs=`IFS=:
21802
 
    for f in $ac_file_in; do
21803
 
      case $f in
21804
 
      -) echo $tmp/stdin ;;
21805
 
      [\\/$]*)
21806
 
         # Absolute (can't be DOS-style, as IFS=:)
21807
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21808
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21809
 
   { (exit 1); exit 1; }; }
21810
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
21811
 
         echo "$f";;
21812
 
      *) # Relative
21813
 
         if test -f "$f"; then
21814
 
           # Build tree
21815
 
           echo "$f"
21816
 
         elif test -f "$srcdir/$f"; then
21817
 
           # Source tree
21818
 
           echo "$srcdir/$f"
21819
 
         else
21820
 
           # /dev/null tree
21821
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21822
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21823
 
   { (exit 1); exit 1; }; }
21824
 
         fi;;
21825
 
      esac
21826
 
    done` || { (exit 1); exit 1; }
21827
 
  # Remove the trailing spaces.
21828
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
21829
 
 
21830
 
_ACEOF
21831
 
 
21832
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21833
 
# `conftest.undefs', that substitutes the proper values into
21834
 
# config.h.in to produce config.h.  The first handles `#define'
21835
 
# templates, and the second `#undef' templates.
21836
 
# And first: Protect against being on the right side of a sed subst in
21837
 
# config.status.  Protect against being in an unquoted here document
21838
 
# in config.status.
21839
 
rm -f conftest.defines conftest.undefs
21840
 
# Using a here document instead of a string reduces the quoting nightmare.
21841
 
# Putting comments in sed scripts is not portable.
21842
 
#
21843
 
# `end' is used to avoid that the second main sed command (meant for
21844
 
# 0-ary CPP macros) applies to n-ary macro definitions.
21845
 
# See the Autoconf documentation for `clear'.
21846
 
cat >confdef2sed.sed <<\_ACEOF
21847
 
s/[\\&,]/\\&/g
21848
 
s,[\\$`],\\&,g
21849
 
t clear
21850
 
: clear
21851
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21852
 
t end
21853
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21854
 
: end
21855
 
_ACEOF
21856
 
# If some macros were called several times there might be several times
21857
 
# the same #defines, which is useless.  Nevertheless, we may not want to
21858
 
# sort them, since we want the *last* AC-DEFINE to be honored.
21859
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21860
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21861
 
rm -f confdef2sed.sed
21862
 
 
21863
 
# This sed command replaces #undef with comments.  This is necessary, for
 
22642
ac_dD=' ,'
 
22643
 
 
22644
uniq confdefs.h |
 
22645
  sed -n '
 
22646
        t rset
 
22647
        :rset
 
22648
        s/^[     ]*#[    ]*define[       ][      ]*//
 
22649
        t ok
 
22650
        d
 
22651
        :ok
 
22652
        s/[\\&,]/\\&/g
 
22653
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
22654
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
22655
  ' >>conftest.defines
 
22656
 
 
22657
# Remove the space that was appended to ease matching.
 
22658
# Then replace #undef with comments.  This is necessary, for
21864
22659
# example, in the case of _POSIX_SOURCE, which is predefined and required
21865
22660
# on some systems where configure will not decide to define it.
21866
 
cat >>conftest.undefs <<\_ACEOF
21867
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
22661
# (The regexp can be short, since the line contains either #define or #undef.)
 
22662
echo 's/ $//
 
22663
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
22664
 
 
22665
# Break up conftest.defines:
 
22666
ac_max_sed_lines=50
 
22667
 
 
22668
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
22669
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
22670
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
22671
# et cetera.
 
22672
ac_in='$ac_file_inputs'
 
22673
ac_out='"$tmp/out1"'
 
22674
ac_nxt='"$tmp/out2"'
 
22675
 
 
22676
while :
 
22677
do
 
22678
  # Write a here document:
 
22679
    cat >>$CONFIG_STATUS <<_ACEOF
 
22680
    # First, check the format of the line:
 
22681
    cat >"\$tmp/defines.sed" <<\\CEOF
 
22682
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
22683
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
22684
b
 
22685
:def
21868
22686
_ACEOF
21869
 
 
21870
 
# Break up conftest.defines because some shells have a limit on the size
21871
 
# of here documents, and old seds have small limits too (100 cmds).
21872
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21873
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21874
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21875
 
echo '  :' >>$CONFIG_STATUS
21876
 
rm -f conftest.tail
21877
 
while grep . conftest.defines >/dev/null
21878
 
do
21879
 
  # Write a limited-size here document to $tmp/defines.sed.
21880
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21881
 
  # Speed up: don't consider the non `#define' lines.
21882
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
21883
 
  # Work around the forget-to-reset-the-flag bug.
21884
 
  echo 't clr' >>$CONFIG_STATUS
21885
 
  echo ': clr' >>$CONFIG_STATUS
21886
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
22687
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21887
22688
  echo 'CEOF
21888
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
21889
 
  rm -f $tmp/in
21890
 
  mv $tmp/out $tmp/in
21891
 
' >>$CONFIG_STATUS
21892
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
22689
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
22690
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
22691
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
22692
  grep . conftest.tail >/dev/null || break
21893
22693
  rm -f conftest.defines
21894
22694
  mv conftest.tail conftest.defines
21895
22695
done
21896
 
rm -f conftest.defines
21897
 
echo '  fi # grep' >>$CONFIG_STATUS
21898
 
echo >>$CONFIG_STATUS
21899
 
 
21900
 
# Break up conftest.undefs because some shells have a limit on the size
21901
 
# of here documents, and old seds have small limits too (100 cmds).
21902
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21903
 
rm -f conftest.tail
21904
 
while grep . conftest.undefs >/dev/null
21905
 
do
21906
 
  # Write a limited-size here document to $tmp/undefs.sed.
21907
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21908
 
  # Speed up: don't consider the non `#undef'
21909
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
21910
 
  # Work around the forget-to-reset-the-flag bug.
21911
 
  echo 't clr' >>$CONFIG_STATUS
21912
 
  echo ': clr' >>$CONFIG_STATUS
21913
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21914
 
  echo 'CEOF
21915
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21916
 
  rm -f $tmp/in
21917
 
  mv $tmp/out $tmp/in
21918
 
' >>$CONFIG_STATUS
21919
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21920
 
  rm -f conftest.undefs
21921
 
  mv conftest.tail conftest.undefs
21922
 
done
21923
 
rm -f conftest.undefs
21924
 
 
 
22696
rm -f conftest.defines conftest.tail
 
22697
 
 
22698
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21925
22699
cat >>$CONFIG_STATUS <<\_ACEOF
21926
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21927
 
  # use $as_me), people would be surprised to read:
21928
 
  #    /* config.h.  Generated by config.status.  */
21929
 
  if test x"$ac_file" = x-; then
21930
 
    echo "/* Generated by configure.  */" >$tmp/config.h
21931
 
  else
21932
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
21933
 
  fi
21934
 
  cat $tmp/in >>$tmp/config.h
21935
 
  rm -f $tmp/in
21936
22700
  if test x"$ac_file" != x-; then
21937
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
22701
    echo "/* $configure_input  */" >"$tmp/config.h"
 
22702
    cat "$ac_result" >>"$tmp/config.h"
 
22703
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21938
22704
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21939
22705
echo "$as_me: $ac_file is unchanged" >&6;}
21940
22706
    else
21941
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21942
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21943
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
21944
 
         X"$ac_file" : 'X\(//\)$' \| \
21945
 
         X"$ac_file" : 'X\(/\)' \| \
21946
 
         .     : '\(.\)' 2>/dev/null ||
21947
 
echo X"$ac_file" |
21948
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21949
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21950
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21951
 
          /^X\(\/\).*/{ s//\1/; q; }
21952
 
          s/.*/./; q'`
21953
 
      { if $as_mkdir_p; then
21954
 
    mkdir -p "$ac_dir"
21955
 
  else
21956
 
    as_dir="$ac_dir"
21957
 
    as_dirs=
21958
 
    while test ! -d "$as_dir"; do
21959
 
      as_dirs="$as_dir $as_dirs"
21960
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21961
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21962
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21963
 
         X"$as_dir" : 'X\(//\)$' \| \
21964
 
         X"$as_dir" : 'X\(/\)' \| \
21965
 
         .     : '\(.\)' 2>/dev/null ||
21966
 
echo X"$as_dir" |
21967
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21968
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21969
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21970
 
          /^X\(\/\).*/{ s//\1/; q; }
21971
 
          s/.*/./; q'`
21972
 
    done
21973
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21974
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21975
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21976
 
   { (exit 1); exit 1; }; }; }
21977
 
 
21978
22707
      rm -f $ac_file
21979
 
      mv $tmp/config.h $ac_file
 
22708
      mv "$tmp/config.h" $ac_file
21980
22709
    fi
21981
22710
  else
21982
 
    cat $tmp/config.h
21983
 
    rm -f $tmp/config.h
 
22711
    echo "/* $configure_input  */"
 
22712
    cat "$ac_result"
21984
22713
  fi
 
22714
  rm -f "$tmp/out12"
21985
22715
# Compute $ac_file's index in $config_headers.
21986
22716
_am_stamp_count=1
21987
22717
for _am_header in $config_headers :; do
21992
22722
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21993
22723
  esac
21994
22724
done
21995
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
22725
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21996
22726
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21997
22727
         X$ac_file : 'X\(//\)[^/]' \| \
21998
22728
         X$ac_file : 'X\(//\)$' \| \
21999
 
         X$ac_file : 'X\(/\)' \| \
22000
 
         .     : '\(.\)' 2>/dev/null ||
 
22729
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22001
22730
echo X$ac_file |
22002
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22003
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22004
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22005
 
          /^X\(\/\).*/{ s//\1/; q; }
22006
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
22007
 
done
22008
 
_ACEOF
22009
 
cat >>$CONFIG_STATUS <<\_ACEOF
22010
 
 
22011
 
#
22012
 
# CONFIG_COMMANDS section.
22013
 
#
22014
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22015
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22016
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22017
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22018
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22019
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
22020
 
         X"$ac_dest" : 'X\(//\)$' \| \
22021
 
         X"$ac_dest" : 'X\(/\)' \| \
22022
 
         .     : '\(.\)' 2>/dev/null ||
22023
 
echo X"$ac_dest" |
22024
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22025
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22026
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22027
 
          /^X\(\/\).*/{ s//\1/; q; }
22028
 
          s/.*/./; q'`
22029
 
  { if $as_mkdir_p; then
22030
 
    mkdir -p "$ac_dir"
22031
 
  else
22032
 
    as_dir="$ac_dir"
22033
 
    as_dirs=
22034
 
    while test ! -d "$as_dir"; do
22035
 
      as_dirs="$as_dir $as_dirs"
22036
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
22037
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22038
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22039
 
         X"$as_dir" : 'X\(//\)$' \| \
22040
 
         X"$as_dir" : 'X\(/\)' \| \
22041
 
         .     : '\(.\)' 2>/dev/null ||
22042
 
echo X"$as_dir" |
22043
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22044
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22045
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22046
 
          /^X\(\/\).*/{ s//\1/; q; }
22047
 
          s/.*/./; q'`
22048
 
    done
22049
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22050
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22051
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22052
 
   { (exit 1); exit 1; }; }; }
22053
 
 
22054
 
  ac_builddir=.
22055
 
 
22056
 
if test "$ac_dir" != .; then
22057
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22058
 
  # A "../" for each directory in $ac_dir_suffix.
22059
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22060
 
else
22061
 
  ac_dir_suffix= ac_top_builddir=
22062
 
fi
22063
 
 
22064
 
case $srcdir in
22065
 
  .)  # No --srcdir option.  We are building in place.
22066
 
    ac_srcdir=.
22067
 
    if test -z "$ac_top_builddir"; then
22068
 
       ac_top_srcdir=.
22069
 
    else
22070
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22071
 
    fi ;;
22072
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
22073
 
    ac_srcdir=$srcdir$ac_dir_suffix;
22074
 
    ac_top_srcdir=$srcdir ;;
22075
 
  *) # Relative path.
22076
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22077
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
22078
 
esac
22079
 
 
22080
 
# Do not use `cd foo && pwd` to compute absolute paths, because
22081
 
# the directories may not exist.
22082
 
case `pwd` in
22083
 
.) ac_abs_builddir="$ac_dir";;
22084
 
*)
22085
 
  case "$ac_dir" in
22086
 
  .) ac_abs_builddir=`pwd`;;
22087
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22088
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
22089
 
  esac;;
22090
 
esac
22091
 
case $ac_abs_builddir in
22092
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22093
 
*)
22094
 
  case ${ac_top_builddir}. in
22095
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
22096
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22097
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22098
 
  esac;;
22099
 
esac
22100
 
case $ac_abs_builddir in
22101
 
.) ac_abs_srcdir=$ac_srcdir;;
22102
 
*)
22103
 
  case $ac_srcdir in
22104
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
22105
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22106
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22107
 
  esac;;
22108
 
esac
22109
 
case $ac_abs_builddir in
22110
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22111
 
*)
22112
 
  case $ac_top_srcdir in
22113
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
22114
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22115
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22116
 
  esac;;
22117
 
esac
22118
 
 
22119
 
 
22120
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22121
 
echo "$as_me: executing $ac_dest commands" >&6;}
22122
 
  case $ac_dest in
22123
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
22731
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22732
            s//\1/
 
22733
            q
 
22734
          }
 
22735
          /^X\(\/\/\)[^/].*/{
 
22736
            s//\1/
 
22737
            q
 
22738
          }
 
22739
          /^X\(\/\/\)$/{
 
22740
            s//\1/
 
22741
            q
 
22742
          }
 
22743
          /^X\(\/\).*/{
 
22744
            s//\1/
 
22745
            q
 
22746
          }
 
22747
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
22748
 ;;
 
22749
 
 
22750
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
22751
echo "$as_me: executing $ac_file commands" >&6;}
 
22752
 ;;
 
22753
  esac
 
22754
 
 
22755
 
 
22756
  case $ac_file$ac_mode in
 
22757
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22124
22758
  # Strip MF so we end up with the name of the file.
22125
22759
  mf=`echo "$mf" | sed -e 's/:.*$//'`
22126
22760
  # Check whether this is an Automake generated Makefile or not.
22128
22762
  # some people rename them; so instead we look at the file content.
22129
22763
  # Grep'ing the first line is not enough: some people post-process
22130
22764
  # each Makefile.in and add a new line on top of each file to say so.
22131
 
  # So let's grep whole file.
22132
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22133
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
22765
  # Grep'ing the whole file is not good either: AIX grep has a line
 
22766
  # limit of 2048, but all sed's we know have understand at least 4000.
 
22767
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
22768
    dirpart=`$as_dirname -- "$mf" ||
22134
22769
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22135
22770
         X"$mf" : 'X\(//\)[^/]' \| \
22136
22771
         X"$mf" : 'X\(//\)$' \| \
22137
 
         X"$mf" : 'X\(/\)' \| \
22138
 
         .     : '\(.\)' 2>/dev/null ||
 
22772
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22139
22773
echo X"$mf" |
22140
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22141
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22142
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22143
 
          /^X\(\/\).*/{ s//\1/; q; }
22144
 
          s/.*/./; q'`
 
22774
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22775
            s//\1/
 
22776
            q
 
22777
          }
 
22778
          /^X\(\/\/\)[^/].*/{
 
22779
            s//\1/
 
22780
            q
 
22781
          }
 
22782
          /^X\(\/\/\)$/{
 
22783
            s//\1/
 
22784
            q
 
22785
          }
 
22786
          /^X\(\/\).*/{
 
22787
            s//\1/
 
22788
            q
 
22789
          }
 
22790
          s/.*/./; q'`
22145
22791
  else
22146
22792
    continue
22147
22793
  fi
22163
22809
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22164
22810
    # Make sure the directory exists.
22165
22811
    test -f "$dirpart/$file" && continue
22166
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
22812
    fdir=`$as_dirname -- "$file" ||
22167
22813
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22168
22814
         X"$file" : 'X\(//\)[^/]' \| \
22169
22815
         X"$file" : 'X\(//\)$' \| \
22170
 
         X"$file" : 'X\(/\)' \| \
22171
 
         .     : '\(.\)' 2>/dev/null ||
 
22816
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22172
22817
echo X"$file" |
22173
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22174
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22175
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22176
 
          /^X\(\/\).*/{ s//\1/; q; }
22177
 
          s/.*/./; q'`
22178
 
    { if $as_mkdir_p; then
22179
 
    mkdir -p $dirpart/$fdir
22180
 
  else
22181
 
    as_dir=$dirpart/$fdir
 
22818
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22819
            s//\1/
 
22820
            q
 
22821
          }
 
22822
          /^X\(\/\/\)[^/].*/{
 
22823
            s//\1/
 
22824
            q
 
22825
          }
 
22826
          /^X\(\/\/\)$/{
 
22827
            s//\1/
 
22828
            q
 
22829
          }
 
22830
          /^X\(\/\).*/{
 
22831
            s//\1/
 
22832
            q
 
22833
          }
 
22834
          s/.*/./; q'`
 
22835
    { as_dir=$dirpart/$fdir
 
22836
  case $as_dir in #(
 
22837
  -*) as_dir=./$as_dir;;
 
22838
  esac
 
22839
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22182
22840
    as_dirs=
22183
 
    while test ! -d "$as_dir"; do
22184
 
      as_dirs="$as_dir $as_dirs"
22185
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22841
    while :; do
 
22842
      case $as_dir in #(
 
22843
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
22844
      *) as_qdir=$as_dir;;
 
22845
      esac
 
22846
      as_dirs="'$as_qdir' $as_dirs"
 
22847
      as_dir=`$as_dirname -- "$as_dir" ||
22186
22848
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22187
22849
         X"$as_dir" : 'X\(//\)[^/]' \| \
22188
22850
         X"$as_dir" : 'X\(//\)$' \| \
22189
 
         X"$as_dir" : 'X\(/\)' \| \
22190
 
         .     : '\(.\)' 2>/dev/null ||
 
22851
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22191
22852
echo X"$as_dir" |
22192
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22193
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22194
 
          /^X\(\/\/\)$/{ s//\1/; q; }
22195
 
          /^X\(\/\).*/{ s//\1/; q; }
22196
 
          s/.*/./; q'`
 
22853
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22854
            s//\1/
 
22855
            q
 
22856
          }
 
22857
          /^X\(\/\/\)[^/].*/{
 
22858
            s//\1/
 
22859
            q
 
22860
          }
 
22861
          /^X\(\/\/\)$/{
 
22862
            s//\1/
 
22863
            q
 
22864
          }
 
22865
          /^X\(\/\).*/{
 
22866
            s//\1/
 
22867
            q
 
22868
          }
 
22869
          s/.*/./; q'`
 
22870
      test -d "$as_dir" && break
22197
22871
    done
22198
 
    test ! -n "$as_dirs" || mkdir $as_dirs
22199
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22200
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
22872
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22873
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22874
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22201
22875
   { (exit 1); exit 1; }; }; }
22202
 
 
22203
22876
    # echo "creating $dirpart/$file"
22204
22877
    echo '# dummy' > "$dirpart/$file"
22205
22878
  done
22206
22879
done
22207
22880
 ;;
 
22881
 
22208
22882
  esac
22209
 
done
22210
 
_ACEOF
 
22883
done # for ac_tag
22211
22884
 
22212
 
cat >>$CONFIG_STATUS <<\_ACEOF
22213
22885
 
22214
22886
{ (exit 0); exit 0; }
22215
22887
_ACEOF