~ubuntu-branches/debian/lenny/libxevie/lenny

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2008-05-12 15:15:19 UTC
  • mfrom: (2.1.9 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080512151519-v10qk7isaoq2uc3z
Tags: 1:1.0.2-3
* Put binary packages in the correct sections.
* libxevie-dev needs a dependency on libx11-dev and libxext-dev.
  Reported by Thorvald Natvig on IRC, thanks!
* Remove Branden and Fabio from Uploaders with their permission.
* Add myself to Uploaders.
* Drop the debian revision (-1) from the libxext-dev build-dep.
* Bump Standards-Version to 3.7.3.
* Use Vcs-* instead of XS-Vcs-*.
* libxevie1{,-dbg} don't need to depend on x11-common.
* Use ${binary:Version} instead of the obsolete ${Source-Version}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for libXevie 1.0.1.
 
3
# Generated by GNU Autoconf 2.61 for libXevie 1.0.2.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
25
54
 
26
55
# Support unset when possible.
27
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
60
fi
32
61
 
33
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
34
96
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
36
100
PS1='$ '
37
101
PS2='> '
38
102
PS4='+ '
46
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
111
    eval $as_var=C; export $as_var
48
112
  else
49
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
114
  fi
51
115
done
52
116
 
53
117
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
120
  as_expr=expr
56
121
else
57
122
  as_expr=false
58
123
fi
59
124
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
126
  as_basename=basename
62
127
else
63
128
  as_basename=false
65
130
 
66
131
 
67
132
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
137
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
132
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
do
135
226
  IFS=$as_save_IFS
136
227
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
228
  case $as_dir in
139
229
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
154
234
done
155
 
;;
156
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
 
158
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
164
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
167
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
168
449
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
452
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
453
      s/-\n.*//
175
454
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
455
  chmod +x "$as_me.lineno" ||
177
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
   { (exit 1); exit 1; }; }
179
458
 
180
459
  # Don't try to exec as it changes $[0], causing all sort of problems
181
460
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
184
463
  # Exit status is that of the last command.
185
464
  exit
186
465
}
187
466
 
188
467
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
194
483
esac
195
484
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
487
  as_expr=expr
198
488
else
199
489
  as_expr=false
200
490
fi
201
491
 
202
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
507
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
214
509
  as_ln_s=ln
215
510
else
216
511
  as_ln_s='cp -p'
217
512
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
219
515
 
220
516
if mkdir -p . 2>/dev/null; then
221
517
  as_mkdir_p=:
224
520
  as_mkdir_p=false
225
521
fi
226
522
 
227
 
as_executable_p="test -f"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
228
545
 
229
546
# Sed expression to map a string onto a valid CPP name.
230
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
551
 
235
552
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
553
 
246
554
 
247
555
# Check that we are running under the correct shell.
397
705
 
398
706
tagnames=${tagnames+${tagnames},}F77
399
707
 
 
708
exec 7<&0 </dev/null 6>&1
 
709
 
400
710
# Name of the host.
401
711
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
712
# so uname gets run too.
403
713
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
714
 
405
 
exec 6>&1
406
 
 
407
715
#
408
716
# Initializations.
409
717
#
410
718
ac_default_prefix=/usr/local
 
719
ac_clean_files=
411
720
ac_config_libobj_dir=.
 
721
LIBOBJS=
412
722
cross_compiling=no
413
723
subdirs=
414
724
MFLAGS=
415
725
MAKEFLAGS=
416
726
SHELL=${CONFIG_SHELL-/bin/sh}
417
727
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
728
# Identity of this package.
424
729
PACKAGE_NAME='libXevie'
425
730
PACKAGE_TARNAME='libXevie'
426
 
PACKAGE_VERSION='1.0.1'
427
 
PACKAGE_STRING='libXevie 1.0.1'
 
731
PACKAGE_VERSION='1.0.2'
 
732
PACKAGE_STRING='libXevie 1.0.2'
428
733
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
429
734
 
430
735
# Factoring default headers for most tests.
431
736
ac_includes_default="\
432
737
#include <stdio.h>
433
 
#if HAVE_SYS_TYPES_H
 
738
#ifdef HAVE_SYS_TYPES_H
434
739
# include <sys/types.h>
435
740
#endif
436
 
#if HAVE_SYS_STAT_H
 
741
#ifdef HAVE_SYS_STAT_H
437
742
# include <sys/stat.h>
438
743
#endif
439
 
#if STDC_HEADERS
 
744
#ifdef STDC_HEADERS
440
745
# include <stdlib.h>
441
746
# include <stddef.h>
442
747
#else
443
 
# if HAVE_STDLIB_H
 
748
# ifdef HAVE_STDLIB_H
444
749
#  include <stdlib.h>
445
750
# endif
446
751
#endif
447
 
#if HAVE_STRING_H
448
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
752
#ifdef HAVE_STRING_H
 
753
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449
754
#  include <memory.h>
450
755
# endif
451
756
# include <string.h>
452
757
#endif
453
 
#if HAVE_STRINGS_H
 
758
#ifdef HAVE_STRINGS_H
454
759
# include <strings.h>
455
760
#endif
456
 
#if HAVE_INTTYPES_H
 
761
#ifdef HAVE_INTTYPES_H
457
762
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
462
 
#endif
463
 
#if HAVE_UNISTD_H
 
763
#endif
 
764
#ifdef HAVE_STDINT_H
 
765
# include <stdint.h>
 
766
#endif
 
767
#ifdef HAVE_UNISTD_H
464
768
# include <unistd.h>
465
769
#endif"
466
770
 
467
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO 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 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 CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG ac_pt_PKG_CONFIG XEVIE_CFLAGS XEVIE_LIBS MALLOC_ZERO_CFLAGS XMALLOC_ZERO_CFLAGS XTMALLOC_ZERO_CFLAGS APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS'
 
771
ac_subst_vars='SHELL
 
772
PATH_SEPARATOR
 
773
PACKAGE_NAME
 
774
PACKAGE_TARNAME
 
775
PACKAGE_VERSION
 
776
PACKAGE_STRING
 
777
PACKAGE_BUGREPORT
 
778
exec_prefix
 
779
prefix
 
780
program_transform_name
 
781
bindir
 
782
sbindir
 
783
libexecdir
 
784
datarootdir
 
785
datadir
 
786
sysconfdir
 
787
sharedstatedir
 
788
localstatedir
 
789
includedir
 
790
oldincludedir
 
791
docdir
 
792
infodir
 
793
htmldir
 
794
dvidir
 
795
pdfdir
 
796
psdir
 
797
libdir
 
798
localedir
 
799
mandir
 
800
DEFS
 
801
ECHO_C
 
802
ECHO_N
 
803
ECHO_T
 
804
LIBS
 
805
build_alias
 
806
host_alias
 
807
target_alias
 
808
INSTALL_PROGRAM
 
809
INSTALL_SCRIPT
 
810
INSTALL_DATA
 
811
CYGPATH_W
 
812
PACKAGE
 
813
VERSION
 
814
ACLOCAL
 
815
AUTOCONF
 
816
AUTOMAKE
 
817
AUTOHEADER
 
818
MAKEINFO
 
819
install_sh
 
820
STRIP
 
821
INSTALL_STRIP_PROGRAM
 
822
mkdir_p
 
823
AWK
 
824
SET_MAKE
 
825
am__leading_dot
 
826
AMTAR
 
827
am__tar
 
828
am__untar
 
829
MAINTAINER_MODE_TRUE
 
830
MAINTAINER_MODE_FALSE
 
831
MAINT
 
832
CC
 
833
CFLAGS
 
834
LDFLAGS
 
835
CPPFLAGS
 
836
ac_ct_CC
 
837
EXEEXT
 
838
OBJEXT
 
839
DEPDIR
 
840
am__include
 
841
am__quote
 
842
AMDEP_TRUE
 
843
AMDEP_FALSE
 
844
AMDEPBACKSLASH
 
845
CCDEPMODE
 
846
am__fastdepCC_TRUE
 
847
am__fastdepCC_FALSE
 
848
build
 
849
build_cpu
 
850
build_vendor
 
851
build_os
 
852
host
 
853
host_cpu
 
854
host_vendor
 
855
host_os
 
856
GREP
 
857
EGREP
 
858
LN_S
 
859
ECHO
 
860
AR
 
861
RANLIB
 
862
CPP
 
863
CXX
 
864
CXXFLAGS
 
865
ac_ct_CXX
 
866
CXXDEPMODE
 
867
am__fastdepCXX_TRUE
 
868
am__fastdepCXX_FALSE
 
869
CXXCPP
 
870
F77
 
871
FFLAGS
 
872
ac_ct_F77
 
873
LIBTOOL
 
874
PKG_CONFIG
 
875
XEVIE_CFLAGS
 
876
XEVIE_LIBS
 
877
MALLOC_ZERO_CFLAGS
 
878
XMALLOC_ZERO_CFLAGS
 
879
XTMALLOC_ZERO_CFLAGS
 
880
APP_MAN_SUFFIX
 
881
LIB_MAN_SUFFIX
 
882
FILE_MAN_SUFFIX
 
883
MISC_MAN_SUFFIX
 
884
DRIVER_MAN_SUFFIX
 
885
ADMIN_MAN_SUFFIX
 
886
APP_MAN_DIR
 
887
LIB_MAN_DIR
 
888
FILE_MAN_DIR
 
889
MISC_MAN_DIR
 
890
DRIVER_MAN_DIR
 
891
ADMIN_MAN_DIR
 
892
LIBOBJS
 
893
LTLIBOBJS'
468
894
ac_subst_files=''
 
895
      ac_precious_vars='build_alias
 
896
host_alias
 
897
target_alias
 
898
CC
 
899
CFLAGS
 
900
LDFLAGS
 
901
LIBS
 
902
CPPFLAGS
 
903
CPP
 
904
CXX
 
905
CXXFLAGS
 
906
CCC
 
907
CXXCPP
 
908
F77
 
909
FFLAGS
 
910
PKG_CONFIG
 
911
XEVIE_CFLAGS
 
912
XEVIE_LIBS'
 
913
 
469
914
 
470
915
# Initialize some variables set by options.
471
916
ac_init_help=
492
937
# and all the variables that are supposed to be based on exec_prefix
493
938
# by default will actually change.
494
939
# Use braces instead of parens because sh, perl, etc. also accept them.
 
940
# (The list follows the same order as the GNU Coding Standards.)
495
941
bindir='${exec_prefix}/bin'
496
942
sbindir='${exec_prefix}/sbin'
497
943
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
944
datarootdir='${prefix}/share'
 
945
datadir='${datarootdir}'
499
946
sysconfdir='${prefix}/etc'
500
947
sharedstatedir='${prefix}/com'
501
948
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
949
includedir='${prefix}/include'
504
950
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
951
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
952
infodir='${datarootdir}/info'
 
953
htmldir='${docdir}'
 
954
dvidir='${docdir}'
 
955
pdfdir='${docdir}'
 
956
psdir='${docdir}'
 
957
libdir='${exec_prefix}/lib'
 
958
localedir='${datarootdir}/locale'
 
959
mandir='${datarootdir}/man'
507
960
 
508
961
ac_prev=
 
962
ac_dashdash=
509
963
for ac_option
510
964
do
511
965
  # If the previous option needs an argument, assign it.
512
966
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
967
    eval $ac_prev=\$ac_option
514
968
    ac_prev=
515
969
    continue
516
970
  fi
517
971
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
972
  case $ac_option in
 
973
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
974
  *)    ac_optarg=yes ;;
 
975
  esac
519
976
 
520
977
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
978
 
522
 
  case $ac_option in
 
979
  case $ac_dashdash$ac_option in
 
980
  --)
 
981
    ac_dashdash=yes ;;
523
982
 
524
983
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
984
    ac_prev=bindir ;;
541
1000
  --config-cache | -C)
542
1001
    cache_file=config.cache ;;
543
1002
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1003
  -datadir | --datadir | --datadi | --datad)
545
1004
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
1005
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
1006
    datadir=$ac_optarg ;;
549
1007
 
 
1008
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1009
  | --dataroo | --dataro | --datar)
 
1010
    ac_prev=datarootdir ;;
 
1011
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1012
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1013
    datarootdir=$ac_optarg ;;
 
1014
 
550
1015
  -disable-* | --disable-*)
551
1016
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1017
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1018
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554
1019
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1020
   { (exit 1); exit 1; }; }
556
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1021
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1022
    eval enable_$ac_feature=no ;;
 
1023
 
 
1024
  -docdir | --docdir | --docdi | --doc | --do)
 
1025
    ac_prev=docdir ;;
 
1026
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1027
    docdir=$ac_optarg ;;
 
1028
 
 
1029
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1030
    ac_prev=dvidir ;;
 
1031
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1032
    dvidir=$ac_optarg ;;
558
1033
 
559
1034
  -enable-* | --enable-*)
560
1035
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1036
    # Reject names that are not valid shell variable names.
562
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1037
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
563
1038
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1039
   { (exit 1); exit 1; }; }
565
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
569
 
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1040
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1041
    eval enable_$ac_feature=\$ac_optarg ;;
571
1042
 
572
1043
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1044
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1065
  -host=* | --host=* | --hos=* | --ho=*)
595
1066
    host_alias=$ac_optarg ;;
596
1067
 
 
1068
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1069
    ac_prev=htmldir ;;
 
1070
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1071
  | --ht=*)
 
1072
    htmldir=$ac_optarg ;;
 
1073
 
597
1074
  -includedir | --includedir | --includedi | --included | --include \
598
1075
  | --includ | --inclu | --incl | --inc)
599
1076
    ac_prev=includedir ;;
618
1095
  | --libexe=* | --libex=* | --libe=*)
619
1096
    libexecdir=$ac_optarg ;;
620
1097
 
 
1098
  -localedir | --localedir | --localedi | --localed | --locale)
 
1099
    ac_prev=localedir ;;
 
1100
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1101
    localedir=$ac_optarg ;;
 
1102
 
621
1103
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1104
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1105
    ac_prev=localstatedir ;;
625
1106
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1107
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1108
    localstatedir=$ac_optarg ;;
629
1109
 
630
1110
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1169
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1170
    program_transform_name=$ac_optarg ;;
691
1171
 
 
1172
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1173
    ac_prev=pdfdir ;;
 
1174
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1175
    pdfdir=$ac_optarg ;;
 
1176
 
 
1177
  -psdir | --psdir | --psdi | --psd | --ps)
 
1178
    ac_prev=psdir ;;
 
1179
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1180
    psdir=$ac_optarg ;;
 
1181
 
692
1182
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1183
  | -silent | --silent | --silen | --sile | --sil)
694
1184
    silent=yes ;;
741
1231
  -with-* | --with-*)
742
1232
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
1233
    # Reject names that are not valid shell variable names.
744
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1234
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745
1235
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1236
   { (exit 1); exit 1; }; }
747
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
751
 
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1237
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1238
    eval with_$ac_package=\$ac_optarg ;;
753
1239
 
754
1240
  -without-* | --without-*)
755
1241
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1242
    # Reject names that are not valid shell variable names.
757
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1243
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758
1244
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1245
   { (exit 1); exit 1; }; }
760
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1246
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1247
    eval with_$ac_package=no ;;
762
1248
 
763
1249
  --x)
764
1250
    # Obsolete; use --with-x.
789
1275
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1276
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1277
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1278
    eval $ac_envvar=\$ac_optarg
794
1279
    export $ac_envvar ;;
795
1280
 
796
1281
  *)
810
1295
   { (exit 1); exit 1; }; }
811
1296
fi
812
1297
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1298
# Be sure to have absolute directory names.
 
1299
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1300
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1301
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1302
                libdir localedir mandir
 
1303
do
 
1304
  eval ac_val=\$$ac_var
 
1305
  case $ac_val in
 
1306
    [\\/$]* | ?:[\\/]* )  continue;;
 
1307
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1308
  esac
 
1309
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1310
   { (exit 1); exit 1; }; }
834
1311
done
835
1312
 
836
1313
# There might be people who depend on the old broken behavior: `$host'
857
1334
test "$silent" = yes && exec 6>/dev/null
858
1335
 
859
1336
 
 
1337
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1338
ac_ls_di=`ls -di .` &&
 
1339
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1340
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1341
   { (exit 1); exit 1; }; }
 
1342
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1343
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1344
   { (exit 1); exit 1; }; }
 
1345
 
 
1346
 
860
1347
# Find the source files, if location was not specified.
861
1348
if test -z "$srcdir"; then
862
1349
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1350
  # Try the directory containing this script, then the parent directory.
 
1351
  ac_confdir=`$as_dirname -- "$0" ||
865
1352
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1353
         X"$0" : 'X\(//\)[^/]' \| \
867
1354
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1355
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1356
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1357
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1358
            s//\1/
 
1359
            q
 
1360
          }
 
1361
          /^X\(\/\/\)[^/].*/{
 
1362
            s//\1/
 
1363
            q
 
1364
          }
 
1365
          /^X\(\/\/\)$/{
 
1366
            s//\1/
 
1367
            q
 
1368
          }
 
1369
          /^X\(\/\).*/{
 
1370
            s//\1/
 
1371
            q
 
1372
          }
 
1373
          s/.*/./; q'`
876
1374
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1375
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1376
    srcdir=..
879
1377
  fi
880
1378
else
881
1379
  ac_srcdir_defaulted=no
882
1380
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CPP_set=${CPP+set}
925
 
ac_env_CPP_value=$CPP
926
 
ac_cv_env_CPP_set=${CPP+set}
927
 
ac_cv_env_CPP_value=$CPP
928
 
ac_env_CXX_set=${CXX+set}
929
 
ac_env_CXX_value=$CXX
930
 
ac_cv_env_CXX_set=${CXX+set}
931
 
ac_cv_env_CXX_value=$CXX
932
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
948
 
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
949
 
ac_env_PKG_CONFIG_value=$PKG_CONFIG
950
 
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
951
 
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
952
 
ac_env_XEVIE_CFLAGS_set=${XEVIE_CFLAGS+set}
953
 
ac_env_XEVIE_CFLAGS_value=$XEVIE_CFLAGS
954
 
ac_cv_env_XEVIE_CFLAGS_set=${XEVIE_CFLAGS+set}
955
 
ac_cv_env_XEVIE_CFLAGS_value=$XEVIE_CFLAGS
956
 
ac_env_XEVIE_LIBS_set=${XEVIE_LIBS+set}
957
 
ac_env_XEVIE_LIBS_value=$XEVIE_LIBS
958
 
ac_cv_env_XEVIE_LIBS_set=${XEVIE_LIBS+set}
959
 
ac_cv_env_XEVIE_LIBS_value=$XEVIE_LIBS
 
1381
if test ! -r "$srcdir/$ac_unique_file"; then
 
1382
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1383
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1384
   { (exit 1); exit 1; }; }
 
1385
fi
 
1386
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1387
ac_abs_confdir=`(
 
1388
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1389
   { (exit 1); exit 1; }; }
 
1390
        pwd)`
 
1391
# When building in place, set srcdir=.
 
1392
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1393
  srcdir=.
 
1394
fi
 
1395
# Remove unnecessary trailing slashes from srcdir.
 
1396
# Double slashes in file names in object file debugging info
 
1397
# mess up M-x gdb in Emacs.
 
1398
case $srcdir in
 
1399
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1400
esac
 
1401
for ac_var in $ac_precious_vars; do
 
1402
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1403
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1404
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1405
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1406
done
960
1407
 
961
1408
#
962
1409
# Report the --help message.
965
1412
  # Omit some internal or obsolete options to make the list less imposing.
966
1413
  # This message is too long to be a string in the A/UX 3.1 sh.
967
1414
  cat <<_ACEOF
968
 
\`configure' configures libXevie 1.0.1 to adapt to many kinds of systems.
 
1415
\`configure' configures libXevie 1.0.2 to adapt to many kinds of systems.
969
1416
 
970
1417
Usage: $0 [OPTION]... [VAR=VALUE]...
971
1418
 
985
1432
  -n, --no-create         do not create output files
986
1433
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
987
1434
 
988
 
_ACEOF
989
 
 
990
 
  cat <<_ACEOF
991
1435
Installation directories:
992
1436
  --prefix=PREFIX         install architecture-independent files in PREFIX
993
1437
                          [$ac_default_prefix]
1005
1449
  --bindir=DIR           user executables [EPREFIX/bin]
1006
1450
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1007
1451
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1008
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1009
1452
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1010
1453
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1011
1454
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1012
1455
  --libdir=DIR           object code libraries [EPREFIX/lib]
1013
1456
  --includedir=DIR       C header files [PREFIX/include]
1014
1457
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1015
 
  --infodir=DIR          info documentation [PREFIX/info]
1016
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1458
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1459
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1460
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1461
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1462
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1463
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libXevie]
 
1464
  --htmldir=DIR          html documentation [DOCDIR]
 
1465
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1466
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1467
  --psdir=DIR            ps documentation [DOCDIR]
1017
1468
_ACEOF
1018
1469
 
1019
1470
  cat <<\_ACEOF
1031
1482
 
1032
1483
if test -n "$ac_init_help"; then
1033
1484
  case $ac_init_help in
1034
 
     short | recursive ) echo "Configuration of libXevie 1.0.1:";;
 
1485
     short | recursive ) echo "Configuration of libXevie 1.0.2:";;
1035
1486
   esac
1036
1487
  cat <<\_ACEOF
1037
1488
 
1042
1493
                          (and sometimes confusing) to the casual installer
1043
1494
  --disable-dependency-tracking  speeds up one-time build
1044
1495
  --enable-dependency-tracking   do not reject slow dependency extractors
1045
 
  --enable-shared[=PKGS]
1046
 
                          build shared libraries [default=yes]
1047
 
  --enable-static[=PKGS]
1048
 
                          build static libraries [default=yes]
 
1496
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1497
  --enable-static[=PKGS]  build static libraries [default=yes]
1049
1498
  --enable-fast-install[=PKGS]
1050
1499
                          optimize for fast installation [default=yes]
1051
1500
  --disable-libtool-lock  avoid locking (might break parallel builds)
1058
1507
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1059
1508
  --with-pic              try to use only PIC/non-PIC objects [default=use
1060
1509
                          both]
1061
 
  --with-tags[=TAGS]
1062
 
                          include additional configurations [automatic]
 
1510
  --with-tags[=TAGS]      include additional configurations [automatic]
1063
1511
  --with-release-version=STRING
1064
1512
                          Use release version string in package name
1065
1513
 
1068
1516
  CFLAGS      C compiler flags
1069
1517
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1070
1518
              nonstandard directory <lib dir>
1071
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1072
 
              headers in a nonstandard directory <include dir>
 
1519
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1520
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1521
              you have headers in a nonstandard directory <include dir>
1073
1522
  CPP         C preprocessor
1074
1523
  CXX         C++ compiler command
1075
1524
  CXXFLAGS    C++ compiler flags
1086
1535
 
1087
1536
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1088
1537
_ACEOF
 
1538
ac_status=$?
1089
1539
fi
1090
1540
 
1091
1541
if test "$ac_init_help" = "recursive"; then
1092
1542
  # If there are subdirs, report their specific --help.
1093
 
  ac_popdir=`pwd`
1094
1543
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1095
 
    test -d $ac_dir || continue
 
1544
    test -d "$ac_dir" || continue
1096
1545
    ac_builddir=.
1097
1546
 
1098
 
if test "$ac_dir" != .; then
 
1547
case "$ac_dir" in
 
1548
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1549
*)
1099
1550
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1100
 
  # A "../" for each directory in $ac_dir_suffix.
1101
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1102
 
else
1103
 
  ac_dir_suffix= ac_top_builddir=
1104
 
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
1105
1562
 
1106
1563
case $srcdir in
1107
 
  .)  # No --srcdir option.  We are building in place.
 
1564
  .)  # We are building in place.
1108
1565
    ac_srcdir=.
1109
 
    if test -z "$ac_top_builddir"; then
1110
 
       ac_top_srcdir=.
1111
 
    else
1112
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1113
 
    fi ;;
1114
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1566
    ac_top_srcdir=$ac_top_builddir_sub
 
1567
    ac_abs_top_srcdir=$ac_pwd ;;
 
1568
  [\\/]* | ?:[\\/]* )  # Absolute name.
1115
1569
    ac_srcdir=$srcdir$ac_dir_suffix;
1116
 
    ac_top_srcdir=$srcdir ;;
1117
 
  *) # Relative path.
1118
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1119
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1120
 
esac
1121
 
 
1122
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1123
 
# the directories may not exist.
1124
 
case `pwd` in
1125
 
.) ac_abs_builddir="$ac_dir";;
1126
 
*)
1127
 
  case "$ac_dir" in
1128
 
  .) ac_abs_builddir=`pwd`;;
1129
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1130
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1131
 
  esac;;
1132
 
esac
1133
 
case $ac_abs_builddir in
1134
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1135
 
*)
1136
 
  case ${ac_top_builddir}. in
1137
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1138
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1139
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1140
 
  esac;;
1141
 
esac
1142
 
case $ac_abs_builddir in
1143
 
.) ac_abs_srcdir=$ac_srcdir;;
1144
 
*)
1145
 
  case $ac_srcdir in
1146
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1147
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1148
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1149
 
  esac;;
1150
 
esac
1151
 
case $ac_abs_builddir in
1152
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1153
 
*)
1154
 
  case $ac_top_srcdir in
1155
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1156
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1157
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1158
 
  esac;;
1159
 
esac
1160
 
 
1161
 
    cd $ac_dir
1162
 
    # Check for guested configure; otherwise get Cygnus style configure.
1163
 
    if test -f $ac_srcdir/configure.gnu; then
1164
 
      echo
1165
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1166
 
    elif test -f $ac_srcdir/configure; then
1167
 
      echo
1168
 
      $SHELL $ac_srcdir/configure  --help=recursive
1169
 
    elif test -f $ac_srcdir/configure.ac ||
1170
 
           test -f $ac_srcdir/configure.in; then
1171
 
      echo
1172
 
      $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
1173
1587
    else
1174
1588
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1175
 
    fi
1176
 
    cd $ac_popdir
 
1589
    fi || ac_status=$?
 
1590
    cd "$ac_pwd" || { ac_status=$?; break; }
1177
1591
  done
1178
1592
fi
1179
1593
 
1180
 
test -n "$ac_init_help" && exit 0
 
1594
test -n "$ac_init_help" && exit $ac_status
1181
1595
if $ac_init_version; then
1182
1596
  cat <<\_ACEOF
1183
 
libXevie configure 1.0.1
1184
 
generated by GNU Autoconf 2.59
 
1597
libXevie configure 1.0.2
 
1598
generated by GNU Autoconf 2.61
1185
1599
 
1186
 
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.
1187
1602
This configure script is free software; the Free Software Foundation
1188
1603
gives unlimited permission to copy, distribute and modify it.
1189
1604
_ACEOF
1190
 
  exit 0
 
1605
  exit
1191
1606
fi
1192
 
exec 5>config.log
1193
 
cat >&5 <<_ACEOF
 
1607
cat >config.log <<_ACEOF
1194
1608
This file contains any messages produced by compilers while
1195
1609
running configure, to aid debugging if configure makes a mistake.
1196
1610
 
1197
 
It was created by libXevie $as_me 1.0.1, which was
1198
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1611
It was created by libXevie $as_me 1.0.2, which was
 
1612
generated by GNU Autoconf 2.61.  Invocation command line was
1199
1613
 
1200
1614
  $ $0 $@
1201
1615
 
1202
1616
_ACEOF
 
1617
exec 5>>config.log
1203
1618
{
1204
1619
cat <<_ASUNAME
1205
1620
## --------- ##
1218
1633
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1219
1634
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1220
1635
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1221
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1636
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1222
1637
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1223
1638
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1224
1639
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1232
1647
  test -z "$as_dir" && as_dir=.
1233
1648
  echo "PATH: $as_dir"
1234
1649
done
 
1650
IFS=$as_save_IFS
1235
1651
 
1236
1652
} >&5
1237
1653
 
1253
1669
ac_configure_args=
1254
1670
ac_configure_args0=
1255
1671
ac_configure_args1=
1256
 
ac_sep=
1257
1672
ac_must_keep_next=false
1258
1673
for ac_pass in 1 2
1259
1674
do
1264
1679
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1265
1680
    | -silent | --silent | --silen | --sile | --sil)
1266
1681
      continue ;;
1267
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1682
    *\'*)
1268
1683
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1269
1684
    esac
1270
1685
    case $ac_pass in
1286
1701
          -* ) ac_must_keep_next=true ;;
1287
1702
        esac
1288
1703
      fi
1289
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1290
 
      # Get rid of the leading space.
1291
 
      ac_sep=" "
 
1704
      ac_configure_args="$ac_configure_args '$ac_arg'"
1292
1705
      ;;
1293
1706
    esac
1294
1707
  done
1299
1712
# When interrupted or exit'd, cleanup temporary files, and complete
1300
1713
# config.log.  We remove comments because anyway the quotes in there
1301
1714
# would cause problems or look ugly.
1302
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1303
 
# 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.
1304
1717
trap 'exit_status=$?
1305
1718
  # Save into config.log some information that might help in debugging.
1306
1719
  {
1313
1726
_ASBOX
1314
1727
    echo
1315
1728
    # The following way of writing the cache mishandles newlines in values,
1316
 
{
 
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
1317
1744
  (set) 2>&1 |
1318
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1319
 
    *ac_space=\ *)
 
1745
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1746
    *${as_nl}ac_space=\ *)
1320
1747
      sed -n \
1321
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1322
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1323
 
      ;;
 
1748
        "s/'\''/'\''\\\\'\'''\''/g;
 
1749
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1750
      ;; #(
1324
1751
    *)
1325
 
      sed -n \
1326
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1752
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1327
1753
      ;;
1328
 
    esac;
1329
 
}
 
1754
    esac |
 
1755
    sort
 
1756
)
1330
1757
    echo
1331
1758
 
1332
1759
    cat <<\_ASBOX
1337
1764
    echo
1338
1765
    for ac_var in $ac_subst_vars
1339
1766
    do
1340
 
      eval ac_val=$`echo $ac_var`
1341
 
      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'\''"
1342
1772
    done | sort
1343
1773
    echo
1344
1774
 
1345
1775
    if test -n "$ac_subst_files"; then
1346
1776
      cat <<\_ASBOX
1347
 
## ------------- ##
1348
 
## Output files. ##
1349
 
## ------------- ##
 
1777
## ------------------- ##
 
1778
## File substitutions. ##
 
1779
## ------------------- ##
1350
1780
_ASBOX
1351
1781
      echo
1352
1782
      for ac_var in $ac_subst_files
1353
1783
      do
1354
 
        eval ac_val=$`echo $ac_var`
1355
 
        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'\''"
1356
1789
      done | sort
1357
1790
      echo
1358
1791
    fi
1364
1797
## ----------- ##
1365
1798
_ASBOX
1366
1799
      echo
1367
 
      sed "/^$/d" confdefs.h | sort
 
1800
      cat confdefs.h
1368
1801
      echo
1369
1802
    fi
1370
1803
    test "$ac_signal" != 0 &&
1371
1804
      echo "$as_me: caught signal $ac_signal"
1372
1805
    echo "$as_me: exit $exit_status"
1373
1806
  } >&5
1374
 
  rm -f core *.core &&
1375
 
  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 &&
1376
1809
    exit $exit_status
1377
 
     ' 0
 
1810
' 0
1378
1811
for ac_signal in 1 2 13 15; do
1379
1812
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1380
1813
done
1381
1814
ac_signal=0
1382
1815
 
1383
1816
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1384
 
rm -rf conftest* confdefs.h
1385
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1386
 
echo >confdefs.h
 
1817
rm -f -r conftest* confdefs.h
1387
1818
 
1388
1819
# Predefined preprocessor variables.
1389
1820
 
1414
1845
 
1415
1846
# Let the site file select an alternate cache file if it wants to.
1416
1847
# Prefer explicitly selected file to automatically selected ones.
1417
 
if test -z "$CONFIG_SITE"; then
1418
 
  if test "x$prefix" != xNONE; then
1419
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1420
 
  else
1421
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1422
 
  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"
1423
1855
fi
1424
 
for ac_site_file in $CONFIG_SITE; do
 
1856
shift
 
1857
for ac_site_file
 
1858
do
1425
1859
  if test -r "$ac_site_file"; then
1426
1860
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1427
1861
echo "$as_me: loading site script $ac_site_file" >&6;}
1437
1871
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1438
1872
echo "$as_me: loading cache $cache_file" >&6;}
1439
1873
    case $cache_file in
1440
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1441
 
      *)                      . ./$cache_file;;
 
1874
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1875
      *)                      . "./$cache_file";;
1442
1876
    esac
1443
1877
  fi
1444
1878
else
1450
1884
# Check that the precious variables saved in the cache have kept the same
1451
1885
# value.
1452
1886
ac_cache_corrupted=false
1453
 
for ac_var in `(set) 2>&1 |
1454
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1887
for ac_var in $ac_precious_vars; do
1455
1888
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1456
1889
  eval ac_new_set=\$ac_env_${ac_var}_set
1457
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1458
 
  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
1459
1892
  case $ac_old_set,$ac_new_set in
1460
1893
    set,)
1461
1894
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480
1913
  # Pass precious variables to config.status.
1481
1914
  if test "$ac_new_set" = set; then
1482
1915
    case $ac_new_val in
1483
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1484
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1916
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1485
1917
    *) ac_arg=$ac_var=$ac_new_val ;;
1486
1918
    esac
1487
1919
    case " $ac_configure_args " in
1498
1930
   { (exit 1); exit 1; }; }
1499
1931
fi
1500
1932
 
 
1933
 
 
1934
 
 
1935
 
 
1936
 
 
1937
 
 
1938
 
 
1939
 
 
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
1501
1957
ac_ext=c
1502
1958
ac_cpp='$CPP $CPPFLAGS'
1503
1959
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1505
1961
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1506
1962
 
1507
1963
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
 
1529
 
 
1530
 
 
1531
 
 
1532
 
 
1533
1964
am__api_version="1.9"
1534
1965
ac_aux_dir=
1535
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1536
 
  if test -f $ac_dir/install-sh; then
 
1966
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1967
  if test -f "$ac_dir/install-sh"; then
1537
1968
    ac_aux_dir=$ac_dir
1538
1969
    ac_install_sh="$ac_aux_dir/install-sh -c"
1539
1970
    break
1540
 
  elif test -f $ac_dir/install.sh; then
 
1971
  elif test -f "$ac_dir/install.sh"; then
1541
1972
    ac_aux_dir=$ac_dir
1542
1973
    ac_install_sh="$ac_aux_dir/install.sh -c"
1543
1974
    break
1544
 
  elif test -f $ac_dir/shtool; then
 
1975
  elif test -f "$ac_dir/shtool"; then
1545
1976
    ac_aux_dir=$ac_dir
1546
1977
    ac_install_sh="$ac_aux_dir/shtool install -c"
1547
1978
    break
1548
1979
  fi
1549
1980
done
1550
1981
if test -z "$ac_aux_dir"; then
1551
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1552
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1982
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1983
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1553
1984
   { (exit 1); exit 1; }; }
1554
1985
fi
1555
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1556
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1557
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1986
 
 
1987
# These three variables are undocumented and unsupported,
 
1988
# and are intended to be withdrawn in a future Autoconf release.
 
1989
# They can cause serious problems if a builder's source tree is in a directory
 
1990
# whose full name contains unusual characters.
 
1991
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1992
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1993
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1994
 
1558
1995
 
1559
1996
# Find a good install program.  We prefer a C program (faster),
1560
1997
# so one script is as good as another.  But avoid the broken or
1569
2006
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1570
2007
# OS/2's system install, which has a completely different semantic
1571
2008
# ./install, which can be erroneously created by make from ./install.sh.
1572
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1573
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2009
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2010
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1574
2011
if test -z "$INSTALL"; then
1575
2012
if test "${ac_cv_path_install+set}" = set; then
1576
2013
  echo $ECHO_N "(cached) $ECHO_C" >&6
1592
2029
    # by default.
1593
2030
    for ac_prog in ginstall scoinst install; do
1594
2031
      for ac_exec_ext in '' $ac_executable_extensions; do
1595
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2032
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1596
2033
          if test $ac_prog = install &&
1597
2034
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1598
2035
            # AIX install.  It has an incompatible calling convention.
1611
2048
    ;;
1612
2049
esac
1613
2050
done
 
2051
IFS=$as_save_IFS
1614
2052
 
1615
2053
 
1616
2054
fi
1617
2055
  if test "${ac_cv_path_install+set}" = set; then
1618
2056
    INSTALL=$ac_cv_path_install
1619
2057
  else
1620
 
    # As a last resort, use the slow shell script.  We don't cache a
1621
 
    # path for INSTALL within a source directory, because that will
 
2058
    # As a last resort, use the slow shell script.  Don't cache a
 
2059
    # value for INSTALL within a source directory, because that will
1622
2060
    # break other packages using the cache if that directory is
1623
 
    # removed, or if the path is relative.
 
2061
    # removed, or if the value is a relative name.
1624
2062
    INSTALL=$ac_install_sh
1625
2063
  fi
1626
2064
fi
1627
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1628
 
echo "${ECHO_T}$INSTALL" >&6
 
2065
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2066
echo "${ECHO_T}$INSTALL" >&6; }
1629
2067
 
1630
2068
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1631
2069
# It thinks the first close brace ends the variable substitution.
1635
2073
 
1636
2074
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1637
2075
 
1638
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1639
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2076
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2077
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1640
2078
# Just in case
1641
2079
sleep 1
1642
2080
echo timestamp > conftest.file
1678
2116
Check your system clock" >&2;}
1679
2117
   { (exit 1); exit 1; }; }
1680
2118
fi
1681
 
echo "$as_me:$LINENO: result: yes" >&5
1682
 
echo "${ECHO_T}yes" >&6
 
2119
{ echo "$as_me:$LINENO: result: yes" >&5
 
2120
echo "${ECHO_T}yes" >&6; }
1683
2121
test "$program_prefix" != NONE &&
1684
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2122
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1685
2123
# Use a double $ so make ignores it.
1686
2124
test "$program_suffix" != NONE &&
1687
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2125
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1688
2126
# Double any \ or $.  echo might interpret backslashes.
1689
2127
# By default was `s,x,x', remove it if useless.
1690
2128
cat <<\_ACEOF >conftest.sed
1691
2129
s/[\\$]/&&/g;s/;s,x,x,$//
1692
2130
_ACEOF
1693
2131
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694
 
rm conftest.sed
 
2132
rm -f conftest.sed
1695
2133
 
1696
2134
# expand $ac_aux_dir to an absolute path
1697
2135
am_aux_dir=`cd $ac_aux_dir && pwd`
1743
2181
do
1744
2182
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1745
2183
set dummy $ac_prog; ac_word=$2
1746
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1747
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2184
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2185
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1748
2186
if test "${ac_cv_prog_AWK+set}" = set; then
1749
2187
  echo $ECHO_N "(cached) $ECHO_C" >&6
1750
2188
else
1757
2195
  IFS=$as_save_IFS
1758
2196
  test -z "$as_dir" && as_dir=.
1759
2197
  for ac_exec_ext in '' $ac_executable_extensions; do
1760
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1761
2199
    ac_cv_prog_AWK="$ac_prog"
1762
2200
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763
2201
    break 2
1764
2202
  fi
1765
2203
done
1766
2204
done
 
2205
IFS=$as_save_IFS
1767
2206
 
1768
2207
fi
1769
2208
fi
1770
2209
AWK=$ac_cv_prog_AWK
1771
2210
if test -n "$AWK"; then
1772
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1773
 
echo "${ECHO_T}$AWK" >&6
 
2211
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2212
echo "${ECHO_T}$AWK" >&6; }
1774
2213
else
1775
 
  echo "$as_me:$LINENO: result: no" >&5
1776
 
echo "${ECHO_T}no" >&6
 
2214
  { echo "$as_me:$LINENO: result: no" >&5
 
2215
echo "${ECHO_T}no" >&6; }
1777
2216
fi
1778
2217
 
 
2218
 
1779
2219
  test -n "$AWK" && break
1780
2220
done
1781
2221
 
1782
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1783
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1784
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1785
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2222
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2223
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2224
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2225
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1786
2226
  echo $ECHO_N "(cached) $ECHO_C" >&6
1787
2227
else
1788
2228
  cat >conftest.make <<\_ACEOF
 
2229
SHELL = /bin/sh
1789
2230
all:
1790
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2231
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1791
2232
_ACEOF
1792
2233
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1793
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1794
 
if test -n "$ac_maketemp"; then
1795
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1796
 
else
1797
 
  eval ac_cv_prog_make_${ac_make}_set=no
1798
 
fi
 
2234
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2235
  *@@@%%%=?*=@@@%%%*)
 
2236
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2237
  *)
 
2238
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2239
esac
1799
2240
rm -f conftest.make
1800
2241
fi
1801
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1802
 
  echo "$as_me:$LINENO: result: yes" >&5
1803
 
echo "${ECHO_T}yes" >&6
 
2242
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2243
  { echo "$as_me:$LINENO: result: yes" >&5
 
2244
echo "${ECHO_T}yes" >&6; }
1804
2245
  SET_MAKE=
1805
2246
else
1806
 
  echo "$as_me:$LINENO: result: no" >&5
1807
 
echo "${ECHO_T}no" >&6
 
2247
  { echo "$as_me:$LINENO: result: no" >&5
 
2248
echo "${ECHO_T}no" >&6; }
1808
2249
  SET_MAKE="MAKE=${MAKE-make}"
1809
2250
fi
1810
2251
 
1837
2278
 
1838
2279
# Define the identity of the package.
1839
2280
 PACKAGE='libXevie'
1840
 
 VERSION='1.0.1'
 
2281
 VERSION='1.0.2'
1841
2282
 
1842
2283
 
1843
2284
cat >>confdefs.h <<_ACEOF
1875
2316
  if test -n "$ac_tool_prefix"; then
1876
2317
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1877
2318
set dummy ${ac_tool_prefix}strip; ac_word=$2
1878
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1879
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2319
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2320
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1880
2321
if test "${ac_cv_prog_STRIP+set}" = set; then
1881
2322
  echo $ECHO_N "(cached) $ECHO_C" >&6
1882
2323
else
1889
2330
  IFS=$as_save_IFS
1890
2331
  test -z "$as_dir" && as_dir=.
1891
2332
  for ac_exec_ext in '' $ac_executable_extensions; do
1892
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2333
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1893
2334
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1894
2335
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895
2336
    break 2
1896
2337
  fi
1897
2338
done
1898
2339
done
 
2340
IFS=$as_save_IFS
1899
2341
 
1900
2342
fi
1901
2343
fi
1902
2344
STRIP=$ac_cv_prog_STRIP
1903
2345
if test -n "$STRIP"; then
1904
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1905
 
echo "${ECHO_T}$STRIP" >&6
 
2346
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2347
echo "${ECHO_T}$STRIP" >&6; }
1906
2348
else
1907
 
  echo "$as_me:$LINENO: result: no" >&5
1908
 
echo "${ECHO_T}no" >&6
 
2349
  { echo "$as_me:$LINENO: result: no" >&5
 
2350
echo "${ECHO_T}no" >&6; }
1909
2351
fi
 
2352
 
1910
2353
 
1911
2354
fi
1912
2355
if test -z "$ac_cv_prog_STRIP"; then
1913
2356
  ac_ct_STRIP=$STRIP
1914
2357
  # Extract the first word of "strip", so it can be a program name with args.
1915
2358
set dummy strip; ac_word=$2
1916
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1917
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2359
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2360
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1918
2361
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1919
2362
  echo $ECHO_N "(cached) $ECHO_C" >&6
1920
2363
else
1927
2370
  IFS=$as_save_IFS
1928
2371
  test -z "$as_dir" && as_dir=.
1929
2372
  for ac_exec_ext in '' $ac_executable_extensions; do
1930
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2373
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1931
2374
    ac_cv_prog_ac_ct_STRIP="strip"
1932
2375
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933
2376
    break 2
1934
2377
  fi
1935
2378
done
1936
2379
done
 
2380
IFS=$as_save_IFS
1937
2381
 
1938
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1939
2382
fi
1940
2383
fi
1941
2384
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1942
2385
if test -n "$ac_ct_STRIP"; then
1943
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1944
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2386
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2387
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1945
2388
else
1946
 
  echo "$as_me:$LINENO: result: no" >&5
1947
 
echo "${ECHO_T}no" >&6
 
2389
  { echo "$as_me:$LINENO: result: no" >&5
 
2390
echo "${ECHO_T}no" >&6; }
1948
2391
fi
1949
2392
 
1950
 
  STRIP=$ac_ct_STRIP
 
2393
  if test "x$ac_ct_STRIP" = x; then
 
2394
    STRIP=":"
 
2395
  else
 
2396
    case $cross_compiling:$ac_tool_warned in
 
2397
yes:)
 
2398
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2399
whose name does not start with the host triplet.  If you think this
 
2400
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2401
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2402
whose name does not start with the host triplet.  If you think this
 
2403
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2404
ac_tool_warned=yes ;;
 
2405
esac
 
2406
    STRIP=$ac_ct_STRIP
 
2407
  fi
1951
2408
else
1952
2409
  STRIP="$ac_cv_prog_STRIP"
1953
2410
fi
1967
2424
 
1968
2425
 
1969
2426
 
1970
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1971
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1972
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2427
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2428
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2429
    # Check whether --enable-maintainer-mode was given.
1973
2430
if test "${enable_maintainer_mode+set}" = set; then
1974
 
  enableval="$enable_maintainer_mode"
1975
 
  USE_MAINTAINER_MODE=$enableval
 
2431
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1976
2432
else
1977
2433
  USE_MAINTAINER_MODE=no
1978
 
fi;
1979
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1980
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2434
fi
 
2435
 
 
2436
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2437
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1981
2438
 
1982
2439
 
1983
2440
if test $USE_MAINTAINER_MODE = yes; then
1992
2449
 
1993
2450
 
1994
2451
 
1995
 
          ac_config_headers="$ac_config_headers config.h"
 
2452
ac_config_headers="$ac_config_headers config.h"
1996
2453
 
1997
2454
 
1998
2455
# Check for progs
2004
2461
if test -n "$ac_tool_prefix"; then
2005
2462
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2006
2463
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2007
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2008
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2464
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2465
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2009
2466
if test "${ac_cv_prog_CC+set}" = set; then
2010
2467
  echo $ECHO_N "(cached) $ECHO_C" >&6
2011
2468
else
2018
2475
  IFS=$as_save_IFS
2019
2476
  test -z "$as_dir" && as_dir=.
2020
2477
  for ac_exec_ext in '' $ac_executable_extensions; do
2021
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2478
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2022
2479
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2023
2480
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024
2481
    break 2
2025
2482
  fi
2026
2483
done
2027
2484
done
 
2485
IFS=$as_save_IFS
2028
2486
 
2029
2487
fi
2030
2488
fi
2031
2489
CC=$ac_cv_prog_CC
2032
2490
if test -n "$CC"; then
2033
 
  echo "$as_me:$LINENO: result: $CC" >&5
2034
 
echo "${ECHO_T}$CC" >&6
 
2491
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2492
echo "${ECHO_T}$CC" >&6; }
2035
2493
else
2036
 
  echo "$as_me:$LINENO: result: no" >&5
2037
 
echo "${ECHO_T}no" >&6
 
2494
  { echo "$as_me:$LINENO: result: no" >&5
 
2495
echo "${ECHO_T}no" >&6; }
2038
2496
fi
 
2497
 
2039
2498
 
2040
2499
fi
2041
2500
if test -z "$ac_cv_prog_CC"; then
2042
2501
  ac_ct_CC=$CC
2043
2502
  # Extract the first word of "gcc", so it can be a program name with args.
2044
2503
set dummy gcc; ac_word=$2
2045
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2046
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2504
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2505
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2047
2506
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2048
2507
  echo $ECHO_N "(cached) $ECHO_C" >&6
2049
2508
else
2056
2515
  IFS=$as_save_IFS
2057
2516
  test -z "$as_dir" && as_dir=.
2058
2517
  for ac_exec_ext in '' $ac_executable_extensions; do
2059
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2518
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060
2519
    ac_cv_prog_ac_ct_CC="gcc"
2061
2520
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062
2521
    break 2
2063
2522
  fi
2064
2523
done
2065
2524
done
 
2525
IFS=$as_save_IFS
2066
2526
 
2067
2527
fi
2068
2528
fi
2069
2529
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2070
2530
if test -n "$ac_ct_CC"; then
2071
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2072
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2531
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2532
echo "${ECHO_T}$ac_ct_CC" >&6; }
2073
2533
else
2074
 
  echo "$as_me:$LINENO: result: no" >&5
2075
 
echo "${ECHO_T}no" >&6
 
2534
  { echo "$as_me:$LINENO: result: no" >&5
 
2535
echo "${ECHO_T}no" >&6; }
2076
2536
fi
2077
2537
 
2078
 
  CC=$ac_ct_CC
 
2538
  if test "x$ac_ct_CC" = x; then
 
2539
    CC=""
 
2540
  else
 
2541
    case $cross_compiling:$ac_tool_warned in
 
2542
yes:)
 
2543
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2544
whose name does not start with the host triplet.  If you think this
 
2545
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2546
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2547
whose name does not start with the host triplet.  If you think this
 
2548
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2549
ac_tool_warned=yes ;;
 
2550
esac
 
2551
    CC=$ac_ct_CC
 
2552
  fi
2079
2553
else
2080
2554
  CC="$ac_cv_prog_CC"
2081
2555
fi
2082
2556
 
2083
2557
if test -z "$CC"; then
2084
 
  if test -n "$ac_tool_prefix"; then
2085
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2558
          if test -n "$ac_tool_prefix"; then
 
2559
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2086
2560
set dummy ${ac_tool_prefix}cc; ac_word=$2
2087
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2561
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2562
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089
2563
if test "${ac_cv_prog_CC+set}" = set; then
2090
2564
  echo $ECHO_N "(cached) $ECHO_C" >&6
2091
2565
else
2098
2572
  IFS=$as_save_IFS
2099
2573
  test -z "$as_dir" && as_dir=.
2100
2574
  for ac_exec_ext in '' $ac_executable_extensions; do
2101
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2575
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102
2576
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2103
2577
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104
2578
    break 2
2105
2579
  fi
2106
2580
done
2107
2581
done
 
2582
IFS=$as_save_IFS
2108
2583
 
2109
2584
fi
2110
2585
fi
2111
2586
CC=$ac_cv_prog_CC
2112
2587
if test -n "$CC"; then
2113
 
  echo "$as_me:$LINENO: result: $CC" >&5
2114
 
echo "${ECHO_T}$CC" >&6
2115
 
else
2116
 
  echo "$as_me:$LINENO: result: no" >&5
2117
 
echo "${ECHO_T}no" >&6
2118
 
fi
2119
 
 
2120
 
fi
2121
 
if test -z "$ac_cv_prog_CC"; then
2122
 
  ac_ct_CC=$CC
2123
 
  # Extract the first word of "cc", so it can be a program name with args.
2124
 
set dummy cc; ac_word=$2
2125
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2126
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2127
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2129
 
else
2130
 
  if test -n "$ac_ct_CC"; then
2131
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2132
 
else
2133
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134
 
for as_dir in $PATH
2135
 
do
2136
 
  IFS=$as_save_IFS
2137
 
  test -z "$as_dir" && as_dir=.
2138
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2139
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2140
 
    ac_cv_prog_ac_ct_CC="cc"
2141
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142
 
    break 2
 
2588
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2589
echo "${ECHO_T}$CC" >&6; }
 
2590
else
 
2591
  { echo "$as_me:$LINENO: result: no" >&5
 
2592
echo "${ECHO_T}no" >&6; }
 
2593
fi
 
2594
 
 
2595
 
2143
2596
  fi
2144
 
done
2145
 
done
2146
 
 
2147
 
fi
2148
 
fi
2149
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2150
 
if test -n "$ac_ct_CC"; then
2151
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2152
 
echo "${ECHO_T}$ac_ct_CC" >&6
2153
 
else
2154
 
  echo "$as_me:$LINENO: result: no" >&5
2155
 
echo "${ECHO_T}no" >&6
2156
 
fi
2157
 
 
2158
 
  CC=$ac_ct_CC
2159
 
else
2160
 
  CC="$ac_cv_prog_CC"
2161
 
fi
2162
 
 
2163
2597
fi
2164
2598
if test -z "$CC"; then
2165
2599
  # Extract the first word of "cc", so it can be a program name with args.
2166
2600
set dummy cc; ac_word=$2
2167
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2168
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2601
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2602
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169
2603
if test "${ac_cv_prog_CC+set}" = set; then
2170
2604
  echo $ECHO_N "(cached) $ECHO_C" >&6
2171
2605
else
2179
2613
  IFS=$as_save_IFS
2180
2614
  test -z "$as_dir" && as_dir=.
2181
2615
  for ac_exec_ext in '' $ac_executable_extensions; do
2182
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2616
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183
2617
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184
2618
       ac_prog_rejected=yes
2185
2619
       continue
2190
2624
  fi
2191
2625
done
2192
2626
done
 
2627
IFS=$as_save_IFS
2193
2628
 
2194
2629
if test $ac_prog_rejected = yes; then
2195
2630
  # We found a bogon in the path, so make sure we never use it.
2207
2642
fi
2208
2643
CC=$ac_cv_prog_CC
2209
2644
if test -n "$CC"; then
2210
 
  echo "$as_me:$LINENO: result: $CC" >&5
2211
 
echo "${ECHO_T}$CC" >&6
 
2645
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2646
echo "${ECHO_T}$CC" >&6; }
2212
2647
else
2213
 
  echo "$as_me:$LINENO: result: no" >&5
2214
 
echo "${ECHO_T}no" >&6
 
2648
  { echo "$as_me:$LINENO: result: no" >&5
 
2649
echo "${ECHO_T}no" >&6; }
2215
2650
fi
 
2651
 
2216
2652
 
2217
2653
fi
2218
2654
if test -z "$CC"; then
2219
2655
  if test -n "$ac_tool_prefix"; then
2220
 
  for ac_prog in cl
 
2656
  for ac_prog in cl.exe
2221
2657
  do
2222
2658
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2223
2659
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2224
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2225
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2660
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2661
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2226
2662
if test "${ac_cv_prog_CC+set}" = set; then
2227
2663
  echo $ECHO_N "(cached) $ECHO_C" >&6
2228
2664
else
2235
2671
  IFS=$as_save_IFS
2236
2672
  test -z "$as_dir" && as_dir=.
2237
2673
  for ac_exec_ext in '' $ac_executable_extensions; do
2238
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2239
2675
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2240
2676
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241
2677
    break 2
2242
2678
  fi
2243
2679
done
2244
2680
done
 
2681
IFS=$as_save_IFS
2245
2682
 
2246
2683
fi
2247
2684
fi
2248
2685
CC=$ac_cv_prog_CC
2249
2686
if test -n "$CC"; then
2250
 
  echo "$as_me:$LINENO: result: $CC" >&5
2251
 
echo "${ECHO_T}$CC" >&6
 
2687
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2688
echo "${ECHO_T}$CC" >&6; }
2252
2689
else
2253
 
  echo "$as_me:$LINENO: result: no" >&5
2254
 
echo "${ECHO_T}no" >&6
 
2690
  { echo "$as_me:$LINENO: result: no" >&5
 
2691
echo "${ECHO_T}no" >&6; }
2255
2692
fi
2256
2693
 
 
2694
 
2257
2695
    test -n "$CC" && break
2258
2696
  done
2259
2697
fi
2260
2698
if test -z "$CC"; then
2261
2699
  ac_ct_CC=$CC
2262
 
  for ac_prog in cl
 
2700
  for ac_prog in cl.exe
2263
2701
do
2264
2702
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2265
2703
set dummy $ac_prog; ac_word=$2
2266
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2267
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2704
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2705
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2268
2706
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2269
2707
  echo $ECHO_N "(cached) $ECHO_C" >&6
2270
2708
else
2277
2715
  IFS=$as_save_IFS
2278
2716
  test -z "$as_dir" && as_dir=.
2279
2717
  for ac_exec_ext in '' $ac_executable_extensions; do
2280
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281
2719
    ac_cv_prog_ac_ct_CC="$ac_prog"
2282
2720
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283
2721
    break 2
2284
2722
  fi
2285
2723
done
2286
2724
done
 
2725
IFS=$as_save_IFS
2287
2726
 
2288
2727
fi
2289
2728
fi
2290
2729
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2291
2730
if test -n "$ac_ct_CC"; then
2292
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2293
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2731
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2732
echo "${ECHO_T}$ac_ct_CC" >&6; }
2294
2733
else
2295
 
  echo "$as_me:$LINENO: result: no" >&5
2296
 
echo "${ECHO_T}no" >&6
 
2734
  { echo "$as_me:$LINENO: result: no" >&5
 
2735
echo "${ECHO_T}no" >&6; }
2297
2736
fi
2298
2737
 
 
2738
 
2299
2739
  test -n "$ac_ct_CC" && break
2300
2740
done
2301
2741
 
2302
 
  CC=$ac_ct_CC
 
2742
  if test "x$ac_ct_CC" = x; then
 
2743
    CC=""
 
2744
  else
 
2745
    case $cross_compiling:$ac_tool_warned in
 
2746
yes:)
 
2747
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2748
whose name does not start with the host triplet.  If you think this
 
2749
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2750
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2751
whose name does not start with the host triplet.  If you think this
 
2752
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2753
ac_tool_warned=yes ;;
 
2754
esac
 
2755
    CC=$ac_ct_CC
 
2756
  fi
2303
2757
fi
2304
2758
 
2305
2759
fi
2312
2766
   { (exit 1); exit 1; }; }
2313
2767
 
2314
2768
# Provide some information about the compiler.
2315
 
echo "$as_me:$LINENO:" \
2316
 
     "checking for C compiler version" >&5
 
2769
echo "$as_me:$LINENO: checking for C compiler version" >&5
2317
2770
ac_compiler=`set X $ac_compile; echo $2`
2318
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2319
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2320
 
  ac_status=$?
2321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322
 
  (exit $ac_status); }
2323
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2324
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2325
 
  ac_status=$?
2326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327
 
  (exit $ac_status); }
2328
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2329
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2771
{ (ac_try="$ac_compiler --version >&5"
 
2772
case "(($ac_try" in
 
2773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2774
  *) ac_try_echo=$ac_try;;
 
2775
esac
 
2776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2777
  (eval "$ac_compiler --version >&5") 2>&5
 
2778
  ac_status=$?
 
2779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2780
  (exit $ac_status); }
 
2781
{ (ac_try="$ac_compiler -v >&5"
 
2782
case "(($ac_try" in
 
2783
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2784
  *) ac_try_echo=$ac_try;;
 
2785
esac
 
2786
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2787
  (eval "$ac_compiler -v >&5") 2>&5
 
2788
  ac_status=$?
 
2789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2790
  (exit $ac_status); }
 
2791
{ (ac_try="$ac_compiler -V >&5"
 
2792
case "(($ac_try" in
 
2793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2794
  *) ac_try_echo=$ac_try;;
 
2795
esac
 
2796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2797
  (eval "$ac_compiler -V >&5") 2>&5
2330
2798
  ac_status=$?
2331
2799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332
2800
  (exit $ac_status); }
2351
2819
# Try to create an executable without -o first, disregard a.out.
2352
2820
# It will help us diagnose broken compilers, and finding out an intuition
2353
2821
# of exeext.
2354
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2355
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2822
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2823
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2356
2824
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2357
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2358
 
  (eval $ac_link_default) 2>&5
 
2825
#
 
2826
# List of possible output files, starting from the most likely.
 
2827
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2828
# only as a last resort.  b.out is created by i960 compilers.
 
2829
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2830
#
 
2831
# The IRIX 6 linker writes into existing files which may not be
 
2832
# executable, retaining their permissions.  Remove them first so a
 
2833
# subsequent execution test works.
 
2834
ac_rmfiles=
 
2835
for ac_file in $ac_files
 
2836
do
 
2837
  case $ac_file in
 
2838
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2839
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2840
  esac
 
2841
done
 
2842
rm -f $ac_rmfiles
 
2843
 
 
2844
if { (ac_try="$ac_link_default"
 
2845
case "(($ac_try" in
 
2846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2847
  *) ac_try_echo=$ac_try;;
 
2848
esac
 
2849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2850
  (eval "$ac_link_default") 2>&5
2359
2851
  ac_status=$?
2360
2852
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
2853
  (exit $ac_status); }; then
2362
 
  # Find the output, starting from the most likely.  This scheme is
2363
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2364
 
# resort.
2365
 
 
2366
 
# Be careful to initialize this variable, since it used to be cached.
2367
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2368
 
ac_cv_exeext=
2369
 
# b.out is created by i960 compilers.
2370
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2854
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2855
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2856
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2857
# so that the user can short-circuit this test for compilers unknown to
 
2858
# Autoconf.
 
2859
for ac_file in $ac_files ''
2371
2860
do
2372
2861
  test -f "$ac_file" || continue
2373
2862
  case $ac_file in
2374
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2375
 
        ;;
2376
 
    conftest.$ac_ext )
2377
 
        # This is the source file.
 
2863
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2378
2864
        ;;
2379
2865
    [ab].out )
2380
2866
        # We found the default executable, but exeext='' is most
2381
2867
        # certainly right.
2382
2868
        break;;
2383
2869
    *.* )
2384
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2385
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2386
 
        # but it would be cool to find out if it's true.  Does anybody
2387
 
        # maintain Libtool? --akim.
2388
 
        export ac_cv_exeext
 
2870
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2871
        then :; else
 
2872
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2873
        fi
 
2874
        # We set ac_cv_exeext here because the later test for it is not
 
2875
        # safe: cross compilers may not add the suffix if given an `-o'
 
2876
        # argument, so we may need to know it at that point already.
 
2877
        # Even if this section looks crufty: it has the advantage of
 
2878
        # actually working.
2389
2879
        break;;
2390
2880
    * )
2391
2881
        break;;
2392
2882
  esac
2393
2883
done
 
2884
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2885
 
2394
2886
else
 
2887
  ac_file=''
 
2888
fi
 
2889
 
 
2890
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2891
echo "${ECHO_T}$ac_file" >&6; }
 
2892
if test -z "$ac_file"; then
2395
2893
  echo "$as_me: failed program was:" >&5
2396
2894
sed 's/^/| /' conftest.$ac_ext >&5
2397
2895
 
2403
2901
fi
2404
2902
 
2405
2903
ac_exeext=$ac_cv_exeext
2406
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2407
 
echo "${ECHO_T}$ac_file" >&6
2408
2904
 
2409
 
# Check the compiler produces executables we can run.  If not, either
 
2905
# Check that the compiler produces executables we can run.  If not, either
2410
2906
# the compiler is broken, or we cross compile.
2411
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2412
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2907
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2908
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2413
2909
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2414
2910
# If not cross compiling, check that we can run a simple program.
2415
2911
if test "$cross_compiling" != yes; then
2416
2912
  if { ac_try='./$ac_file'
2417
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418
 
  (eval $ac_try) 2>&5
 
2913
  { (case "(($ac_try" in
 
2914
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2915
  *) ac_try_echo=$ac_try;;
 
2916
esac
 
2917
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2918
  (eval "$ac_try") 2>&5
2419
2919
  ac_status=$?
2420
2920
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
2921
  (exit $ac_status); }; }; then
2434
2934
    fi
2435
2935
  fi
2436
2936
fi
2437
 
echo "$as_me:$LINENO: result: yes" >&5
2438
 
echo "${ECHO_T}yes" >&6
 
2937
{ echo "$as_me:$LINENO: result: yes" >&5
 
2938
echo "${ECHO_T}yes" >&6; }
2439
2939
 
2440
2940
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2441
2941
ac_clean_files=$ac_clean_files_save
2442
 
# Check the compiler produces executables we can run.  If not, either
 
2942
# Check that the compiler produces executables we can run.  If not, either
2443
2943
# the compiler is broken, or we cross compile.
2444
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2445
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2446
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2447
 
echo "${ECHO_T}$cross_compiling" >&6
 
2944
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2945
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2946
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2947
echo "${ECHO_T}$cross_compiling" >&6; }
2448
2948
 
2449
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2450
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2451
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2452
 
  (eval $ac_link) 2>&5
 
2949
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2950
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2951
if { (ac_try="$ac_link"
 
2952
case "(($ac_try" in
 
2953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2954
  *) ac_try_echo=$ac_try;;
 
2955
esac
 
2956
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2957
  (eval "$ac_link") 2>&5
2453
2958
  ac_status=$?
2454
2959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455
2960
  (exit $ac_status); }; then
2460
2965
for ac_file in conftest.exe conftest conftest.*; do
2461
2966
  test -f "$ac_file" || continue
2462
2967
  case $ac_file in
2463
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2968
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2464
2969
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2465
 
          export ac_cv_exeext
2466
2970
          break;;
2467
2971
    * ) break;;
2468
2972
  esac
2476
2980
fi
2477
2981
 
2478
2982
rm -f conftest$ac_cv_exeext
2479
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2480
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2983
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2984
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2481
2985
 
2482
2986
rm -f conftest.$ac_ext
2483
2987
EXEEXT=$ac_cv_exeext
2484
2988
ac_exeext=$EXEEXT
2485
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2486
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2989
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2990
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2487
2991
if test "${ac_cv_objext+set}" = set; then
2488
2992
  echo $ECHO_N "(cached) $ECHO_C" >&6
2489
2993
else
2503
3007
}
2504
3008
_ACEOF
2505
3009
rm -f conftest.o conftest.obj
2506
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2507
 
  (eval $ac_compile) 2>&5
 
3010
if { (ac_try="$ac_compile"
 
3011
case "(($ac_try" in
 
3012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3013
  *) ac_try_echo=$ac_try;;
 
3014
esac
 
3015
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3016
  (eval "$ac_compile") 2>&5
2508
3017
  ac_status=$?
2509
3018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
3019
  (exit $ac_status); }; then
2511
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3020
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3021
  test -f "$ac_file" || continue;
2512
3022
  case $ac_file in
2513
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3023
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2514
3024
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2515
3025
       break;;
2516
3026
  esac
2528
3038
 
2529
3039
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2530
3040
fi
2531
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2532
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3041
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3042
echo "${ECHO_T}$ac_cv_objext" >&6; }
2533
3043
OBJEXT=$ac_cv_objext
2534
3044
ac_objext=$OBJEXT
2535
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2536
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3045
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3046
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2537
3047
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2538
3048
  echo $ECHO_N "(cached) $ECHO_C" >&6
2539
3049
else
2556
3066
}
2557
3067
_ACEOF
2558
3068
rm -f conftest.$ac_objext
2559
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2560
 
  (eval $ac_compile) 2>conftest.er1
 
3069
if { (ac_try="$ac_compile"
 
3070
case "(($ac_try" in
 
3071
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3072
  *) ac_try_echo=$ac_try;;
 
3073
esac
 
3074
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3075
  (eval "$ac_compile") 2>conftest.er1
2561
3076
  ac_status=$?
2562
3077
  grep -v '^ *+' conftest.er1 >conftest.err
2563
3078
  rm -f conftest.er1
2564
3079
  cat conftest.err >&5
2565
3080
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566
 
  (exit $ac_status); } &&
2567
 
         { ac_try='test -z "$ac_c_werror_flag"
2568
 
                         || test ! -s conftest.err'
2569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570
 
  (eval $ac_try) 2>&5
2571
 
  ac_status=$?
2572
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
 
  (exit $ac_status); }; } &&
2574
 
         { ac_try='test -s conftest.$ac_objext'
2575
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576
 
  (eval $ac_try) 2>&5
2577
 
  ac_status=$?
2578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579
 
  (exit $ac_status); }; }; then
 
3081
  (exit $ac_status); } && {
 
3082
         test -z "$ac_c_werror_flag" ||
 
3083
         test ! -s conftest.err
 
3084
       } && test -s conftest.$ac_objext; then
2580
3085
  ac_compiler_gnu=yes
2581
3086
else
2582
3087
  echo "$as_me: failed program was:" >&5
2583
3088
sed 's/^/| /' conftest.$ac_ext >&5
2584
3089
 
2585
 
ac_compiler_gnu=no
 
3090
        ac_compiler_gnu=no
2586
3091
fi
2587
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3092
 
 
3093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2588
3094
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2589
3095
 
2590
3096
fi
2591
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2592
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3097
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3098
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2593
3099
GCC=`test $ac_compiler_gnu = yes && echo yes`
2594
3100
ac_test_CFLAGS=${CFLAGS+set}
2595
3101
ac_save_CFLAGS=$CFLAGS
2596
 
CFLAGS="-g"
2597
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2598
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3102
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3103
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2599
3104
if test "${ac_cv_prog_cc_g+set}" = set; then
2600
3105
  echo $ECHO_N "(cached) $ECHO_C" >&6
2601
3106
else
2602
 
  cat >conftest.$ac_ext <<_ACEOF
2603
 
/* confdefs.h.  */
2604
 
_ACEOF
2605
 
cat confdefs.h >>conftest.$ac_ext
2606
 
cat >>conftest.$ac_ext <<_ACEOF
2607
 
/* end confdefs.h.  */
2608
 
 
2609
 
int
2610
 
main ()
2611
 
{
2612
 
 
2613
 
  ;
2614
 
  return 0;
2615
 
}
2616
 
_ACEOF
2617
 
rm -f conftest.$ac_objext
2618
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2619
 
  (eval $ac_compile) 2>conftest.er1
2620
 
  ac_status=$?
2621
 
  grep -v '^ *+' conftest.er1 >conftest.err
2622
 
  rm -f conftest.er1
2623
 
  cat conftest.err >&5
2624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625
 
  (exit $ac_status); } &&
2626
 
         { ac_try='test -z "$ac_c_werror_flag"
2627
 
                         || test ! -s conftest.err'
2628
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629
 
  (eval $ac_try) 2>&5
2630
 
  ac_status=$?
2631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632
 
  (exit $ac_status); }; } &&
2633
 
         { ac_try='test -s conftest.$ac_objext'
2634
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635
 
  (eval $ac_try) 2>&5
2636
 
  ac_status=$?
2637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638
 
  (exit $ac_status); }; }; then
2639
 
  ac_cv_prog_cc_g=yes
2640
 
else
2641
 
  echo "$as_me: failed program was:" >&5
2642
 
sed 's/^/| /' conftest.$ac_ext >&5
2643
 
 
2644
 
ac_cv_prog_cc_g=no
2645
 
fi
2646
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2647
 
fi
2648
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2649
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3107
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3108
   ac_c_werror_flag=yes
 
3109
   ac_cv_prog_cc_g=no
 
3110
   CFLAGS="-g"
 
3111
   cat >conftest.$ac_ext <<_ACEOF
 
3112
/* confdefs.h.  */
 
3113
_ACEOF
 
3114
cat confdefs.h >>conftest.$ac_ext
 
3115
cat >>conftest.$ac_ext <<_ACEOF
 
3116
/* end confdefs.h.  */
 
3117
 
 
3118
int
 
3119
main ()
 
3120
{
 
3121
 
 
3122
  ;
 
3123
  return 0;
 
3124
}
 
3125
_ACEOF
 
3126
rm -f conftest.$ac_objext
 
3127
if { (ac_try="$ac_compile"
 
3128
case "(($ac_try" in
 
3129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3130
  *) ac_try_echo=$ac_try;;
 
3131
esac
 
3132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3133
  (eval "$ac_compile") 2>conftest.er1
 
3134
  ac_status=$?
 
3135
  grep -v '^ *+' conftest.er1 >conftest.err
 
3136
  rm -f conftest.er1
 
3137
  cat conftest.err >&5
 
3138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3139
  (exit $ac_status); } && {
 
3140
         test -z "$ac_c_werror_flag" ||
 
3141
         test ! -s conftest.err
 
3142
       } && test -s conftest.$ac_objext; then
 
3143
  ac_cv_prog_cc_g=yes
 
3144
else
 
3145
  echo "$as_me: failed program was:" >&5
 
3146
sed 's/^/| /' conftest.$ac_ext >&5
 
3147
 
 
3148
        CFLAGS=""
 
3149
      cat >conftest.$ac_ext <<_ACEOF
 
3150
/* confdefs.h.  */
 
3151
_ACEOF
 
3152
cat confdefs.h >>conftest.$ac_ext
 
3153
cat >>conftest.$ac_ext <<_ACEOF
 
3154
/* end confdefs.h.  */
 
3155
 
 
3156
int
 
3157
main ()
 
3158
{
 
3159
 
 
3160
  ;
 
3161
  return 0;
 
3162
}
 
3163
_ACEOF
 
3164
rm -f conftest.$ac_objext
 
3165
if { (ac_try="$ac_compile"
 
3166
case "(($ac_try" in
 
3167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3168
  *) ac_try_echo=$ac_try;;
 
3169
esac
 
3170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3171
  (eval "$ac_compile") 2>conftest.er1
 
3172
  ac_status=$?
 
3173
  grep -v '^ *+' conftest.er1 >conftest.err
 
3174
  rm -f conftest.er1
 
3175
  cat conftest.err >&5
 
3176
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3177
  (exit $ac_status); } && {
 
3178
         test -z "$ac_c_werror_flag" ||
 
3179
         test ! -s conftest.err
 
3180
       } && test -s conftest.$ac_objext; then
 
3181
  :
 
3182
else
 
3183
  echo "$as_me: failed program was:" >&5
 
3184
sed 's/^/| /' conftest.$ac_ext >&5
 
3185
 
 
3186
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3187
         CFLAGS="-g"
 
3188
         cat >conftest.$ac_ext <<_ACEOF
 
3189
/* confdefs.h.  */
 
3190
_ACEOF
 
3191
cat confdefs.h >>conftest.$ac_ext
 
3192
cat >>conftest.$ac_ext <<_ACEOF
 
3193
/* end confdefs.h.  */
 
3194
 
 
3195
int
 
3196
main ()
 
3197
{
 
3198
 
 
3199
  ;
 
3200
  return 0;
 
3201
}
 
3202
_ACEOF
 
3203
rm -f conftest.$ac_objext
 
3204
if { (ac_try="$ac_compile"
 
3205
case "(($ac_try" in
 
3206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3207
  *) ac_try_echo=$ac_try;;
 
3208
esac
 
3209
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3210
  (eval "$ac_compile") 2>conftest.er1
 
3211
  ac_status=$?
 
3212
  grep -v '^ *+' conftest.er1 >conftest.err
 
3213
  rm -f conftest.er1
 
3214
  cat conftest.err >&5
 
3215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3216
  (exit $ac_status); } && {
 
3217
         test -z "$ac_c_werror_flag" ||
 
3218
         test ! -s conftest.err
 
3219
       } && test -s conftest.$ac_objext; then
 
3220
  ac_cv_prog_cc_g=yes
 
3221
else
 
3222
  echo "$as_me: failed program was:" >&5
 
3223
sed 's/^/| /' conftest.$ac_ext >&5
 
3224
 
 
3225
 
 
3226
fi
 
3227
 
 
3228
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3229
fi
 
3230
 
 
3231
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3232
fi
 
3233
 
 
3234
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3235
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3236
fi
 
3237
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3238
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2650
3239
if test "$ac_test_CFLAGS" = set; then
2651
3240
  CFLAGS=$ac_save_CFLAGS
2652
3241
elif test $ac_cv_prog_cc_g = yes; then
2662
3251
    CFLAGS=
2663
3252
  fi
2664
3253
fi
2665
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2666
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2667
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3254
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3255
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3256
if test "${ac_cv_prog_cc_c89+set}" = set; then
2668
3257
  echo $ECHO_N "(cached) $ECHO_C" >&6
2669
3258
else
2670
 
  ac_cv_prog_cc_stdc=no
 
3259
  ac_cv_prog_cc_c89=no
2671
3260
ac_save_CC=$CC
2672
3261
cat >conftest.$ac_ext <<_ACEOF
2673
3262
/* confdefs.h.  */
2701
3290
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2702
3291
   function prototypes and stuff, but not '\xHH' hex character constants.
2703
3292
   These don't provoke an error unfortunately, instead are silently treated
2704
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3293
   as 'x'.  The following induces an error, until -std is added to get
2705
3294
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2706
3295
   array size at least.  It's necessary to write '\x00'==0 to get something
2707
 
   that's true only with -std1.  */
 
3296
   that's true only with -std.  */
2708
3297
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2709
3298
 
 
3299
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3300
   inside strings and character constants.  */
 
3301
#define FOO(x) 'x'
 
3302
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3303
 
2710
3304
int test (int i, double x);
2711
3305
struct s1 {int (*f) (int a);};
2712
3306
struct s2 {int (*f) (double a);};
2721
3315
  return 0;
2722
3316
}
2723
3317
_ACEOF
2724
 
# Don't try gcc -ansi; that turns off useful extensions and
2725
 
# breaks some systems' header files.
2726
 
# AIX                   -qlanglvl=ansi
2727
 
# Ultrix and OSF/1      -std1
2728
 
# HP-UX 10.20 and later -Ae
2729
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2730
 
# SVR4                  -Xc -D__EXTENSIONS__
2731
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3318
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3319
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2732
3320
do
2733
3321
  CC="$ac_save_CC $ac_arg"
2734
3322
  rm -f conftest.$ac_objext
2735
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2736
 
  (eval $ac_compile) 2>conftest.er1
 
3323
if { (ac_try="$ac_compile"
 
3324
case "(($ac_try" in
 
3325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3326
  *) ac_try_echo=$ac_try;;
 
3327
esac
 
3328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3329
  (eval "$ac_compile") 2>conftest.er1
2737
3330
  ac_status=$?
2738
3331
  grep -v '^ *+' conftest.er1 >conftest.err
2739
3332
  rm -f conftest.er1
2740
3333
  cat conftest.err >&5
2741
3334
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742
 
  (exit $ac_status); } &&
2743
 
         { ac_try='test -z "$ac_c_werror_flag"
2744
 
                         || test ! -s conftest.err'
2745
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746
 
  (eval $ac_try) 2>&5
2747
 
  ac_status=$?
2748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749
 
  (exit $ac_status); }; } &&
2750
 
         { ac_try='test -s conftest.$ac_objext'
2751
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752
 
  (eval $ac_try) 2>&5
2753
 
  ac_status=$?
2754
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755
 
  (exit $ac_status); }; }; then
2756
 
  ac_cv_prog_cc_stdc=$ac_arg
2757
 
break
 
3335
  (exit $ac_status); } && {
 
3336
         test -z "$ac_c_werror_flag" ||
 
3337
         test ! -s conftest.err
 
3338
       } && test -s conftest.$ac_objext; then
 
3339
  ac_cv_prog_cc_c89=$ac_arg
2758
3340
else
2759
3341
  echo "$as_me: failed program was:" >&5
2760
3342
sed 's/^/| /' conftest.$ac_ext >&5
2761
3343
 
 
3344
 
2762
3345
fi
2763
 
rm -f conftest.err conftest.$ac_objext
 
3346
 
 
3347
rm -f core conftest.err conftest.$ac_objext
 
3348
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2764
3349
done
2765
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3350
rm -f conftest.$ac_ext
2766
3351
CC=$ac_save_CC
2767
3352
 
2768
3353
fi
2769
 
 
2770
 
case "x$ac_cv_prog_cc_stdc" in
2771
 
  x|xno)
2772
 
    echo "$as_me:$LINENO: result: none needed" >&5
2773
 
echo "${ECHO_T}none needed" >&6 ;;
 
3354
# AC_CACHE_VAL
 
3355
case "x$ac_cv_prog_cc_c89" in
 
3356
  x)
 
3357
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3358
echo "${ECHO_T}none needed" >&6; } ;;
 
3359
  xno)
 
3360
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3361
echo "${ECHO_T}unsupported" >&6; } ;;
2774
3362
  *)
2775
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2776
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2777
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3363
    CC="$CC $ac_cv_prog_cc_c89"
 
3364
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3365
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2778
3366
esac
2779
3367
 
2780
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2781
 
# in C++ we need to declare it.  In case someone uses the same compiler
2782
 
# for both compiling C and C++ we need to have the C++ compiler decide
2783
 
# the declaration of exit, since it's the most demanding environment.
2784
 
cat >conftest.$ac_ext <<_ACEOF
2785
 
#ifndef __cplusplus
2786
 
  choke me
2787
 
#endif
2788
 
_ACEOF
2789
 
rm -f conftest.$ac_objext
2790
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2791
 
  (eval $ac_compile) 2>conftest.er1
2792
 
  ac_status=$?
2793
 
  grep -v '^ *+' conftest.er1 >conftest.err
2794
 
  rm -f conftest.er1
2795
 
  cat conftest.err >&5
2796
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797
 
  (exit $ac_status); } &&
2798
 
         { ac_try='test -z "$ac_c_werror_flag"
2799
 
                         || test ! -s conftest.err'
2800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801
 
  (eval $ac_try) 2>&5
2802
 
  ac_status=$?
2803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804
 
  (exit $ac_status); }; } &&
2805
 
         { ac_try='test -s conftest.$ac_objext'
2806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807
 
  (eval $ac_try) 2>&5
2808
 
  ac_status=$?
2809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
 
  (exit $ac_status); }; }; then
2811
 
  for ac_declaration in \
2812
 
   '' \
2813
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2814
 
   'extern "C" void std::exit (int); using std::exit;' \
2815
 
   'extern "C" void exit (int) throw ();' \
2816
 
   'extern "C" void exit (int);' \
2817
 
   'void exit (int);'
2818
 
do
2819
 
  cat >conftest.$ac_ext <<_ACEOF
2820
 
/* confdefs.h.  */
2821
 
_ACEOF
2822
 
cat confdefs.h >>conftest.$ac_ext
2823
 
cat >>conftest.$ac_ext <<_ACEOF
2824
 
/* end confdefs.h.  */
2825
 
$ac_declaration
2826
 
#include <stdlib.h>
2827
 
int
2828
 
main ()
2829
 
{
2830
 
exit (42);
2831
 
  ;
2832
 
  return 0;
2833
 
}
2834
 
_ACEOF
2835
 
rm -f conftest.$ac_objext
2836
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837
 
  (eval $ac_compile) 2>conftest.er1
2838
 
  ac_status=$?
2839
 
  grep -v '^ *+' conftest.er1 >conftest.err
2840
 
  rm -f conftest.er1
2841
 
  cat conftest.err >&5
2842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843
 
  (exit $ac_status); } &&
2844
 
         { ac_try='test -z "$ac_c_werror_flag"
2845
 
                         || test ! -s conftest.err'
2846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847
 
  (eval $ac_try) 2>&5
2848
 
  ac_status=$?
2849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
 
  (exit $ac_status); }; } &&
2851
 
         { ac_try='test -s conftest.$ac_objext'
2852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853
 
  (eval $ac_try) 2>&5
2854
 
  ac_status=$?
2855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
 
  (exit $ac_status); }; }; then
2857
 
  :
2858
 
else
2859
 
  echo "$as_me: failed program was:" >&5
2860
 
sed 's/^/| /' conftest.$ac_ext >&5
2861
 
 
2862
 
continue
2863
 
fi
2864
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2865
 
  cat >conftest.$ac_ext <<_ACEOF
2866
 
/* confdefs.h.  */
2867
 
_ACEOF
2868
 
cat confdefs.h >>conftest.$ac_ext
2869
 
cat >>conftest.$ac_ext <<_ACEOF
2870
 
/* end confdefs.h.  */
2871
 
$ac_declaration
2872
 
int
2873
 
main ()
2874
 
{
2875
 
exit (42);
2876
 
  ;
2877
 
  return 0;
2878
 
}
2879
 
_ACEOF
2880
 
rm -f conftest.$ac_objext
2881
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882
 
  (eval $ac_compile) 2>conftest.er1
2883
 
  ac_status=$?
2884
 
  grep -v '^ *+' conftest.er1 >conftest.err
2885
 
  rm -f conftest.er1
2886
 
  cat conftest.err >&5
2887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888
 
  (exit $ac_status); } &&
2889
 
         { ac_try='test -z "$ac_c_werror_flag"
2890
 
                         || test ! -s conftest.err'
2891
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892
 
  (eval $ac_try) 2>&5
2893
 
  ac_status=$?
2894
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895
 
  (exit $ac_status); }; } &&
2896
 
         { ac_try='test -s conftest.$ac_objext'
2897
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898
 
  (eval $ac_try) 2>&5
2899
 
  ac_status=$?
2900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901
 
  (exit $ac_status); }; }; then
2902
 
  break
2903
 
else
2904
 
  echo "$as_me: failed program was:" >&5
2905
 
sed 's/^/| /' conftest.$ac_ext >&5
2906
 
 
2907
 
fi
2908
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2909
 
done
2910
 
rm -f conftest*
2911
 
if test -n "$ac_declaration"; then
2912
 
  echo '#ifdef __cplusplus' >>confdefs.h
2913
 
  echo $ac_declaration      >>confdefs.h
2914
 
  echo '#endif'             >>confdefs.h
2915
 
fi
2916
 
 
2917
 
else
2918
 
  echo "$as_me: failed program was:" >&5
2919
 
sed 's/^/| /' conftest.$ac_ext >&5
2920
 
 
2921
 
fi
2922
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3368
 
2923
3369
ac_ext=c
2924
3370
ac_cpp='$CPP $CPPFLAGS'
2925
3371
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927
3373
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2928
3374
DEPDIR="${am__leading_dot}deps"
2929
3375
 
2930
 
          ac_config_commands="$ac_config_commands depfiles"
 
3376
ac_config_commands="$ac_config_commands depfiles"
2931
3377
 
2932
3378
 
2933
3379
am_make=${MAKE-make}
2937
3383
.PHONY: am__doit
2938
3384
END
2939
3385
# If we don't find an include directive, just comment out the code.
2940
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2941
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3386
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3387
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2942
3388
am__include="#"
2943
3389
am__quote=
2944
3390
_am_result=none
2965
3411
fi
2966
3412
 
2967
3413
 
2968
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2969
 
echo "${ECHO_T}$_am_result" >&6
 
3414
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3415
echo "${ECHO_T}$_am_result" >&6; }
2970
3416
rm -f confinc confmf
2971
3417
 
2972
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3418
# Check whether --enable-dependency-tracking was given.
2973
3419
if test "${enable_dependency_tracking+set}" = set; then
2974
 
  enableval="$enable_dependency_tracking"
 
3420
  enableval=$enable_dependency_tracking;
 
3421
fi
2975
3422
 
2976
 
fi;
2977
3423
if test "x$enable_dependency_tracking" != xno; then
2978
3424
  am_depcomp="$ac_aux_dir/depcomp"
2979
3425
  AMDEPBACKSLASH='\'
2993
3439
 
2994
3440
depcc="$CC"   am_compiler_list=
2995
3441
 
2996
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2997
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3442
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3443
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2998
3444
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2999
3445
  echo $ECHO_N "(cached) $ECHO_C" >&6
3000
3446
else
3083
3529
fi
3084
3530
 
3085
3531
fi
3086
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3087
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3532
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3533
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3088
3534
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3089
3535
 
3090
3536
 
3100
3546
fi
3101
3547
 
3102
3548
 
3103
 
# Check whether --enable-shared or --disable-shared was given.
 
3549
# Check whether --enable-shared was given.
3104
3550
if test "${enable_shared+set}" = set; then
3105
 
  enableval="$enable_shared"
3106
 
  p=${PACKAGE-default}
 
3551
  enableval=$enable_shared; p=${PACKAGE-default}
3107
3552
    case $enableval in
3108
3553
    yes) enable_shared=yes ;;
3109
3554
    no) enable_shared=no ;;
3122
3567
    esac
3123
3568
else
3124
3569
  enable_shared=yes
3125
 
fi;
3126
 
 
3127
 
# Check whether --enable-static or --disable-static was given.
 
3570
fi
 
3571
 
 
3572
 
 
3573
# Check whether --enable-static was given.
3128
3574
if test "${enable_static+set}" = set; then
3129
 
  enableval="$enable_static"
3130
 
  p=${PACKAGE-default}
 
3575
  enableval=$enable_static; p=${PACKAGE-default}
3131
3576
    case $enableval in
3132
3577
    yes) enable_static=yes ;;
3133
3578
    no) enable_static=no ;;
3146
3591
    esac
3147
3592
else
3148
3593
  enable_static=yes
3149
 
fi;
3150
 
 
3151
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
3594
fi
 
3595
 
 
3596
 
 
3597
# Check whether --enable-fast-install was given.
3152
3598
if test "${enable_fast_install+set}" = set; then
3153
 
  enableval="$enable_fast_install"
3154
 
  p=${PACKAGE-default}
 
3599
  enableval=$enable_fast_install; p=${PACKAGE-default}
3155
3600
    case $enableval in
3156
3601
    yes) enable_fast_install=yes ;;
3157
3602
    no) enable_fast_install=no ;;
3170
3615
    esac
3171
3616
else
3172
3617
  enable_fast_install=yes
3173
 
fi;
 
3618
fi
 
3619
 
3174
3620
 
3175
3621
# Make sure we can run config.sub.
3176
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3177
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3178
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
3622
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3623
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3624
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3179
3625
   { (exit 1); exit 1; }; }
3180
3626
 
3181
 
echo "$as_me:$LINENO: checking build system type" >&5
3182
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
3627
{ echo "$as_me:$LINENO: checking build system type" >&5
 
3628
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3183
3629
if test "${ac_cv_build+set}" = set; then
3184
3630
  echo $ECHO_N "(cached) $ECHO_C" >&6
3185
3631
else
3186
 
  ac_cv_build_alias=$build_alias
3187
 
test -z "$ac_cv_build_alias" &&
3188
 
  ac_cv_build_alias=`$ac_config_guess`
3189
 
test -z "$ac_cv_build_alias" &&
 
3632
  ac_build_alias=$build_alias
 
3633
test "x$ac_build_alias" = x &&
 
3634
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3635
test "x$ac_build_alias" = x &&
3190
3636
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3191
3637
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3192
3638
   { (exit 1); exit 1; }; }
3193
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3194
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3195
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
3639
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3640
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3641
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3196
3642
   { (exit 1); exit 1; }; }
3197
3643
 
3198
3644
fi
3199
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3200
 
echo "${ECHO_T}$ac_cv_build" >&6
 
3645
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3646
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3647
case $ac_cv_build in
 
3648
*-*-*) ;;
 
3649
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3650
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3651
   { (exit 1); exit 1; }; };;
 
3652
esac
3201
3653
build=$ac_cv_build
3202
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3203
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3204
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3205
 
 
3206
 
 
3207
 
echo "$as_me:$LINENO: checking host system type" >&5
3208
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
3654
ac_save_IFS=$IFS; IFS='-'
 
3655
set x $ac_cv_build
 
3656
shift
 
3657
build_cpu=$1
 
3658
build_vendor=$2
 
3659
shift; shift
 
3660
# Remember, the first character of IFS is used to create $*,
 
3661
# except with old shells:
 
3662
build_os=$*
 
3663
IFS=$ac_save_IFS
 
3664
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3665
 
 
3666
 
 
3667
{ echo "$as_me:$LINENO: checking host system type" >&5
 
3668
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3209
3669
if test "${ac_cv_host+set}" = set; then
3210
3670
  echo $ECHO_N "(cached) $ECHO_C" >&6
3211
3671
else
3212
 
  ac_cv_host_alias=$host_alias
3213
 
test -z "$ac_cv_host_alias" &&
3214
 
  ac_cv_host_alias=$ac_cv_build_alias
3215
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3216
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3217
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
3672
  if test "x$host_alias" = x; then
 
3673
  ac_cv_host=$ac_cv_build
 
3674
else
 
3675
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3676
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3677
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3218
3678
   { (exit 1); exit 1; }; }
 
3679
fi
3219
3680
 
3220
3681
fi
3221
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3222
 
echo "${ECHO_T}$ac_cv_host" >&6
 
3682
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3683
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3684
case $ac_cv_host in
 
3685
*-*-*) ;;
 
3686
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3687
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3688
   { (exit 1); exit 1; }; };;
 
3689
esac
3223
3690
host=$ac_cv_host
3224
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3225
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3226
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3227
 
 
3228
 
 
3229
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3230
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3691
ac_save_IFS=$IFS; IFS='-'
 
3692
set x $ac_cv_host
 
3693
shift
 
3694
host_cpu=$1
 
3695
host_vendor=$2
 
3696
shift; shift
 
3697
# Remember, the first character of IFS is used to create $*,
 
3698
# except with old shells:
 
3699
host_os=$*
 
3700
IFS=$ac_save_IFS
 
3701
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3702
 
 
3703
 
 
3704
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3705
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3231
3706
if test "${lt_cv_path_SED+set}" = set; then
3232
3707
  echo $ECHO_N "(cached) $ECHO_C" >&6
3233
3708
else
3280
3755
fi
3281
3756
 
3282
3757
SED=$lt_cv_path_SED
3283
 
echo "$as_me:$LINENO: result: $SED" >&5
3284
 
echo "${ECHO_T}$SED" >&6
3285
 
 
3286
 
echo "$as_me:$LINENO: checking for egrep" >&5
3287
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3288
 
if test "${ac_cv_prog_egrep+set}" = set; then
3289
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3290
 
else
3291
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3292
 
    then ac_cv_prog_egrep='grep -E'
3293
 
    else ac_cv_prog_egrep='egrep'
3294
 
    fi
3295
 
fi
3296
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3297
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3298
 
 EGREP=$ac_cv_prog_egrep
3299
 
 
3300
 
 
3301
 
 
3302
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3758
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3759
echo "${ECHO_T}$SED" >&6; }
 
3760
 
 
3761
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3762
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3763
if test "${ac_cv_path_GREP+set}" = set; then
 
3764
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3765
else
 
3766
  # Extract the first word of "grep ggrep" to use in msg output
 
3767
if test -z "$GREP"; then
 
3768
set dummy grep ggrep; ac_prog_name=$2
 
3769
if test "${ac_cv_path_GREP+set}" = set; then
 
3770
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3771
else
 
3772
  ac_path_GREP_found=false
 
3773
# Loop through the user's path and test for each of PROGNAME-LIST
 
3774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3775
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3776
do
 
3777
  IFS=$as_save_IFS
 
3778
  test -z "$as_dir" && as_dir=.
 
3779
  for ac_prog in grep ggrep; do
 
3780
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3781
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3782
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3783
    # Check for GNU ac_path_GREP and select it if it is found.
 
3784
  # Check for GNU $ac_path_GREP
 
3785
case `"$ac_path_GREP" --version 2>&1` in
 
3786
*GNU*)
 
3787
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3788
*)
 
3789
  ac_count=0
 
3790
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3791
  while :
 
3792
  do
 
3793
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3794
    mv "conftest.tmp" "conftest.in"
 
3795
    cp "conftest.in" "conftest.nl"
 
3796
    echo 'GREP' >> "conftest.nl"
 
3797
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3798
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3799
    ac_count=`expr $ac_count + 1`
 
3800
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3801
      # Best one so far, save it but keep looking for a better one
 
3802
      ac_cv_path_GREP="$ac_path_GREP"
 
3803
      ac_path_GREP_max=$ac_count
 
3804
    fi
 
3805
    # 10*(2^10) chars as input seems more than enough
 
3806
    test $ac_count -gt 10 && break
 
3807
  done
 
3808
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3809
esac
 
3810
 
 
3811
 
 
3812
    $ac_path_GREP_found && break 3
 
3813
  done
 
3814
done
 
3815
 
 
3816
done
 
3817
IFS=$as_save_IFS
 
3818
 
 
3819
 
 
3820
fi
 
3821
 
 
3822
GREP="$ac_cv_path_GREP"
 
3823
if test -z "$GREP"; then
 
3824
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3825
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3826
   { (exit 1); exit 1; }; }
 
3827
fi
 
3828
 
 
3829
else
 
3830
  ac_cv_path_GREP=$GREP
 
3831
fi
 
3832
 
 
3833
 
 
3834
fi
 
3835
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3836
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3837
 GREP="$ac_cv_path_GREP"
 
3838
 
 
3839
 
 
3840
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3841
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3842
if test "${ac_cv_path_EGREP+set}" = set; then
 
3843
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3844
else
 
3845
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3846
   then ac_cv_path_EGREP="$GREP -E"
 
3847
   else
 
3848
     # Extract the first word of "egrep" to use in msg output
 
3849
if test -z "$EGREP"; then
 
3850
set dummy egrep; ac_prog_name=$2
 
3851
if test "${ac_cv_path_EGREP+set}" = set; then
 
3852
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3853
else
 
3854
  ac_path_EGREP_found=false
 
3855
# Loop through the user's path and test for each of PROGNAME-LIST
 
3856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3857
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3858
do
 
3859
  IFS=$as_save_IFS
 
3860
  test -z "$as_dir" && as_dir=.
 
3861
  for ac_prog in egrep; do
 
3862
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3863
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3864
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3865
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3866
  # Check for GNU $ac_path_EGREP
 
3867
case `"$ac_path_EGREP" --version 2>&1` in
 
3868
*GNU*)
 
3869
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3870
*)
 
3871
  ac_count=0
 
3872
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3873
  while :
 
3874
  do
 
3875
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3876
    mv "conftest.tmp" "conftest.in"
 
3877
    cp "conftest.in" "conftest.nl"
 
3878
    echo 'EGREP' >> "conftest.nl"
 
3879
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3880
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3881
    ac_count=`expr $ac_count + 1`
 
3882
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3883
      # Best one so far, save it but keep looking for a better one
 
3884
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3885
      ac_path_EGREP_max=$ac_count
 
3886
    fi
 
3887
    # 10*(2^10) chars as input seems more than enough
 
3888
    test $ac_count -gt 10 && break
 
3889
  done
 
3890
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3891
esac
 
3892
 
 
3893
 
 
3894
    $ac_path_EGREP_found && break 3
 
3895
  done
 
3896
done
 
3897
 
 
3898
done
 
3899
IFS=$as_save_IFS
 
3900
 
 
3901
 
 
3902
fi
 
3903
 
 
3904
EGREP="$ac_cv_path_EGREP"
 
3905
if test -z "$EGREP"; then
 
3906
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3907
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3908
   { (exit 1); exit 1; }; }
 
3909
fi
 
3910
 
 
3911
else
 
3912
  ac_cv_path_EGREP=$EGREP
 
3913
fi
 
3914
 
 
3915
 
 
3916
   fi
 
3917
fi
 
3918
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3919
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3920
 EGREP="$ac_cv_path_EGREP"
 
3921
 
 
3922
 
 
3923
 
 
3924
# Check whether --with-gnu-ld was given.
3303
3925
if test "${with_gnu_ld+set}" = set; then
3304
 
  withval="$with_gnu_ld"
3305
 
  test "$withval" = no || with_gnu_ld=yes
 
3926
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3306
3927
else
3307
3928
  with_gnu_ld=no
3308
 
fi;
 
3929
fi
 
3930
 
3309
3931
ac_prog=ld
3310
3932
if test "$GCC" = yes; then
3311
3933
  # Check if gcc -print-prog-name=ld gives a path.
3312
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3313
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
3934
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3935
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3314
3936
  case $host in
3315
3937
  *-*-mingw*)
3316
3938
    # gcc leaves a trailing carriage return which upsets mingw
3339
3961
    ;;
3340
3962
  esac
3341
3963
elif test "$with_gnu_ld" = yes; then
3342
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3343
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
3964
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
3965
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3344
3966
else
3345
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3346
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
3967
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
3968
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3347
3969
fi
3348
3970
if test "${lt_cv_path_LD+set}" = set; then
3349
3971
  echo $ECHO_N "(cached) $ECHO_C" >&6
3376
3998
 
3377
3999
LD="$lt_cv_path_LD"
3378
4000
if test -n "$LD"; then
3379
 
  echo "$as_me:$LINENO: result: $LD" >&5
3380
 
echo "${ECHO_T}$LD" >&6
 
4001
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4002
echo "${ECHO_T}$LD" >&6; }
3381
4003
else
3382
 
  echo "$as_me:$LINENO: result: no" >&5
3383
 
echo "${ECHO_T}no" >&6
 
4004
  { echo "$as_me:$LINENO: result: no" >&5
 
4005
echo "${ECHO_T}no" >&6; }
3384
4006
fi
3385
4007
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3386
4008
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3387
4009
   { (exit 1); exit 1; }; }
3388
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3389
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4010
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4011
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3390
4012
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3391
4013
  echo $ECHO_N "(cached) $ECHO_C" >&6
3392
4014
else
3400
4022
  ;;
3401
4023
esac
3402
4024
fi
3403
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3404
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4025
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4026
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3405
4027
with_gnu_ld=$lt_cv_prog_gnu_ld
3406
4028
 
3407
4029
 
3408
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3409
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4030
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4031
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3410
4032
if test "${lt_cv_ld_reload_flag+set}" = set; then
3411
4033
  echo $ECHO_N "(cached) $ECHO_C" >&6
3412
4034
else
3413
4035
  lt_cv_ld_reload_flag='-r'
3414
4036
fi
3415
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3416
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4037
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4038
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3417
4039
reload_flag=$lt_cv_ld_reload_flag
3418
4040
case $reload_flag in
3419
4041
"" | " "*) ;;
3430
4052
    ;;
3431
4053
esac
3432
4054
 
3433
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3434
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4055
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4056
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3435
4057
if test "${lt_cv_path_NM+set}" = set; then
3436
4058
  echo $ECHO_N "(cached) $ECHO_C" >&6
3437
4059
else
3479
4101
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3480
4102
fi
3481
4103
fi
3482
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3483
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4104
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4105
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3484
4106
NM="$lt_cv_path_NM"
3485
4107
 
3486
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3487
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4108
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4109
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3488
4110
LN_S=$as_ln_s
3489
4111
if test "$LN_S" = "ln -s"; then
3490
 
  echo "$as_me:$LINENO: result: yes" >&5
3491
 
echo "${ECHO_T}yes" >&6
 
4112
  { echo "$as_me:$LINENO: result: yes" >&5
 
4113
echo "${ECHO_T}yes" >&6; }
3492
4114
else
3493
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3494
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4115
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4116
echo "${ECHO_T}no, using $LN_S" >&6; }
3495
4117
fi
3496
4118
 
3497
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3498
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4119
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4120
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3499
4121
if test "${lt_cv_deplibs_check_method+set}" = set; then
3500
4122
  echo $ECHO_N "(cached) $ECHO_C" >&6
3501
4123
else
3545
4167
  lt_cv_deplibs_check_method=pass_all
3546
4168
  ;;
3547
4169
 
3548
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4170
freebsd* | dragonfly*)
3549
4171
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3550
4172
    case $host_cpu in
3551
4173
    i*86 )
3599
4221
  ;;
3600
4222
 
3601
4223
# This must be Linux ELF.
3602
 
linux*)
 
4224
linux* | k*bsd*-gnu)
3603
4225
  lt_cv_deplibs_check_method=pass_all
3604
4226
  ;;
3605
4227
 
3606
 
netbsd*)
 
4228
netbsd* | netbsdelf*-gnu)
3607
4229
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3608
4230
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3609
4231
  else
3670
4292
esac
3671
4293
 
3672
4294
fi
3673
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3674
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4295
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4296
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3675
4297
file_magic_cmd=$lt_cv_file_magic_cmd
3676
4298
deplibs_check_method=$lt_cv_deplibs_check_method
3677
4299
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3689
4311
compiler=$CC
3690
4312
 
3691
4313
 
3692
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4314
# Check whether --enable-libtool-lock was given.
3693
4315
if test "${enable_libtool_lock+set}" = set; then
3694
 
  enableval="$enable_libtool_lock"
 
4316
  enableval=$enable_libtool_lock;
 
4317
fi
3695
4318
 
3696
 
fi;
3697
4319
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3698
4320
 
3699
4321
# Some flags need to be propagated to the compiler or linker for good
3720
4342
  ;;
3721
4343
*-*-irix6*)
3722
4344
  # Find out which ABI we are using.
3723
 
  echo '#line 3723 "configure"' > conftest.$ac_ext
 
4345
  echo '#line 4345 "configure"' > conftest.$ac_ext
3724
4346
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3725
4347
  (eval $ac_compile) 2>&5
3726
4348
  ac_status=$?
3805
4427
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3806
4428
  SAVE_CFLAGS="$CFLAGS"
3807
4429
  CFLAGS="$CFLAGS -belf"
3808
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3809
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4430
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4431
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3810
4432
if test "${lt_cv_cc_needs_belf+set}" = set; then
3811
4433
  echo $ECHO_N "(cached) $ECHO_C" >&6
3812
4434
else
3832
4454
}
3833
4455
_ACEOF
3834
4456
rm -f conftest.$ac_objext conftest$ac_exeext
3835
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3836
 
  (eval $ac_link) 2>conftest.er1
 
4457
if { (ac_try="$ac_link"
 
4458
case "(($ac_try" in
 
4459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4460
  *) ac_try_echo=$ac_try;;
 
4461
esac
 
4462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4463
  (eval "$ac_link") 2>conftest.er1
3837
4464
  ac_status=$?
3838
4465
  grep -v '^ *+' conftest.er1 >conftest.err
3839
4466
  rm -f conftest.er1
3840
4467
  cat conftest.err >&5
3841
4468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842
 
  (exit $ac_status); } &&
3843
 
         { ac_try='test -z "$ac_c_werror_flag"
3844
 
                         || test ! -s conftest.err'
3845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846
 
  (eval $ac_try) 2>&5
3847
 
  ac_status=$?
3848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849
 
  (exit $ac_status); }; } &&
3850
 
         { ac_try='test -s conftest$ac_exeext'
3851
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3852
 
  (eval $ac_try) 2>&5
3853
 
  ac_status=$?
3854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855
 
  (exit $ac_status); }; }; then
 
4469
  (exit $ac_status); } && {
 
4470
         test -z "$ac_c_werror_flag" ||
 
4471
         test ! -s conftest.err
 
4472
       } && test -s conftest$ac_exeext &&
 
4473
       $as_test_x conftest$ac_exeext; then
3856
4474
  lt_cv_cc_needs_belf=yes
3857
4475
else
3858
4476
  echo "$as_me: failed program was:" >&5
3859
4477
sed 's/^/| /' conftest.$ac_ext >&5
3860
4478
 
3861
 
lt_cv_cc_needs_belf=no
 
4479
        lt_cv_cc_needs_belf=no
3862
4480
fi
3863
 
rm -f conftest.err conftest.$ac_objext \
 
4481
 
 
4482
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3864
4483
      conftest$ac_exeext conftest.$ac_ext
3865
4484
     ac_ext=c
3866
4485
ac_cpp='$CPP $CPPFLAGS'
3869
4488
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3870
4489
 
3871
4490
fi
3872
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3873
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4491
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4492
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3874
4493
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3875
4494
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3876
4495
    CFLAGS="$SAVE_CFLAGS"
3907
4526
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3908
4527
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3909
4528
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3910
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3911
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4529
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4530
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3912
4531
# On Suns, sometimes $CPP names a directory.
3913
4532
if test -n "$CPP" && test -d "$CPP"; then
3914
4533
  CPP=
3942
4561
#endif
3943
4562
                     Syntax error
3944
4563
_ACEOF
3945
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3946
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4564
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4565
case "(($ac_try" in
 
4566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4567
  *) ac_try_echo=$ac_try;;
 
4568
esac
 
4569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4570
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3947
4571
  ac_status=$?
3948
4572
  grep -v '^ *+' conftest.er1 >conftest.err
3949
4573
  rm -f conftest.er1
3950
4574
  cat conftest.err >&5
3951
4575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952
 
  (exit $ac_status); } >/dev/null; then
3953
 
  if test -s conftest.err; then
3954
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3955
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3956
 
  else
3957
 
    ac_cpp_err=
3958
 
  fi
3959
 
else
3960
 
  ac_cpp_err=yes
3961
 
fi
3962
 
if test -z "$ac_cpp_err"; then
 
4576
  (exit $ac_status); } >/dev/null && {
 
4577
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4578
         test ! -s conftest.err
 
4579
       }; then
3963
4580
  :
3964
4581
else
3965
4582
  echo "$as_me: failed program was:" >&5
3968
4585
  # Broken: fails on valid input.
3969
4586
continue
3970
4587
fi
 
4588
 
3971
4589
rm -f conftest.err conftest.$ac_ext
3972
4590
 
3973
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4591
  # OK, works on sane cases.  Now check whether nonexistent headers
3974
4592
  # can be detected and how.
3975
4593
  cat >conftest.$ac_ext <<_ACEOF
3976
4594
/* confdefs.h.  */
3980
4598
/* end confdefs.h.  */
3981
4599
#include <ac_nonexistent.h>
3982
4600
_ACEOF
3983
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3984
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4601
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4602
case "(($ac_try" in
 
4603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4604
  *) ac_try_echo=$ac_try;;
 
4605
esac
 
4606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4607
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3985
4608
  ac_status=$?
3986
4609
  grep -v '^ *+' conftest.er1 >conftest.err
3987
4610
  rm -f conftest.er1
3988
4611
  cat conftest.err >&5
3989
4612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990
 
  (exit $ac_status); } >/dev/null; then
3991
 
  if test -s conftest.err; then
3992
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3993
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3994
 
  else
3995
 
    ac_cpp_err=
3996
 
  fi
3997
 
else
3998
 
  ac_cpp_err=yes
3999
 
fi
4000
 
if test -z "$ac_cpp_err"; then
 
4613
  (exit $ac_status); } >/dev/null && {
 
4614
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4615
         test ! -s conftest.err
 
4616
       }; then
4001
4617
  # Broken: success on invalid input.
4002
4618
continue
4003
4619
else
4008
4624
ac_preproc_ok=:
4009
4625
break
4010
4626
fi
 
4627
 
4011
4628
rm -f conftest.err conftest.$ac_ext
4012
4629
 
4013
4630
done
4025
4642
else
4026
4643
  ac_cv_prog_CPP=$CPP
4027
4644
fi
4028
 
echo "$as_me:$LINENO: result: $CPP" >&5
4029
 
echo "${ECHO_T}$CPP" >&6
 
4645
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4646
echo "${ECHO_T}$CPP" >&6; }
4030
4647
ac_preproc_ok=false
4031
4648
for ac_c_preproc_warn_flag in '' yes
4032
4649
do
4049
4666
#endif
4050
4667
                     Syntax error
4051
4668
_ACEOF
4052
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4053
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4669
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4670
case "(($ac_try" in
 
4671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4672
  *) ac_try_echo=$ac_try;;
 
4673
esac
 
4674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4675
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4054
4676
  ac_status=$?
4055
4677
  grep -v '^ *+' conftest.er1 >conftest.err
4056
4678
  rm -f conftest.er1
4057
4679
  cat conftest.err >&5
4058
4680
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059
 
  (exit $ac_status); } >/dev/null; then
4060
 
  if test -s conftest.err; then
4061
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4062
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4063
 
  else
4064
 
    ac_cpp_err=
4065
 
  fi
4066
 
else
4067
 
  ac_cpp_err=yes
4068
 
fi
4069
 
if test -z "$ac_cpp_err"; then
 
4681
  (exit $ac_status); } >/dev/null && {
 
4682
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4683
         test ! -s conftest.err
 
4684
       }; then
4070
4685
  :
4071
4686
else
4072
4687
  echo "$as_me: failed program was:" >&5
4075
4690
  # Broken: fails on valid input.
4076
4691
continue
4077
4692
fi
 
4693
 
4078
4694
rm -f conftest.err conftest.$ac_ext
4079
4695
 
4080
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4696
  # OK, works on sane cases.  Now check whether nonexistent headers
4081
4697
  # can be detected and how.
4082
4698
  cat >conftest.$ac_ext <<_ACEOF
4083
4699
/* confdefs.h.  */
4087
4703
/* end confdefs.h.  */
4088
4704
#include <ac_nonexistent.h>
4089
4705
_ACEOF
4090
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4091
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4706
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4707
case "(($ac_try" in
 
4708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4709
  *) ac_try_echo=$ac_try;;
 
4710
esac
 
4711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4712
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4092
4713
  ac_status=$?
4093
4714
  grep -v '^ *+' conftest.er1 >conftest.err
4094
4715
  rm -f conftest.er1
4095
4716
  cat conftest.err >&5
4096
4717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097
 
  (exit $ac_status); } >/dev/null; then
4098
 
  if test -s conftest.err; then
4099
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4100
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4101
 
  else
4102
 
    ac_cpp_err=
4103
 
  fi
4104
 
else
4105
 
  ac_cpp_err=yes
4106
 
fi
4107
 
if test -z "$ac_cpp_err"; then
 
4718
  (exit $ac_status); } >/dev/null && {
 
4719
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4720
         test ! -s conftest.err
 
4721
       }; then
4108
4722
  # Broken: success on invalid input.
4109
4723
continue
4110
4724
else
4115
4729
ac_preproc_ok=:
4116
4730
break
4117
4731
fi
 
4732
 
4118
4733
rm -f conftest.err conftest.$ac_ext
4119
4734
 
4120
4735
done
4137
4752
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4138
4753
 
4139
4754
 
4140
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4141
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4755
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4756
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4142
4757
if test "${ac_cv_header_stdc+set}" = set; then
4143
4758
  echo $ECHO_N "(cached) $ECHO_C" >&6
4144
4759
else
4162
4777
}
4163
4778
_ACEOF
4164
4779
rm -f conftest.$ac_objext
4165
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4166
 
  (eval $ac_compile) 2>conftest.er1
 
4780
if { (ac_try="$ac_compile"
 
4781
case "(($ac_try" in
 
4782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4783
  *) ac_try_echo=$ac_try;;
 
4784
esac
 
4785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4786
  (eval "$ac_compile") 2>conftest.er1
4167
4787
  ac_status=$?
4168
4788
  grep -v '^ *+' conftest.er1 >conftest.err
4169
4789
  rm -f conftest.er1
4170
4790
  cat conftest.err >&5
4171
4791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172
 
  (exit $ac_status); } &&
4173
 
         { ac_try='test -z "$ac_c_werror_flag"
4174
 
                         || test ! -s conftest.err'
4175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176
 
  (eval $ac_try) 2>&5
4177
 
  ac_status=$?
4178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179
 
  (exit $ac_status); }; } &&
4180
 
         { ac_try='test -s conftest.$ac_objext'
4181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182
 
  (eval $ac_try) 2>&5
4183
 
  ac_status=$?
4184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185
 
  (exit $ac_status); }; }; then
 
4792
  (exit $ac_status); } && {
 
4793
         test -z "$ac_c_werror_flag" ||
 
4794
         test ! -s conftest.err
 
4795
       } && test -s conftest.$ac_objext; then
4186
4796
  ac_cv_header_stdc=yes
4187
4797
else
4188
4798
  echo "$as_me: failed program was:" >&5
4189
4799
sed 's/^/| /' conftest.$ac_ext >&5
4190
4800
 
4191
 
ac_cv_header_stdc=no
 
4801
        ac_cv_header_stdc=no
4192
4802
fi
4193
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4803
 
 
4804
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194
4805
 
4195
4806
if test $ac_cv_header_stdc = yes; then
4196
4807
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4246
4857
cat >>conftest.$ac_ext <<_ACEOF
4247
4858
/* end confdefs.h.  */
4248
4859
#include <ctype.h>
 
4860
#include <stdlib.h>
4249
4861
#if ((' ' & 0x0FF) == 0x020)
4250
4862
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4251
4863
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4265
4877
  for (i = 0; i < 256; i++)
4266
4878
    if (XOR (islower (i), ISLOWER (i))
4267
4879
        || toupper (i) != TOUPPER (i))
4268
 
      exit(2);
4269
 
  exit (0);
 
4880
      return 2;
 
4881
  return 0;
4270
4882
}
4271
4883
_ACEOF
4272
4884
rm -f conftest$ac_exeext
4273
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4274
 
  (eval $ac_link) 2>&5
 
4885
if { (ac_try="$ac_link"
 
4886
case "(($ac_try" in
 
4887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4888
  *) ac_try_echo=$ac_try;;
 
4889
esac
 
4890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4891
  (eval "$ac_link") 2>&5
4275
4892
  ac_status=$?
4276
4893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277
4894
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4278
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4279
 
  (eval $ac_try) 2>&5
 
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_try") 2>&5
4280
4901
  ac_status=$?
4281
4902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282
4903
  (exit $ac_status); }; }; then
4289
4910
( exit $ac_status )
4290
4911
ac_cv_header_stdc=no
4291
4912
fi
4292
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4293
 
fi
4294
 
fi
4295
 
fi
4296
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4297
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4913
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4914
fi
 
4915
 
 
4916
 
 
4917
fi
 
4918
fi
 
4919
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4920
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4298
4921
if test $ac_cv_header_stdc = yes; then
4299
4922
 
4300
4923
cat >>confdefs.h <<\_ACEOF
4317
4940
                  inttypes.h stdint.h unistd.h
4318
4941
do
4319
4942
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4320
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4321
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4322
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4943
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4944
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4945
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4323
4946
  echo $ECHO_N "(cached) $ECHO_C" >&6
4324
4947
else
4325
4948
  cat >conftest.$ac_ext <<_ACEOF
4333
4956
#include <$ac_header>
4334
4957
_ACEOF
4335
4958
rm -f conftest.$ac_objext
4336
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4337
 
  (eval $ac_compile) 2>conftest.er1
 
4959
if { (ac_try="$ac_compile"
 
4960
case "(($ac_try" in
 
4961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4962
  *) ac_try_echo=$ac_try;;
 
4963
esac
 
4964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4965
  (eval "$ac_compile") 2>conftest.er1
4338
4966
  ac_status=$?
4339
4967
  grep -v '^ *+' conftest.er1 >conftest.err
4340
4968
  rm -f conftest.er1
4341
4969
  cat conftest.err >&5
4342
4970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343
 
  (exit $ac_status); } &&
4344
 
         { ac_try='test -z "$ac_c_werror_flag"
4345
 
                         || test ! -s conftest.err'
4346
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347
 
  (eval $ac_try) 2>&5
4348
 
  ac_status=$?
4349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350
 
  (exit $ac_status); }; } &&
4351
 
         { ac_try='test -s conftest.$ac_objext'
4352
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353
 
  (eval $ac_try) 2>&5
4354
 
  ac_status=$?
4355
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356
 
  (exit $ac_status); }; }; then
 
4971
  (exit $ac_status); } && {
 
4972
         test -z "$ac_c_werror_flag" ||
 
4973
         test ! -s conftest.err
 
4974
       } && test -s conftest.$ac_objext; then
4357
4975
  eval "$as_ac_Header=yes"
4358
4976
else
4359
4977
  echo "$as_me: failed program was:" >&5
4360
4978
sed 's/^/| /' conftest.$ac_ext >&5
4361
4979
 
4362
 
eval "$as_ac_Header=no"
4363
 
fi
4364
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4365
 
fi
4366
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4367
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
4980
        eval "$as_ac_Header=no"
 
4981
fi
 
4982
 
 
4983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4984
fi
 
4985
ac_res=`eval echo '${'$as_ac_Header'}'`
 
4986
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4987
echo "${ECHO_T}$ac_res" >&6; }
4368
4988
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4369
4989
  cat >>confdefs.h <<_ACEOF
4370
4990
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4379
4999
for ac_header in dlfcn.h
4380
5000
do
4381
5001
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4382
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4383
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4384
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4385
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5002
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5003
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5004
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5005
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4386
5006
  echo $ECHO_N "(cached) $ECHO_C" >&6
4387
5007
fi
4388
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4389
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5008
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5009
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5010
echo "${ECHO_T}$ac_res" >&6; }
4390
5011
else
4391
5012
  # Is the header compilable?
4392
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4393
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5013
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5014
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4394
5015
cat >conftest.$ac_ext <<_ACEOF
4395
5016
/* confdefs.h.  */
4396
5017
_ACEOF
4401
5022
#include <$ac_header>
4402
5023
_ACEOF
4403
5024
rm -f conftest.$ac_objext
4404
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4405
 
  (eval $ac_compile) 2>conftest.er1
 
5025
if { (ac_try="$ac_compile"
 
5026
case "(($ac_try" in
 
5027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5028
  *) ac_try_echo=$ac_try;;
 
5029
esac
 
5030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5031
  (eval "$ac_compile") 2>conftest.er1
4406
5032
  ac_status=$?
4407
5033
  grep -v '^ *+' conftest.er1 >conftest.err
4408
5034
  rm -f conftest.er1
4409
5035
  cat conftest.err >&5
4410
5036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411
 
  (exit $ac_status); } &&
4412
 
         { ac_try='test -z "$ac_c_werror_flag"
4413
 
                         || test ! -s conftest.err'
4414
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415
 
  (eval $ac_try) 2>&5
4416
 
  ac_status=$?
4417
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418
 
  (exit $ac_status); }; } &&
4419
 
         { ac_try='test -s conftest.$ac_objext'
4420
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421
 
  (eval $ac_try) 2>&5
4422
 
  ac_status=$?
4423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424
 
  (exit $ac_status); }; }; then
 
5037
  (exit $ac_status); } && {
 
5038
         test -z "$ac_c_werror_flag" ||
 
5039
         test ! -s conftest.err
 
5040
       } && test -s conftest.$ac_objext; then
4425
5041
  ac_header_compiler=yes
4426
5042
else
4427
5043
  echo "$as_me: failed program was:" >&5
4428
5044
sed 's/^/| /' conftest.$ac_ext >&5
4429
5045
 
4430
 
ac_header_compiler=no
 
5046
        ac_header_compiler=no
4431
5047
fi
4432
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4433
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4434
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5048
 
 
5049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5050
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5051
echo "${ECHO_T}$ac_header_compiler" >&6; }
4435
5052
 
4436
5053
# Is the header present?
4437
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4438
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5054
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5055
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4439
5056
cat >conftest.$ac_ext <<_ACEOF
4440
5057
/* confdefs.h.  */
4441
5058
_ACEOF
4444
5061
/* end confdefs.h.  */
4445
5062
#include <$ac_header>
4446
5063
_ACEOF
4447
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4448
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5064
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5065
case "(($ac_try" in
 
5066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5067
  *) ac_try_echo=$ac_try;;
 
5068
esac
 
5069
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5070
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4449
5071
  ac_status=$?
4450
5072
  grep -v '^ *+' conftest.er1 >conftest.err
4451
5073
  rm -f conftest.er1
4452
5074
  cat conftest.err >&5
4453
5075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454
 
  (exit $ac_status); } >/dev/null; then
4455
 
  if test -s conftest.err; then
4456
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4457
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4458
 
  else
4459
 
    ac_cpp_err=
4460
 
  fi
4461
 
else
4462
 
  ac_cpp_err=yes
4463
 
fi
4464
 
if test -z "$ac_cpp_err"; then
 
5076
  (exit $ac_status); } >/dev/null && {
 
5077
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5078
         test ! -s conftest.err
 
5079
       }; then
4465
5080
  ac_header_preproc=yes
4466
5081
else
4467
5082
  echo "$as_me: failed program was:" >&5
4469
5084
 
4470
5085
  ac_header_preproc=no
4471
5086
fi
 
5087
 
4472
5088
rm -f conftest.err conftest.$ac_ext
4473
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4474
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5089
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5090
echo "${ECHO_T}$ac_header_preproc" >&6; }
4475
5091
 
4476
5092
# So?  What about this header?
4477
5093
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4495
5111
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4496
5112
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4497
5113
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4498
 
    (
4499
 
      cat <<\_ASBOX
 
5114
    ( cat <<\_ASBOX
4500
5115
## ---------------------------------------------------------------------- ##
4501
5116
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
4502
5117
## ---------------------------------------------------------------------- ##
4503
5118
_ASBOX
4504
 
    ) |
4505
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5119
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4506
5120
    ;;
4507
5121
esac
4508
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4509
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4510
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5122
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5123
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5124
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4511
5125
  echo $ECHO_N "(cached) $ECHO_C" >&6
4512
5126
else
4513
5127
  eval "$as_ac_Header=\$ac_header_preproc"
4514
5128
fi
4515
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4516
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5129
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5130
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5131
echo "${ECHO_T}$ac_res" >&6; }
4517
5132
 
4518
5133
fi
4519
5134
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4525
5140
 
4526
5141
done
4527
5142
 
4528
 
ac_ext=cc
 
5143
ac_ext=cpp
4529
5144
ac_cpp='$CXXCPP $CPPFLAGS'
4530
5145
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531
5146
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532
5147
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4533
 
if test -n "$ac_tool_prefix"; then
4534
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5148
if test -z "$CXX"; then
 
5149
  if test -n "$CCC"; then
 
5150
    CXX=$CCC
 
5151
  else
 
5152
    if test -n "$ac_tool_prefix"; then
 
5153
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4535
5154
  do
4536
5155
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4537
5156
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4538
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4539
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5157
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5158
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4540
5159
if test "${ac_cv_prog_CXX+set}" = set; then
4541
5160
  echo $ECHO_N "(cached) $ECHO_C" >&6
4542
5161
else
4549
5168
  IFS=$as_save_IFS
4550
5169
  test -z "$as_dir" && as_dir=.
4551
5170
  for ac_exec_ext in '' $ac_executable_extensions; do
4552
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5171
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553
5172
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4554
5173
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4555
5174
    break 2
4556
5175
  fi
4557
5176
done
4558
5177
done
 
5178
IFS=$as_save_IFS
4559
5179
 
4560
5180
fi
4561
5181
fi
4562
5182
CXX=$ac_cv_prog_CXX
4563
5183
if test -n "$CXX"; then
4564
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4565
 
echo "${ECHO_T}$CXX" >&6
 
5184
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5185
echo "${ECHO_T}$CXX" >&6; }
4566
5186
else
4567
 
  echo "$as_me:$LINENO: result: no" >&5
4568
 
echo "${ECHO_T}no" >&6
 
5187
  { echo "$as_me:$LINENO: result: no" >&5
 
5188
echo "${ECHO_T}no" >&6; }
4569
5189
fi
4570
5190
 
 
5191
 
4571
5192
    test -n "$CXX" && break
4572
5193
  done
4573
5194
fi
4574
5195
if test -z "$CXX"; then
4575
5196
  ac_ct_CXX=$CXX
4576
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5197
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4577
5198
do
4578
5199
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4579
5200
set dummy $ac_prog; ac_word=$2
4580
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4581
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5201
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5202
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4582
5203
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4583
5204
  echo $ECHO_N "(cached) $ECHO_C" >&6
4584
5205
else
4591
5212
  IFS=$as_save_IFS
4592
5213
  test -z "$as_dir" && as_dir=.
4593
5214
  for ac_exec_ext in '' $ac_executable_extensions; do
4594
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5215
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595
5216
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4596
5217
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4597
5218
    break 2
4598
5219
  fi
4599
5220
done
4600
5221
done
 
5222
IFS=$as_save_IFS
4601
5223
 
4602
5224
fi
4603
5225
fi
4604
5226
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4605
5227
if test -n "$ac_ct_CXX"; then
4606
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4607
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5228
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5229
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4608
5230
else
4609
 
  echo "$as_me:$LINENO: result: no" >&5
4610
 
echo "${ECHO_T}no" >&6
 
5231
  { echo "$as_me:$LINENO: result: no" >&5
 
5232
echo "${ECHO_T}no" >&6; }
4611
5233
fi
4612
5234
 
 
5235
 
4613
5236
  test -n "$ac_ct_CXX" && break
4614
5237
done
4615
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4616
 
 
4617
 
  CXX=$ac_ct_CXX
4618
 
fi
4619
 
 
4620
 
 
 
5238
 
 
5239
  if test "x$ac_ct_CXX" = x; then
 
5240
    CXX="g++"
 
5241
  else
 
5242
    case $cross_compiling:$ac_tool_warned in
 
5243
yes:)
 
5244
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5245
whose name does not start with the host triplet.  If you think this
 
5246
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5247
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5248
whose name does not start with the host triplet.  If you think this
 
5249
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5250
ac_tool_warned=yes ;;
 
5251
esac
 
5252
    CXX=$ac_ct_CXX
 
5253
  fi
 
5254
fi
 
5255
 
 
5256
  fi
 
5257
fi
4621
5258
# Provide some information about the compiler.
4622
 
echo "$as_me:$LINENO:" \
4623
 
     "checking for C++ compiler version" >&5
 
5259
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4624
5260
ac_compiler=`set X $ac_compile; echo $2`
4625
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4626
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4627
 
  ac_status=$?
4628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629
 
  (exit $ac_status); }
4630
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4631
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4632
 
  ac_status=$?
4633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634
 
  (exit $ac_status); }
4635
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4636
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5261
{ (ac_try="$ac_compiler --version >&5"
 
5262
case "(($ac_try" in
 
5263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5264
  *) ac_try_echo=$ac_try;;
 
5265
esac
 
5266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5267
  (eval "$ac_compiler --version >&5") 2>&5
 
5268
  ac_status=$?
 
5269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5270
  (exit $ac_status); }
 
5271
{ (ac_try="$ac_compiler -v >&5"
 
5272
case "(($ac_try" in
 
5273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5274
  *) ac_try_echo=$ac_try;;
 
5275
esac
 
5276
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5277
  (eval "$ac_compiler -v >&5") 2>&5
 
5278
  ac_status=$?
 
5279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5280
  (exit $ac_status); }
 
5281
{ (ac_try="$ac_compiler -V >&5"
 
5282
case "(($ac_try" in
 
5283
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5284
  *) ac_try_echo=$ac_try;;
 
5285
esac
 
5286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5287
  (eval "$ac_compiler -V >&5") 2>&5
4637
5288
  ac_status=$?
4638
5289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639
5290
  (exit $ac_status); }
4640
5291
 
4641
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4642
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5292
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5293
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4643
5294
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4644
5295
  echo $ECHO_N "(cached) $ECHO_C" >&6
4645
5296
else
4662
5313
}
4663
5314
_ACEOF
4664
5315
rm -f conftest.$ac_objext
4665
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4666
 
  (eval $ac_compile) 2>conftest.er1
 
5316
if { (ac_try="$ac_compile"
 
5317
case "(($ac_try" in
 
5318
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5319
  *) ac_try_echo=$ac_try;;
 
5320
esac
 
5321
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5322
  (eval "$ac_compile") 2>conftest.er1
4667
5323
  ac_status=$?
4668
5324
  grep -v '^ *+' conftest.er1 >conftest.err
4669
5325
  rm -f conftest.er1
4670
5326
  cat conftest.err >&5
4671
5327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672
 
  (exit $ac_status); } &&
4673
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4674
 
                         || test ! -s conftest.err'
4675
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676
 
  (eval $ac_try) 2>&5
4677
 
  ac_status=$?
4678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679
 
  (exit $ac_status); }; } &&
4680
 
         { ac_try='test -s conftest.$ac_objext'
4681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682
 
  (eval $ac_try) 2>&5
4683
 
  ac_status=$?
4684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685
 
  (exit $ac_status); }; }; then
 
5328
  (exit $ac_status); } && {
 
5329
         test -z "$ac_cxx_werror_flag" ||
 
5330
         test ! -s conftest.err
 
5331
       } && test -s conftest.$ac_objext; then
4686
5332
  ac_compiler_gnu=yes
4687
5333
else
4688
5334
  echo "$as_me: failed program was:" >&5
4689
5335
sed 's/^/| /' conftest.$ac_ext >&5
4690
5336
 
4691
 
ac_compiler_gnu=no
 
5337
        ac_compiler_gnu=no
4692
5338
fi
4693
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5339
 
 
5340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694
5341
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4695
5342
 
4696
5343
fi
4697
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4698
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5344
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5345
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4699
5346
GXX=`test $ac_compiler_gnu = yes && echo yes`
4700
5347
ac_test_CXXFLAGS=${CXXFLAGS+set}
4701
5348
ac_save_CXXFLAGS=$CXXFLAGS
4702
 
CXXFLAGS="-g"
4703
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4704
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5349
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5350
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4705
5351
if test "${ac_cv_prog_cxx_g+set}" = set; then
4706
5352
  echo $ECHO_N "(cached) $ECHO_C" >&6
4707
5353
else
4708
 
  cat >conftest.$ac_ext <<_ACEOF
4709
 
/* confdefs.h.  */
4710
 
_ACEOF
4711
 
cat confdefs.h >>conftest.$ac_ext
4712
 
cat >>conftest.$ac_ext <<_ACEOF
4713
 
/* end confdefs.h.  */
4714
 
 
4715
 
int
4716
 
main ()
4717
 
{
4718
 
 
4719
 
  ;
4720
 
  return 0;
4721
 
}
4722
 
_ACEOF
4723
 
rm -f conftest.$ac_objext
4724
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4725
 
  (eval $ac_compile) 2>conftest.er1
4726
 
  ac_status=$?
4727
 
  grep -v '^ *+' conftest.er1 >conftest.err
4728
 
  rm -f conftest.er1
4729
 
  cat conftest.err >&5
4730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731
 
  (exit $ac_status); } &&
4732
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4733
 
                         || test ! -s conftest.err'
4734
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735
 
  (eval $ac_try) 2>&5
4736
 
  ac_status=$?
4737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738
 
  (exit $ac_status); }; } &&
4739
 
         { ac_try='test -s conftest.$ac_objext'
4740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741
 
  (eval $ac_try) 2>&5
4742
 
  ac_status=$?
4743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744
 
  (exit $ac_status); }; }; then
4745
 
  ac_cv_prog_cxx_g=yes
4746
 
else
4747
 
  echo "$as_me: failed program was:" >&5
4748
 
sed 's/^/| /' conftest.$ac_ext >&5
4749
 
 
4750
 
ac_cv_prog_cxx_g=no
4751
 
fi
4752
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4753
 
fi
4754
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4755
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5354
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5355
   ac_cxx_werror_flag=yes
 
5356
   ac_cv_prog_cxx_g=no
 
5357
   CXXFLAGS="-g"
 
5358
   cat >conftest.$ac_ext <<_ACEOF
 
5359
/* confdefs.h.  */
 
5360
_ACEOF
 
5361
cat confdefs.h >>conftest.$ac_ext
 
5362
cat >>conftest.$ac_ext <<_ACEOF
 
5363
/* end confdefs.h.  */
 
5364
 
 
5365
int
 
5366
main ()
 
5367
{
 
5368
 
 
5369
  ;
 
5370
  return 0;
 
5371
}
 
5372
_ACEOF
 
5373
rm -f conftest.$ac_objext
 
5374
if { (ac_try="$ac_compile"
 
5375
case "(($ac_try" in
 
5376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5377
  *) ac_try_echo=$ac_try;;
 
5378
esac
 
5379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5380
  (eval "$ac_compile") 2>conftest.er1
 
5381
  ac_status=$?
 
5382
  grep -v '^ *+' conftest.er1 >conftest.err
 
5383
  rm -f conftest.er1
 
5384
  cat conftest.err >&5
 
5385
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5386
  (exit $ac_status); } && {
 
5387
         test -z "$ac_cxx_werror_flag" ||
 
5388
         test ! -s conftest.err
 
5389
       } && test -s conftest.$ac_objext; then
 
5390
  ac_cv_prog_cxx_g=yes
 
5391
else
 
5392
  echo "$as_me: failed program was:" >&5
 
5393
sed 's/^/| /' conftest.$ac_ext >&5
 
5394
 
 
5395
        CXXFLAGS=""
 
5396
      cat >conftest.$ac_ext <<_ACEOF
 
5397
/* confdefs.h.  */
 
5398
_ACEOF
 
5399
cat confdefs.h >>conftest.$ac_ext
 
5400
cat >>conftest.$ac_ext <<_ACEOF
 
5401
/* end confdefs.h.  */
 
5402
 
 
5403
int
 
5404
main ()
 
5405
{
 
5406
 
 
5407
  ;
 
5408
  return 0;
 
5409
}
 
5410
_ACEOF
 
5411
rm -f conftest.$ac_objext
 
5412
if { (ac_try="$ac_compile"
 
5413
case "(($ac_try" in
 
5414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5415
  *) ac_try_echo=$ac_try;;
 
5416
esac
 
5417
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5418
  (eval "$ac_compile") 2>conftest.er1
 
5419
  ac_status=$?
 
5420
  grep -v '^ *+' conftest.er1 >conftest.err
 
5421
  rm -f conftest.er1
 
5422
  cat conftest.err >&5
 
5423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5424
  (exit $ac_status); } && {
 
5425
         test -z "$ac_cxx_werror_flag" ||
 
5426
         test ! -s conftest.err
 
5427
       } && test -s conftest.$ac_objext; then
 
5428
  :
 
5429
else
 
5430
  echo "$as_me: failed program was:" >&5
 
5431
sed 's/^/| /' conftest.$ac_ext >&5
 
5432
 
 
5433
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5434
         CXXFLAGS="-g"
 
5435
         cat >conftest.$ac_ext <<_ACEOF
 
5436
/* confdefs.h.  */
 
5437
_ACEOF
 
5438
cat confdefs.h >>conftest.$ac_ext
 
5439
cat >>conftest.$ac_ext <<_ACEOF
 
5440
/* end confdefs.h.  */
 
5441
 
 
5442
int
 
5443
main ()
 
5444
{
 
5445
 
 
5446
  ;
 
5447
  return 0;
 
5448
}
 
5449
_ACEOF
 
5450
rm -f conftest.$ac_objext
 
5451
if { (ac_try="$ac_compile"
 
5452
case "(($ac_try" in
 
5453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5454
  *) ac_try_echo=$ac_try;;
 
5455
esac
 
5456
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5457
  (eval "$ac_compile") 2>conftest.er1
 
5458
  ac_status=$?
 
5459
  grep -v '^ *+' conftest.er1 >conftest.err
 
5460
  rm -f conftest.er1
 
5461
  cat conftest.err >&5
 
5462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5463
  (exit $ac_status); } && {
 
5464
         test -z "$ac_cxx_werror_flag" ||
 
5465
         test ! -s conftest.err
 
5466
       } && test -s conftest.$ac_objext; then
 
5467
  ac_cv_prog_cxx_g=yes
 
5468
else
 
5469
  echo "$as_me: failed program was:" >&5
 
5470
sed 's/^/| /' conftest.$ac_ext >&5
 
5471
 
 
5472
 
 
5473
fi
 
5474
 
 
5475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5476
fi
 
5477
 
 
5478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5479
fi
 
5480
 
 
5481
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5482
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5483
fi
 
5484
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5485
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4756
5486
if test "$ac_test_CXXFLAGS" = set; then
4757
5487
  CXXFLAGS=$ac_save_CXXFLAGS
4758
5488
elif test $ac_cv_prog_cxx_g = yes; then
4768
5498
    CXXFLAGS=
4769
5499
  fi
4770
5500
fi
4771
 
for ac_declaration in \
4772
 
   '' \
4773
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4774
 
   'extern "C" void std::exit (int); using std::exit;' \
4775
 
   'extern "C" void exit (int) throw ();' \
4776
 
   'extern "C" void exit (int);' \
4777
 
   'void exit (int);'
4778
 
do
4779
 
  cat >conftest.$ac_ext <<_ACEOF
4780
 
/* confdefs.h.  */
4781
 
_ACEOF
4782
 
cat confdefs.h >>conftest.$ac_ext
4783
 
cat >>conftest.$ac_ext <<_ACEOF
4784
 
/* end confdefs.h.  */
4785
 
$ac_declaration
4786
 
#include <stdlib.h>
4787
 
int
4788
 
main ()
4789
 
{
4790
 
exit (42);
4791
 
  ;
4792
 
  return 0;
4793
 
}
4794
 
_ACEOF
4795
 
rm -f conftest.$ac_objext
4796
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797
 
  (eval $ac_compile) 2>conftest.er1
4798
 
  ac_status=$?
4799
 
  grep -v '^ *+' conftest.er1 >conftest.err
4800
 
  rm -f conftest.er1
4801
 
  cat conftest.err >&5
4802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803
 
  (exit $ac_status); } &&
4804
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4805
 
                         || test ! -s conftest.err'
4806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807
 
  (eval $ac_try) 2>&5
4808
 
  ac_status=$?
4809
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810
 
  (exit $ac_status); }; } &&
4811
 
         { ac_try='test -s conftest.$ac_objext'
4812
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813
 
  (eval $ac_try) 2>&5
4814
 
  ac_status=$?
4815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816
 
  (exit $ac_status); }; }; then
4817
 
  :
4818
 
else
4819
 
  echo "$as_me: failed program was:" >&5
4820
 
sed 's/^/| /' conftest.$ac_ext >&5
4821
 
 
4822
 
continue
4823
 
fi
4824
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4825
 
  cat >conftest.$ac_ext <<_ACEOF
4826
 
/* confdefs.h.  */
4827
 
_ACEOF
4828
 
cat confdefs.h >>conftest.$ac_ext
4829
 
cat >>conftest.$ac_ext <<_ACEOF
4830
 
/* end confdefs.h.  */
4831
 
$ac_declaration
4832
 
int
4833
 
main ()
4834
 
{
4835
 
exit (42);
4836
 
  ;
4837
 
  return 0;
4838
 
}
4839
 
_ACEOF
4840
 
rm -f conftest.$ac_objext
4841
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4842
 
  (eval $ac_compile) 2>conftest.er1
4843
 
  ac_status=$?
4844
 
  grep -v '^ *+' conftest.er1 >conftest.err
4845
 
  rm -f conftest.er1
4846
 
  cat conftest.err >&5
4847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848
 
  (exit $ac_status); } &&
4849
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4850
 
                         || test ! -s conftest.err'
4851
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852
 
  (eval $ac_try) 2>&5
4853
 
  ac_status=$?
4854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855
 
  (exit $ac_status); }; } &&
4856
 
         { ac_try='test -s conftest.$ac_objext'
4857
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858
 
  (eval $ac_try) 2>&5
4859
 
  ac_status=$?
4860
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861
 
  (exit $ac_status); }; }; then
4862
 
  break
4863
 
else
4864
 
  echo "$as_me: failed program was:" >&5
4865
 
sed 's/^/| /' conftest.$ac_ext >&5
4866
 
 
4867
 
fi
4868
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4869
 
done
4870
 
rm -f conftest*
4871
 
if test -n "$ac_declaration"; then
4872
 
  echo '#ifdef __cplusplus' >>confdefs.h
4873
 
  echo $ac_declaration      >>confdefs.h
4874
 
  echo '#endif'             >>confdefs.h
4875
 
fi
4876
 
 
4877
 
ac_ext=cc
 
5501
ac_ext=cpp
4878
5502
ac_cpp='$CXXCPP $CPPFLAGS'
4879
5503
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4880
5504
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882
5506
 
4883
5507
depcc="$CXX"  am_compiler_list=
4884
5508
 
4885
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4886
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5509
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5510
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4887
5511
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4888
5512
  echo $ECHO_N "(cached) $ECHO_C" >&6
4889
5513
else
4972
5596
fi
4973
5597
 
4974
5598
fi
4975
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4976
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5599
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5600
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4977
5601
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4978
5602
 
4979
5603
 
4994
5618
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4995
5619
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4996
5620
    (test "X$CXX" != "Xg++"))) ; then
4997
 
  ac_ext=cc
 
5621
  ac_ext=cpp
4998
5622
ac_cpp='$CXXCPP $CPPFLAGS'
4999
5623
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5000
5624
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5001
5625
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5002
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5003
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5626
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5627
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5004
5628
if test -z "$CXXCPP"; then
5005
5629
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5006
5630
  echo $ECHO_N "(cached) $ECHO_C" >&6
5030
5654
#endif
5031
5655
                     Syntax error
5032
5656
_ACEOF
5033
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5034
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5657
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5658
case "(($ac_try" in
 
5659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5660
  *) ac_try_echo=$ac_try;;
 
5661
esac
 
5662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5663
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5035
5664
  ac_status=$?
5036
5665
  grep -v '^ *+' conftest.er1 >conftest.err
5037
5666
  rm -f conftest.er1
5038
5667
  cat conftest.err >&5
5039
5668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040
 
  (exit $ac_status); } >/dev/null; then
5041
 
  if test -s conftest.err; then
5042
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5043
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5044
 
  else
5045
 
    ac_cpp_err=
5046
 
  fi
5047
 
else
5048
 
  ac_cpp_err=yes
5049
 
fi
5050
 
if test -z "$ac_cpp_err"; then
 
5669
  (exit $ac_status); } >/dev/null && {
 
5670
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5671
         test ! -s conftest.err
 
5672
       }; then
5051
5673
  :
5052
5674
else
5053
5675
  echo "$as_me: failed program was:" >&5
5056
5678
  # Broken: fails on valid input.
5057
5679
continue
5058
5680
fi
 
5681
 
5059
5682
rm -f conftest.err conftest.$ac_ext
5060
5683
 
5061
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5684
  # OK, works on sane cases.  Now check whether nonexistent headers
5062
5685
  # can be detected and how.
5063
5686
  cat >conftest.$ac_ext <<_ACEOF
5064
5687
/* confdefs.h.  */
5068
5691
/* end confdefs.h.  */
5069
5692
#include <ac_nonexistent.h>
5070
5693
_ACEOF
5071
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5072
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5694
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5695
case "(($ac_try" in
 
5696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5697
  *) ac_try_echo=$ac_try;;
 
5698
esac
 
5699
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5700
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5073
5701
  ac_status=$?
5074
5702
  grep -v '^ *+' conftest.er1 >conftest.err
5075
5703
  rm -f conftest.er1
5076
5704
  cat conftest.err >&5
5077
5705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078
 
  (exit $ac_status); } >/dev/null; then
5079
 
  if test -s conftest.err; then
5080
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5081
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5082
 
  else
5083
 
    ac_cpp_err=
5084
 
  fi
5085
 
else
5086
 
  ac_cpp_err=yes
5087
 
fi
5088
 
if test -z "$ac_cpp_err"; then
 
5706
  (exit $ac_status); } >/dev/null && {
 
5707
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5708
         test ! -s conftest.err
 
5709
       }; then
5089
5710
  # Broken: success on invalid input.
5090
5711
continue
5091
5712
else
5096
5717
ac_preproc_ok=:
5097
5718
break
5098
5719
fi
 
5720
 
5099
5721
rm -f conftest.err conftest.$ac_ext
5100
5722
 
5101
5723
done
5113
5735
else
5114
5736
  ac_cv_prog_CXXCPP=$CXXCPP
5115
5737
fi
5116
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5117
 
echo "${ECHO_T}$CXXCPP" >&6
 
5738
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5739
echo "${ECHO_T}$CXXCPP" >&6; }
5118
5740
ac_preproc_ok=false
5119
5741
for ac_cxx_preproc_warn_flag in '' yes
5120
5742
do
5137
5759
#endif
5138
5760
                     Syntax error
5139
5761
_ACEOF
5140
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5141
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5762
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5763
case "(($ac_try" in
 
5764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5765
  *) ac_try_echo=$ac_try;;
 
5766
esac
 
5767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5768
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5142
5769
  ac_status=$?
5143
5770
  grep -v '^ *+' conftest.er1 >conftest.err
5144
5771
  rm -f conftest.er1
5145
5772
  cat conftest.err >&5
5146
5773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147
 
  (exit $ac_status); } >/dev/null; then
5148
 
  if test -s conftest.err; then
5149
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5150
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5151
 
  else
5152
 
    ac_cpp_err=
5153
 
  fi
5154
 
else
5155
 
  ac_cpp_err=yes
5156
 
fi
5157
 
if test -z "$ac_cpp_err"; then
 
5774
  (exit $ac_status); } >/dev/null && {
 
5775
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5776
         test ! -s conftest.err
 
5777
       }; then
5158
5778
  :
5159
5779
else
5160
5780
  echo "$as_me: failed program was:" >&5
5163
5783
  # Broken: fails on valid input.
5164
5784
continue
5165
5785
fi
 
5786
 
5166
5787
rm -f conftest.err conftest.$ac_ext
5167
5788
 
5168
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5789
  # OK, works on sane cases.  Now check whether nonexistent headers
5169
5790
  # can be detected and how.
5170
5791
  cat >conftest.$ac_ext <<_ACEOF
5171
5792
/* confdefs.h.  */
5175
5796
/* end confdefs.h.  */
5176
5797
#include <ac_nonexistent.h>
5177
5798
_ACEOF
5178
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5179
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5799
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5800
case "(($ac_try" in
 
5801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5802
  *) ac_try_echo=$ac_try;;
 
5803
esac
 
5804
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5805
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5180
5806
  ac_status=$?
5181
5807
  grep -v '^ *+' conftest.er1 >conftest.err
5182
5808
  rm -f conftest.er1
5183
5809
  cat conftest.err >&5
5184
5810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185
 
  (exit $ac_status); } >/dev/null; then
5186
 
  if test -s conftest.err; then
5187
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5188
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5189
 
  else
5190
 
    ac_cpp_err=
5191
 
  fi
5192
 
else
5193
 
  ac_cpp_err=yes
5194
 
fi
5195
 
if test -z "$ac_cpp_err"; then
 
5811
  (exit $ac_status); } >/dev/null && {
 
5812
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5813
         test ! -s conftest.err
 
5814
       }; then
5196
5815
  # Broken: success on invalid input.
5197
5816
continue
5198
5817
else
5203
5822
ac_preproc_ok=:
5204
5823
break
5205
5824
fi
 
5825
 
5206
5826
rm -f conftest.err conftest.$ac_ext
5207
5827
 
5208
5828
done
5218
5838
   { (exit 1); exit 1; }; }
5219
5839
fi
5220
5840
 
5221
 
ac_ext=cc
 
5841
ac_ext=cpp
5222
5842
ac_cpp='$CXXCPP $CPPFLAGS'
5223
5843
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224
5844
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232
5852
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5233
5853
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5234
5854
if test -n "$ac_tool_prefix"; then
5235
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5855
  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
5236
5856
  do
5237
5857
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5238
5858
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5239
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5240
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5859
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5860
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241
5861
if test "${ac_cv_prog_F77+set}" = set; then
5242
5862
  echo $ECHO_N "(cached) $ECHO_C" >&6
5243
5863
else
5250
5870
  IFS=$as_save_IFS
5251
5871
  test -z "$as_dir" && as_dir=.
5252
5872
  for ac_exec_ext in '' $ac_executable_extensions; do
5253
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254
5874
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5255
5875
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256
5876
    break 2
5257
5877
  fi
5258
5878
done
5259
5879
done
 
5880
IFS=$as_save_IFS
5260
5881
 
5261
5882
fi
5262
5883
fi
5263
5884
F77=$ac_cv_prog_F77
5264
5885
if test -n "$F77"; then
5265
 
  echo "$as_me:$LINENO: result: $F77" >&5
5266
 
echo "${ECHO_T}$F77" >&6
 
5886
  { echo "$as_me:$LINENO: result: $F77" >&5
 
5887
echo "${ECHO_T}$F77" >&6; }
5267
5888
else
5268
 
  echo "$as_me:$LINENO: result: no" >&5
5269
 
echo "${ECHO_T}no" >&6
 
5889
  { echo "$as_me:$LINENO: result: no" >&5
 
5890
echo "${ECHO_T}no" >&6; }
5270
5891
fi
5271
5892
 
 
5893
 
5272
5894
    test -n "$F77" && break
5273
5895
  done
5274
5896
fi
5275
5897
if test -z "$F77"; then
5276
5898
  ac_ct_F77=$F77
5277
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5899
  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
5278
5900
do
5279
5901
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5280
5902
set dummy $ac_prog; ac_word=$2
5281
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5282
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5903
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5904
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5283
5905
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5284
5906
  echo $ECHO_N "(cached) $ECHO_C" >&6
5285
5907
else
5292
5914
  IFS=$as_save_IFS
5293
5915
  test -z "$as_dir" && as_dir=.
5294
5916
  for ac_exec_ext in '' $ac_executable_extensions; do
5295
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5296
5918
    ac_cv_prog_ac_ct_F77="$ac_prog"
5297
5919
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5298
5920
    break 2
5299
5921
  fi
5300
5922
done
5301
5923
done
 
5924
IFS=$as_save_IFS
5302
5925
 
5303
5926
fi
5304
5927
fi
5305
5928
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5306
5929
if test -n "$ac_ct_F77"; then
5307
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5308
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
5930
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
5931
echo "${ECHO_T}$ac_ct_F77" >&6; }
5309
5932
else
5310
 
  echo "$as_me:$LINENO: result: no" >&5
5311
 
echo "${ECHO_T}no" >&6
 
5933
  { echo "$as_me:$LINENO: result: no" >&5
 
5934
echo "${ECHO_T}no" >&6; }
5312
5935
fi
5313
5936
 
 
5937
 
5314
5938
  test -n "$ac_ct_F77" && break
5315
5939
done
5316
5940
 
5317
 
  F77=$ac_ct_F77
 
5941
  if test "x$ac_ct_F77" = x; then
 
5942
    F77=""
 
5943
  else
 
5944
    case $cross_compiling:$ac_tool_warned in
 
5945
yes:)
 
5946
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5947
whose name does not start with the host triplet.  If you think this
 
5948
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5949
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5950
whose name does not start with the host triplet.  If you think this
 
5951
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5952
ac_tool_warned=yes ;;
 
5953
esac
 
5954
    F77=$ac_ct_F77
 
5955
  fi
5318
5956
fi
5319
5957
 
5320
5958
 
5321
5959
# Provide some information about the compiler.
5322
 
echo "$as_me:5322:" \
5323
 
     "checking for Fortran 77 compiler version" >&5
 
5960
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5324
5961
ac_compiler=`set X $ac_compile; echo $2`
5325
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5326
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5327
 
  ac_status=$?
5328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329
 
  (exit $ac_status); }
5330
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5331
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5332
 
  ac_status=$?
5333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334
 
  (exit $ac_status); }
5335
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5336
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5962
{ (ac_try="$ac_compiler --version >&5"
 
5963
case "(($ac_try" in
 
5964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5965
  *) ac_try_echo=$ac_try;;
 
5966
esac
 
5967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5968
  (eval "$ac_compiler --version >&5") 2>&5
 
5969
  ac_status=$?
 
5970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5971
  (exit $ac_status); }
 
5972
{ (ac_try="$ac_compiler -v >&5"
 
5973
case "(($ac_try" in
 
5974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5975
  *) ac_try_echo=$ac_try;;
 
5976
esac
 
5977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5978
  (eval "$ac_compiler -v >&5") 2>&5
 
5979
  ac_status=$?
 
5980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5981
  (exit $ac_status); }
 
5982
{ (ac_try="$ac_compiler -V >&5"
 
5983
case "(($ac_try" in
 
5984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5985
  *) ac_try_echo=$ac_try;;
 
5986
esac
 
5987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5988
  (eval "$ac_compiler -V >&5") 2>&5
5337
5989
  ac_status=$?
5338
5990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339
5991
  (exit $ac_status); }
5343
5995
# input file.  (Note that this only needs to work for GNU compilers.)
5344
5996
ac_save_ext=$ac_ext
5345
5997
ac_ext=F
5346
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5347
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
5998
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
5999
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5348
6000
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5349
6001
  echo $ECHO_N "(cached) $ECHO_C" >&6
5350
6002
else
5357
6009
      end
5358
6010
_ACEOF
5359
6011
rm -f conftest.$ac_objext
5360
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5361
 
  (eval $ac_compile) 2>conftest.er1
 
6012
if { (ac_try="$ac_compile"
 
6013
case "(($ac_try" in
 
6014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6015
  *) ac_try_echo=$ac_try;;
 
6016
esac
 
6017
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6018
  (eval "$ac_compile") 2>conftest.er1
5362
6019
  ac_status=$?
5363
6020
  grep -v '^ *+' conftest.er1 >conftest.err
5364
6021
  rm -f conftest.er1
5365
6022
  cat conftest.err >&5
5366
6023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367
 
  (exit $ac_status); } &&
5368
 
         { ac_try='test -z "$ac_f77_werror_flag"
5369
 
                         || test ! -s conftest.err'
5370
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5371
 
  (eval $ac_try) 2>&5
5372
 
  ac_status=$?
5373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374
 
  (exit $ac_status); }; } &&
5375
 
         { ac_try='test -s conftest.$ac_objext'
5376
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377
 
  (eval $ac_try) 2>&5
5378
 
  ac_status=$?
5379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380
 
  (exit $ac_status); }; }; then
 
6024
  (exit $ac_status); } && {
 
6025
         test -z "$ac_f77_werror_flag" ||
 
6026
         test ! -s conftest.err
 
6027
       } && test -s conftest.$ac_objext; then
5381
6028
  ac_compiler_gnu=yes
5382
6029
else
5383
6030
  echo "$as_me: failed program was:" >&5
5384
6031
sed 's/^/| /' conftest.$ac_ext >&5
5385
6032
 
5386
 
ac_compiler_gnu=no
 
6033
        ac_compiler_gnu=no
5387
6034
fi
5388
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6035
 
 
6036
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5389
6037
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5390
6038
 
5391
6039
fi
5392
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5393
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6040
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6041
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5394
6042
ac_ext=$ac_save_ext
5395
6043
ac_test_FFLAGS=${FFLAGS+set}
5396
6044
ac_save_FFLAGS=$FFLAGS
5397
6045
FFLAGS=
5398
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5399
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6046
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6047
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5400
6048
if test "${ac_cv_prog_f77_g+set}" = set; then
5401
6049
  echo $ECHO_N "(cached) $ECHO_C" >&6
5402
6050
else
5407
6055
      end
5408
6056
_ACEOF
5409
6057
rm -f conftest.$ac_objext
5410
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5411
 
  (eval $ac_compile) 2>conftest.er1
 
6058
if { (ac_try="$ac_compile"
 
6059
case "(($ac_try" in
 
6060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6061
  *) ac_try_echo=$ac_try;;
 
6062
esac
 
6063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6064
  (eval "$ac_compile") 2>conftest.er1
5412
6065
  ac_status=$?
5413
6066
  grep -v '^ *+' conftest.er1 >conftest.err
5414
6067
  rm -f conftest.er1
5415
6068
  cat conftest.err >&5
5416
6069
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
 
  (exit $ac_status); } &&
5418
 
         { ac_try='test -z "$ac_f77_werror_flag"
5419
 
                         || test ! -s conftest.err'
5420
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421
 
  (eval $ac_try) 2>&5
5422
 
  ac_status=$?
5423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424
 
  (exit $ac_status); }; } &&
5425
 
         { ac_try='test -s conftest.$ac_objext'
5426
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5427
 
  (eval $ac_try) 2>&5
5428
 
  ac_status=$?
5429
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430
 
  (exit $ac_status); }; }; then
 
6070
  (exit $ac_status); } && {
 
6071
         test -z "$ac_f77_werror_flag" ||
 
6072
         test ! -s conftest.err
 
6073
       } && test -s conftest.$ac_objext; then
5431
6074
  ac_cv_prog_f77_g=yes
5432
6075
else
5433
6076
  echo "$as_me: failed program was:" >&5
5434
6077
sed 's/^/| /' conftest.$ac_ext >&5
5435
6078
 
5436
 
ac_cv_prog_f77_g=no
5437
 
fi
5438
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5439
 
 
5440
 
fi
5441
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5442
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6079
        ac_cv_prog_f77_g=no
 
6080
fi
 
6081
 
 
6082
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6083
 
 
6084
fi
 
6085
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6086
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5443
6087
if test "$ac_test_FFLAGS" = set; then
5444
6088
  FFLAGS=$ac_save_FFLAGS
5445
6089
elif test $ac_cv_prog_f77_g = yes; then
5468
6112
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5469
6113
 
5470
6114
# find the maximum length of command line arguments
5471
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5472
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6115
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6116
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5473
6117
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5474
6118
  echo $ECHO_N "(cached) $ECHO_C" >&6
5475
6119
else
5577
6221
fi
5578
6222
 
5579
6223
if test -n $lt_cv_sys_max_cmd_len ; then
5580
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5581
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6224
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6225
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5582
6226
else
5583
 
  echo "$as_me:$LINENO: result: none" >&5
5584
 
echo "${ECHO_T}none" >&6
 
6227
  { echo "$as_me:$LINENO: result: none" >&5
 
6228
echo "${ECHO_T}none" >&6; }
5585
6229
fi
5586
6230
 
5587
6231
 
5588
6232
 
5589
6233
 
5590
6234
# Check for command to grab the raw symbol name followed by C symbol from nm.
5591
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5592
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6235
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6236
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5593
6237
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5594
6238
  echo $ECHO_N "(cached) $ECHO_C" >&6
5595
6239
else
5624
6268
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5625
6269
  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'"
5626
6270
  ;;
5627
 
linux*)
 
6271
linux* | k*bsd*-gnu)
5628
6272
  if test "$host_cpu" = ia64; then
5629
6273
    symcode='[ABCDGIRSTW]'
5630
6274
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5793
6437
  lt_cv_sys_global_symbol_to_cdecl=
5794
6438
fi
5795
6439
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5796
 
  echo "$as_me:$LINENO: result: failed" >&5
5797
 
echo "${ECHO_T}failed" >&6
 
6440
  { echo "$as_me:$LINENO: result: failed" >&5
 
6441
echo "${ECHO_T}failed" >&6; }
5798
6442
else
5799
 
  echo "$as_me:$LINENO: result: ok" >&5
5800
 
echo "${ECHO_T}ok" >&6
 
6443
  { echo "$as_me:$LINENO: result: ok" >&5
 
6444
echo "${ECHO_T}ok" >&6; }
5801
6445
fi
5802
6446
 
5803
 
echo "$as_me:$LINENO: checking for objdir" >&5
5804
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6447
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6448
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5805
6449
if test "${lt_cv_objdir+set}" = set; then
5806
6450
  echo $ECHO_N "(cached) $ECHO_C" >&6
5807
6451
else
5815
6459
fi
5816
6460
rmdir .libs 2>/dev/null
5817
6461
fi
5818
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5819
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6462
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6463
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5820
6464
objdir=$lt_cv_objdir
5821
6465
 
5822
6466
 
5867
6511
if test -n "$ac_tool_prefix"; then
5868
6512
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5869
6513
set dummy ${ac_tool_prefix}ar; ac_word=$2
5870
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5871
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6514
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6515
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872
6516
if test "${ac_cv_prog_AR+set}" = set; then
5873
6517
  echo $ECHO_N "(cached) $ECHO_C" >&6
5874
6518
else
5881
6525
  IFS=$as_save_IFS
5882
6526
  test -z "$as_dir" && as_dir=.
5883
6527
  for ac_exec_ext in '' $ac_executable_extensions; do
5884
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6528
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885
6529
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5886
6530
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5887
6531
    break 2
5888
6532
  fi
5889
6533
done
5890
6534
done
 
6535
IFS=$as_save_IFS
5891
6536
 
5892
6537
fi
5893
6538
fi
5894
6539
AR=$ac_cv_prog_AR
5895
6540
if test -n "$AR"; then
5896
 
  echo "$as_me:$LINENO: result: $AR" >&5
5897
 
echo "${ECHO_T}$AR" >&6
 
6541
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6542
echo "${ECHO_T}$AR" >&6; }
5898
6543
else
5899
 
  echo "$as_me:$LINENO: result: no" >&5
5900
 
echo "${ECHO_T}no" >&6
 
6544
  { echo "$as_me:$LINENO: result: no" >&5
 
6545
echo "${ECHO_T}no" >&6; }
5901
6546
fi
 
6547
 
5902
6548
 
5903
6549
fi
5904
6550
if test -z "$ac_cv_prog_AR"; then
5905
6551
  ac_ct_AR=$AR
5906
6552
  # Extract the first word of "ar", so it can be a program name with args.
5907
6553
set dummy ar; ac_word=$2
5908
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5909
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6554
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6555
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5910
6556
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5911
6557
  echo $ECHO_N "(cached) $ECHO_C" >&6
5912
6558
else
5919
6565
  IFS=$as_save_IFS
5920
6566
  test -z "$as_dir" && as_dir=.
5921
6567
  for ac_exec_ext in '' $ac_executable_extensions; do
5922
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6568
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5923
6569
    ac_cv_prog_ac_ct_AR="ar"
5924
6570
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5925
6571
    break 2
5926
6572
  fi
5927
6573
done
5928
6574
done
 
6575
IFS=$as_save_IFS
5929
6576
 
5930
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5931
6577
fi
5932
6578
fi
5933
6579
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5934
6580
if test -n "$ac_ct_AR"; then
5935
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5936
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6581
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6582
echo "${ECHO_T}$ac_ct_AR" >&6; }
5937
6583
else
5938
 
  echo "$as_me:$LINENO: result: no" >&5
5939
 
echo "${ECHO_T}no" >&6
 
6584
  { echo "$as_me:$LINENO: result: no" >&5
 
6585
echo "${ECHO_T}no" >&6; }
5940
6586
fi
5941
6587
 
5942
 
  AR=$ac_ct_AR
 
6588
  if test "x$ac_ct_AR" = x; then
 
6589
    AR="false"
 
6590
  else
 
6591
    case $cross_compiling:$ac_tool_warned in
 
6592
yes:)
 
6593
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6594
whose name does not start with the host triplet.  If you think this
 
6595
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6596
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6597
whose name does not start with the host triplet.  If you think this
 
6598
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6599
ac_tool_warned=yes ;;
 
6600
esac
 
6601
    AR=$ac_ct_AR
 
6602
  fi
5943
6603
else
5944
6604
  AR="$ac_cv_prog_AR"
5945
6605
fi
5947
6607
if test -n "$ac_tool_prefix"; then
5948
6608
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5949
6609
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5950
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5951
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6610
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6611
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5952
6612
if test "${ac_cv_prog_RANLIB+set}" = set; then
5953
6613
  echo $ECHO_N "(cached) $ECHO_C" >&6
5954
6614
else
5961
6621
  IFS=$as_save_IFS
5962
6622
  test -z "$as_dir" && as_dir=.
5963
6623
  for ac_exec_ext in '' $ac_executable_extensions; do
5964
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6624
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965
6625
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5966
6626
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5967
6627
    break 2
5968
6628
  fi
5969
6629
done
5970
6630
done
 
6631
IFS=$as_save_IFS
5971
6632
 
5972
6633
fi
5973
6634
fi
5974
6635
RANLIB=$ac_cv_prog_RANLIB
5975
6636
if test -n "$RANLIB"; then
5976
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5977
 
echo "${ECHO_T}$RANLIB" >&6
 
6637
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6638
echo "${ECHO_T}$RANLIB" >&6; }
5978
6639
else
5979
 
  echo "$as_me:$LINENO: result: no" >&5
5980
 
echo "${ECHO_T}no" >&6
 
6640
  { echo "$as_me:$LINENO: result: no" >&5
 
6641
echo "${ECHO_T}no" >&6; }
5981
6642
fi
 
6643
 
5982
6644
 
5983
6645
fi
5984
6646
if test -z "$ac_cv_prog_RANLIB"; then
5985
6647
  ac_ct_RANLIB=$RANLIB
5986
6648
  # Extract the first word of "ranlib", so it can be a program name with args.
5987
6649
set dummy ranlib; ac_word=$2
5988
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5989
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6650
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6651
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5990
6652
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5991
6653
  echo $ECHO_N "(cached) $ECHO_C" >&6
5992
6654
else
5999
6661
  IFS=$as_save_IFS
6000
6662
  test -z "$as_dir" && as_dir=.
6001
6663
  for ac_exec_ext in '' $ac_executable_extensions; do
6002
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6664
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6003
6665
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6004
6666
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6005
6667
    break 2
6006
6668
  fi
6007
6669
done
6008
6670
done
 
6671
IFS=$as_save_IFS
6009
6672
 
6010
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6011
6673
fi
6012
6674
fi
6013
6675
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6014
6676
if test -n "$ac_ct_RANLIB"; then
6015
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6016
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6677
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6678
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6017
6679
else
6018
 
  echo "$as_me:$LINENO: result: no" >&5
6019
 
echo "${ECHO_T}no" >&6
 
6680
  { echo "$as_me:$LINENO: result: no" >&5
 
6681
echo "${ECHO_T}no" >&6; }
6020
6682
fi
6021
6683
 
6022
 
  RANLIB=$ac_ct_RANLIB
 
6684
  if test "x$ac_ct_RANLIB" = x; then
 
6685
    RANLIB=":"
 
6686
  else
 
6687
    case $cross_compiling:$ac_tool_warned in
 
6688
yes:)
 
6689
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6690
whose name does not start with the host triplet.  If you think this
 
6691
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6692
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6693
whose name does not start with the host triplet.  If you think this
 
6694
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6695
ac_tool_warned=yes ;;
 
6696
esac
 
6697
    RANLIB=$ac_ct_RANLIB
 
6698
  fi
6023
6699
else
6024
6700
  RANLIB="$ac_cv_prog_RANLIB"
6025
6701
fi
6027
6703
if test -n "$ac_tool_prefix"; then
6028
6704
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6029
6705
set dummy ${ac_tool_prefix}strip; ac_word=$2
6030
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6031
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6706
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6707
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6032
6708
if test "${ac_cv_prog_STRIP+set}" = set; then
6033
6709
  echo $ECHO_N "(cached) $ECHO_C" >&6
6034
6710
else
6041
6717
  IFS=$as_save_IFS
6042
6718
  test -z "$as_dir" && as_dir=.
6043
6719
  for ac_exec_ext in '' $ac_executable_extensions; do
6044
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045
6721
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6046
6722
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6047
6723
    break 2
6048
6724
  fi
6049
6725
done
6050
6726
done
 
6727
IFS=$as_save_IFS
6051
6728
 
6052
6729
fi
6053
6730
fi
6054
6731
STRIP=$ac_cv_prog_STRIP
6055
6732
if test -n "$STRIP"; then
6056
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6057
 
echo "${ECHO_T}$STRIP" >&6
 
6733
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6734
echo "${ECHO_T}$STRIP" >&6; }
6058
6735
else
6059
 
  echo "$as_me:$LINENO: result: no" >&5
6060
 
echo "${ECHO_T}no" >&6
 
6736
  { echo "$as_me:$LINENO: result: no" >&5
 
6737
echo "${ECHO_T}no" >&6; }
6061
6738
fi
 
6739
 
6062
6740
 
6063
6741
fi
6064
6742
if test -z "$ac_cv_prog_STRIP"; then
6065
6743
  ac_ct_STRIP=$STRIP
6066
6744
  # Extract the first word of "strip", so it can be a program name with args.
6067
6745
set dummy strip; ac_word=$2
6068
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6069
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6746
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6747
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070
6748
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6071
6749
  echo $ECHO_N "(cached) $ECHO_C" >&6
6072
6750
else
6079
6757
  IFS=$as_save_IFS
6080
6758
  test -z "$as_dir" && as_dir=.
6081
6759
  for ac_exec_ext in '' $ac_executable_extensions; do
6082
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083
6761
    ac_cv_prog_ac_ct_STRIP="strip"
6084
6762
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6085
6763
    break 2
6086
6764
  fi
6087
6765
done
6088
6766
done
 
6767
IFS=$as_save_IFS
6089
6768
 
6090
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6091
6769
fi
6092
6770
fi
6093
6771
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6094
6772
if test -n "$ac_ct_STRIP"; then
6095
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6096
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6773
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6774
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6097
6775
else
6098
 
  echo "$as_me:$LINENO: result: no" >&5
6099
 
echo "${ECHO_T}no" >&6
 
6776
  { echo "$as_me:$LINENO: result: no" >&5
 
6777
echo "${ECHO_T}no" >&6; }
6100
6778
fi
6101
6779
 
6102
 
  STRIP=$ac_ct_STRIP
 
6780
  if test "x$ac_ct_STRIP" = x; then
 
6781
    STRIP=":"
 
6782
  else
 
6783
    case $cross_compiling:$ac_tool_warned in
 
6784
yes:)
 
6785
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6786
whose name does not start with the host triplet.  If you think this
 
6787
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6788
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6789
whose name does not start with the host triplet.  If you think this
 
6790
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6791
ac_tool_warned=yes ;;
 
6792
esac
 
6793
    STRIP=$ac_ct_STRIP
 
6794
  fi
6103
6795
else
6104
6796
  STRIP="$ac_cv_prog_STRIP"
6105
6797
fi
6158
6850
case $deplibs_check_method in
6159
6851
file_magic*)
6160
6852
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6161
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6162
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
6853
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6854
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6163
6855
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6164
6856
  echo $ECHO_N "(cached) $ECHO_C" >&6
6165
6857
else
6211
6903
 
6212
6904
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6213
6905
if test -n "$MAGIC_CMD"; then
6214
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6215
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6906
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6907
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6216
6908
else
6217
 
  echo "$as_me:$LINENO: result: no" >&5
6218
 
echo "${ECHO_T}no" >&6
 
6909
  { echo "$as_me:$LINENO: result: no" >&5
 
6910
echo "${ECHO_T}no" >&6; }
6219
6911
fi
6220
6912
 
6221
6913
if test -z "$lt_cv_path_MAGIC_CMD"; then
6222
6914
  if test -n "$ac_tool_prefix"; then
6223
 
    echo "$as_me:$LINENO: checking for file" >&5
6224
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
6915
    { echo "$as_me:$LINENO: checking for file" >&5
 
6916
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6225
6917
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6226
6918
  echo $ECHO_N "(cached) $ECHO_C" >&6
6227
6919
else
6273
6965
 
6274
6966
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6275
6967
if test -n "$MAGIC_CMD"; then
6276
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6277
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6968
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6969
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6278
6970
else
6279
 
  echo "$as_me:$LINENO: result: no" >&5
6280
 
echo "${ECHO_T}no" >&6
 
6971
  { echo "$as_me:$LINENO: result: no" >&5
 
6972
echo "${ECHO_T}no" >&6; }
6281
6973
fi
6282
6974
 
6283
6975
  else
6292
6984
enable_dlopen=no
6293
6985
enable_win32_dll=no
6294
6986
 
6295
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
6987
# Check whether --enable-libtool-lock was given.
6296
6988
if test "${enable_libtool_lock+set}" = set; then
6297
 
  enableval="$enable_libtool_lock"
 
6989
  enableval=$enable_libtool_lock;
 
6990
fi
6298
6991
 
6299
 
fi;
6300
6992
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6301
6993
 
6302
6994
 
6303
 
# Check whether --with-pic or --without-pic was given.
 
6995
# Check whether --with-pic was given.
6304
6996
if test "${with_pic+set}" = set; then
6305
 
  withval="$with_pic"
6306
 
  pic_mode="$withval"
 
6997
  withval=$with_pic; pic_mode="$withval"
6307
6998
else
6308
6999
  pic_mode=default
6309
 
fi;
 
7000
fi
 
7001
 
6310
7002
test -z "$pic_mode" && pic_mode=default
6311
7003
 
6312
7004
# Use C for the default configuration in the libtool script
6364
7056
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6365
7057
 
6366
7058
 
6367
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6368
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7059
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7060
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6369
7061
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6370
7062
  echo $ECHO_N "(cached) $ECHO_C" >&6
6371
7063
else
6382
7074
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6383
7075
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6384
7076
   -e 's:$: $lt_compiler_flag:'`
6385
 
   (eval echo "\"\$as_me:6385: $lt_compile\"" >&5)
 
7077
   (eval echo "\"\$as_me:7077: $lt_compile\"" >&5)
6386
7078
   (eval "$lt_compile" 2>conftest.err)
6387
7079
   ac_status=$?
6388
7080
   cat conftest.err >&5
6389
 
   echo "$as_me:6389: \$? = $ac_status" >&5
 
7081
   echo "$as_me:7081: \$? = $ac_status" >&5
6390
7082
   if (exit $ac_status) && test -s "$ac_outfile"; then
6391
7083
     # The compiler can only warn and ignore the option if not recognized
6392
7084
     # So say no if there are warnings other than the usual output.
6399
7091
   $rm conftest*
6400
7092
 
6401
7093
fi
6402
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6403
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7094
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7095
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6404
7096
 
6405
7097
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6406
7098
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6414
7106
lt_prog_compiler_pic=
6415
7107
lt_prog_compiler_static=
6416
7108
 
6417
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6418
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7109
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7110
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6419
7111
 
6420
7112
  if test "$GCC" = yes; then
6421
7113
    lt_prog_compiler_wl='-Wl,'
6544
7236
      lt_prog_compiler_static='-Bstatic'
6545
7237
      ;;
6546
7238
 
6547
 
    linux*)
 
7239
    linux* | k*bsd*-gnu)
6548
7240
      case $cc_basename in
6549
7241
      icc* | ecc*)
6550
7242
        lt_prog_compiler_wl='-Wl,'
6624
7316
    esac
6625
7317
  fi
6626
7318
 
6627
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6628
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7319
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7320
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6629
7321
 
6630
7322
#
6631
7323
# Check to make sure the PIC flag actually works.
6632
7324
#
6633
7325
if test -n "$lt_prog_compiler_pic"; then
6634
7326
 
6635
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6636
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7327
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7328
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6637
7329
if test "${lt_prog_compiler_pic_works+set}" = set; then
6638
7330
  echo $ECHO_N "(cached) $ECHO_C" >&6
6639
7331
else
6650
7342
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6651
7343
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6652
7344
   -e 's:$: $lt_compiler_flag:'`
6653
 
   (eval echo "\"\$as_me:6653: $lt_compile\"" >&5)
 
7345
   (eval echo "\"\$as_me:7345: $lt_compile\"" >&5)
6654
7346
   (eval "$lt_compile" 2>conftest.err)
6655
7347
   ac_status=$?
6656
7348
   cat conftest.err >&5
6657
 
   echo "$as_me:6657: \$? = $ac_status" >&5
 
7349
   echo "$as_me:7349: \$? = $ac_status" >&5
6658
7350
   if (exit $ac_status) && test -s "$ac_outfile"; then
6659
7351
     # The compiler can only warn and ignore the option if not recognized
6660
7352
     # So say no if there are warnings other than the usual output.
6667
7359
   $rm conftest*
6668
7360
 
6669
7361
fi
6670
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6671
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7362
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7363
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6672
7364
 
6673
7365
if test x"$lt_prog_compiler_pic_works" = xyes; then
6674
7366
    case $lt_prog_compiler_pic in
6695
7387
# Check to make sure the static flag actually works.
6696
7388
#
6697
7389
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6698
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6699
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
7390
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7391
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6700
7392
if test "${lt_prog_compiler_static_works+set}" = set; then
6701
7393
  echo $ECHO_N "(cached) $ECHO_C" >&6
6702
7394
else
6723
7415
   LDFLAGS="$save_LDFLAGS"
6724
7416
 
6725
7417
fi
6726
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6727
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7418
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7419
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6728
7420
 
6729
7421
if test x"$lt_prog_compiler_static_works" = xyes; then
6730
7422
    :
6733
7425
fi
6734
7426
 
6735
7427
 
6736
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6737
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7428
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7429
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6738
7430
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6739
7431
  echo $ECHO_N "(cached) $ECHO_C" >&6
6740
7432
else
6754
7446
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6755
7447
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6756
7448
   -e 's:$: $lt_compiler_flag:'`
6757
 
   (eval echo "\"\$as_me:6757: $lt_compile\"" >&5)
 
7449
   (eval echo "\"\$as_me:7449: $lt_compile\"" >&5)
6758
7450
   (eval "$lt_compile" 2>out/conftest.err)
6759
7451
   ac_status=$?
6760
7452
   cat out/conftest.err >&5
6761
 
   echo "$as_me:6761: \$? = $ac_status" >&5
 
7453
   echo "$as_me:7453: \$? = $ac_status" >&5
6762
7454
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6763
7455
   then
6764
7456
     # The compiler can only warn and ignore the option if not recognized
6780
7472
   $rm conftest*
6781
7473
 
6782
7474
fi
6783
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6784
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7475
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7476
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6785
7477
 
6786
7478
 
6787
7479
hard_links="nottested"
6788
7480
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6789
7481
  # do not overwrite the value of need_locks provided by the user
6790
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6791
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7482
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7483
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6792
7484
  hard_links=yes
6793
7485
  $rm conftest*
6794
7486
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6795
7487
  touch conftest.a
6796
7488
  ln conftest.a conftest.b 2>&5 || hard_links=no
6797
7489
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6798
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6799
 
echo "${ECHO_T}$hard_links" >&6
 
7490
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7491
echo "${ECHO_T}$hard_links" >&6; }
6800
7492
  if test "$hard_links" = no; then
6801
7493
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6802
7494
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6806
7498
  need_locks=no
6807
7499
fi
6808
7500
 
6809
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6810
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7501
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7502
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6811
7503
 
6812
7504
  runpath_var=
6813
7505
  allow_undefined_flag=
6983
7675
      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'
6984
7676
      ;;
6985
7677
 
6986
 
    linux*)
 
7678
    linux* | k*bsd*-gnu)
6987
7679
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6988
7680
        tmp_addflag=
6989
7681
        case $cc_basename,$host_cpu in
7009
7701
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7010
7702
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7011
7703
        fi
 
7704
        link_all_deplibs=no
7012
7705
      else
7013
7706
        ld_shlibs=no
7014
7707
      fi
7015
7708
      ;;
7016
7709
 
7017
 
    netbsd*)
 
7710
    netbsd* | netbsdelf*-gnu)
7018
7711
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7019
7712
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7020
7713
        wlarc=
7222
7915
}
7223
7916
_ACEOF
7224
7917
rm -f conftest.$ac_objext conftest$ac_exeext
7225
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7226
 
  (eval $ac_link) 2>conftest.er1
 
7918
if { (ac_try="$ac_link"
 
7919
case "(($ac_try" in
 
7920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7921
  *) ac_try_echo=$ac_try;;
 
7922
esac
 
7923
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7924
  (eval "$ac_link") 2>conftest.er1
7227
7925
  ac_status=$?
7228
7926
  grep -v '^ *+' conftest.er1 >conftest.err
7229
7927
  rm -f conftest.er1
7230
7928
  cat conftest.err >&5
7231
7929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232
 
  (exit $ac_status); } &&
7233
 
         { ac_try='test -z "$ac_c_werror_flag"
7234
 
                         || test ! -s conftest.err'
7235
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7236
 
  (eval $ac_try) 2>&5
7237
 
  ac_status=$?
7238
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239
 
  (exit $ac_status); }; } &&
7240
 
         { ac_try='test -s conftest$ac_exeext'
7241
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7242
 
  (eval $ac_try) 2>&5
7243
 
  ac_status=$?
7244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245
 
  (exit $ac_status); }; }; then
 
7930
  (exit $ac_status); } && {
 
7931
         test -z "$ac_c_werror_flag" ||
 
7932
         test ! -s conftest.err
 
7933
       } && test -s conftest$ac_exeext &&
 
7934
       $as_test_x conftest$ac_exeext; then
7246
7935
 
7247
7936
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7248
7937
}'`
7253
7942
  echo "$as_me: failed program was:" >&5
7254
7943
sed 's/^/| /' conftest.$ac_ext >&5
7255
7944
 
 
7945
 
7256
7946
fi
7257
 
rm -f conftest.err conftest.$ac_objext \
 
7947
 
 
7948
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7258
7949
      conftest$ac_exeext conftest.$ac_ext
7259
7950
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7260
7951
 
7283
7974
}
7284
7975
_ACEOF
7285
7976
rm -f conftest.$ac_objext conftest$ac_exeext
7286
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7287
 
  (eval $ac_link) 2>conftest.er1
 
7977
if { (ac_try="$ac_link"
 
7978
case "(($ac_try" in
 
7979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7980
  *) ac_try_echo=$ac_try;;
 
7981
esac
 
7982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7983
  (eval "$ac_link") 2>conftest.er1
7288
7984
  ac_status=$?
7289
7985
  grep -v '^ *+' conftest.er1 >conftest.err
7290
7986
  rm -f conftest.er1
7291
7987
  cat conftest.err >&5
7292
7988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293
 
  (exit $ac_status); } &&
7294
 
         { ac_try='test -z "$ac_c_werror_flag"
7295
 
                         || test ! -s conftest.err'
7296
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297
 
  (eval $ac_try) 2>&5
7298
 
  ac_status=$?
7299
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300
 
  (exit $ac_status); }; } &&
7301
 
         { ac_try='test -s conftest$ac_exeext'
7302
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303
 
  (eval $ac_try) 2>&5
7304
 
  ac_status=$?
7305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306
 
  (exit $ac_status); }; }; then
 
7989
  (exit $ac_status); } && {
 
7990
         test -z "$ac_c_werror_flag" ||
 
7991
         test ! -s conftest.err
 
7992
       } && test -s conftest$ac_exeext &&
 
7993
       $as_test_x conftest$ac_exeext; then
7307
7994
 
7308
7995
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7309
7996
}'`
7314
8001
  echo "$as_me: failed program was:" >&5
7315
8002
sed 's/^/| /' conftest.$ac_ext >&5
7316
8003
 
 
8004
 
7317
8005
fi
7318
 
rm -f conftest.err conftest.$ac_objext \
 
8006
 
 
8007
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7319
8008
      conftest$ac_exeext conftest.$ac_ext
7320
8009
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7321
8010
 
7446
8135
      ;;
7447
8136
 
7448
8137
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7449
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8138
    freebsd* | dragonfly*)
7450
8139
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7451
8140
      hardcode_libdir_flag_spec='-R$libdir'
7452
8141
      hardcode_direct=yes
7548
8237
      link_all_deplibs=yes
7549
8238
      ;;
7550
8239
 
7551
 
    netbsd*)
 
8240
    netbsd* | netbsdelf*-gnu)
7552
8241
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7553
8242
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7554
8243
      else
7764
8453
    esac
7765
8454
  fi
7766
8455
 
7767
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7768
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8456
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8457
echo "${ECHO_T}$ld_shlibs" >&6; }
7769
8458
test "$ld_shlibs" = no && can_build_shared=no
7770
8459
 
7771
8460
#
7785
8474
      # Test whether the compiler implicitly links with -lc since on some
7786
8475
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7787
8476
      # to ld, don't add -lc before -lgcc.
7788
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7789
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8477
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8478
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7790
8479
      $rm conftest*
7791
8480
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7792
8481
 
7823
8512
        cat conftest.err 1>&5
7824
8513
      fi
7825
8514
      $rm conftest*
7826
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7827
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8515
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8516
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7828
8517
      ;;
7829
8518
    esac
7830
8519
  fi
7831
8520
  ;;
7832
8521
esac
7833
8522
 
7834
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7835
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8523
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8524
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7836
8525
library_names_spec=
7837
8526
libname_spec='lib$name'
7838
8527
soname_spec=
8038
8727
  dynamic_linker=no
8039
8728
  ;;
8040
8729
 
8041
 
kfreebsd*-gnu)
8042
 
  version_type=linux
8043
 
  need_lib_prefix=no
8044
 
  need_version=no
8045
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8046
 
  soname_spec='${libname}${release}${shared_ext}$major'
8047
 
  shlibpath_var=LD_LIBRARY_PATH
8048
 
  shlibpath_overrides_runpath=no
8049
 
  hardcode_into_libs=yes
8050
 
  dynamic_linker='GNU ld.so'
8051
 
  ;;
8052
 
 
8053
8730
freebsd* | dragonfly*)
8054
8731
  # DragonFly does not have aout.  When/if they implement a new
8055
8732
  # versioning mechanism, adjust this.
8205
8882
  ;;
8206
8883
 
8207
8884
# This must be Linux ELF.
8208
 
linux*)
 
8885
linux* | k*bsd*-gnu)
8209
8886
  version_type=linux
8210
8887
  need_lib_prefix=no
8211
8888
  need_version=no
8219
8896
  # before this can be enabled.
8220
8897
  hardcode_into_libs=yes
8221
8898
 
8222
 
  # find out which ABI we are using
8223
 
  libsuff=
8224
 
  case "$host_cpu" in
8225
 
  x86_64*|s390x*|powerpc64*)
8226
 
    echo '#line 8226 "configure"' > conftest.$ac_ext
8227
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8228
 
  (eval $ac_compile) 2>&5
8229
 
  ac_status=$?
8230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231
 
  (exit $ac_status); }; then
8232
 
      case `/usr/bin/file conftest.$ac_objext` in
8233
 
      *64-bit*)
8234
 
        libsuff=64
8235
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8236
 
        ;;
8237
 
      esac
8238
 
    fi
8239
 
    rm -rf conftest*
8240
 
    ;;
8241
 
  esac
8242
 
 
8243
8899
  # Append ld.so.conf contents to the search path
8244
8900
  if test -f /etc/ld.so.conf; then
8245
8901
    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' ' '`
8246
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
8902
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8247
8903
  fi
8248
8904
 
8249
8905
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8255
8911
  dynamic_linker='GNU/Linux ld.so'
8256
8912
  ;;
8257
8913
 
8258
 
knetbsd*-gnu)
 
8914
netbsdelf*-gnu)
8259
8915
  version_type=linux
8260
8916
  need_lib_prefix=no
8261
8917
  need_version=no
8264
8920
  shlibpath_var=LD_LIBRARY_PATH
8265
8921
  shlibpath_overrides_runpath=no
8266
8922
  hardcode_into_libs=yes
8267
 
  dynamic_linker='GNU ld.so'
 
8923
  dynamic_linker='NetBSD ld.elf_so'
8268
8924
  ;;
8269
8925
 
8270
8926
netbsd*)
8440
9096
  dynamic_linker=no
8441
9097
  ;;
8442
9098
esac
8443
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8444
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9099
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9100
echo "${ECHO_T}$dynamic_linker" >&6; }
8445
9101
test "$dynamic_linker" = no && can_build_shared=no
8446
9102
 
8447
9103
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8449
9105
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8450
9106
fi
8451
9107
 
8452
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8453
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9108
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9109
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8454
9110
hardcode_action=
8455
9111
if test -n "$hardcode_libdir_flag_spec" || \
8456
9112
   test -n "$runpath_var" || \
8474
9130
  # directories.
8475
9131
  hardcode_action=unsupported
8476
9132
fi
8477
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8478
 
echo "${ECHO_T}$hardcode_action" >&6
 
9133
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9134
echo "${ECHO_T}$hardcode_action" >&6; }
8479
9135
 
8480
9136
if test "$hardcode_action" = relink; then
8481
9137
  # Fast installation is not supported
8488
9144
 
8489
9145
striplib=
8490
9146
old_striplib=
8491
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8492
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9147
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9148
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8493
9149
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8494
9150
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8495
9151
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8496
 
  echo "$as_me:$LINENO: result: yes" >&5
8497
 
echo "${ECHO_T}yes" >&6
 
9152
  { echo "$as_me:$LINENO: result: yes" >&5
 
9153
echo "${ECHO_T}yes" >&6; }
8498
9154
else
8499
9155
# FIXME - insert some real tests, host_os isn't really good enough
8500
9156
  case $host_os in
8501
9157
   darwin*)
8502
9158
       if test -n "$STRIP" ; then
8503
9159
         striplib="$STRIP -x"
8504
 
         echo "$as_me:$LINENO: result: yes" >&5
8505
 
echo "${ECHO_T}yes" >&6
 
9160
         { echo "$as_me:$LINENO: result: yes" >&5
 
9161
echo "${ECHO_T}yes" >&6; }
8506
9162
       else
8507
 
  echo "$as_me:$LINENO: result: no" >&5
8508
 
echo "${ECHO_T}no" >&6
 
9163
  { echo "$as_me:$LINENO: result: no" >&5
 
9164
echo "${ECHO_T}no" >&6; }
8509
9165
fi
8510
9166
       ;;
8511
9167
   *)
8512
 
  echo "$as_me:$LINENO: result: no" >&5
8513
 
echo "${ECHO_T}no" >&6
 
9168
  { echo "$as_me:$LINENO: result: no" >&5
 
9169
echo "${ECHO_T}no" >&6; }
8514
9170
    ;;
8515
9171
  esac
8516
9172
fi
8542
9198
 
8543
9199
  darwin*)
8544
9200
  # if libdl is installed we need to link against it
8545
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8546
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9201
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9202
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8547
9203
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8548
9204
  echo $ECHO_N "(cached) $ECHO_C" >&6
8549
9205
else
8556
9212
cat >>conftest.$ac_ext <<_ACEOF
8557
9213
/* end confdefs.h.  */
8558
9214
 
8559
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9215
/* Override any GCC internal prototype to avoid an error.
 
9216
   Use char because int might match the return type of a GCC
 
9217
   builtin and then its argument prototype would still apply.  */
8560
9218
#ifdef __cplusplus
8561
9219
extern "C"
8562
9220
#endif
8563
 
/* We use char because int might match the return type of a gcc2
8564
 
   builtin and then its argument prototype would still apply.  */
8565
9221
char dlopen ();
8566
9222
int
8567
9223
main ()
8568
9224
{
8569
 
dlopen ();
 
9225
return dlopen ();
8570
9226
  ;
8571
9227
  return 0;
8572
9228
}
8573
9229
_ACEOF
8574
9230
rm -f conftest.$ac_objext conftest$ac_exeext
8575
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8576
 
  (eval $ac_link) 2>conftest.er1
 
9231
if { (ac_try="$ac_link"
 
9232
case "(($ac_try" in
 
9233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9234
  *) ac_try_echo=$ac_try;;
 
9235
esac
 
9236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9237
  (eval "$ac_link") 2>conftest.er1
8577
9238
  ac_status=$?
8578
9239
  grep -v '^ *+' conftest.er1 >conftest.err
8579
9240
  rm -f conftest.er1
8580
9241
  cat conftest.err >&5
8581
9242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582
 
  (exit $ac_status); } &&
8583
 
         { ac_try='test -z "$ac_c_werror_flag"
8584
 
                         || test ! -s conftest.err'
8585
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8586
 
  (eval $ac_try) 2>&5
8587
 
  ac_status=$?
8588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589
 
  (exit $ac_status); }; } &&
8590
 
         { ac_try='test -s conftest$ac_exeext'
8591
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8592
 
  (eval $ac_try) 2>&5
8593
 
  ac_status=$?
8594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595
 
  (exit $ac_status); }; }; then
 
9243
  (exit $ac_status); } && {
 
9244
         test -z "$ac_c_werror_flag" ||
 
9245
         test ! -s conftest.err
 
9246
       } && test -s conftest$ac_exeext &&
 
9247
       $as_test_x conftest$ac_exeext; then
8596
9248
  ac_cv_lib_dl_dlopen=yes
8597
9249
else
8598
9250
  echo "$as_me: failed program was:" >&5
8599
9251
sed 's/^/| /' conftest.$ac_ext >&5
8600
9252
 
8601
 
ac_cv_lib_dl_dlopen=no
 
9253
        ac_cv_lib_dl_dlopen=no
8602
9254
fi
8603
 
rm -f conftest.err conftest.$ac_objext \
 
9255
 
 
9256
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8604
9257
      conftest$ac_exeext conftest.$ac_ext
8605
9258
LIBS=$ac_check_lib_save_LIBS
8606
9259
fi
8607
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8608
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9260
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9261
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8609
9262
if test $ac_cv_lib_dl_dlopen = yes; then
8610
9263
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8611
9264
else
8619
9272
   ;;
8620
9273
 
8621
9274
  *)
8622
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8623
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9275
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9276
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8624
9277
if test "${ac_cv_func_shl_load+set}" = set; then
8625
9278
  echo $ECHO_N "(cached) $ECHO_C" >&6
8626
9279
else
8647
9300
 
8648
9301
#undef shl_load
8649
9302
 
8650
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9303
/* Override any GCC internal prototype to avoid an error.
 
9304
   Use char because int might match the return type of a GCC
 
9305
   builtin and then its argument prototype would still apply.  */
8651
9306
#ifdef __cplusplus
8652
9307
extern "C"
8653
 
{
8654
9308
#endif
8655
 
/* We use char because int might match the return type of a gcc2
8656
 
   builtin and then its argument prototype would still apply.  */
8657
9309
char shl_load ();
8658
9310
/* The GNU C library defines this for functions which it implements
8659
9311
    to always fail with ENOSYS.  Some functions are actually named
8660
9312
    something starting with __ and the normal name is an alias.  */
8661
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9313
#if defined __stub_shl_load || defined __stub___shl_load
8662
9314
choke me
8663
 
#else
8664
 
char (*f) () = shl_load;
8665
 
#endif
8666
 
#ifdef __cplusplus
8667
 
}
8668
9315
#endif
8669
9316
 
8670
9317
int
8671
9318
main ()
8672
9319
{
8673
 
return f != shl_load;
 
9320
return shl_load ();
8674
9321
  ;
8675
9322
  return 0;
8676
9323
}
8677
9324
_ACEOF
8678
9325
rm -f conftest.$ac_objext conftest$ac_exeext
8679
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8680
 
  (eval $ac_link) 2>conftest.er1
 
9326
if { (ac_try="$ac_link"
 
9327
case "(($ac_try" in
 
9328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9329
  *) ac_try_echo=$ac_try;;
 
9330
esac
 
9331
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9332
  (eval "$ac_link") 2>conftest.er1
8681
9333
  ac_status=$?
8682
9334
  grep -v '^ *+' conftest.er1 >conftest.err
8683
9335
  rm -f conftest.er1
8684
9336
  cat conftest.err >&5
8685
9337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686
 
  (exit $ac_status); } &&
8687
 
         { ac_try='test -z "$ac_c_werror_flag"
8688
 
                         || test ! -s conftest.err'
8689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690
 
  (eval $ac_try) 2>&5
8691
 
  ac_status=$?
8692
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693
 
  (exit $ac_status); }; } &&
8694
 
         { ac_try='test -s conftest$ac_exeext'
8695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696
 
  (eval $ac_try) 2>&5
8697
 
  ac_status=$?
8698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699
 
  (exit $ac_status); }; }; then
 
9338
  (exit $ac_status); } && {
 
9339
         test -z "$ac_c_werror_flag" ||
 
9340
         test ! -s conftest.err
 
9341
       } && test -s conftest$ac_exeext &&
 
9342
       $as_test_x conftest$ac_exeext; then
8700
9343
  ac_cv_func_shl_load=yes
8701
9344
else
8702
9345
  echo "$as_me: failed program was:" >&5
8703
9346
sed 's/^/| /' conftest.$ac_ext >&5
8704
9347
 
8705
 
ac_cv_func_shl_load=no
 
9348
        ac_cv_func_shl_load=no
8706
9349
fi
8707
 
rm -f conftest.err conftest.$ac_objext \
 
9350
 
 
9351
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8708
9352
      conftest$ac_exeext conftest.$ac_ext
8709
9353
fi
8710
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8711
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9354
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9355
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8712
9356
if test $ac_cv_func_shl_load = yes; then
8713
9357
  lt_cv_dlopen="shl_load"
8714
9358
else
8715
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8716
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9359
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9360
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8717
9361
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8718
9362
  echo $ECHO_N "(cached) $ECHO_C" >&6
8719
9363
else
8726
9370
cat >>conftest.$ac_ext <<_ACEOF
8727
9371
/* end confdefs.h.  */
8728
9372
 
8729
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9373
/* Override any GCC internal prototype to avoid an error.
 
9374
   Use char because int might match the return type of a GCC
 
9375
   builtin and then its argument prototype would still apply.  */
8730
9376
#ifdef __cplusplus
8731
9377
extern "C"
8732
9378
#endif
8733
 
/* We use char because int might match the return type of a gcc2
8734
 
   builtin and then its argument prototype would still apply.  */
8735
9379
char shl_load ();
8736
9380
int
8737
9381
main ()
8738
9382
{
8739
 
shl_load ();
 
9383
return shl_load ();
8740
9384
  ;
8741
9385
  return 0;
8742
9386
}
8743
9387
_ACEOF
8744
9388
rm -f conftest.$ac_objext conftest$ac_exeext
8745
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8746
 
  (eval $ac_link) 2>conftest.er1
 
9389
if { (ac_try="$ac_link"
 
9390
case "(($ac_try" in
 
9391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9392
  *) ac_try_echo=$ac_try;;
 
9393
esac
 
9394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9395
  (eval "$ac_link") 2>conftest.er1
8747
9396
  ac_status=$?
8748
9397
  grep -v '^ *+' conftest.er1 >conftest.err
8749
9398
  rm -f conftest.er1
8750
9399
  cat conftest.err >&5
8751
9400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752
 
  (exit $ac_status); } &&
8753
 
         { ac_try='test -z "$ac_c_werror_flag"
8754
 
                         || test ! -s conftest.err'
8755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756
 
  (eval $ac_try) 2>&5
8757
 
  ac_status=$?
8758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759
 
  (exit $ac_status); }; } &&
8760
 
         { ac_try='test -s conftest$ac_exeext'
8761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762
 
  (eval $ac_try) 2>&5
8763
 
  ac_status=$?
8764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765
 
  (exit $ac_status); }; }; then
 
9401
  (exit $ac_status); } && {
 
9402
         test -z "$ac_c_werror_flag" ||
 
9403
         test ! -s conftest.err
 
9404
       } && test -s conftest$ac_exeext &&
 
9405
       $as_test_x conftest$ac_exeext; then
8766
9406
  ac_cv_lib_dld_shl_load=yes
8767
9407
else
8768
9408
  echo "$as_me: failed program was:" >&5
8769
9409
sed 's/^/| /' conftest.$ac_ext >&5
8770
9410
 
8771
 
ac_cv_lib_dld_shl_load=no
 
9411
        ac_cv_lib_dld_shl_load=no
8772
9412
fi
8773
 
rm -f conftest.err conftest.$ac_objext \
 
9413
 
 
9414
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8774
9415
      conftest$ac_exeext conftest.$ac_ext
8775
9416
LIBS=$ac_check_lib_save_LIBS
8776
9417
fi
8777
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8778
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9418
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9419
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8779
9420
if test $ac_cv_lib_dld_shl_load = yes; then
8780
9421
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8781
9422
else
8782
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8783
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9423
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9424
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8784
9425
if test "${ac_cv_func_dlopen+set}" = set; then
8785
9426
  echo $ECHO_N "(cached) $ECHO_C" >&6
8786
9427
else
8807
9448
 
8808
9449
#undef dlopen
8809
9450
 
8810
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9451
/* Override any GCC internal prototype to avoid an error.
 
9452
   Use char because int might match the return type of a GCC
 
9453
   builtin and then its argument prototype would still apply.  */
8811
9454
#ifdef __cplusplus
8812
9455
extern "C"
8813
 
{
8814
9456
#endif
8815
 
/* We use char because int might match the return type of a gcc2
8816
 
   builtin and then its argument prototype would still apply.  */
8817
9457
char dlopen ();
8818
9458
/* The GNU C library defines this for functions which it implements
8819
9459
    to always fail with ENOSYS.  Some functions are actually named
8820
9460
    something starting with __ and the normal name is an alias.  */
8821
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9461
#if defined __stub_dlopen || defined __stub___dlopen
8822
9462
choke me
8823
 
#else
8824
 
char (*f) () = dlopen;
8825
 
#endif
8826
 
#ifdef __cplusplus
8827
 
}
8828
9463
#endif
8829
9464
 
8830
9465
int
8831
9466
main ()
8832
9467
{
8833
 
return f != dlopen;
 
9468
return dlopen ();
8834
9469
  ;
8835
9470
  return 0;
8836
9471
}
8837
9472
_ACEOF
8838
9473
rm -f conftest.$ac_objext conftest$ac_exeext
8839
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8840
 
  (eval $ac_link) 2>conftest.er1
 
9474
if { (ac_try="$ac_link"
 
9475
case "(($ac_try" in
 
9476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9477
  *) ac_try_echo=$ac_try;;
 
9478
esac
 
9479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9480
  (eval "$ac_link") 2>conftest.er1
8841
9481
  ac_status=$?
8842
9482
  grep -v '^ *+' conftest.er1 >conftest.err
8843
9483
  rm -f conftest.er1
8844
9484
  cat conftest.err >&5
8845
9485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846
 
  (exit $ac_status); } &&
8847
 
         { ac_try='test -z "$ac_c_werror_flag"
8848
 
                         || test ! -s conftest.err'
8849
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8850
 
  (eval $ac_try) 2>&5
8851
 
  ac_status=$?
8852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853
 
  (exit $ac_status); }; } &&
8854
 
         { ac_try='test -s conftest$ac_exeext'
8855
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8856
 
  (eval $ac_try) 2>&5
8857
 
  ac_status=$?
8858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859
 
  (exit $ac_status); }; }; then
 
9486
  (exit $ac_status); } && {
 
9487
         test -z "$ac_c_werror_flag" ||
 
9488
         test ! -s conftest.err
 
9489
       } && test -s conftest$ac_exeext &&
 
9490
       $as_test_x conftest$ac_exeext; then
8860
9491
  ac_cv_func_dlopen=yes
8861
9492
else
8862
9493
  echo "$as_me: failed program was:" >&5
8863
9494
sed 's/^/| /' conftest.$ac_ext >&5
8864
9495
 
8865
 
ac_cv_func_dlopen=no
 
9496
        ac_cv_func_dlopen=no
8866
9497
fi
8867
 
rm -f conftest.err conftest.$ac_objext \
 
9498
 
 
9499
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8868
9500
      conftest$ac_exeext conftest.$ac_ext
8869
9501
fi
8870
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8871
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9502
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9503
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8872
9504
if test $ac_cv_func_dlopen = yes; then
8873
9505
  lt_cv_dlopen="dlopen"
8874
9506
else
8875
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8876
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9507
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9508
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8877
9509
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8878
9510
  echo $ECHO_N "(cached) $ECHO_C" >&6
8879
9511
else
8886
9518
cat >>conftest.$ac_ext <<_ACEOF
8887
9519
/* end confdefs.h.  */
8888
9520
 
8889
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9521
/* Override any GCC internal prototype to avoid an error.
 
9522
   Use char because int might match the return type of a GCC
 
9523
   builtin and then its argument prototype would still apply.  */
8890
9524
#ifdef __cplusplus
8891
9525
extern "C"
8892
9526
#endif
8893
 
/* We use char because int might match the return type of a gcc2
8894
 
   builtin and then its argument prototype would still apply.  */
8895
9527
char dlopen ();
8896
9528
int
8897
9529
main ()
8898
9530
{
8899
 
dlopen ();
 
9531
return dlopen ();
8900
9532
  ;
8901
9533
  return 0;
8902
9534
}
8903
9535
_ACEOF
8904
9536
rm -f conftest.$ac_objext conftest$ac_exeext
8905
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8906
 
  (eval $ac_link) 2>conftest.er1
 
9537
if { (ac_try="$ac_link"
 
9538
case "(($ac_try" in
 
9539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9540
  *) ac_try_echo=$ac_try;;
 
9541
esac
 
9542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9543
  (eval "$ac_link") 2>conftest.er1
8907
9544
  ac_status=$?
8908
9545
  grep -v '^ *+' conftest.er1 >conftest.err
8909
9546
  rm -f conftest.er1
8910
9547
  cat conftest.err >&5
8911
9548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912
 
  (exit $ac_status); } &&
8913
 
         { ac_try='test -z "$ac_c_werror_flag"
8914
 
                         || test ! -s conftest.err'
8915
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916
 
  (eval $ac_try) 2>&5
8917
 
  ac_status=$?
8918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919
 
  (exit $ac_status); }; } &&
8920
 
         { ac_try='test -s conftest$ac_exeext'
8921
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922
 
  (eval $ac_try) 2>&5
8923
 
  ac_status=$?
8924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925
 
  (exit $ac_status); }; }; then
 
9549
  (exit $ac_status); } && {
 
9550
         test -z "$ac_c_werror_flag" ||
 
9551
         test ! -s conftest.err
 
9552
       } && test -s conftest$ac_exeext &&
 
9553
       $as_test_x conftest$ac_exeext; then
8926
9554
  ac_cv_lib_dl_dlopen=yes
8927
9555
else
8928
9556
  echo "$as_me: failed program was:" >&5
8929
9557
sed 's/^/| /' conftest.$ac_ext >&5
8930
9558
 
8931
 
ac_cv_lib_dl_dlopen=no
 
9559
        ac_cv_lib_dl_dlopen=no
8932
9560
fi
8933
 
rm -f conftest.err conftest.$ac_objext \
 
9561
 
 
9562
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8934
9563
      conftest$ac_exeext conftest.$ac_ext
8935
9564
LIBS=$ac_check_lib_save_LIBS
8936
9565
fi
8937
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8938
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9566
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9567
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8939
9568
if test $ac_cv_lib_dl_dlopen = yes; then
8940
9569
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8941
9570
else
8942
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8943
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9571
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9572
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8944
9573
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8945
9574
  echo $ECHO_N "(cached) $ECHO_C" >&6
8946
9575
else
8953
9582
cat >>conftest.$ac_ext <<_ACEOF
8954
9583
/* end confdefs.h.  */
8955
9584
 
8956
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9585
/* Override any GCC internal prototype to avoid an error.
 
9586
   Use char because int might match the return type of a GCC
 
9587
   builtin and then its argument prototype would still apply.  */
8957
9588
#ifdef __cplusplus
8958
9589
extern "C"
8959
9590
#endif
8960
 
/* We use char because int might match the return type of a gcc2
8961
 
   builtin and then its argument prototype would still apply.  */
8962
9591
char dlopen ();
8963
9592
int
8964
9593
main ()
8965
9594
{
8966
 
dlopen ();
 
9595
return dlopen ();
8967
9596
  ;
8968
9597
  return 0;
8969
9598
}
8970
9599
_ACEOF
8971
9600
rm -f conftest.$ac_objext conftest$ac_exeext
8972
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8973
 
  (eval $ac_link) 2>conftest.er1
 
9601
if { (ac_try="$ac_link"
 
9602
case "(($ac_try" in
 
9603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9604
  *) ac_try_echo=$ac_try;;
 
9605
esac
 
9606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9607
  (eval "$ac_link") 2>conftest.er1
8974
9608
  ac_status=$?
8975
9609
  grep -v '^ *+' conftest.er1 >conftest.err
8976
9610
  rm -f conftest.er1
8977
9611
  cat conftest.err >&5
8978
9612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979
 
  (exit $ac_status); } &&
8980
 
         { ac_try='test -z "$ac_c_werror_flag"
8981
 
                         || test ! -s conftest.err'
8982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983
 
  (eval $ac_try) 2>&5
8984
 
  ac_status=$?
8985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986
 
  (exit $ac_status); }; } &&
8987
 
         { ac_try='test -s conftest$ac_exeext'
8988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989
 
  (eval $ac_try) 2>&5
8990
 
  ac_status=$?
8991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992
 
  (exit $ac_status); }; }; then
 
9613
  (exit $ac_status); } && {
 
9614
         test -z "$ac_c_werror_flag" ||
 
9615
         test ! -s conftest.err
 
9616
       } && test -s conftest$ac_exeext &&
 
9617
       $as_test_x conftest$ac_exeext; then
8993
9618
  ac_cv_lib_svld_dlopen=yes
8994
9619
else
8995
9620
  echo "$as_me: failed program was:" >&5
8996
9621
sed 's/^/| /' conftest.$ac_ext >&5
8997
9622
 
8998
 
ac_cv_lib_svld_dlopen=no
 
9623
        ac_cv_lib_svld_dlopen=no
8999
9624
fi
9000
 
rm -f conftest.err conftest.$ac_objext \
 
9625
 
 
9626
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001
9627
      conftest$ac_exeext conftest.$ac_ext
9002
9628
LIBS=$ac_check_lib_save_LIBS
9003
9629
fi
9004
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9005
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
9630
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9631
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9006
9632
if test $ac_cv_lib_svld_dlopen = yes; then
9007
9633
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9008
9634
else
9009
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9010
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
9635
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9636
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9011
9637
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9012
9638
  echo $ECHO_N "(cached) $ECHO_C" >&6
9013
9639
else
9020
9646
cat >>conftest.$ac_ext <<_ACEOF
9021
9647
/* end confdefs.h.  */
9022
9648
 
9023
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9649
/* Override any GCC internal prototype to avoid an error.
 
9650
   Use char because int might match the return type of a GCC
 
9651
   builtin and then its argument prototype would still apply.  */
9024
9652
#ifdef __cplusplus
9025
9653
extern "C"
9026
9654
#endif
9027
 
/* We use char because int might match the return type of a gcc2
9028
 
   builtin and then its argument prototype would still apply.  */
9029
9655
char dld_link ();
9030
9656
int
9031
9657
main ()
9032
9658
{
9033
 
dld_link ();
 
9659
return dld_link ();
9034
9660
  ;
9035
9661
  return 0;
9036
9662
}
9037
9663
_ACEOF
9038
9664
rm -f conftest.$ac_objext conftest$ac_exeext
9039
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040
 
  (eval $ac_link) 2>conftest.er1
 
9665
if { (ac_try="$ac_link"
 
9666
case "(($ac_try" in
 
9667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9668
  *) ac_try_echo=$ac_try;;
 
9669
esac
 
9670
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9671
  (eval "$ac_link") 2>conftest.er1
9041
9672
  ac_status=$?
9042
9673
  grep -v '^ *+' conftest.er1 >conftest.err
9043
9674
  rm -f conftest.er1
9044
9675
  cat conftest.err >&5
9045
9676
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046
 
  (exit $ac_status); } &&
9047
 
         { ac_try='test -z "$ac_c_werror_flag"
9048
 
                         || test ! -s conftest.err'
9049
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9050
 
  (eval $ac_try) 2>&5
9051
 
  ac_status=$?
9052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053
 
  (exit $ac_status); }; } &&
9054
 
         { ac_try='test -s conftest$ac_exeext'
9055
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9056
 
  (eval $ac_try) 2>&5
9057
 
  ac_status=$?
9058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059
 
  (exit $ac_status); }; }; then
 
9677
  (exit $ac_status); } && {
 
9678
         test -z "$ac_c_werror_flag" ||
 
9679
         test ! -s conftest.err
 
9680
       } && test -s conftest$ac_exeext &&
 
9681
       $as_test_x conftest$ac_exeext; then
9060
9682
  ac_cv_lib_dld_dld_link=yes
9061
9683
else
9062
9684
  echo "$as_me: failed program was:" >&5
9063
9685
sed 's/^/| /' conftest.$ac_ext >&5
9064
9686
 
9065
 
ac_cv_lib_dld_dld_link=no
 
9687
        ac_cv_lib_dld_dld_link=no
9066
9688
fi
9067
 
rm -f conftest.err conftest.$ac_objext \
 
9689
 
 
9690
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9068
9691
      conftest$ac_exeext conftest.$ac_ext
9069
9692
LIBS=$ac_check_lib_save_LIBS
9070
9693
fi
9071
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9072
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
9694
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9695
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9073
9696
if test $ac_cv_lib_dld_dld_link = yes; then
9074
9697
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9075
9698
fi
9109
9732
    save_LIBS="$LIBS"
9110
9733
    LIBS="$lt_cv_dlopen_libs $LIBS"
9111
9734
 
9112
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9113
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
9735
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9736
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9114
9737
if test "${lt_cv_dlopen_self+set}" = set; then
9115
9738
  echo $ECHO_N "(cached) $ECHO_C" >&6
9116
9739
else
9120
9743
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9121
9744
  lt_status=$lt_dlunknown
9122
9745
  cat > conftest.$ac_ext <<EOF
9123
 
#line 9123 "configure"
 
9746
#line 9746 "configure"
9124
9747
#include "confdefs.h"
9125
9748
 
9126
9749
#if HAVE_DLFCN_H
9204
9827
 
9205
9828
 
9206
9829
fi
9207
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9208
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
9830
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
9831
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9209
9832
 
9210
9833
    if test "x$lt_cv_dlopen_self" = xyes; then
9211
9834
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9212
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9213
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
9835
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
9836
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9214
9837
if test "${lt_cv_dlopen_self_static+set}" = set; then
9215
9838
  echo $ECHO_N "(cached) $ECHO_C" >&6
9216
9839
else
9220
9843
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9221
9844
  lt_status=$lt_dlunknown
9222
9845
  cat > conftest.$ac_ext <<EOF
9223
 
#line 9223 "configure"
 
9846
#line 9846 "configure"
9224
9847
#include "confdefs.h"
9225
9848
 
9226
9849
#if HAVE_DLFCN_H
9304
9927
 
9305
9928
 
9306
9929
fi
9307
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9308
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
9930
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
9931
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9309
9932
    fi
9310
9933
 
9311
9934
    CPPFLAGS="$save_CPPFLAGS"
9327
9950
 
9328
9951
 
9329
9952
# Report which library types will actually be built
9330
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9331
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9332
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9333
 
echo "${ECHO_T}$can_build_shared" >&6
 
9953
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
9954
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
9955
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
9956
echo "${ECHO_T}$can_build_shared" >&6; }
9334
9957
 
9335
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9336
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
9958
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
9959
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9337
9960
test "$can_build_shared" = "no" && enable_shared=no
9338
9961
 
9339
9962
# On AIX, shared libraries and static libraries use the same namespace, and
9353
9976
  fi
9354
9977
    ;;
9355
9978
esac
9356
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9357
 
echo "${ECHO_T}$enable_shared" >&6
 
9979
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
9980
echo "${ECHO_T}$enable_shared" >&6; }
9358
9981
 
9359
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9360
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
9982
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
9983
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9361
9984
# Make sure either enable_shared or enable_static is yes.
9362
9985
test "$enable_shared" = yes || enable_static=yes
9363
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9364
 
echo "${ECHO_T}$enable_static" >&6
 
9986
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
9987
echo "${ECHO_T}$enable_static" >&6; }
9365
9988
 
9366
9989
# The else clause should only fire when bootstrapping the
9367
9990
# libtool distribution, otherwise you forgot to ship ltmain.sh
9853
10476
CC="$lt_save_CC"
9854
10477
 
9855
10478
 
9856
 
# Check whether --with-tags or --without-tags was given.
 
10479
# Check whether --with-tags was given.
9857
10480
if test "${with_tags+set}" = set; then
9858
 
  withval="$with_tags"
9859
 
  tagnames="$withval"
9860
 
fi;
 
10481
  withval=$with_tags; tagnames="$withval"
 
10482
fi
 
10483
 
9861
10484
 
9862
10485
if test -f "$ltmain" && test -n "$tagnames"; then
9863
10486
  if test ! -f "${ofile}"; then
9911
10534
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9912
10535
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9913
10536
            (test "X$CXX" != "Xg++"))) ; then
9914
 
          ac_ext=cc
 
10537
          ac_ext=cpp
9915
10538
ac_cpp='$CXXCPP $CPPFLAGS'
9916
10539
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9917
10540
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10030
10653
  # Set up default GNU C++ configuration
10031
10654
 
10032
10655
 
10033
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
10656
# Check whether --with-gnu-ld was given.
10034
10657
if test "${with_gnu_ld+set}" = set; then
10035
 
  withval="$with_gnu_ld"
10036
 
  test "$withval" = no || with_gnu_ld=yes
 
10658
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10037
10659
else
10038
10660
  with_gnu_ld=no
10039
 
fi;
 
10661
fi
 
10662
 
10040
10663
ac_prog=ld
10041
10664
if test "$GCC" = yes; then
10042
10665
  # Check if gcc -print-prog-name=ld gives a path.
10043
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10044
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
10666
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
10667
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10045
10668
  case $host in
10046
10669
  *-*-mingw*)
10047
10670
    # gcc leaves a trailing carriage return which upsets mingw
10070
10693
    ;;
10071
10694
  esac
10072
10695
elif test "$with_gnu_ld" = yes; then
10073
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10074
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
10696
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10697
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10075
10698
else
10076
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10077
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
10699
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10700
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10078
10701
fi
10079
10702
if test "${lt_cv_path_LD+set}" = set; then
10080
10703
  echo $ECHO_N "(cached) $ECHO_C" >&6
10107
10730
 
10108
10731
LD="$lt_cv_path_LD"
10109
10732
if test -n "$LD"; then
10110
 
  echo "$as_me:$LINENO: result: $LD" >&5
10111
 
echo "${ECHO_T}$LD" >&6
 
10733
  { echo "$as_me:$LINENO: result: $LD" >&5
 
10734
echo "${ECHO_T}$LD" >&6; }
10112
10735
else
10113
 
  echo "$as_me:$LINENO: result: no" >&5
10114
 
echo "${ECHO_T}no" >&6
 
10736
  { echo "$as_me:$LINENO: result: no" >&5
 
10737
echo "${ECHO_T}no" >&6; }
10115
10738
fi
10116
10739
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10117
10740
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10118
10741
   { (exit 1); exit 1; }; }
10119
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10120
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
10742
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10743
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10121
10744
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10122
10745
  echo $ECHO_N "(cached) $ECHO_C" >&6
10123
10746
else
10131
10754
  ;;
10132
10755
esac
10133
10756
fi
10134
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10135
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
10757
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10758
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10136
10759
with_gnu_ld=$lt_cv_prog_gnu_ld
10137
10760
 
10138
10761
 
10182
10805
fi
10183
10806
 
10184
10807
# PORTME: fill in a description of your system's C++ link characteristics
10185
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10186
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10808
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10809
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10187
10810
ld_shlibs_CXX=yes
10188
10811
case $host_os in
10189
10812
  aix3*)
10295
10918
}
10296
10919
_ACEOF
10297
10920
rm -f conftest.$ac_objext conftest$ac_exeext
10298
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10299
 
  (eval $ac_link) 2>conftest.er1
 
10921
if { (ac_try="$ac_link"
 
10922
case "(($ac_try" in
 
10923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10924
  *) ac_try_echo=$ac_try;;
 
10925
esac
 
10926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10927
  (eval "$ac_link") 2>conftest.er1
10300
10928
  ac_status=$?
10301
10929
  grep -v '^ *+' conftest.er1 >conftest.err
10302
10930
  rm -f conftest.er1
10303
10931
  cat conftest.err >&5
10304
10932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305
 
  (exit $ac_status); } &&
10306
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10307
 
                         || test ! -s conftest.err'
10308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309
 
  (eval $ac_try) 2>&5
10310
 
  ac_status=$?
10311
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312
 
  (exit $ac_status); }; } &&
10313
 
         { ac_try='test -s conftest$ac_exeext'
10314
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315
 
  (eval $ac_try) 2>&5
10316
 
  ac_status=$?
10317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318
 
  (exit $ac_status); }; }; then
 
10933
  (exit $ac_status); } && {
 
10934
         test -z "$ac_cxx_werror_flag" ||
 
10935
         test ! -s conftest.err
 
10936
       } && test -s conftest$ac_exeext &&
 
10937
       $as_test_x conftest$ac_exeext; then
10319
10938
 
10320
10939
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10321
10940
}'`
10326
10945
  echo "$as_me: failed program was:" >&5
10327
10946
sed 's/^/| /' conftest.$ac_ext >&5
10328
10947
 
 
10948
 
10329
10949
fi
10330
 
rm -f conftest.err conftest.$ac_objext \
 
10950
 
 
10951
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10331
10952
      conftest$ac_exeext conftest.$ac_ext
10332
10953
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10333
10954
 
10357
10978
}
10358
10979
_ACEOF
10359
10980
rm -f conftest.$ac_objext conftest$ac_exeext
10360
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10361
 
  (eval $ac_link) 2>conftest.er1
 
10981
if { (ac_try="$ac_link"
 
10982
case "(($ac_try" in
 
10983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10984
  *) ac_try_echo=$ac_try;;
 
10985
esac
 
10986
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10987
  (eval "$ac_link") 2>conftest.er1
10362
10988
  ac_status=$?
10363
10989
  grep -v '^ *+' conftest.er1 >conftest.err
10364
10990
  rm -f conftest.er1
10365
10991
  cat conftest.err >&5
10366
10992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367
 
  (exit $ac_status); } &&
10368
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10369
 
                         || test ! -s conftest.err'
10370
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371
 
  (eval $ac_try) 2>&5
10372
 
  ac_status=$?
10373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374
 
  (exit $ac_status); }; } &&
10375
 
         { ac_try='test -s conftest$ac_exeext'
10376
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377
 
  (eval $ac_try) 2>&5
10378
 
  ac_status=$?
10379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380
 
  (exit $ac_status); }; }; then
 
10993
  (exit $ac_status); } && {
 
10994
         test -z "$ac_cxx_werror_flag" ||
 
10995
         test ! -s conftest.err
 
10996
       } && test -s conftest$ac_exeext &&
 
10997
       $as_test_x conftest$ac_exeext; then
10381
10998
 
10382
10999
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10383
11000
}'`
10388
11005
  echo "$as_me: failed program was:" >&5
10389
11006
sed 's/^/| /' conftest.$ac_ext >&5
10390
11007
 
 
11008
 
10391
11009
fi
10392
 
rm -f conftest.err conftest.$ac_objext \
 
11010
 
 
11011
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10393
11012
      conftest$ac_exeext conftest.$ac_ext
10394
11013
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10395
11014
 
10537
11156
  freebsd-elf*)
10538
11157
    archive_cmds_need_lc_CXX=no
10539
11158
    ;;
10540
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11159
  freebsd* | dragonfly*)
10541
11160
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10542
11161
    # conventions
10543
11162
    ld_shlibs_CXX=yes
10696
11315
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10697
11316
    hardcode_libdir_separator_CXX=:
10698
11317
    ;;
10699
 
  linux*)
 
11318
  linux* | k*bsd*-gnu)
10700
11319
    case $cc_basename in
10701
11320
      KCC*)
10702
11321
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10798
11417
        ;;
10799
11418
    esac
10800
11419
    ;;
10801
 
  netbsd*)
 
11420
  netbsd* | netbsdelf*-gnu)
10802
11421
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10803
11422
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10804
11423
      wlarc=
11120
11739
    ld_shlibs_CXX=no
11121
11740
    ;;
11122
11741
esac
11123
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11124
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
11742
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11743
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11125
11744
test "$ld_shlibs_CXX" = no && can_build_shared=no
11126
11745
 
11127
11746
GCC_CXX="$GXX"
11260
11879
lt_prog_compiler_pic_CXX=
11261
11880
lt_prog_compiler_static_CXX=
11262
11881
 
11263
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11264
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
11882
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
11883
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11265
11884
 
11266
11885
  # C++ specific cases for pic, static, wl, etc.
11267
11886
  if test "$GXX" = yes; then
11365
11984
            ;;
11366
11985
        esac
11367
11986
        ;;
11368
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
11987
      freebsd* | dragonfly*)
11369
11988
        # FreeBSD uses GNU C++
11370
11989
        ;;
11371
11990
      hpux9* | hpux10* | hpux11*)
11408
12027
            ;;
11409
12028
        esac
11410
12029
        ;;
11411
 
      linux*)
 
12030
      linux* | k*bsd*-gnu)
11412
12031
        case $cc_basename in
11413
12032
          KCC*)
11414
12033
            # KAI C++ Compiler
11451
12070
            ;;
11452
12071
        esac
11453
12072
        ;;
11454
 
      netbsd*)
 
12073
      netbsd* | netbsdelf*-gnu)
11455
12074
        ;;
11456
12075
      osf3* | osf4* | osf5*)
11457
12076
        case $cc_basename in
11534
12153
    esac
11535
12154
  fi
11536
12155
 
11537
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11538
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12156
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12157
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11539
12158
 
11540
12159
#
11541
12160
# Check to make sure the PIC flag actually works.
11542
12161
#
11543
12162
if test -n "$lt_prog_compiler_pic_CXX"; then
11544
12163
 
11545
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11546
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12164
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12165
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11547
12166
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11548
12167
  echo $ECHO_N "(cached) $ECHO_C" >&6
11549
12168
else
11560
12179
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11561
12180
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11562
12181
   -e 's:$: $lt_compiler_flag:'`
11563
 
   (eval echo "\"\$as_me:11563: $lt_compile\"" >&5)
 
12182
   (eval echo "\"\$as_me:12182: $lt_compile\"" >&5)
11564
12183
   (eval "$lt_compile" 2>conftest.err)
11565
12184
   ac_status=$?
11566
12185
   cat conftest.err >&5
11567
 
   echo "$as_me:11567: \$? = $ac_status" >&5
 
12186
   echo "$as_me:12186: \$? = $ac_status" >&5
11568
12187
   if (exit $ac_status) && test -s "$ac_outfile"; then
11569
12188
     # The compiler can only warn and ignore the option if not recognized
11570
12189
     # So say no if there are warnings other than the usual output.
11577
12196
   $rm conftest*
11578
12197
 
11579
12198
fi
11580
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11581
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12199
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12200
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11582
12201
 
11583
12202
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11584
12203
    case $lt_prog_compiler_pic_CXX in
11605
12224
# Check to make sure the static flag actually works.
11606
12225
#
11607
12226
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11608
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11609
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
12227
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12228
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11610
12229
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11611
12230
  echo $ECHO_N "(cached) $ECHO_C" >&6
11612
12231
else
11633
12252
   LDFLAGS="$save_LDFLAGS"
11634
12253
 
11635
12254
fi
11636
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11637
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12255
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12256
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11638
12257
 
11639
12258
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11640
12259
    :
11643
12262
fi
11644
12263
 
11645
12264
 
11646
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11647
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12265
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12266
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11648
12267
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11649
12268
  echo $ECHO_N "(cached) $ECHO_C" >&6
11650
12269
else
11664
12283
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11665
12284
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11666
12285
   -e 's:$: $lt_compiler_flag:'`
11667
 
   (eval echo "\"\$as_me:11667: $lt_compile\"" >&5)
 
12286
   (eval echo "\"\$as_me:12286: $lt_compile\"" >&5)
11668
12287
   (eval "$lt_compile" 2>out/conftest.err)
11669
12288
   ac_status=$?
11670
12289
   cat out/conftest.err >&5
11671
 
   echo "$as_me:11671: \$? = $ac_status" >&5
 
12290
   echo "$as_me:12290: \$? = $ac_status" >&5
11672
12291
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11673
12292
   then
11674
12293
     # The compiler can only warn and ignore the option if not recognized
11690
12309
   $rm conftest*
11691
12310
 
11692
12311
fi
11693
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11694
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12312
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12313
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11695
12314
 
11696
12315
 
11697
12316
hard_links="nottested"
11698
12317
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11699
12318
  # do not overwrite the value of need_locks provided by the user
11700
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11701
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12319
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12320
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11702
12321
  hard_links=yes
11703
12322
  $rm conftest*
11704
12323
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11705
12324
  touch conftest.a
11706
12325
  ln conftest.a conftest.b 2>&5 || hard_links=no
11707
12326
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11708
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11709
 
echo "${ECHO_T}$hard_links" >&6
 
12327
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12328
echo "${ECHO_T}$hard_links" >&6; }
11710
12329
  if test "$hard_links" = no; then
11711
12330
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11712
12331
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11716
12335
  need_locks=no
11717
12336
fi
11718
12337
 
11719
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11720
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12338
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12339
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11721
12340
 
11722
12341
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11723
12342
  case $host_os in
11736
12355
  cygwin* | mingw*)
11737
12356
    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'
11738
12357
  ;;
 
12358
  linux* | k*bsd*-gnu)
 
12359
    link_all_deplibs_CXX=no
 
12360
  ;;
11739
12361
  *)
11740
12362
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11741
12363
  ;;
11742
12364
  esac
11743
12365
 
11744
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11745
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12366
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12367
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11746
12368
test "$ld_shlibs_CXX" = no && can_build_shared=no
11747
12369
 
11748
12370
#
11762
12384
      # Test whether the compiler implicitly links with -lc since on some
11763
12385
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11764
12386
      # to ld, don't add -lc before -lgcc.
11765
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11766
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12387
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12388
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11767
12389
      $rm conftest*
11768
12390
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11769
12391
 
11800
12422
        cat conftest.err 1>&5
11801
12423
      fi
11802
12424
      $rm conftest*
11803
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11804
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12425
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12426
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11805
12427
      ;;
11806
12428
    esac
11807
12429
  fi
11808
12430
  ;;
11809
12431
esac
11810
12432
 
11811
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11812
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12433
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12434
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11813
12435
library_names_spec=
11814
12436
libname_spec='lib$name'
11815
12437
soname_spec=
12015
12637
  dynamic_linker=no
12016
12638
  ;;
12017
12639
 
12018
 
kfreebsd*-gnu)
12019
 
  version_type=linux
12020
 
  need_lib_prefix=no
12021
 
  need_version=no
12022
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12023
 
  soname_spec='${libname}${release}${shared_ext}$major'
12024
 
  shlibpath_var=LD_LIBRARY_PATH
12025
 
  shlibpath_overrides_runpath=no
12026
 
  hardcode_into_libs=yes
12027
 
  dynamic_linker='GNU ld.so'
12028
 
  ;;
12029
 
 
12030
12640
freebsd* | dragonfly*)
12031
12641
  # DragonFly does not have aout.  When/if they implement a new
12032
12642
  # versioning mechanism, adjust this.
12182
12792
  ;;
12183
12793
 
12184
12794
# This must be Linux ELF.
12185
 
linux*)
 
12795
linux* | k*bsd*-gnu)
12186
12796
  version_type=linux
12187
12797
  need_lib_prefix=no
12188
12798
  need_version=no
12196
12806
  # before this can be enabled.
12197
12807
  hardcode_into_libs=yes
12198
12808
 
12199
 
  # find out which ABI we are using
12200
 
  libsuff=
12201
 
  case "$host_cpu" in
12202
 
  x86_64*|s390x*|powerpc64*)
12203
 
    echo '#line 12203 "configure"' > conftest.$ac_ext
12204
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12205
 
  (eval $ac_compile) 2>&5
12206
 
  ac_status=$?
12207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208
 
  (exit $ac_status); }; then
12209
 
      case `/usr/bin/file conftest.$ac_objext` in
12210
 
      *64-bit*)
12211
 
        libsuff=64
12212
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12213
 
        ;;
12214
 
      esac
12215
 
    fi
12216
 
    rm -rf conftest*
12217
 
    ;;
12218
 
  esac
12219
 
 
12220
12809
  # Append ld.so.conf contents to the search path
12221
12810
  if test -f /etc/ld.so.conf; then
12222
12811
    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' ' '`
12223
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
12812
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12224
12813
  fi
12225
12814
 
12226
12815
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12232
12821
  dynamic_linker='GNU/Linux ld.so'
12233
12822
  ;;
12234
12823
 
12235
 
knetbsd*-gnu)
 
12824
netbsdelf*-gnu)
12236
12825
  version_type=linux
12237
12826
  need_lib_prefix=no
12238
12827
  need_version=no
12241
12830
  shlibpath_var=LD_LIBRARY_PATH
12242
12831
  shlibpath_overrides_runpath=no
12243
12832
  hardcode_into_libs=yes
12244
 
  dynamic_linker='GNU ld.so'
 
12833
  dynamic_linker='NetBSD ld.elf_so'
12245
12834
  ;;
12246
12835
 
12247
12836
netbsd*)
12417
13006
  dynamic_linker=no
12418
13007
  ;;
12419
13008
esac
12420
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12421
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13009
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13010
echo "${ECHO_T}$dynamic_linker" >&6; }
12422
13011
test "$dynamic_linker" = no && can_build_shared=no
12423
13012
 
12424
13013
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12426
13015
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12427
13016
fi
12428
13017
 
12429
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12430
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13018
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13019
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12431
13020
hardcode_action_CXX=
12432
13021
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12433
13022
   test -n "$runpath_var_CXX" || \
12451
13040
  # directories.
12452
13041
  hardcode_action_CXX=unsupported
12453
13042
fi
12454
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12455
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13043
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13044
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12456
13045
 
12457
13046
if test "$hardcode_action_CXX" = relink; then
12458
13047
  # Fast installation is not supported
12977
13566
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12978
13567
 
12979
13568
 
12980
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12981
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12982
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12983
 
echo "${ECHO_T}$can_build_shared" >&6
 
13569
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
13570
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
13571
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
13572
echo "${ECHO_T}$can_build_shared" >&6; }
12984
13573
 
12985
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12986
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
13574
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
13575
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12987
13576
test "$can_build_shared" = "no" && enable_shared=no
12988
13577
 
12989
13578
# On AIX, shared libraries and static libraries use the same namespace, and
13002
13591
  fi
13003
13592
  ;;
13004
13593
esac
13005
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13006
 
echo "${ECHO_T}$enable_shared" >&6
 
13594
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
13595
echo "${ECHO_T}$enable_shared" >&6; }
13007
13596
 
13008
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13009
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
13597
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
13598
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13010
13599
# Make sure either enable_shared or enable_static is yes.
13011
13600
test "$enable_shared" = yes || enable_static=yes
13012
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13013
 
echo "${ECHO_T}$enable_static" >&6
 
13601
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
13602
echo "${ECHO_T}$enable_static" >&6; }
13014
13603
 
13015
13604
GCC_F77="$G77"
13016
13605
LD_F77="$LD"
13019
13608
lt_prog_compiler_pic_F77=
13020
13609
lt_prog_compiler_static_F77=
13021
13610
 
13022
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13023
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
13611
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
13612
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13024
13613
 
13025
13614
  if test "$GCC" = yes; then
13026
13615
    lt_prog_compiler_wl_F77='-Wl,'
13149
13738
      lt_prog_compiler_static_F77='-Bstatic'
13150
13739
      ;;
13151
13740
 
13152
 
    linux*)
 
13741
    linux* | k*bsd*-gnu)
13153
13742
      case $cc_basename in
13154
13743
      icc* | ecc*)
13155
13744
        lt_prog_compiler_wl_F77='-Wl,'
13229
13818
    esac
13230
13819
  fi
13231
13820
 
13232
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13233
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
13821
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
13822
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13234
13823
 
13235
13824
#
13236
13825
# Check to make sure the PIC flag actually works.
13237
13826
#
13238
13827
if test -n "$lt_prog_compiler_pic_F77"; then
13239
13828
 
13240
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13241
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
13829
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
13830
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13242
13831
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13243
13832
  echo $ECHO_N "(cached) $ECHO_C" >&6
13244
13833
else
13255
13844
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13256
13845
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13257
13846
   -e 's:$: $lt_compiler_flag:'`
13258
 
   (eval echo "\"\$as_me:13258: $lt_compile\"" >&5)
 
13847
   (eval echo "\"\$as_me:13847: $lt_compile\"" >&5)
13259
13848
   (eval "$lt_compile" 2>conftest.err)
13260
13849
   ac_status=$?
13261
13850
   cat conftest.err >&5
13262
 
   echo "$as_me:13262: \$? = $ac_status" >&5
 
13851
   echo "$as_me:13851: \$? = $ac_status" >&5
13263
13852
   if (exit $ac_status) && test -s "$ac_outfile"; then
13264
13853
     # The compiler can only warn and ignore the option if not recognized
13265
13854
     # So say no if there are warnings other than the usual output.
13272
13861
   $rm conftest*
13273
13862
 
13274
13863
fi
13275
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13276
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
13864
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
13865
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13277
13866
 
13278
13867
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13279
13868
    case $lt_prog_compiler_pic_F77 in
13300
13889
# Check to make sure the static flag actually works.
13301
13890
#
13302
13891
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13303
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13304
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
13892
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13893
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13305
13894
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13306
13895
  echo $ECHO_N "(cached) $ECHO_C" >&6
13307
13896
else
13328
13917
   LDFLAGS="$save_LDFLAGS"
13329
13918
 
13330
13919
fi
13331
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13332
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
13920
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
13921
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13333
13922
 
13334
13923
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13335
13924
    :
13338
13927
fi
13339
13928
 
13340
13929
 
13341
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13342
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13930
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13931
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13343
13932
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13344
13933
  echo $ECHO_N "(cached) $ECHO_C" >&6
13345
13934
else
13359
13948
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13360
13949
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13361
13950
   -e 's:$: $lt_compiler_flag:'`
13362
 
   (eval echo "\"\$as_me:13362: $lt_compile\"" >&5)
 
13951
   (eval echo "\"\$as_me:13951: $lt_compile\"" >&5)
13363
13952
   (eval "$lt_compile" 2>out/conftest.err)
13364
13953
   ac_status=$?
13365
13954
   cat out/conftest.err >&5
13366
 
   echo "$as_me:13366: \$? = $ac_status" >&5
 
13955
   echo "$as_me:13955: \$? = $ac_status" >&5
13367
13956
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13368
13957
   then
13369
13958
     # The compiler can only warn and ignore the option if not recognized
13385
13974
   $rm conftest*
13386
13975
 
13387
13976
fi
13388
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13389
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
13977
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
13978
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13390
13979
 
13391
13980
 
13392
13981
hard_links="nottested"
13393
13982
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13394
13983
  # do not overwrite the value of need_locks provided by the user
13395
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13396
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13984
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13985
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13397
13986
  hard_links=yes
13398
13987
  $rm conftest*
13399
13988
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13400
13989
  touch conftest.a
13401
13990
  ln conftest.a conftest.b 2>&5 || hard_links=no
13402
13991
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13403
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13404
 
echo "${ECHO_T}$hard_links" >&6
 
13992
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13993
echo "${ECHO_T}$hard_links" >&6; }
13405
13994
  if test "$hard_links" = no; then
13406
13995
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13407
13996
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13411
14000
  need_locks=no
13412
14001
fi
13413
14002
 
13414
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13415
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14003
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14004
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13416
14005
 
13417
14006
  runpath_var=
13418
14007
  allow_undefined_flag_F77=
13588
14177
      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'
13589
14178
      ;;
13590
14179
 
13591
 
    linux*)
 
14180
    linux* | k*bsd*-gnu)
13592
14181
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13593
14182
        tmp_addflag=
13594
14183
        case $cc_basename,$host_cpu in
13614
14203
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13615
14204
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13616
14205
        fi
 
14206
        link_all_deplibs_F77=no
13617
14207
      else
13618
14208
        ld_shlibs_F77=no
13619
14209
      fi
13620
14210
      ;;
13621
14211
 
13622
 
    netbsd*)
 
14212
    netbsd* | netbsdelf*-gnu)
13623
14213
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13624
14214
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13625
14215
        wlarc=
13817
14407
      end
13818
14408
_ACEOF
13819
14409
rm -f conftest.$ac_objext conftest$ac_exeext
13820
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13821
 
  (eval $ac_link) 2>conftest.er1
 
14410
if { (ac_try="$ac_link"
 
14411
case "(($ac_try" in
 
14412
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14413
  *) ac_try_echo=$ac_try;;
 
14414
esac
 
14415
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14416
  (eval "$ac_link") 2>conftest.er1
13822
14417
  ac_status=$?
13823
14418
  grep -v '^ *+' conftest.er1 >conftest.err
13824
14419
  rm -f conftest.er1
13825
14420
  cat conftest.err >&5
13826
14421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827
 
  (exit $ac_status); } &&
13828
 
         { ac_try='test -z "$ac_f77_werror_flag"
13829
 
                         || test ! -s conftest.err'
13830
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831
 
  (eval $ac_try) 2>&5
13832
 
  ac_status=$?
13833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834
 
  (exit $ac_status); }; } &&
13835
 
         { ac_try='test -s conftest$ac_exeext'
13836
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837
 
  (eval $ac_try) 2>&5
13838
 
  ac_status=$?
13839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840
 
  (exit $ac_status); }; }; then
 
14422
  (exit $ac_status); } && {
 
14423
         test -z "$ac_f77_werror_flag" ||
 
14424
         test ! -s conftest.err
 
14425
       } && test -s conftest$ac_exeext &&
 
14426
       $as_test_x conftest$ac_exeext; then
13841
14427
 
13842
14428
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13843
14429
}'`
13848
14434
  echo "$as_me: failed program was:" >&5
13849
14435
sed 's/^/| /' conftest.$ac_ext >&5
13850
14436
 
 
14437
 
13851
14438
fi
13852
 
rm -f conftest.err conftest.$ac_objext \
 
14439
 
 
14440
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13853
14441
      conftest$ac_exeext conftest.$ac_ext
13854
14442
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13855
14443
 
13868
14456
      end
13869
14457
_ACEOF
13870
14458
rm -f conftest.$ac_objext conftest$ac_exeext
13871
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13872
 
  (eval $ac_link) 2>conftest.er1
 
14459
if { (ac_try="$ac_link"
 
14460
case "(($ac_try" in
 
14461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14462
  *) ac_try_echo=$ac_try;;
 
14463
esac
 
14464
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14465
  (eval "$ac_link") 2>conftest.er1
13873
14466
  ac_status=$?
13874
14467
  grep -v '^ *+' conftest.er1 >conftest.err
13875
14468
  rm -f conftest.er1
13876
14469
  cat conftest.err >&5
13877
14470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878
 
  (exit $ac_status); } &&
13879
 
         { ac_try='test -z "$ac_f77_werror_flag"
13880
 
                         || test ! -s conftest.err'
13881
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882
 
  (eval $ac_try) 2>&5
13883
 
  ac_status=$?
13884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885
 
  (exit $ac_status); }; } &&
13886
 
         { ac_try='test -s conftest$ac_exeext'
13887
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888
 
  (eval $ac_try) 2>&5
13889
 
  ac_status=$?
13890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891
 
  (exit $ac_status); }; }; then
 
14471
  (exit $ac_status); } && {
 
14472
         test -z "$ac_f77_werror_flag" ||
 
14473
         test ! -s conftest.err
 
14474
       } && test -s conftest$ac_exeext &&
 
14475
       $as_test_x conftest$ac_exeext; then
13892
14476
 
13893
14477
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13894
14478
}'`
13899
14483
  echo "$as_me: failed program was:" >&5
13900
14484
sed 's/^/| /' conftest.$ac_ext >&5
13901
14485
 
 
14486
 
13902
14487
fi
13903
 
rm -f conftest.err conftest.$ac_objext \
 
14488
 
 
14489
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13904
14490
      conftest$ac_exeext conftest.$ac_ext
13905
14491
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13906
14492
 
14031
14617
      ;;
14032
14618
 
14033
14619
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14034
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
14620
    freebsd* | dragonfly*)
14035
14621
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14036
14622
      hardcode_libdir_flag_spec_F77='-R$libdir'
14037
14623
      hardcode_direct_F77=yes
14133
14719
      link_all_deplibs_F77=yes
14134
14720
      ;;
14135
14721
 
14136
 
    netbsd*)
 
14722
    netbsd* | netbsdelf*-gnu)
14137
14723
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14138
14724
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14139
14725
      else
14349
14935
    esac
14350
14936
  fi
14351
14937
 
14352
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14353
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
14938
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
14939
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14354
14940
test "$ld_shlibs_F77" = no && can_build_shared=no
14355
14941
 
14356
14942
#
14370
14956
      # Test whether the compiler implicitly links with -lc since on some
14371
14957
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14372
14958
      # to ld, don't add -lc before -lgcc.
14373
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14374
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
14959
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14960
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14375
14961
      $rm conftest*
14376
14962
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14377
14963
 
14408
14994
        cat conftest.err 1>&5
14409
14995
      fi
14410
14996
      $rm conftest*
14411
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14412
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
14997
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
14998
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14413
14999
      ;;
14414
15000
    esac
14415
15001
  fi
14416
15002
  ;;
14417
15003
esac
14418
15004
 
14419
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14420
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15005
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15006
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14421
15007
library_names_spec=
14422
15008
libname_spec='lib$name'
14423
15009
soname_spec=
14623
15209
  dynamic_linker=no
14624
15210
  ;;
14625
15211
 
14626
 
kfreebsd*-gnu)
14627
 
  version_type=linux
14628
 
  need_lib_prefix=no
14629
 
  need_version=no
14630
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14631
 
  soname_spec='${libname}${release}${shared_ext}$major'
14632
 
  shlibpath_var=LD_LIBRARY_PATH
14633
 
  shlibpath_overrides_runpath=no
14634
 
  hardcode_into_libs=yes
14635
 
  dynamic_linker='GNU ld.so'
14636
 
  ;;
14637
 
 
14638
15212
freebsd* | dragonfly*)
14639
15213
  # DragonFly does not have aout.  When/if they implement a new
14640
15214
  # versioning mechanism, adjust this.
14790
15364
  ;;
14791
15365
 
14792
15366
# This must be Linux ELF.
14793
 
linux*)
 
15367
linux* | k*bsd*-gnu)
14794
15368
  version_type=linux
14795
15369
  need_lib_prefix=no
14796
15370
  need_version=no
14804
15378
  # before this can be enabled.
14805
15379
  hardcode_into_libs=yes
14806
15380
 
14807
 
  # find out which ABI we are using
14808
 
  libsuff=
14809
 
  case "$host_cpu" in
14810
 
  x86_64*|s390x*|powerpc64*)
14811
 
    echo '#line 14811 "configure"' > conftest.$ac_ext
14812
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14813
 
  (eval $ac_compile) 2>&5
14814
 
  ac_status=$?
14815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816
 
  (exit $ac_status); }; then
14817
 
      case `/usr/bin/file conftest.$ac_objext` in
14818
 
      *64-bit*)
14819
 
        libsuff=64
14820
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14821
 
        ;;
14822
 
      esac
14823
 
    fi
14824
 
    rm -rf conftest*
14825
 
    ;;
14826
 
  esac
14827
 
 
14828
15381
  # Append ld.so.conf contents to the search path
14829
15382
  if test -f /etc/ld.so.conf; then
14830
15383
    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' ' '`
14831
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
15384
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14832
15385
  fi
14833
15386
 
14834
15387
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14840
15393
  dynamic_linker='GNU/Linux ld.so'
14841
15394
  ;;
14842
15395
 
14843
 
knetbsd*-gnu)
 
15396
netbsdelf*-gnu)
14844
15397
  version_type=linux
14845
15398
  need_lib_prefix=no
14846
15399
  need_version=no
14849
15402
  shlibpath_var=LD_LIBRARY_PATH
14850
15403
  shlibpath_overrides_runpath=no
14851
15404
  hardcode_into_libs=yes
14852
 
  dynamic_linker='GNU ld.so'
 
15405
  dynamic_linker='NetBSD ld.elf_so'
14853
15406
  ;;
14854
15407
 
14855
15408
netbsd*)
15025
15578
  dynamic_linker=no
15026
15579
  ;;
15027
15580
esac
15028
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15029
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15581
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15582
echo "${ECHO_T}$dynamic_linker" >&6; }
15030
15583
test "$dynamic_linker" = no && can_build_shared=no
15031
15584
 
15032
15585
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15034
15587
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15035
15588
fi
15036
15589
 
15037
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15038
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15590
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15591
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15039
15592
hardcode_action_F77=
15040
15593
if test -n "$hardcode_libdir_flag_spec_F77" || \
15041
15594
   test -n "$runpath_var_F77" || \
15059
15612
  # directories.
15060
15613
  hardcode_action_F77=unsupported
15061
15614
fi
15062
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15063
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
15615
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
15616
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15064
15617
 
15065
15618
if test "$hardcode_action_F77" = relink; then
15066
15619
  # Fast installation is not supported
15497
16050
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15498
16051
 
15499
16052
 
15500
 
 
15501
16053
# Source file extension for Java test sources.
15502
16054
ac_ext=java
15503
16055
 
15565
16117
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15566
16118
 
15567
16119
 
15568
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15569
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16120
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16121
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15570
16122
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15571
16123
  echo $ECHO_N "(cached) $ECHO_C" >&6
15572
16124
else
15583
16135
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15584
16136
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15585
16137
   -e 's:$: $lt_compiler_flag:'`
15586
 
   (eval echo "\"\$as_me:15586: $lt_compile\"" >&5)
 
16138
   (eval echo "\"\$as_me:16138: $lt_compile\"" >&5)
15587
16139
   (eval "$lt_compile" 2>conftest.err)
15588
16140
   ac_status=$?
15589
16141
   cat conftest.err >&5
15590
 
   echo "$as_me:15590: \$? = $ac_status" >&5
 
16142
   echo "$as_me:16142: \$? = $ac_status" >&5
15591
16143
   if (exit $ac_status) && test -s "$ac_outfile"; then
15592
16144
     # The compiler can only warn and ignore the option if not recognized
15593
16145
     # So say no if there are warnings other than the usual output.
15600
16152
   $rm conftest*
15601
16153
 
15602
16154
fi
15603
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15604
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16155
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16156
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15605
16157
 
15606
16158
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15607
16159
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15615
16167
lt_prog_compiler_pic_GCJ=
15616
16168
lt_prog_compiler_static_GCJ=
15617
16169
 
15618
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15619
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16170
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16171
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15620
16172
 
15621
16173
  if test "$GCC" = yes; then
15622
16174
    lt_prog_compiler_wl_GCJ='-Wl,'
15745
16297
      lt_prog_compiler_static_GCJ='-Bstatic'
15746
16298
      ;;
15747
16299
 
15748
 
    linux*)
 
16300
    linux* | k*bsd*-gnu)
15749
16301
      case $cc_basename in
15750
16302
      icc* | ecc*)
15751
16303
        lt_prog_compiler_wl_GCJ='-Wl,'
15825
16377
    esac
15826
16378
  fi
15827
16379
 
15828
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15829
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16380
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16381
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15830
16382
 
15831
16383
#
15832
16384
# Check to make sure the PIC flag actually works.
15833
16385
#
15834
16386
if test -n "$lt_prog_compiler_pic_GCJ"; then
15835
16387
 
15836
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15837
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16388
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16389
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15838
16390
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15839
16391
  echo $ECHO_N "(cached) $ECHO_C" >&6
15840
16392
else
15851
16403
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15852
16404
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15853
16405
   -e 's:$: $lt_compiler_flag:'`
15854
 
   (eval echo "\"\$as_me:15854: $lt_compile\"" >&5)
 
16406
   (eval echo "\"\$as_me:16406: $lt_compile\"" >&5)
15855
16407
   (eval "$lt_compile" 2>conftest.err)
15856
16408
   ac_status=$?
15857
16409
   cat conftest.err >&5
15858
 
   echo "$as_me:15858: \$? = $ac_status" >&5
 
16410
   echo "$as_me:16410: \$? = $ac_status" >&5
15859
16411
   if (exit $ac_status) && test -s "$ac_outfile"; then
15860
16412
     # The compiler can only warn and ignore the option if not recognized
15861
16413
     # So say no if there are warnings other than the usual output.
15868
16420
   $rm conftest*
15869
16421
 
15870
16422
fi
15871
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15872
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16423
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16424
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15873
16425
 
15874
16426
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15875
16427
    case $lt_prog_compiler_pic_GCJ in
15896
16448
# Check to make sure the static flag actually works.
15897
16449
#
15898
16450
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15899
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15900
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
 
16451
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16452
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15901
16453
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15902
16454
  echo $ECHO_N "(cached) $ECHO_C" >&6
15903
16455
else
15924
16476
   LDFLAGS="$save_LDFLAGS"
15925
16477
 
15926
16478
fi
15927
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15928
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
16479
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
16480
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
15929
16481
 
15930
16482
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15931
16483
    :
15934
16486
fi
15935
16487
 
15936
16488
 
15937
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15938
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16489
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16490
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15939
16491
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15940
16492
  echo $ECHO_N "(cached) $ECHO_C" >&6
15941
16493
else
15955
16507
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15956
16508
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15957
16509
   -e 's:$: $lt_compiler_flag:'`
15958
 
   (eval echo "\"\$as_me:15958: $lt_compile\"" >&5)
 
16510
   (eval echo "\"\$as_me:16510: $lt_compile\"" >&5)
15959
16511
   (eval "$lt_compile" 2>out/conftest.err)
15960
16512
   ac_status=$?
15961
16513
   cat out/conftest.err >&5
15962
 
   echo "$as_me:15962: \$? = $ac_status" >&5
 
16514
   echo "$as_me:16514: \$? = $ac_status" >&5
15963
16515
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15964
16516
   then
15965
16517
     # The compiler can only warn and ignore the option if not recognized
15981
16533
   $rm conftest*
15982
16534
 
15983
16535
fi
15984
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15985
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
16536
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
16537
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15986
16538
 
15987
16539
 
15988
16540
hard_links="nottested"
15989
16541
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15990
16542
  # do not overwrite the value of need_locks provided by the user
15991
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15992
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16543
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16544
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15993
16545
  hard_links=yes
15994
16546
  $rm conftest*
15995
16547
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15996
16548
  touch conftest.a
15997
16549
  ln conftest.a conftest.b 2>&5 || hard_links=no
15998
16550
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15999
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16000
 
echo "${ECHO_T}$hard_links" >&6
 
16551
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16552
echo "${ECHO_T}$hard_links" >&6; }
16001
16553
  if test "$hard_links" = no; then
16002
16554
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16003
16555
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16007
16559
  need_locks=no
16008
16560
fi
16009
16561
 
16010
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16011
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16562
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16563
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16012
16564
 
16013
16565
  runpath_var=
16014
16566
  allow_undefined_flag_GCJ=
16184
16736
      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'
16185
16737
      ;;
16186
16738
 
16187
 
    linux*)
 
16739
    linux* | k*bsd*-gnu)
16188
16740
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16189
16741
        tmp_addflag=
16190
16742
        case $cc_basename,$host_cpu in
16210
16762
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16211
16763
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16212
16764
        fi
 
16765
        link_all_deplibs_GCJ=no
16213
16766
      else
16214
16767
        ld_shlibs_GCJ=no
16215
16768
      fi
16216
16769
      ;;
16217
16770
 
16218
 
    netbsd*)
 
16771
    netbsd* | netbsdelf*-gnu)
16219
16772
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16220
16773
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16221
16774
        wlarc=
16423
16976
}
16424
16977
_ACEOF
16425
16978
rm -f conftest.$ac_objext conftest$ac_exeext
16426
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16427
 
  (eval $ac_link) 2>conftest.er1
 
16979
if { (ac_try="$ac_link"
 
16980
case "(($ac_try" in
 
16981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16982
  *) ac_try_echo=$ac_try;;
 
16983
esac
 
16984
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16985
  (eval "$ac_link") 2>conftest.er1
16428
16986
  ac_status=$?
16429
16987
  grep -v '^ *+' conftest.er1 >conftest.err
16430
16988
  rm -f conftest.er1
16431
16989
  cat conftest.err >&5
16432
16990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433
 
  (exit $ac_status); } &&
16434
 
         { ac_try='test -z "$ac_c_werror_flag"
16435
 
                         || test ! -s conftest.err'
16436
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437
 
  (eval $ac_try) 2>&5
16438
 
  ac_status=$?
16439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440
 
  (exit $ac_status); }; } &&
16441
 
         { ac_try='test -s conftest$ac_exeext'
16442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443
 
  (eval $ac_try) 2>&5
16444
 
  ac_status=$?
16445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446
 
  (exit $ac_status); }; }; then
 
16991
  (exit $ac_status); } && {
 
16992
         test -z "$ac_c_werror_flag" ||
 
16993
         test ! -s conftest.err
 
16994
       } && test -s conftest$ac_exeext &&
 
16995
       $as_test_x conftest$ac_exeext; then
16447
16996
 
16448
16997
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16449
16998
}'`
16454
17003
  echo "$as_me: failed program was:" >&5
16455
17004
sed 's/^/| /' conftest.$ac_ext >&5
16456
17005
 
 
17006
 
16457
17007
fi
16458
 
rm -f conftest.err conftest.$ac_objext \
 
17008
 
 
17009
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16459
17010
      conftest$ac_exeext conftest.$ac_ext
16460
17011
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16461
17012
 
16484
17035
}
16485
17036
_ACEOF
16486
17037
rm -f conftest.$ac_objext conftest$ac_exeext
16487
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16488
 
  (eval $ac_link) 2>conftest.er1
 
17038
if { (ac_try="$ac_link"
 
17039
case "(($ac_try" in
 
17040
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17041
  *) ac_try_echo=$ac_try;;
 
17042
esac
 
17043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17044
  (eval "$ac_link") 2>conftest.er1
16489
17045
  ac_status=$?
16490
17046
  grep -v '^ *+' conftest.er1 >conftest.err
16491
17047
  rm -f conftest.er1
16492
17048
  cat conftest.err >&5
16493
17049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494
 
  (exit $ac_status); } &&
16495
 
         { ac_try='test -z "$ac_c_werror_flag"
16496
 
                         || test ! -s conftest.err'
16497
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498
 
  (eval $ac_try) 2>&5
16499
 
  ac_status=$?
16500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501
 
  (exit $ac_status); }; } &&
16502
 
         { ac_try='test -s conftest$ac_exeext'
16503
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504
 
  (eval $ac_try) 2>&5
16505
 
  ac_status=$?
16506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507
 
  (exit $ac_status); }; }; then
 
17050
  (exit $ac_status); } && {
 
17051
         test -z "$ac_c_werror_flag" ||
 
17052
         test ! -s conftest.err
 
17053
       } && test -s conftest$ac_exeext &&
 
17054
       $as_test_x conftest$ac_exeext; then
16508
17055
 
16509
17056
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16510
17057
}'`
16515
17062
  echo "$as_me: failed program was:" >&5
16516
17063
sed 's/^/| /' conftest.$ac_ext >&5
16517
17064
 
 
17065
 
16518
17066
fi
16519
 
rm -f conftest.err conftest.$ac_objext \
 
17067
 
 
17068
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16520
17069
      conftest$ac_exeext conftest.$ac_ext
16521
17070
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16522
17071
 
16647
17196
      ;;
16648
17197
 
16649
17198
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16650
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17199
    freebsd* | dragonfly*)
16651
17200
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16652
17201
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16653
17202
      hardcode_direct_GCJ=yes
16749
17298
      link_all_deplibs_GCJ=yes
16750
17299
      ;;
16751
17300
 
16752
 
    netbsd*)
 
17301
    netbsd* | netbsdelf*-gnu)
16753
17302
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16754
17303
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16755
17304
      else
16965
17514
    esac
16966
17515
  fi
16967
17516
 
16968
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16969
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
17517
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
17518
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16970
17519
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16971
17520
 
16972
17521
#
16986
17535
      # Test whether the compiler implicitly links with -lc since on some
16987
17536
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16988
17537
      # to ld, don't add -lc before -lgcc.
16989
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16990
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17538
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17539
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16991
17540
      $rm conftest*
16992
17541
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16993
17542
 
17024
17573
        cat conftest.err 1>&5
17025
17574
      fi
17026
17575
      $rm conftest*
17027
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17028
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
17576
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
17577
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17029
17578
      ;;
17030
17579
    esac
17031
17580
  fi
17032
17581
  ;;
17033
17582
esac
17034
17583
 
17035
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17036
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17584
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17585
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17037
17586
library_names_spec=
17038
17587
libname_spec='lib$name'
17039
17588
soname_spec=
17239
17788
  dynamic_linker=no
17240
17789
  ;;
17241
17790
 
17242
 
kfreebsd*-gnu)
17243
 
  version_type=linux
17244
 
  need_lib_prefix=no
17245
 
  need_version=no
17246
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17247
 
  soname_spec='${libname}${release}${shared_ext}$major'
17248
 
  shlibpath_var=LD_LIBRARY_PATH
17249
 
  shlibpath_overrides_runpath=no
17250
 
  hardcode_into_libs=yes
17251
 
  dynamic_linker='GNU ld.so'
17252
 
  ;;
17253
 
 
17254
17791
freebsd* | dragonfly*)
17255
17792
  # DragonFly does not have aout.  When/if they implement a new
17256
17793
  # versioning mechanism, adjust this.
17406
17943
  ;;
17407
17944
 
17408
17945
# This must be Linux ELF.
17409
 
linux*)
 
17946
linux* | k*bsd*-gnu)
17410
17947
  version_type=linux
17411
17948
  need_lib_prefix=no
17412
17949
  need_version=no
17420
17957
  # before this can be enabled.
17421
17958
  hardcode_into_libs=yes
17422
17959
 
17423
 
  # find out which ABI we are using
17424
 
  libsuff=
17425
 
  case "$host_cpu" in
17426
 
  x86_64*|s390x*|powerpc64*)
17427
 
    echo '#line 17427 "configure"' > conftest.$ac_ext
17428
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429
 
  (eval $ac_compile) 2>&5
17430
 
  ac_status=$?
17431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432
 
  (exit $ac_status); }; then
17433
 
      case `/usr/bin/file conftest.$ac_objext` in
17434
 
      *64-bit*)
17435
 
        libsuff=64
17436
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17437
 
        ;;
17438
 
      esac
17439
 
    fi
17440
 
    rm -rf conftest*
17441
 
    ;;
17442
 
  esac
17443
 
 
17444
17960
  # Append ld.so.conf contents to the search path
17445
17961
  if test -f /etc/ld.so.conf; then
17446
17962
    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' ' '`
17447
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
17963
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17448
17964
  fi
17449
17965
 
17450
17966
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17456
17972
  dynamic_linker='GNU/Linux ld.so'
17457
17973
  ;;
17458
17974
 
17459
 
knetbsd*-gnu)
 
17975
netbsdelf*-gnu)
17460
17976
  version_type=linux
17461
17977
  need_lib_prefix=no
17462
17978
  need_version=no
17465
17981
  shlibpath_var=LD_LIBRARY_PATH
17466
17982
  shlibpath_overrides_runpath=no
17467
17983
  hardcode_into_libs=yes
17468
 
  dynamic_linker='GNU ld.so'
 
17984
  dynamic_linker='NetBSD ld.elf_so'
17469
17985
  ;;
17470
17986
 
17471
17987
netbsd*)
17641
18157
  dynamic_linker=no
17642
18158
  ;;
17643
18159
esac
17644
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17645
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18160
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18161
echo "${ECHO_T}$dynamic_linker" >&6; }
17646
18162
test "$dynamic_linker" = no && can_build_shared=no
17647
18163
 
17648
18164
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17650
18166
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17651
18167
fi
17652
18168
 
17653
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17654
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18169
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18170
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17655
18171
hardcode_action_GCJ=
17656
18172
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17657
18173
   test -n "$runpath_var_GCJ" || \
17675
18191
  # directories.
17676
18192
  hardcode_action_GCJ=unsupported
17677
18193
fi
17678
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17679
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18194
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18195
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17680
18196
 
17681
18197
if test "$hardcode_action_GCJ" = relink; then
17682
18198
  # Fast installation is not supported
18112
18628
      RC)
18113
18629
 
18114
18630
 
18115
 
 
18116
18631
# Source file extension for RC test sources.
18117
18632
ac_ext=rc
18118
18633
 
18651
19166
        if test -n "$ac_tool_prefix"; then
18652
19167
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18653
19168
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18654
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18655
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19169
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19170
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18656
19171
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18657
19172
  echo $ECHO_N "(cached) $ECHO_C" >&6
18658
19173
else
18667
19182
  IFS=$as_save_IFS
18668
19183
  test -z "$as_dir" && as_dir=.
18669
19184
  for ac_exec_ext in '' $ac_executable_extensions; do
18670
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18671
19186
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18672
19187
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18673
19188
    break 2
18674
19189
  fi
18675
19190
done
18676
19191
done
 
19192
IFS=$as_save_IFS
18677
19193
 
18678
19194
  ;;
18679
19195
esac
18680
19196
fi
18681
19197
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18682
 
 
18683
19198
if test -n "$PKG_CONFIG"; then
18684
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18685
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
19199
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
19200
echo "${ECHO_T}$PKG_CONFIG" >&6; }
18686
19201
else
18687
 
  echo "$as_me:$LINENO: result: no" >&5
18688
 
echo "${ECHO_T}no" >&6
 
19202
  { echo "$as_me:$LINENO: result: no" >&5
 
19203
echo "${ECHO_T}no" >&6; }
18689
19204
fi
 
19205
 
18690
19206
 
18691
19207
fi
18692
19208
if test -z "$ac_cv_path_PKG_CONFIG"; then
18693
19209
  ac_pt_PKG_CONFIG=$PKG_CONFIG
18694
19210
  # Extract the first word of "pkg-config", so it can be a program name with args.
18695
19211
set dummy pkg-config; ac_word=$2
18696
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18697
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19212
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19213
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18698
19214
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18699
19215
  echo $ECHO_N "(cached) $ECHO_C" >&6
18700
19216
else
18709
19225
  IFS=$as_save_IFS
18710
19226
  test -z "$as_dir" && as_dir=.
18711
19227
  for ac_exec_ext in '' $ac_executable_extensions; do
18712
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19228
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18713
19229
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18714
19230
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18715
19231
    break 2
18716
19232
  fi
18717
19233
done
18718
19234
done
 
19235
IFS=$as_save_IFS
18719
19236
 
18720
19237
  ;;
18721
19238
esac
18722
19239
fi
18723
19240
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18724
 
 
18725
19241
if test -n "$ac_pt_PKG_CONFIG"; then
18726
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18727
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
19242
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
19243
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
18728
19244
else
18729
 
  echo "$as_me:$LINENO: result: no" >&5
18730
 
echo "${ECHO_T}no" >&6
 
19245
  { echo "$as_me:$LINENO: result: no" >&5
 
19246
echo "${ECHO_T}no" >&6; }
18731
19247
fi
18732
19248
 
18733
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19249
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
19250
    PKG_CONFIG=""
 
19251
  else
 
19252
    case $cross_compiling:$ac_tool_warned in
 
19253
yes:)
 
19254
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
19255
whose name does not start with the host triplet.  If you think this
 
19256
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
19257
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
19258
whose name does not start with the host triplet.  If you think this
 
19259
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
19260
ac_tool_warned=yes ;;
 
19261
esac
 
19262
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19263
  fi
18734
19264
else
18735
19265
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18736
19266
fi
18738
19268
fi
18739
19269
if test -n "$PKG_CONFIG"; then
18740
19270
        _pkg_min_version=0.9.0
18741
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18742
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
19271
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
19272
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
18743
19273
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18744
 
                echo "$as_me:$LINENO: result: yes" >&5
18745
 
echo "${ECHO_T}yes" >&6
 
19274
                { echo "$as_me:$LINENO: result: yes" >&5
 
19275
echo "${ECHO_T}yes" >&6; }
18746
19276
        else
18747
 
                echo "$as_me:$LINENO: result: no" >&5
18748
 
echo "${ECHO_T}no" >&6
 
19277
                { echo "$as_me:$LINENO: result: no" >&5
 
19278
echo "${ECHO_T}no" >&6; }
18749
19279
                PKG_CONFIG=""
18750
19280
        fi
18751
19281
 
18752
19282
fi
18753
19283
 
18754
19284
pkg_failed=no
18755
 
echo "$as_me:$LINENO: checking for XEVIE" >&5
18756
 
echo $ECHO_N "checking for XEVIE... $ECHO_C" >&6
 
19285
{ echo "$as_me:$LINENO: checking for XEVIE" >&5
 
19286
echo $ECHO_N "checking for XEVIE... $ECHO_C" >&6; }
18757
19287
 
18758
19288
if test -n "$PKG_CONFIG"; then
18759
19289
    if test -n "$XEVIE_CFLAGS"; then
18857
19387
else
18858
19388
        XEVIE_CFLAGS=$pkg_cv_XEVIE_CFLAGS
18859
19389
        XEVIE_LIBS=$pkg_cv_XEVIE_LIBS
18860
 
        echo "$as_me:$LINENO: result: yes" >&5
18861
 
echo "${ECHO_T}yes" >&6
 
19390
        { echo "$as_me:$LINENO: result: yes" >&5
 
19391
echo "${ECHO_T}yes" >&6; }
18862
19392
        :
18863
19393
fi
18864
19394
 
18865
19395
 
18866
19396
 
18867
19397
 
18868
 
# Check whether --enable-malloc0returnsnull or --disable-malloc0returnsnull was given.
 
19398
# Check whether --enable-malloc0returnsnull was given.
18869
19399
if test "${enable_malloc0returnsnull+set}" = set; then
18870
 
  enableval="$enable_malloc0returnsnull"
18871
 
  MALLOC_ZERO_RETURNS_NULL=$enableval
 
19400
  enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
18872
19401
else
18873
19402
  MALLOC_ZERO_RETURNS_NULL=auto
18874
 
fi;
18875
 
 
18876
 
echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
18877
 
echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6
 
19403
fi
 
19404
 
 
19405
 
 
19406
{ echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
 
19407
echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
18878
19408
if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
18879
19409
        if test "$cross_compiling" = yes; then
18880
19410
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18898
19428
}
18899
19429
_ACEOF
18900
19430
rm -f conftest$ac_exeext
18901
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18902
 
  (eval $ac_link) 2>&5
 
19431
if { (ac_try="$ac_link"
 
19432
case "(($ac_try" in
 
19433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19434
  *) ac_try_echo=$ac_try;;
 
19435
esac
 
19436
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19437
  (eval "$ac_link") 2>&5
18903
19438
  ac_status=$?
18904
19439
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905
19440
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907
 
  (eval $ac_try) 2>&5
 
19441
  { (case "(($ac_try" in
 
19442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19443
  *) ac_try_echo=$ac_try;;
 
19444
esac
 
19445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19446
  (eval "$ac_try") 2>&5
18908
19447
  ac_status=$?
18909
19448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910
19449
  (exit $ac_status); }; }; then
18917
19456
( exit $ac_status )
18918
19457
MALLOC_ZERO_RETURNS_NULL=no
18919
19458
fi
18920
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18921
 
fi
18922
 
fi
18923
 
echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
18924
 
echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6
 
19459
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
19460
fi
 
19461
 
 
19462
 
 
19463
fi
 
19464
{ echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
 
19465
echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
18925
19466
 
18926
19467
if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
18927
19468
        MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
18941
19482
 
18942
19483
 
18943
19484
if test x$APP_MAN_SUFFIX = x    ; then
18944
 
    case $host_os in
18945
 
        linux*) APP_MAN_SUFFIX=1x ;;
18946
 
        *)      APP_MAN_SUFFIX=1  ;;
18947
 
    esac
 
19485
    APP_MAN_SUFFIX=1
18948
19486
fi
18949
19487
if test x$APP_MAN_DIR = x    ; then
18950
 
    case $host_os in
18951
 
        linux*) APP_MAN_DIR='$(mandir)/man1' ;;
18952
 
        *)      APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
18953
 
    esac
 
19488
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
18954
19489
fi
18955
19490
 
18956
19491
if test x$LIB_MAN_SUFFIX = x    ; then
18957
 
    case $host_os in
18958
 
        linux*) LIB_MAN_SUFFIX=3x ;;
18959
 
        *)      LIB_MAN_SUFFIX=3  ;;
18960
 
    esac
 
19492
    LIB_MAN_SUFFIX=3
18961
19493
fi
18962
19494
if test x$LIB_MAN_DIR = x    ; then
18963
 
    case $host_os in
18964
 
        linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
18965
 
        *)      LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
18966
 
    esac
 
19495
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
18967
19496
fi
18968
19497
 
18969
19498
if test x$FILE_MAN_SUFFIX = x    ; then
18970
19499
    case $host_os in
18971
 
        linux*)         FILE_MAN_SUFFIX=5x ;;
18972
19500
        solaris*)       FILE_MAN_SUFFIX=4  ;;
18973
19501
        *)              FILE_MAN_SUFFIX=5  ;;
18974
19502
    esac
18975
19503
fi
18976
19504
if test x$FILE_MAN_DIR = x    ; then
18977
 
    case $host_os in
18978
 
        linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
18979
 
        *)      FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
18980
 
    esac
 
19505
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
18981
19506
fi
18982
19507
 
18983
 
# In Imake's linux.cf, the misc man suffix & dir was only changed for
18984
 
# LinuxDebian, not other Linuxes, so we leave it unchanged here
18985
19508
if test x$MISC_MAN_SUFFIX = x    ; then
18986
19509
    case $host_os in
18987
 
#       linux*)         MISC_MAN_SUFFIX=7x ;;
18988
19510
        solaris*)       MISC_MAN_SUFFIX=5  ;;
18989
19511
        *)              MISC_MAN_SUFFIX=7  ;;
18990
19512
    esac
18991
19513
fi
18992
19514
if test x$MISC_MAN_DIR = x    ; then
18993
 
    case $host_os in
18994
 
#       linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
18995
 
        *)      MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
18996
 
    esac
 
19515
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
18997
19516
fi
18998
19517
 
18999
 
# In Imake's linux.cf, the driver man suffix & dir was only changed for
19000
 
# LinuxDebian, not other Linuxes, so we leave it unchanged here
19001
19518
if test x$DRIVER_MAN_SUFFIX = x    ; then
19002
19519
    case $host_os in
19003
 
#       linux*)         DRIVER_MAN_SUFFIX=4x ;;
19004
19520
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
19005
19521
        *)              DRIVER_MAN_SUFFIX=4  ;;
19006
19522
    esac
19007
19523
fi
19008
19524
if test x$DRIVER_MAN_DIR = x    ; then
19009
 
    case $host_os in
19010
 
#       linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
19011
 
        *)      DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
19012
 
    esac
 
19525
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
19013
19526
fi
19014
19527
 
19015
19528
if test x$ADMIN_MAN_SUFFIX = x    ; then
19038
19551
 
19039
19552
 
19040
19553
 
19041
 
# Check whether --with-release-version or --without-release-version was given.
 
19554
# Check whether --with-release-version was given.
19042
19555
if test "${with_release_version+set}" = set; then
19043
 
  withval="$with_release_version"
19044
 
  RELEASE_VERSION="$withval"
 
19556
  withval=$with_release_version; RELEASE_VERSION="$withval"
19045
19557
else
19046
19558
  RELEASE_VERSION=""
19047
 
fi;
 
19559
fi
 
19560
 
19048
19561
        if test "x$RELEASE_VERSION" != "x"; then
19049
19562
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
19050
19563
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
19053
19566
        fi
19054
19567
 
19055
19568
 
19056
 
                                        ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xevie.pc"
 
19569
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xevie.pc"
 
19570
 
19057
19571
cat >confcache <<\_ACEOF
19058
19572
# This file is a shell script that caches the results of configure
19059
19573
# tests run on this system so they can be shared between configure
19072
19586
 
19073
19587
# The following way of writing the cache mishandles newlines in values,
19074
19588
# but we know of no workaround that is simple, portable, and efficient.
19075
 
# So, don't put newlines in cache variables' values.
 
19589
# So, we kill variables containing newlines.
19076
19590
# Ultrix sh set writes to stderr and can't be redirected directly,
19077
19591
# and sets the high bit in the cache file unless we assign to the vars.
19078
 
{
 
19592
(
 
19593
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
19594
    eval ac_val=\$$ac_var
 
19595
    case $ac_val in #(
 
19596
    *${as_nl}*)
 
19597
      case $ac_var in #(
 
19598
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
19599
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
19600
      esac
 
19601
      case $ac_var in #(
 
19602
      _ | IFS | as_nl) ;; #(
 
19603
      *) $as_unset $ac_var ;;
 
19604
      esac ;;
 
19605
    esac
 
19606
  done
 
19607
 
19079
19608
  (set) 2>&1 |
19080
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
19081
 
    *ac_space=\ *)
 
19609
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
19610
    *${as_nl}ac_space=\ *)
19082
19611
      # `set' does not quote correctly, so add quotes (double-quote
19083
19612
      # substitution turns \\\\ into \\, and sed turns \\ into \).
19084
19613
      sed -n \
19085
19614
        "s/'/'\\\\''/g;
19086
19615
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19087
 
      ;;
 
19616
      ;; #(
19088
19617
    *)
19089
19618
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19090
 
      sed -n \
19091
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
19619
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19092
19620
      ;;
19093
 
    esac;
19094
 
} |
 
19621
    esac |
 
19622
    sort
 
19623
) |
19095
19624
  sed '
 
19625
     /^ac_cv_env_/b end
19096
19626
     t clear
19097
 
     : clear
 
19627
     :clear
19098
19628
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19099
19629
     t end
19100
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19101
 
     : end' >>confcache
19102
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
19103
 
  if test -w $cache_file; then
19104
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
19630
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
19631
     :end' >>confcache
 
19632
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
19633
  if test -w "$cache_file"; then
 
19634
    test "x$cache_file" != "x/dev/null" &&
 
19635
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
19636
echo "$as_me: updating cache $cache_file" >&6;}
19105
19637
    cat confcache >$cache_file
19106
19638
  else
19107
 
    echo "not updating unwritable cache $cache_file"
 
19639
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
19640
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19108
19641
  fi
19109
19642
fi
19110
19643
rm -f confcache
19113
19646
# Let make expand exec_prefix.
19114
19647
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19115
19648
 
19116
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19117
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19118
 
# trailing colons and then remove the whole line if VPATH becomes empty
19119
 
# (actually we leave an empty line to preserve line numbers).
19120
 
if test "x$srcdir" = x.; then
19121
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
19122
 
s/:*\$(srcdir):*/:/;
19123
 
s/:*\${srcdir}:*/:/;
19124
 
s/:*@srcdir@:*/:/;
19125
 
s/^\([^=]*=[     ]*\):*/\1/;
19126
 
s/:*$//;
19127
 
s/^[^=]*=[       ]*$//;
19128
 
}'
19129
 
fi
19130
 
 
19131
19649
DEFS=-DHAVE_CONFIG_H
19132
19650
 
19133
19651
ac_libobjs=
19134
19652
ac_ltlibobjs=
19135
19653
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19136
19654
  # 1. Remove the extension, and $U if already installed.
19137
 
  ac_i=`echo "$ac_i" |
19138
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19139
 
  # 2. Add them.
19140
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19141
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
19655
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
19656
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
19657
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
19658
  #    will be set to the directory where LIBOBJS objects are built.
 
19659
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
19660
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19142
19661
done
19143
19662
LIBOBJS=$ac_libobjs
19144
19663
 
19197
19716
## M4sh Initialization.  ##
19198
19717
## --------------------- ##
19199
19718
 
19200
 
# Be Bourne compatible
 
19719
# Be more Bourne compatible
 
19720
DUALCASE=1; export DUALCASE # for MKS sh
19201
19721
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19202
19722
  emulate sh
19203
19723
  NULLCMD=:
19204
19724
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19205
19725
  # is contrary to our usage.  Disable this feature.
19206
19726
  alias -g '${1+"$@"}'='"$@"'
19207
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19208
 
  set -o posix
19209
 
fi
19210
 
DUALCASE=1; export DUALCASE # for MKS sh
 
19727
  setopt NO_GLOB_SUBST
 
19728
else
 
19729
  case `(set -o) 2>/dev/null` in
 
19730
  *posix*) set -o posix ;;
 
19731
esac
 
19732
 
 
19733
fi
 
19734
 
 
19735
 
 
19736
 
 
19737
 
 
19738
# PATH needs CR
 
19739
# Avoid depending upon Character Ranges.
 
19740
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
19741
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
19742
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
19743
as_cr_digits='0123456789'
 
19744
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
19745
 
 
19746
# The user is always right.
 
19747
if test "${PATH_SEPARATOR+set}" != set; then
 
19748
  echo "#! /bin/sh" >conf$$.sh
 
19749
  echo  "exit 0"   >>conf$$.sh
 
19750
  chmod +x conf$$.sh
 
19751
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
19752
    PATH_SEPARATOR=';'
 
19753
  else
 
19754
    PATH_SEPARATOR=:
 
19755
  fi
 
19756
  rm -f conf$$.sh
 
19757
fi
19211
19758
 
19212
19759
# Support unset when possible.
19213
19760
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19217
19764
fi
19218
19765
 
19219
19766
 
 
19767
# IFS
 
19768
# We need space, tab and new line, in precisely that order.  Quoting is
 
19769
# there to prevent editors from complaining about space-tab.
 
19770
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
19771
# splitting by setting IFS to empty value.)
 
19772
as_nl='
 
19773
'
 
19774
IFS=" ""        $as_nl"
 
19775
 
 
19776
# Find who we are.  Look in the path if we contain no directory separator.
 
19777
case $0 in
 
19778
  *[\\/]* ) as_myself=$0 ;;
 
19779
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19780
for as_dir in $PATH
 
19781
do
 
19782
  IFS=$as_save_IFS
 
19783
  test -z "$as_dir" && as_dir=.
 
19784
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
19785
done
 
19786
IFS=$as_save_IFS
 
19787
 
 
19788
     ;;
 
19789
esac
 
19790
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
19791
# in which case we are not to be found in the path.
 
19792
if test "x$as_myself" = x; then
 
19793
  as_myself=$0
 
19794
fi
 
19795
if test ! -f "$as_myself"; then
 
19796
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
19797
  { (exit 1); exit 1; }
 
19798
fi
 
19799
 
19220
19800
# Work around bugs in pre-3.0 UWIN ksh.
19221
 
$as_unset ENV MAIL MAILPATH
 
19801
for as_var in ENV MAIL MAILPATH
 
19802
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
19803
done
19222
19804
PS1='$ '
19223
19805
PS2='> '
19224
19806
PS4='+ '
19232
19814
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19233
19815
    eval $as_var=C; export $as_var
19234
19816
  else
19235
 
    $as_unset $as_var
 
19817
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19236
19818
  fi
19237
19819
done
19238
19820
 
19239
19821
# Required to use basename.
19240
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
19822
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
19823
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19241
19824
  as_expr=expr
19242
19825
else
19243
19826
  as_expr=false
19244
19827
fi
19245
19828
 
19246
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
19829
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19247
19830
  as_basename=basename
19248
19831
else
19249
19832
  as_basename=false
19251
19834
 
19252
19835
 
19253
19836
# Name of the executable.
19254
 
as_me=`$as_basename "$0" ||
 
19837
as_me=`$as_basename -- "$0" ||
19255
19838
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19256
19839
         X"$0" : 'X\(//\)$' \| \
19257
 
         X"$0" : 'X\(/\)$' \| \
19258
 
         .     : '\(.\)' 2>/dev/null ||
 
19840
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19259
19841
echo X/"$0" |
19260
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19261
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
19262
 
          /^X\/\(\/\).*/{ s//\1/; q; }
19263
 
          s/.*/./; q'`
19264
 
 
19265
 
 
19266
 
# PATH needs CR, and LINENO needs CR and PATH.
19267
 
# Avoid depending upon Character Ranges.
19268
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19269
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19270
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19271
 
as_cr_digits='0123456789'
19272
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
19273
 
 
19274
 
# The user is always right.
19275
 
if test "${PATH_SEPARATOR+set}" != set; then
19276
 
  echo "#! /bin/sh" >conf$$.sh
19277
 
  echo  "exit 0"   >>conf$$.sh
19278
 
  chmod +x conf$$.sh
19279
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19280
 
    PATH_SEPARATOR=';'
19281
 
  else
19282
 
    PATH_SEPARATOR=:
19283
 
  fi
19284
 
  rm -f conf$$.sh
19285
 
fi
19286
 
 
19287
 
 
19288
 
  as_lineno_1=$LINENO
19289
 
  as_lineno_2=$LINENO
19290
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19291
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19292
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
19293
 
  # Find who we are.  Look in the path if we contain no path at all
19294
 
  # relative or not.
19295
 
  case $0 in
19296
 
    *[\\/]* ) as_myself=$0 ;;
19297
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19298
 
for as_dir in $PATH
19299
 
do
19300
 
  IFS=$as_save_IFS
19301
 
  test -z "$as_dir" && as_dir=.
19302
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19303
 
done
19304
 
 
19305
 
       ;;
19306
 
  esac
19307
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
19308
 
  # in which case we are not to be found in the path.
19309
 
  if test "x$as_myself" = x; then
19310
 
    as_myself=$0
19311
 
  fi
19312
 
  if test ! -f "$as_myself"; then
19313
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19314
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19315
 
   { (exit 1); exit 1; }; }
19316
 
  fi
19317
 
  case $CONFIG_SHELL in
19318
 
  '')
19319
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19320
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
19321
 
do
19322
 
  IFS=$as_save_IFS
19323
 
  test -z "$as_dir" && as_dir=.
19324
 
  for as_base in sh bash ksh sh5; do
19325
 
         case $as_dir in
19326
 
         /*)
19327
 
           if ("$as_dir/$as_base" -c '
19328
 
  as_lineno_1=$LINENO
19329
 
  as_lineno_2=$LINENO
19330
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19331
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19332
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
19333
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
19334
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
19335
 
             CONFIG_SHELL=$as_dir/$as_base
19336
 
             export CONFIG_SHELL
19337
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19338
 
           fi;;
19339
 
         esac
19340
 
       done
19341
 
done
19342
 
;;
19343
 
  esac
 
19842
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
19843
            s//\1/
 
19844
            q
 
19845
          }
 
19846
          /^X\/\(\/\/\)$/{
 
19847
            s//\1/
 
19848
            q
 
19849
          }
 
19850
          /^X\/\(\/\).*/{
 
19851
            s//\1/
 
19852
            q
 
19853
          }
 
19854
          s/.*/./; q'`
 
19855
 
 
19856
# CDPATH.
 
19857
$as_unset CDPATH
 
19858
 
 
19859
 
 
19860
 
 
19861
  as_lineno_1=$LINENO
 
19862
  as_lineno_2=$LINENO
 
19863
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
19864
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19344
19865
 
19345
19866
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19346
19867
  # uniformly replaced by the line number.  The first 'sed' inserts a
19347
 
  # line-number line before each line; the second 'sed' does the real
19348
 
  # work.  The second script uses 'N' to pair each line-number line
19349
 
  # with the numbered line, and appends trailing '-' during
19350
 
  # substitution so that $LINENO is not a special case at line end.
 
19868
  # line-number line after each line using $LINENO; the second 'sed'
 
19869
  # does the real work.  The second script uses 'N' to pair each
 
19870
  # line-number line with the line containing $LINENO, and appends
 
19871
  # trailing '-' during substitution so that $LINENO is not a special
 
19872
  # case at line end.
19351
19873
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19352
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
19353
 
  sed '=' <$as_myself |
 
19874
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
19875
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
19876
  sed -n '
 
19877
    p
 
19878
    /[$]LINENO/=
 
19879
  ' <$as_myself |
19354
19880
    sed '
 
19881
      s/[$]LINENO.*/&-/
 
19882
      t lineno
 
19883
      b
 
19884
      :lineno
19355
19885
      N
19356
 
      s,$,-,
19357
 
      : loop
19358
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
19886
      :loop
 
19887
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19359
19888
      t loop
19360
 
      s,-$,,
19361
 
      s,^['$as_cr_digits']*\n,,
 
19889
      s/-\n.*//
19362
19890
    ' >$as_me.lineno &&
19363
 
  chmod +x $as_me.lineno ||
19364
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19365
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
19891
  chmod +x "$as_me.lineno" ||
 
19892
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19366
19893
   { (exit 1); exit 1; }; }
19367
19894
 
19368
19895
  # Don't try to exec as it changes $[0], causing all sort of problems
19369
19896
  # (the dirname of $[0] is not the place where we might find the
19370
 
  # original and so on.  Autoconf is especially sensible to this).
19371
 
  . ./$as_me.lineno
 
19897
  # original and so on.  Autoconf is especially sensitive to this).
 
19898
  . "./$as_me.lineno"
19372
19899
  # Exit status is that of the last command.
19373
19900
  exit
19374
19901
}
19375
19902
 
19376
19903
 
19377
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19378
 
  *c*,-n*) ECHO_N= ECHO_C='
19379
 
' ECHO_T='      ' ;;
19380
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
19381
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
19904
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
19905
  as_dirname=dirname
 
19906
else
 
19907
  as_dirname=false
 
19908
fi
 
19909
 
 
19910
ECHO_C= ECHO_N= ECHO_T=
 
19911
case `echo -n x` in
 
19912
-n*)
 
19913
  case `echo 'x\c'` in
 
19914
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
19915
  *)   ECHO_C='\c';;
 
19916
  esac;;
 
19917
*)
 
19918
  ECHO_N='-n';;
19382
19919
esac
19383
19920
 
19384
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
19921
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
19922
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19385
19923
  as_expr=expr
19386
19924
else
19387
19925
  as_expr=false
19388
19926
fi
19389
19927
 
19390
19928
rm -f conf$$ conf$$.exe conf$$.file
 
19929
if test -d conf$$.dir; then
 
19930
  rm -f conf$$.dir/conf$$.file
 
19931
else
 
19932
  rm -f conf$$.dir
 
19933
  mkdir conf$$.dir
 
19934
fi
19391
19935
echo >conf$$.file
19392
19936
if ln -s conf$$.file conf$$ 2>/dev/null; then
19393
 
  # We could just check for DJGPP; but this test a) works b) is more generic
19394
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19395
 
  if test -f conf$$.exe; then
19396
 
    # Don't use ln at all; we don't have any links
 
19937
  as_ln_s='ln -s'
 
19938
  # ... but there are two gotchas:
 
19939
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
19940
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
19941
  # In both cases, we have to default to `cp -p'.
 
19942
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19397
19943
    as_ln_s='cp -p'
19398
 
  else
19399
 
    as_ln_s='ln -s'
19400
 
  fi
19401
19944
elif ln conf$$.file conf$$ 2>/dev/null; then
19402
19945
  as_ln_s=ln
19403
19946
else
19404
19947
  as_ln_s='cp -p'
19405
19948
fi
19406
 
rm -f conf$$ conf$$.exe conf$$.file
 
19949
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
19950
rmdir conf$$.dir 2>/dev/null
19407
19951
 
19408
19952
if mkdir -p . 2>/dev/null; then
19409
19953
  as_mkdir_p=:
19412
19956
  as_mkdir_p=false
19413
19957
fi
19414
19958
 
19415
 
as_executable_p="test -f"
 
19959
if test -x / >/dev/null 2>&1; then
 
19960
  as_test_x='test -x'
 
19961
else
 
19962
  if ls -dL / >/dev/null 2>&1; then
 
19963
    as_ls_L_option=L
 
19964
  else
 
19965
    as_ls_L_option=
 
19966
  fi
 
19967
  as_test_x='
 
19968
    eval sh -c '\''
 
19969
      if test -d "$1"; then
 
19970
        test -d "$1/.";
 
19971
      else
 
19972
        case $1 in
 
19973
        -*)set "./$1";;
 
19974
        esac;
 
19975
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
19976
        ???[sx]*):;;*)false;;esac;fi
 
19977
    '\'' sh
 
19978
  '
 
19979
fi
 
19980
as_executable_p=$as_test_x
19416
19981
 
19417
19982
# Sed expression to map a string onto a valid CPP name.
19418
19983
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19421
19986
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19422
19987
 
19423
19988
 
19424
 
# IFS
19425
 
# We need space, tab and new line, in precisely that order.
19426
 
as_nl='
19427
 
'
19428
 
IFS="   $as_nl"
19429
 
 
19430
 
# CDPATH.
19431
 
$as_unset CDPATH
19432
 
 
19433
19989
exec 6>&1
19434
19990
 
19435
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
19991
# Save the log message, to keep $[0] and so on meaningful, and to
19436
19992
# report actual input values of CONFIG_FILES etc. instead of their
19437
 
# values after options handling.  Logging --version etc. is OK.
19438
 
exec 5>>config.log
19439
 
{
19440
 
  echo
19441
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19442
 
## Running $as_me. ##
19443
 
_ASBOX
19444
 
} >&5
19445
 
cat >&5 <<_CSEOF
19446
 
 
19447
 
This file was extended by libXevie $as_me 1.0.1, which was
19448
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
19993
# values after options handling.
 
19994
ac_log="
 
19995
This file was extended by libXevie $as_me 1.0.2, which was
 
19996
generated by GNU Autoconf 2.61.  Invocation command line was
19449
19997
 
19450
19998
  CONFIG_FILES    = $CONFIG_FILES
19451
19999
  CONFIG_HEADERS  = $CONFIG_HEADERS
19453
20001
  CONFIG_COMMANDS = $CONFIG_COMMANDS
19454
20002
  $ $0 $@
19455
20003
 
19456
 
_CSEOF
19457
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19458
 
echo >&5
 
20004
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
20005
"
 
20006
 
19459
20007
_ACEOF
19460
20008
 
 
20009
cat >>$CONFIG_STATUS <<_ACEOF
19461
20010
# Files that config.status was made for.
19462
 
if test -n "$ac_config_files"; then
19463
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19464
 
fi
19465
 
 
19466
 
if test -n "$ac_config_headers"; then
19467
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19468
 
fi
19469
 
 
19470
 
if test -n "$ac_config_links"; then
19471
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19472
 
fi
19473
 
 
19474
 
if test -n "$ac_config_commands"; then
19475
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19476
 
fi
 
20011
config_files="$ac_config_files"
 
20012
config_headers="$ac_config_headers"
 
20013
config_commands="$ac_config_commands"
 
20014
 
 
20015
_ACEOF
19477
20016
 
19478
20017
cat >>$CONFIG_STATUS <<\_ACEOF
19479
 
 
19480
20018
ac_cs_usage="\
19481
20019
\`$as_me' instantiates files from templates according to the
19482
20020
current configuration.
19484
20022
Usage: $0 [OPTIONS] [FILE]...
19485
20023
 
19486
20024
  -h, --help       print this help, then exit
19487
 
  -V, --version    print version number, then exit
 
20025
  -V, --version    print version number and configuration settings, then exit
19488
20026
  -q, --quiet      do not print progress messages
19489
20027
  -d, --debug      don't remove temporary files
19490
20028
      --recheck    update $as_me by reconfiguring in the same conditions
19503
20041
$config_commands
19504
20042
 
19505
20043
Report bugs to <bug-autoconf@gnu.org>."
 
20044
 
19506
20045
_ACEOF
19507
 
 
19508
20046
cat >>$CONFIG_STATUS <<_ACEOF
19509
20047
ac_cs_version="\\
19510
 
libXevie config.status 1.0.1
19511
 
configured by $0, generated by GNU Autoconf 2.59,
19512
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
20048
libXevie config.status 1.0.2
 
20049
configured by $0, generated by GNU Autoconf 2.61,
 
20050
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19513
20051
 
19514
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
20052
Copyright (C) 2006 Free Software Foundation, Inc.
19515
20053
This config.status script is free software; the Free Software Foundation
19516
20054
gives unlimited permission to copy, distribute and modify it."
19517
 
srcdir=$srcdir
19518
 
INSTALL="$INSTALL"
 
20055
 
 
20056
ac_pwd='$ac_pwd'
 
20057
srcdir='$srcdir'
 
20058
INSTALL='$INSTALL'
19519
20059
_ACEOF
19520
20060
 
19521
20061
cat >>$CONFIG_STATUS <<\_ACEOF
19526
20066
do
19527
20067
  case $1 in
19528
20068
  --*=*)
19529
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
19530
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
20069
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
20070
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19531
20071
    ac_shift=:
19532
20072
    ;;
19533
 
  -*)
 
20073
  *)
19534
20074
    ac_option=$1
19535
20075
    ac_optarg=$2
19536
20076
    ac_shift=shift
19537
20077
    ;;
19538
 
  *) # This is not an option, so the user has probably given explicit
19539
 
     # arguments.
19540
 
     ac_option=$1
19541
 
     ac_need_defaults=false;;
19542
20078
  esac
19543
20079
 
19544
20080
  case $ac_option in
19545
20081
  # Handling of the options.
19546
 
_ACEOF
19547
 
cat >>$CONFIG_STATUS <<\_ACEOF
19548
20082
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19549
20083
    ac_cs_recheck=: ;;
19550
 
  --version | --vers* | -V )
19551
 
    echo "$ac_cs_version"; exit 0 ;;
19552
 
  --he | --h)
19553
 
    # Conflict between --help and --header
19554
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
19555
 
Try \`$0 --help' for more information." >&5
19556
 
echo "$as_me: error: ambiguous option: $1
19557
 
Try \`$0 --help' for more information." >&2;}
19558
 
   { (exit 1); exit 1; }; };;
19559
 
  --help | --hel | -h )
19560
 
    echo "$ac_cs_usage"; exit 0 ;;
19561
 
  --debug | --d* | -d )
 
20084
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
20085
    echo "$ac_cs_version"; exit ;;
 
20086
  --debug | --debu | --deb | --de | --d | -d )
19562
20087
    debug=: ;;
19563
20088
  --file | --fil | --fi | --f )
19564
20089
    $ac_shift
19568
20093
    $ac_shift
19569
20094
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
19570
20095
    ac_need_defaults=false;;
 
20096
  --he | --h)
 
20097
    # Conflict between --help and --header
 
20098
    { echo "$as_me: error: ambiguous option: $1
 
20099
Try \`$0 --help' for more information." >&2
 
20100
   { (exit 1); exit 1; }; };;
 
20101
  --help | --hel | -h )
 
20102
    echo "$ac_cs_usage"; exit ;;
19571
20103
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19572
20104
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19573
20105
    ac_cs_silent=: ;;
19574
20106
 
19575
20107
  # This is an error.
19576
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19577
 
Try \`$0 --help' for more information." >&5
19578
 
echo "$as_me: error: unrecognized option: $1
19579
 
Try \`$0 --help' for more information." >&2;}
 
20108
  -*) { echo "$as_me: error: unrecognized option: $1
 
20109
Try \`$0 --help' for more information." >&2
19580
20110
   { (exit 1); exit 1; }; } ;;
19581
20111
 
19582
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
20112
  *) ac_config_targets="$ac_config_targets $1"
 
20113
     ac_need_defaults=false ;;
19583
20114
 
19584
20115
  esac
19585
20116
  shift
19595
20126
_ACEOF
19596
20127
cat >>$CONFIG_STATUS <<_ACEOF
19597
20128
if \$ac_cs_recheck; then
19598
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19599
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20129
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
20130
  CONFIG_SHELL=$SHELL
 
20131
  export CONFIG_SHELL
 
20132
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19600
20133
fi
19601
20134
 
19602
20135
_ACEOF
 
20136
cat >>$CONFIG_STATUS <<\_ACEOF
 
20137
exec 5>>config.log
 
20138
{
 
20139
  echo
 
20140
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
20141
## Running $as_me. ##
 
20142
_ASBOX
 
20143
  echo "$ac_log"
 
20144
} >&5
19603
20145
 
 
20146
_ACEOF
19604
20147
cat >>$CONFIG_STATUS <<_ACEOF
19605
20148
#
19606
 
# INIT-COMMANDS section.
 
20149
# INIT-COMMANDS
19607
20150
#
19608
 
 
19609
20151
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19610
20152
 
19611
20153
_ACEOF
19612
20154
 
19613
 
 
19614
 
 
19615
20155
cat >>$CONFIG_STATUS <<\_ACEOF
 
20156
 
 
20157
# Handling of arguments.
19616
20158
for ac_config_target in $ac_config_targets
19617
20159
do
19618
 
  case "$ac_config_target" in
19619
 
  # Handling of arguments.
19620
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19621
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19622
 
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
19623
 
  "xevie.pc" ) CONFIG_FILES="$CONFIG_FILES xevie.pc" ;;
19624
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19625
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
20160
  case $ac_config_target in
 
20161
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
20162
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
20163
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
20164
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
20165
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
20166
    "xevie.pc") CONFIG_FILES="$CONFIG_FILES xevie.pc" ;;
 
20167
 
19626
20168
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19627
20169
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19628
20170
   { (exit 1); exit 1; }; };;
19629
20171
  esac
19630
20172
done
19631
20173
 
 
20174
 
19632
20175
# If the user did not use the arguments to specify the items to instantiate,
19633
20176
# then the envvar interface is used.  Set only those that are not.
19634
20177
# We use the long form for the default assignment because of an extremely
19640
20183
fi
19641
20184
 
19642
20185
# Have a temporary directory for convenience.  Make it in the build tree
19643
 
# simply because there is no reason to put it here, and in addition,
 
20186
# simply because there is no reason against having it here, and in addition,
19644
20187
# creating and moving files from /tmp can sometimes cause problems.
19645
 
# Create a temporary directory, and hook for its removal unless debugging.
 
20188
# Hook for its removal unless debugging.
 
20189
# Note that there is a small window in which the directory will not be cleaned:
 
20190
# after its creation but before its name has been assigned to `$tmp'.
19646
20191
$debug ||
19647
20192
{
19648
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
20193
  tmp=
 
20194
  trap 'exit_status=$?
 
20195
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
20196
' 0
19649
20197
  trap '{ (exit 1); exit 1; }' 1 2 13 15
19650
20198
}
19651
 
 
19652
20199
# Create a (secure) tmp directory for tmp files.
19653
20200
 
19654
20201
{
19655
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
20202
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19656
20203
  test -n "$tmp" && test -d "$tmp"
19657
20204
}  ||
19658
20205
{
19659
 
  tmp=./confstat$$-$RANDOM
19660
 
  (umask 077 && mkdir $tmp)
 
20206
  tmp=./conf$$-$RANDOM
 
20207
  (umask 077 && mkdir "$tmp")
19661
20208
} ||
19662
20209
{
19663
20210
   echo "$me: cannot create a temporary directory in ." >&2
19664
20211
   { (exit 1); exit 1; }
19665
20212
}
19666
20213
 
19667
 
_ACEOF
19668
 
 
19669
 
cat >>$CONFIG_STATUS <<_ACEOF
19670
 
 
19671
20214
#
19672
 
# CONFIG_FILES section.
 
20215
# Set up the sed scripts for CONFIG_FILES section.
19673
20216
#
19674
20217
 
19675
20218
# No need to generate the scripts if there are no CONFIG_FILES.
19676
20219
# This happens for instance when ./config.status config.h
19677
 
if test -n "\$CONFIG_FILES"; then
19678
 
  # Protect against being on the right side of a sed subst in config.status.
19679
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19680
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19681
 
s,@SHELL@,$SHELL,;t t
19682
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19683
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19684
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19685
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19686
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19687
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19688
 
s,@exec_prefix@,$exec_prefix,;t t
19689
 
s,@prefix@,$prefix,;t t
19690
 
s,@program_transform_name@,$program_transform_name,;t t
19691
 
s,@bindir@,$bindir,;t t
19692
 
s,@sbindir@,$sbindir,;t t
19693
 
s,@libexecdir@,$libexecdir,;t t
19694
 
s,@datadir@,$datadir,;t t
19695
 
s,@sysconfdir@,$sysconfdir,;t t
19696
 
s,@sharedstatedir@,$sharedstatedir,;t t
19697
 
s,@localstatedir@,$localstatedir,;t t
19698
 
s,@libdir@,$libdir,;t t
19699
 
s,@includedir@,$includedir,;t t
19700
 
s,@oldincludedir@,$oldincludedir,;t t
19701
 
s,@infodir@,$infodir,;t t
19702
 
s,@mandir@,$mandir,;t t
19703
 
s,@build_alias@,$build_alias,;t t
19704
 
s,@host_alias@,$host_alias,;t t
19705
 
s,@target_alias@,$target_alias,;t t
19706
 
s,@DEFS@,$DEFS,;t t
19707
 
s,@ECHO_C@,$ECHO_C,;t t
19708
 
s,@ECHO_N@,$ECHO_N,;t t
19709
 
s,@ECHO_T@,$ECHO_T,;t t
19710
 
s,@LIBS@,$LIBS,;t t
19711
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19712
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19713
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19714
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
19715
 
s,@PACKAGE@,$PACKAGE,;t t
19716
 
s,@VERSION@,$VERSION,;t t
19717
 
s,@ACLOCAL@,$ACLOCAL,;t t
19718
 
s,@AUTOCONF@,$AUTOCONF,;t t
19719
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
19720
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
19721
 
s,@MAKEINFO@,$MAKEINFO,;t t
19722
 
s,@install_sh@,$install_sh,;t t
19723
 
s,@STRIP@,$STRIP,;t t
19724
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19725
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19726
 
s,@mkdir_p@,$mkdir_p,;t t
19727
 
s,@AWK@,$AWK,;t t
19728
 
s,@SET_MAKE@,$SET_MAKE,;t t
19729
 
s,@am__leading_dot@,$am__leading_dot,;t t
19730
 
s,@AMTAR@,$AMTAR,;t t
19731
 
s,@am__tar@,$am__tar,;t t
19732
 
s,@am__untar@,$am__untar,;t t
19733
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
19734
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
19735
 
s,@MAINT@,$MAINT,;t t
19736
 
s,@CC@,$CC,;t t
19737
 
s,@CFLAGS@,$CFLAGS,;t t
19738
 
s,@LDFLAGS@,$LDFLAGS,;t t
19739
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
19740
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
19741
 
s,@EXEEXT@,$EXEEXT,;t t
19742
 
s,@OBJEXT@,$OBJEXT,;t t
19743
 
s,@DEPDIR@,$DEPDIR,;t t
19744
 
s,@am__include@,$am__include,;t t
19745
 
s,@am__quote@,$am__quote,;t t
19746
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19747
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19748
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19749
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
19750
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19751
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19752
 
s,@build@,$build,;t t
19753
 
s,@build_cpu@,$build_cpu,;t t
19754
 
s,@build_vendor@,$build_vendor,;t t
19755
 
s,@build_os@,$build_os,;t t
19756
 
s,@host@,$host,;t t
19757
 
s,@host_cpu@,$host_cpu,;t t
19758
 
s,@host_vendor@,$host_vendor,;t t
19759
 
s,@host_os@,$host_os,;t t
19760
 
s,@EGREP@,$EGREP,;t t
19761
 
s,@LN_S@,$LN_S,;t t
19762
 
s,@ECHO@,$ECHO,;t t
19763
 
s,@AR@,$AR,;t t
19764
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
19765
 
s,@RANLIB@,$RANLIB,;t t
19766
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19767
 
s,@CPP@,$CPP,;t t
19768
 
s,@CXX@,$CXX,;t t
19769
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
19770
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19771
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19772
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19773
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19774
 
s,@CXXCPP@,$CXXCPP,;t t
19775
 
s,@F77@,$F77,;t t
19776
 
s,@FFLAGS@,$FFLAGS,;t t
19777
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
19778
 
s,@LIBTOOL@,$LIBTOOL,;t t
19779
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19780
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
19781
 
s,@XEVIE_CFLAGS@,$XEVIE_CFLAGS,;t t
19782
 
s,@XEVIE_LIBS@,$XEVIE_LIBS,;t t
19783
 
s,@MALLOC_ZERO_CFLAGS@,$MALLOC_ZERO_CFLAGS,;t t
19784
 
s,@XMALLOC_ZERO_CFLAGS@,$XMALLOC_ZERO_CFLAGS,;t t
19785
 
s,@XTMALLOC_ZERO_CFLAGS@,$XTMALLOC_ZERO_CFLAGS,;t t
19786
 
s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
19787
 
s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
19788
 
s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
19789
 
s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
19790
 
s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
19791
 
s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
19792
 
s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
19793
 
s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
19794
 
s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
19795
 
s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
19796
 
s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
19797
 
s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
19798
 
s,@LIBOBJS@,$LIBOBJS,;t t
19799
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19800
 
CEOF
19801
 
 
19802
 
_ACEOF
19803
 
 
19804
 
  cat >>$CONFIG_STATUS <<\_ACEOF
19805
 
  # Split the substitutions into bite-sized pieces for seds with
19806
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
19807
 
  ac_max_sed_lines=48
19808
 
  ac_sed_frag=1 # Number of current file.
19809
 
  ac_beg=1 # First line for current file.
19810
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
19811
 
  ac_more_lines=:
19812
 
  ac_sed_cmds=
19813
 
  while $ac_more_lines; do
19814
 
    if test $ac_beg -gt 1; then
19815
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19816
 
    else
19817
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19818
 
    fi
19819
 
    if test ! -s $tmp/subs.frag; then
19820
 
      ac_more_lines=false
19821
 
    else
19822
 
      # The purpose of the label and of the branching condition is to
19823
 
      # speed up the sed processing (if there are no `@' at all, there
19824
 
      # is no need to browse any of the substitutions).
19825
 
      # These are the two extra sed commands mentioned above.
19826
 
      (echo ':t
19827
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
19828
 
      if test -z "$ac_sed_cmds"; then
19829
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
19830
 
      else
19831
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19832
 
      fi
19833
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
19834
 
      ac_beg=$ac_end
19835
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
19836
 
    fi
19837
 
  done
19838
 
  if test -z "$ac_sed_cmds"; then
19839
 
    ac_sed_cmds=cat
19840
 
  fi
 
20220
if test -n "$CONFIG_FILES"; then
 
20221
 
 
20222
_ACEOF
 
20223
 
 
20224
 
 
20225
 
 
20226
ac_delim='%!_!# '
 
20227
for ac_last_try in false false false false false :; do
 
20228
  cat >conf$$subs.sed <<_ACEOF
 
20229
SHELL!$SHELL$ac_delim
 
20230
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
20231
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
20232
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
20233
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
20234
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
20235
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
20236
exec_prefix!$exec_prefix$ac_delim
 
20237
prefix!$prefix$ac_delim
 
20238
program_transform_name!$program_transform_name$ac_delim
 
20239
bindir!$bindir$ac_delim
 
20240
sbindir!$sbindir$ac_delim
 
20241
libexecdir!$libexecdir$ac_delim
 
20242
datarootdir!$datarootdir$ac_delim
 
20243
datadir!$datadir$ac_delim
 
20244
sysconfdir!$sysconfdir$ac_delim
 
20245
sharedstatedir!$sharedstatedir$ac_delim
 
20246
localstatedir!$localstatedir$ac_delim
 
20247
includedir!$includedir$ac_delim
 
20248
oldincludedir!$oldincludedir$ac_delim
 
20249
docdir!$docdir$ac_delim
 
20250
infodir!$infodir$ac_delim
 
20251
htmldir!$htmldir$ac_delim
 
20252
dvidir!$dvidir$ac_delim
 
20253
pdfdir!$pdfdir$ac_delim
 
20254
psdir!$psdir$ac_delim
 
20255
libdir!$libdir$ac_delim
 
20256
localedir!$localedir$ac_delim
 
20257
mandir!$mandir$ac_delim
 
20258
DEFS!$DEFS$ac_delim
 
20259
ECHO_C!$ECHO_C$ac_delim
 
20260
ECHO_N!$ECHO_N$ac_delim
 
20261
ECHO_T!$ECHO_T$ac_delim
 
20262
LIBS!$LIBS$ac_delim
 
20263
build_alias!$build_alias$ac_delim
 
20264
host_alias!$host_alias$ac_delim
 
20265
target_alias!$target_alias$ac_delim
 
20266
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
20267
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
20268
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
20269
CYGPATH_W!$CYGPATH_W$ac_delim
 
20270
PACKAGE!$PACKAGE$ac_delim
 
20271
VERSION!$VERSION$ac_delim
 
20272
ACLOCAL!$ACLOCAL$ac_delim
 
20273
AUTOCONF!$AUTOCONF$ac_delim
 
20274
AUTOMAKE!$AUTOMAKE$ac_delim
 
20275
AUTOHEADER!$AUTOHEADER$ac_delim
 
20276
MAKEINFO!$MAKEINFO$ac_delim
 
20277
install_sh!$install_sh$ac_delim
 
20278
STRIP!$STRIP$ac_delim
 
20279
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
20280
mkdir_p!$mkdir_p$ac_delim
 
20281
AWK!$AWK$ac_delim
 
20282
SET_MAKE!$SET_MAKE$ac_delim
 
20283
am__leading_dot!$am__leading_dot$ac_delim
 
20284
AMTAR!$AMTAR$ac_delim
 
20285
am__tar!$am__tar$ac_delim
 
20286
am__untar!$am__untar$ac_delim
 
20287
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
20288
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
20289
MAINT!$MAINT$ac_delim
 
20290
CC!$CC$ac_delim
 
20291
CFLAGS!$CFLAGS$ac_delim
 
20292
LDFLAGS!$LDFLAGS$ac_delim
 
20293
CPPFLAGS!$CPPFLAGS$ac_delim
 
20294
ac_ct_CC!$ac_ct_CC$ac_delim
 
20295
EXEEXT!$EXEEXT$ac_delim
 
20296
OBJEXT!$OBJEXT$ac_delim
 
20297
DEPDIR!$DEPDIR$ac_delim
 
20298
am__include!$am__include$ac_delim
 
20299
am__quote!$am__quote$ac_delim
 
20300
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
20301
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
20302
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
20303
CCDEPMODE!$CCDEPMODE$ac_delim
 
20304
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
20305
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
20306
build!$build$ac_delim
 
20307
build_cpu!$build_cpu$ac_delim
 
20308
build_vendor!$build_vendor$ac_delim
 
20309
build_os!$build_os$ac_delim
 
20310
host!$host$ac_delim
 
20311
host_cpu!$host_cpu$ac_delim
 
20312
host_vendor!$host_vendor$ac_delim
 
20313
host_os!$host_os$ac_delim
 
20314
GREP!$GREP$ac_delim
 
20315
EGREP!$EGREP$ac_delim
 
20316
LN_S!$LN_S$ac_delim
 
20317
ECHO!$ECHO$ac_delim
 
20318
AR!$AR$ac_delim
 
20319
RANLIB!$RANLIB$ac_delim
 
20320
CPP!$CPP$ac_delim
 
20321
CXX!$CXX$ac_delim
 
20322
CXXFLAGS!$CXXFLAGS$ac_delim
 
20323
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
20324
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
20325
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
20326
_ACEOF
 
20327
 
 
20328
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
20329
    break
 
20330
  elif $ac_last_try; then
 
20331
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
20332
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
20333
   { (exit 1); exit 1; }; }
 
20334
  else
 
20335
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
20336
  fi
 
20337
done
 
20338
 
 
20339
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
20340
if test -n "$ac_eof"; then
 
20341
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
20342
  ac_eof=`expr $ac_eof + 1`
 
20343
fi
 
20344
 
 
20345
cat >>$CONFIG_STATUS <<_ACEOF
 
20346
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
20347
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
20348
_ACEOF
 
20349
sed '
 
20350
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
20351
s/^/s,@/; s/!/@,|#_!!_#|/
 
20352
:n
 
20353
t n
 
20354
s/'"$ac_delim"'$/,g/; t
 
20355
s/$/\\/; p
 
20356
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
20357
' >>$CONFIG_STATUS <conf$$subs.sed
 
20358
rm -f conf$$subs.sed
 
20359
cat >>$CONFIG_STATUS <<_ACEOF
 
20360
CEOF$ac_eof
 
20361
_ACEOF
 
20362
 
 
20363
 
 
20364
ac_delim='%!_!# '
 
20365
for ac_last_try in false false false false false :; do
 
20366
  cat >conf$$subs.sed <<_ACEOF
 
20367
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
20368
CXXCPP!$CXXCPP$ac_delim
 
20369
F77!$F77$ac_delim
 
20370
FFLAGS!$FFLAGS$ac_delim
 
20371
ac_ct_F77!$ac_ct_F77$ac_delim
 
20372
LIBTOOL!$LIBTOOL$ac_delim
 
20373
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
20374
XEVIE_CFLAGS!$XEVIE_CFLAGS$ac_delim
 
20375
XEVIE_LIBS!$XEVIE_LIBS$ac_delim
 
20376
MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
 
20377
XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
 
20378
XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
 
20379
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
 
20380
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
 
20381
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
 
20382
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
 
20383
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
 
20384
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
 
20385
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
 
20386
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
 
20387
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
 
20388
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
 
20389
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
 
20390
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
 
20391
LIBOBJS!$LIBOBJS$ac_delim
 
20392
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
20393
_ACEOF
 
20394
 
 
20395
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 26; then
 
20396
    break
 
20397
  elif $ac_last_try; then
 
20398
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
20399
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
20400
   { (exit 1); exit 1; }; }
 
20401
  else
 
20402
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
20403
  fi
 
20404
done
 
20405
 
 
20406
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
20407
if test -n "$ac_eof"; then
 
20408
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
20409
  ac_eof=`expr $ac_eof + 1`
 
20410
fi
 
20411
 
 
20412
cat >>$CONFIG_STATUS <<_ACEOF
 
20413
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
20414
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
20415
_ACEOF
 
20416
sed '
 
20417
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
20418
s/^/s,@/; s/!/@,|#_!!_#|/
 
20419
:n
 
20420
t n
 
20421
s/'"$ac_delim"'$/,g/; t
 
20422
s/$/\\/; p
 
20423
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
20424
' >>$CONFIG_STATUS <conf$$subs.sed
 
20425
rm -f conf$$subs.sed
 
20426
cat >>$CONFIG_STATUS <<_ACEOF
 
20427
:end
 
20428
s/|#_!!_#|//g
 
20429
CEOF$ac_eof
 
20430
_ACEOF
 
20431
 
 
20432
 
 
20433
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
20434
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
20435
# trailing colons and then remove the whole line if VPATH becomes empty
 
20436
# (actually we leave an empty line to preserve line numbers).
 
20437
if test "x$srcdir" = x.; then
 
20438
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
20439
s/:*\$(srcdir):*/:/
 
20440
s/:*\${srcdir}:*/:/
 
20441
s/:*@srcdir@:*/:/
 
20442
s/^\([^=]*=[     ]*\):*/\1/
 
20443
s/:*$//
 
20444
s/^[^=]*=[       ]*$//
 
20445
}'
 
20446
fi
 
20447
 
 
20448
cat >>$CONFIG_STATUS <<\_ACEOF
19841
20449
fi # test -n "$CONFIG_FILES"
19842
20450
 
19843
 
_ACEOF
19844
 
cat >>$CONFIG_STATUS <<\_ACEOF
19845
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
19846
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19847
 
  case $ac_file in
19848
 
  - | *:- | *:-:* ) # input from stdin
19849
 
        cat >$tmp/stdin
19850
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19851
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19852
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19853
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19854
 
  * )   ac_file_in=$ac_file.in ;;
19855
 
  esac
19856
 
 
19857
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19858
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
20451
 
 
20452
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
20453
do
 
20454
  case $ac_tag in
 
20455
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
20456
  esac
 
20457
  case $ac_mode$ac_tag in
 
20458
  :[FHL]*:*);;
 
20459
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
20460
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
20461
   { (exit 1); exit 1; }; };;
 
20462
  :[FH]-) ac_tag=-:-;;
 
20463
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
20464
  esac
 
20465
  ac_save_IFS=$IFS
 
20466
  IFS=:
 
20467
  set x $ac_tag
 
20468
  IFS=$ac_save_IFS
 
20469
  shift
 
20470
  ac_file=$1
 
20471
  shift
 
20472
 
 
20473
  case $ac_mode in
 
20474
  :L) ac_source=$1;;
 
20475
  :[FH])
 
20476
    ac_file_inputs=
 
20477
    for ac_f
 
20478
    do
 
20479
      case $ac_f in
 
20480
      -) ac_f="$tmp/stdin";;
 
20481
      *) # Look for the file first in the build tree, then in the source tree
 
20482
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
20483
         # because $ac_f cannot contain `:'.
 
20484
         test -f "$ac_f" ||
 
20485
           case $ac_f in
 
20486
           [\\/$]*) false;;
 
20487
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
20488
           esac ||
 
20489
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
20490
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
20491
   { (exit 1); exit 1; }; };;
 
20492
      esac
 
20493
      ac_file_inputs="$ac_file_inputs $ac_f"
 
20494
    done
 
20495
 
 
20496
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
20497
    # use $as_me), people would be surprised to read:
 
20498
    #    /* config.h.  Generated by config.status.  */
 
20499
    configure_input="Generated from "`IFS=:
 
20500
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
20501
    if test x"$ac_file" != x-; then
 
20502
      configure_input="$ac_file.  $configure_input"
 
20503
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
20504
echo "$as_me: creating $ac_file" >&6;}
 
20505
    fi
 
20506
 
 
20507
    case $ac_tag in
 
20508
    *:-:* | *:-) cat >"$tmp/stdin";;
 
20509
    esac
 
20510
    ;;
 
20511
  esac
 
20512
 
 
20513
  ac_dir=`$as_dirname -- "$ac_file" ||
19859
20514
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19860
20515
         X"$ac_file" : 'X\(//\)[^/]' \| \
19861
20516
         X"$ac_file" : 'X\(//\)$' \| \
19862
 
         X"$ac_file" : 'X\(/\)' \| \
19863
 
         .     : '\(.\)' 2>/dev/null ||
 
20517
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19864
20518
echo X"$ac_file" |
19865
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19866
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19867
 
          /^X\(\/\/\)$/{ s//\1/; q; }
19868
 
          /^X\(\/\).*/{ s//\1/; q; }
19869
 
          s/.*/./; q'`
19870
 
  { if $as_mkdir_p; then
19871
 
    mkdir -p "$ac_dir"
19872
 
  else
19873
 
    as_dir="$ac_dir"
 
20519
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20520
            s//\1/
 
20521
            q
 
20522
          }
 
20523
          /^X\(\/\/\)[^/].*/{
 
20524
            s//\1/
 
20525
            q
 
20526
          }
 
20527
          /^X\(\/\/\)$/{
 
20528
            s//\1/
 
20529
            q
 
20530
          }
 
20531
          /^X\(\/\).*/{
 
20532
            s//\1/
 
20533
            q
 
20534
          }
 
20535
          s/.*/./; q'`
 
20536
  { as_dir="$ac_dir"
 
20537
  case $as_dir in #(
 
20538
  -*) as_dir=./$as_dir;;
 
20539
  esac
 
20540
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19874
20541
    as_dirs=
19875
 
    while test ! -d "$as_dir"; do
19876
 
      as_dirs="$as_dir $as_dirs"
19877
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
20542
    while :; do
 
20543
      case $as_dir in #(
 
20544
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
20545
      *) as_qdir=$as_dir;;
 
20546
      esac
 
20547
      as_dirs="'$as_qdir' $as_dirs"
 
20548
      as_dir=`$as_dirname -- "$as_dir" ||
19878
20549
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19879
20550
         X"$as_dir" : 'X\(//\)[^/]' \| \
19880
20551
         X"$as_dir" : 'X\(//\)$' \| \
19881
 
         X"$as_dir" : 'X\(/\)' \| \
19882
 
         .     : '\(.\)' 2>/dev/null ||
 
20552
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19883
20553
echo X"$as_dir" |
19884
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19885
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19886
 
          /^X\(\/\/\)$/{ s//\1/; q; }
19887
 
          /^X\(\/\).*/{ s//\1/; q; }
19888
 
          s/.*/./; q'`
 
20554
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20555
            s//\1/
 
20556
            q
 
20557
          }
 
20558
          /^X\(\/\/\)[^/].*/{
 
20559
            s//\1/
 
20560
            q
 
20561
          }
 
20562
          /^X\(\/\/\)$/{
 
20563
            s//\1/
 
20564
            q
 
20565
          }
 
20566
          /^X\(\/\).*/{
 
20567
            s//\1/
 
20568
            q
 
20569
          }
 
20570
          s/.*/./; q'`
 
20571
      test -d "$as_dir" && break
19889
20572
    done
19890
 
    test ! -n "$as_dirs" || mkdir $as_dirs
19891
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19892
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
20573
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
20574
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
20575
echo "$as_me: error: cannot create directory $as_dir" >&2;}
19893
20576
   { (exit 1); exit 1; }; }; }
19894
 
 
19895
20577
  ac_builddir=.
19896
20578
 
19897
 
if test "$ac_dir" != .; then
 
20579
case "$ac_dir" in
 
20580
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
20581
*)
19898
20582
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19899
 
  # A "../" for each directory in $ac_dir_suffix.
19900
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19901
 
else
19902
 
  ac_dir_suffix= ac_top_builddir=
19903
 
fi
 
20583
  # A ".." for each directory in $ac_dir_suffix.
 
20584
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
20585
  case $ac_top_builddir_sub in
 
20586
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
20587
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
20588
  esac ;;
 
20589
esac
 
20590
ac_abs_top_builddir=$ac_pwd
 
20591
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
20592
# for backward compatibility:
 
20593
ac_top_builddir=$ac_top_build_prefix
19904
20594
 
19905
20595
case $srcdir in
19906
 
  .)  # No --srcdir option.  We are building in place.
 
20596
  .)  # We are building in place.
19907
20597
    ac_srcdir=.
19908
 
    if test -z "$ac_top_builddir"; then
19909
 
       ac_top_srcdir=.
19910
 
    else
19911
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19912
 
    fi ;;
19913
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
20598
    ac_top_srcdir=$ac_top_builddir_sub
 
20599
    ac_abs_top_srcdir=$ac_pwd ;;
 
20600
  [\\/]* | ?:[\\/]* )  # Absolute name.
19914
20601
    ac_srcdir=$srcdir$ac_dir_suffix;
19915
 
    ac_top_srcdir=$srcdir ;;
19916
 
  *) # Relative path.
19917
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19918
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
19919
 
esac
19920
 
 
19921
 
# Do not use `cd foo && pwd` to compute absolute paths, because
19922
 
# the directories may not exist.
19923
 
case `pwd` in
19924
 
.) ac_abs_builddir="$ac_dir";;
19925
 
*)
19926
 
  case "$ac_dir" in
19927
 
  .) ac_abs_builddir=`pwd`;;
19928
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19929
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
19930
 
  esac;;
19931
 
esac
19932
 
case $ac_abs_builddir in
19933
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
19934
 
*)
19935
 
  case ${ac_top_builddir}. in
19936
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
19937
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19938
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19939
 
  esac;;
19940
 
esac
19941
 
case $ac_abs_builddir in
19942
 
.) ac_abs_srcdir=$ac_srcdir;;
19943
 
*)
19944
 
  case $ac_srcdir in
19945
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
19946
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19947
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19948
 
  esac;;
19949
 
esac
19950
 
case $ac_abs_builddir in
19951
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
19952
 
*)
19953
 
  case $ac_top_srcdir in
19954
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
19955
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19956
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19957
 
  esac;;
19958
 
esac
19959
 
 
 
20602
    ac_top_srcdir=$srcdir
 
20603
    ac_abs_top_srcdir=$srcdir ;;
 
20604
  *) # Relative name.
 
20605
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
20606
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
20607
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
20608
esac
 
20609
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
20610
 
 
20611
 
 
20612
  case $ac_mode in
 
20613
  :F)
 
20614
  #
 
20615
  # CONFIG_FILE
 
20616
  #
19960
20617
 
19961
20618
  case $INSTALL in
19962
20619
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19963
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
20620
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19964
20621
  esac
19965
 
 
19966
 
  if test x"$ac_file" != x-; then
19967
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
19968
 
echo "$as_me: creating $ac_file" >&6;}
19969
 
    rm -f "$ac_file"
19970
 
  fi
19971
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
19972
 
  # use $as_me), people would be surprised to read:
19973
 
  #    /* config.h.  Generated by config.status.  */
19974
 
  if test x"$ac_file" = x-; then
19975
 
    configure_input=
19976
 
  else
19977
 
    configure_input="$ac_file.  "
19978
 
  fi
19979
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
19980
 
                                     sed 's,.*/,,'` by configure."
19981
 
 
19982
 
  # First look for the input files in the build tree, otherwise in the
19983
 
  # src tree.
19984
 
  ac_file_inputs=`IFS=:
19985
 
    for f in $ac_file_in; do
19986
 
      case $f in
19987
 
      -) echo $tmp/stdin ;;
19988
 
      [\\/$]*)
19989
 
         # Absolute (can't be DOS-style, as IFS=:)
19990
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19991
 
echo "$as_me: error: cannot find input file: $f" >&2;}
19992
 
   { (exit 1); exit 1; }; }
19993
 
         echo "$f";;
19994
 
      *) # Relative
19995
 
         if test -f "$f"; then
19996
 
           # Build tree
19997
 
           echo "$f"
19998
 
         elif test -f "$srcdir/$f"; then
19999
 
           # Source tree
20000
 
           echo "$srcdir/$f"
20001
 
         else
20002
 
           # /dev/null tree
20003
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20004
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20005
 
   { (exit 1); exit 1; }; }
20006
 
         fi;;
20007
 
      esac
20008
 
    done` || { (exit 1); exit 1; }
20009
 
_ACEOF
 
20622
_ACEOF
 
20623
 
 
20624
cat >>$CONFIG_STATUS <<\_ACEOF
 
20625
# If the template does not know about datarootdir, expand it.
 
20626
# FIXME: This hack should be removed a few years after 2.60.
 
20627
ac_datarootdir_hack=; ac_datarootdir_seen=
 
20628
 
 
20629
case `sed -n '/datarootdir/ {
 
20630
  p
 
20631
  q
 
20632
}
 
20633
/@datadir@/p
 
20634
/@docdir@/p
 
20635
/@infodir@/p
 
20636
/@localedir@/p
 
20637
/@mandir@/p
 
20638
' $ac_file_inputs` in
 
20639
*datarootdir*) ac_datarootdir_seen=yes;;
 
20640
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
20641
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
20642
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
20643
_ACEOF
 
20644
cat >>$CONFIG_STATUS <<_ACEOF
 
20645
  ac_datarootdir_hack='
 
20646
  s&@datadir@&$datadir&g
 
20647
  s&@docdir@&$docdir&g
 
20648
  s&@infodir@&$infodir&g
 
20649
  s&@localedir@&$localedir&g
 
20650
  s&@mandir@&$mandir&g
 
20651
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
20652
esac
 
20653
_ACEOF
 
20654
 
 
20655
# Neutralize VPATH when `$srcdir' = `.'.
 
20656
# Shell code in configure.ac might set extrasub.
 
20657
# FIXME: do we really want to maintain this feature?
20010
20658
cat >>$CONFIG_STATUS <<_ACEOF
20011
20659
  sed "$ac_vpsub
20012
20660
$extrasub
20014
20662
cat >>$CONFIG_STATUS <<\_ACEOF
20015
20663
:t
20016
20664
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20017
 
s,@configure_input@,$configure_input,;t t
20018
 
s,@srcdir@,$ac_srcdir,;t t
20019
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20020
 
s,@top_srcdir@,$ac_top_srcdir,;t t
20021
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20022
 
s,@builddir@,$ac_builddir,;t t
20023
 
s,@abs_builddir@,$ac_abs_builddir,;t t
20024
 
s,@top_builddir@,$ac_top_builddir,;t t
20025
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20026
 
s,@INSTALL@,$ac_INSTALL,;t t
20027
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20028
 
  rm -f $tmp/stdin
20029
 
  if test x"$ac_file" != x-; then
20030
 
    mv $tmp/out $ac_file
20031
 
  else
20032
 
    cat $tmp/out
20033
 
    rm -f $tmp/out
20034
 
  fi
20035
 
 
20036
 
done
 
20665
s&@configure_input@&$configure_input&;t t
 
20666
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
20667
s&@srcdir@&$ac_srcdir&;t t
 
20668
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
20669
s&@top_srcdir@&$ac_top_srcdir&;t t
 
20670
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
20671
s&@builddir@&$ac_builddir&;t t
 
20672
s&@abs_builddir@&$ac_abs_builddir&;t t
 
20673
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
20674
s&@INSTALL@&$ac_INSTALL&;t t
 
20675
$ac_datarootdir_hack
 
20676
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
20677
 
 
20678
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
20679
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
20680
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
20681
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
20682
which seems to be undefined.  Please make sure it is defined." >&5
 
20683
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
20684
which seems to be undefined.  Please make sure it is defined." >&2;}
 
20685
 
 
20686
  rm -f "$tmp/stdin"
 
20687
  case $ac_file in
 
20688
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
20689
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
20690
  esac
 
20691
 ;;
 
20692
  :H)
 
20693
  #
 
20694
  # CONFIG_HEADER
 
20695
  #
20037
20696
_ACEOF
20038
 
cat >>$CONFIG_STATUS <<\_ACEOF
20039
 
 
20040
 
#
20041
 
# CONFIG_HEADER section.
20042
 
#
20043
 
 
20044
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20045
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
20046
 
#
20047
 
# ac_d sets the value in "#define NAME VALUE" lines.
20048
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
20049
 
ac_dB='[         ].*$,\1#\2'
 
20697
 
 
20698
# Transform confdefs.h into a sed script `conftest.defines', that
 
20699
# substitutes the proper values into config.h.in to produce config.h.
 
20700
rm -f conftest.defines conftest.tail
 
20701
# First, append a space to every undef/define line, to ease matching.
 
20702
echo 's/$/ /' >conftest.defines
 
20703
# Then, protect against being on the right side of a sed subst, or in
 
20704
# an unquoted here document, in config.status.  If some macros were
 
20705
# called several times there might be several #defines for the same
 
20706
# symbol, which is useless.  But do not sort them, since the last
 
20707
# AC_DEFINE must be honored.
 
20708
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
20709
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
20710
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
20711
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
20712
# just an empty string.
 
20713
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
20714
ac_dB='\\)[      (].*,\\1define\\2'
20050
20715
ac_dC=' '
20051
 
ac_dD=',;t'
20052
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20053
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
20054
 
ac_uB='$,\1#\2define\3'
20055
 
ac_uC=' '
20056
 
ac_uD=',;t'
20057
 
 
20058
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
20059
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20060
 
  case $ac_file in
20061
 
  - | *:- | *:-:* ) # input from stdin
20062
 
        cat >$tmp/stdin
20063
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20064
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20065
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20066
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20067
 
  * )   ac_file_in=$ac_file.in ;;
20068
 
  esac
20069
 
 
20070
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
20071
 
echo "$as_me: creating $ac_file" >&6;}
20072
 
 
20073
 
  # First look for the input files in the build tree, otherwise in the
20074
 
  # src tree.
20075
 
  ac_file_inputs=`IFS=:
20076
 
    for f in $ac_file_in; do
20077
 
      case $f in
20078
 
      -) echo $tmp/stdin ;;
20079
 
      [\\/$]*)
20080
 
         # Absolute (can't be DOS-style, as IFS=:)
20081
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20082
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20083
 
   { (exit 1); exit 1; }; }
20084
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
20085
 
         echo "$f";;
20086
 
      *) # Relative
20087
 
         if test -f "$f"; then
20088
 
           # Build tree
20089
 
           echo "$f"
20090
 
         elif test -f "$srcdir/$f"; then
20091
 
           # Source tree
20092
 
           echo "$srcdir/$f"
20093
 
         else
20094
 
           # /dev/null tree
20095
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20096
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20097
 
   { (exit 1); exit 1; }; }
20098
 
         fi;;
20099
 
      esac
20100
 
    done` || { (exit 1); exit 1; }
20101
 
  # Remove the trailing spaces.
20102
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
20103
 
 
20104
 
_ACEOF
20105
 
 
20106
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
20107
 
# `conftest.undefs', that substitutes the proper values into
20108
 
# config.h.in to produce config.h.  The first handles `#define'
20109
 
# templates, and the second `#undef' templates.
20110
 
# And first: Protect against being on the right side of a sed subst in
20111
 
# config.status.  Protect against being in an unquoted here document
20112
 
# in config.status.
20113
 
rm -f conftest.defines conftest.undefs
20114
 
# Using a here document instead of a string reduces the quoting nightmare.
20115
 
# Putting comments in sed scripts is not portable.
20116
 
#
20117
 
# `end' is used to avoid that the second main sed command (meant for
20118
 
# 0-ary CPP macros) applies to n-ary macro definitions.
20119
 
# See the Autoconf documentation for `clear'.
20120
 
cat >confdef2sed.sed <<\_ACEOF
20121
 
s/[\\&,]/\\&/g
20122
 
s,[\\$`],\\&,g
20123
 
t clear
20124
 
: clear
20125
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20126
 
t end
20127
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20128
 
: end
20129
 
_ACEOF
20130
 
# If some macros were called several times there might be several times
20131
 
# the same #defines, which is useless.  Nevertheless, we may not want to
20132
 
# sort them, since we want the *last* AC-DEFINE to be honored.
20133
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20134
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20135
 
rm -f confdef2sed.sed
20136
 
 
20137
 
# This sed command replaces #undef with comments.  This is necessary, for
 
20716
ac_dD=' ,'
 
20717
 
 
20718
uniq confdefs.h |
 
20719
  sed -n '
 
20720
        t rset
 
20721
        :rset
 
20722
        s/^[     ]*#[    ]*define[       ][      ]*//
 
20723
        t ok
 
20724
        d
 
20725
        :ok
 
20726
        s/[\\&,]/\\&/g
 
20727
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
20728
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
20729
  ' >>conftest.defines
 
20730
 
 
20731
# Remove the space that was appended to ease matching.
 
20732
# Then replace #undef with comments.  This is necessary, for
20138
20733
# example, in the case of _POSIX_SOURCE, which is predefined and required
20139
20734
# on some systems where configure will not decide to define it.
20140
 
cat >>conftest.undefs <<\_ACEOF
20141
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
20735
# (The regexp can be short, since the line contains either #define or #undef.)
 
20736
echo 's/ $//
 
20737
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
20738
 
 
20739
# Break up conftest.defines:
 
20740
ac_max_sed_lines=50
 
20741
 
 
20742
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
20743
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
20744
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
20745
# et cetera.
 
20746
ac_in='$ac_file_inputs'
 
20747
ac_out='"$tmp/out1"'
 
20748
ac_nxt='"$tmp/out2"'
 
20749
 
 
20750
while :
 
20751
do
 
20752
  # Write a here document:
 
20753
    cat >>$CONFIG_STATUS <<_ACEOF
 
20754
    # First, check the format of the line:
 
20755
    cat >"\$tmp/defines.sed" <<\\CEOF
 
20756
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
20757
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
20758
b
 
20759
:def
20142
20760
_ACEOF
20143
 
 
20144
 
# Break up conftest.defines because some shells have a limit on the size
20145
 
# of here documents, and old seds have small limits too (100 cmds).
20146
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20147
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20148
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20149
 
echo '  :' >>$CONFIG_STATUS
20150
 
rm -f conftest.tail
20151
 
while grep . conftest.defines >/dev/null
20152
 
do
20153
 
  # Write a limited-size here document to $tmp/defines.sed.
20154
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20155
 
  # Speed up: don't consider the non `#define' lines.
20156
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
20157
 
  # Work around the forget-to-reset-the-flag bug.
20158
 
  echo 't clr' >>$CONFIG_STATUS
20159
 
  echo ': clr' >>$CONFIG_STATUS
20160
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
20761
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20161
20762
  echo 'CEOF
20162
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
20163
 
  rm -f $tmp/in
20164
 
  mv $tmp/out $tmp/in
20165
 
' >>$CONFIG_STATUS
20166
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
20763
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
20764
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
20765
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
20766
  grep . conftest.tail >/dev/null || break
20167
20767
  rm -f conftest.defines
20168
20768
  mv conftest.tail conftest.defines
20169
20769
done
20170
 
rm -f conftest.defines
20171
 
echo '  fi # grep' >>$CONFIG_STATUS
20172
 
echo >>$CONFIG_STATUS
20173
 
 
20174
 
# Break up conftest.undefs because some shells have a limit on the size
20175
 
# of here documents, and old seds have small limits too (100 cmds).
20176
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
20177
 
rm -f conftest.tail
20178
 
while grep . conftest.undefs >/dev/null
20179
 
do
20180
 
  # Write a limited-size here document to $tmp/undefs.sed.
20181
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20182
 
  # Speed up: don't consider the non `#undef'
20183
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
20184
 
  # Work around the forget-to-reset-the-flag bug.
20185
 
  echo 't clr' >>$CONFIG_STATUS
20186
 
  echo ': clr' >>$CONFIG_STATUS
20187
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20188
 
  echo 'CEOF
20189
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20190
 
  rm -f $tmp/in
20191
 
  mv $tmp/out $tmp/in
20192
 
' >>$CONFIG_STATUS
20193
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20194
 
  rm -f conftest.undefs
20195
 
  mv conftest.tail conftest.undefs
20196
 
done
20197
 
rm -f conftest.undefs
20198
 
 
 
20770
rm -f conftest.defines conftest.tail
 
20771
 
 
20772
echo "ac_result=$ac_in" >>$CONFIG_STATUS
20199
20773
cat >>$CONFIG_STATUS <<\_ACEOF
20200
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
20201
 
  # use $as_me), people would be surprised to read:
20202
 
  #    /* config.h.  Generated by config.status.  */
20203
 
  if test x"$ac_file" = x-; then
20204
 
    echo "/* Generated by configure.  */" >$tmp/config.h
20205
 
  else
20206
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
20207
 
  fi
20208
 
  cat $tmp/in >>$tmp/config.h
20209
 
  rm -f $tmp/in
20210
20774
  if test x"$ac_file" != x-; then
20211
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
20775
    echo "/* $configure_input  */" >"$tmp/config.h"
 
20776
    cat "$ac_result" >>"$tmp/config.h"
 
20777
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
20212
20778
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20213
20779
echo "$as_me: $ac_file is unchanged" >&6;}
20214
20780
    else
20215
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20216
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20217
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
20218
 
         X"$ac_file" : 'X\(//\)$' \| \
20219
 
         X"$ac_file" : 'X\(/\)' \| \
20220
 
         .     : '\(.\)' 2>/dev/null ||
20221
 
echo X"$ac_file" |
20222
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20223
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20224
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20225
 
          /^X\(\/\).*/{ s//\1/; q; }
20226
 
          s/.*/./; q'`
20227
 
      { if $as_mkdir_p; then
20228
 
    mkdir -p "$ac_dir"
20229
 
  else
20230
 
    as_dir="$ac_dir"
20231
 
    as_dirs=
20232
 
    while test ! -d "$as_dir"; do
20233
 
      as_dirs="$as_dir $as_dirs"
20234
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20235
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20236
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20237
 
         X"$as_dir" : 'X\(//\)$' \| \
20238
 
         X"$as_dir" : 'X\(/\)' \| \
20239
 
         .     : '\(.\)' 2>/dev/null ||
20240
 
echo X"$as_dir" |
20241
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20242
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20243
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20244
 
          /^X\(\/\).*/{ s//\1/; q; }
20245
 
          s/.*/./; q'`
20246
 
    done
20247
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20248
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20249
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20250
 
   { (exit 1); exit 1; }; }; }
20251
 
 
20252
20781
      rm -f $ac_file
20253
 
      mv $tmp/config.h $ac_file
 
20782
      mv "$tmp/config.h" $ac_file
20254
20783
    fi
20255
20784
  else
20256
 
    cat $tmp/config.h
20257
 
    rm -f $tmp/config.h
 
20785
    echo "/* $configure_input  */"
 
20786
    cat "$ac_result"
20258
20787
  fi
 
20788
  rm -f "$tmp/out12"
20259
20789
# Compute $ac_file's index in $config_headers.
20260
20790
_am_stamp_count=1
20261
20791
for _am_header in $config_headers :; do
20266
20796
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20267
20797
  esac
20268
20798
done
20269
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
20799
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
20270
20800
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20271
20801
         X$ac_file : 'X\(//\)[^/]' \| \
20272
20802
         X$ac_file : 'X\(//\)$' \| \
20273
 
         X$ac_file : 'X\(/\)' \| \
20274
 
         .     : '\(.\)' 2>/dev/null ||
 
20803
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
20275
20804
echo X$ac_file |
20276
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20277
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20278
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20279
 
          /^X\(\/\).*/{ s//\1/; q; }
20280
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
20281
 
done
20282
 
_ACEOF
20283
 
cat >>$CONFIG_STATUS <<\_ACEOF
20284
 
 
20285
 
#
20286
 
# CONFIG_COMMANDS section.
20287
 
#
20288
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20289
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20290
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20291
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20292
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20293
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
20294
 
         X"$ac_dest" : 'X\(//\)$' \| \
20295
 
         X"$ac_dest" : 'X\(/\)' \| \
20296
 
         .     : '\(.\)' 2>/dev/null ||
20297
 
echo X"$ac_dest" |
20298
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20299
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20300
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20301
 
          /^X\(\/\).*/{ s//\1/; q; }
20302
 
          s/.*/./; q'`
20303
 
  { if $as_mkdir_p; then
20304
 
    mkdir -p "$ac_dir"
20305
 
  else
20306
 
    as_dir="$ac_dir"
20307
 
    as_dirs=
20308
 
    while test ! -d "$as_dir"; do
20309
 
      as_dirs="$as_dir $as_dirs"
20310
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20311
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20312
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20313
 
         X"$as_dir" : 'X\(//\)$' \| \
20314
 
         X"$as_dir" : 'X\(/\)' \| \
20315
 
         .     : '\(.\)' 2>/dev/null ||
20316
 
echo X"$as_dir" |
20317
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20318
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20319
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20320
 
          /^X\(\/\).*/{ s//\1/; q; }
20321
 
          s/.*/./; q'`
20322
 
    done
20323
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20324
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20325
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20326
 
   { (exit 1); exit 1; }; }; }
20327
 
 
20328
 
  ac_builddir=.
20329
 
 
20330
 
if test "$ac_dir" != .; then
20331
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20332
 
  # A "../" for each directory in $ac_dir_suffix.
20333
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20334
 
else
20335
 
  ac_dir_suffix= ac_top_builddir=
20336
 
fi
20337
 
 
20338
 
case $srcdir in
20339
 
  .)  # No --srcdir option.  We are building in place.
20340
 
    ac_srcdir=.
20341
 
    if test -z "$ac_top_builddir"; then
20342
 
       ac_top_srcdir=.
20343
 
    else
20344
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20345
 
    fi ;;
20346
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
20347
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20348
 
    ac_top_srcdir=$srcdir ;;
20349
 
  *) # Relative path.
20350
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20351
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20352
 
esac
20353
 
 
20354
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20355
 
# the directories may not exist.
20356
 
case `pwd` in
20357
 
.) ac_abs_builddir="$ac_dir";;
20358
 
*)
20359
 
  case "$ac_dir" in
20360
 
  .) ac_abs_builddir=`pwd`;;
20361
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20362
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20363
 
  esac;;
20364
 
esac
20365
 
case $ac_abs_builddir in
20366
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20367
 
*)
20368
 
  case ${ac_top_builddir}. in
20369
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20370
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20371
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20372
 
  esac;;
20373
 
esac
20374
 
case $ac_abs_builddir in
20375
 
.) ac_abs_srcdir=$ac_srcdir;;
20376
 
*)
20377
 
  case $ac_srcdir in
20378
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20379
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20380
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20381
 
  esac;;
20382
 
esac
20383
 
case $ac_abs_builddir in
20384
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20385
 
*)
20386
 
  case $ac_top_srcdir in
20387
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20388
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20389
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20390
 
  esac;;
20391
 
esac
20392
 
 
20393
 
 
20394
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20395
 
echo "$as_me: executing $ac_dest commands" >&6;}
20396
 
  case $ac_dest in
20397
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
20805
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20806
            s//\1/
 
20807
            q
 
20808
          }
 
20809
          /^X\(\/\/\)[^/].*/{
 
20810
            s//\1/
 
20811
            q
 
20812
          }
 
20813
          /^X\(\/\/\)$/{
 
20814
            s//\1/
 
20815
            q
 
20816
          }
 
20817
          /^X\(\/\).*/{
 
20818
            s//\1/
 
20819
            q
 
20820
          }
 
20821
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
20822
 ;;
 
20823
 
 
20824
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
20825
echo "$as_me: executing $ac_file commands" >&6;}
 
20826
 ;;
 
20827
  esac
 
20828
 
 
20829
 
 
20830
  case $ac_file$ac_mode in
 
20831
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20398
20832
  # Strip MF so we end up with the name of the file.
20399
20833
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20400
20834
  # Check whether this is an Automake generated Makefile or not.
20404
20838
  # each Makefile.in and add a new line on top of each file to say so.
20405
20839
  # So let's grep whole file.
20406
20840
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20407
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
20841
    dirpart=`$as_dirname -- "$mf" ||
20408
20842
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20409
20843
         X"$mf" : 'X\(//\)[^/]' \| \
20410
20844
         X"$mf" : 'X\(//\)$' \| \
20411
 
         X"$mf" : 'X\(/\)' \| \
20412
 
         .     : '\(.\)' 2>/dev/null ||
 
20845
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20413
20846
echo X"$mf" |
20414
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20415
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20416
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20417
 
          /^X\(\/\).*/{ s//\1/; q; }
20418
 
          s/.*/./; q'`
 
20847
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20848
            s//\1/
 
20849
            q
 
20850
          }
 
20851
          /^X\(\/\/\)[^/].*/{
 
20852
            s//\1/
 
20853
            q
 
20854
          }
 
20855
          /^X\(\/\/\)$/{
 
20856
            s//\1/
 
20857
            q
 
20858
          }
 
20859
          /^X\(\/\).*/{
 
20860
            s//\1/
 
20861
            q
 
20862
          }
 
20863
          s/.*/./; q'`
20419
20864
  else
20420
20865
    continue
20421
20866
  fi
20437
20882
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20438
20883
    # Make sure the directory exists.
20439
20884
    test -f "$dirpart/$file" && continue
20440
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
20885
    fdir=`$as_dirname -- "$file" ||
20441
20886
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20442
20887
         X"$file" : 'X\(//\)[^/]' \| \
20443
20888
         X"$file" : 'X\(//\)$' \| \
20444
 
         X"$file" : 'X\(/\)' \| \
20445
 
         .     : '\(.\)' 2>/dev/null ||
 
20889
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20446
20890
echo X"$file" |
20447
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20448
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20449
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20450
 
          /^X\(\/\).*/{ s//\1/; q; }
20451
 
          s/.*/./; q'`
20452
 
    { if $as_mkdir_p; then
20453
 
    mkdir -p $dirpart/$fdir
20454
 
  else
20455
 
    as_dir=$dirpart/$fdir
 
20891
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20892
            s//\1/
 
20893
            q
 
20894
          }
 
20895
          /^X\(\/\/\)[^/].*/{
 
20896
            s//\1/
 
20897
            q
 
20898
          }
 
20899
          /^X\(\/\/\)$/{
 
20900
            s//\1/
 
20901
            q
 
20902
          }
 
20903
          /^X\(\/\).*/{
 
20904
            s//\1/
 
20905
            q
 
20906
          }
 
20907
          s/.*/./; q'`
 
20908
    { as_dir=$dirpart/$fdir
 
20909
  case $as_dir in #(
 
20910
  -*) as_dir=./$as_dir;;
 
20911
  esac
 
20912
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20456
20913
    as_dirs=
20457
 
    while test ! -d "$as_dir"; do
20458
 
      as_dirs="$as_dir $as_dirs"
20459
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
20914
    while :; do
 
20915
      case $as_dir in #(
 
20916
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
20917
      *) as_qdir=$as_dir;;
 
20918
      esac
 
20919
      as_dirs="'$as_qdir' $as_dirs"
 
20920
      as_dir=`$as_dirname -- "$as_dir" ||
20460
20921
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20461
20922
         X"$as_dir" : 'X\(//\)[^/]' \| \
20462
20923
         X"$as_dir" : 'X\(//\)$' \| \
20463
 
         X"$as_dir" : 'X\(/\)' \| \
20464
 
         .     : '\(.\)' 2>/dev/null ||
 
20924
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20465
20925
echo X"$as_dir" |
20466
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20467
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20468
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20469
 
          /^X\(\/\).*/{ s//\1/; q; }
20470
 
          s/.*/./; q'`
 
20926
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
20927
            s//\1/
 
20928
            q
 
20929
          }
 
20930
          /^X\(\/\/\)[^/].*/{
 
20931
            s//\1/
 
20932
            q
 
20933
          }
 
20934
          /^X\(\/\/\)$/{
 
20935
            s//\1/
 
20936
            q
 
20937
          }
 
20938
          /^X\(\/\).*/{
 
20939
            s//\1/
 
20940
            q
 
20941
          }
 
20942
          s/.*/./; q'`
 
20943
      test -d "$as_dir" && break
20471
20944
    done
20472
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20473
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20474
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
20945
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
20946
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
20947
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20475
20948
   { (exit 1); exit 1; }; }; }
20476
 
 
20477
20949
    # echo "creating $dirpart/$file"
20478
20950
    echo '# dummy' > "$dirpart/$file"
20479
20951
  done
20480
20952
done
20481
20953
 ;;
 
20954
 
20482
20955
  esac
20483
 
done
20484
 
_ACEOF
 
20956
done # for ac_tag
20485
20957
 
20486
 
cat >>$CONFIG_STATUS <<\_ACEOF
20487
20958
 
20488
20959
{ (exit 0); exit 0; }
20489
20960
_ACEOF